/* Dark palette for the public website. Layout remains in site.css. */
html[data-theme=dark]{color-scheme:dark;--ink:#edf5f1;--muted:#afc1b8;--paper:#0b171c;--line:#2d4143;--lime:#a5e9ab;--green:#81d79f}
html[data-theme=dark] a:hover{color:#afc1b8}
html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible{outline:3px solid #afc1b8}
html[data-theme=dark] .site-header{background:rgba(11,23,28,.97)}
html[data-theme=dark] .nav-link{color:#d3e9de}
html[data-theme=dark] .hero{background:radial-gradient(ellipse at 88% 56%,#16272c 0,transparent 42%)}
html[data-theme=dark] .status-dot{background:#afc1b8;box-shadow:0 0 0 4px #16272c}
html[data-theme=dark] .serif{color:#afc1b8}
html[data-theme=dark] .hero-copy>p{color:#afc1b8}
html[data-theme=dark] .play-icon{border:1px solid #16272c}
html[data-theme=dark] .hero-assurance{color:#afc1b8}
html[data-theme=dark] .hero-note{border-left:1px solid #16272c}
html[data-theme=dark] .sparkle{color:#afc1b8}
html[data-theme=dark] .hero-note p{color:#afc1b8}
html[data-theme=dark] .dashboard{background:#16272c;border:1px solid #16272c;box-shadow:0 22px 45px -20px #d3e9de3f}
html[data-theme=dark] .dash-sidebar{background:#16272c;border-right:1px solid #16272c}
html[data-theme=dark] .workspace-label{background:#16272c;border:1px solid #16272c}
html[data-theme=dark] .dash-sidebar>small{color:#afc1b8}
html[data-theme=dark] .dash-sidebar>div:not(.mini-brand):not(.workspace-label):not(.side-bottom){color:#afc1b8}
html[data-theme=dark] .dash-sidebar>div.side-active{background:#16272c}
html[data-theme=dark] .side-bottom small{color:#afc1b8}
html[data-theme=dark] .dash-topbar{border-bottom:1px solid #16272c}
html[data-theme=dark] .muted{color:#afc1b8}
html[data-theme=dark] .avatar{background:#16272c;color:#afc1b8}
html[data-theme=dark] .dash-content{background:#16272c}
html[data-theme=dark] .dash-heading p{color:#afc1b8}
html[data-theme=dark] .sample-label{border:1px solid #16272c;color:#afc1b8}
html[data-theme=dark] .metric-grid>div{border:1px solid #16272c;background:#16272c}
html[data-theme=dark] .metric-grid>div>span{color:#afc1b8}
html[data-theme=dark] .metric-grid strong small{background:#16272c;color:#afc1b8}
html[data-theme=dark] .metric-grid p{color:#afc1b8}
html[data-theme=dark] .mini-bars i{background:#16272c}
html[data-theme=dark] .mini-bars i:last-child{background:#afc1b8}
html[data-theme=dark] .second i{background:#16272c}
html[data-theme=dark] .avatar-stack span{background:#16272c;border:2px solid #16272c}
html[data-theme=dark] .avatar-stack span:nth-child(2){background:#16272c}
html[data-theme=dark] .avatar-stack span:nth-child(3){background:#16272c}
html[data-theme=dark] .chart-panel,html[data-theme=dark] .visits-panel{border:1px solid #16272c;background:#16272c}
html[data-theme=dark] .panel-title>span{color:#afc1b8}
html[data-theme=dark] .chart-key{color:#afc1b8}
html[data-theme=dark] .chart-key i{background:#afc1b8}
html[data-theme=dark] .chart-key i:nth-child(2){background:#16272c}
html[data-theme=dark] .chart{background:repeating-linear-gradient(to top,#16272c 0,#16272c 1px,transparent 1px,transparent 30px)}
html[data-theme=dark] .chart-lines{color:#afc1b8}
html[data-theme=dark] .chart-days{color:#afc1b8}
html[data-theme=dark] .visit{border-bottom:1px solid #16272c}
html[data-theme=dark] .visit small{color:#afc1b8}
html[data-theme=dark] .pill{color:#afc1b8;background:#16272c}
html[data-theme=dark] .waiting{background:#16272c;color:#afc1b8}
html[data-theme=dark] .peach{background:#16272c;color:#afc1b8}
html[data-theme=dark] .lilac{background:#16272c;color:#afc1b8}
html[data-theme=dark] .blue{background:#16272c;color:#afc1b8}
html[data-theme=dark] .floating-note{background:#16272c;border:1px solid #16272c;box-shadow:0 8px 30px #d3e9de15}
html[data-theme=dark] .floating-note>span{background:#16272c}
html[data-theme=dark] .floating-note small{color:#afc1b8}
html[data-theme=dark] .scene-caption{color:#afc1b8}
html[data-theme=dark] .audience-strip p{color:#afc1b8}
html[data-theme=dark] .audience-strip .container>div{color:#afc1b8}
html[data-theme=dark] p{color:#afc1b8}
html[data-theme=dark] .feature-card{background:#16272c}
html[data-theme=dark] .feature-icon{background:#16272c}
html[data-theme=dark] .feature-wide{background:#16272c}
html[data-theme=dark] .patient-preview{background:#16272c;border:1px solid #16272c;box-shadow:0 12px 25px #afc1b80c}
html[data-theme=dark] .patient-head small{color:#afc1b8}
html[data-theme=dark] .patient-tabs{color:#afc1b8}
html[data-theme=dark] .record small{color:#afc1b8}
html[data-theme=dark] .mint{background:#16272c}
html[data-theme=dark] .prescription-paper{background:#16272c;border:1px solid #16272c}
html[data-theme=dark] .prescription-paper i{background:#16272c}
html[data-theme=dark] .stamp{color:#afc1b8}
html[data-theme=dark] .feature-bottom{border-top:1px solid #16272c}
html[data-theme=dark] .care-section{background:#16272c}
html[data-theme=dark] .check-list li:before{color:#afc1b8}
html[data-theme=dark] .text-link{border-bottom:1px solid #afc1b8}
html[data-theme=dark] .orbit{border:1px solid #16272c}
html[data-theme=dark] .care-center{box-shadow:0 14px 30px #d3e9de20}
html[data-theme=dark] .care-center small{color:#16272c}
html[data-theme=dark] .orbit-label{background:#16272c;border:1px solid #16272c;box-shadow:0 5px 15px #d3e9de05}
html[data-theme=dark] .orbit-dot{background:#afc1b8;border:4px solid #16272c}
html[data-theme=dark] .billing-switch{background:#16272c;border:1px solid #16272c}
html[data-theme=dark] .billing-switch button{color:#afc1b8}
html[data-theme=dark] .billing-switch button.active{background:#16272c;box-shadow:0 2px 5px #d3e9de12}
html[data-theme=dark] .price-card{border:1px solid #16272c;background:#16272c}
html[data-theme=dark] .price-card.featured{background:#16272c;border:1px solid #afc1b8;box-shadow:0 9px 30px #d3e9de10}
html[data-theme=dark] .popular-label{color:#16272c}
html[data-theme=dark] .plan-symbol{color:#afc1b8}
html[data-theme=dark] .price>span{color:#afc1b8}
html[data-theme=dark] .seat-controls select{border:1px solid #16272c;background:#16272c}
html[data-theme=dark] .plan-billing{color:#afc1b8}
html[data-theme=dark] .plan-divider{background:#16272c}
html[data-theme=dark] .steps-row span{color:#afc1b8;border-bottom:1px solid #16272c}
html[data-theme=dark] .faq-section{background:#16272c}
html[data-theme=dark] .accordion-item{border-color:#16272c}
html[data-theme=dark] .accordion-body{color:#afc1b8}
html[data-theme=dark] .cta-section{color:#16272c}
html[data-theme=dark] .cta-section .eyebrow{color:#afc1b8}
html[data-theme=dark] .cta-section .serif{color:#16272c}
html[data-theme=dark] .btn-lime:hover{background:#16272c}
html[data-theme=dark] .cta-section p{color:#afc1b8}
html[data-theme=dark] .cta-flower{color:#d3e9de}
html[data-theme=dark] .footer-bottom{color:#afc1b8}
html[data-theme=dark] .skip-link{background:#16272c}
html[data-theme=dark] .auth-topline{color:#afc1b8}
html[data-theme=dark] .form-panel{background:#16272c}
html[data-theme=dark] .wizard-steps li{color:#afc1b8}
html[data-theme=dark] .wizard-steps li span{border:1px solid #16272c}
html[data-theme=dark] .wizard-steps li.active span,html[data-theme=dark] .wizard-steps li.done span{color:#16272c}
html[data-theme=dark] .form-control,html[data-theme=dark] .form-select{border-color:#16272c;background:#16272c}
html[data-theme=dark] .form-control:focus,html[data-theme=dark] .form-select:focus{border-color:#afc1b8;box-shadow:0 0 0 3px #16272c70}
html[data-theme=dark] .form-text{color:#afc1b8}
html[data-theme=dark] .summary-panel{background:#16272c;border:1px solid #16272c}
html[data-theme=dark] .summary-row{color:#afc1b8}
html[data-theme=dark] .summary-total{border-top:1px solid #16272c}
html[data-theme=dark] .verification-box{background:#16272c}
html[data-theme=dark] .trial-callout{background:#16272c}
html[data-theme=dark] .success-mark{background:#16272c}
html[data-theme=dark] .account-card{background:#16272c}
html[data-theme=dark] .trial-progress{background:#16272c}
html[data-theme=dark] .trial-progress span{background:#afc1b8}
html[data-theme=dark] .trial-badge{background:#16272c}
html[data-theme=dark] .field-error{color:#d3e9de}
html[data-theme=dark] #signup-form input[readonly]{ background: #16272c; color: #afc1b8}
html[data-theme=dark] .dial-picker{ border:1px solid #16272c; background:#16272c}
html[data-theme=dark] .dial-picker img,html[data-theme=dark] .location-option img{ border:1px solid #16272c}
html[data-theme=dark] .location-option{ border:1px solid #16272c; background:#16272c}
html[data-theme=dark] .location-option:hover,html[data-theme=dark] .location-option.selected{ background:#16272c}
html[data-theme=dark] .location-option small{ color:#afc1b8}
html[data-theme=dark] .location-modal .modal-footer>small{ color:#afc1b8}
html[data-theme=dark] .dob-steps{ color:#afc1b8}
html[data-theme=dark] .dob-steps li{ border-bottom:2px solid #16272c}
html[data-theme=dark] .dob-option{ border:1px solid #16272c; background:#16272c}
html[data-theme=dark] .dob-option:hover,html[data-theme=dark] .dob-option[aria-pressed="true"]{ background:#16272c; border-color:#afc1b8}
html[data-theme=dark] .dob-weekday{ color:#afc1b8}
html[data-theme=dark] .password-toggle{ color:#afc1b8}
html[data-theme=dark] .password-toggle:hover{ background:#16272c}
/* Theme control is always available, including outside the collapsed mobile navigation. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 11px;margin-left:20px;border:1px solid #d7e2ce;border-radius:7px;background:#f0f5e9;color:#245443;font-size:11px;line-height:1.3;white-space:nowrap}.theme-toggle svg{width:16px;height:16px}.theme-toggle:hover{background:#e2eed7}
html[data-theme=dark] body{background:#0b171c;color:#edf5f1}
html[data-theme=dark] .hero{background:radial-gradient(ellipse at 85% 45%,#1d382e 0,transparent 65%),#0b171c}
html[data-theme=dark] .site-header{background:rgba(11,23,28,.97);border-color:#2d4143}
html[data-theme=dark] :is(.theme-toggle,.dial-picker,.seat-controls select){background:#1a3032;border-color:#34504a;color:#d7eddf}
html[data-theme=dark] :is(.btn-primary,.billing-switch button.active,.wizard-steps li.active span,.wizard-steps li.done span){background:#65ce8d;border-color:#65ce8d;color:#0b2416;--bs-btn-bg:#65ce8d;--bs-btn-border-color:#65ce8d;--bs-btn-color:#0b2416;--bs-btn-hover-bg:#8be4aa;--bs-btn-hover-border-color:#8be4aa;--bs-btn-hover-color:#0b2416;--bs-btn-disabled-bg:#446451;--bs-btn-disabled-border-color:#446451;--bs-btn-disabled-color:#aab9ae}
html[data-theme=dark] .btn-primary:hover{background:#8be4aa;color:#0b2416}
html[data-theme=dark] .btn-primary:disabled{background:#446451;border-color:#446451;color:#aab9ae}
html[data-theme=dark] .btn-outline-primary{--bs-btn-color:#bce9c8;--bs-btn-border-color:#5c8c70;--bs-btn-hover-bg:#234c36;--bs-btn-hover-color:#e4f6e9;--bs-btn-hover-border-color:#78b98d;--bs-btn-active-bg:#234c36}
html[data-theme=dark] :is(.summary-panel,.price-card.featured,.verification-box,.trial-callout,.care-section,.feature-wide){background:#142d25;border-color:#345143}
html[data-theme=dark] :is(.form-control,.form-select,.location-option,.dob-option,.modal-content){background-color:#15272c;color:#e6f2eb;border-color:#354c48}
html[data-theme=dark] :is(.modal-header,.modal-footer){border-color:#354c48}
html[data-theme=dark] :is(.form-control::placeholder,.form-select::placeholder){color:#a6b9ae;opacity:1}
html[data-theme=dark] :is(.form-control:focus,.form-select:focus){background-color:#192f31;color:#edf5f1;border-color:#79d99a;box-shadow:0 0 0 3px #79d99a22}
html[data-theme=dark] :is(.location-option:hover,.location-option.selected,.dob-option:hover,.dob-option[aria-pressed=true],.password-toggle:hover){background:#254937;color:#cbf2d7;border-color:#6ab487}
html[data-theme=dark] #signup-form input[readonly]{background:#20362f;color:#c7dbcf}
html[data-theme=dark] :is(.form-check-input:checked,.trial-progress span){background-color:#65ce8d;border-color:#65ce8d}
html[data-theme=dark] :is(.status-dot,.orbit-dot){background:#76df98}
html[data-theme=dark] :is(.feature-icon,.success-mark,.trial-badge,.floating-note>span,.popular-label,.pill,.metric-grid strong small){background:#254937;color:#b8eec6}
html[data-theme=dark] .waiting{background:#49402a;color:#f0d89a}
html[data-theme=dark] .cta-section{background:#133b2b;color:#f0f8ed}
html[data-theme=dark] .cta-section .serif{color:#b9e6a0}
html[data-theme=dark] .btn-lime{background:#b9e6a0;color:#142e19}
html[data-theme=dark] .btn-lime:hover{background:#d3f4bd;color:#142e19}
html[data-theme=dark] .care-center{background:#234c36;color:#b7ebbf}
html[data-theme=dark] .chart{background:repeating-linear-gradient(to bottom,transparent 0,transparent 33px,#2d4143 34px)}
html[data-theme=dark] .chart path[stroke]{stroke:#7cda9c}
html[data-theme=dark] .chart path[stroke-dasharray]{stroke:#c0e995}
html[data-theme=dark] .chart stop{stop-color:#62c58b}
html[data-theme=dark] .mini-bars i{background:#376d4f}
html[data-theme=dark] .mini-bars i:last-child{background:#9cdfa9}
html[data-theme=dark] a:hover{color:#99e2ae}
html[data-theme=dark] :is(.alert-danger,.field-error){color:#ffc2b8}
html[data-theme=dark] .alert-danger{background:#3a2226;border-color:#71454a}
html[data-theme=dark] :is(button:focus-visible,a:focus-visible){outline-color:#8fe5aa}
@media(max-width:991px){.theme-toggle{margin-left:auto;margin-right:10px}.theme-toggle span{display:none}.theme-toggle{width:38px;padding:8px}.navbar-toggler{padding:6px}}

/* Icon-only theme switch at the right edge of the navigation. */
.site-header .theme-toggle{width:38px;height:38px;min-width:38px;padding:8px;margin-left:12px;margin-right:0;flex-shrink:0}
@media(max-width:991px){.site-header .navbar-toggler{order:1;margin-left:auto}.site-header .theme-toggle{order:2}.site-header #navigation{order:3}}
