/* BLACKLINE 51 shell convergence: light-first theme matching the DAM shell
   pattern in dam-light.css. Applied only on Worker 3 pages. */
body.customer, body.onboard, body.property-app { color-scheme: light; --bg: #f4f6f8; --ink: #17212c; --panel: #ffffff; --line: #d9e0e7; --muted: #526273; --brand-surface: #ffffff; --brand-line: #d9e0e7; background: #f4f6f8; color: #17212c; }
body.customer .sidebar { background: #ffffff; border-color: #d9e0e7; }
body.customer nav button { color: #34485b; }
body.customer nav button[aria-current="page"] { background: #eef2f6; border-color: #cbd5df; color: #17212c; }
body.customer .card, body.onboard .card, body.property-app .card { background: #ffffff; border-color: #d9e0e7; box-shadow: none; }
body.customer button, body.customer .link-button, body.customer select, body.customer textarea, body.customer input,
body.onboard button, body.property-app button, body.property-app .link-button, body.property-app select, body.property-app textarea { background: #ffffff; border-color: #cbd5df; color: #17212c; }
body.customer button:hover, body.onboard button:hover, body.property-app button:hover { background: #eef2f6; }
body.customer .primary, body.onboard .primary, body.property-app .primary { background: #17212c; color: #ffffff; border-color: #17212c; }
body.customer .notice, body.onboard .notice, body.property-app .notice { background: #eef3f8; color: #34485b; border-color: #d6e0ea; }
body.customer .account-panel { background: #ffffff; border-color: #cbd5df; }
body.customer .account-panel a:hover, body.customer .account-panel button:hover { background: #eef2f6; }
body.customer .proposal-fields input, body.customer .proposal-fields textarea { background: #ffffff; color: #17212c; border-color: #cbd5df; }
body.customer .source-tile { background: #ffffff; border-color: #d9e0e7; }
body.customer .source-tile img, body.customer .source-unavailable { background: #eef2f6; }
body.onboard input:not([type="color"]), body.onboard textarea, body.onboard select { background: #ffffff; color: #17212c; border-color: #cbd5df; }
body.onboard .brand-preview { background: #f8fafc; border-color: #d9e0e7; }
body.onboard .progress { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.onboard .progress span { border-color: #cbd5df; color: #526273; }
body.onboard .progress span.active { color: #17212c; border-color: #17212c; }
body.onboard .back, body.onboard .login { color: #17212c; border-color: #cbd5df; }
body.property-app .quote-panel { background: #f8fafc; }
body:has(> main.desk) { color-scheme: light; background: #f4f6f8; color: #17212c; }
body:has(> main.desk) .panel, body:has(> main.desk) .settings { background: #ffffff; border-color: #d9e0e7; }
body:has(> main.desk) button, body:has(> main.desk) select, body:has(> main.desk) input, body:has(> main.desk) textarea { background: #ffffff; border-color: #cbd5df; color: #17212c; }
body:has(> main.desk) button:hover:not(:disabled) { background: #eef2f6; }
body:has(> main.desk) p, body:has(> main.desk) .meta { color: #526273; }
body:has(> main.desk) .day { background: #f3f6f9; }
body:has(> main.desk) .deck .concept { background: #eef3f8; color: #17212c; }
body:has(> main.desk) nav button[aria-current] { background: #17212c; color: #ffffff; }
body:has(> main.desk) .approve { background: #dcebe2; color: #17271e; }
body:has(> main.desk) a { color: #245a9a; }
:is(body.customer, body.onboard, body.property-app, body:has(> main.desk)) :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #245a9a; outline-offset: 3px; }
/* BLACKLINE 51 components */
.bl51-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.bl51-intent { text-align: left; min-height: 56px; display: grid; gap: 3px; padding: 12px 14px; }
.bl51-intent small { color: var(--muted, #526273); }
.bl51-note { font-size: 13px; color: var(--muted, #526273); }
.bl51-badge { display: inline-block; font-size: 12px; border: 1px solid #cbd5df; border-radius: 999px; padding: 2px 9px; color: #34485b; background: #eef3f8; }
.bl51-draft { border: 1px solid #d9e0e7; border-radius: 10px; padding: 12px; display: grid; gap: 8px; background: #fbfcfd; }
.bl51-draft textarea { width: 100%; min-height: 74px; }
.bl51-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bl51-actions button { min-height: 44px; }
.bl51-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.bl51-chip { min-height: 44px; border-radius: 999px; }
.bl51-chip[aria-pressed="true"] { background: #17212c; color: #ffffff; border-color: #17212c; }
.bl51-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bl51-steps span { font-size: 12px; border-top: 3px solid #cbd5df; padding-top: 6px; color: #526273; flex: 1; min-width: 90px; }
.bl51-steps span[aria-current="step"] { border-color: #17212c; color: #17212c; font-weight: 600; }
.bl51-field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; }
.bl51-field select, .bl51-field textarea, .bl51-field input { width: 100%; min-height: 44px; }