html[data-theme="dark"]{color-scheme:dark;--ink:#f5f2fb;--muted:#aaa5b5;--line:#3b3748;--paper:#15131d;--white:#211f2a;--blue:#21374f;--lilac:#302b4a;--sand:#4a3929;--shadow:0 20px 70px rgba(0,0,0,.28)}
.theme-toggle{width:34px;height:34px;border:1px solid #ded9e7;background:#fff;color:#67616f;border-radius:50%;padding:0;display:inline-grid;place-items:center;font:600 17px/1 'DM Sans',sans-serif;cursor:pointer;transition:.2s ease}.theme-toggle:hover{border-color:var(--purple);color:var(--purple)}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
/* Keep the brand mark independent of the page text color. */
.brand-mark{background:#1b1b22}
html[data-theme="dark"] .brand-mark{background:#30263f;box-shadow:inset 0 0 0 1px #76638f}
html[data-theme="dark"] .brand-mark span{background:#faf7ff}
html[data-theme="dark"] .brand-mark span:nth-child(2){background:#b9a4ff}
html[data-theme="dark"] .site-nav,html[data-theme="dark"] .dashboard-home-link{color:#b7b1c1}
html[data-theme="dark"] .theme-toggle{background:#292633;color:#d8d1e6;border-color:#4b4558}
html[data-theme="dark"] .proof-strip,html[data-theme="dark"] .site-footer{border-color:#3b3748}
html[data-theme="dark"] .activation-card,html[data-theme="dark"] .floating-pill{background:rgba(36,33,47,.9);border-color:#484253;color:#d4cedd}
html[data-theme="dark"] .request-line{border-color:#393542;color:#bbb4c5}html[data-theme="dark"] .request-key{color:#878090}html[data-theme="dark"] .card-result{background:#2c2748}html[data-theme="dark"] .device-chip{background:#183b2b}
html[data-theme="dark"] .feature-blue{background:#20364d}html[data-theme="dark"] .feature-lilac{background:#302b4a}html[data-theme="dark"] .feature-sand{background:#4a3929}html[data-theme="dark"] .feature-card p{color:#c1bac9}
html[data-theme="dark"] .dashboard-mockup{border-color:#3b3748;background:#211f2a}html[data-theme="dark"] .mock-sidebar{background:#1b1924;border-color:#3b3748;color:#aca5b5}html[data-theme="dark"] .mock-logo,html[data-theme="dark"] .mock-workspace{color:#eee9f5}html[data-theme="dark"] .mock-workspace,html[data-theme="dark"] .mock-content{background:#211f2a;border-color:#3b3748}html[data-theme="dark"] .mock-nav .active{background:#302b4a;color:#c9bfff}html[data-theme="dark"] .stat,html[data-theme="dark"] .activity-card,html[data-theme="dark"] .recent-card{border-color:#3b3748;background:#25222f}html[data-theme="dark"] .request-line,html[data-theme="dark"] .recent-item{border-color:#393542}html[data-theme="dark"] .chart-grid{background:repeating-linear-gradient(to bottom,transparent 0,transparent 24px,#393542 25px);border-color:#393542}
html[data-theme="dark"] .dashboard-body .dashboard-header{border-color:#3b3748}html[data-theme="dark"] .workspace-preview,html[data-theme="dark"] .form-card,html[data-theme="dark"] .control-card{background:#211f2a;border-color:#443e51;color:#f5f2fb}html[data-theme="dark"] .preview-row{border-color:#393542;color:#a49cad}html[data-theme="dark"] .preview-row strong{color:#e6e0ed}html[data-theme="dark"] .preview-result{background:#2c2748}html[data-theme="dark"] .form-card input,html[data-theme="dark"] .control-card input{background:#17161d;border-color:#4a4357;color:#f5f2fb}html[data-theme="dark"] .form-card label,html[data-theme="dark"] .control-card label{color:#d8d1e3}html[data-theme="dark"] .button-secondary{background:#302b4a;border-color:#514873;color:#d8d0ff}html[data-theme="dark"] .link-button{color:#b2a5ff}html[data-theme="dark"] .control-card.card-lilac{background:#302b4a}html[data-theme="dark"] .control-card.card-blue{background:#20364d}html[data-theme="dark"] .control-card.card-sand{background:#4a3929}html[data-theme="dark"] .control-card pre{background:#17161d}
html[data-theme="dark"] .docs-card,html[data-theme="dark"] .docs-nav,html[data-theme="dark"] .admin-card{background:#211f2a;border-color:#443e51;color:#f5f2fb}html[data-theme="dark"] .docs-card p,html[data-theme="dark"] .docs-card li,html[data-theme="dark"] .docs-nav a{color:#bcb4c8}html[data-theme="dark"] .docs-code{background:#17161d;border-color:#3b3748;color:#c7efd0}html[data-theme="dark"] .admin-card input{background:#17161d;border-color:#4a4357;color:#f5f2fb}
@media(max-width:680px){.theme-toggle{align-self:center}.dashboard-header-actions .theme-toggle{font-size:17px;padding:0}.dashboard-header-actions .theme-toggle:after{content:none}}
html[data-theme="dark"] .button{background:#f5f2fb;color:#211f2a}html[data-theme="dark"] .button:hover{background:#ddd5ff;color:#211f2a}html[data-theme="dark"] .menu-toggle{background:#292633;color:#f5f2fb;border-color:#4b4558}html[data-theme="dark"] .site-nav{background:#211f2a;border-color:#443e51;color:#d8d1e6}html[data-theme="dark"] .site-nav a:hover{color:#fff}html[data-theme="dark"] .site-nav .button{background:#f5f2fb;color:#211f2a}
@media(min-width:681px){html[data-theme="dark"] .site-nav{background:transparent}}
html[data-theme="dark"] .ambient-one{background:#6740ba;opacity:.16}
html[data-theme="dark"] .ambient-two{background:#275b86;opacity:.12}
html[data-theme="dark"] .hero .text-link{color:#cec5df}
