.theme-toggle{display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;margin-left:18px;border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink);font-size:18px;line-height:1}
.theme-toggle:hover{border-color:#91a29a;background:var(--paper)}
html[data-theme="dark"]{color-scheme:dark;--ink:#e4eceb;--muted:#a8b5b6;--paper:#11191d;--white:#1a252a;--line:#344248;--green:#bddc56;--green-dark:#c2da77;--blue:#9bb4ff;--blue-pale:#28334c;--orange:#e8a15f}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .site-header{background:rgba(17,25,29,.96);border-color:var(--line)}
html[data-theme="dark"] .brand-light,html[data-theme="dark"] .primary-nav{color:#b3c0c1}
html[data-theme="dark"] .nav-toggle,html[data-theme="dark"] .nav-cta,html[data-theme="dark"] .console-card,html[data-theme="dark"] .tool-card,html[data-theme="dark"] .directory-card,html[data-theme="dark"] .workbench,html[data-theme="dark"] .jwt-workbench,html[data-theme="dark"] .contact-card,html[data-theme="dark"] .article-body .profile-card{background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .hero h1 span,html[data-theme="dark"] .section-heading h2 span,html[data-theme="dark"] .journal-inner h2 span,html[data-theme="dark"] .page-intro h1 span{color:#9cabad}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .hero-intro,html[data-theme="dark"] .tool-card p,html[data-theme="dark"] .directory-card p,html[data-theme="dark"] .section-copy,html[data-theme="dark"] .page-intro>p:last-child,html[data-theme="dark"] .tool-heading p:last-child,html[data-theme="dark"] .article-body,html[data-theme="dark"] .article-subtitle{color:#b2bfc0}
html[data-theme="dark"] .console-top,html[data-theme="dark"] .console-row,html[data-theme="dark"] .console-bottom,html[data-theme="dark"] .console-key{border-color:#344248;color:#a8b5b6}
html[data-theme="dark"] .console-row:hover{background:#202d32}
html[data-theme="dark"] .journal-band{background:#1a252a;border-color:#344248}
html[data-theme="dark"] .journal-stats,html[data-theme="dark"] .journal-note{border-color:#435157}
html[data-theme="dark"] .journal-stats span,html[data-theme="dark"] .journal-note{color:#a8b5b6}
html[data-theme="dark"] .site-footer{background:#0b1114;color:#dce5e3}
html[data-theme="dark"] .page-intro h1,html[data-theme="dark"] .tool-heading h1,html[data-theme="dark"] .blog-intro h1,html[data-theme="dark"] .article-header h1,html[data-theme="dark"] .static-content h1,html[data-theme="dark"] .tool-card h3,html[data-theme="dark"] .directory-card h2{color:var(--ink)}
html[data-theme="dark"] .privacy-note,html[data-theme="dark"] .button-quiet,html[data-theme="dark"] .output-pane,html[data-theme="dark"] .article-body pre,html[data-theme="dark"] .article-body code{background:#202c30;color:#d0dbd9;border-color:#3b494e}
html[data-theme="dark"] .editor-pane textarea,html[data-theme="dark"] .token-input textarea,html[data-theme="dark"] .utility-output textarea,html[data-theme="dark"] .diff-inputs textarea,html[data-theme="dark"] .regex-pattern input{background:#151f23;color:#e0e9e7;border-color:#3a484d}
html[data-theme="dark"] .editor-pane textarea::placeholder,html[data-theme="dark"] .token-input textarea::placeholder,html[data-theme="dark"] .utility-output textarea::placeholder,html[data-theme="dark"] .diff-inputs textarea::placeholder{color:#849496}
html[data-theme="dark"] .editor-divider,html[data-theme="dark"] .workbench-toolbar,html[data-theme="dark"] .workbench-footer,html[data-theme="dark"] .pane-title,html[data-theme="dark"] .jwt-part-heading,html[data-theme="dark"] .tool-card-bottom,html[data-theme="dark"] .directory-link,html[data-theme="dark"] .article-body td,html[data-theme="dark"] .article-body th{border-color:#344248}
html[data-theme="dark"] .jwt-part,html[data-theme="dark"] .regex-match,html[data-theme="dark"] .regex-highlight,html[data-theme="dark"] .diff-pane,html[data-theme="dark"] .regex-examples button{background:#151f23;color:#d4dfdd;border-color:#3b494e}
html[data-theme="dark"] .jwt-output,html[data-theme="dark"] .regex-match code,html[data-theme="dark"] .diff-line,html[data-theme="dark"] .diff-pane h2{color:#c6d2d0}
html[data-theme="dark"] .diff-added{background:#253b2b;color:#c5e8b1}html[data-theme="dark"] .diff-removed{background:#402a29;color:#f1b8ae}html[data-theme="dark"] .diff-inline-removed{background:#57332f;color:#ffd0c7}html[data-theme="dark"] .diff-inline-added{background:#30472a;color:#d5f2be}
html[data-theme="dark"] .diff-change,html[data-theme="dark"] .regex-help,html[data-theme="dark"] .regex-highlight,html[data-theme="dark"] .regex-match{border-color:#3b494e}
html[data-theme="dark"] .regex-highlight mark{background:#46552c;color:#ecf6ce}
html[data-theme="dark"] .regex-result-heading h2,html[data-theme="dark"] .uuid-info h2,html[data-theme="dark"] .article-sidebar h2,html[data-theme="dark"] .article-body h2,html[data-theme="dark"] .article-body h3,html[data-theme="dark"] .article-body h4,html[data-theme="dark"] .article-body .profile-card .profile-copy b{color:#d5dfdd}
html[data-theme="dark"] .article-body a,html[data-theme="dark"] .article-sidebar a{color:#a9bdff}
html[data-theme="dark"] .post-card h2,html[data-theme="dark"] .post-read,html[data-theme="dark"] .article-nav{color:#d5dfdd}
html[data-theme="dark"] .blog-toolbar,html[data-theme="dark"] .post-card,html[data-theme="dark"] .article-header,html[data-theme="dark"] .article-nav{border-color:#344248}
html[data-theme="dark"] .filter-button{border-color:#45545a;color:#b6c2c2}
html[data-theme="dark"] .filter-button[aria-pressed="true"]{background:#bddc56;color:#17252d;border-color:#bddc56}
html[data-theme="dark"] .command-dialog,html[data-theme="dark"] .command-shell{background:#172126;color:#e0e9e7;border-color:#39484d}
html[data-theme="dark"] .command-item{color:#dce5e3;border-color:#344248}
html[data-theme="dark"] .command-item:hover,html[data-theme="dark"] .command-item:focus{background:#263439}
html[data-theme="dark"] .command-search-row,html[data-theme="dark"] .command-footer{border-color:#344248}
html[data-theme="dark"] .primary-nav.open{background:#11191d;border-color:#344248}
html[data-theme="dark"] .button-dark,html[data-theme="dark"] .skip-link{background:#dce6e3;color:#152127}
html[data-theme="dark"] .nav-cta,html[data-theme="dark"] .console-key,html[data-theme="dark"] .command-escape{background:#202c30;color:#d5dfdd;border-color:#45545a}
html[data-theme="dark"] .inline-select select,html[data-theme="dark"] .inline-select input,html[data-theme="dark"] .regex-pattern input{background:#151f23;color:#e0e9e7;border-color:#3a484d}
html[data-theme="dark"] .contact-note,html[data-theme="dark"] .contact-card>p:first-child,html[data-theme="dark"] .article-sidebar,html[data-theme="dark"] .tool-message,html[data-theme="dark"] .tool-footnote{color:#aab8b8}
html[data-theme="dark"] .article-body blockquote{color:#b2bfc0}
@media(min-width:701px) and (max-width:900px){.site-header{padding-inline:20px}.primary-nav{gap:clamp(10px,1.8vw,16px);font-size:12px}.nav-cta{padding:8px 10px}.nav-search{padding:8px}.nav-search kbd{display:none}.theme-toggle{margin-left:10px;flex-basis:36px;width:36px;height:36px}}
@media(max-width:700px){.theme-toggle{margin-left:8px;flex:0 0 36px;width:36px;height:36px}.site-header>.theme-toggle{order:3}.site-header>.nav-toggle{order:2;margin-left:auto}.site-header>.primary-nav{order:4}}
