.theme-toggle{display:inline-grid;flex:none;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--surface,var(--white));color:var(--ink);font:22px/1 sans-serif;cursor:pointer}
.theme-toggle:hover{border-color:var(--green)}
.theme-toggle:focus-visible{outline:3px solid var(--green);outline-offset:3px}
html[data-theme=dark]{color-scheme:dark;--paper:#0e1713;--surface:#19251f;--white:#19251f;--card:#19251f;--ink:#edf3ec;--muted:#a7b8ab;--line:#34463b;--green:#79d6a7;--deep:#dcefe2;--forest:#0b2119;--mint:#20382b;--wash:#20382b;--red:#f29b8f;--redwash:#3a2624;--orange:#ffaa72;--amber:#eac16d;--blue:#8abeeb;--violet:#bdaae8;background:var(--paper);color:var(--ink)}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] .theme-toggle{background:#24352b;color:#eaf5e9}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:var(--ink)}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#91a596}
/* Public pages, authentication and blog. */
html[data-theme=dark] nav.nav,html[data-theme=dark] header.nav{background:rgba(14,23,19,.94)}
html[data-theme=dark] .links{color:#c2d2c6}
html[data-theme=dark] .mark,html[data-theme=dark] .brand-mark{background:#236b4c;color:#c8ed77}
html[data-theme=dark] .btn:not(.secondary),html[data-theme=dark] .nav-cta,html[data-theme=dark] .site-nav .button,html[data-theme=dark] .auth-card .button,html[data-theme=dark] .cta{border-color:#236b4c;background:#236b4c;color:#fff!important}
html[data-theme=dark] .btn:not(.secondary):hover,html[data-theme=dark] .nav-cta:hover,html[data-theme=dark] .auth-card .button:hover,html[data-theme=dark] .cta:hover{background:#2c805d}
html[data-theme=dark] .btn.secondary{color:var(--ink)!important}
html[data-theme=dark] .monitor{border-color:#3b5a47;box-shadow:0 24px 65px #0005}
html[data-theme=dark] .loss-card,html[data-theme=dark] .calculator,html[data-theme=dark] .result,html[data-theme=dark] .site-item,html[data-theme=dark] .privacy-panel{border-color:var(--line);background:var(--surface)}
html[data-theme=dark] .loss-card.bad{background:#2b211f;border-color:#764942}
html[data-theme=dark] .result-panel{background:#142119}
html[data-theme=dark] .multiproject,html[data-theme=dark] .pilot-callout{background:#20382b;border-color:#42694d}
html[data-theme=dark] .example,html[data-theme=dark] .result.primary,html[data-theme=dark] .final-cta{background:#174d38;border-color:#327c59;color:#fff}
html[data-theme=dark] .range{background:linear-gradient(to right,#79d6a7 0%,#79d6a7 var(--fill,40%),#34463b var(--fill,40%),#34463b 100%)}
html[data-theme=dark] .final-cta .btn:not(.secondary){background:#c8ed77;border-color:#c8ed77;color:#174d38!important}
html[data-theme=dark] .card,html[data-theme=dark] .feature,html[data-theme=dark] .price-card,html[data-theme=dark] .plan-card,html[data-theme=dark] .auth-card,html[data-theme=dark] .preview,html[data-theme=dark] .metric,html[data-theme=dark] .faq details{border-color:var(--line);background:var(--surface);color:var(--ink)}
html[data-theme=dark] .plan-card--focus,html[data-theme=dark] .price-card.featured{border-color:#79d6a7;background:#20382b}
html[data-theme=dark] .trial-callout{background:#174d38;color:#edf3ec}
html[data-theme=dark] .trial-button{background:#edf3ec!important;color:#174d38!important}
html[data-theme=dark] .auth-card input{background:#111d17;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .comparison{border-color:var(--line);background:linear-gradient(145deg,#142119,#1b2b21)}
html[data-theme=dark] .comparison-card{border-color:var(--line);background:#19251f;box-shadow:none}
html[data-theme=dark] .comparison-card--leadproof{background:#20382b}
html[data-theme=dark] .comparison-list li{border-color:var(--line);color:var(--muted)}
html[data-theme=dark] .comparison-icon{background:#3a2624;color:#f29b8f}
html[data-theme=dark] .comparison-card--leadproof .comparison-icon{background:#284b35;color:#a8e6bd}
html[data-theme=dark] .lp-cookie-notice{border-color:var(--line);border-left-color:var(--green);background:#19251f;color:var(--ink);box-shadow:0 12px 38px #0008}
html[data-theme=dark] .lp-cookie-copy p{color:var(--muted)}
html[data-theme=dark] .lp-cookie-copy a{color:var(--green)}
html[data-theme=dark] .lp-cookie-accept{border-color:#236b4c;background:#236b4c}
/* Customer dashboard and account pages. */
html[data-theme=dark] .brand,html[data-theme=dark] .head h1,html[data-theme=dark] .head h2,html[data-theme=dark] .panel-head h2{color:var(--ink)}
html[data-theme=dark] .project-select,html[data-theme=dark] .select,html[data-theme=dark] .input,html[data-theme=dark] .button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .quota,html[data-theme=dark] .kpi,html[data-theme=dark] .panel,html[data-theme=dark] .donut-panel,html[data-theme=dark] .billing-card,html[data-theme=dark] .billing-current{background:var(--surface);border-color:var(--line)}
html[data-theme=dark] .layout .nav a.active,html[data-theme=dark] .layout .nav a:hover{background:#20382b;color:var(--ink)}
html[data-theme=dark] .button:not(.secondary):not(.danger),html[data-theme=dark] .billing-buy{background:#236b4c;border-color:#236b4c;color:#fff}
html[data-theme=dark] .kpi.primary{background:#174d38;border-color:#327c59}
html[data-theme=dark] .kpi-value,html[data-theme=dark] .donut-title,html[data-theme=dark] .donut-center,html[data-theme=dark] .empty strong,html[data-theme=dark] .site-setup h2{color:var(--ink)}
html[data-theme=dark] .bar{background:#355a43}
html[data-theme=dark] .trend{background:repeating-linear-gradient(to bottom,transparent 0,transparent 25px,#34463b 26px)}
html[data-theme=dark] .quota-track,html[data-theme=dark] .billing-meter,html[data-theme=dark] .quality-bar{background:#34463b}
html[data-theme=dark] .bot-trend-bar.zero{background:#34463b}
html[data-theme=dark] .lead-table td,html[data-theme=dark] .goal-row{border-color:var(--line)}
html[data-theme=dark] .status,html[data-theme=dark] .setup,html[data-theme=dark] .callout,html[data-theme=dark] .billing-card.selected{background:#20382b;border-color:#42694d;color:#bce7c8}
html[data-theme=dark] .status.bad,html[data-theme=dark] .callout.bad,html[data-theme=dark] .notice,html[data-theme=dark] .button.danger{background:#3a2624;border-color:#764942;color:#f29b8f}
html[data-theme=dark] .status.pending,html[data-theme=dark] .billing-pending{background:#3b3021;border-color:#786039;color:#eac16d}
html[data-theme=dark] .step{background:#192b21;border-color:#42694d}
html[data-theme=dark] .demo-project-banner,html[data-theme=dark] #visits-warning{background:#3b3021;border-color:#786039;color:#f3d491}
html[data-theme=dark] #visits-warning.exceeded{background:#3a2624;border-color:#764942;color:#f29b8f}
html[data-theme=dark] .billing-panel{background:linear-gradient(135deg,#19251f,#20382b);border-color:var(--line)}
html[data-theme=dark] .billing-buy:disabled{background:#34463b;color:var(--muted)}
html[data-theme=dark] .code{background:#0b2119}
/* Operator console. */
html[data-theme=dark] .sidebar{background:#0b2119}
html[data-theme=dark] .topbar,html[data-theme=dark] .data-table td,html[data-theme=dark] .table-footer,html[data-theme=dark] .empty-state{border-color:var(--line)}
html[data-theme=dark] .breadcrumb,html[data-theme=dark] .breadcrumb strong,html[data-theme=dark] .operator,html[data-theme=dark] .utc-clock{color:var(--muted)}
html[data-theme=dark] .period,html[data-theme=dark] select.period,html[data-theme=dark] .refresh,html[data-theme=dark] .service-strip,html[data-theme=dark] .metric-card,html[data-theme=dark] .panel{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme=dark] select.period:hover,html[data-theme=dark] .refresh:hover{background:#24352b}
html[data-theme=dark] .metric-green,html[data-theme=dark] .metric-hlr-card{background:linear-gradient(140deg,#1b3024,#20382b);border-color:#42694d}
html[data-theme=dark] .metric-icon,html[data-theme=dark] .metric-icon.icon-teal{background:#24352b;border-color:var(--line)}
html[data-theme=dark] .bot-report-bar.zero{background:#34463b}
html[data-theme=dark] .metric-number,html[data-theme=dark] .service strong,html[data-theme=dark] .cell-owner,html[data-theme=dark] .cell-domain strong,html[data-theme=dark] .data-table td,html[data-theme=dark] .payment-totals>div>strong,html[data-theme=dark] .quality-total strong,html[data-theme=dark] .quality-key strong{color:var(--ink)!important}
html[data-theme=dark] .data-table thead{background:#202d24;border-color:var(--line)}
html[data-theme=dark] .data-table tbody tr:hover{background:#24352b}
html[data-theme=dark] .chart-grid{stroke:#34463b}
html[data-theme=dark] .alert-row,html[data-theme=dark] .alert-row.warn,html[data-theme=dark] .alert-row.critical{background:#202d24;border-color:var(--line)}
html[data-theme=dark] .legend-toggle{color:var(--muted)}
html[data-theme=dark] .legend-toggle.is-on{background:#24352b;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] .legend-toggle:hover,html[data-theme=dark] .legend-toggle:not(.is-on){background:#202d24;border-color:var(--line);color:var(--muted)}
html[data-theme=dark] .status-pill.succeeded,html[data-theme=dark] .tracker-pill.online{background:#20382b;border-color:#42694d;color:#a8e6bd}
html[data-theme=dark] .status-pill.pending,html[data-theme=dark] .status-pill.creating,html[data-theme=dark] .tracker-pill.offline{background:#3b3021;border-color:#786039;color:#eac16d}
html[data-theme=dark] .status-pill.canceled{background:#3a2624;border-color:#764942;color:#f29b8f}
html[data-theme=dark] .status-pill.never,html[data-theme=dark] .tracker-pill.never{background:#24352b;border-color:var(--line);color:var(--muted)}
html[data-theme=dark] .error-banner,html[data-theme=dark] .alert-count.has-alerts{background:#3a2624;border-color:#764942;color:#f29b8f}
html[data-theme=dark] .operator-avatar,html[data-theme=dark] .alert-count{background:#24352b;border-color:var(--line);color:var(--ink)}
@media(max-width:600px){.theme-toggle{width:30px;height:30px;font-size:19px}}
