@font-face{font-family:"Unicodex Mono";src:url("./fonts/unicodex-mono.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Unicodex Math";src:url("./fonts/unicodex-math.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
:root{color-scheme:dark;--canvas:#0a0a0a;--navy:#10243b;--surface:#141414;--line:#34465b;--text:#fff;--muted:#b9c5d3;--blue:#78b7ff;--gold:#d6b56e;--success:#5ee0ae;font-family:Inter,Segoe UI,system-ui,sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text);line-height:1.6}button,select,textarea{font:inherit}a{color:var(--blue);text-underline-offset:4px}button,a,summary,select{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{cursor:pointer;min-height:44px;border:1px solid #88bfff;background:#2563eb;color:#fff;border-radius:7px;padding:.6rem 1.1rem;font-weight:650;white-space:nowrap}button:hover{background:#1d4ed8}button:disabled{cursor:default;opacity:.45}button.secondary{background:#202020;border-color:#60738a;color:#e2e9f2}button.secondary:hover{background:#28394d}select{min-height:44px;background:#141414;color:#fff;border:1px solid #60738a;border-radius:7px;padding:.55rem 2rem .55rem .75rem;max-width:100%}.workspace{max-width:1260px;margin:auto;padding:0 2rem}nav{display:flex;justify-content:space-between;padding:1rem 0;border-bottom:1px solid #343434;font-size:.875rem}nav a{text-decoration:none}nav a:hover{text-decoration:underline}header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:2rem 0 1.5rem}.eyebrow{margin:0;color:var(--gold);font-size:.8125rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase}h1{font-size:2.3rem;line-height:1.15;margin:.35rem 0 0;letter-spacing:-.04em}h1 span{display:block;font-size:1rem;font-weight:400;letter-spacing:0;margin-top:.65rem;color:var(--muted)}.privacy{font-size:.875rem;color:var(--success);text-align:right;margin:0}.privacy span{color:var(--muted)}.toolbar{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;background:var(--navy);padding:1rem 1.25rem;border:1px solid var(--line);border-top:2px solid var(--gold);border-radius:12px 12px 0 0}.control{display:grid;gap:.35rem}.control label{font-size:.875rem;color:#d4dfeb}.toolbar .secondary{margin-left:auto}.editors{display:grid;grid-template-columns:1fr 1fr}.editor{min-width:0;border:1px solid var(--line);border-top:0;background:var(--surface);overflow:hidden}.source-editor{border-radius:0 0 0 12px}.result-editor{border-left:0;border-radius:0 0 12px 0;background:#0c1725}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;padding:1rem 1.25rem;border-bottom:1px solid var(--line)}h2{font-size:1rem;margin:0;line-height:1.4}h2 .step{color:var(--gold);font-size:.8125rem;margin-right:.75rem;font-weight:500}.meta{font-size:.8125rem;color:var(--muted)}textarea{display:block;width:100%;height:360px;min-height:240px;resize:vertical;background:transparent;color:#f2f6ff;border:0;padding:1.25rem;font-family:"Cambria Math","STIX Two Math","DejaVu Sans",monospace;font-size:1rem;line-height:1.85;border-radius:0;tab-size:2}#output{font-family:"Unicodex Mono","Unicodex Math",Consolas,"DejaVu Sans Mono",monospace;white-space:pre;overflow-x:auto}#source{font-family:Consolas,"DejaVu Sans Mono",monospace;font-size:.9375rem}textarea::placeholder{color:#8494a8}textarea:focus-visible{outline-offset:-4px}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;border-top:1px solid var(--line)}.editor-footer p{font-size:.8125rem;color:var(--muted);margin:0;max-width:18rem}.status-row{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.85rem .25rem;flex-wrap:wrap}.status-row p{margin:0;font-size:.875rem;color:var(--success)}.status-row p.error{color:#ff9aa6}.warnings{padding:1rem 1.25rem;background:#252014;border:1px solid #826b37;border-radius:10px;margin:.25rem 0 1rem;color:#f3dda6}.warnings[hidden]{display:none}.warnings h2{color:#f6c760}.warnings ul{margin:.65rem 0 0;padding-left:1.25rem;font-size:.875rem}.warnings li+li{margin-top:.5rem}.support{border:1px solid #343434;border-radius:10px;padding:1rem 1.25rem;color:var(--muted);margin-top:.35rem}.support summary{cursor:pointer;font-size:.875rem;color:#e9edf4}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:.85rem;font-size:.875rem}.support h3{font-size:.875rem;color:var(--gold);margin:.25rem 0}.support p{margin:.4rem 0 .75rem}footer{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid #343434;margin:2rem 0 0;padding:1rem 0 1.5rem;color:#9eacbe;font-size:.8125rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:1rem;left:1rem;padding:.5rem 1rem;background:var(--navy);transform:translateY(-200%);z-index:10}.skip:focus{transform:translateY(0)}
@media(max-width:760px){.workspace{padding:0 1rem}header{padding:1.5rem 0;align-items:start}h1{font-size:2rem}.privacy{max-width:10rem}.editors{grid-template-columns:1fr}.editor{border-radius:0}.result-editor{border-left:1px solid var(--line);border-radius:0 0 12px 12px}.toolbar{padding:1rem;gap:.75rem}.control{flex:1 1 220px}.toolbar .secondary{margin-left:0}.editor-heading,.editor-footer{padding:.85rem 1rem}textarea{height:260px;padding:1rem}.support-grid{grid-template-columns:1fr;gap:.5rem}.editor-footer p{max-width:14rem}}@media(max-width:400px){header{flex-direction:column;gap:.75rem}.privacy{text-align:left;max-width:none}.editor-footer{flex-wrap:wrap}.editor-footer button{width:100%}.editor-footer p{max-width:none}}
.lean-control{display:flex;align-items:center;gap:.5rem;min-height:44px;font-size:.875rem}.lean-control input{width:1.1rem;height:1.1rem;accent-color:#2563eb}.result-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.editor-footer:has(.result-actions){flex-wrap:wrap}.note-location{margin-left:.75rem;padding:.2rem .5rem;min-height:32px;font-size:.8125rem;background:transparent;border-color:#826b37;color:#f3dda6}.report-receipts{border:1px solid var(--line);border-radius:10px;padding:1rem 1.25rem;margin-bottom:1rem}.report-receipts[hidden]{display:none}.report-receipts ul{padding-left:1.25rem;overflow-wrap:anywhere;font-size:.875rem}.report-receipts p{font-size:.875rem;color:var(--muted)}dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-top:2px solid var(--gold);border-radius:12px;padding:1.5rem;width:min(660px,calc(100% - 2rem));max-height:90dvh;overflow:auto}dialog::backdrop{background:#000b}dialog form{display:grid;gap:.65rem}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}dialog p{font-size:.875rem;color:var(--muted);margin:.3rem 0}dialog label{font-size:.875rem}dialog textarea{min-height:80px;height:100px;resize:vertical;border:1px solid var(--line);border-radius:7px;padding:.75rem;background:#0c1725;font-family:inherit;font-size:1rem;line-height:1.5}dialog textarea[readonly]{font-family:"Unicodex Mono",monospace;font-size:.875rem}dialog details{font-size:.875rem;margin:.4rem 0}dialog details label{display:block;margin:.75rem 0 .3rem}.report-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.report-actions p{flex:1;min-width:180px}.report-actions p.error{color:#ff9aa6}@media(max-width:760px){.result-actions{width:100%;justify-content:flex-start}.result-actions button{flex:1}.report-actions button{width:100%}}
