/* SEASN Signature v1 — approved Cockpit Lab, 5 November 2026.
   Load last. New UI consumes --sig-*; aliases migrate existing modules.
   This file changes presentation only, never record visibility or permissions. */
html[data-theme] {
 --sig-font:Montserrat,"Helvetica Neue",Arial,sans-serif;
 --sig-title:27px; --sig-section:14px; --sig-body:12px; --sig-meta:11px; --sig-value:23px;
 --sig-radius:14px; --sig-inner-radius:10px; --sig-control-radius:8px; --sig-gap:12px;
 --sig-bg:#141b20; --sig-panel:rgba(31,42,47,.79); --sig-solid:#202d33;
 --sig-inset:rgba(255,255,255,.035); --sig-hover:#2b3a3f;
 --sig-text:#eef3f2; --sig-muted:#a7b7ba; --sig-line:#ffffff12; --sig-control-line:#ffffff30;
 --sig-green:#b8dbc6; --sig-blue:#b5cedf; --sig-orange:#edc69e; --sig-red:#e0b4b2;
 --sig-green-soft:#293e34; --sig-blue-soft:#293a46; --sig-orange-soft:#40362b; --sig-red-soft:#422f32;
 --sig-shadow:0 12px 32px #00000018;
 --sig-canvas:radial-gradient(ellipse at 20% -10%,#52736735,transparent 55%),radial-gradient(ellipse at 100% 90%,#425c732b,transparent 55%),var(--sig-bg);
 color-scheme:dark;
}
html[data-theme=lala] {
 --sig-bg:#edf0ee; --sig-panel:rgba(255,255,255,.78); --sig-solid:#f5f8f6;
 --sig-inset:#596b6507; --sig-hover:#e7ede9;
 --sig-text:#283a36; --sig-muted:#637870; --sig-line:#233f3415; --sig-control-line:#233f3438;
 --sig-green:#3e7056; --sig-blue:#4c6b86; --sig-orange:#97622d; --sig-red:#965858;
 --sig-green-soft:#e6f0e8; --sig-blue-soft:#e6eef4; --sig-orange-soft:#f6ecdf; --sig-red-soft:#f5e7e6;
 --sig-shadow:0 12px 32px #2b49360a;
 color-scheme:light;
}
/* Local declarations in older modules must resolve to the same tokens as root. */
html[data-theme],html[data-theme] body #app :is(.shell,.shell[data-view=commercial],.main,.seasn-dashboard,.crm-page,.crm-directory-page,.seasn-actuals,.seasn-brands,.bk-workspace,.bk-planning,.td,.crm-create-screen) {
 --ui-title:var(--sig-title);--ui-section:var(--sig-section);--ui-label:var(--sig-body);--ui-body:var(--sig-body);--ui-meta:var(--sig-meta);
 --ui-canvas:var(--sig-bg);--ui-card:var(--sig-solid);--ui-hover:var(--sig-hover);--ui-line:var(--sig-line);--ui-text:var(--sig-text);--ui-muted:var(--sig-muted);
 --ui-blue:var(--sig-blue);--ui-green:var(--sig-green);--ui-blue-soft:var(--sig-blue-soft);--ui-green-soft:var(--sig-green-soft);
 --seasn-canvas:var(--sig-bg);--seasn-sidebar:var(--sig-solid);--seasn-surface-1:var(--sig-solid);--seasn-surface-2:var(--sig-hover);--seasn-surface-3:var(--sig-hover);
 --seasn-text:var(--sig-text);--seasn-text-2:var(--sig-text);--seasn-text-3:var(--sig-muted);--seasn-border:var(--sig-control-line);--seasn-border-soft:var(--sig-line);
 --seasn-accent:var(--sig-green);--seasn-accent-green:var(--sig-green);--seasn-accent-blue:var(--sig-blue);--seasn-accent-amber:var(--sig-orange);--seasn-accent-red:var(--sig-red);--seasn-danger:var(--sig-red);
 --seasn-green-soft:var(--sig-green-soft);--seasn-blue-soft:var(--sig-blue-soft);--seasn-amber-soft:var(--sig-orange-soft);
 --glass-panel:var(--sig-panel);--glass-inner:var(--sig-inset);--glass-canvas:var(--sig-canvas);--glass-shadow:var(--sig-shadow);
 --dash-canvas:var(--sig-bg);--dash-card:var(--sig-solid);--dash-hover:var(--sig-hover);--dash-line:var(--sig-line);--dash-text:var(--sig-text);--dash-muted:var(--sig-muted);
 --directory-canvas:var(--sig-bg);--directory-card:var(--sig-solid);--directory-hover:var(--sig-hover);--directory-line:var(--sig-line);--directory-text:var(--sig-text);--directory-muted:var(--sig-muted);
 --crm-surface:var(--sig-solid);--crm-soft:var(--sig-inset);--crm-line:var(--sig-line);--crm-text:var(--sig-text);--crm-muted:var(--sig-muted);
 --t-bg:var(--sig-solid);--t-soft:var(--sig-inset);--t-line:var(--sig-line);--t-text:var(--sig-text);--t-muted:var(--sig-muted);
 --sd-bg:var(--sig-bg);--sd-panel:var(--sig-solid);--sd-panel2:var(--sig-hover);--sd-hover:var(--sig-hover);--sd-line:var(--sig-line);--sd-line2:var(--sig-line);--sd-text:var(--sig-text);--sd-soft:var(--sig-text);--sd-muted:var(--sig-muted);--sd-green:var(--sig-green);
 --planning-accent:var(--sig-green);--planning-tint:var(--sig-green-soft);--planning-ink:var(--sig-text);
 --create-canvas:var(--sig-bg);--create-panel:var(--sig-solid);--create-field:var(--sig-inset);--create-line:var(--sig-control-line);--create-text:var(--sig-text);--create-muted:var(--sig-muted);
}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first {
 --dc-font-title:var(--sig-section);--dc-font-body:var(--sig-body);--dc-font-meta:var(--sig-meta);--dc-font-value:var(--sig-value);
}
html[data-theme] body,html[data-theme] body #app,html[data-theme] body #app * {font-family:var(--sig-font)!important}
html[data-theme] body {font-size:var(--sig-body);font-weight:400;background:var(--sig-canvas)!important;background-attachment:fixed!important;color:var(--sig-text)!important}
html[data-theme] body #app .shell,html[data-theme] body #app .shell[data-view]>.main {background:transparent!important;color:var(--sig-text)!important}
html[data-theme] body #app .shell>.main {max-width:none;font-size:var(--sig-body);line-height:1.5}
html[data-theme] body #app .shell>.main :is(.seasn-dashboard,.crm-directory-page,.seasn-actuals,.seasn-brands,.bk-workspace,.td) {background:transparent!important;font-size:var(--sig-body)}
html[data-theme] body #app .shell>.main :is(h1,.h1,.dash-heading h1,.commercial-top h1,.bk-header h1) {font-size:var(--sig-title)!important;font-weight:500!important;line-height:1.25!important;letter-spacing:-1px!important;color:var(--sig-text)!important}
html[data-theme] body #app .shell>.main :is(h2,h3,h4,.section-title,.crm-widget-heading h4,.bh-widget h2) {font-size:var(--sig-section)!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;color:var(--sig-text)!important}
html[data-theme] body #app .shell>.main :is(strong,b,.crm-contact-name,.crm-directory-identity strong) {font-weight:600!important}
html[data-theme] body #app .shell>.main :is(small,.muted,.crm-count,.bk-row-sub,.bh-preview-row,.commercial-foot) {font-size:var(--sig-meta);color:var(--sig-muted)}
/* Navigation is part of the same theme, including LALA. */
html[data-theme] body #app .shell>.side {background:var(--sig-panel)!important;color:var(--sig-text)!important;border-color:var(--sig-line)!important;backdrop-filter:blur(22px)}
html[data-theme] body #app .shell>.side :is(.logo,.profile,.nav button,.session-logout) {color:var(--sig-text)!important}
html[data-theme] body #app .shell>.side :is(.muted,.nav button:not(.active)) {color:var(--sig-muted)!important}
html[data-theme] body #app .shell>.side .nav button {font-size:12px!important;border-radius:8px}
html[data-theme] body #app .shell>.side .nav button.active {background:var(--sig-green-soft)!important;color:var(--sig-green)!important;box-shadow:inset 2px 0 var(--sig-green)!important}
html[data-theme] body #app .shell>.side .nav button:hover:not(.active) {background:var(--sig-inset)!important}
html[data-theme] body #app .theme-controls {background:var(--sig-inset)!important;border-color:var(--sig-line)!important}
html[data-theme] body #app .theme-controls button {color:var(--sig-muted)!important}
html[data-theme] body #app .theme-controls button[aria-pressed=true] {background:var(--sig-green-soft)!important;color:var(--sig-green)!important;box-shadow:none!important}
/* Primary surfaces: the approved glass, quiet border and 14px radius. */
html[data-theme] body #app .shell>.main :is(.card,.metric,.dash-panel,.dash-market,.dash-calendar,.dash-invite-widget,.dash-invitation-widget,.dash-action-widget,.crm-directory-card,.crm-company-flat,.crm-inline-contacts,.crm-detail-addresses,.crm-readable-widget,.crm-brand-figure,.crm-season-card,.bh-widget,.bh-empty,.bh-portfolio-card,.bk-dashboard,.bk-review-queue,.bk-brand-progress,.bk-customer-panel,.td-section,.td-daywidget,.signature-panel) {
 background:var(--sig-panel)!important;color:var(--sig-text)!important;border-color:var(--sig-line)!important;border-radius:var(--sig-radius)!important;box-shadow:var(--sig-shadow)!important;
}
/* Blur is limited to a few large panels, not every row of a 200-customer list. */
html[data-theme] body #app .shell>.main :is(.dash-panel,.crm-company-flat,.crm-inline-contacts,.crm-detail-addresses,.bh-widget,.bk-review-queue,.bk-brand-progress,.signature-panel) {-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}
html[data-theme] body #app .shell>.main :is(.crm-contact-card,.crm-address-widget,.crm-detail-invoice,.dc-profile-grid>section,.dc-profile-grid>div,.crm-brand-preview>div,.bh-widget .bh-widget,.td-task,.bk-mail-card,.dash-brand-card) {
 background:var(--sig-inset)!important;color:var(--sig-text)!important;border-color:var(--sig-line)!important;border-radius:var(--sig-inner-radius)!important;box-shadow:none!important;
}
/* Preserve table structure and the semantic forecast/actual column distinction. */
html[data-theme] body #app .shell>.main :is(.table,.commercial-table,.bk-table,.crm-table,.crm-directory-table) {color:var(--sig-text)!important;background:var(--sig-solid)!important;border-color:var(--sig-line)!important}
html[data-theme] body #app .shell>.main :is(.table,.commercial-table,.bk-table,.crm-table,.crm-directory-table) th {background:var(--sig-hover)!important;color:var(--sig-muted)!important;border-color:var(--sig-line)!important;font-size:var(--sig-meta)!important;font-weight:600!important}
html[data-theme] body #app .shell>.main :is(.table,.commercial-table,.bk-table,.crm-table,.crm-directory-table) td {color:var(--sig-text)!important;background:var(--sig-solid)!important;border-color:var(--sig-line)!important;font-size:var(--sig-body)!important}
html[data-theme] body #app .shell>.main .commercial-table :is(th.commercial-entry-heading.forecast,td.commercial-entry-cell) {background:var(--sig-blue-soft)!important}
html[data-theme] body #app .shell>.main .commercial-table :is(th.commercial-entry-heading.actual,td.commercial-entry-cell.actual) {background:var(--sig-green-soft)!important}
html[data-theme] body #app .shell>.main :is(.table,.commercial-table,.bk-table,.crm-table) tbody tr:hover td:not(.commercial-entry-cell) {background:var(--sig-hover)!important}
/* Inputs have a slightly clearer edge than cards, including Add customer. */
html[data-theme] body #app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea,.seasn-select-trigger) {font-family:var(--sig-font)!important;font-size:var(--sig-body)!important;color:var(--sig-text)!important;border-color:var(--sig-control-line)!important;border-radius:var(--sig-control-radius)!important;color-scheme:inherit}
html[data-theme] body #app .shell>.main :is(.field,.config-field,.crm-create-panel,.crm-widget-editor,.bh-form) :is(input,select,textarea) {background:var(--sig-inset)!important;color:var(--sig-text)!important}
html[data-theme] body #app :is(input,textarea)::placeholder {color:var(--sig-muted)!important;opacity:1}
html[data-theme] body #app :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--sig-blue)!important;outline-offset:3px}
html[data-theme] body #app :is(input,textarea)[aria-invalid=true],html[data-theme] body #app :is(input,textarea).save-error {border-color:var(--sig-red)!important;outline-color:var(--sig-red)!important}
html[data-theme] body #app .shell>.main :is(.btn,.button,.seasn-select-trigger) {font-size:var(--sig-body)!important;background:var(--sig-inset)!important;color:var(--sig-text)!important;border-color:var(--sig-control-line)!important;border-radius:var(--sig-control-radius)!important;box-shadow:none!important}
html[data-theme] body #app :is(.btn.dark,.btn-primary,.button.primary,.access-primary,.bk-primary,.td-primary,.crm-create-submit) {background:var(--sig-green)!important;color:var(--sig-bg)!important;border-color:transparent!important;border-radius:var(--sig-control-radius)!important;font-weight:600!important}
/* Semantic colors remain distinguishable by their existing labels and icons. */
html[data-theme] body #app :is(.bk-chip.is-booked,.crm-appointment-row.is-booked,.crm-appointment-tick.is-booked,.dc-booking-brands>.is-booked,.crm-last-season-value,.commercial-net-value,.dash-invitation-booked) {background:var(--sig-green-soft)!important;color:var(--sig-green)!important;border-color:color-mix(in srgb,var(--sig-green) 22%,transparent)!important}
html[data-theme] body #app :is(.bk-chip.is-open,.bk-chip.is-option,.dc-booking-brands>.is-pending,.crm-review) {background:var(--sig-orange-soft)!important;color:var(--sig-orange)!important;border-color:color-mix(in srgb,var(--sig-orange) 22%,transparent)!important}
html[data-theme] body #app .bk-chip.is-stopped {background:var(--sig-red-soft)!important;color:var(--sig-red)!important;border-color:var(--sig-red)!important}
html[data-theme] body #app .dash-invitation-widget {--invite-accent-bg:var(--sig-green-soft);--invite-accent-text:var(--sig-green)}
html[data-theme] body #app .shell>.main :is(.metric strong,.commercial-kpis strong,.bk-stats strong) {font-size:var(--sig-value)!important;font-weight:600!important;letter-spacing:-.7px}
/***** Floating content is opaque so underlying text never bleeds through. *****/
html[data-theme] body #app :is(dialog,.commercial-drawer,.commercial-archive-dialog,.forecast-complete-dialog,.crm-mail-dialog,.td-dialog,.bk-dialog,.brand-popover,.rep-picker-menu,.brand-picker-menu,.seasn-select-menu,.tier-filter-menu,.bk-info-pop,.access-card) {background:var(--sig-solid)!important;color:var(--sig-text)!important;border-color:var(--sig-control-line)!important;box-shadow:var(--sig-shadow)!important}
html[data-theme] body #app dialog::backdrop {background:#07111499;backdrop-filter:blur(7px)}
html[data-theme] body #app .access-page {background:var(--sig-canvas)!important;color:var(--sig-text)!important}
html[data-theme] body #app .access-card {border-radius:16px!important}
html[data-theme] body #app .access-card :is(h1,.access-logo,label) {color:var(--sig-text)!important}
html[data-theme] body #app .access-card :is(p,.access-help,.access-mini-guide,.access-link) {color:var(--sig-muted)!important}
html[data-theme] body #app .access-error {color:var(--sig-red)!important}
html[data-theme] body #app .main .crm-directory-page.crm-create-screen {--create-canvas:var(--sig-bg);--create-panel:var(--sig-solid);--create-field:var(--sig-inset);--create-line:var(--sig-control-line);--create-text:var(--sig-text);--create-muted:var(--sig-muted);background:var(--sig-canvas)!important}
@media(prefers-reduced-transparency:reduce) {
 html[data-theme] {--sig-panel:var(--sig-solid);--sig-canvas:var(--sig-bg)}
 html[data-theme] body #app .shell>.side,html[data-theme] body #app .shell>.main :is(.dash-panel,.crm-company-flat,.crm-inline-contacts,.crm-detail-addresses,.bh-widget,.bk-review-queue,.bk-brand-progress,.signature-panel) {backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* Personal greeting and truthful season sparklines; no synthetic trend data. */
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis>button.dash-panel {position:relative;min-height:96px;padding:16px!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis>button>span {grid-column:1;grid-row:1;font-size:var(--sig-meta)!important;font-weight:400!important;color:var(--sig-muted)}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis>button>strong {grid-column:1;grid-row:2;font-size:var(--sig-value)!important;color:var(--sig-text);white-space:nowrap}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis>button>small {grid-column:1/-1;grid-row:3;font-size:var(--sig-meta)!important;color:var(--sig-muted)}
.signature-spark {grid-column:2;grid-row:1 / span 2;width:72px;height:38px;color:var(--sig-green);opacity:.8;overflow:visible}
.signature-spark polyline {fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.signature-spark circle {fill:currentColor}
@media(max-width:600px) {html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dc-kpis {grid-template-columns:1fr}.signature-spark {width:62px}}
/* Match the specificity of legacy dashboard typography overrides. */
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first>.dash-heading h1 {font-size:var(--sig-title)!important;font-weight:500!important;letter-spacing:-1px!important}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first :is(.dash-panel h2,.dash-panel h3,.dash-calendar h3,.dash-invite-widget h3,.dash-invitation-widget h3,.dash-action-widget h3,.dc-booking-coverage h3,.dc-customer-title h2,.dc-customer-name) {font-size:var(--sig-section)!important;font-weight:600!important}
html[data-theme] body #app .shell>.main .seasn-dashboard.dash-customer-first :is(.dc-profile-grid h3,.dash-brand-card h3) {font-size:var(--sig-body)!important;font-weight:600!important}
/* Module headings share a single scale, overriding historical +1pt trials. */
html[data-theme] body #app .shell[data-view]>.main :is(.seasn-dashboard,.crm-directory-page,.crm-detail-page,.seasn-actuals,.seasn-brands,.bk-workspace,.td) :is(h1,.h1) {font-size:var(--sig-title)!important;font-weight:500!important;letter-spacing:-1px!important;line-height:1.25!important}
html[data-theme] body #app .shell[data-view]>.main :is(.crm-directory-page,.crm-detail-page,.seasn-actuals,.seasn-brands,.bk-workspace,.td) :is(h2,h3,h4,.section-title) {font-size:var(--sig-section)!important;font-weight:600!important;line-height:1.4!important}
html[data-theme] body #app .shell[data-view]>.main .crm-page.crm-detail-page :is(.crm-contact-name,.crm-widget-heading h4) {font-size:var(--sig-body)!important;font-weight:600!important}
html[data-theme] body #app .shell[data-view]>.main .crm-page.crm-detail-page :is(p,dd,dt,.crm-readable-value,.crm-contact-card) {font-size:var(--sig-body)!important;line-height:1.5!important}


/* Brussels Booking uses Signature surfaces and scale, without legacy dashboard adapters. */
html[data-theme] body #app .booking-belux{color:var(--sig-text)}
html[data-theme] body #app .booking-belux :is(button,input,select,p,label){font-size:var(--sig-body)}
html[data-theme] body #app .booking-belux :is(.belux-heading p,.belux-section-heading p,.belux-sync,.belux-showroom-details,.belux-list-heading,.belux-search-label,.belux-calendar-filters label){color:var(--sig-muted);font-size:var(--sig-meta)}
html[data-theme] body #app .booking-belux :is(.belux-summary,.belux-workspace){border:1px solid var(--sig-line);border-radius:var(--sig-radius)}
html[data-theme] body #app .booking-belux :is(.belux-summary button,.belux-tabs button,.belux-sync button){background:transparent;border:0;color:var(--sig-text)!important;font:inherit;cursor:pointer}
html[data-theme] body #app .booking-belux .belux-summary button+button{border-left:1px solid var(--sig-line)}
html[data-theme] body #app .booking-belux .belux-summary button{border-radius:var(--sig-inner-radius)}
html[data-theme] body #app .booking-belux .belux-summary button:hover{background:var(--sig-inset)}
html[data-theme] body #app .booking-belux .belux-summary strong{font-size:var(--sig-value);line-height:1.2;letter-spacing:-.7px}
html[data-theme] body #app .booking-belux .belux-summary .is-linked strong{color:var(--sig-green)!important}
html[data-theme] body #app .booking-belux .belux-summary .needs-matching strong{color:var(--sig-orange)!important}
html[data-theme] body #app .booking-belux .belux-tabs button{color:var(--sig-muted)!important;border-radius:var(--sig-control-radius)}
html[data-theme] body #app .booking-belux .belux-tabs button.active{color:var(--sig-green)!important;background:var(--sig-green-soft);font-weight:600}
html[data-theme] body #app .booking-belux .belux-tabs button:hover:not(.active){background:var(--sig-inset);color:var(--sig-text)!important}
.belux-tab-count{background:var(--sig-inset);padding:1px 5px;border-radius:5px;font-size:var(--sig-meta);font-variant-numeric:tabular-nums}
html[data-theme] body #app .booking-belux .dash-filters{background:var(--sig-inset);border-color:var(--sig-line);border-radius:var(--sig-inner-radius)}
html[data-theme] body #app .booking-belux .dash-filters button{font-size:var(--sig-body);border-radius:var(--sig-control-radius)}
html[data-theme] body #app .booking-belux .dash-filters button[aria-pressed=true]{background:var(--sig-green-soft)!important;color:var(--sig-green)!important}
html[data-theme] body #app .booking-belux :is(.belux-brand-tags>span,.belux-match-status){font-size:var(--sig-meta);border-radius:var(--sig-control-radius);background:var(--sig-inset);color:var(--sig-muted)}
html[data-theme] body #app .booking-belux .belux-match-status.is-linked{background:var(--sig-green-soft);color:var(--sig-green)}
html[data-theme] body #app .booking-belux .belux-match-status.is-matching{background:var(--sig-orange-soft);color:var(--sig-orange)}
html[data-theme] body #app .booking-belux .dash-review-actions button{font-size:var(--sig-meta);background:var(--sig-inset)!important;border-color:var(--sig-control-line);border-radius:var(--sig-control-radius);color:var(--sig-text)!important}
html[data-theme] body #app .booking-belux .dash-review-actions button:hover{background:var(--sig-green-soft)!important;color:var(--sig-green)!important}
html[data-theme] body #app .booking-belux .belux-sync button{font-size:var(--sig-meta);color:var(--sig-text)!important;text-decoration:underline;text-underline-offset:3px}
html[data-theme] body #app .booking-belux .belux-sync-state.is-error{color:var(--sig-orange)}
html[data-theme] body #app .booking-belux #belux-booking-message p{border-radius:var(--sig-control-radius);background:var(--sig-green-soft);color:var(--sig-green)}
html[data-theme] body #app .booking-belux #belux-booking-message p[role=alert]{background:var(--sig-red-soft);color:var(--sig-red)}
html[data-theme] body #app .booking-belux .belux-pane>.dash-panel{padding:0;border:0;background:transparent!important;box-shadow:none!important;backdrop-filter:none}
html[data-theme] body #app .booking-belux :is(.belux-section-heading,.belux-pane) h2{font-size:var(--sig-section)!important;font-weight:600!important}
html[data-theme] body #app .booking-belux :is(input,select){background:var(--sig-inset);border:1px solid var(--sig-control-line);min-height:34px}
html[data-theme] body #app .booking-belux .belux-appointment-list article:hover,html[data-theme] body #app .booking-belux .belux-matching-list>li:hover{background:var(--sig-inset)}

html[data-theme] body #app .booking-belux .belux-matching-list>li{font-size:var(--sig-body)}
html[data-theme] body #app .booking-belux :is(.belux-appointment-time,.belux-appointment-name) small{text-align:left;font-size:var(--sig-meta)}


.booking-notification-detail ul.dash-invitation-details{list-style:none;padding:0;margin:8px 0}
.booking-notification-detail .dash-invitation-details>li{display:flex;align-items:center;justify-content:space-between;gap:var(--sig-gap);flex-wrap:wrap}
.booking-notification-detail .dash-booking-item{display:grid;gap:3px}
.booking-notification-detail .dash-booking-item>strong{font-size:var(--sig-section)}
/* One update, with a separate quiet shortcut to the reply history. */
.booking-live-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px var(--sig-gap);min-width:0}
.booking-live-title-row>h1{margin:0!important}
.booking-live-title-row>p{flex-basis:100%;margin:0!important}
#booking-live-dock{
 display:inline-flex;align-items:center;gap:var(--sig-gap);min-width:0;max-width:100%;box-sizing:border-box;
 margin-inline-start:auto;color:var(--sig-text);font:500 var(--sig-body)/1.4 var(--sig-font);
}
#booking-live-dock :is(button,a,summary),#dw-invitations-dialog .live-settings :is(button,summary){cursor:pointer;font:inherit;color:inherit}
#booking-live-dock .live-update{
 --live-accent:var(--sig-blue);display:grid;grid-template-columns:7px minmax(0,1fr);align-items:start;gap:10px;
 max-width:32ch;min-width:0;min-height:40px;box-sizing:border-box;margin:0;padding:6px 9px;
 color:var(--sig-text)!important;text-align:start;text-decoration:none;border:0!important;
 border-radius:var(--sig-inner-radius);background:transparent!important;box-shadow:none!important;
}
#booking-live-dock .live-update[data-kind=reply]{--live-accent:var(--sig-green)}
#booking-live-dock .live-update[data-kind=review]{--live-accent:var(--sig-orange)}
#booking-live-dock .live-dot{width:6px;height:6px;border-radius:50%;background:var(--live-accent);margin-top:6px}
#booking-live-dock .live-copy{display:grid;gap:1px;min-width:0;white-space:normal;overflow-wrap:anywhere}
#booking-live-dock .live-copy strong{color:var(--sig-text);font-size:var(--sig-section);line-height:1.3;letter-spacing:-.015em}
#booking-live-dock .live-meta{font-size:var(--sig-meta);font-weight:400;line-height:1.4;color:var(--sig-muted);font-variant-numeric:tabular-nums;text-wrap:pretty}
#booking-live-dock [data-kind=reply] .live-copy{display:flex;align-items:baseline;gap:4px 9px;flex-wrap:wrap}
#booking-live-dock [data-kind=reply]{align-content:center}
#booking-live-dock .live-replies{
 display:inline-flex;flex:none;align-items:center;justify-content:center;gap:7px;min-height:34px;margin:0;padding:6px 11px;
 border:1px solid var(--sig-line)!important;border-radius:var(--sig-inner-radius);background:var(--sig-panel)!important;
 box-shadow:none!important;font-size:var(--sig-body);color:var(--sig-text)!important;white-space:nowrap;
}
#booking-live-dock .live-count{font-size:var(--sig-body);color:var(--sig-green);font-variant-numeric:tabular-nums}
#booking-live-dock .live-quiet{font-size:var(--sig-meta);color:var(--sig-muted)}
.live-settings{position:relative;margin:0;padding:0;border:0}
.live-settings summary{list-style:none;cursor:pointer;color:var(--sig-muted);border-radius:var(--sig-control-radius)}
.live-settings summary::-webkit-details-marker{display:none}
#booking-live-dock .live-settings summary{display:grid;place-content:center;width:30px;min-height:34px}
#dw-invitations-dialog .live-settings{border-top:1px solid var(--sig-line);margin-top:12px;padding-top:8px;font-size:var(--sig-meta)}
#dw-invitations-dialog .live-settings summary{display:inline-block;padding:5px 0}
.live-options{display:flex;flex-wrap:wrap;gap:4px}
#booking-live-dock .live-options{position:absolute;right:0;top:100%;z-index:100;display:grid;width:max-content;max-width:70vw;padding:4px;border:1px solid var(--sig-control-line);border-radius:var(--sig-inner-radius);background:var(--sig-solid);box-shadow:var(--sig-shadow)}
.live-settings .live-options button{padding:7px;text-align:left;border:0;background:transparent;border-radius:var(--sig-control-radius)}
#booking-live-dock :is(.live-update,.live-replies,.live-settings summary):hover,.live-settings .live-options button:hover{background:var(--sig-hover)!important}
#booking-live-dock :is(button,a,summary):focus-visible,#dw-invitations-dialog .live-settings :is(button,summary):focus-visible{outline:2px solid var(--sig-green);outline-offset:2px}
@media(max-width:650px){
 #booking-live-dock{gap:6px}
 #booking-live-dock:has(.live-update){flex-basis:100%;margin-inline-start:0;justify-content:space-between}
 #booking-live-dock .live-update{padding-inline-start:0;max-width:none}
}
.booking-attention{border:1px solid var(--sig-control-line);border-radius:var(--sig-radius);background:var(--sig-solid);color:var(--sig-text);overflow:hidden;margin:0 0 16px}
.booking-attention>header,.booking-attention article{display:flex;align-items:center;justify-content:space-between;gap:var(--sig-gap);padding:10px 14px}
.booking-attention>header{background:var(--sig-orange-soft);color:var(--sig-orange)}
.booking-attention h3,.booking-attention p{margin:0}
.booking-attention article+article{border-top:1px solid var(--sig-line)}
.booking-attention button{flex:none;font:inherit;cursor:pointer;border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius);background:var(--sig-solid);color:var(--sig-text);padding:6px 9px}
@media(max-width:650px){
 .booking-attention article{align-items:flex-start;flex-wrap:wrap}
}

html[data-theme] body #app .booking-belux .dash-review-actions a{color:var(--sig-text)!important;background:var(--sig-inset)!important;border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius);padding:7px 9px;font:inherit;white-space:normal}
html[data-theme] body #app .booking-belux .dash-review-actions a:focus-visible{outline:2px solid var(--sig-green);outline-offset:3px}

html[data-theme] body #app .crm-appointment-row.is-tentative{background:var(--sig-orange-soft)!important;color:var(--sig-orange)!important}
html[data-theme] body #app .crm-appointment-row.is-tentative :is(strong,small,.crm-appointment-tick){color:var(--sig-orange)!important}

html[data-theme] body #app .belux-match-status.is-closed{background:var(--sig-orange-soft)!important;color:var(--sig-orange)!important}
html[data-theme] #booking-showroom-closure label{display:grid;gap:5px;margin:10px 0}
html[data-theme] #booking-showroom-closure p{color:var(--sig-text);line-height:1.5}
html[data-theme] #booking-showroom-closure{width:min(520px,calc(100vw - 32px))!important;padding:0!important}
html[data-theme] #booking-showroom-closure form{padding:16px}
html[data-theme] #booking-showroom-closure h2{font-size:14px!important;font-weight:600!important;line-height:1.5}
html[data-theme] #booking-showroom-closure input{width:100%;min-height:36px;box-sizing:border-box;padding:8px;border:1px solid var(--sig-control-line);border-radius:8px;background:var(--sig-inset);color:var(--sig-text)}
html[data-theme] #booking-showroom-closure footer{flex-wrap:wrap;padding:12px 0 0}

/* Always-visible regional showroom controls, above the Booking overview. */
html[data-theme] body #app .booking-showroom-widget{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:center;padding:16px;margin:0 0 12px;border:1px solid var(--sig-control-line);border-left:4px solid var(--sig-blue);border-radius:var(--sig-radius);background:var(--sig-blue-soft);color:var(--sig-text)}
html[data-theme] body #app .booking-showroom-heading{display:flex;gap:10px;align-items:center}
html[data-theme] body #app .booking-showroom-heading h2{margin:0;font-size:var(--sig-section)!important;font-weight:600}
html[data-theme] body #app .booking-showroom-heading span{padding:3px 8px;border-radius:var(--sig-control-radius);background:var(--sig-solid);color:var(--sig-blue);font-size:var(--sig-meta);font-weight:600}
html[data-theme] body #app .booking-showroom-widget p{margin:6px 0 0;font-size:var(--sig-meta);line-height:1.5;color:var(--sig-muted)}
html[data-theme] body #app .booking-showroom-widget .booking-showroom-hours{color:var(--sig-text)}
html[data-theme] body #app .booking-showroom-actions{display:flex;gap:8px;flex-wrap:wrap}
html[data-theme] body #app #booking-showroom-closure-add{background:var(--sig-orange-soft)!important;color:var(--sig-orange)!important;border:1px solid var(--sig-orange)!important;font-weight:600!important}
html[data-theme] body #app .booking-showroom-rules{grid-column:1/-1;font-size:var(--sig-meta)}
html[data-theme] body #app .booking-showroom-rules summary{cursor:pointer;color:var(--sig-text);width:fit-content}
@media(max-width:760px){html[data-theme] body #app .booking-showroom-widget{grid-template-columns:minmax(0,1fr);padding:12px}html[data-theme] body #app .booking-showroom-actions{width:100%}html[data-theme] body #app .booking-showroom-actions button{flex:1}}

html[data-theme] body #app .booking-notification-detail{display:grid;justify-items:start;gap:8px;padding:16px;border:1px solid var(--sig-control-line);border-left:4px solid var(--sig-blue);border-radius:var(--sig-radius);background:var(--sig-solid);color:var(--sig-text)}
html[data-theme] body #app .booking-notification-detail :is(h2,p,ul){margin:0;overflow-wrap:anywhere}
html[data-theme] body #app .booking-notification-detail small{font-size:var(--sig-meta);color:var(--sig-muted)}
html[data-theme] body #app .booking-notification-detail:focus-visible{outline:2px solid var(--sig-blue);outline-offset:2px}

/* Shared opaque tooltip surfaces: keep text and background in the same theme. */
html[data-theme] {
 --ui-surface:var(--sig-solid);
 --ui-border:var(--sig-control-line);
}
html[data-theme] body [role="tooltip"] {
 background:var(--sig-solid)!important;
 color:var(--sig-text)!important;
 border:1px solid var(--sig-control-line)!important;
 box-shadow:var(--sig-shadow)!important;
 opacity:1;
}
html[data-theme] body [role="tooltip"] * {color:inherit!important}
/* Single-customer invitations use the shared Signature surface and type scale. */
html[data-theme] #bk-dialog.bk-invitation-sheet{width:min(560px,calc(100vw - 24px));height:fit-content;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--sig-control-line);border-radius:var(--sig-radius);background:var(--sig-solid);color:var(--sig-text);box-shadow:var(--sig-shadow);font-family:var(--sig-font);font-size:var(--sig-body)}
html[data-theme] #bk-dialog.bk-invitation-sheet>header{padding:16px;background:var(--sig-solid);border-color:var(--sig-line)}
html[data-theme] #bk-dialog.bk-invitation-sheet h2{font-size:var(--sig-section)!important;font-weight:600!important;letter-spacing:0;margin:4px 0 0}
html[data-theme] #bk-dialog.bk-invitation-sheet .bk-drawer-body{padding:16px}
html[data-theme] #bk-dialog.bk-invitation-sheet :is(label,p,summary,b){font-size:var(--sig-body)!important}
html[data-theme] #bk-dialog.bk-invitation-sheet :is(small,.eyebrow,.bk-helper){font-size:var(--sig-meta)!important;color:var(--sig-muted)}
html[data-theme] #bk-dialog.bk-invitation-sheet :is(input:not([type=checkbox]),select,textarea){color:var(--sig-text);background:var(--sig-inset);border-color:var(--sig-control-line);border-radius:var(--sig-control-radius);color-scheme:inherit}
html[data-theme] #bk-dialog.bk-invitation-sheet .bk-primary{background:var(--sig-text);color:var(--sig-solid);border-radius:var(--sig-control-radius);margin:0;padding:10px 16px}
html[data-theme] #bk-dialog.bk-invitation-sheet .bk-text-btn{color:var(--sig-text)}
html[data-theme] #bk-dialog.bk-invitation-sheet .bk-error{color:var(--sig-red);padding:0 16px 16px;overflow-wrap:anywhere}
html[data-theme] #bk-dialog.bk-invitation-sheet .bk-error:empty{display:none}
.bk-invitation-sheet .bk-sender-line{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:0 0 14px;margin-bottom:14px;border-bottom:1px solid var(--sig-line)}
.bk-invitation-sheet .bk-sender-line>span{color:var(--sig-muted)}
.bk-invitation-sheet .bk-sender-line :is(strong,small){display:block;overflow-wrap:anywhere}
.bk-invitation-sheet .bk-sender-line small{margin-top:4px}
.bk-invitation-sheet .bk-sender-line a{color:var(--sig-blue)}
.bk-invitation-sheet .bk-section-label{margin:12px 0 8px}
.bk-invitation-sheet .bk-selection{margin-bottom:12px}
.bk-invitation-sheet .bk-step-title{margin-bottom:10px}
.bk-invitation-sheet .bk-step-title>span,.bk-invitation-sheet .bk-selection>.bk-section-label{display:none}
.bk-invitation-sheet #bk-draft-form{padding-top:8px;border-top:0}
.bk-invitation-sheet .bk-brand-grid{gap:8px}
.bk-invitation-sheet .bk-brand-card{border-radius:var(--sig-inner-radius)}
.bk-invitation-sheet .bk-brand-card.is-selected{background:var(--sig-green-soft);border-color:var(--sig-green)}
.bk-invitation-sheet .bk-brand-card label{box-sizing:border-box;min-height:44px;padding:10px;margin:0}
.bk-invitation-sheet .bk-brand-card small{margin-top:2px}
.bk-invitation-sheet .bk-invitation-more{margin:12px 0 0;border:0;border-top:1px solid var(--sig-line);padding:10px 0 0}
.bk-invitation-sheet .bk-invitation-more>summary{cursor:pointer;color:var(--sig-muted)}
.bk-invitation-sheet .bk-invitation-more[open]>summary{margin-bottom:12px}
.bk-invitation-sheet .bk-duration-options{margin:12px 0 0;border:1px solid var(--sig-line);border-radius:var(--sig-control-radius);padding:10px}
.bk-invitation-sheet .bk-duration-options summary span{color:var(--sig-muted)}
.bk-invitation-sheet .bk-duration-list{margin-top:8px}
.bk-invitation-sheet .bk-invitation-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--sig-line)}
.bk-invitation-sheet .bk-invitation-actions>.bk-primary{flex:1;max-width:260px}
.bk-invitation-sheet .bk-send-summary{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:0}
.bk-invitation-sheet .bk-send-summary dt{color:var(--sig-muted)}
.bk-invitation-sheet .bk-send-summary dd{margin:0;overflow-wrap:anywhere}
.bk-invitation-sheet .bk-send-summary small{display:block;margin-top:3px}
.bk-invitation-sheet .bk-send-note{padding:12px;border-radius:var(--sig-inner-radius);background:var(--sig-green-soft);color:var(--sig-green);line-height:1.6}
.bk-invitation-sheet .bk-suggestion-list{max-height:180px;overflow-y:auto}
.bk-invitation-sheet .bk-suggestion-list>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--sig-line)}
.bk-invitation-sheet .bk-send-success{text-align:center;padding:8px 0 20px;overflow-wrap:anywhere}
.bk-invitation-sheet .bk-send-success>span{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 12px;border-radius:50%;background:var(--sig-green-soft);color:var(--sig-green);font-size:var(--sig-value)}
@media(max-width:480px){.bk-invitation-sheet .bk-form-pair{grid-template-columns:1fr}.bk-invitation-sheet .bk-send-summary{grid-template-columns:64px minmax(0,1fr)}.bk-invitation-sheet .bk-invitation-actions{gap:8px}}

/* Supplier account reference beneath the Numbers customer name. */
html[data-theme] .commercial-table .commercial-sold-to{display:block;margin-top:3px;font-family:inherit;font-size:var(--sig-meta);font-weight:400;line-height:1.5;color:var(--sig-muted)!important;white-space:normal;overflow-wrap:anywhere;}


/* Invitation activity stays visible beside its next action, using Signature tokens. */
.bk-invitation-sheet .bk-customer-invitations{display:grid;gap:12px;margin-bottom:16px}
.bk-invitation-sheet .bk-customer-invitations .bk-heading-line{margin:0}
.bk-invitation-sheet .bk-invite-record{padding:12px;border:1px solid var(--sig-control-line);border-radius:var(--sig-inner-radius);background:var(--sig-inset);overflow-wrap:anywhere}
.bk-invitation-sheet .bk-invite-record header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border:0;background:transparent}
.bk-invitation-sheet .bk-invite-record p{margin:8px 0;color:var(--sig-muted)}
.bk-invitation-sheet .bk-invite-record dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:6px 12px;margin:12px 0}
.bk-invitation-sheet .bk-invite-record dt{color:var(--sig-muted)}
.bk-invitation-sheet .bk-invite-record dd{margin:0;color:var(--sig-text);font-weight:500}
.bk-invitation-sheet .bk-invite-record details{border-top:1px solid var(--sig-line);padding-top:8px;margin-top:12px}
.bk-invitation-sheet .bk-invite-record summary{cursor:pointer;color:var(--sig-muted)}
.bk-sales-window{display:grid;gap:4px;padding:10px 12px;margin:12px 0;border-radius:var(--sig-control-radius);background:var(--sig-green-soft);color:var(--sig-text)}
.bk-sales-window span{font-size:var(--sig-meta);color:var(--sig-muted)}
.bk-invitation-sheet .bk-invite-warning{padding:10px 12px;border-left:3px solid var(--sig-orange);background:var(--sig-orange-soft);color:var(--sig-text)}
@media(max-width:400px){.bk-invitation-sheet .bk-invite-record dl{grid-template-columns:90px minmax(0,1fr);gap:6px}.bk-invitation-sheet .bk-invite-record header{flex-wrap:wrap}}

/* Shared floating surfaces, including dialogs mounted directly on body.
   Keep module data/actions intact; only normalize presentation and sizing. */
html[data-theme] body :is(dialog,[role=dialog]) {
 box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);
 background:var(--sig-solid)!important;color:var(--sig-text)!important;
 border:1px solid var(--sig-control-line);border-radius:var(--sig-radius)!important;
 box-shadow:var(--sig-shadow)!important;overflow:auto;overscroll-behavior:contain;
 font:400 var(--sig-body)/1.5 var(--sig-font);overflow-wrap:anywhere;
}
html[data-theme] body :is(dialog,[role=dialog]) *,
html[data-theme] body :is(.brand-popover,.rep-picker-menu,.brand-picker-menu,.seasn-select-menu,.tier-filter-menu,.bk-info-pop) * {box-sizing:border-box}
html[data-theme] body dialog::backdrop {background:#07111499;backdrop-filter:blur(7px)}
html[data-theme] body :is(dialog,[role=dialog]) :is(h2,h3,h4),
html[data-theme] body #app [role=dialog] :is(h2,h3,h4) {
 color:var(--sig-text)!important;font-family:var(--sig-font)!important;font-size:var(--sig-section)!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;
}
html[data-theme] body :is(dialog,[role=dialog]) :is(p,label,summary,button,input,select,textarea) {font-family:var(--sig-font)!important;font-size:var(--sig-body);line-height:1.5}
html[data-theme] body :is(dialog,[role=dialog]) p {margin-block:8px 12px}
html[data-theme] body :is(dialog,[role=dialog]) :is(small,.muted,.hint) {font-size:var(--sig-meta);color:var(--sig-muted)}
html[data-theme] body :is(dialog,[role=dialog]) :is(header,.commercial-drawer-head,.td-dialogtop,.nb-dialog-head) {
 gap:var(--sig-gap);align-items:center;min-width:0;
}
html[data-theme] body :is(dialog,[role=dialog]) :is(header,.commercial-drawer-head,.td-dialogtop) h2 {margin:0;min-width:0}
html[data-theme] body :is(dialog,[role=dialog]) :is(header,.commercial-drawer-head,.td-dialogtop,.nb-dialog-head)>button {flex-shrink:0}
html[data-theme] body :is(dialog,[role=dialog]) :is(footer,.commercial-drawer-actions,.td-actions,.nb-dialog-actions,.crm-mail-footer) {
 gap:var(--sig-gap);flex-wrap:wrap;align-items:center;
}
html[data-theme] body :is(dialog,[role=dialog]) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=color]),select,textarea) {
 box-sizing:border-box;min-width:0;max-width:100%;font:inherit;color:var(--sig-text)!important;
 background:var(--sig-inset)!important;border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius)!important;
 color-scheme:inherit;
}
html[data-theme] body :is(dialog,[role=dialog]) textarea {resize:vertical}
html[data-theme] body :is(dialog,[role=dialog]) :is(input,textarea)::placeholder {color:var(--sig-muted);opacity:1}
html[data-theme] body :is(dialog,[role=dialog]) :is(button,.btn) {border-radius:var(--sig-control-radius);font:inherit;max-width:100%;white-space:normal}
html[data-theme] body :is(dialog,[role=dialog]) :is(.btn,.td-btn,.sc-toggle,.nr-close) {color:var(--sig-text);border-color:var(--sig-control-line)}
html[data-theme] body :is(dialog,[role=dialog]) :is(.btn.dark,.btn-primary,.bk-primary,.td-primary,.cn-save) {color:var(--sig-bg)!important;background:var(--sig-green)!important;border-color:transparent!important}
html[data-theme] body :is(dialog,[role=dialog]) :is(button,input,select,textarea,summary,a):focus-visible {outline:2px solid var(--sig-blue)!important;outline-offset:3px}
html[data-theme] body :is(dialog,[role=dialog]) :is(input,select,textarea)[aria-invalid=true] {border-color:var(--sig-red)!important}
html[data-theme] body :is(dialog,[role=dialog]) button:disabled {cursor:default}
html[data-theme] body :is(.commercial-drawer-backdrop,.crm-mail-backdrop,.td-modal) {background:#07111499;backdrop-filter:blur(7px)}
html[data-theme] body .commercial-drawer {max-height:100dvh;height:100dvh}
html[data-theme] body :is(.nb-dialog,.sc-dialog,.bk-resend-dialog,.crm-mail-dialog,.td-dialog,.crm-excel-dialog,.actuals-excel-dialog) {padding:20px}
html[data-theme] body :is(.nb-dialog,.sc-dialog,.bk-resend-dialog) :is(input,select) {width:100%}
html[data-theme] body .sc-dialog .sc-check input {width:auto}
html[data-theme] body .bk-resend-dialog button {background:var(--sig-inset);color:var(--sig-text);border:1px solid var(--sig-control-line);padding:8px 12px}
html[data-theme] body .bk-resend-dialog button[type=submit] {background:var(--sig-text);color:var(--sig-solid)}
html[data-theme] body :is(.crm-excel-dialog,.actuals-excel-dialog) footer {background:var(--sig-solid)}
html[data-theme] body :is(.brand-popover,.rep-picker-menu,.brand-picker-menu,.seasn-select-menu,.tier-filter-menu,.bk-info-pop) {
 box-sizing:border-box;max-width:calc(100vw - 24px);max-height:min(420px,calc(100dvh - 32px));overflow:auto;
 background:var(--sig-solid)!important;color:var(--sig-text)!important;border-color:var(--sig-control-line)!important;
 border-radius:var(--sig-inner-radius);box-shadow:var(--sig-shadow)!important;font-family:var(--sig-font);
}
html[data-theme] body :is(.brand-popover,.rep-picker-menu,.brand-picker-menu,.seasn-select-menu,.tier-filter-menu,.bk-info-pop) :is(button,label) {color:var(--sig-text)!important;white-space:normal;overflow-wrap:anywhere}
html[data-theme] body :is(.brand-popover,.seasn-select-menu) :is(button.selected,[aria-selected=true]) {background:var(--sig-green-soft)!important;color:var(--sig-green)!important}
html[data-theme] body dialog.dw-picker {width:min(720px,calc(100vw - 24px));padding:20px}
html[data-theme] body dialog.dw-picker>header {display:flex;justify-content:space-between;margin-bottom:var(--sig-gap)}
html[data-theme] body dialog.dw-picker button {font:inherit;cursor:pointer}
html[data-theme] body dialog.dw-picker>header button {padding:8px 12px;background:var(--sig-inset);color:var(--sig-text);border:1px solid var(--sig-control-line)}
html[data-theme] body :is(dialog,[role=dialog]) .sig-dialog-details {border-top:1px solid var(--sig-line);padding-top:12px;margin-top:12px}
html[data-theme] body :is(dialog,[role=dialog]) .sig-dialog-details>summary {cursor:pointer;font-weight:600;color:var(--sig-text);padding-block:4px}
@media(max-width:600px) {
 html[data-theme] body :is(.nb-dialog,.sc-dialog,.bk-resend-dialog,.crm-mail-dialog,.td-dialog,.crm-excel-dialog,.actuals-excel-dialog,dialog.dw-picker) {padding:16px}
 html[data-theme] body :is(dialog,[role=dialog]) :is(.commercial-form-grid,.sc-inputs) {grid-template-columns:minmax(0,1fr)}
 html[data-theme] body :is(dialog,[role=dialog]) :is(footer,.commercial-drawer-actions,.nb-dialog-actions,.crm-mail-footer)>button {flex-shrink:0}
}

/* Shared notification stack: brand conversations and regional booking success. */
#seasn-notification-stack{position:fixed;top:max(18px,env(safe-area-inset-top));right:18px;z-index:85;width:min(382px,calc(100vw - 32px));display:grid;gap:12px;pointer-events:none;max-height:calc(100dvh - 36px);overflow:visible}
#seasn-notification-stack>*{pointer-events:auto}
#seasn-notification-stack #bn-alerts:not([hidden]){position:relative;top:auto;right:auto;width:100%;margin:0}
html[data-theme]{--sig-success-vivid:#35e58a;--sig-success-ink:#123a27}
#booking-success-notice{position:relative;box-sizing:border-box;padding:14px 36px 14px 14px;border:1px solid var(--sig-success-vivid);border-radius:var(--sig-radius);background:linear-gradient(110deg,color-mix(in srgb,var(--sig-success-vivid) 27%,var(--sig-solid)),var(--sig-green-soft) 85%);box-shadow:0 8px 28px #0003;color:var(--sig-text);font:400 var(--sig-body)/1.5 var(--sig-font)}
#booking-success-notice button{font:inherit;color:inherit;cursor:pointer;border:0}
#booking-success-notice .booking-success-open{display:flex;gap:12px;align-items:flex-start;width:100%;min-width:0;text-align:left;padding:0;background:transparent}
#booking-success-notice .booking-success-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:var(--sig-inner-radius);background:var(--sig-success-vivid);color:var(--sig-success-ink);font-size:23px;font-weight:600;box-shadow:0 0 14px color-mix(in srgb,var(--sig-success-vivid) 25%,transparent)}
#booking-success-notice .booking-success-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
#booking-success-notice strong{font-size:var(--sig-section);font-weight:600}
#booking-success-notice small{font-size:var(--sig-meta);color:var(--sig-text)}
#booking-success-notice .booking-success-action{margin-top:4px;text-decoration:underline;text-underline-offset:3px}
#booking-success-notice .booking-success-hide{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:28px;height:28px;padding:0;background:var(--sig-success-vivid);color:var(--sig-success-ink);border-radius:50%;font-size:19px}
#booking-success-notice button:focus-visible{outline:2px solid var(--sig-text);outline-offset:3px;border-radius:var(--sig-control-radius)}
@media(max-width:600px){#seasn-notification-stack{right:16px;top:max(12px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:no-preference){#booking-success-notice{animation:booking-success-arrive .25s ease-out}@keyframes booking-success-arrive{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}}

/* Customer appointment sheet: dialog lives outside #app. */
html[data-theme] body #booking-customer-appointments {
 box-sizing:border-box;width:min(600px,calc(100vw - 32px));max-width:calc(100vw - 32px);
 max-height:calc(100dvh - 32px);padding:0;margin:auto;overflow:auto;
 background:var(--sig-solid);color:var(--sig-text);border-radius:var(--sig-radius);
}
html[data-theme] body #booking-customer-appointments .customer-appointment-head {
 display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sig-gap);
 padding:24px 24px 20px;margin:0;border-bottom:1px solid var(--sig-line);
}
html[data-theme] body #booking-customer-appointments .customer-appointment-head h2 {
 margin:6px 0 0;font-size:var(--sig-value)!important;font-weight:500!important;
}
#booking-customer-appointments small {font-size:var(--sig-meta);color:var(--sig-muted)}
#booking-customer-appointments .customer-appointment-body {display:grid;gap:24px;padding:20px 24px}
#booking-customer-appointments section {min-width:0}
html[data-theme] body #booking-customer-appointments h3 {
 display:flex;align-items:baseline;justify-content:space-between;gap:var(--sig-gap);margin:0 0 12px;
}
#booking-customer-appointments h3 small {font-weight:400;white-space:nowrap}
#booking-customer-appointments .customer-appointment-list {display:grid;gap:var(--sig-gap)}
#booking-customer-appointments .booking-customer-visit {
 margin:0;padding:16px;border:1px solid var(--sig-control-line);border-radius:var(--sig-inner-radius);
 background:var(--sig-inset);
}
#booking-customer-appointments .customer-visit-time {display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;font-size:var(--sig-section);font-variant-numeric:tabular-nums}
#booking-customer-appointments .booking-customer-visit p {margin:8px 0 0;line-height:1.6}
#booking-customer-appointments .customer-visit-location {color:var(--sig-muted)}
#booking-customer-appointments .booking-customer-visit small {display:block;margin-top:8px}
#booking-customer-appointments .customer-appointment-empty {margin:0;padding:16px;background:var(--sig-inset);border-radius:var(--sig-inner-radius);color:var(--sig-muted)}
#booking-customer-appointments .booking-customer-brands {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;padding:0;list-style:none}
#booking-customer-appointments .booking-customer-brands li {display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 0;border-bottom:1px solid var(--sig-line)}
#booking-customer-appointments .customer-brand-name {min-width:0;overflow-wrap:anywhere;font-weight:500}
#booking-customer-appointments .customer-brand-status {flex:none;padding:4px 7px;border-radius:var(--sig-control-radius);font-size:var(--sig-meta);line-height:1.4}
#booking-customer-appointments .customer-brand-status.is-booked {color:var(--sig-green);background:var(--sig-green-soft)}
#booking-customer-appointments .customer-brand-status.is-pending {color:var(--sig-text);background:var(--sig-orange-soft)}
#booking-customer-appointments .customer-brand-status.is-tentative {color:var(--sig-blue);background:var(--sig-blue-soft)}
html[data-theme] body #booking-customer-appointments footer {
 display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--sig-gap);
 margin:0;padding:16px 24px;border-top:1px solid var(--sig-line);background:var(--sig-solid);
}
html[data-theme] body #booking-customer-appointments button {min-height:36px;padding:8px 12px;font:inherit;border:1px solid var(--sig-control-line);border-radius:var(--sig-control-radius);color:var(--sig-text);background:transparent;cursor:pointer}
html[data-theme] body #booking-customer-appointments .customer-appointment-head>button {width:36px;padding:0;line-height:1}
html[data-theme] body #booking-customer-appointments .customer-appointment-primary {margin-right:auto;background:var(--sig-green)!important;color:var(--sig-bg)!important;border-color:transparent;font-weight:600}
#booking-customer-appointments button:hover {filter:brightness(.96)}
#booking-customer-appointments button:focus-visible {outline:2px solid var(--sig-green);outline-offset:3px}
@media(max-width:520px) {
 html[data-theme] body #booking-customer-appointments .customer-appointment-head {padding:20px 16px 16px}
 #booking-customer-appointments .customer-appointment-body {padding:16px;gap:20px}
 #booking-customer-appointments .booking-customer-brands {grid-template-columns:minmax(0,1fr)}
 html[data-theme] body #booking-customer-appointments footer {padding:16px}
}

/* Numbers KPI cards: fit the available content width, including browser zoom. */
html[data-theme] body #app .shell>.main .commercial-kpis {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));
}
html[data-theme] body #app .shell>.main .commercial-kpis .metric {
  min-width:0;
}
/* Gross and Net are separate compact cards in one column. */
html[data-theme] body #app .shell>.main .commercial-kpis .metric:nth-child(2) {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  align-content:start;
}
html[data-theme] body #app .shell>.main .commercial-kpis .metric:nth-child(2)>div {
  min-width:0;
  max-width:100%;
  padding:10px 13px;
  border:1px solid var(--sig-line);
  border-radius:var(--sig-radius);
  background:var(--sig-panel);
  color:var(--sig-text);
  gap:3px!important;
}
html[data-theme] body #app .shell>.main .commercial-kpis .metric strong {
  display:block;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.25;
}

/* Shared customer main buyer / default booking contact. */
html[data-theme] .crm-main-buyer{width:36px!important;height:36px!important;min-width:36px;min-height:36px;padding:6px!important;gap:0;border:1px solid var(--sig-control-line)!important;border-radius:8px!important;font:500 var(--sig-meta) var(--sig-font);white-space:nowrap;color:var(--sig-muted)!important;background:var(--sig-panel)!important;}
html[data-theme] .crm-main-buyer.is-selected{color:var(--sig-green)!important;background:var(--sig-green-soft)!important;border-color:var(--sig-green)!important;opacity:1;}
html[data-theme] .crm-contact-lines>p{overflow-wrap:anywhere;}

html[data-theme] .crm-main-buyer svg{display:block;width:22px;height:22px;flex-shrink:0;}
html[data-theme] .crm-main-buyer:focus-visible{outline:2px solid var(--sig-green);outline-offset:3px;}

/* Actuals: consistent status labels for editable and read-only accounts. */
html[data-theme] body .commercial-account-row .commercial-account-status {
 --status-ink:var(--sig-muted);--status-fill:var(--sig-inset);
 display:inline-flex;align-items:center;box-sizing:border-box;
 min-width:112px;min-height:30px;width:auto!important;
 padding:5px 12px!important;border-radius:999px!important;
 border:1px solid var(--status-ink)!important;
 background-color:var(--status-fill)!important;color:var(--status-ink)!important;
 font-family:inherit;font-size:11px!important;font-weight:600!important;line-height:1.4;
 white-space:nowrap;vertical-align:middle;
}
html[data-theme] body .commercial-account-row select.commercial-account-status {cursor:pointer;padding-right:26px!important;}
html[data-theme] body .commercial-account-row .commercial-account-status[data-status="Writing"] {--status-ink:var(--sig-blue);--status-fill:var(--sig-blue-soft);}
html[data-theme] body .commercial-account-row .commercial-account-status[data-status="Completed"] {--status-ink:var(--sig-green);--status-fill:var(--sig-green-soft);}
html[data-theme] body .commercial-account-row .commercial-account-status[data-status="No order"] {--status-ink:var(--sig-red);--status-fill:var(--sig-red-soft);}
html[data-theme] body .commercial-account-row .commercial-account-status[data-status="Mixed"] {--status-ink:var(--sig-orange);--status-fill:var(--sig-orange-soft);}
html[data-theme] body .commercial-account-row select.commercial-account-status:focus-visible {outline:2px solid var(--status-ink)!important;outline-offset:3px;}
html[data-theme] body .commercial-account-row select.commercial-account-status option {color:var(--sig-text);background:var(--sig-solid);}

/* Always-visible Actuals actions; labels stay visible below each icon. */
html[data-theme] body .commercial-status-controls {display:flex;gap:4px;align-items:stretch;}
html[data-theme] body .commercial-status-controls select[hidden] {display:none!important;}
html[data-theme] body .commercial-status-choice {display:inline-flex;align-items:center;justify-content:center;min-width:30px;width:30px;min-height:30px;height:30px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--sig-muted);font:inherit;cursor:pointer;}
html[data-theme] body .commercial-status-choice>span {font-size:17px;line-height:1;}
html[data-theme] body .commercial-status-choice>small {font:600 9px/1.3 var(--sig-font);white-space:nowrap;}
html[data-theme] body .commercial-status-choice[data-status="Pending"] {--choice-ink:var(--sig-blue);--choice-bg:var(--sig-blue-soft);}
html[data-theme] body .commercial-status-choice[data-status="Completed"] {--choice-ink:var(--sig-green);--choice-bg:var(--sig-green-soft);}
html[data-theme] body .commercial-status-choice[data-status="No order"] {--choice-ink:var(--sig-red);--choice-bg:var(--sig-red-soft);}
html[data-theme] body .commercial-status-choice[aria-pressed="true"] {background:var(--choice-bg);color:var(--choice-ink);border-color:var(--choice-ink);box-shadow:none;}
html[data-theme] body .commercial-status-choice:hover:not(:disabled) {background:var(--choice-bg);color:var(--choice-ink);}
html[data-theme] body .commercial-status-choice:focus-visible {outline:2px solid var(--choice-ink);outline-offset:2px;}
html[data-theme] body .commercial-status-choice:disabled {opacity:.55;cursor:wait;}

/* Reserve space for all three status actions in every brand table. */
html[data-theme] body #app .commercial-table td:has(.commercial-status-controls) {min-width:114px!important;width:114px!important;overflow:visible!important;}
html[data-theme] body #app .commercial-table .commercial-status-controls {display:flex!important;flex-wrap:nowrap!important;width:98px!important;min-width:98px!important;gap:4px!important;overflow:visible!important;}
html[data-theme] body #app .commercial-table .commercial-status-controls>.commercial-status-choice {display:inline-flex!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;visibility:visible!important;}
html[data-theme] body #app .commercial-status-controls>span.commercial-status-choice {cursor:default;}

/* Refined FW27 columns: matching geometry with restrained seasonal colour. */
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table :is(th.commercial-entry-heading,td.commercial-entry-cell) {
 --entry-accent:var(--sig-blue);--entry-tint:var(--sig-blue-soft);
 min-width:156px;width:172px;padding-left:12px!important;padding-right:12px!important;
 background:color-mix(in srgb,var(--entry-tint) 42%,var(--sig-solid))!important;
 border-left:1px solid color-mix(in srgb,var(--entry-accent) 15%,transparent)!important;
 border-right:1px solid color-mix(in srgb,var(--entry-accent) 15%,transparent)!important;
}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table :is(th.commercial-entry-heading.actual,td.commercial-entry-cell.actual) {
 --entry-accent:var(--sig-green);--entry-tint:var(--sig-green-soft);
}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table th.commercial-entry-heading {
 background:color-mix(in srgb,var(--entry-tint) 65%,var(--sig-solid))!important;
 color:var(--sig-text)!important;box-shadow:inset 0 2px 0 color-mix(in srgb,var(--entry-accent) 60%,transparent)!important;
 vertical-align:middle;line-height:1.5;
}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td.commercial-entry-cell .commercial-account-input {
 box-sizing:border-box;width:112px!important;max-width:112px!important;min-width:112px!important;
 height:32px!important;padding:6px 10px!important;border-radius:6px!important;
 border:1px solid color-mix(in srgb,var(--entry-accent) 24%,transparent)!important;
 color:var(--sig-text)!important;text-align:right;font-variant-numeric:tabular-nums;
}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td.commercial-entry-cell .commercial-account-input:not(.save-error):not(.saving):not(.saved) {
 background:color-mix(in srgb,var(--sig-solid) 78%,var(--entry-tint))!important;
}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td.commercial-entry-cell .commercial-account-input::placeholder {color:var(--sig-muted)!important;opacity:.65;}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td.commercial-entry-cell .commercial-account-input:hover {border-color:color-mix(in srgb,var(--entry-accent) 60%,transparent)!important;}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td.commercial-entry-cell .commercial-account-input:focus {
 border-color:var(--entry-accent)!important;outline:2px solid color-mix(in srgb,var(--entry-accent) 24%,transparent)!important;outline-offset:1px;
}

/* One compact amount-field width across every season and brand. */
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td :is(input.money-input,button.sc-total,.sc-readonly,.commercial-historical-value) {
 box-sizing:border-box;width:112px!important;min-width:112px!important;max-width:112px!important;flex:0 0 112px!important;
 height:32px!important;padding:6px 10px!important;border-radius:6px!important;text-align:right;font-variant-numeric:tabular-nums;
}

/* Collection totals use the same compact amount surface as season inputs. */
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td :is(button.sc-total,.sc-readonly,.commercial-historical-value) {
 display:inline-block;vertical-align:middle;margin:0;font:inherit;line-height:18px;
 border:1px solid var(--sig-control-line)!important;background:var(--sig-inset)!important;color:var(--sig-text)!important;
}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td[data-sc-season-total] {text-align:left!important;}
html[data-theme] body #app .shell>.main .seasn-actuals .commercial-table td.commercial-entry-cell button.sc-total {
 border-color:color-mix(in srgb,var(--entry-accent) 24%,transparent)!important;
 background:color-mix(in srgb,var(--sig-solid) 78%,var(--entry-tint))!important;
}
