.quote-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:0 0 1rem}.quote-heading h1,.quote-heading h2{margin:.1rem 0}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#52717a;font-size:.75rem;font-weight:700;margin:0}.quote-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.button-secondary{background:white;color:#087389;border:1px solid #087389}.button-text{background:transparent;color:#087389;padding:.25rem;border:0;text-decoration:underline}.quote-filters{background:white;border:1px solid #d8e0e2;padding:1rem;border-radius:.4rem}.quote-filters label:first-child{flex:2;min-width:240px}.table-scroll{overflow-x:auto}.table-scroll table{min-width:650px}.status-pill{font-size:.75rem;font-weight:700;padding:.2rem .55rem;border-radius:1rem;vertical-align:middle}.status-draft{background:#e9eff2;color:#31505c}.status-accepted{background:#def2e8;color:#1b6345}.quote-panel{background:white;border:1px solid #d8e0e2;border-radius:.5rem;padding:1.2rem;margin:1rem 0}.quote-fields{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:1rem}.quote-fields .wide{grid-column:1/-1}.quote-fields textarea{min-height:75px}.quote-savebar{position:static;background:#f4f7f7;border-top:1px solid #d8e0e2;padding:1rem 0;display:flex;justify-content:flex-end;align-items:center;gap:1rem}.quote-totals{margin:1rem 0 0 auto;width:min(320px,100%)}.quote-totals p{display:flex;justify-content:space-between;margin:.35rem 0;padding:.35rem 0}.quote-totals .total{border-top:2px solid #113b46;font-size:1.2rem}.line-editor th,.line-editor td{padding:.45rem}.line-editor input{min-width:65px;padding:.45rem}.line-editor [name=description]{min-width:200px}.line-editor [name=quantity],.line-editor [name=tax_percent]{width:90px}.line-editor [name=unit_price]{width:110px}.line-editor label.sr-only{font-size:0;display:block;font-weight:normal}.line-editor label.sr-only input{font-size:1rem}.section-heading{background:#eaf1f2}.section-heading th{font-weight:700}.section-tools{display:flex;align-items:end;justify-content:space-between;gap:1rem}.section-tools label{display:flex;align-items:center;gap:.5rem}.section-tools input{width:250px}.section-footer td{background:#fbfcfc}.remove-section:disabled{opacity:.45;cursor:not-allowed}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:1rem;margin:0}.detail-grid dt,.preview-head dt{color:#52717a;font-size:.8rem}.detail-grid dd,.preview-head dd{margin:.2rem 0 0}.subnav{display:flex;gap:1rem;border-bottom:1px solid #cad8db;margin:1rem 0}.subnav a,.subnav span{padding:.7rem .2rem}.subnav span{border-bottom:3px solid #087389;font-weight:700}.quote-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem}.quote-action-grid form{border:1px solid #d8e0e2;border-radius:.4rem;padding:1rem}.quote-action-grid button{margin-top:.7rem}.notice{background:#eaf5f4;border-left:4px solid #087389;padding:.8rem}.crumb{margin:0 0 1rem;color:#52717a}.customer-preview{max-width:850px;margin:auto;background:white;border:1px solid #d8e0e2;padding:2rem;box-shadow:0 4px 18px #0001}.customer-preview .preview-brand{display:flex;justify-content:space-between;background:#113b46;color:white;padding:1.2rem 1.5rem;margin:-2rem -2rem 2rem}.preview-brand strong{font-size:1.5rem}.preview-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:2rem}.preview-head dl{min-width:180px}.preview-head dl div{margin-bottom:.7rem}.preview-foot{border-top:1px solid #d8e0e2;margin-top:2rem;padding-top:1rem;color:#52717a;font-size:.85rem}@media(max-width:750px){.quote-fields,.detail-grid{grid-template-columns:1fr}.customer-preview{padding:1rem}.customer-preview .preview-brand{margin:-1rem -1rem 1rem}.preview-head{display:block}}

main:has(.quote-editor),main:has(.quote-filters){max-width:1400px}
.table-scroll-hint{display:none}@media(max-width:650px){.table-scroll-hint{display:block;font-size:.85rem;color:#52717a;margin:.6rem 0}}
