.theme-toggle{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;padding:10px 12px;border:1px solid #d5dbd5;border-radius:99px;background:transparent;color:#333848;font:600 12px 'DM Sans',sans-serif;cursor:pointer;transition:background .2s,border-color .2s}.theme-toggle:hover{background:#e9ede7}.theme-toggle:focus-visible{outline:3px solid #7895ff;outline-offset:3px}.theme-icon{font-size:18px;line-height:1}.theme-label{line-height:1}.header,.site-header{gap:20px}
html[data-theme="dark"]{color-scheme:dark}html[data-theme="dark"] body{background:#14171f;color:#eef0f5}html[data-theme="dark"] .theme-toggle{border-color:#454b59;color:#f0f2f6}html[data-theme="dark"] .theme-toggle:hover{background:#303644}html[data-theme="dark"] .brand,html[data-theme="dark"] .wordmark,html[data-theme="dark"] .footer-wordmark{color:#f1f2f5}html[data-theme="dark"] .brand-mark,html[data-theme="dark"] .mark{background:#d7f68f;color:#1c2730}html[data-theme="dark"] .brand-number,html[data-theme="dark"] .wordmark-accent,html[data-theme="dark"] .footer-wordmark span{color:#91a6ff}html[data-theme="dark"] .header nav,html[data-theme="dark"] .main-nav a,html[data-theme="dark"] .footer nav a,html[data-theme="dark"] .site-footer nav a{color:#c1c7d2}html[data-theme="dark"] .header-link,html[data-theme="dark"] .profile-link{border-color:#424957;background:#272d39;color:#f2f3f6}html[data-theme="dark"] .pill{background:#29322b;color:#c3d5bc}html[data-theme="dark"] .hero-copy>p,html[data-theme="dark"] .section-top>p,html[data-theme="dark"] .writing-intro,html[data-theme="dark"] .lab-intro>div>p:last-child{color:#b4bdca}html[data-theme="dark"] .hero h1 em,html[data-theme="dark"] .section-top h2 em,html[data-theme="dark"] .lab-intro h1 em,html[data-theme="dark"] .all-posts{color:#9aabff}html[data-theme="dark"] .primary{background:#d9fa91;color:#1a2530}html[data-theme="dark"] .primary span{color:#425d35}html[data-theme="dark"] .plain-link{color:#e5e9ee}html[data-theme="dark"] .hero-bottom,html[data-theme="dark"] .section-kicker,html[data-theme="dark"] .writing-origin,html[data-theme="dark"] .footer-note{color:#a2b2aa}html[data-theme="dark"] .writing-card{background:#222832;border-color:#373f48;color:#f3f4f8}html[data-theme="dark"] .article-list,html[data-theme="dark"] .article{border-color:#3c4551}html[data-theme="dark"] .article small,html[data-theme="dark"] .article-index,html[data-theme="dark"] .article-arrow{color:#a8bcae}html[data-theme="dark"] .about{background:#25312e}html[data-theme="dark"] .about-heading>p{color:#bdcbbf}html[data-theme="dark"] .about h2 span{color:#a0b2ff}html[data-theme="dark"] .about-art{background:#374b40}html[data-theme="dark"] .about-quote{color:#e5f2dc}html[data-theme="dark"] .about-quote em{color:#c3ed9a}html[data-theme="dark"] .about-art-top,html[data-theme="dark"] .about-art-bottom{color:#bdd1b9}html[data-theme="dark"] .light{background:#e1f8ae;color:#202b2b}html[data-theme="dark"] .footer p,html[data-theme="dark"] .site-footer p{color:#abb5bc}
html[data-theme="dark"] .lab-main{border-color:#363b49}html[data-theme="dark"] .breadcrumb,html[data-theme="dark"] .lab-badge span,html[data-theme="dark"] .help-number{color:#abb5bc}html[data-theme="dark"] .lab-badge{border-color:#454b59}html[data-theme="dark"] .eyebrow{color:#bab3d5}html[data-theme="dark"] .workspace{background:#222731;box-shadow:0 18px 70px #0004}html[data-theme="dark"] .workspace-top{background:#10121c}html[data-theme="dark"] .toolbar{background:#292e3a;border-color:#404653}html[data-theme="dark"] .select-wrap label{color:#c4c2d0}html[data-theme="dark"] .select-wrap select{background:#343a47;border-color:#505765;color:#f1f1f5}html[data-theme="dark"] .button-reset{color:#dad6e1}html[data-theme="dark"] .button-run{background:#9d85ff;color:#1a1530}html[data-theme="dark"] .editor-grid{background:#222731}html[data-theme="dark"] .editor-panel{background:#171826}html[data-theme="dark"] .input-panel{border-color:#424958}html[data-theme="dark"] .input-panel textarea{color:#f1f2f6}html[data-theme="dark"] .input-panel textarea::placeholder{color:#a3adbc}html[data-theme="dark"] .input-panel p,html[data-theme="dark"] .lab-help p{color:#b6bfca}html[data-theme="dark"] .panel-title{color:#c4cad7}html[data-theme="dark"] .panel-title span:last-child{color:#a4afbe}html[data-theme="dark"] .output-panel pre{color:#e2d9f7}html[data-theme="dark"] .panel-title .status{color:#c1aeff!important}html[data-theme="dark"] .lab-help>div{border-color:#414853}html[data-theme="dark"] .lab-help code{background:#3b3554;color:#d9cdff}
@media(max-width:600px){.header,.site-header{gap:10px}.theme-toggle{width:40px;height:40px;padding:0}.theme-label{display:none}.header nav{gap:12px}.lab-page .main-nav{margin-left:auto}}
