/* V5.7.1 · Desktop-first, compact forms and tables. */
.rf-customer-alias{display:block;font-size:11px;color:var(--rf-muted,#777);margin-top:3px}
.rf-quote-dates span,.rf-quote-dates small{display:block;white-space:nowrap}
.rf-quote-dates small{margin-top:2px;font-size:11px;color:var(--rf-muted,#777)}
#content table td,#content table th{vertical-align:middle}
#content table td{padding-top:9px;padding-bottom:9px}
#content table thead th{text-align:left}
#content table tr td:last-child .rf-row-actions{justify-content:flex-end}
.v51-subnav{gap:5px;flex-wrap:wrap}
.v51-subnav .v51-subtab{white-space:nowrap}
.v565-task-list .v565-task-details small{line-height:1.25}
#v52-task-form label[hidden]{display:none!important}
#v571-customer-form .wide.actions{align-items:center}
@media(max-width:800px){#content table{font-size:12px}#content table td,#content table th{padding:8px 9px}.rf-quote-dates span,.rf-quote-dates small{white-space:normal}}

.v571-cost-register{border:1px solid var(--rf-line,#ddd);border-radius:12px;margin:0 0 12px;background:var(--rf-surface,#fff);overflow:hidden}
.v571-cost-register>summary{cursor:pointer;padding:12px 15px;font-size:15px;font-weight:750}
.v571-cost-register>summary span{font-size:11px;color:var(--rf-muted,#777);background:var(--rf-soft,#eee);padding:2px 7px;border-radius:20px}
.v571-cost-body{border-top:1px solid var(--rf-line,#ddd)}
.v571-cost-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 15px;border-bottom:1px solid var(--rf-line,#ddd)}
.v571-cost-row strong{font-size:13px;display:block}.v571-cost-row small{font-size:11px;color:var(--rf-muted,#777);display:block;margin-top:2px}
.v571-cost-row .actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.v571-cost-body>.help,.v571-cost-body>.muted{padding:10px 15px;margin:0;font-size:12px}
@media(max-width:620px){.v571-cost-row{align-items:flex-start;flex-wrap:wrap}.v571-cost-row .actions{width:100%}}

/* Consistent title case for headings; preserve existing uppercase abbreviations. */
#content h2,#content h3,.v51-subnav .v51-subtab,#modal-title{ text-transform:capitalize }
