/* LALA: approved light working surface with the black Lili sidebar. */
.theme-controls-mobile{display:none!important}
.theme-controls{display:flex;gap:4px;margin:0 0 24px;padding:3px;border:1px solid #424242;border-radius:7px;background:#171717}
.theme-controls button{flex:1;min-height:28px;padding:4px 3px;background:transparent;color:#c9c9c9;border:0;border-radius:4px;font:500 10px "Helvetica Neue",Arial,sans-serif;cursor:pointer;white-space:nowrap}
.theme-controls button[aria-pressed=true]{background:#343434;color:#fff;box-shadow:inset 0 -2px #7797b8}
.theme-controls button:focus-visible{outline:2px solid #a8c5e3;outline-offset:2px}
html[data-theme=lala]{--seasn-canvas:#fff;--seasn-sidebar:#111;--seasn-surface-1:#fff;--seasn-surface-2:#f5f5f3;--seasn-surface-3:#ececea;--seasn-border:#b5b5b0;--seasn-border-soft:#d4d4d0;--seasn-text:#111;--seasn-text-2:#30302e;--seasn-text-3:#50504c;--seasn-accent:#245f3c;--seasn-danger:#9e3f3f;--seasn-blue-soft:#efefed;--seasn-green-soft:#e5f2e9;--seasn-violet-soft:#f0edf7;--seasn-amber-soft:#faf3e6;--seasn-accent-green:#245f3c;--seasn-accent-red:#9e3f3f;--seasn-accent-blue:#315f8d;--seasn-accent-amber:#846322;--seasn-accent-violet:#725091;color-scheme:light}
html[data-theme=lala] body,html[data-theme=lala] .shell,html[data-theme=lala] .main{background:#fff!important;color:#111!important}
html[data-theme=lala] .side{background:#111!important;border-color:#333!important;color:#fff!important}
html[data-theme=lala] .side .nav button{color:#d3d3d3!important}
html[data-theme=lala] .side .nav button.active{background:#292929!important;color:#fff!important;box-shadow:inset 3px 0 #7797b8!important}
html[data-theme=lala] .side .profile,html[data-theme=lala] .side .muted,html[data-theme=lala] .side .session-logout{color:#bcbcbc!important}
html[data-theme=lala] .h1{color:#111!important}
html[data-theme=lala] .eyebrow,html[data-theme=lala] .commercial-top .eyebrow{color:#5f6770!important}
html[data-theme=lala] .main :is(.card,.metric,.grid4 .card,.cols>.card,.commercial-season-overview,.crm-intro,.crm-empty,.crm-note,.commercial-customer-summary-panel,.commercial-customer-totals>div,.commercial-drawer,.access-member){background:#fff!important;color:#111!important;border-color:#b5b5b0!important;box-shadow:none!important}
html[data-theme=lala] :is(.table,.commercial-table,.commercial-table-wrap,.crm-table-wrap){background:#fff!important;color:#111!important;border-color:#b5b5b0!important}
html[data-theme=lala] :is(.table th,.commercial-table th){background:#eeeeec!important;color:#30302e!important;border-color:#c4c4bf!important}
html[data-theme=lala] :is(.table td,.commercial-table td){background:#fff!important;color:#222!important;border-color:#d4d4d0!important}
html[data-theme=lala] :is(.table tbody tr:hover td,.commercial-table tbody tr:hover td){background:#f3f3f1!important}
html[data-theme=lala] :is(.card strong,.metric strong,.commercial-kpis .metric strong,.commercial-table b,.commercial-table strong,.commercial-foot-total,.commercial-customer-summary-title,.commercial-customer-totals strong){color:#111!important}
html[data-theme=lala] :is(.btn,.button,.commercial-actions button,.brand-trigger,.duration-select,.rep-select,.remove-contact){background:#fff!important;color:#222!important;border-color:#b5b5b0!important}
html[data-theme=lala] :is(.btn:hover,.button:hover){background:#eeeeec!important;color:#111!important}
html[data-theme=lala] :is(.btn.dark,.btn-primary,.button.primary,.access-primary){background:#111!important;color:#fff!important;border-color:#111!important}
html[data-theme=lala] :is(input,select,textarea){background:#fafaf9!important;color:#111!important;border-color:#b5b5b0!important;color-scheme:light}
html[data-theme=lala] :is(input,textarea)::placeholder{color:#50504c!important}
html[data-theme=lala] :is(.commercial-table input,.commercial-table select){background:transparent!important;color:#111!important;border-color:transparent!important}
html[data-theme=lala] :is(.commercial-table input:hover,.commercial-table select:hover,.commercial-table input:focus,.commercial-table select:focus){background:#efefed!important;color:#111!important;border-color:#315f8d!important}
html[data-theme=lala] :is(.brand-popover,.rep-picker-menu,.brand-picker-menu,.ss27-brand-list,.ai-panel,.ai-answer,.season-winter,.calendar-toolbar,.month-grid,.weekday,.month-day,.bigstatus,.calc){background:#f5f5f3!important;color:#222!important;border-color:#b5b5b0!important;box-shadow:none!important}
html[data-theme=lala] :is(.brand-popover button,.brand-popover button:hover,.ss27-brand-list>div,.ss27-brand-list b,.calendar-toolbar b,.day-number,.weekday,.season-winter-head>span,.season-winter-line>span){color:#30302e!important}
html[data-theme=lala] :is(.brand-popover button.selected,.status-tabs button.active){background:#efefed!important;color:#234e78!important;border-color:#bebeba!important}
html[data-theme=lala] :is(.booking-tabs,.crm-tabs){border-color:#b5b5b0!important}
html[data-theme=lala] :is(.booking-tabs button,.crm-tabs button,.status-tabs button){color:#50504c!important;background:transparent!important}
html[data-theme=lala] :is(.booking-tabs button.active,.crm-tabs button.active){color:#111!important;border-bottom-color:#315f8d!important}
html[data-theme=lala] :is(.crm-name,.crm-back,.commercial-customer-summary-toggle,.commercial-customer-summary-close,.drawer-close,.commercial-note-button){color:#111!important}
html[data-theme=lala] :is(.crm-toolbar input,.crm-toolbar select){background:#fafaf9!important;color:#111!important;border-color:#b5b5b0!important}
html[data-theme=lala] :is(.crm-table small,.crm-count,.crm-toolbar label,.commercial-customer-summary-title small,.commercial-customer-totals span,.commercial-foot,.commercial-drawer-head p,.commercial-historical-note){color:#50504c!important}
html[data-theme=lala] .crm-review{background:#faf3e6!important;color:#846322!important;border-color:#cbb780!important}
html[data-theme=lala] .crm-unknown{color:#846322!important}
html[data-theme=lala] :is(.positive,.saved,.commercial-compare.positive){color:#245f3c!important}
html[data-theme=lala] :is(.negative,.commercial-compare.negative){color:#9e3f3f!important}
html[data-theme=lala] .status-select:has(option:checked[value=Completed]){background:#e5f2e9!important;color:#245f3c!important;border-color:#adc6b5!important}
html[data-theme=lala] .status-select:has(option:checked[value=Writing]){background:#faf3e6!important;color:#846322!important;border-color:#cbb780!important}
html[data-theme=lala] .status-select:has(option:checked[value="No order"]){background:#faeeee!important;color:#9e3f3f!important;border-color:#d1adad!important}
html[data-theme=lala] .status-select:has(option:checked[value="Not started"]){background:#eeeeec!important;color:#50504c!important}
html[data-theme=lala] :is(.ai-btn,.ai-btn:hover){background:#f0edf7!important;color:#725091!important;border-color:#c6bbd5!important}
html[data-theme=lala] .ai-answer>span{color:#725091!important}
html[data-theme=lala] button.day-booking{background:#efefed!important;color:#222!important;border-color:#bebeba!important}
html[data-theme=lala] :is(.day-booking b,.day-booking small){color:#30302e!important}
html[data-theme=lala] .access-page{background:#f5f5f3!important;color:#111!important}
html[data-theme=lala] .access-card{background:#fff!important;color:#111!important;border-color:#b5b5b0!important;box-shadow:0 16px 48px #0000000d!important}
html[data-theme=lala] :is(.access-logo,.access-card h1,.access-card label){color:#111!important}
html[data-theme=lala] :is(.access-card p,.access-help,.access-mini-guide,.access-link){color:#50504c!important}
html[data-theme=lala] .access-error{color:#9e3f3f!important}
html[data-theme=lala] :is(.field label,.config-field label,.brand-setup-head,.section-title){color:#50504c!important}
html[data-theme=lala] :is(.row,.brand-setup-row,.contact-card,.brand-setup-table,.contact-responsibility){border-color:#d4d4d0!important}
@media(max-width:800px){.theme-controls{max-width:220px;margin-bottom:12px}}

html[data-theme=lala] .main .tag{background:#eeeeec!important;color:#50504c!important;border-color:#b5b5b0!important}
html[data-theme=lala] .main .tag.blue{background:#efefed!important;color:#234e78!important;border-color:#bebeba!important}
html[data-theme=lala] .main .tag.crm-review{background:#faf3e6!important;color:#846322!important;border-color:#cbb780!important}
html[data-theme=lala] .access-page::before,html[data-theme=lala] .access-page::after{opacity:.08!important}
html[data-theme=lala] .season-pill{background:#eeeeec!important;color:#50504c!important;border-color:#b5b5b0!important}
html[data-theme=lala] .season-pill.active{background:#e5f2e9!important;color:#245f3c!important;border-color:#adc6b5!important}
@media(max-width:800px){.main>.theme-controls-mobile{display:flex!important;max-width:220px;margin:0 0 20px}}
/* Controls added after the original Lili palette use the same LALA surfaces. */
html[data-theme=lala] :is(.access-mini-guide b,.commercial-drawer label,.commercial-category>span,.commercial-drawer p,.commercial-archive-dialog p){color:#50504c!important}
html[data-theme=lala] :is(.market-switch,.seasn-select-trigger,.seasn-select-menu,.commercial-identity-results,.commercial-discount-input,.commercial-archive-dialog){background:#f5f5f3!important;color:#222!important;border-color:#b5b5b0!important;box-shadow:none!important}
html[data-theme=lala] :is(.market-switch button,.seasn-select-option,.commercial-identity-results button){background:transparent!important;color:#30302e!important}
html[data-theme=lala] :is(.market-switch button.active,.seasn-select-option[aria-selected=true],.seasn-select-option:hover,.seasn-select-option:focus-visible,.commercial-identity-results button:hover){background:#efefed!important;color:#234e78!important}
html[data-theme=lala] :is(.commercial-identity-choice,.booking-window-note){background:#efefed!important;color:#234e78!important;border-color:#bebeba!important}
html[data-theme=lala] :is(.commercial-late-note,.commercial-category-message){background:#faf3e6!important;color:#846322!important;border-color:#cbb780!important}
html[data-theme=lala] :is(.booking-window-note b,.commercial-archive-dialog strong){color:#222!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading{background:#efefed!important;color:#234e78!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading.actual{background:#e5f2e9!important;color:#245f3c!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell,html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual{background:#fff!important;color:#222!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input{background:#fafaf9!important;color:#111!important;border-color:#bebeba!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input{background:#e9f5ed!important;color:#111!important;border-color:#adc6b5!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input::placeholder,html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input::placeholder{color:#50504c!important}
html[data-theme=lala] .commercial-table .commercial-historical-input,html[data-theme=lala] .commercial-category-picker select{background:#fafaf9!important;color:#111!important;border-color:#b5b5b0!important}
html[data-theme=lala] .commercial-table .commercial-historical-input:focus{background:#efefed!important;border-color:#315f8d!important}
html[data-theme=lala] .commercial-table :is(.commercial-customer-toggle,.commercial-category-toggle,.commercial-historical-cell,.commercial-line-label){color:#222!important}
html[data-theme=lala] .commercial-table :is(.commercial-add-category-inline,.commercial-historical-note,.category-line-button){color:#234e78!important}
html[data-theme=lala] .commercial-table .commercial-note-button{background:#e5f2e9!important;color:#245f3c!important;border-color:#adc6b5!important}
html[data-theme=lala] .commercial-table :is(.commercial-category-row,.commercial-category-add-row) td{background:#f5f5f3!important}
html[data-theme=lala] .commercial-table tr.commercial-parent td.commercial-entry-cell{color:#222!important}
html[data-theme=lala] .commercial-table td.commercial-account-note-cell,html[data-theme=lala] .commercial-table tr:hover td.commercial-account-note-cell{background:#fff!important}
html[data-theme=lala] .commercial-table tr.commercial-parent td{border-top-color:#b5b5b0!important}
html[data-theme=lala] :is(.commercial-line-dimensions,.commercial-category-inline,.commercial-category-inline em,.commercial-add-category-help,.commercial-line-label small){color:#50504c!important}
html[data-theme=lala] .commercial-discount-input input{color:#111!important}
html[data-theme=lala] :is(.status-pill.completed){background:#e5f2e9!important;color:#245f3c!important;border-color:#adc6b5!important}
html[data-theme=lala] :is(.status-pill.writing){background:#faf3e6!important;color:#846322!important;border-color:#cbb780!important}
html[data-theme=lala] :is(.status-pill.no-order){background:#faeeee!important;color:#9e3f3f!important;border-color:#d1adad!important}
html[data-theme=lala] .status-pill:not(.completed):not(.writing):not(.no-order){background:#eeeeec!important;color:#50504c!important;border-color:#b5b5b0!important}
html[data-theme=lala] :is(.commercial-archive-dialog [role=alert],#commercial-add-error){color:#9e3f3f!important}
html[data-theme=lala]{--sd-bg:#fff;--sd-panel:#fff;--sd-panel2:#f5f5f3;--sd-hover:#f3f3f1;--sd-line:#b5b5b0;--sd-line2:#b5b5b0;--sd-text:#111;--sd-soft:#30302e;--sd-muted:#50504c;--sd-green:#245f3c}
html[data-theme=lala] :is(.commercial-kpis,.kpis,.forecast-progress){background:#fff!important;color:#30302e!important;border-color:#b5b5b0!important}
html[data-theme=lala] :is(.forecast-progress-head strong,.forecast-submit-actions b){color:#111!important}
html[data-theme=lala] :is(.forecast-progress-label,.forecast-progress-head small,.forecast-submit-actions){color:#50504c!important}
html[data-theme=lala] .forecast-progress-bar{background:#d4d4d0!important}
html[data-theme=lala] .commercial-table select option{background:#fff!important;color:#111!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input.save-error,html[data-theme=lala] .commercial-table .commercial-historical-input.save-error{background:#faeeee!important;border-color:#9e3f3f!important}

/* Compact theme preference beside the profile, at the bottom left. */
.side>.theme-controls{position:absolute;left:30px;bottom:24px;width:164px;margin:0}
.side .profile{bottom:76px}
@media(max-width:800px){.main>.theme-controls-mobile{position:fixed;left:16px;bottom:16px;z-index:200;width:164px;margin:0;box-shadow:0 3px 12px #0002}.main{padding-bottom:86px!important}}

/* Light brand menu hover and scrollbar. */
html[data-theme=lala] .brand-popover button:hover,html[data-theme=lala] .brand-popover button:focus-visible{background:#efefed!important;color:#234e78!important}
html[data-theme=lala] .brand-popover button.selected i{color:#234e78!important}
html[data-theme=lala] :is(.brand-popover,.seasn-select-menu){scrollbar-color:#b0b0ac #f5f5f3}
html[data-theme=lala] .brand-popover::-webkit-scrollbar-thumb,html[data-theme=lala] .seasn-select-menu::-webkit-scrollbar-thumb{background:#b0b0ac;border-color:#f5f5f3}

/* Stronger hierarchy for LALA: readable labels and distinct table headings. */
html[data-theme=lala] .main :is(.metric span,.grid4 .metric span,.card small,.row small,.muted,.eyebrow,.commercial-top .eyebrow,.top:not(.commercial-top) .eyebrow){color:#50504c!important}
html[data-theme=lala] :is(.table th,.commercial-table th){color:#30302e!important;border-bottom-color:#b5b5b0!important}
html[data-theme=lala] :is(.crm-intro,.forecast-progress){background:#f5f5f3!important}
html[data-theme=lala] :is(.crm-name,.commercial-customer-summary-toggle){font-weight:600}
html[data-theme=lala] :is(input,select,textarea):focus-visible{outline:2px solid #315f8d;outline-offset:1px}

/* LALA neutral foundation: blue is a focus/selection accent, not a surface tint. */
html[data-theme=lala] .brand-popover button.selected{box-shadow:inset 2px 0 #315f8d!important}
html[data-theme=lala] .brand-popover button:hover,html[data-theme=lala] .brand-popover button:focus-visible{color:#111!important}
html[data-theme=lala] :is(.market-switch button.active,.seasn-select-option[aria-selected=true],.seasn-select-option:hover,.status-tabs button.active){color:#111!important}

/* LALA / Linear refinement: typography leads; controls recede until used. */
html[data-theme=lala] .commercial-top .h1{font-size:28px!important;font-weight:600!important;letter-spacing:-.8px!important}
html[data-theme=lala] .commercial-top p{font-size:12px;margin:7px 0 0}
html[data-theme=lala] .commercial-kpis{gap:0!important;padding:18px 0!important;margin:20px 0 14px;border:0!important;border-top:1px solid #e5e5e2!important;border-bottom:1px solid #e5e5e2!important;border-radius:0!important;background:transparent!important}
html[data-theme=lala] .commercial-kpis .card.metric{border:0!important;border-left:1px solid #e5e5e2!important;border-radius:0!important;padding:0 24px!important;background:transparent!important;min-height:80px!important;justify-content:flex-start;gap:9px}
html[data-theme=lala] .commercial-kpis .card.metric:first-child{border-left:0!important;padding-left:12px!important}
html[data-theme=lala] .commercial-kpis .card.metric strong{font-size:30px!important;letter-spacing:-1px!important;font-weight:500!important;line-height:1.2}
html[data-theme=lala] .main .commercial-kpis .card.metric span{font-size:10px!important;letter-spacing:.05em!important;color:#62625e!important}
html[data-theme=lala] .commercial-kpis .fw26-total{font-size:11px!important;margin-top:0!important}
html[data-theme=lala] .forecast-progress{border:0!important;border-bottom:1px solid #e5e5e2!important;background:transparent!important;border-radius:0!important;padding:9px 0 13px!important}
html[data-theme=lala] .commercial-table-wrap{border-color:#e5e5e2!important;border-radius:8px!important}
html[data-theme=lala] .commercial-table th,html[data-theme=lala] .commercial-table th.commercial-entry-heading,html[data-theme=lala] .commercial-table th.commercial-entry-heading.actual{background:#f7f7f5!important;box-shadow:none!important;border-color:#e5e5e2!important;font-weight:600!important}
html[data-theme=lala] .commercial-table td{border-color:#eaeae7!important}
html[data-theme=lala] .commercial-table tbody tr:hover,html[data-theme=lala] .commercial-table tbody tr:focus-within,html[data-theme=lala] .commercial-table tbody tr:hover td,html[data-theme=lala] .commercial-table tbody tr:focus-within td{background:#f6f6f4!important;color:#222!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input,html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input,html[data-theme=lala] .commercial-table .commercial-historical-input,html[data-theme=lala] .commercial-table .commercial-discount-input,html[data-theme=lala] .commercial-table .commercial-discount-input input{background:transparent!important;border-color:transparent!important;color:#222!important;box-shadow:none!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input:hover,html[data-theme=lala] .commercial-table .commercial-historical-input:hover{border-color:#dededa!important;background:#fff!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input:focus,html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input:focus,html[data-theme=lala] .commercial-table .commercial-historical-input:focus{background:#fff!important;border-color:#315f8d!important;outline:2px solid #315f8d22!important;outline-offset:1px!important}
html[data-theme=lala] .commercial-table .commercial-note-button:not(.has-note){background:transparent!important;border-color:transparent!important;color:#7c7c76!important}
html[data-theme=lala] .commercial-table .commercial-note-button:hover{background:#eeeeeb!important;color:#245f3c!important}
html[data-theme=lala] .main .btn:not(.dark):not(.ai-btn){border-color:#dededa!important}
html[data-theme=lala] .main .crm-table-wrap{border-color:#e5e5e2!important}
@media(max-width:900px){html[data-theme=lala] .commercial-kpis{row-gap:22px!important}html[data-theme=lala] .commercial-kpis .card.metric:nth-child(odd){border-left:0!important;padding-left:12px!important}}
@media(max-width:450px){html[data-theme=lala] .commercial-kpis .card.metric{padding-right:8px!important}html[data-theme=lala] .commercial-kpis .card.metric strong{font-size:24px!important}}

/* Soft widget corners without heavy framing. */
html[data-theme=lala] .commercial-kpis{gap:12px!important;padding:0!important;border:0!important}
html[data-theme=lala] .commercial-kpis .card.metric,html[data-theme=lala] .commercial-kpis .card.metric:first-child{border:1px solid #e5e5e2!important;border-radius:8px!important;padding:16px 18px!important;min-height:100px!important;background:#fff!important}
@media(max-width:900px){html[data-theme=lala] .commercial-kpis .card.metric:nth-child(odd){border-left:1px solid #e5e5e2!important;padding-left:18px!important}}

/* Commercial meaning: forecast blue, actuals green on neutral surfaces. */
html[data-theme=lala] .commercial-kpis .card.metric:nth-child(1) strong,html[data-theme=lala] .main .commercial-kpis .card.metric:nth-child(1) span{color:#315f8d!important}
html[data-theme=lala] .commercial-kpis .card.metric:nth-child(2) strong,html[data-theme=lala] .main .commercial-kpis .card.metric:nth-child(2) span{color:#245f3c!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading.forecast,html[data-theme=lala] .commercial-table td.commercial-entry-cell.commercial-group-forecast .money-input{color:#315f8d!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading.actual,html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input{color:#245f3c!important}


/* Match Lili's commercial entry boxes using the light palette. */
html[data-theme=lala] .commercial-table th.commercial-entry-heading.forecast{background:#eaf1f8!important;color:#315f8d!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading.actual{background:#eaf4ee!important;color:#245f3c!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input{background:#eaf1f8!important;border:1px solid #c7d7e7!important;color:#315f8d!important;border-radius:5px!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input{background:#eaf4ee!important;border:1px solid #c5dacd!important;color:#245f3c!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input:hover,html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input:focus{background:#e3edf7!important;border-color:#769abb!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input:hover,html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input:focus{background:#e3f0e8!important;border-color:#79a38a!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input.save-error{background:#faeeee!important;border-color:#9e3f3f!important;color:#9e3f3f!important}

/* Shared widget geometry: LALA and Lili differ only in palette. */
html[data-theme] .commercial-kpis{gap:12px!important;padding:0!important;border:0!important;border-radius:0!important}
html[data-theme] .commercial-kpis .card.metric,html[data-theme] .commercial-kpis .card.metric:first-child{border-width:1px!important;border-style:solid!important;border-radius:8px!important;padding:16px 18px!important;min-height:100px!important}
html[data-theme] .main :is(.card,.metric,.crm-intro,.crm-empty,.crm-note){border-radius:8px!important}
html[data-theme] :is(.commercial-table-wrap,.crm-table-wrap){border-radius:8px!important}
html[data-theme] .commercial-table td.commercial-entry-cell .money-input{border-radius:5px!important}
@media(max-width:900px){html[data-theme] .commercial-kpis .card.metric:nth-child(odd){border-left-width:1px!important;border-left-style:solid!important;padding-left:18px!important}}

/* Readable first-sign-in and team brand selections in LALA. */
html[data-theme=lala] .access-brands label{background:#f7f7f5!important;color:#111!important;border:1px solid #d4d4d0!important;border-radius:8px!important}
html[data-theme=lala] .access-brands label span{color:#111!important}
html[data-theme=lala] .access-brands label:hover{background:#eeeeeb!important;border-color:#aaa9a3!important}
html[data-theme=lala] .access-brands label:has(input:checked){background:#eaf1f8!important;border-color:#769abb!important}
html[data-theme=lala] .access-brands label:focus-within{outline:2px solid #315f8d!important;outline-offset:2px}
html[data-theme=lala] .access-brands input[type=checkbox]{accent-color:#315f8d!important}
html[data-theme=lala] :is(.access-step,.access-help,.access-mini-guide b){color:#50504c!important}

/* Smart Booking surfaces follow the same Lili/LALA shape and contrast rules. */
html[data-theme] .brand-config-card{border-radius:8px!important}
html[data-theme=lala] :is(.brand-config-card,.contact-card){background:#fff!important;color:#111!important;border-color:#d4d4d0!important}
html[data-theme=lala] .brand-config-title{border-color:#d4d4d0!important}
html[data-theme=lala] .brand-config-title h3{color:#111!important}
html[data-theme=lala] :is(.brand-index,.contact-responsibility>small){color:#50504c!important}
html[data-theme=lala] :is(.rep-picker summary,.brand-picker summary,.seasn-select-trigger){background:#fafaf9!important;color:#111!important;border-color:#b5b5b0!important}
html[data-theme=lala] .seasn-select-menu{background:#fff!important;color:#111!important;border-color:#b5b5b0!important;box-shadow:0 10px 28px #0002!important}
html[data-theme=lala] :is(.seasn-select-option,.rep-picker-menu label){color:#111!important}
html[data-theme=lala] :is(.seasn-select-option:hover,.seasn-select-option:focus-visible,.seasn-select-option[aria-selected=true],.rep-picker-menu label:hover){background:#eeeeec!important;color:#111!important}
html[data-theme=lala] .booking-window-note{background:#faf3e6!important;color:#70551e!important;border-color:#cbb780!important}
html[data-theme=lala] .booking-window-note b{color:#70551e!important}
html[data-theme=lili] :is(.config-field>label,.field label,.contact-responsibility>small){color:#aeb5b1!important}

/* Compact Actuals overview: reserve the viewport for customer rows in both themes. */
html[data-theme] .commercial-top{margin-bottom:10px!important;row-gap:4px!important}
html[data-theme] .commercial-top .h1{font-size:22px!important;font-weight:500!important;line-height:1.25!important;margin:0!important;letter-spacing:-.4px!important}
html[data-theme] .commercial-top .eyebrow{font-size:9px!important;margin:0!important}
html[data-theme] .commercial-top p{font-size:11px!important;margin:3px 0 0!important;line-height:1.3!important}
html[data-theme] .commercial-actions button{height:32px!important;padding:0 11px!important;font-size:11px!important}
html[data-theme] .commercial-controls{margin:0 0 10px!important;gap:8px!important}
html[data-theme] .commercial-controls :is(.brand-trigger,.market-switch){height:32px!important;min-height:32px!important}
html[data-theme] .commercial-controls .brand-trigger{padding:0 12px!important;font-size:12px!important}
html[data-theme] .commercial-controls .market-switch button{padding:5px 10px!important;font-size:11px!important}
html[data-theme] .commercial-kpis{gap:8px!important}
html[data-theme] .commercial-kpis .card.metric,html[data-theme] .commercial-kpis .card.metric:first-child{padding:10px 14px!important;min-height:74px!important;justify-content:flex-start!important;gap:5px!important}
html[data-theme] .commercial-kpis .card.metric strong{font-size:24px!important;line-height:1.1!important;letter-spacing:-.6px!important}
html[data-theme] .commercial-kpis .card.metric span{font-size:10px!important;margin:0!important;line-height:1.25!important}
html[data-theme] .commercial-kpis .fw26-total{font-size:10px!important;margin-top:0!important;line-height:1.2!important}
html[data-theme] .commercial-history{margin:6px 0 8px!important;gap:18px!important;font-size:11px!important;line-height:1.3!important}
html[data-theme] .commercial-history>span:first-child{font-size:10px!important}
html[data-theme] .forecast-progress{margin:4px 0 8px!important;padding:6px 10px!important}
html[data-theme] .commercial-filterbar{margin:6px 0 7px!important}
html[data-theme] .commercial-table-wrap{max-height:calc(100dvh - 290px)!important;min-height:220px}
@media(max-width:900px){html[data-theme] .commercial-table-wrap{max-height:calc(100dvh - 380px)!important}}
@media(max-width:650px){html[data-theme] .commercial-actions{flex-direction:row!important;flex-wrap:wrap}html[data-theme] .commercial-kpis .card.metric{padding:10px!important}html[data-theme] .commercial-kpis .card.metric strong{font-size:21px!important}html[data-theme] .commercial-table-wrap{max-height:62dvh!important}}

/* Icon-only theme selection. */
.theme-controls{width:max-content;gap:3px;padding:3px}
.theme-controls button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;min-height:30px;padding:0}
.theme-controls button svg{display:block;pointer-events:none}
.side>.theme-controls{width:69px}
@media(max-width:800px){.main>.theme-controls-mobile{width:69px;max-width:69px}}

/* Actuals uses the same compact title treatment and main alignment as Customers. */
html[data-theme] .commercial-top{align-items:center!important}
html[data-theme] .commercial-table .commercial-tier-cell,html[data-theme] .commercial-table .commercial-tier-heading{width:64px;min-width:64px;padding-left:6px;padding-right:6px}
html[data-theme] .commercial-tier-select{width:58px;min-width:0;height:28px;border:1px solid var(--border,#333);border-radius:7px;background:transparent;color:inherit;padding:3px 5px;font-size:11px;cursor:pointer}
html[data-theme] .commercial-tier-select:disabled{cursor:default;opacity:.65}
html[data-theme] .commercial-tier-select option{background:#171717;color:#eee}
html[data-theme=lala] .commercial-tier-select option{background:#fff;color:#171717}

/* Customer names must remain readable on the LALA table surface, including hover. */
html[data-theme=lala] .main .table tbody td:first-child > b{color:#111!important;font-weight:600!important}

/* Actuals: quiet column filters and a compact, expandable brand overview. */
html[data-theme] .commercial-tier-heading{overflow:visible}
html[data-theme] .tier-filter-trigger{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;background:transparent;border:0;color:inherit;padding:0;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}
html[data-theme] .tier-filter-trigger.is-filtered{color:var(--seasn-accent-blue,#91b8d1)}
html[data-theme] .tier-filter-trigger:hover{color:var(--seasn-text,#f0f0eb)}
.tier-filter-count{display:inline-grid;place-items:center;min-width:14px;height:14px;border-radius:4px;background:var(--seasn-surface-3,#303431);font-size:9px}
html[data-theme] .tier-filter-menu{position:fixed;inset:auto;margin:0;padding:6px;width:188px;max-height:310px;overflow:auto;border:1px solid var(--seasn-border-soft,#383b37);border-radius:10px;background:var(--seasn-surface-1,#1b1d1b);color:var(--seasn-text,#e9ebe6);box-shadow:0 12px 32px #0002;font:12px "Helvetica Neue",Arial,sans-serif;text-transform:none;letter-spacing:0}
html[data-theme] .tier-filter-menu::backdrop{background:transparent}
html[data-theme] .tier-filter-all{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;color:inherit;padding:8px;border-radius:5px;font:inherit;cursor:pointer}
.tier-filter-all span{font-size:10px;opacity:.65}
.tier-filter-options{padding-top:4px;margin-top:4px;border-top:1px solid var(--seasn-border-soft,#383b37)}
html[data-theme] .tier-filter-options label{display:flex;align-items:center;gap:8px;padding:7px 8px;cursor:pointer;border-radius:5px;font:inherit;letter-spacing:0;text-transform:none;color:inherit;margin:0}
html[data-theme] .tier-filter-options input{width:13px;height:13px;min-height:0;flex:none;margin:0;accent-color:var(--seasn-accent-blue,#729bb5)}
html[data-theme] .tier-filter-options label:hover,html[data-theme] .tier-filter-all:hover{background:var(--seasn-surface-2,#272a26)}
html[data-theme] .tier-filter-trigger:focus-visible,html[data-theme] .brand-widget-link:focus-visible{outline:2px solid var(--seasn-accent-blue,#729bb5);outline-offset:4px}
html[data-theme] .commercial-brand-widget{margin:6px 0 10px;color:var(--seasn-text,#e9ebe6)}
html[data-theme] .commercial-brand-widget>summary{display:inline-flex;align-items:center;gap:10px;min-width:232px;max-width:100%;box-sizing:border-box;padding:10px 13px;list-style:none;border:1px solid var(--seasn-border-soft,#383b37);border-radius:10px;background:var(--seasn-surface-1,#1b1d1b);cursor:pointer;transition:background .15s ease}
.commercial-brand-widget>summary::-webkit-details-marker{display:none}
.commercial-brand-widget>summary:hover{background:var(--seasn-surface-2,#272a26)!important}
.commercial-brand-widget>summary b{display:block;font-size:12px;font-weight:600;line-height:1.4}
.commercial-brand-widget>summary small{display:block;margin-top:2px;font-size:10px;font-weight:400;color:var(--seasn-text-3,#959b94)}
.brand-widget-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--seasn-blue-soft,#25343c);color:var(--seasn-accent-blue,#91b8d1)}
.brand-widget-chevron{margin-left:auto;font-size:17px;color:var(--seasn-text-3,#959b94);transition:transform .15s}
.commercial-brand-widget[open] .brand-widget-chevron{transform:rotate(180deg)}
.brand-widget-content{margin-top:8px;padding:2px 10px;border:1px solid var(--seasn-border-soft,#383b37);border-radius:10px;background:var(--seasn-surface-1,#1b1d1b)}
.brand-widget-table-scroll{max-height:300px;overflow:auto}
html[data-theme] .brand-widget-table-scroll table{min-width:640px}
html[data-theme] .brand-widget-table-scroll th,html[data-theme] .brand-widget-table-scroll td{padding:9px 10px!important;font-size:11px!important}
html[data-theme] .brand-widget-link{display:inline-flex;align-items:center;gap:10px;background:transparent;border:0;padding:0;color:inherit;font:inherit;cursor:pointer}
.brand-widget-link span{opacity:.45}
html[data-theme] .commercial-history .ss27-brand-breakdown{position:relative}
html[data-theme] .main{min-width:0}
html[data-theme] .forecast-fill-region{min-width:0}
html[data-theme] .forecast-fill-cards{min-width:0}

/* Lili surface hierarchy: distinct navigation, canvas, work surface and season columns. */
html[data-theme=lili]{
 --seasn-canvas:#111215;--seasn-sidebar:#202126;
 --seasn-surface-1:#1c1d22;--seasn-surface-2:#26272d;--seasn-surface-3:#31323a;
 --seasn-border:#35363f;--seasn-border-soft:#2c2d35;
 --seasn-text:#f0f0f3;--seasn-text-2:#c1c2ca;--seasn-text-3:#9799a5;
 --seasn-accent-blue:#a6bfd9;--seasn-blue-soft:#283543;
 --seasn-accent-green:#a3c8b0;--seasn-green-soft:#293a31;color-scheme:dark;
}
html[data-theme=lili] :is(body,.shell,.main){background:var(--seasn-canvas)!important;color:var(--seasn-text)!important}
html[data-theme=lili] .side{background:var(--seasn-sidebar)!important;border-right:1px solid #35363e!important}
html[data-theme=lili] .side .nav button{color:#b9bbc5!important}
html[data-theme=lili] .side .nav button:hover{background:#292a31!important;color:#f0f0f3!important}
html[data-theme=lili] .side .nav button.active{background:#363741!important;color:#fff!important;box-shadow:inset 2px 0 #a6bfd9!important}
html[data-theme=lili] .side :is(.profile,.muted,.session-logout){color:#a6a8b3!important}
html[data-theme=lili] :is(.commercial-kpis .metric,.forecast-progress,.commercial-table-wrap,.brand-widget-content){background:var(--seasn-surface-1)!important;border-color:var(--seasn-border-soft)!important}
html[data-theme=lili] .commercial-kpis .metric span,html[data-theme=lili] .commercial-kpis .metric small{color:var(--seasn-text-3)!important}
html[data-theme=lili] .commercial-table th{background:#27282f!important;color:#b9bbc6!important;border-color:#373943!important}
html[data-theme=lili] .commercial-table td,html[data-theme=lili] .commercial-table td.commercial-account-note-cell{background:#1c1d22!important;border-color:#2c2d35!important;color:#c1c2ca!important}
html[data-theme=lili] .commercial-table tr.commercial-parent td{border-top-color:#30313a!important}
html[data-theme=lili] .commercial-table tbody tr:hover td,html[data-theme=lili] .commercial-table tbody tr:focus-within td{background:#25262e!important}
html[data-theme=lili] .commercial-table th.commercial-entry-heading.forecast{background:#2c3b4c!important;color:#d0e3f5!important;box-shadow:inset 0 2px 0 #829fbf!important}
html[data-theme=lili] .commercial-table th.commercial-entry-heading.actual{background:#2d4437!important;color:#d1ebda!important;box-shadow:inset 0 2px 0 #85ad93!important}
html[data-theme=lili] .commercial-table td.commercial-entry-cell{background:#242e3b!important}
html[data-theme=lili] .commercial-table td.commercial-entry-cell.actual{background:#25372d!important}
html[data-theme=lili] .commercial-table tbody tr:hover td.commercial-entry-cell,html[data-theme=lili] .commercial-table tbody tr:focus-within td.commercial-entry-cell{background:#2d3a4b!important}
html[data-theme=lili] .commercial-table tbody tr:hover td.commercial-entry-cell.actual,html[data-theme=lili] .commercial-table tbody tr:focus-within td.commercial-entry-cell.actual{background:#304638!important}
html[data-theme=lili] .commercial-table td.commercial-entry-cell .money-input{background:#2c394a!important;border-color:#495b72!important;color:#eff5ff!important}
html[data-theme=lili] .commercial-table td.commercial-entry-cell.actual .money-input{background:#2e4235!important;border-color:#4b6a55!important;color:#eef8f0!important}
html[data-theme=lili] .commercial-table td.commercial-entry-cell .money-input:hover{background:#36465a!important;border-color:#7a9bbc!important}
html[data-theme=lili] .commercial-table td.commercial-entry-cell.actual .money-input:hover{background:#385140!important;border-color:#82a98d!important}
html[data-theme=lili] .commercial-table .commercial-historical-input{background:#27282f!important;border-color:#40424c!important;color:#e2e3ea!important}
html[data-theme=lili] .commercial-table :is(.commercial-tier-select,.status-select){background:#27282f!important;border-color:#40424c!important;color:#c9cbd4!important}
html[data-theme=lili] .commercial-table .commercial-customer-meta{color:#9a9daa!important}
html[data-theme=lili] .commercial-table .money-input.save-error{background:#49292f!important;border-color:#d38b96!important;color:#ffe9ec!important}

/* Lala uses the same surface hierarchy as Lili, expressed in light grays. */
html[data-theme=lala]{--seasn-canvas:#f0f1f4;--seasn-sidebar:#25262d;--seasn-surface-1:#fff;--seasn-surface-2:#f5f6f8;--seasn-surface-3:#e7e9ee;--seasn-border:#d6d9e1;--seasn-border-soft:#e0e3ea;--seasn-text:#20232b;--seasn-text-2:#454b58;--seasn-text-3:#6b7280;--seasn-blue-soft:#e6edf7;--seasn-green-soft:#e7f1eb}
html[data-theme=lala] :is(body,.shell,.main){background:var(--seasn-canvas)!important;color:var(--seasn-text)!important}
html[data-theme=lala] .side{background:var(--seasn-sidebar)!important;border-right:1px solid #3a3c46!important}
html[data-theme=lala] .side .nav button{color:#bec1cc!important}
html[data-theme=lala] .side .nav button:hover{background:#30313a!important;color:#fff!important}
html[data-theme=lala] .side .nav button.active{background:#3d3f4a!important;color:#fff!important;box-shadow:inset 2px 0 #a6bfd9!important}
html[data-theme=lala] .side :is(.profile,.muted,.session-logout){color:#afb3bf!important}
html[data-theme=lala] :is(.commercial-kpis .metric,.forecast-progress,.commercial-table-wrap,.commercial-brand-widget>summary,.brand-widget-content){background:#fff!important;border-color:#d9dce4!important}
html[data-theme=lala] .commercial-kpis .metric span,html[data-theme=lala] .commercial-kpis .metric small{color:#677080!important}
html[data-theme=lala] .commercial-table th{background:#e8ebf0!important;color:#525b6b!important;border-color:#d5dae3!important}
html[data-theme=lala] .commercial-table td,html[data-theme=lala] .commercial-table td.commercial-account-note-cell{background:#fff!important;color:#303744!important;border-color:#e4e7ed!important}
html[data-theme=lala] .commercial-table tr.commercial-parent td{border-top-color:#e0e4eb!important}
html[data-theme=lala] .commercial-table tbody tr:hover td,html[data-theme=lala] .commercial-table tbody tr:focus-within td{background:#f3f5f8!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading.forecast{background:#dce8f6!important;color:#2d547d!important;box-shadow:inset 0 2px 0 #8aa8c9!important}
html[data-theme=lala] .commercial-table th.commercial-entry-heading.actual{background:#deeee3!important;color:#305b3f!important;box-shadow:inset 0 2px 0 #88ad94!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell{background:#edf3fb!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual{background:#edf6ef!important}
html[data-theme=lala] .commercial-table tbody tr:hover td.commercial-entry-cell,html[data-theme=lala] .commercial-table tbody tr:focus-within td.commercial-entry-cell{background:#e4edf9!important}
html[data-theme=lala] .commercial-table tbody tr:hover td.commercial-entry-cell.actual,html[data-theme=lala] .commercial-table tbody tr:focus-within td.commercial-entry-cell.actual{background:#e2f0e6!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input{background:#e2ecfa!important;border-color:#bdcfe5!important;color:#274e77!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input{background:#e1efe5!important;border-color:#bcd4c3!important;color:#2d563b!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell .money-input:hover{background:#d8e6f7!important;border-color:#7f9fbe!important}
html[data-theme=lala] .commercial-table td.commercial-entry-cell.actual .money-input:hover{background:#d5e9dc!important;border-color:#7da58a!important}
html[data-theme=lala] .commercial-table .commercial-historical-input{background:#f5f6f8!important;border-color:#d9dde5!important;color:#454b58!important}
html[data-theme=lala] .commercial-table :is(.commercial-tier-select,.status-select){background:#f5f6f8!important;border-color:#d9dde5!important;color:#454b58!important}
html[data-theme=lala] .commercial-table .money-input.save-error{background:#faeeee!important;border-color:#ae5555!important;color:#903939!important}

/* Shared SEASN palette: every module consumes the same surface tokens. */
html[data-theme]{--card:var(--seasn-surface-1);--panel:var(--seasn-surface-1);--bg:var(--seasn-canvas);--line:var(--seasn-border-soft);--border:var(--seasn-border);--text:var(--seasn-text);--muted:var(--seasn-text-3)}
html[data-theme] body .shell>.main{background:var(--seasn-canvas)!important;color:var(--seasn-text)!important}
html[data-theme] .main .crm-page{
 --crm-surface:var(--seasn-surface-1);--crm-soft:var(--seasn-surface-2);
 --crm-line:var(--seasn-border-soft);--crm-text:var(--seasn-text);--crm-muted:var(--seasn-text-3);
}
html[data-theme] .main .td{
 --t-bg:var(--seasn-surface-1);--t-soft:var(--seasn-surface-2);
 --t-line:var(--seasn-border-soft);--t-text:var(--seasn-text);--t-muted:var(--seasn-text-3);
}
html[data-theme] .main :is(.card,.metric,.crm-intro,.crm-empty,.crm-note,.crm-directory-card,.crm-readable-widget,.crm-widget-editor,.crm-place-card,.crm-location-card,.crm-contact-card,.crm-invoice-contact-card,.crm-address-widget,.crm-season-card,.crm-welcome-action,.crm-create-panel,.crm-home-action,.commercial-customer-summary-panel,.commercial-customer-totals>div,.bk-dashboard,.bk-review-queue,.bk-brand-progress,.bk-calendar .month-day,.td-daywidget){
 background:var(--seasn-surface-1)!important;color:var(--seasn-text)!important;border-color:var(--seasn-border-soft)!important;
}
html[data-theme] :is(.commercial-drawer,.commercial-archive-dialog,.forecast-complete-dialog,.crm-mail-dialog,.td-dialog,.bk-dialog,.access-card){
 background:var(--seasn-surface-1)!important;color:var(--seasn-text)!important;border-color:var(--seasn-border-soft)!important;
}
html[data-theme] .main :is(.crm-table-wrap,.crm-directory-table-wrap,.table-wrap){background:var(--seasn-surface-1)!important;border-color:var(--seasn-border-soft)!important}
html[data-theme] .main :is(.crm-table,.crm-directory-table,.table:not(.commercial-table)) th{background:var(--seasn-surface-2)!important;color:var(--seasn-text-2)!important;border-color:var(--seasn-border-soft)!important}
html[data-theme] .main :is(.crm-table,.crm-directory-table,.table:not(.commercial-table)) td{background:var(--seasn-surface-1)!important;color:var(--seasn-text-2)!important;border-color:var(--seasn-border-soft)!important}
html[data-theme] .main :is(.crm-table,.crm-directory-table,.table:not(.commercial-table)) tr:hover td{background:var(--seasn-surface-2)!important}
html[data-theme] .main :is(.crm-directory-card:hover,.crm-welcome-action:hover,.crm-home-action:hover){background:var(--seasn-surface-2)!important}
html[data-theme] .main :is(.crm-company-field input,.crm-toolbar input,.crm-toolbar select,.crm-rail-search input,.crm-widget-editor input,.crm-widget-editor select,.crm-widget-editor textarea,.crm-inline-edit input,.crm-inline-edit textarea,.field input,.field select,.field textarea,.config-field input,.config-field select,.config-field textarea,.brand-round input,.brand-round select,.brand-round textarea):not(.save-error):not([aria-invalid=true]){
 background:var(--seasn-surface-2)!important;color:var(--seasn-text)!important;border-color:var(--seasn-border)!important;
}
html[data-theme] :is(.bk-dialog,.td-dialog,.commercial-drawer,.crm-mail-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not(.save-error):not([aria-invalid=true]){
 background:var(--seasn-surface-2)!important;color:var(--seasn-text)!important;border-color:var(--seasn-border)!important;
}
html[data-theme] .main :is(.brand-popover,.rep-picker-menu,.brand-picker-menu,.ai-panel,.ai-answer,.calendar-toolbar,.month-grid,.calc){
 background:var(--seasn-surface-1)!important;color:var(--seasn-text)!important;border-color:var(--seasn-border-soft)!important;
}
html[data-theme] .main .crm-page .crm-metric-forecast{background:var(--seasn-blue-soft)!important;color:var(--seasn-accent-blue)!important}
html[data-theme] .main .crm-page .crm-metric-actual{background:var(--seasn-green-soft)!important;color:var(--seasn-accent-green)!important}
html[data-theme] .main .crm-page .crm-review-cloud{background:var(--seasn-surface-1)!important;color:var(--seasn-text)!important}
html[data-theme] .main :is(.muted,.crm-count,.bk-source small){color:var(--seasn-text-3)!important}
html[data-theme] .theme-controls{background:var(--seasn-sidebar)!important;border-color:#4a4c58!important}
html[data-theme] .theme-controls button[aria-pressed=true]{background:#3d3f4a!important;color:#fff!important}
html[data-theme] .access-page{background:var(--seasn-canvas)!important;color:var(--seasn-text)!important}

/* One app frame; layout containers stay on the canvas instead of becoming gray panels. */
html[data-theme]{--seasn-sidebar-width:220px}
@media(min-width:801px){
 html[data-theme] body .shell{grid-template-columns:var(--seasn-sidebar-width) minmax(0,1fr)!important}
 html[data-theme] body .shell>.side{width:var(--seasn-sidebar-width);min-width:var(--seasn-sidebar-width);max-width:var(--seasn-sidebar-width);box-sizing:border-box}
}
html[data-theme] body .shell>.main .crm-page .crm-record,
html[data-theme] body .shell>.main .crm-page .crm-workspace-home>.crm-rail{
 background:transparent!important;box-shadow:none!important;border-color:transparent!important;
}
html[data-theme] body .shell>.main .crm-page{background:transparent}

/* CRM surfaces: rounded cards, transparent grouping containers in both themes. */
html[data-theme] .main .crm-page :is(.crm-readable-widget,.crm-widget-editor,.crm-company-flat,.crm-place-card,.crm-location-card,.crm-contact-card,.crm-invoice-contact-card,.crm-address-widget,.crm-season-card,.crm-summary-metric,.crm-inline-section){
 border-radius:12px!important;background-clip:padding-box;
}
html[data-theme] .main .crm-page .crm-contact-card{
 padding:10px 12px;border:1px solid var(--crm-line);margin-bottom:8px;
}
/* A location group is a layout wrapper, not another white card behind its children. */
html[data-theme] .main .crm-page .crm-location-groups>.crm-address-widget{
 background:transparent!important;border:0;box-shadow:none;padding:0;
}
html[data-theme] .main .crm-page .crm-customer-grid.is-list .crm-directory-card{
 background:transparent!important;
}
.crm-customer-grid.is-list .crm-expandable-row:last-child .crm-inline-details{
 border-radius:0 0 12px 12px;
}
