:root{--bg:#f2f8fa;--surface:#fff;--border:#cfe3e8;--text:#142a2f;--text-muted:#5d7981;--accent:#155e75;--accent-contrast:#fff;--error-bg:#fdece8;--error-border:#e5534b;--error-text:#8a2416;--font-display:"Fraunces", Georgia, serif;--font-mono:"JetBrains Mono", ui-monospace, Consolas, monospace;--font-sans:"Inter", system-ui, "Segoe UI", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0d1a1d;--surface:#142529;--border:#244146;--text:#e6f3f5;--text-muted:#8fabb1;--accent:#a5f3fc;--accent-contrast:#063039;--error-bg:#3a1f1a;--error-border:#e5534b;--error-text:#ffb4ac;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font-sans);margin:0}#root{min-height:100svh}.page{justify-content:center;min-height:100%;padding:3rem 1.25rem;display:flex}.shell{flex-direction:column;gap:.75rem;width:100%;max-width:720px;display:flex}.site-header{align-items:center;gap:10px;padding:0 .25rem;display:flex}.site-header__brand{font-family:var(--font-mono);letter-spacing:.04em;color:var(--accent);white-space:nowrap;font-size:.8rem;font-weight:700;text-decoration:none}.site-header__brand:hover{text-decoration:underline}.site-header__divider{color:var(--text-muted);font-weight:400}.site-header__title{font-family:var(--font-mono);color:var(--text-muted);white-space:nowrap;font-size:.8rem;font-weight:500}.toolbar-spacer{flex:1}.toggle-btn{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;padding:.35rem .55rem;line-height:1}.toggle-btn:hover{border-color:var(--accent)}.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;width:100%;padding:2.5rem 2.25rem;box-shadow:0 30px 60px -35px #00000059}.eyebrow{font-family:var(--font-mono);letter-spacing:.28em;text-transform:uppercase;color:var(--accent);margin:0 0 .75rem;font-size:.75rem}h1{font-family:var(--font-display);color:var(--text);margin:0 0 .75rem;font-size:clamp(1.4rem,4vw,1.9rem);font-weight:600;line-height:1.25}.subhead{color:var(--text-muted);margin:0 0 1.5rem;font-size:.9rem;line-height:1.5}.mode-tabs{gap:.5rem;margin-bottom:1.25rem;display:flex}.tab{border:1px solid var(--border);background:var(--bg);color:var(--text-muted);font-family:var(--font-sans);cursor:pointer;border-radius:10px;flex:1;padding:.6rem 1rem;font-size:.9rem;font-weight:600}.tab--active{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.preview{background:var(--bg);border:1px dashed var(--border);border-radius:14px;min-height:220px;margin-bottom:1.5rem;padding:1rem}.preview-item{background:var(--accent);color:var(--accent-contrast);min-width:42px;min-height:42px;font-family:var(--font-mono);opacity:.9;border-radius:8px;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:flex}.controls{grid-template-columns:1fr 1fr;gap:.9rem;margin-bottom:1.5rem;display:grid}.field{flex-direction:column;gap:.35rem;display:flex}.field__label{font-family:var(--font-mono);letter-spacing:.04em;color:var(--text-muted);font-size:.72rem}.field select{background:var(--bg);border:1px solid var(--border);color:var(--text);font-family:var(--font-sans);border-radius:10px;padding:.5rem .6rem;font-size:.85rem}.field input[type=range]{width:100%;accent-color:var(--accent)}.code-row{border-top:1px solid var(--border);align-items:flex-start;gap:.6rem;padding-top:1.25rem;display:flex}.code-output{background:var(--bg);border:1px solid var(--border);min-width:0;font-family:var(--font-mono);color:var(--text);white-space:pre;border-radius:10px;flex:1;margin:0;padding:.7rem .9rem;font-size:.78rem;overflow-x:auto}.btn{background:var(--bg);color:var(--text);border:1px solid var(--border);font-family:var(--font-sans);cursor:pointer;border-radius:10px;padding:.55rem 1.1rem;font-size:.85rem;font-weight:600}.btn--accent{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent);white-space:nowrap}@media (width<=600px){.controls{grid-template-columns:1fr}}@media (width<=480px){.card{padding:2rem 1.4rem}.code-row{flex-direction:column;align-items:stretch}}
