:root{--ink:#163c35;--muted:#67746d;--paper:#f5f3ec;--line:#dfe4da;--green:#246850;--mint:#e5f1e7;--amber:#ad6928;--red:#a7473d;--font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.55}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:10px;font-weight:650;min-height:44px;padding:10px 17px;transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b98230;outline-offset:3px}[hidden]{display:none!important}.topbar{height:95px;max-width:1200px;padding:0 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:19px;font-weight:750;letter-spacing:-.3px}.brand small{display:block;font-size:11px;letter-spacing:.1px;color:var(--muted);font-weight:400}.brand-icon{display:grid;place-items:center;border-radius:13px;background:var(--ink);color:white;width:44px;height:44px;font:italic 32px Georgia,serif;padding-right:4px}.secondary{background:#fffdf8;color:var(--ink);border:1px solid #d6dfd3}.primary{background:var(--ink);color:white;display:inline-flex;align-items:center;justify-content:center;gap:26px}main{max-width:1200px;margin:0 auto;padding:38px 40px 20px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.9px;margin:0 0 8px;color:var(--green)}h1{font-family:Georgia,serif;font-weight:400;font-size:40px;letter-spacing:-1.2px;line-height:1.2;margin:0 0 10px}h2,h3,p{margin-top:0}.muted{color:var(--muted);font-size:13px}.page-heading .muted{font-size:14px;margin:0}.pack-badge{font-size:9px;letter-spacing:1.5px;white-space:nowrap;border:1px solid #d5ddce;padding:11px 16px;border-radius:12px;color:var(--muted)}.pack-badge b{font-size:14px;letter-spacing:0;display:block;color:var(--ink)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.practice{background:#fffefa;border:1px solid var(--line);border-radius:22px;padding:28px 32px;box-shadow:0 10px 35px #243e2510;min-height:550px}.practice-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:42px;gap:12px}.direction{font-size:12px;font-weight:700;letter-spacing:.2px;background:var(--mint);padding:7px 11px;border-radius:7px}.mode-badge{font-size:11px;color:var(--muted)}.card-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}#tense-label{text-transform:uppercase;letter-spacing:1.3px;font-weight:700}#prompt{font-family:Georgia,serif;font-size:36px;font-weight:400;line-height:1.25;margin:16px 0 10px;overflow-wrap:anywhere;outline:none}.context{color:var(--muted);font-size:13px;min-height:22px;margin-bottom:30px}label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.input-wrap{position:relative}input[type=text],select{width:100%;border:1.5px solid #cdd7ca;border-radius:10px;background:white;color:var(--ink);padding:14px;font-size:17px;outline:none}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #24685015}#answer{padding-right:48px}#answer-language{position:absolute;right:15px;top:17px;color:#839184;font-size:10px;font-weight:700}.answer-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 0}.answer-actions>span{font-size:10px;color:var(--muted);max-width:220px}.accents{display:flex;align-items:center;gap:5px;margin-top:10px}.accents>span{font-size:10px;color:var(--muted);margin-right:7px}.accents button{min-height:32px;padding:2px 10px;background:#f1f3ec;border:1px solid #e3e8dc;border-radius:5px;font-weight:500}.streak-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e7e9e1;margin-top:32px;padding-top:18px}.streak-row strong{font-size:16px;display:block}.streak-row span{font-size:10px;color:var(--muted)}.streak-dots{display:flex;gap:5px}.streak-dots i{height:7px;width:17px;border-radius:4px;background:#e8ece1}.streak-dots i.filled{background:var(--green)}.sidebar>section{margin-bottom:18px}.pool-panel{border:1px solid #dbe2d3;border-radius:18px;background:#eef1e7;padding:22px}.pool-panel .eyebrow{font-size:8px;letter-spacing:1.2px}.pool-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.pool-heading h2{font-size:17px;margin:0;letter-spacing:-.3px}.pool-heading>span{font-size:13px;color:var(--green);border:1px solid #d0d9c8;border-radius:7px;padding:1px 7px}.pool-legend{display:flex;gap:15px;font-size:11px;color:var(--muted)}.pool-legend span{display:flex;align-items:center;gap:4px}.pool-legend i{width:6px;height:6px;border-radius:50%;display:inline-block}.learning-dot{background:var(--green)}.review-dot{background:var(--amber)}.pool-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:19px 0}.pool-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;border-radius:8px;background:#fffdf7;border:1px solid #dce3d3;font-size:13px;color:var(--green);position:relative}.pool-tile small{font-size:8px;color:var(--muted)}.pool-tile.current{box-shadow:0 0 0 2px var(--green)}.pool-tile.review{background:#f7eedc;color:var(--amber);border-color:#e8d7b9}.pool-panel>p:last-child{font-size:11px;margin-bottom:0}.stats-panel{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:14px;background:#fffdf6;padding:17px 10px}.stats-panel>div{text-align:center}.stats-panel>div+div{border-left:1px solid var(--line)}.stats-panel strong{display:block;font-size:25px;font-weight:550}.stats-panel span{font-size:10px;color:var(--muted)}.how-panel{padding:4px 9px}.how-panel h3{font-size:13px;margin-bottom:9px}.how-panel ol{padding-left:18px;font-size:11px;color:var(--muted);line-height:1.9;margin:0}.how-panel p{font-size:10px;margin:12px 0 0}.feedback{border-radius:10px;padding:16px;margin-top:20px;border:1px solid #cfe2cb;background:#eff6eb;overflow-wrap:anywhere}.feedback h3{font-size:16px;margin-bottom:6px}.feedback p{font-size:13px;margin:0}.feedback.wrong{border-color:#edd8c8;background:#fff3e7}.feedback.typo{border-color:#e7d8ad;background:#fff9e8}.button-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.next{margin-top:17px;min-width:160px}.synonym-panel{padding:14px 0 0}.synonym-panel>p{font-size:12px;margin-bottom:6px}.synonym-panel .muted{font-size:11px}.synonym-panel button{font-size:12px}details{font-size:12px;margin-top:17px}details p{margin-top:9px;color:var(--muted)}summary{cursor:pointer;font-weight:650}footer{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:25px;gap:12px}.warning{padding:12px;background:#fff0d4;color:#75460f;border:1px solid #d8bd86;border-radius:10px;margin-bottom:20px;font-size:12px}dialog{width:min(520px,calc(100% - 26px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:26px;background:#fffefa;color:var(--ink)}dialog::backdrop{background:#102a2473;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:start}.dialog-heading h2{font-family:Georgia,serif;font-size:28px;font-weight:400}.icon-button{font-size:25px;padding:0 12px;background:transparent;color:var(--ink)}select{font-size:14px;margin-bottom:18px}dialog hr{border:0;border-top:1px solid var(--line);margin:24px 0}dialog h3{font-size:15px}#settings-message{font-size:12px;margin-top:12px}#aliases-list{max-height:240px;overflow:auto}.alias-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding:9px 0;font-size:11px;overflow-wrap:anywhere}.alias-row button{font-size:10px;padding:5px 9px;flex-shrink:0}#complete{padding:45px 0}#complete h2{font:34px Georgia,serif}#complete p{color:var(--muted)}
@media(max-width:900px){.topbar{padding:0 24px}main{padding:28px 24px}.layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.practice{padding:24px}.pool-panel{padding:18px}.streak-dots{gap:3px}.streak-dots i{width:12px}.answer-actions{align-items:flex-start;flex-direction:column}.answer-actions .primary{width:100%}.answer-actions>span{max-width:none}.pool-legend{gap:8px}}
@media(max-width:680px){.topbar{height:78px;padding:0 18px}.brand{font-size:16px;gap:8px}.brand small{display:none}.brand-icon{width:35px;height:35px;border-radius:10px;font-size:26px}.topbar>button{font-size:11px;padding:8px 11px}main{padding:25px 16px 18px}.page-heading{align-items:start;margin-bottom:23px;gap:10px}.page-heading h1{font-size:30px}.page-heading .muted{font-size:12px;max-width:230px}.pack-badge{padding:7px 9px;font-size:7px;letter-spacing:.6px}.pack-badge b{font-size:11px}.layout{grid-template-columns:1fr}.practice{padding:23px 21px;min-height:0;border-radius:17px}.practice-top{margin-bottom:30px}#prompt{font-size:32px}.context{margin-bottom:23px}.answer-actions{flex-direction:column-reverse;gap:10px}.answer-actions .primary{width:100%}.answer-actions>span{font-size:10px}.streak-dots i{width:14px}.sidebar{display:grid;grid-template-columns:1fr;gap:0}.pool-panel{padding:20px}.pool-grid{grid-template-columns:repeat(5,1fr);max-width:330px}.pool-tile{aspect-ratio:auto;min-height:40px}.pool-panel .eyebrow{font-size:9px}.how-panel{display:none}.stats-panel{margin-top:0}.direction{font-size:11px}footer{flex-direction:column;gap:4px}.button-row>*{flex:1}.accents>span{margin-right:2px}.accents button{min-height:38px;padding:4px 11px}dialog{padding:22px}}
.practice-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:-9px 0 22px}.practice-tools button{font-size:12px}.practice-tools .muted{font-size:11px}.wide-dialog{width:min(760px,calc(100% - 26px))}.wide-dialog input[type=text]{font-size:14px;margin-bottom:16px}.form-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.form-row label{display:flex;align-items:center;gap:10px;flex:1;margin:0;min-width:0}.form-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.form-row strong,.form-row small,.pack-row strong,.pack-row small{display:block}.form-row small,.pack-row small{color:var(--muted);font-size:11px;font-weight:400}.form-row button{font-size:11px;flex-shrink:0}.custom-builder{background:#eef1e7;padding:17px;border-radius:12px;margin-top:15px}.form-chip{background:white;border:1px solid var(--line);font-size:11px;min-height:34px;margin:4px 5px 4px 0;padding:5px 9px}#selected-forms{margin:9px 0}.saved-pool-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:12px 0}.saved-pool-row strong{width:100%}.saved-pool-row small{color:var(--muted)}.saved-pool-row button{font-size:11px}.pack-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.pack-row button{font-size:11px;max-width:180px}.context{line-height:1.6}#library-message{font-size:12px;margin:9px 0 0}@media(max-width:680px){.form-row{flex-wrap:wrap}.form-row label{flex-basis:100%}.form-row button{margin-left:30px}.pack-row button{max-width:125px}.practice-tools .muted{width:100%}.wide-dialog{padding:18px}}
.verb-attributes{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 13px;font-size:12px;color:var(--green)}.verb-attributes span+span::before{content:'·';margin-right:14px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.practice-tools [aria-pressed="true"]{background:var(--ink);color:white;border-color:var(--ink)}

.meaning-cue{font-size:16px;font-weight:650;color:var(--ink);background:var(--mint);border-left:3px solid var(--green);padding:10px 14px;border-radius:4px;margin:-8px 0 18px;line-height:1.5}
.regularity-label{white-space:pre-line;line-height:1.7}.verb-attributes{align-items:flex-start}
.feedback .correct-answer-label{font-size:12px;font-weight:700;margin-top:12px;margin-bottom:4px}.feedback .correct-answer{font-size:26px;line-height:1.35;font-weight:650;color:var(--ink)}

#startup{max-width:700px;margin:60px auto;padding:24px}#startup progress{width:100%}.loading-game>header,.loading-game>main,.loading-game>dialog{display:none!important}