:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f3ec;--surface:#fffdf8;--surface-strong:#efe9dd;--text:#23201b;--muted:#6a6358;--border:#dbd3c4;--accent:#2f6b4f;--accent-press:#24563f;--on-accent:#f8fbf7;--accent-soft:#e3efe7;--correct:#1f6b47;--correct-bg:#e4f1e7;--wrong:#963428;--wrong-bg:#f8e6e2;--hint:#8a6b2a;--hint-bg:#f6efdc;--radius:16px;--space:1rem;--tap:3.5rem}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#16150f;--surface:#211f18;--surface-strong:#2b2820;--text:#ece6da;--muted:#a49c8c;--border:#3a362b;--accent:#7cbf9a;--accent-press:#93cfad;--on-accent:#12241a;--accent-soft:#1d3427;--correct:#8fd6ab;--correct-bg:#1d3427;--wrong:#ef9b8d;--wrong-bg:#38211d;--hint:#e0c281;--hint-bg:#332b1a}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.0625rem;line-height:1.55}.app{gap:var(--space);max-width:34rem;min-height:100dvh;padding:calc(var(--space) + env(safe-area-inset-top)) var(--space) 0;flex-direction:column;margin:0 auto;display:flex}h1{letter-spacing:-.01em;margin:0;font-size:1.6rem;line-height:1.25}h2{letter-spacing:-.005em;margin:0;font-size:1.35rem;line-height:1.35}h3{margin:0;font-size:1.05rem;line-height:1.4}p{margin:0}.muted{color:var(--muted)}.tiny{color:var(--muted);font-size:.85rem}.screen{gap:var(--space);flex-direction:column;flex:1;display:flex}.question-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.meta-category{letter-spacing:.06em;text-transform:uppercase;font-weight:600}.badge{letter-spacing:.02em;text-transform:uppercase;color:var(--hint);background:var(--hint-bg);border:1px solid;border-radius:999px;padding:.15rem .55rem;font-size:.78rem;font-weight:600;display:inline-block}.badge-correct{color:var(--correct);background:var(--correct-bg)}.badge-wrong{color:var(--wrong);background:var(--wrong-bg)}.card{padding:var(--space);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:.75rem;display:flex}.answer-list{flex-direction:column;gap:.65rem;display:flex}.btn{width:100%;min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;justify-content:center;align-items:center;gap:.5rem;padding:.9rem 1rem;font-size:1.1rem;font-weight:600;text-decoration:none;transition:background-color .12s,border-color .12s,transform 80ms;display:flex}.btn:active{transform:scale(.99)}.btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.btn-primary{background:var(--accent);color:var(--on-accent);border-color:#0000}.btn-primary:active{background:var(--accent-press)}.btn-ghost{background:0 0}.btn-choice{justify-content:flex-start}.btn-row{justify-content:space-between}.btn[disabled]{cursor:default;opacity:.65}.btn-choice.is-correct{border-color:var(--correct);background:var(--correct-bg);color:var(--correct)}.btn-choice.is-wrong{border-color:var(--wrong);background:var(--wrong-bg);color:var(--wrong)}.btn-choice.is-last{border-color:var(--accent);background:var(--accent-soft)}.actions{padding:.85rem 0 calc(.85rem + env(safe-area-inset-bottom));background:linear-gradient(to bottom, transparent, var(--bg) 22%);flex-direction:column;gap:.6rem;margin-top:auto;display:flex;position:sticky;bottom:0}.field{flex-direction:column;gap:.5rem;display:flex}.field label{color:var(--muted);font-size:.95rem}.field input,.field textarea{width:100%;min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit;padding:.8rem 1rem;font-size:1.2rem}.field textarea{resize:vertical;min-height:5rem;font-size:1rem}.field input:focus-visible,.field textarea:focus-visible{outline:3px solid var(--accent);outline-offset:1px}.field-pin input{letter-spacing:.4em;font-variant-numeric:tabular-nums}.feedback-head{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.answer-reveal{font-size:1.15rem;font-weight:600}.sources{flex-direction:column;gap:.6rem;margin:0;padding:0;font-size:.95rem;list-style:none;display:flex}.sources a{color:var(--accent);word-break:break-word;font-weight:600}.sources .retrieved{color:var(--muted);margin-left:.45rem;font-size:.85rem}.sources details{margin-top:.3rem}.sources summary{cursor:pointer;color:var(--muted);font-size:.9rem}.sources blockquote{border-left:3px solid var(--border);color:var(--text);margin:.4rem 0 0;padding-left:.7rem;font-style:italic}.section-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:700}.topbar{justify-content:flex-start;margin-bottom:.25rem;display:flex}.btn.btn-back{width:auto;min-height:2.75rem;color:var(--accent);background:0 0;border-color:#0000;padding:.5rem .9rem;font-size:1rem}.banner{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-strong);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .9rem;font-size:.9rem;display:flex}.banner-offline{border-color:var(--hint);background:var(--hint-bg);color:var(--hint)}.banner-offline .linkish{color:inherit}.notice{border-radius:var(--radius);border:1px solid var(--accent);background:var(--accent-soft);color:var(--text);padding:.7rem .9rem;font-size:.92rem}.notice-error{border-color:var(--wrong);background:var(--wrong-bg);color:var(--wrong)}.notice-ok{border-color:var(--correct);background:var(--correct-bg);color:var(--correct)}.linkish{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.9rem;font-weight:600;text-decoration:underline}.table{flex-direction:column;gap:.45rem;margin:0;display:flex}.row{border:1px solid var(--border);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .75rem;font-size:.95rem;display:flex}.row-main{flex-direction:column;gap:.1rem;min-width:0;display:flex}.row-name{overflow-wrap:anywhere;font-weight:600}.row-side{font-variant-numeric:tabular-nums;color:var(--muted);flex-shrink:0;align-items:center;gap:.5rem;display:flex}.row-head{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;background:0 0;border:0;padding-bottom:0;font-size:.8rem;font-weight:700}.chips{flex-wrap:wrap;gap:.5rem;display:flex}.btn-small{width:auto;min-height:2.5rem;padding:.45rem .8rem;font-size:.95rem}.stack{flex-direction:column;gap:.6rem;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.report{flex-direction:column;align-items:flex-start;gap:.4rem;display:flex}@media (min-width:30rem){body{font-size:1.125rem}h2{font-size:1.6rem}.app{padding-left:1.25rem;padding-right:1.25rem}}
