/* Shared appearance layer; explicit surface/foreground pairs, no image inversion. */
html[data-sl-theme="light"]{--ot-bg:#eef3f8;--ot-panel:#fff;--ot-raised:#f5f8fc;--ot-field:#fff;--ot-text:#17293f;--ot-muted:#40566f;--ot-line:#a9bbce;--ot-link:#14568f;--ot-accent:#75471f;--ot-tint:#e4eef8;--ot-focus:#0757a6;--ot-error:#9a251d;--ot-success:#185633;color-scheme:light}
html[data-sl-theme="dark"]{--ot-bg:#111923;--ot-panel:#1a2635;--ot-raised:#243449;--ot-field:#142031;--ot-text:#eef4fb;--ot-muted:#bdcadb;--ot-line:#667e99;--ot-link:#9dd5ff;--ot-accent:#f1cf94;--ot-tint:#203b55;--ot-focus:#8ed2ff;--ot-error:#ffb9ad;--ot-success:#b1efc7;color-scheme:dark}
html[data-sl-theme] body{background:var(--ot-bg);color:var(--ot-text)}
html[data-sl-theme] :focus-visible{outline:3px solid var(--ot-focus);outline-offset:3px}
html[data-sl-theme] :is(.demo-brand img,.classic-logo,.public-brand-image,.brand-link img,.walkthrough-hero img,.sl-owner-demo-windowbar img){object-fit:contain!important;object-position:center;filter:none;mix-blend-mode:normal;background:#071321;flex-shrink:0}
html[data-sl-theme] .demo-bar{display:grid;grid-template-columns:auto minmax(190px,1fr) auto auto;gap:12px;min-height:64px;background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line);padding:10px 20px}
html[data-sl-theme] .demo-brand{min-width:0;flex-shrink:0;color:var(--ot-text)}
html[data-sl-theme] .demo-brand img{width:34px;height:34px;border-radius:7px}
html[data-sl-theme] .demo-disclosure{color:var(--ot-muted);justify-self:center}
html[data-sl-theme] .demo-badge{background:var(--ot-tint);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .demo-controls{flex-wrap:nowrap;min-width:0}
html[data-sl-theme] .demo-controls button{color:var(--ot-text);background:var(--ot-raised);border-color:var(--ot-line)}
html[data-sl-theme] .demo-controls button:hover{background:var(--ot-tint)}
.sl-appearance{display:inline-flex;gap:3px;border:1px solid var(--ot-line);border-radius:10px;padding:3px;background:var(--ot-raised);align-items:center;justify-self:end;flex-shrink:0}
.sl-appearance button{border:1px solid transparent;border-radius:7px;min-height:36px;padding:7px 11px;font-size:13px;line-height:1.2;font-weight:750;background:transparent;color:var(--ot-text);white-space:nowrap}
.sl-appearance button[aria-pressed="true"]{background:#164f82;color:#fff;border-color:#164f82;box-shadow:0 2px 5px #0002}
html[data-sl-theme="dark"] .sl-appearance button[aria-pressed="true"]{background:#c7e4ff;color:#102b46;border-color:#c7e4ff}
html[data-sl-theme] .demo-presentation{--demo-bar-height:inherit}
html[data-sl-theme] .demo-presentation .demo-bar{min-height:52px;padding-block:6px}
html[data-sl-theme] :is(.demo-dialog,.demo-noscript,.demo-session-page section){background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .demo-dialog :is(p,.demo-note),html[data-sl-theme] .demo-session-page p{color:var(--ot-muted)}
html[data-sl-theme] .demo-dialog :is(input,select,textarea){background:var(--ot-field);color:var(--ot-text);border-color:var(--ot-line);color-scheme:inherit}
html[data-sl-theme] .demo-dialog-close-form button,html[data-sl-theme] .demo-dialog-actions .secondary,html[data-sl-theme] .demo-session-page a.secondary{background:var(--ot-raised);color:var(--ot-link);border-color:var(--ot-line)}
html[data-sl-theme] .demo-toast{background:#14354c;color:#fff;border-color:#83aec7}
/* Owner v2, asset selectors, and request menu. */
html[data-sl-theme] .v2-page{--ink:var(--ot-text);--muted:var(--ot-muted);--line:var(--ot-line);--soft:var(--ot-raised);--panel:var(--ot-panel);color:var(--ot-text);background:var(--ot-bg)}
html[data-sl-theme] .v2-page :is(.bc-sidebar,.panel,.pill){background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .v2-page :is(.stat,.safe-box,.nav-group,.review-path){background:var(--ot-raised);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .v2-page :is(.bc-brand span,.topbar .sub,.lead,.stat span,.safe-box p,.review-paths-label){color:var(--ot-muted)}
html[data-sl-theme] .v2-page :is(.stat strong,.panel h1){color:var(--ot-text)}
html[data-sl-theme] .v2-page :is(.small-label,.review-path strong){color:var(--ot-link)}
html[data-sl-theme] .v2-page .assist-button{background:#12613d;color:white;border-color:#2b8059;text-shadow:none}
html[data-sl-theme] .v2-page :is(.nav-home,.nav-item,.classic-link){text-shadow:none;color:#fff;border-color:#91a5bb;filter:none}
html[data-sl-theme] .v2-page .nav-home{background:linear-gradient(135deg,#0a3d91,#08668d)}
html[data-sl-theme] .v2-page .bc-logo{background:linear-gradient(135deg,#0a3d91,#08668d);color:#fff}
html[data-sl-theme] .v2-page .bc-menu-leads{background:linear-gradient(135deg,#064e3b,#087449)}
html[data-sl-theme] .v2-page .bc-menu-email{background:linear-gradient(135deg,#1e3a8a,#2461ab)}
html[data-sl-theme] .v2-page .bc-menu-private{background:linear-gradient(135deg,#734626,#63361f)}
html[data-sl-theme] .v2-page .bc-menu-business{background:linear-gradient(135deg,#4c1d95,#7044b0)}
html[data-sl-theme] .v2-page .bc-menu-clients{background:linear-gradient(135deg,#581c87,#8547ad)}
html[data-sl-theme] .v2-page .bc-menu-payroll{background:linear-gradient(135deg,#7c2d12,#a34b18)}
html[data-sl-theme] .v2-page .bc-menu-screen{background:linear-gradient(135deg,#075b56,#087569)}
html[data-sl-theme] .v2-page .bc-menu-billing{background:linear-gradient(135deg,#6c4517,#876019)}
html[data-sl-theme] .v2-page .bc-menu-booking{background:linear-gradient(135deg,#065f46,#087449)}
html[data-sl-theme] .v2-page .bc-menu-chatbot{background:linear-gradient(135deg,#155e75,#08677d)}
html[data-sl-theme] .v2-page .bc-menu-notify{background:linear-gradient(135deg,#6d4e0d,#81641a)}
html[data-sl-theme] .v2-page .bc-menu-request{background:linear-gradient(135deg,#831336,#ae284e)}
html[data-sl-theme] .v2-page .bc-menu-help{background:linear-gradient(135deg,#0f4c81,#086b9d)}
html[data-sl-theme] .v2-page .classic-link{background:linear-gradient(135deg,#312e81,#5148aa)}
html[data-sl-theme] .v2-page :is(.nav-home,.nav-item,.classic-link):hover{box-shadow:0 0 0 2px var(--ot-focus);filter:none}
html[data-sl-theme] :is(.owner-asset-row,.owner-asset-tags span,.request-page .flow-card,.request-page .form-link-card){background:var(--ot-raised);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] :is(.owner-asset-row p,.owner-asset-heading span,.owner-local-note,.request-page .flow-card p,.request-page .form-link-card p,.request-page .request-demo-note){color:var(--ot-muted)}
html[data-sl-theme] :is(.owner-asset-actions a,.request-page .flow-card strong){color:var(--ot-link)}
html[data-sl-theme] :is(.owner-asset-monogram,.request-page .form-badge){background:var(--ot-tint);color:var(--ot-link);border-color:var(--ot-line)}
html[data-sl-theme] .request-page .form-link-card h3{color:var(--ot-text)}
html[data-sl-theme] :is(.owner-open,.request-page .open-form){background:#14578e;color:white!important;text-shadow:none}
html[data-sl-theme] .request-page .copy-form{background:#17623f;color:white;text-shadow:none}
/* Classic dashboard. */
html[data-sl-theme] .classic-page{--sl-bg:var(--ot-bg);--sl-panel:var(--ot-panel);--sl-lift:var(--ot-raised);--sl-text:var(--ot-text);--sl-soft:var(--ot-muted);--sl-gold:var(--ot-accent);--sl-line:var(--ot-line);--sl-metal:var(--ot-panel);--sl-bronze:#80512a;--sl-silver:#405671;color-scheme:inherit}
html[data-sl-theme] .classic-page .assetcard{border-color:var(--ot-line);border-top-color:var(--ot-accent)}
html[data-sl-theme] .classic-page .asset-details{background:var(--ot-panel);border-color:var(--ot-line)}
html[data-sl-theme] .classic-page :is(.asset-details span,.group-separator){color:var(--ot-muted)}
html[data-sl-theme] .classic-page .asset-status{color:var(--ot-text)}
html[data-sl-theme] .classic-page .asset-type{background:var(--ot-tint);color:var(--ot-accent)}
html[data-sl-theme] .classic-page :is(.toolgrid a,.dash-switch-pill,.hero-logout,.asset-btn){background:#80512a;color:#fff;text-shadow:none}
/* Booking, stored answers, routing, and sample account forms. */
html[data-sl-theme] .net-comm-page{background:var(--ot-bg);color:var(--ot-text);color-scheme:inherit}
html[data-sl-theme] .net-comm-page .comm-card{background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .net-comm-page :is(h1,h2,h3,.comm-field>span){color:var(--ot-text)}
html[data-sl-theme] .net-comm-page :is(.comm-sub,.owner-local-note,.booking-example-note,.booking-record span,.comm-check small){color:var(--ot-muted)}
html[data-sl-theme] .net-comm-page a:not(.comm-btn){color:var(--ot-link)}
html[data-sl-theme] .net-comm-page :is(.comm-notice,.comm-check,.comm-preview blockquote){background:var(--ot-tint);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .net-comm-page .comm-field :is(input,select,textarea){background:var(--ot-field);color:var(--ot-text);border-color:var(--ot-line);color-scheme:inherit}
html[data-sl-theme] .net-comm-page input[readonly],html[data-sl-theme] .net-comm-page :is(input,textarea)::placeholder{color:var(--ot-muted);opacity:1}
html[data-sl-theme] .net-comm-page .comm-btn{background:#80512a;color:#fff;border-color:#986e48;filter:none}
html[data-sl-theme] .net-comm-page .comm-btn.secondary{background:#405671;color:#fff;border-color:#7e95ad}
html[data-sl-theme] .net-comm-page .booking-header{background:var(--ot-panel)!important}
html[data-sl-theme] .net-comm-page .booking-record{background:var(--ot-raised);border-color:var(--ot-line)}
html[data-sl-theme] .net-comm-page :is(.comm-eyebrow,.booking-status){color:var(--ot-accent)}
html[data-sl-theme] .net-comm-page [role=alert]{color:var(--ot-error)}
/* Owner update and intake forms, including their receipts. */
html[data-sl-theme] .update-page{--bg:var(--ot-bg);--ink:var(--ot-text);--muted:var(--ot-muted);--panel:var(--ot-panel);--line:var(--ot-line);--brand:var(--ot-link);--blue:#14578e;--blueH:#0b4475;color-scheme:inherit}
html[data-sl-theme] .update-page :is(input,select,textarea){background:var(--ot-field);color:var(--ot-text);border-color:var(--ot-line);color-scheme:inherit}
html[data-sl-theme] .update-page :is(input,textarea)::placeholder{color:var(--ot-muted);opacity:1}
html[data-sl-theme] .update-page :is(input[type=file])::file-selector-button{background:#405671;color:#fff;border:0;border-radius:5px;padding:7px;margin-right:12px}
html[data-sl-theme] .update-page :is(.consent-box,.receipt-status,.receipt-details .receipt-change){background:var(--ot-tint);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .update-page .consent-row{color:var(--ot-text)}
html[data-sl-theme] .update-page :is(.confirmation-note,.update-demo-toolbar span,.update-demo-disclosure,.update-file-note,.receipt-intro,.receipt-status span,.receipt-status small,.receipt-details dd small){color:var(--ot-muted)}
html[data-sl-theme] .update-page :is(.update-demo-toolbar a,.local-file-list button,.receipt-details dt,.receipt-return){color:var(--ot-link)}
html[data-sl-theme] .update-page .update-validation{background:var(--ot-raised);color:var(--ot-error);border-color:var(--ot-error)}
html[data-sl-theme] .update-page .receipt-mark{background:var(--ot-tint);color:var(--ot-success);border-color:var(--ot-success)}
/* Guided chapters and presentation helpers. */
html[data-sl-theme] .walkthrough-page{background:var(--ot-bg);color:var(--ot-text)}
html[data-sl-theme] :is(.walkthrough-hero,.walkthrough-card,.walkthrough-result,.overview-walkthroughs,.overview-journeys a){background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] :is(.walkthrough-hero h1,.walkthrough-card h2,.overview-walkthroughs h2,.tour-result-list h3){color:var(--ot-text)}
html[data-sl-theme] :is(.walkthrough-card p,.walkthrough-card-meta,.walkthrough-card ol,.walkthrough-footnote,.overview-walkthroughs p,.overview-journeys span,.tour-result-list p,.tour-activity-list span){color:var(--ot-muted)}
html[data-sl-theme] :is(.walkthrough-kicker,.walkthrough-card-label,.walkthrough-toplinks a,.walkthrough-toplinks button,.overview-walkthroughs>a,.overview-journeys strong,.tour-activity-list a,.tour-activity-list strong){color:var(--ot-link)}
html[data-sl-theme] .walkthrough-presenter{background:var(--ot-tint);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] :is(.walkthrough-presenter-actions .secondary,.tour-result-actions .secondary,.tour-result-list button){background:var(--ot-raised);color:var(--ot-link);border-color:var(--ot-line)}
html[data-sl-theme] .demo-tour-bar{background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] :is(.demo-tour-chapter,.demo-coach-notes strong){color:var(--ot-text)}
html[data-sl-theme] :is(.demo-tour-chapter>span,.demo-tour-controls button,.demo-coach-actions button,.tour-chapter-list button){background:var(--ot-raised);color:var(--ot-link);border-color:var(--ot-line)}
html[data-sl-theme] .demo-tour-controls .primary{background:#164f82;color:#fff;border-color:#3b78af}
html[data-sl-theme] :is(.demo-coach-notes,.tour-result-list li,.tour-activity-list li){border-color:var(--ot-line)}
html[data-sl-theme] :is(.demo-coach-notes p,.demo-coach-notes blockquote,.tour-chapter-list small){color:var(--ot-muted)}
html[data-sl-theme] .demo-tour-complete{background:var(--ot-raised);color:var(--ot-muted);border-color:var(--ot-line)}
html[data-sl-theme] .demo-tour-complete.is-complete,html[data-sl-theme] .tour-result-mark.complete{background:#dff4e8;color:#155b33;border-color:#5c9875}
html[data-sl-theme] .tour-chapter-list button[aria-current]{background:var(--ot-tint);border-color:var(--ot-focus)}
/* Public previews keep their document structure while respecting appearance. */
html[data-sl-theme] .public-preview{background:var(--ot-bg);color:var(--ot-text);color-scheme:inherit}
html[data-sl-theme] .public-preview :is(.public-page-card,.public-inquiry-card,.public-offer-price,.public-offer-details,blockquote,.public-receipt-details,.public-widget){background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .public-preview :is(.public-navigation a,.public-secondary,.public-testimonials,.public-offer,.public-receipt,.public-communication-section,.public-page-footer){background:var(--ot-raised);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .public-preview :is(.public-sample-banner,.public-specials-label,.public-more-information,.public-assistant-answer,.public-service-symbol){background:var(--ot-tint);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] .public-preview :is(h1,h2,h3,.public-inquiry-form label,.public-widget label,.public-business-details dd,.public-receipt-details dd,.public-booking-summary dd){color:var(--ot-text)}
html[data-sl-theme] .public-preview :is(p,.public-business-kicker,.public-section-heading p,.public-service p,blockquote p,blockquote cite,.public-business-details dt,.public-human-check span,.public-form-note,.public-offer-price span,.public-offer-details>div,.public-receipt-details dt,.public-booking-summary dt){color:var(--ot-muted)}
html[data-sl-theme] .public-preview .public-business-header>p:not(.public-business-kicker),html[data-sl-theme] .public-preview .public-receipt>p:not(.public-form-note),html[data-sl-theme] .public-preview .public-widget>p:not(.public-form-note){color:var(--ot-muted)}
html[data-sl-theme] .public-preview :is(.public-eyebrow,.public-page-footer strong,.public-page-footer a,.public-offer-price strong,.public-offer-details summary,.public-text-button,.public-assistant-answer strong){color:var(--ot-link)}
html[data-sl-theme] .public-preview :is(input,textarea,select){background:var(--ot-field);color:var(--ot-text);border-color:var(--ot-line);color-scheme:inherit}
html[data-sl-theme] .public-preview :is(input,textarea)::placeholder{color:var(--ot-muted);opacity:1}
html[data-sl-theme] .public-preview .public-primary{background:#14578e;color:#fff;border-color:#356e9a}
html[data-sl-theme] .public-preview .public-widget-error{color:var(--ot-error)}
html[data-sl-theme] .public-preview :is(.public-business-header,.public-services,.public-testimonials,.public-business-details,.public-inquiry-card,.public-offer,.public-service){border-color:var(--ot-line)}
html[data-sl-theme] .public-preview .public-page-switch a[aria-current=page]{background:var(--ot-tint);color:var(--ot-link);border-color:var(--ot-line)}
/* The entry component is a public marketing illustration, not a dashboard panel. */
html[data-sl-theme] :is(.demo-comparison-intro,.demo-comparison-context){background:var(--ot-panel);color:var(--ot-text);border-color:var(--ot-line)}
html[data-sl-theme] :is(.demo-comparison-intro p,.demo-comparison-context p){color:var(--ot-muted)}
html[data-sl-theme] .demo-comparison-eyebrow{color:var(--ot-link)}
@media(max-width:1100px){html[data-sl-theme] .demo-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand appearance" "disclosure controls";gap:8px 14px;padding:10px 16px;min-height:0}html[data-sl-theme] .demo-brand{grid-area:brand}html[data-sl-theme] .sl-appearance{grid-area:appearance}html[data-sl-theme] .demo-disclosure{grid-area:disclosure;justify-self:start}html[data-sl-theme] .demo-disclosure>span:last-child{max-width:none}html[data-sl-theme] .demo-controls{grid-area:controls;justify-self:end}html[data-sl-theme] .demo-presentation .demo-bar{min-height:0}}
@media(max-width:650px){html[data-sl-theme] .demo-bar{grid-template-areas:"brand appearance" "disclosure disclosure" "controls controls";padding:8px 12px;gap:7px 10px}html[data-sl-theme] .demo-disclosure{font-size:12px}html[data-sl-theme] .demo-badge{display:inline-block;font-size:11px;padding:3px 5px}html[data-sl-theme] .demo-controls{width:100%;justify-self:stretch}html[data-sl-theme] .demo-controls button{flex:1;min-width:0;padding:8px 6px;font-size:12px}html[data-sl-theme] .demo-brand img{width:30px;height:30px}.sl-appearance button{padding:7px 9px;min-height:36px}}
@media print{.demo-bar,#demo-experience{display:none!important}html[data-sl-theme] body{background:white;color:black}}
/* Input boundaries and keyboard focus remain clear on every themed surface. */
html[data-sl-theme="light"]{--ot-field-line:#71869e}
html[data-sl-theme="dark"]{--ot-field-line:#667e99}
html[data-sl-theme] :is(.demo-dialog,.net-comm-page,.update-page,.public-preview) :is(input,select,textarea){border-color:var(--ot-field-line)}
html[data-sl-theme] :is(.v2-page,.classic-page,.net-comm-page,.request-page,.update-page,.public-preview) :focus-visible{outline:3px solid var(--ot-focus);outline-offset:3px}
html[data-sl-theme="light"] .demo-tour-controls button:disabled{opacity:1;color:#50657b;background:#edf2f7;border-color:#a9bbce}
html[data-sl-theme="dark"] .demo-tour-controls button:disabled{opacity:1;color:#93a9c1;background:#1e2c3e;border-color:#667e99}
