/* Shared, accessible preferences. No external services. */
:root{color-scheme:light}.pfs-preferences{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #a1acc64d;border-radius:6px;background:#fffdf8;color:#17263a;font:500 11px/1.4 'DM Sans',Arial,sans-serif;flex-shrink:0;z-index:120}.pfs-preferences label{display:flex;align-items:center;gap:7px}.pfs-preferences select{color:inherit;background:transparent;border:0;font:inherit;font-weight:700;cursor:pointer;min-height:32px;max-width:145px}.pfs-preferences option{background:#fffdf8;color:#17263a}.pref-divider{height:18px;width:1px;background:#9ca8bc66}.pfs-preferences select:focus-visible{outline:2px solid #688aff;outline-offset:3px}.topbar .shell{flex-wrap:wrap}.topbar .pfs-preferences{margin-left:auto}.auth-panel>.pfs-preferences{position:absolute;right:24px;top:20px}.dash-topbar{flex-wrap:wrap;gap:12px}.dash-topbar .pfs-preferences{margin-left:auto}.utility-nav .shell{flex-wrap:wrap;gap:12px}.footer-mark span{display:grid;gap:6px}.footer-mark small{display:block}.hero-v3-copy h1 em,.declaration-title h2 em,.light-title em,.method-top h2 em,.territory-copy h2 em,.pilot-title h2 em,.survey-call h2 em{font-style:normal}body> .pfs-preferences{position:fixed;right:16px;top:16px}.pfs-preferences + *{scroll-margin-top:110px}
html[data-theme=dark]{color-scheme:dark;--paper:#07111f;--paper-2:#101e30;--muted:#b5c1d2;--line:#b2c7e32b;--cobalt:#a9baff;--mist:#15253a}
html[data-theme=dark] body{background:#07111f;color:#edf1f7}
html[data-theme=dark] .pfs-preferences{background:#101e30;color:#edf1f7;border-color:#a1acc64d}html[data-theme=dark] .pfs-preferences option{background:#101e30;color:#edf1f7}
html[data-theme=dark] :is(.topbar.is-scrolled,.mobile-nav,.utility-nav,.auth-panel,.dash-main,.dash-topbar,.survey-page,.utility-page,.thankyou,.legal-page){background:#0a1626;color:#edf1f7}
html[data-theme=dark] :is(.declaration,.method-v3,.territory-v3,.pilot-v3,.partners-v3,.survey-call,.signature-strip){background:#07111f;color:#edf1f7}
html[data-theme=dark] :is(.panel,.stat-card,.calendar-panel,.survey-card,.survey-header,.form-card,.survey-meta-card,.auth-card,.thank-card,.survey-call-inner,.data-toolbar,.table-wrap,.modal-card,.dash-modal,.settings-card,.settings-panel,.export-card,.action-card,.territory-data-panel,.ai-secondary,.ai-briefing-panel,.territory-map-card,.territory-rail,.action-summary-card,.security-principle){background:#101e30;color:#edf1f7;border-color:#b2c7e32b;box-shadow:none}
html[data-theme=dark] :is(.declaration-copy p,.principles p,.method-sequence p,.territory-copy p,.pilot-timeline p,.partner-card p,.survey-call-copy>p,.auth-card p,.view-head p,.utility-lead,.legal-section p,.legal-section li,.survey-intro p,.survey-meta-card p,.survey-card p,.form-card .intro,.thank-card p,.stat-card span,.data-table td,.settings-card p,.panel p,.calendar-agenda-title,.guide-note){color:#b5c1d2}
html[data-theme=dark] :is(h1,h2,h3,h4,label,.wordmark-v3,.desktop-nav>a,.nav-toggle,.utility-brand,.dash-topbar h1,.stat-card strong,.principles h3,.method-sequence h3,.pilot-timeline h3,.partner-card h3,.legal-section h2,.survey-card h2){color:inherit}
html[data-theme=dark] :is(input,textarea,select):not([type=checkbox]):not([type=radio]){background:#0b1727;color:#edf1f7;border-color:#71829a}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a9b6c9}
html[data-theme=dark] :is(.choice,.scale label,.consent,.calendar-day,.data-table th,.filter-reset,.ai-brief-button,.settings-save){background:#13243a;color:#e7edf5;border-color:#b2c7e32b}
html[data-theme=dark] :is(.cta-solid,.btn-primary,.auth-submit,.dash-action){background:#dce6ff;color:#07111f}html[data-theme=dark] .cta-solid b{background:#07111f;color:#fff}
html[data-theme=dark] :is(.cta-line,.auth-back,.auth-links a,.utility-nav a,.filter-count){color:#cbd8ef;border-color:#a1acc659}
html[data-theme=dark] .guide{background:#0e1d30;color:#edf1f7}html[data-theme=dark] .guide .eyebrow,html[data-theme=dark] .guide h2 em{color:#b9cbff}html[data-theme=dark] .steps-panel{background:#13243a;border-color:#a1acc64d}html[data-theme=dark] .choices button,html[data-theme=dark] .copy{color:#edf1f7;border-color:#a1acc64d}html[data-theme=dark] .choices button[aria-pressed=true]{background:#dce6ff;color:#07111f}
/* Installation page also has a deliberately composed daylight treatment. */
html[data-theme=light] body:has(.install-box){background:#f6f2e9;color:#07111f;--ivory:#07111f;--muted:#47586e;--blue:#294a82;--line:#07111f26}html[data-theme=light] body:has(.install-box) #installButton,html[data-theme=light] body:has(.install-box) #openApp{background:#07111f;color:#fffdf8}html[data-theme=light] .visual{--blue:#b8cdff;--muted:#bac8dc;color:#fffdf8}html[data-theme=light] .visual .app-tile{color:#fffdf8}
[hidden]{display:none!important}:focus-visible{outline:3px solid #729bff;outline-offset:4px}html[lang=en] .hero-v3-copy h1{font-size:clamp(4rem,7.7vw,7.7rem)}
@media(max-width:1050px){.topbar .pfs-preferences{order:4;width:100%;justify-content:flex-end;padding:4px 10px}.hero-v3{padding-top:170px}.mobile-nav{top:125px}header:has(.pfs-preferences){flex-wrap:wrap;gap:16px}.pfs-preferences{max-width:100%}.auth-panel>.pfs-preferences{position:static;margin-bottom:20px}.dash-topbar .pfs-preferences{width:100%;justify-content:space-between}}
@media(max-width:480px){.pfs-preferences{font-size:11px;gap:8px}.pfs-preferences label{gap:5px}.topbar .pfs-preferences{justify-content:space-between}.pfs-preferences select{max-width:132px}.utility-nav .pfs-preferences{width:100%;justify-content:space-between}html[lang=en] .hero-v3-copy h1{font-size:clamp(3.7rem,17vw,5.5rem)}body:has(.install-box) header>.pfs-preferences{width:100%;justify-content:space-between}.dash-topbar{padding:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html[data-theme=dark] :is(.partnerships-v4,.roadmap){background:#0a1626;color:#edf1f7}
html[data-theme=dark] :is(.partners-matrix article,.weather-intelligence,.ai-side,.ai-guardrails article,.backup-card,.backup-hero aside,.backup-snapshot,.backup-notice,.action-kpis article,.action-item,.action-clear,.settings-section,.settings-savebar,.settings-readonly){background:#101e30;color:#edf1f7;border-color:#b2c7e32b}
html[data-theme=dark] :is(.calendar-controls button,.weather-locations button,.territory-switcher button,.ai-quick button,.backup-download,.action-buttons button,.row-actions button,.modal-close,.toggle-password,.mobile-dash-toggle,.action-center-trigger,.territory-data-note,.ai-scope>div span){background:#162a43;color:#e7edf5;border-color:#b2c7e34d}
html[data-theme=dark] :is(.partners-matrix p,.partnerships-head p,.roadmap p,.roadmap h3,.weather-intro p,.weather-forecast small,.territory-data-note,.ai-side p,.ai-guardrails p,.backup-card p,.backup-notice p,.backup-snapshot p,.backup-hero aside p,.action-copy p,.action-kpis span,.settings-section p,.settings-readonly p,.settings-savebar,.view-head p,.session-pill,.calendar-day,.data-table,.action-read-state){color:#b5c1d2}
html[data-theme=dark] :is(.calendar-day.today,.weather-locations button.active,.territory-switcher button.active,.filter-reset.active){background:#dce6ff;color:#07111f}
html[data-theme=dark] .survey-qr-card{background:#fff;color:#07111f}html[data-theme=dark] .qr-frame{background:#fff}
.dash-topbar{height:auto;min-height:76px;padding-top:12px;padding-bottom:12px}.auth-panel{position:relative}.topbar .pfs-preferences{width:100%;justify-content:flex-end;order:4;background:#07111fe8;color:#f4f6fc;border-color:#8ba1c144;padding:3px 10px}.topbar.is-scrolled .pfs-preferences{background:transparent;color:inherit}.topbar-inner{row-gap:8px}.hero-v3{padding-top:180px}.topbar .mobile-nav{top:126px}
