:root{--bg:#0f1115;--surface:#181b22;--text:#e7e9ee;--muted:#9aa3b2;--accent:#6ee7b7;--accent-press:#34d399;--border:#272c36;--radius:12px;--space:clamp(.75rem, 2.5vw, 1.25rem);--maxw:44rem;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;text-rendering:optimizelegibility;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.app-shell>header{z-index:10;padding:var(--space);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);font-size:clamp(1.1rem,1rem + 1.5vw,1.5rem);font-weight:700;position:sticky;top:0}.app-shell>main{width:100%;max-width:var(--maxw);padding:var(--space);gap:var(--space);flex:1;align-content:start;margin-inline:auto;display:grid}main h1{margin:0 0 .25em;font-size:clamp(1.4rem,1.1rem + 2.5vw,2rem);line-height:1.2}input,button{font:inherit;border-radius:var(--radius);border:1px solid var(--border);min-height:44px;padding:.5rem .9rem}input{background:var(--surface);width:100%;max-width:100%;color:var(--text)}input:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button{background:var(--accent);color:#06281d;cursor:pointer;font-weight:650;transition:background .12s}button:hover{background:var(--accent-press)}button:active{transform:translateY(1px)}[data-testid=greeting]{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space);margin:0}[role=alert]{color:#fca5a5;margin:0}@media (width>=640px){main form,.field-row{align-items:center;gap:.75rem;display:flex}.field-row input{flex:1}.field-row button{flex:none}}.worksheet{flex-wrap:wrap;gap:.5rem;margin:.5rem 0 .25rem;display:flex}.cell{text-align:center;width:3rem;max-width:3rem;height:3.25rem;padding:0;font:1.5rem/1 ui-monospace,SF Mono,Menlo,monospace}.cell-error{border-color:#fca5a5;outline:2px solid #fca5a5}button.secondary{color:var(--text);border:1px solid var(--border);background:0 0}.verdict{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space);margin:0}.verdict-ok{border-color:var(--accent)}.verdict-bad{color:#fca5a5;border-color:#fca5a5}.app-shell>header{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.app-shell>header .brand{font-weight:700}.app-shell>header nav{flex-wrap:wrap;gap:.25rem;font-size:1rem;font-weight:500;display:flex}.app-shell>header nav a{color:var(--muted);border-radius:999px;padding:.35rem .7rem;text-decoration:none}.app-shell>header nav a:hover{color:var(--text);background:var(--surface)}.app-shell>header nav a.nav-active{color:#06281d;background:var(--accent)}.answer{resize:vertical;background:var(--surface);width:100%;max-width:100%;min-height:6rem;color:var(--text);border:1px solid var(--border);border-radius:var(--radius);font:inherit;padding:.6rem .9rem}.verdict.coach{border-color:var(--accent);color:var(--text)}.muted{color:var(--muted)}select{font:inherit;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);padding:.5rem .9rem}table.gradebook{border-collapse:collapse;width:100%;margin-top:.5rem}table.gradebook th,table.gradebook td{text-align:left;border-bottom:1px solid var(--border);padding:.6rem .75rem}table.gradebook th{color:var(--muted);font-weight:600}.canvas-pad{border:1px solid var(--border);border-radius:var(--radius);touch-action:none;cursor:crosshair;background:#0b0d12;width:100%;max-width:360px;height:180px}
