[data-theme="light"]{color-scheme:light}
[data-theme="dark"]{color-scheme:dark;--paper:#0e1512;--panel:#151e19;--ink:#edf4ef;--muted:#a7b7ad;--line:#35443b;--signal:#48d88d;--signal-dark:#7be5a8;--amber:#f1bd52;--danger:#ff8178;--shadow:0 20px 52px rgba(0,0,0,.38)}
[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
[data-theme="dark"] .theme-moon{display:none}
[data-theme="dark"] .theme-sun{display:block}
[data-theme="light"] .theme-moon{display:block}
[data-theme="light"] .theme-sun{display:none}
[data-theme="dark"] .theme-toggle:hover{background:#ffffff0d}
[data-theme="dark"] .wordmark span{color:var(--signal)}
[data-theme="dark"] .primary-action{background:#edf4ef;color:#101713;box-shadow:0 12px 32px rgba(0,0,0,.34)}
[data-theme="dark"] .primary-action:hover{background:var(--signal);color:#08130d}
[data-theme="dark"] .transit-source{background:#1d2922}
[data-theme="dark"] .transit-source span,
[data-theme="dark"] .method{background:#173d29;color:#8ceeb6}
[data-theme="dark"] .transit-demo article,
[data-theme="dark"] .payload,
[data-theme="dark"] details pre,
[data-theme="dark"] .read-page pre{background:#080e0b;color:#e5f2e9}
[data-theme="dark"] .biz-bridge{background:#17221c}
[data-theme="dark"] .app-header,
[data-theme="dark"] .endpoint-bar,
[data-theme="dark"] .inspector-grid,
[data-theme="dark"] .auth-card{background:var(--panel)}
[data-theme="dark"] .filters input,
[data-theme="dark"] .filters select,
[data-theme="dark"] #replay-form input,
[data-theme="dark"] .auth-card input{background:#0d1511;color:var(--ink)}
[data-theme="dark"] input::placeholder{color:#84958a}
[data-theme="dark"] .request-row:hover,
[data-theme="dark"] .request-row.active{background:#203229}
[data-theme="dark"] .method.get{background:#232e53;color:#bbc6ff}
[data-theme="dark"] .method.delete{background:#4b2424;color:#ffc0bb}
[data-theme="dark"] #replay-form button,
[data-theme="dark"] .auth-card>button{background:#edf4ef;color:#101713}
[data-theme="dark"] .toast{background:#edf4ef;color:#101713}
[data-theme="dark"] .toast.bad{background:var(--danger);color:#190707}
