.color-mode-switcher{display:inline-flex;align-items:center;margin:0}.color-mode-switcher select{font-size:11px;padding:6px 8px;background:var(--canvas)}
html[data-theme=dark]{--ink:#e1eaf3;--muted:#a6b8ca;--line:#344a60;--brand:#8bc7f1;--soft:#243a50;--canvas:#101d2b;--white:#192b3c;color-scheme:dark}
[data-theme=dark] .topbar,[data-theme=dark] .secondary,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:var(--white);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .sidebar{background:#0d2b45}
[data-theme=dark] .primary{background:#176692;color:#fff}
[data-theme=dark] th,[data-theme=dark] .editor-mode,[data-theme=dark] .prose pre,[data-theme=dark] .draft,[data-theme=dark] .project-icon{background:var(--soft);color:var(--ink)}
[data-theme=dark] .notice{background:#20394f;border-color:#3b5a75;color:var(--ink)}
[data-theme=dark] .warning{background:#44371e!important;color:#f5d18c!important}
[data-theme=dark] .errorlist{color:#ffb3a5}
[data-theme=dark] .sea-signature img{filter:brightness(0) invert(1)}
[data-theme=dark] body .mdxeditor,[data-theme=dark] body .mdxeditor-popup-container{--accentBase:#101d2b;--accentBgSubtle:#192b3c;--accentBg:#243a50;--accentBgHover:#304b65;--accentBgActive:#3b5c79;--accentLine:#456c8d;--accentBorder:#5c89ad;--accentBorderHover:#79aad0;--accentSolid:#176692;--accentSolidHover:#237cac;--accentText:#8bc7f1;--accentTextContrast:#b9def8;color:var(--ink);background:var(--white)}
[data-theme=dark] body .mdxeditor-toolbar{background:var(--soft)}
