/* Theme switch and the dark forest palette. Light theme stays in the page styles. */
.theme-toggle{position:relative;display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line,#dce3dc);border-radius:999px;background:transparent;color:var(--ink,#183a2d);flex:none;line-height:0;overflow:visible;cursor:pointer}
.theme-toggle svg{position:absolute;left:50%;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);overflow:visible}
.theme-toggle .theme-toggle__moon{display:block}
.theme-toggle .theme-toggle__sun{display:none}
html[data-theme="dark"] .theme-toggle .theme-toggle__moon{display:none}
html[data-theme="dark"] .theme-toggle .theme-toggle__sun{display:block}
.theme-toggle:hover{border-color:#183a2d}
.theme-toggle:focus-visible{outline:3px solid #83b83e;outline-offset:4px}
.headbar>.theme-toggle--bar{margin-left:22px}
nav>.theme-toggle--bar{margin-left:12px;margin-right:auto}
.site-drawer__heading{display:flex;align-items:center;gap:10px;min-height:32px;margin:0;padding-right:40px}
.site-drawer__heading .site-drawer__label{margin:0;padding-right:0}
.theme-toggle--menu{width:32px;height:32px}
.theme-toggle--menu svg{width:14px;height:14px}
@media(max-width:850px){
  .headbar>.theme-toggle--bar{display:none}
}
@media(min-width:851px){
  .theme-toggle--menu{display:none}
}
@media(prefers-reduced-motion:reduce){
  .theme-toggle{transition:none}
}

html[data-theme="dark"]{color-scheme:dark;--ink:#e7f2ea;--muted:#9aafa2;--line:#2c4036;--paper:#101915;--lime:#c6ef90;--bg:#101915;--green:#c6ef90;--deep:#c6ef90;--white:#1a2620;--ze-bg:#101915;--ze-ink:#e7f2ea;--ze-muted:#9aafa2;--ze-line:#2c4036}
html[data-theme="dark"] body{background:#101915!important;color:#e7f2ea!important}
html[data-theme="dark"] header{background:rgba(16,25,21,.88)!important;border-bottom-color:#2c4036!important}
html[data-theme="dark"] .logo,
html[data-theme="dark"] .brand-name{color:#f4f7f2!important}
html[data-theme="dark"] .navlinks a:not(.btn){color:#e7f2ea}
html[data-theme="dark"] .navlinks a:not(.btn):hover{color:#c6ef90}
html[data-theme="dark"] .btn{background:#c6ef90!important;border-color:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] .btn:hover{background:#d7f6aa!important;border-color:#d7f6aa!important}
html[data-theme="dark"] .btn.light{background:transparent!important;border-color:#3d5648!important;color:#e7f2ea!important}
html[data-theme="dark"] .btn.light:hover{background:#1c2b23!important;border-color:#c6ef90!important;color:#e7f2ea!important}
html[data-theme="dark"] .theme-toggle{border-color:#3d5648;color:#e7f2ea}
html[data-theme="dark"] .theme-toggle:hover{border-color:#c6ef90;color:#c6ef90}
html[data-theme="dark"] .pill{background:transparent!important;border-color:#3d5648!important;color:#e7f2ea!important}
html[data-theme="dark"] .pill:hover{background:#c6ef90!important;border-color:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] .footer{border-top-color:#2c4036!important}
html[data-theme="dark"] .footer small,
html[data-theme="dark"] .footer-doc{color:#9aafa2!important}
html[data-theme="dark"] .footer-doc:hover{color:#e7f2ea!important}
html[data-theme="dark"] .to-top{background:rgba(16,25,21,.82)!important;border-color:#3d5648!important;color:#e7f2ea!important;box-shadow:none!important}
html[data-theme="dark"] .to-top:hover{background:#1c2b23!important}

html[data-theme="dark"] .site-menu__veil{background:#06110c!important}
html[data-theme="dark"] .site-drawer__panel{background:rgba(16,25,21,.92)!important;border-color:#3d5648!important;box-shadow:none!important}
html[data-theme="dark"] .site-menu.is-open .site-drawer__panel{background:rgba(16,25,21,.96)!important;border-color:#2c4036!important}
html[data-theme="dark"] .site-drawer__bar{background:#e7f2ea!important}
html[data-theme="dark"] .site-drawer__label,
html[data-theme="dark"] .site-drawer__link{color:#e7f2ea!important}
html[data-theme="dark"] .site-drawer__dot{background:#c6ef90}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3{color:inherit}
html[data-theme="dark"] h1 em{color:#c5d7c0!important}
html[data-theme="dark"] .hero-bottom p,
html[data-theme="dark"] .sectionhead p,
html[data-theme="dark"] .tiny,
html[data-theme="dark"] .eyebrow{color:#9aafa2}
html[data-theme="dark"] .hero-kicker,
html[data-theme="dark"] .pill-kicker{background:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] .terrain-bg{background:radial-gradient(ellipse at 78% 43%,#1d3324 0%,transparent 68%)!important}
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .hero-bottom p{text-shadow:none!important}

html[data-theme="dark"] .dashboard,
html[data-theme="dark"] .tablecard,
html[data-theme="dark"] .planbox,
html[data-theme="dark"] dialog{background:#1a2620!important;border-color:#2c4036!important;color:#e7f2ea!important}
html[data-theme="dark"] .dashside,
html[data-theme="dark"] .chart{background:#121c17!important}
html[data-theme="dark"] .dashbar,
html[data-theme="dark"] .graphpanel,
html[data-theme="dark"] .dashfoot,
html[data-theme="dark"] .compare th,
html[data-theme="dark"] .compare td{border-color:#2c4036!important}
html[data-theme="dark"] .badge,
html[data-theme="dark"] .route b,
html[data-theme="dark"] .compare th{background:#24382c!important;color:#c5d5cb!important}
html[data-theme="dark"] .chart-label{background:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] .status,
html[data-theme="dark"] .chartdays,
html[data-theme="dark"] .route small,
html[data-theme="dark"] .compare td{color:#b7c6bb!important}
html[data-theme="dark"] .compare td:first-child{color:#e7f2ea!important}
html[data-theme="dark"] .route:not(:last-child):after{border-left-color:#3d5648!important}

html[data-theme="dark"] .feature{background:#1c2b23!important;color:#e7f2ea!important}
html[data-theme="dark"] .feature p{color:#b7c6bb!important}
html[data-theme="dark"] .feature:nth-child(odd),
html[data-theme="dark"] .feature:nth-child(even){background:#1c2b23!important}
html[data-theme="dark"] .feature h3,
html[data-theme="dark"] .feature .mono{color:#e7f2ea!important}
html[data-theme="dark"] .stepchip,
html[data-theme="dark"] .schedule span{background:#121c17!important;border-color:#2c4036!important;color:#e7f2ea!important}
html[data-theme="dark"] .schedule .on{background:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] #setup .feature .mono{background:#ffffff14!important;border-color:#ffffff24!important;color:#e7f2ea!important}

html[data-theme="dark"] .plan{background:#1c2b23!important;border-color:#2c4036!important;color:#e7f2ea!important}
html[data-theme="dark"] .plan :is(h3,p,li,.price,.quota,.unit,small,.planhead span){color:inherit!important}
html[data-theme="dark"] .plan[data-tariff="seo_10"],
html[data-theme="dark"] .plan[data-tariff="start"]{background:#243028!important;border-color:#345041!important}
html[data-theme="dark"] #seo-plans .plan[data-tariff="seo_50"],
html[data-theme="dark"] #traffic-plans .plan[data-tariff="growth"],
html[data-theme="dark"] .plan.featured,
html[data-theme="dark"] .plan[data-tariff="seo_50"]{background:#c6ef90!important;border-color:#c6ef90!important;color:#183a2d!important}
html[data-theme="dark"] #seo-plans .plan[data-tariff="seo_100"],
html[data-theme="dark"] #traffic-plans .plan[data-tariff="scale"],
html[data-theme="dark"] .plan[data-tariff="seo_100"],
html[data-theme="dark"] .plan[data-tariff="scale"]{background:#183a2d!important;border-color:#244233!important;color:#f7faf4!important}
html[data-theme="dark"] .plan:not([data-tariff="seo_50"]):not([data-tariff="seo_100"]):not([data-tariff="scale"]) :is(.price-pill,.unit-pill){background:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] #traffic-plans .plan[data-tariff="growth"] :is(.price-pill,.unit-pill),
html[data-theme="dark"] .plan[data-tariff="seo_50"] :is(.price-pill,.unit-pill),
html[data-theme="dark"] .plan[data-tariff="seo_100"] :is(.price-pill,.unit-pill),
html[data-theme="dark"] .plan[data-tariff="scale"] :is(.price-pill,.unit-pill){background:#183a2d!important;color:#f7faf4!important}
html[data-theme="dark"] .plan[data-tariff="seo_100"] .unit-pill,
html[data-theme="dark"] .plan[data-tariff="scale"] .unit-pill{background:#c6ef90!important;color:#122117!important}

html[data-theme="dark"] .proof,
html[data-theme="dark"] .integrations,
html[data-theme="dark"] details{border-color:#2c4036!important}
html[data-theme="dark"] details p,
html[data-theme="dark"] summary:after{color:#b7c6bb!important}
html[data-theme="dark"] .end{background:#1c2b23!important;color:#e7f2ea!important}
html[data-theme="dark"] .end p{color:#b7c6bb!important}
html[data-theme="dark"] #register .end{background:#c6ef90!important;color:#183a2d!important}
html[data-theme="dark"] #register .end p,
html[data-theme="dark"] #register .end h2{color:#183a2d!important}
html[data-theme="dark"] #register .end .btn{background:#183a2d!important;border-color:#183a2d!important;color:#f7faf4!important}

html[data-theme="dark"] .zb-insights{--zb-ink:#e7f2ea;--zb-muted:#9aafa2;--zb-line:#2c4036;color:#e7f2ea}
html[data-theme="dark"] .zb-insights__card{background:#1c2b23!important;border-color:#2c4036!important;color:#e7f2ea!important}
html[data-theme="dark"] .zb-insights__card--positions{background:#183a2d!important;border-color:#244233!important;color:#f7faf4!important}
html[data-theme="dark"] .zb-insights__icon{background:#121c17!important;border-color:#2c4036!important;color:#c6ef90!important}

html[data-theme="dark"] .zb-editorial{--ze-bg:#101915;--ze-ink:#e7f2ea;--ze-muted:#9aafa2;--ze-line:#2c4036;color:#e7f2ea}
html[data-theme="dark"] .zb-editorial__topic{border-color:#3d5648;color:#e7f2ea}
html[data-theme="dark"] .zb-editorial__topic[aria-current="page"]{background:#c6ef90!important;border-color:#c6ef90!important;color:#122117!important}
html[data-theme="dark"] .zb-editorial__aside,
html[data-theme="dark"] .zb-editorial__article-header{border-color:#2c4036}

html[data-theme="dark"] .lead-panel{background:#1a2620!important;color:#e7f2ea!important;border-color:#2c4036!important}
html[data-theme="dark"] .lead-fab{background:#c6ef90!important;color:#122117!important;border-color:#c6ef90!important}
html[data-theme="dark"] input:not([type="checkbox"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select{background:#121c17!important;color:#e7f2ea!important;border-color:#2c4036!important}
html[data-theme="dark"] .panel p,
html[data-theme="dark"] .panel .lead,
html[data-theme="dark"] .narrow .lead,
html[data-theme="dark"] main.wrap article p,
html[data-theme="dark"] main.wrap article li{color:#c5d5cb!important}
html[data-theme="dark"] main.wrap article h1,
html[data-theme="dark"] main.wrap article h2,
html[data-theme="dark"] main.wrap article h3,
html[data-theme="dark"] .panel h1{color:#e7f2ea!important}
html[data-theme="dark"] .zb-query-card,
html[data-theme="dark"] .zb-query-card h3{color:var(--q-ink)!important}
html[data-theme="dark"] .zb-query-card p,
html[data-theme="dark"] .zb-query-card__number,
html[data-theme="dark"] .zb-query-card__footer{color:var(--q-muted)!important}
html[data-theme="dark"] .zb-editorial__card,
html[data-theme="dark"] .zb-editorial__card-link,
html[data-theme="dark"] .zb-editorial__card-title{color:var(--card-ink)!important}
html[data-theme="dark"] .zb-editorial__card-description,
html[data-theme="dark"] .zb-editorial__category,
html[data-theme="dark"] .zb-editorial__card-bottom{color:var(--card-muted)!important}
html[data-theme="dark"] .eyebrow{color:#b7d48a!important}
html[data-theme="dark"] .shot img{background:#121c17!important;border-color:#2c4036!important}
html[data-theme="dark"] dialog::backdrop{background:#06110ccc!important}
