:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-body:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:"SF Mono", Monaco, "Cascadia Code", "Roboto Mono", monospace;font-family:var(--font-body);--bg-primary:#fafafa;--bg-secondary:#fff;--bg-card:#fff;--bg-card-hover:#f5f5f5;--text-primary:#111;--text-secondary:#1c1c1c;--text-muted:#777;--accent:#35215c;--accent-light:#e8e4f0;--accent-hover:#2a1a4a;--accent-bright:#7b2ff7;--border:#e5e5e5;--border-hover:#d4d4d4;--success:#10b981;--error:#ef4444;--accent-muted:#35215c1f;--shadow-sm:0 1px 2px #0000000a;--shadow-md:none;font-size:16px;line-height:1.5}.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-primary:#0a0a0a;--bg-secondary:#111;--bg-card:#161616;--bg-card-hover:#1c1c1c;--text-primary:#f5f5f5;--text-secondary:#d4d4d4;--text-muted:#a3a3a3;--accent:#9580c4;--accent-light:#1e1a2e;--accent-hover:#b09dd4;--accent-bright:#9580c4;--border:#2e2e2e;--border-hover:#404040;--accent-muted:#9580c42e;--shadow-sm:0 1px 2px #0000004d;--shadow-md:none}*{box-sizing:border-box}html{background:var(--bg-primary);color:var(--text-primary)}body{background:var(--bg-primary);min-width:320px;min-height:100vh;color:var(--text-primary);-webkit-font-smoothing:antialiased;margin:0;font-size:14px}button,input,textarea{font:inherit}button{appearance:none}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}code{border:1px solid var(--border);background:var(--bg-primary);color:var(--accent);font-family:var(--font-mono);border-radius:5px;padding:.08rem .28rem;font-size:.9em}::selection{color:#fff;background:var(--accent)}.topbar{z-index:50;border-bottom:1px solid var(--border);background:var(--bg-card);position:sticky;top:0}.topbar__inner{justify-content:space-between;align-items:center;gap:1.25rem;width:min(1120px,100%);min-height:63px;margin:0 auto;padding:1rem 1.5rem;display:flex}.brand{color:var(--accent);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;flex:none;align-items:center;gap:.5rem;font-size:1.05rem;font-weight:700;line-height:1;display:inline-flex}.brand__logo{border-radius:999px;width:26px;height:26px}.brand__product{color:var(--accent)}.topnav,.topbar__actions,.panel__head,.action-row,.chip-list,.swatch-list{align-items:center;display:flex}.topnav{border:1px solid var(--border);background:var(--bg-primary);border-radius:10px;flex:0 auto;justify-content:center;gap:.25rem;padding:.25rem}.topnav a{color:var(--text-muted);white-space:nowrap;border-radius:7px;padding:.36rem .72rem;font-size:.86rem;font-weight:600;transition:color .15s,background .15s}.topnav a.is-active{color:#fff;background:var(--accent);box-shadow:var(--shadow-sm)}.topnav a:hover{color:var(--accent);background:var(--bg-card-hover)}.topnav a.is-active:hover{color:#fff;background:var(--accent-hover)}.topbar__actions{flex:none;justify-content:flex-end;gap:.65rem}.workspace{width:min(1120px,100%);margin:0 auto;padding:2.2rem 1.5rem 3rem}.intro-strip{grid-template-columns:minmax(0,.82fr) minmax(280px,.68fr);align-items:center;gap:2rem;margin-bottom:1.5rem;display:grid}.intro-strip h1{max-width:600px;color:var(--text-primary);font-family:var(--font-mono);letter-spacing:0;text-wrap:balance;margin:0;font-size:clamp(1.62rem,2.45vw,2.15rem);font-weight:760;line-height:1.12}.intro-strip p{max-width:470px;color:var(--text-muted);margin:0;font-size:.98rem}.eyebrow,.panel__kicker{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 .35rem;font-size:.73rem;font-weight:800}.tool-grid{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);align-items:start;gap:1rem;margin-bottom:1rem;display:grid}.panel{border:1px solid var(--border);background:var(--bg-card);min-width:0;box-shadow:var(--shadow-sm);border-radius:8px}.panel__head{justify-content:space-between;gap:1rem;padding:1.15rem 1.15rem 0}.panel__head h2{color:var(--text-primary);margin:0;font-size:1rem;line-height:1.2}.form,.explain-box,.evidence-list,.warnings{padding:1.15rem}.form{gap:.7rem;display:grid}.input-label,.field-label{color:var(--text-secondary);font-weight:700}.sources-head,.source-row,.editor-head,.token-row{align-items:center;gap:.65rem;display:flex}.sources-head,.editor-head{justify-content:space-between}.source-list,.token-editor{gap:.55rem;display:grid}.source-row .input{flex:1}.input{border:1px solid var(--border);background:var(--bg-primary);width:100%;min-height:2.8rem;color:var(--text-primary);border-radius:8px;outline:none;padding:.7rem .85rem;transition:border-color .15s,box-shadow .15s}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.button:focus-visible,.icon-button:focus-visible,.mini-button:focus-visible,.input:focus-visible,.output:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.input--compact{min-height:2.35rem;padding:.48rem .62rem}.button,.icon-button,.mini-button{min-height:2.55rem;color:var(--text-primary);background:var(--bg-card);cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:.62rem .9rem;transition:background .15s,border-color .15s,color .15s,opacity .15s;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.58}.button--icon{width:2.55rem;padding:0;font-size:1.15rem;font-weight:800}.button--primary{color:#fff;background:var(--accent)}.button--primary:hover:not(:disabled){background:var(--accent-hover)}.button--soft,.icon-button{border-color:var(--border);color:var(--text-secondary)}.button--soft:hover:not(:disabled),.icon-button:hover{border-color:var(--border-hover);background:var(--bg-card-hover);color:var(--text-primary)}.icon-button{width:2.35rem;height:2.35rem;color:var(--text-muted);background:0 0;border:0;padding:0}.icon-button svg{width:1.1rem;height:1.1rem}.header-link{color:var(--text-muted);font-size:.875rem;transition:color .15s}.header-link:hover{color:var(--accent)}.mini-button{border-color:var(--border);min-height:2rem;color:var(--text-muted);background:var(--bg-primary);padding:.28rem .52rem;font-size:.78rem}.mini-button:hover:not(:disabled){border-color:var(--border-hover);color:var(--text-primary)}.helper-text,.explain-box p{color:var(--text-muted);margin:0}.explain-box{border-top:1px solid var(--border);background:var(--bg-primary);gap:.7rem;display:grid}.turnstile-slot{min-height:65px}.status-pill{border:1px solid var(--border);background:var(--bg-primary);min-height:2rem;color:var(--text-muted);border-radius:999px;align-items:center;padding:.25rem .65rem;font-size:.84rem;display:inline-flex}.status-pill[data-state=loading]{color:var(--accent);border-color:#7b2ff759}.status-pill[data-state=ok]{color:#047857;border-color:#10b98159}.status-pill[data-state=error]{color:#b91c1c;border-color:#ef444459}.evidence-list{gap:.85rem;margin:0;display:grid}.evidence-list div{gap:.25rem;display:grid}.evidence-list dt{color:var(--text-muted);text-transform:uppercase;font-size:.78rem;font-weight:800}.evidence-list dd{color:var(--text-secondary);margin:0}.token-row{align-items:stretch}.token-row .input{min-width:0}.color-picker{border:1px solid var(--border);background:var(--bg-primary);border-radius:8px;width:2.55rem;min-width:2.55rem;min-height:2.35rem;padding:.18rem}.empty-state{color:var(--text-muted)}.chip-list,.swatch-list{flex-wrap:wrap;gap:.45rem}.chip,.swatch{border:1px solid var(--border);background:var(--bg-primary);color:var(--text-secondary);border-radius:999px;align-items:center;gap:.4rem;padding:.28rem .55rem;font-size:.8rem;display:inline-flex}.swatch span{border:1px solid var(--border);border-radius:50%;width:.9rem;height:.9rem}.warnings{border-top:1px solid var(--border);color:#92400e;background:#fffbeb}.dark .warnings{color:#facc15;background:#eab3081f}.warnings p{margin:0 0 .35rem}.warnings p:last-child{margin-bottom:0}.visual-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.55rem;display:grid}.visual-card{border:1px solid var(--border);background:var(--bg-primary);min-width:0;color:var(--text-secondary);border-radius:8px;grid-template-columns:2.35rem minmax(0,1fr);align-items:center;gap:.55rem;padding:.45rem;display:grid}.visual-card:hover{border-color:var(--border-hover);color:var(--text-primary)}.visual-thumb{border:1px solid var(--border);background:var(--bg-card);border-radius:8px;place-items:center;width:2.35rem;height:2.35rem;display:grid;overflow:hidden}.visual-thumb img{object-fit:contain;max-width:100%;max-height:100%}.visual-card strong,.visual-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.visual-card small{color:var(--text-muted);text-transform:uppercase;font-size:.73rem}.result-panel{min-height:480px}.action-row{flex-wrap:wrap;gap:.55rem}.output{border:1px solid var(--border);resize:vertical;background:var(--bg-primary);width:calc(100% - 2rem);min-height:410px;color:var(--text-primary);font-family:var(--font-mono);border-radius:8px;outline:none;margin:1rem;padding:1rem;font-size:.84rem;line-height:1.55;display:block}.output:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.faq-section{grid-template-columns:minmax(220px,.45fr) minmax(0,1fr);gap:1rem;margin-top:1.5rem;padding:1.25rem 0 0;display:grid}.faq-section h2{margin:0;font-size:1.25rem}.faq-grid{gap:.65rem;display:grid}.faq-grid details{border:1px solid var(--border);background:var(--bg-card);box-shadow:var(--shadow-sm);border-radius:8px}.faq-grid summary{cursor:pointer;color:var(--text-primary);padding:.85rem 1rem;font-weight:800}.faq-grid p{color:var(--text-muted);margin:0;padding:0 1rem 1rem}.site-footer{border-top:1px solid var(--border);background:var(--bg-card);color:var(--text-muted)}.site-footer__inner{justify-content:space-between;align-items:center;gap:1rem;width:min(1120px,100%);margin:0 auto;padding:1.35rem 1.5rem;display:flex}.site-footer p{margin:0}.site-footer nav{flex-wrap:wrap;justify-content:flex-end;gap:.85rem;display:flex}.site-footer a{color:var(--text-muted)}.site-footer a:hover{color:var(--accent)}@media (max-width:860px){.topbar__inner{flex-wrap:wrap;gap:.75rem}.topnav{order:3;justify-content:flex-start;width:100%;overflow-x:auto}.topbar__actions{margin-left:auto}.workspace{padding-inline:1rem}.intro-strip,.tool-grid{grid-template-columns:1fr}.source-row{flex-direction:column;align-items:stretch}.button:not(.button--icon),.input{width:100%}.sources-head,.source-row,.token-row{flex-direction:row;align-items:center}.source-row .input{flex:1}.source-remove,.button--icon{width:2.55rem;min-width:2.55rem}.panel__head{flex-direction:column;align-items:flex-start}.action-row{width:100%}.faq-section{grid-template-columns:1fr}.site-footer__inner{flex-direction:column;align-items:flex-start}.site-footer nav{justify-content:flex-start}}@media (max-width:560px){.topbar__inner,.workspace,.site-footer__inner{padding-inline:1rem}.brand{font-size:.95rem}.topbar__actions{gap:.45rem}.header-link{display:none}.intro-strip h1{font-size:clamp(1.55rem,7.5vw,2rem)}}
