:root{--bg:#262626;--surface:#303030;--surface-2:#3a3a3a;--line:#484848;--text:#e8e8e8;--muted:#a0a0a0;--pass:#5fbf7f;--fail:#e5675c;--warn:#e0b04a;--accent:#6aa8e8;--marker:#ff4d6d;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--text);flex-direction:column;min-height:100vh;margin:0;font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;display:flex}button{font:inherit;color:inherit}.top{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.brand{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.name{letter-spacing:-.01em;font-size:18px;font-weight:700}.tag{color:var(--muted)}.levels,.seg{align-items:center;gap:2px;display:flex}.levels-label{color:var(--muted);margin-right:8px}.levels button,.seg button{background:var(--surface);border:1px solid var(--line);cursor:pointer;padding:5px 12px}.levels button:first-of-type,.seg button:first-child{border-radius:6px 0 0 6px}.levels button:last-of-type,.seg button:last-child{border-radius:0 6px 6px 0}.levels button[aria-checked=true],.seg button[aria-checked=true]{background:var(--surface-2);border-color:var(--accent);color:#fff}body:has(#panel:not([hidden])){height:100dvh}main{flex:1;grid-template-columns:1fr;gap:16px;min-height:0;padding:16px;display:grid}main:has(#panel:not([hidden])){grid-template-columns:340px minmax(0,1fr)}.drop{border:2px dashed var(--line);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:50vh;padding:24px;display:flex}.drop.over{border-color:var(--accent);background:var(--surface)}.drop-title{margin:0 0 6px;font-size:20px}.drop-sub{color:var(--muted);max-width:42ch;margin:0 0 18px}.drop-legal{color:var(--muted);max-width:58ch;margin:22px 0 0;font-size:12px}.drop-legal a{color:inherit}.notice{color:var(--fail);max-width:58ch;margin:0 0 14px}.viewer .notice{margin:0}.doc{display:block}.doc article{max-width:70ch;margin:0 auto;padding:8px 0 24px}.doc h1{margin:8px 0 4px;font-size:24px}.doc h2{margin:26px 0 6px;font-size:16px}.doc .updated{color:var(--muted);margin:0 0 18px}.doc p,.doc li{color:var(--text)}.doc ul{padding-left:20px}.doc li{margin:4px 0}.doc a{color:var(--accent)}a.name{color:inherit;text-decoration:none}.button{background:var(--accent);color:#10202f;cursor:pointer;border-radius:6px;padding:8px 16px;font-weight:600;display:inline-block}.button.small{padding:4px 10px;font-size:13px}.viewer{flex-direction:column;gap:10px;min-width:0;min-height:0;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.toggle{color:var(--muted);cursor:pointer;align-items:center;gap:6px;display:flex}.filename{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:30ch;margin-left:auto;overflow:hidden}.stage{flex:1;min-height:0;position:relative}.stage canvas{max-width:100%;max-height:100%;margin:auto;position:absolute;inset:0}.adjust{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.adjust-hint{color:var(--muted);margin-right:auto}.chip{background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:3px 10px}.chip[aria-pressed=true]{background:var(--surface-2);border-color:var(--marker);color:#fff}.chip:disabled{opacity:.45;cursor:default}.stage canvas.erasing{touch-action:none}.busy{background:#00000073;justify-content:center;align-items:center;font-weight:600;display:flex;position:absolute;inset:0}.panel{flex-direction:column;order:-1;min-width:0;min-height:0;display:flex}.panel h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:14px 0 8px;font-size:12px}.grade{background:var(--surface);border-left:4px solid var(--line);border-radius:10px;padding:14px 16px}.grade.pass{border-left-color:var(--pass)}.grade.fail{border-left-color:var(--fail)}.grade .big{font-size:17px;font-weight:650}.grade .small{color:var(--muted);margin-top:2px;font-size:13px}.checks{flex-direction:column;flex:auto;gap:6px;min-height:120px;margin:12px 0 0;padding:0 4px 0 0;list-style:none;display:flex;overflow-y:auto}.check{background:var(--surface);border-radius:8px;grid-template-columns:16px 1fr auto;align-items:center;gap:2px 10px;padding:10px 12px;display:grid}.dot{background:var(--muted);border-radius:50%;width:10px;height:10px}.check.pass .dot{background:var(--pass)}.check.fail .dot{background:var(--fail)}.check .label{font-weight:600}.check .value,.check .hint{color:var(--muted);grid-column:2/4;font-size:13px}.check.fail .hint,.check .note{color:var(--warn)}.pips{gap:3px;display:flex}.pip{background:var(--surface-2);border-radius:3px;width:18px;height:6px}.pip.on{background:var(--pass)}.hist{background:#1c1c1c;border-radius:6px;flex:none;width:100%;height:96px}.dust{flex:none;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;max-height:25vh;display:grid;overflow-y:auto}.dust .empty{color:var(--muted);grid-column:1/-1}.spot{background:var(--surface);color:var(--muted);cursor:pointer;border:1px solid #0000;border-radius:6px;padding:4px;font-size:12px}.spot.possible{border-style:dashed;border-color:var(--line)}.spot:hover,.spot.active{border-color:var(--marker)}.spot canvas{aspect-ratio:1;width:100%;image-rendering:pixelated;border-radius:4px;display:block}.spot .pair{grid-template-columns:1fr 1fr;gap:2px;display:grid}footer{color:var(--muted);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:12px 16px;font-size:12px;display:flex}footer a{color:inherit;text-decoration:none}footer a:hover{color:var(--text);text-decoration:underline}@media (width<=860px){body:has(#panel:not([hidden])){height:auto}:is(main,main:has(#panel:not([hidden]))){grid-template-columns:minmax(0,1fr);gap:12px;padding:10px}.panel{order:0}.checks{max-height:60vh}.dust{max-height:none}.stage{flex:none}.stage canvas{object-fit:contain;width:100%;height:auto;max-height:70vh;display:block;position:static}.toolbar{gap:8px 12px}.seg{scrollbar-width:none;flex-wrap:nowrap;max-width:100%;overflow-x:auto}.seg button{white-space:nowrap;flex:none;padding:4px 9px;font-size:13px}.filename{display:none}.top{padding:10px}.tag{display:none}}
