
:root{color-scheme:dark;--bg:#0b0e11;--panel:#12171b;--border:#263036;--muted:#89969d;--ink:#eef3f2;--accent:#bcf579}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,.dropzone:focus-within{outline:2px solid var(--accent);outline-offset:5px}button{cursor:pointer}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;padding:35px 23px;background:#0f1316;border-right:1px solid var(--border);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;font-weight:750;font-size:18px;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2.3px;color:var(--muted);margin-top:2px}.mark{font-size:26px;letter-spacing:-4px;color:var(--accent)}.mark span{color:#697366}.nav-label{font-size:9px;letter-spacing:2px;color:#69767e;margin:63px 10px 15px}.nav{padding:12px 13px;display:flex;align-items:center;gap:12px;color:var(--muted);margin-bottom:7px;border-radius:7px;font-size:12px}.nav.active{color:var(--accent);background:#bcf5790c;border:1px solid #bcf57920}.nav-arrow{margin-left:auto}.sidebar-bottom{margin-top:auto;font-size:10px;letter-spacing:1px;color:#b3bebd}.sidebar-bottom p{font-size:11px;letter-spacing:0;color:var(--muted)}.sidebar-bottom>a{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:20px;margin-top:25px;font-size:13px;color:var(--ink)}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px #bcf57930;margin-right:7px}.shell{margin-left:230px}.topbar{height:79px;border-bottom:1px solid var(--border);padding:0 48px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.topbar b{font-weight:400;color:#c9d1d3}.slash{margin:0 14px;color:#4b565e}.badge,.mini-badge{font-size:10px;border:1px solid var(--border);padding:5px 10px;border-radius:5px;color:#abb7bb}.badge{border-radius:20px}main{max-width:1420px;margin:auto;padding:0 48px}.hero{display:flex;justify-content:space-between;align-items:center;min-height:300px;gap:30px;padding:38px 0}.eyebrow{font-size:9px;letter-spacing:2.5px;font-weight:600;color:var(--accent)}.eyebrow>span{display:inline-block;width:20px;height:1px;vertical-align:middle;background:var(--accent);margin-right:9px}.muted{color:var(--muted);font-size:9px;letter-spacing:1.7px}h1{font-size:clamp(36px,3.5vw,57px);font-weight:500;line-height:1.12;letter-spacing:-2.3px;margin:19px 0}h1 em{font-style:normal;color:var(--accent)}p{color:var(--muted);font-size:12px}.hero p{line-height:1.9;margin:0}.hero-art{width:245px;height:210px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse,#bcf5790b,transparent 65%)}.orbit{position:absolute;width:165px;height:165px;border:1px solid #bcf57916;transform:rotate(30deg);border-radius:35px}.orbit:before{content:'';position:absolute;inset:20px;border:1px solid #bcf57914;border-radius:20px;transform:rotate(25deg)}.code-symbol{font:58px Consolas,monospace;color:#d8edc5;transform:rotate(-9deg);z-index:1}.code-symbol span{color:var(--accent)}.art-caption{position:absolute;bottom:0;font-size:8px;letter-spacing:3px;color:#657465}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:20px}.panel{background:linear-gradient(120deg,#151b20,var(--panel));border:1px solid var(--border);border-radius:12px;padding:26px;margin-bottom:24px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}h2{font-size:20px;letter-spacing:-.5px;font-weight:500;line-height:1.35;margin:8px 0 20px}.section-head h2{margin-bottom:0;overflow-wrap:anywhere}.dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #3c4a50;background:#0c111580;min-height:190px;border-radius:8px;margin:25px 0 20px;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.dragging{border-color:var(--accent);background:#bcf57905}.dropzone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-icon{display:grid;place-items:center;width:39px;height:39px;border:1px solid #3b4a3b;border-radius:10px;color:var(--accent);font-size:26px;margin-bottom:13px}.dropzone strong{font-size:13px;font-weight:500;max-width:90%;overflow-wrap:anywhere}.dropzone>span:not(.upload-icon){font-size:11px;color:var(--muted);margin-top:4px}.dropzone u{color:var(--accent);text-underline-offset:3px}.dropzone small{font-size:8px;letter-spacing:1.5px;color:#65737c;margin-top:17px}.upload-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.routing{font-size:10px;color:#a0ada5}.primary{display:inline-flex;align-items:center;justify-content:center;gap:28px;background:var(--accent);color:#17230e;border:1px solid var(--accent);border-radius:6px;padding:11px 18px;font-size:12px;font-weight:650;white-space:nowrap}.primary:hover{background:#cef99e}.primary:disabled{opacity:.6;cursor:wait}.footnote{font-size:10px;line-height:1.8;margin:15px 0 0;color:#8b999f}.engines h2{font-size:25px;margin:17px 0 9px}.engines>p{font-size:11px;margin-bottom:23px}.engine-row{border-top:1px solid var(--border);padding:12px 0;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px}.engine-row b{font-weight:500;color:#dbe3e5}.engine-row>span:first-child{color:var(--muted)}.state{font-size:9px;padding:4px 8px;border:1px solid #3a444b;background:#ffffff04;color:#9caab1;border-radius:4px;display:inline-block;white-space:nowrap}.amber{color:#dcc391;border-color:#c9a65430;background:#c9a65408}.red{color:#f0aaa6;border-color:#ee8d8533;background:#ee8d8508}.engine-note{font-size:10px;line-height:1.8;color:#7b8a93;margin-top:14px}.result{scroll-margin-top:25px}.result-status{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0;font-size:11px;color:var(--muted)}.result-status b{color:var(--ink);font-weight:500;margin-left:5px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:8px;background:#0b1014}.metrics>div{padding:20px;border-right:1px solid var(--border)}.metrics>div:last-child{border:0}.metrics strong{display:block;font-size:28px;font-weight:450;letter-spacing:-1px}.metrics span{font-size:10px;color:var(--muted)}.quality-line{display:flex;gap:24px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:16px 0 0}.quality-line b{color:#cbd5cf;font-weight:500}.preview-toolbar{margin-top:26px;background:#192127;border:1px solid var(--border);border-radius:7px 7px 0 0;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;gap:15px}.preview-toolbar>span{font-size:9px;letter-spacing:1.4px}.preview-toolbar>div{display:flex;align-items:center;gap:14px}.text-button{font-size:10px;background:none;border:0;color:#b6c2c9;padding:5px 0}.compact{font-size:10px;padding:7px 12px}pre{padding:20px;background:#0a1015;border:1px solid var(--border);border-radius:7px;overflow:auto;max-height:470px;font:11px/1.85 Consolas,monospace;color:#b5cec8;tab-size:4}.source{margin:0;border-top:0;border-radius:0 0 7px 7px}details{margin-top:20px}summary{font-size:11px;color:#acb9bf;cursor:pointer;padding:10px 0}summary span{float:right}.table-wrap{overflow:auto;margin-top:23px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:8px;letter-spacing:1.4px;color:#70818a;font-weight:500;padding:12px 8px;border-bottom:1px solid var(--border)}td{padding:15px 8px;border-bottom:1px solid #222b30;font-size:11px;color:#9eacb3}td:first-child{color:#d8e0e1}tr:last-child td{border-bottom:0}.file-icon{font:8px Consolas,monospace;color:#9aa9a2;padding:6px 4px;border:1px solid #34413c;border-radius:4px;margin-right:12px}td:last-child{color:var(--accent);text-align:right}footer{display:flex;flex-wrap:wrap;justify-content:space-between;padding:8px 0 30px;font-size:10px;color:#80908e;gap:14px}footer>a{color:var(--accent)}footer small{flex-basis:100%;font-size:9px;color:#66767f}.notice{padding:15px;border:1px solid #a35b5b;border-radius:8px;margin-bottom:20px;color:#f0bbb7;font-size:12px}.empty{padding:20px 0}@media(min-width:1600px){main{padding:0 70px}.hero{min-height:335px}}@media(max-width:1100px){.sidebar{width:190px;padding:30px 16px}.shell{margin-left:190px}main{padding:0 26px}.topbar{padding:0 26px}.workspace-grid{grid-template-columns:1fr}.engines h2 br{display:none}.hero-art{width:180px}.panel{padding:24px}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:20px;border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:15px}.nav-label,.nav,.sidebar-bottom{display:none}.shell{margin:0}.topbar{height:55px;padding:0 20px}.topbar>span:first-child{font-size:10px}.badge{font-size:8px}main{padding:0 18px}.hero{min-height:260px;padding:30px 0}.hero-art{display:none}h1{font-size:44px}.panel{padding:20px}.upload-actions{align-items:stretch;flex-direction:column}.routing{text-align:center}.metrics{grid-template-columns:repeat(2,1fr)}.metrics>div{border-bottom:1px solid var(--border)}.metrics>div:nth-child(2){border-right:0}.metrics>div:nth-child(3){border-bottom:0}.preview-toolbar{align-items:flex-start;flex-direction:column}.preview-toolbar>div{width:100%;justify-content:space-between;gap:10px}.quality-line{gap:10px}.result-status{gap:10px}footer{font-size:9px}.hero p br{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.editor-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:10px 14px;background:#10191e;border:1px solid var(--border);border-top:0;font-size:10px;color:#97aab5}.editor-controls>span{margin-right:auto}.editor-controls input{width:78px;background:#0b1117;color:#e4eef3;border:1px solid #374953;border-radius:4px;padding:4px 6px;font:11px Consolas,monospace}.code-editor{position:relative;overflow:auto;height:600px;max-height:70vh;border:1px solid var(--border);border-top:0;border-radius:0 0 7px 7px;background:#0b1117;tab-size:4;scrollbar-color:#3c4a56 #101820}.editor-row{display:flex;width:max-content;min-width:100%;font:12px/21px Consolas,'Courier New',monospace;min-height:21px}.line-number{position:sticky;left:0;flex:0 0 70px;width:70px;z-index:1;user-select:none;text-align:right;padding:0 14px 0 8px;color:#556876;background:#101820;border-right:1px solid #25313c}.line-code{display:block;white-space:pre;padding:0 18px;color:#d4dee6;font:inherit}.editor-row:hover .line-code,.selected-line .line-code{background:#bbf5790b}.selected-line .line-number{color:var(--accent)}.syntax-keyword{color:#c795ef}.syntax-variable{color:#8ed3f5}.syntax-string{color:#d9b68a}.syntax-comment{color:#708b77}.syntax-number{color:#b6d890}@media(max-width:700px){.line-number{flex-basis:50px;width:50px;padding-right:9px}.editor-row{font-size:11px}.line-code{padding:0 12px}.editor-controls>span{flex-basis:100%}}
