/* SI firm after dark: ink navy, soft text and a restrained cyan edge. */
.si-theme-control{display:flex;align-items:center;position:relative;flex:0 0 auto;min-height:44px;border:1px solid #9aafbf;border-radius:24px;color:#17344d;background:#f2f6f9;padding-left:12px;gap:4px;font:700 13px/1.5 var(--si-body-font,'Zen Kaku Gothic New',sans-serif)}
.si-theme-control[hidden]{display:none!important}
.si-theme-control svg{width:18px;height:18px;flex-shrink:0;pointer-events:none}
.si-theme-control .si-theme-moon{display:none}
.si-theme-control select{appearance:auto;min-height:44px;width:76px;padding:8px 8px 8px 2px;border:0;border-radius:24px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.si-theme-control:focus-within{outline:3px solid #2467a6;outline-offset:4px}
.si-theme-control select:focus-visible{outline:0!important;box-shadow:none!important}
.si-theme-toolbar{display:flex;justify-content:flex-end;padding:16px 24px}
body .nav-shell:has(.si-theme-control){gap:20px}
body .nav-shell>.si-theme-control{margin-left:0}

:root[data-si-theme="dark"]{color-scheme:dark;--night-bg:#08121f;--night-surface:#132438;--night-line:#36556b;--night-text:#e3edf3;--night-muted:#abc1d0;--night-accent:#76d9d2;--ink:var(--night-text);--text:var(--night-text);--muted:var(--night-muted);--brand-muted:var(--night-muted);--brand-white:var(--night-surface);--brand-line:var(--night-line);--brand-surface:var(--night-surface);--pale:var(--night-surface);--bg:var(--night-bg);--white:var(--night-surface);--line:var(--night-line);--blue:var(--night-accent);--accent:var(--night-accent);--accent-hover:#a3e9e4;--accent-ink:var(--night-accent);background:var(--night-bg)}
:root[data-si-theme="dark"] body{background:var(--night-bg)!important;color:var(--night-text)!important}
/* Inherit the dark palette through the older photo and showroom typography layers. */
:root[data-si-theme="dark"] body :where(*){color:inherit!important;border-color:var(--night-line)!important}
:root[data-si-theme="dark"] body :is(.header,.site-header,.detail-header){background:#08121ff5!important;border-bottom:1px solid var(--night-line);box-shadow:0 1px 0 #76d9d212;backdrop-filter:blur(16px)}
:root[data-si-theme="dark"] body :is(.opening,.services,.solutions,.pricing,.faq,.process,.reference-section,.reference-about,.vision-content,.index-page-main,.detail-hero,.detail-body,.depth-trust,.journey-lab,.home-pricing,.about-band,.discovery-page,.search-reader,.ed-company,.consultation-hub,.consultation-chooser){background:var(--night-bg)!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] body :is(.si-discovery,.portfolio-ribbon,.solutions-compact,.depth-delivery,.depth-story-photo,.home-process,.reference-contact,.contact-callout,.detail-consult,.contact,.footer,.about-principles){background-color:var(--night-surface)!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] body :is(.service-card,.price-option,.contact-form-panel,.booking-fields,.consultation-methods,.consultation-context,.security-note,.notice,.note,.trust-preview,.agreement-grid article,.solution-diagram,.solution-diagram>div,.ribbon-card,.discovery-card,.discovery-empty,dialog,.analytics-consent,.search-answer,.search-table caption,.search-table thead,.ed-prepare,.ed-tool-guide,.plan-scope li,.detail-preview,.lab-example,.studio-window,.studio-column,.studio-task,.studio-checklist,.studio-search>div,.system-icon,.service-thumb){background:var(--night-surface)!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] body :is(.mobile-nav,.discovery-dialog .discovery-preview-links,.dialog-heading,.window-bar,.lab-window-bar,.studio-column h3 span,.studio-task b,.news-tag,.news-category,.process-marker){background:var(--night-surface)!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] .si-discovery{--dc-ink:var(--night-text);--dc-line:var(--night-line);--dc-surface:var(--night-surface)}
:root[data-si-theme="dark"] body :is(p,li,dd){color:var(--night-text)!important}
:root[data-si-theme="dark"] body :is(.eyebrow,.section-label,.service-index,.solution-num,.micro,.disclosure,.depth-label,.depth-note,.form-note,.form-lead,.input-guidance,.booking-note,.consultation-note,.consultation-topics small,.consultation-methods small,.solutions-compact small,.discovery-status,.discovery-category,.discovery-disclosure,.discovery-row-heading p,.discovery-card-summary,.discovery-preview-layout dt,.breadcrumb,.news-row time,.ribbon-card small,.ribbon-note,.footer-base,.corporate-credit,.search-label,.search-authorship,.search-profile dt,.search-service-summary dt){color:var(--night-muted)!important}
:root[data-si-theme="dark"] body :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--night-bg)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;caret-color:var(--night-accent);accent-color:var(--night-accent)}
:root[data-si-theme="dark"] body :is(input,textarea)::placeholder{color:var(--night-muted)!important;opacity:1}
:root[data-si-theme="dark"] body :is(input[type=checkbox],input[type=radio]){accent-color:var(--night-accent)}
:root[data-si-theme="dark"] body :is(.discovery-preview,.discovery-rail-controls button,.discovery-filters button,.discovery-dialog-head button,.dialog-back,.legal-page button,.studio-tabs button,.lab-choices button){background:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
:root[data-si-theme="dark"] body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.discovery-preview,.discovery-rail-controls button,.discovery-filters button,.discovery-dialog-head button){border-color:#6c8d9f!important}
/* Filled actions use the same cyan as selected states; no pulsing or animated glow. */
:root[data-si-theme="dark"] body :is(.submit-button,.detail-primary,.detail-header-cta,.reference-outline,.button,.button-light,.header-consult,.floating-consult,.consultation-contextual>a,.work-live,.ed-demo-link,.discovery-empty button,.analytics-consent button,.discovery-preview-links>a:first-child,.discovery-filters button[aria-pressed=true],.studio-tabs button[aria-selected=true],.lab-choices button[aria-pressed=true]){background:var(--night-accent)!important;color:var(--night-bg)!important;border-color:var(--night-accent)!important;box-shadow:0 0 20px #76d9d214}
:root[data-si-theme="dark"] body :is(.button,.submit-button,.reference-outline,.ed-demo-link,.discovery-preview-links>a:first-child) :where(*){color:inherit!important}
:root[data-si-theme="dark"] body .discovery-preview-links>a+a{background:var(--night-surface)!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] body :is(.consultation-dock,.studio-assistant){background:var(--night-surface)!important;border:1px solid var(--night-accent)!important;box-shadow:0 0 24px #76d9d212}
:root[data-si-theme="dark"] body :is(.nav-desktop a[aria-current],.text-link,.reference-text-link,.arrow-link,.row-detail-link,.depth-link,.discovery-full-link,.search-read,.step-number,.lab-step-check,.lab-step-kind){color:var(--night-accent)!important}
:root[data-si-theme="dark"] body .nav-desktop a:after,:root[data-si-theme="dark"] body .studio-tab-indicator,:root[data-si-theme="dark"] body .home-chapters a[aria-current]:after{background:var(--night-accent)!important;box-shadow:0 0 8px #76d9d24d}
:root[data-si-theme="dark"] body .menu-button span{background:var(--night-text)!important}
:root[data-si-theme="dark"] body .si-theme-control{background:var(--night-surface)!important;border-color:var(--night-accent)!important;color:var(--night-accent)!important;box-shadow:0 0 16px #76d9d214}
:root[data-si-theme="dark"] body .si-theme-control select{background:transparent!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] .si-theme-control .si-theme-moon{display:block}
:root[data-si-theme="dark"] .si-theme-control .si-theme-sun{display:none}
:root[data-si-theme="dark"] body .showroom-hero{background:radial-gradient(ellipse at 75% 40%,#76d9d20c,transparent 65%),var(--night-bg)!important}
:root[data-si-theme="dark"] body .hero-photo{filter:saturate(.8) brightness(.8)}
:root[data-si-theme="dark"] body :is(.hero,.reference-about,.reference-contact,.contact,.detail-consult,.contact-callout){color:var(--night-text)!important}
:root[data-si-theme="dark"] body .preview-notice{background:var(--night-surface)!important;color:var(--night-muted)!important}
:root[data-si-theme="dark"] body :is(.preview-banner,.skip,.discovery-image){background:var(--night-surface)!important;color:var(--night-text)!important}
:root[data-si-theme="dark"] body .lab-step-order{background:var(--night-surface)!important;color:var(--night-accent)!important}
:root[data-si-theme="dark"] body .hero-consult-actions>a:first-child{background:var(--night-accent)!important;color:var(--night-bg)!important;border-color:var(--night-accent)!important;box-shadow:0 0 24px #76d9d21c}
:root[data-si-theme="dark"] body .hero-consult-actions>a:first-child :where(*){color:inherit!important}
:root[data-si-theme="dark"] body :is(.is-complete>.check-mark,.studio-checklist .check-mark,.is-reached .process-marker){background:var(--night-accent)!important;color:var(--night-bg)!important;border-color:var(--night-accent)!important}
:root[data-si-theme="dark"] body :is(.is-complete>.check-mark,.studio-checklist .check-mark):after{border-color:var(--night-bg)!important}
:root[data-si-theme="dark"] body :is(.status-error,.field-error,.error-message,[aria-invalid=true]){color:#ffb6ba!important;border-color:#ffb6ba!important}
:root[data-si-theme="dark"] body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible,:root[data-si-theme="dark"] .si-theme-control:focus-within{outline:2px solid var(--night-accent)!important;outline-offset:4px;box-shadow:0 0 0 5px #76d9d214}
:root[data-si-theme="dark"] body .si-theme-control select:focus-visible{outline:0!important;box-shadow:none}
:root[data-si-theme="dark"] ::selection{background:var(--night-accent);color:var(--night-bg)}
@media(hover:hover){
 :root[data-si-theme="dark"] body :is(.service-card,.discovery-card,.ribbon-card,.studio-window,.contact-form-panel):hover{border-color:var(--night-accent)!important;box-shadow:0 0 0 1px #76d9d224,0 0 24px #76d9d210}
 :root[data-si-theme="dark"] body :is(.consultation-topics>a,.solutions-compact nav a,.discovery-preview,.discovery-filters button:not([aria-pressed=true]),.detail-toc a,.studio-tabs button:not([aria-selected=true]),.consultation-dock a):hover{background:#76d9d20d!important;color:var(--night-accent)!important}
 :root[data-si-theme="dark"] body :is(.submit-button,.button,.reference-outline,.detail-primary,.discovery-preview-links>a:first-child):hover{background:#a3e9e4!important;color:var(--night-bg)!important;box-shadow:0 0 24px #76d9d226}
}
@media(max-width:1100px){body .nav-shell:has(.si-theme-control){gap:12px}body .nav-shell>.si-theme-control{margin-left:auto}}
@media(max-width:600px){.si-theme-control{font-size:12px;padding-left:10px;gap:2px}.si-theme-control select{width:70px}.si-theme-control svg{width:16px;height:16px}body .nav-shell:has(.si-theme-control){gap:8px}}
@media(prefers-reduced-motion:reduce){.si-theme-control,.si-theme-control select{transition:none}}
@media print{:root[data-si-theme="dark"]{color-scheme:light}:root[data-si-theme="dark"] body,:root[data-si-theme="dark"] body :where(*){background:white!important;color:#102b43!important;box-shadow:none!important;filter:none!important}.si-theme-control,.si-theme-toolbar{display:none!important}}
