:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f3ee;--surface:#fffdf9;--text:#22201c;--muted:#6b665d;--line:#ddd6ca;--accent:#1f5f8b;--on-accent:#fff;--highlight:#fde9a8;--problem:#a3261d}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#16181b;--surface:#1f2226;--text:#e6e2da;--muted:#9a958b;--line:#34383e;--accent:#7db8e0;--on-accent:#10202c;--highlight:#574a1c;--problem:#ff9b90}}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);margin:0;font:16px/1.5 system-ui,sans-serif}.app{flex-direction:column;max-width:44rem;height:100dvh;margin:0 auto;display:flex}.topbar{border-bottom:1px solid var(--line);align-items:center;gap:.75rem;padding:.6rem 1rem;display:flex}.topbar h1{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-size:1rem;font-weight:600;overflow:hidden}button,select,textarea{font:inherit;color:inherit}button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;min-height:44px;padding:.5rem 1rem}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}button.link{min-height:0;color:var(--accent);white-space:nowrap;background:0 0;border:0;padding:.25rem 0}select{border:1px solid var(--line);background:var(--surface);border-radius:10px;width:100%;min-height:44px;padding:.4rem .5rem}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.row{gap:.6rem;display:flex}.row>button{flex:1}.problem{color:var(--problem)}.start{flex-direction:column;flex:1;gap:.75rem;min-height:0;padding:1rem;display:flex}.start label{font-weight:600}.start textarea{border:1px solid var(--line);background:var(--surface);resize:none;border-radius:10px;flex:1;min-height:8rem;padding:.75rem}.start .problem{margin:0}.footnote{color:var(--muted);margin:0;font-size:.85rem}.footnote a{color:var(--accent)}.reader{overflow-wrap:break-word;flex:1;padding:1rem 1.1rem 2rem;font:1.15rem/1.7 Georgia,Times New Roman,serif;overflow-y:auto}.reader p{margin:0 0 1em}.reader span{cursor:pointer;border-radius:4px}.reader span.current{background:var(--highlight);box-shadow:0 0 0 3px var(--highlight)}.controls{padding:.5rem 1rem calc(.75rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}.status{text-align:center;min-height:1.3rem;color:var(--muted);font-variant-numeric:tabular-nums;margin:0 0 .5rem;font-size:.85rem}.status.problem{color:var(--problem)}.transport{justify-content:center;align-items:center;gap:1.25rem;margin-bottom:.6rem;display:flex}.transport button{border-radius:50%;place-items:center;width:52px;height:52px;padding:0;display:grid}.transport .play{width:64px;height:64px}.controls label{min-width:5.5rem;color:var(--muted);flex-direction:column;gap:.15rem;font-size:.75rem;display:flex}.controls label.grow{flex:1;min-width:0}.controls select{color:var(--text);font-size:1rem}
