.theme-toggle{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border:1px solid var(--line,#d9e2d8);border-radius:50%;background:var(--paper,#f8faf7);color:var(--ink,#163e35);cursor:pointer;vertical-align:middle}
.theme-toggle svg{display:block;width:21px;height:21px}.theme-toggle:hover{background:var(--field,#e9f0e7)}.theme-toggle:focus-visible{outline:3px solid var(--accent,#163e35);outline-offset:4px}.site-header{gap:clamp(12px,2vw,28px)}.site-header nav,.top nav{margin-left:auto}.top{gap:20px}main>.theme-toggle{float:right;margin:0 0 20px 16px}
:root[data-theme=dark]{color-scheme:dark;--paper:#101b17;--white:#17271f;--ink:#edf5ed;--body:#d1ded3;--muted:#a7bdaf;--field:#20382c;--field-deep:#294b38;--accent:#b5d797;--accent-hover:#c5e6a8;--highlight:#c8eaa0;--highlight-hover:#d7f3b3;--line:#365043;--amber:#49391f;--blue:#193b50;--error:#ffb2a0;background:var(--paper);color:var(--ink);scrollbar-color:#597969 var(--paper)}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] p{color:var(--muted)}
html[data-theme=dark] .demo-section,html[data-theme=dark] .service-directory{background:#112b20;color:var(--ink)}
html[data-theme=dark] .contact-section{background:#0b1711;color:var(--ink)}
html[data-theme=dark] .everyday-section{background:var(--paper)}
html[data-theme=dark] :is(.demo-shell,.email-card,.work-example,.work-record,.contact-compose,.no-script,.pd-example-paper,.pd-field input,.pd-confirm-dialog){background:var(--white);color:var(--ink)}
html[data-theme=dark] :is(.demo-topbar,.steps,.email-titlebar,.sheet-name,.questions details,.pd-steps,.pd-search,.pd-demo-underlag,.pd-dropzone){background:var(--field)}
html[data-theme=dark] :is(.step.active,.questions details[open]){background:var(--field-deep);color:var(--ink)}
html[data-theme=dark] :is(.questions details[open] summary,.compose-to strong,.work-state){color:var(--body)}
html[data-theme=dark] :is(.primary,.pd-primary,.role-label.human,.home-primary,.button.accent,.hero-actions .primary,.contact-copy>.button,.productdata-teaser>.button){background:var(--highlight);color:#14231b}
html[data-theme=dark] :is(.primary,.pd-primary,.home-primary):not(:disabled):hover{background:var(--highlight-hover);color:#14231b}
html[data-theme=dark] :is(.light,.step:not(.active),.compose-close):hover,html[data-theme=dark] .site-header nav a:last-child:hover{background:var(--field-deep)}
html[data-theme=dark] .pilot-facts{background:var(--field);color:var(--ink)}
html[data-theme=dark] .pilot-facts p,html[data-theme=dark] .productdata-teaser{color:var(--ink)}
html[data-theme=dark] :is(.demo-section .section-heading>p,.demo-caption p,.contact-copy>p,.contact-person>span,.footer-meta,.footer-meta details p,.service-heading>p,.productdata-teaser p,.productdata-teaser small){color:var(--body)}
html[data-theme=dark] :is(.role-label.customer,.avatar){background:var(--field-deep);color:var(--body)}
html[data-theme=dark] :is(th,.pd-product-table th){background:var(--field);color:var(--muted)}
html[data-theme=dark] :is(.draft-input,.compose-field input,.compose-field textarea,.pd-field input,.wide input,select){background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:var(--muted)}
html[data-theme=dark] .follow-card>.button{background:var(--white);color:var(--ink)}
html[data-theme=dark] .follow-line{border-color:var(--line)}
html[data-theme=dark] :is(.button:disabled,.pd-button:disabled){background:var(--field-deep);color:var(--muted)}
html[data-theme=dark] .amber{background:var(--amber);color:#f4d392}
html[data-theme=dark] :is(.sage,.pd-status.is-approved,.pd-download-done){background:#203d2c;color:#bce4b8}
html[data-theme=dark] .blue{background:var(--blue);color:#aad5fa}
html[data-theme=dark] .contact-status[data-state=success]{color:#bce4b8}
html[data-theme=dark] .productdata-page{--pd-warning:#f4d392;--pd-warn-fill:#49391f;--pd-good:#bce4b8;--pd-error:#ffb2a0}
html[data-theme=dark] :is(.pd-demo-page .pd-field input[readonly],.pd-field input:disabled){background:var(--field);color:var(--ink)}
html[data-theme=dark] :is(.pd-field input[aria-invalid=true],.pd-demo-page .pd-field input[readonly][aria-invalid=true]){background:var(--amber);border-color:#a88b4c}
html[data-theme=dark] .pd-message.is-error{background:#482a23;color:var(--pd-error)}
html[data-theme=dark] .pd-status{background:var(--field);color:var(--body)}
html[data-theme=dark] .pd-status.is-issue{background:var(--pd-warn-fill);color:var(--pd-warning)}
html[data-theme=dark] .pd-status.is-approved{background:#203d2c;color:#bce4b8}
html[data-theme=dark] .pd-product-table tr:hover td{background:var(--field)}
html[data-theme=dark] .pd-product-table tr.is-selected td,html[data-theme=dark] .pd-product-table tr.is-selected:hover td{background:var(--field-deep)}
html[data-theme=dark] .pd-filters button:hover{background:var(--field-deep)}
html[data-theme=dark] .pd-candidates button:hover{background:#5a4828}
html[data-theme=dark] .pd-steps button:disabled{color:var(--muted)}
html[data-theme=dark] .pd-steps [aria-current] button>span{background:var(--highlight);color:#14231b;border-color:var(--highlight)}
html[data-theme=dark] :is(.cards article,.panel){background:var(--white);border-color:var(--line)}
html[data-theme=dark] :is(.cards small,.eyebrow,footer,.key){color:var(--muted)}
html[data-theme=dark] :is(.top,.chart,td,th){border-color:var(--line)}
html[data-theme=dark] .bar.email,html[data-theme=dark] .dot{background:#b9df91}
html[data-theme=dark] .bar.other,html[data-theme=dark] .dot.other{background:#4b785f}
html[data-theme=dark] :is(.login a,.top nav a,.note a,footer a){color:var(--accent)}
html[data-theme=dark] .login a.button{background:var(--highlight);color:#14231b}
html[data-theme=dark] ::selection{background:var(--highlight);color:#14231b}
@media(max-width:600px){.site-header,.top{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:12px}.site-header .brand,.top>.brand{grid-column:1;grid-row:1;min-width:0}.site-header nav,.top nav{grid-column:1/-1;grid-row:2;margin:0;width:100%}.site-header>.theme-toggle,.top>.theme-toggle{grid-column:2;grid-row:1;justify-self:end}.top nav{justify-content:space-between}}
