/* Scoped, explicit precedence: the old OVC theme must not recolor quote actions. */
#clientSheetActionsDock{display:flex!important;gap:10px;flex-wrap:wrap;margin:0 0 16px}
#mainApp #clientsPanel #clientSheetActionsDock button,#clientQuotesNavAction{border:1px solid #d9e1e8!important;background:#fff!important;border-radius:12px!important;padding:12px 19px!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;color:#243d53!important}
#mainApp #clientsPanel #clientSheetActionsDock [data-cs-launch=quotes],#mainApp #clientsPanel #clientQuotesNavAction{background:#b42332!important;border-color:#b42332!important;color:white!important}
#clientSheetDialog{width:min(1000px,94vw);max-height:90vh;margin:auto;border:1px solid #dce3e9;border-radius:18px;padding:0;color:#24364b;background:#f7f9fc;box-shadow:0 24px 90px #182c4940;font:14px/1.5 'Segoe UI',Arial,sans-serif}
#clientSheetDialog::backdrop{background:#14263b88}
#clientSheetDialog header{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce3e9;background:white;position:sticky;top:0;z-index:1}
#clientSheetDialog header small{letter-spacing:.7px;font-weight:600;color:#627385}#clientSheetDialog h2{margin:3px 0 10px;font-size:21px}#clientSheetDialog h3{margin:4px 0;font-size:16px}
#clientSheetDialog nav{display:flex;gap:8px;padding:14px 24px;flex-wrap:wrap}#clientSheetDialog button{font:600 13px/1.4 'Segoe UI',Arial,sans-serif;border:1px solid #cbd5df;border-radius:9px;padding:9px 14px;background:white;color:#253f54;cursor:pointer;min-height:38px}
#clientSheetDialog button:disabled{opacity:.4;cursor:not-allowed}#clientSheetDialog button:focus-visible{outline:3px solid #4b8ac0;outline-offset:2px}
#clientSheetDialog header>button{font-size:23px;border:0}#clientSheetDialog nav .active{background:#263e58;color:white}#clientSheetDialog nav [data-cs-filter=quotes]{color:#b42332;border-color:#d9939c}#clientSheetDialog nav [data-cs-filter=quotes].active,#clientSheetDialog .csPrimary{background:#b42332;color:white;border-color:#b42332}
#clientSheetDialog [data-cs-body]{padding:0 24px 20px}#clientSheetDialog .csRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:18px;margin-bottom:12px;border:1px solid #dce3e9;border-radius:12px;background:white}
#clientSheetDialog .csQuote{border-left:4px solid #b42332;background:#fff8f9}#clientSheetDialog .csQuote :is(h2,h3,.csType,.csTotal,.csDetailTotal){color:#b42332}
#clientSheetDialog .csType{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.6px}#clientSheetDialog .csRow p{margin:4px 0;font-size:12px;color:#637485}#clientSheetDialog .csTotal{font-size:19px;align-self:center}#clientSheetDialog .csActions{display:flex;gap:8px;flex-wrap:wrap;grid-column:1/-1}#clientSheetDialog .csDanger{color:#aa2738;border-color:#e4b2bb}#clientSheetDialog .csEmpty{padding:24px}
#clientSheetDialog .csDocument{padding:18px;background:white;border-radius:12px}#clientSheetDialog dl{margin:0 0 16px}#clientSheetDialog dl>div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;border-bottom:1px solid #e1e6ec;padding:7px 0}#clientSheetDialog dt{font-weight:600;color:#57697d}#clientSheetDialog dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}#clientSheetDialog .csDetailTotal{text-align:right;font-size:21px}#clientSheetDialog .csBottom{margin-top:15px;position:sticky;bottom:0;padding:12px;background:#f7f9fc;border:1px solid #e1e6ec;border-radius:12px}
#clientSheetDialog footer{padding:12px 24px;border-top:1px solid #dce3e9;background:white;color:#526477;font-size:12px;min-height:18px}
html[data-ovc-ui] #mainApp #clientsPanel .csQuoteDate{color:#b42332!important;border-color:#d8a1aa!important;background:#fff5f7!important}
html[data-ovc-ui] #mainApp #clientsPanel .csQuoteLegacy{border-left:4px solid #b42332!important;background:#fff5f7!important}html[data-ovc-ui] #mainApp #clientsPanel .csQuoteLegacy :is(.clientEyewearType,.clientEyewearMain,.clientEyewearTotal){color:#b42332!important}
@media(max-width:600px){#clientSheetDialog header,#clientSheetDialog nav{padding:14px}#clientSheetDialog [data-cs-body]{padding:0 14px 14px}#clientSheetDialog dl>div{grid-template-columns:1fr;gap:3px}#clientSheetDialog .csActions button{flex:1 1 auto}}
