/* Theme controls share the header without moving the navigation on hover. */
:root{--button-ink:#123d2b;--heading-accent:#157652;--copy:#526459;--strong-copy:#375441;--hero-bg:#f0f2ef;--hero-fade:#f0f2efaa;--soft-gradient:radial-gradient(120% 140% at 100% 0%,#c9f1df 0%,#e6f7ef 38%,#f6faf4 72%,#fcfdf9 100%);--status-bg:#dcefe1;--status-copy:#28683f;--pending-bg:#fff;--pending-copy:#4a5d6b;--status-halo:#f3f5ef}
html{color-scheme:light}
.header-actions{display:flex;align-items:center;gap:24px;margin-left:auto;min-width:0}
.theme-toggle{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);transition:background-color .2s,border-color .2s}
.theme-toggle:hover{background:var(--stone);border-color:var(--green)}
.theme-toggle svg{width:20px;height:20px;stroke-width:1.6}
.theme-sun{display:none}
.theme-image-dark{display:none}
.integration-toggle button{color:var(--copy)}
.contact-company{color:var(--strong-copy)}
summary>span{color:var(--green-dark)}
summary:hover>span,details[open] summary>span{color:var(--button-ink)}
html[data-theme="dark"] .theme-moon{display:none}
html[data-theme="dark"] .theme-sun{display:block}
@media(max-width:1200px){.header-actions{gap:16px}}
@media(max-width:1000px){.header-actions{gap:10px}}
@media(max-width:760px){.email-preview input,.email-preview textarea{font-size:16px}.receipt-portal-dialog button{min-height:44px}}
@media(max-width:360px){.menu-label{display:none}.menu-toggle{justify-content:center;min-width:44px;padding-inline:10px}.header-inner{gap:12px}}

@media screen{
  html[data-theme="dark"]{
    color-scheme:dark;
    --ink:#edf5ef;
    --muted:#adc3b5;
    --green-dark:#8fe5c7;
    --paper:#0f1c16;
    --stone:#172b22;
    --line:#365044;
    --copy:#bdd0c3;
    --strong-copy:#d7e6dc;
    --hero-bg:#10271f;
    --hero-fade:#10271fd9;
    --soft-gradient:radial-gradient(120% 140% at 100% 0%,#214737 0%,#193629 38%,#14291f 72%,#0f1c16 100%);
    --status-bg:#234837;
    --status-copy:#a1e9c7;
    --pending-bg:#283a31;
    --pending-copy:#e8d3a7;
    --status-halo:#14271e;
    --button-ink:#102e21;
    --heading-accent:#8fe5c7;
  }
  html[data-theme="dark"] p{color:var(--copy)}
  html[data-theme="dark"] .hero-art{background:#edf1ea}
  html[data-theme="dark"] .hero-printer{mix-blend-mode:normal}
  html[data-theme="dark"] .hero-art::after{background:linear-gradient(90deg,var(--hero-bg) 0%,var(--hero-fade) 12%,transparent 48%)}
  html[data-theme="dark"] .hero .eyebrow{color:var(--green-dark)}
  html[data-theme="dark"] .hero-lead{color:var(--copy)}
  html[data-theme="dark"] .nav-contact{border-color:#476454}
  html[data-theme="dark"] .nav-contact:hover{background:#213e30}
  html[data-theme="dark"] .primary{color:#102e21}
  html[data-theme="dark"] .skip-link{background:#8fe5c7;color:#102e21}
  html[data-theme="dark"] .product-copy .eyebrow{color:#8fe5c7}
  html[data-theme="dark"] .manufacturer-copy>p:last-child,
  html[data-theme="dark"] .partner-notes strong,
  html[data-theme="dark"] .about-copy .large-copy{color:var(--strong-copy)}
  html[data-theme="dark"] .partner-notes p{border-color:var(--line);color:var(--copy)}
  html[data-theme="dark"] .partner-notes p span{color:#8fe5c7}
  html[data-theme="dark"] .device-view-label,
  html[data-theme="dark"] .device-caption{color:var(--muted)}
  html[data-theme="dark"] .integration-toggle{background:#1b3328}
  html[data-theme="dark"] .integration-toggle button{color:var(--muted)}
  html[data-theme="dark"] .integration-toggle button[aria-pressed="true"]{background:#31503f;color:var(--ink);box-shadow:none}
  html[data-theme="dark"] .integration-diagram{background:#172c22}
  html[data-theme="dark"] .integration-node{background:#203a2d;border-color:#486b57}
  html[data-theme="dark"] .integration-node.is-active{border-color:var(--green)}
  html[data-theme="dark"] .integration-node span{color:var(--ink)}
  html[data-theme="dark"] .integration-node svg{stroke:#8fe5c7}
  html[data-theme="dark"] .integration-route{color:#486354}
  html[data-theme="dark"] .integration-route.is-active{color:#5bd8ae}
  html[data-theme="dark"] .integration-route-label{fill:#a3bcae}
  html[data-theme="dark"] .integration-route.is-active .integration-route-label{fill:#8fe5c7}
  html[data-theme="dark"] .integration-mode-info{background:#192f24;border-color:var(--line)}
  html[data-theme="dark"] .integration-mode-info>strong{color:var(--ink)}
  html[data-theme="dark"] .integration-mode-info>span{color:#8fe5c7}
  html[data-theme="dark"] .integration-mode-info>p,
  html[data-theme="dark"] .integration-features p{color:var(--copy)}
  html[data-theme="dark"] .customer-display{background:#152c22}
  html[data-theme="dark"] .theme-image-light{display:none}
  html[data-theme="dark"] .theme-image-dark{display:block}
  html[data-theme="dark"] .customer-display-copy>p:not(.eyebrow){color:var(--strong-copy)}
  html[data-theme="dark"] .customer-display-copy>.button,
  html[data-theme="dark"] .partner-contact-cta>.button{background:var(--green);color:#102e21}
  html[data-theme="dark"] .customer-display-copy>.button:hover,
  html[data-theme="dark"] .partner-contact-cta>.button:hover{background:#5bd8ae}
  html[data-theme="dark"] .customer-display-visual figcaption,
  html[data-theme="dark"] .display-features dd,
  html[data-theme="dark"] .developer-source{color:var(--muted)}
  html[data-theme="dark"] .display-features,
  html[data-theme="dark"] .display-features>div,
  html[data-theme="dark"] .partner-steps li,
  html[data-theme="dark"] .partner-actions,
  html[data-theme="dark"] .partner-overview,
  html[data-theme="dark"] .heritage-sales,
  html[data-theme="dark"] .regulation-link{border-color:var(--line)}
  html[data-theme="dark"] .partner-overview-copy>p:not(.partner-pdf-meta),
  html[data-theme="dark"] .pricing-note p,
  html[data-theme="dark"] .heritage-history>div>span,
  html[data-theme="dark"] .heritage-sales>div>span{color:var(--copy)}
  html[data-theme="dark"] .partner-download:hover{background:#8fe5c7;color:#102e21}
  html[data-theme="dark"] .partner-pdf-preview img{box-shadow:0 8px 24px #0004}
  html[data-theme="dark"] .assurance{background:#14271e}
  html[data-theme="dark"] .regulation-link{color:var(--muted)}
  html[data-theme="dark"] .regulation-link:hover{color:#8fe5c7}
  html[data-theme="dark"] summary>span{color:var(--muted)}
  html[data-theme="dark"] summary:hover>span,
  html[data-theme="dark"] details[open] summary>span{color:#102e21}
  html[data-theme="dark"] .contact{background:#193729}
  html[data-theme="dark"] .contact .eyebrow{color:#8fe5c7}
  html[data-theme="dark"] .contact-copy>p:not(.eyebrow){color:var(--copy)}
  html[data-theme="dark"] .contact-company,
  html[data-theme="dark"] .form-note{color:var(--muted)}
  html[data-theme="dark"] .field label{color:#d7e6dc}
  html[data-theme="dark"] .field input,
  html[data-theme="dark"] .field textarea,
  html[data-theme="dark"] .field select{color:var(--ink);border-color:#638571}
  html[data-theme="dark"] .field input::placeholder,
  html[data-theme="dark"] .field textarea::placeholder{color:#adc3b5}
  html[data-theme="dark"] .field input:focus,
  html[data-theme="dark"] .field textarea:focus,
  html[data-theme="dark"] .field select:focus{border-color:#8fe5c7}
  html[data-theme="dark"] .field select option{background:#193729;color:var(--ink)}
  html[data-theme="dark"] .contact-form>.dark-button{background:var(--green)!important;color:#102e21!important}
  html[data-theme="dark"] .contact-form>.dark-button:hover{background:#5bd8ae!important}
  html[data-theme="dark"] .email-preview{border-color:#638571}
  html[data-theme="dark"] .email-preview input,
  html[data-theme="dark"] .email-preview textarea{background:#12271c;border-color:#638571;color:var(--ink)}
  html[data-theme="dark"] #form-status{color:#c9e6d4;border-color:#8fe5c7}
  /* Receipts, documentation screenshots and photos keep their original colors. */
  html[data-theme="dark"] .receipt-demo,
  html[data-theme="dark"] .receipt-portal-dialog{color:#edf5ef}
  html[data-theme="dark"] .receipt-products button{color:#edf5ef}
  html[data-theme="dark"] .receipt-products button:disabled{color:#9ab5a7}
  html[data-theme="dark"] .receipt-paper-empty{color:#6a6a60}
  html[data-theme="dark"] .receipt-paper-finish p{color:#161616}
  html[data-theme="dark"] .receipt-demo .receipt-item-note{color:#6a6a60}
  html[data-theme="dark"] .receipt-demo-status,
  html[data-theme="dark"] .receipt-demo-heading>p:last-child,
  html[data-theme="dark"] .receipt-portal-copy>p:not(.eyebrow){color:#b9d0c4}
  html[data-theme="dark"] .receipt-cart-empty,
  html[data-theme="dark"] .receipt-demo-disclosure,
  html[data-theme="dark"] .receipt-portal-gallery>p{color:#adc3b5}
  html[data-theme="dark"] .receipt-demo .eyebrow{color:#75dbb1}
  html[data-theme="dark"] .receipt-portal-copy>.developer-source{color:#adc3b5}
  html[data-theme="dark"] .footer-top>p{color:#b0c7b4}
  html[data-theme="dark"] .company-details p{color:#bbd0c1}
  html[data-theme="dark"] .back-top{background:rgb(35 71 53 / 80%);border-color:rgb(99 133 113 / 80%)}
  @media(hover:hover){html[data-theme="dark"] .back-top:hover{background:rgb(49 93 70 / 80%)}}
  html[data-theme="dark"] .back-top:active{background:#157652}
  @media(max-width:1000px){
    html[data-theme="dark"] .hero-art{background:#edf1ea}
    html[data-theme="dark"] .hero-art::after{background:linear-gradient(180deg,var(--hero-bg) 0%,transparent 35%)}
  }
}
@media print{html{color-scheme:light}.theme-toggle{display:none}}
