:root{--bg:#f5f7f4;--surface:#fff;--surface-2:#eef3ef;--ink:#182720;--muted:#66736c;--line:#dce5df;--accent:#46765a;--accent-dark:#315540;--accent-soft:#dfeee4;--danger:#9b3d3d;--danger-soft:#f8e4e2;--good:#286646;--good-soft:#dff1e6;--shadow:0 14px 38px #18272014;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{color:var(--ink);background:radial-gradient(circle at 90% -10%, #dbeadf 0, transparent 36rem), var(--bg);min-height:100dvh;margin:0}button,input,select{font:inherit}button{cursor:pointer}input,select{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:13px;outline:none;min-height:48px;padding:0 14px}input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #46765a1f}label{gap:7px;font-size:.88rem;font-weight:650;display:grid}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;font-size:clamp(2rem,8vw,3.5rem);line-height:1.02}h2{letter-spacing:-.035em;font-size:clamp(1.55rem,6vw,2.2rem)}h3{font-size:1.15rem}.splash{letter-spacing:-.03em;place-items:center;min-height:100dvh;font-weight:800;display:grid}.auth-shell{align-items:center;min-height:100dvh;padding:24px 18px;display:grid}.auth-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);width:min(100%,470px);box-shadow:var(--shadow);background:#ffffffe6;border:1px solid #dce5dfe6;border-radius:28px;margin:auto;padding:clamp(24px,6vw,40px)}.brand-mark,.brand-small{object-fit:contain;background:0 0;display:block}.brand-mark{border-radius:0;width:64px;height:64px;margin-bottom:24px}.brand-small{border-radius:0;width:40px;height:40px;margin-right:0}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--accent);margin-bottom:9px;font-size:.72rem;font-weight:800}.muted,.empty{color:var(--muted);line-height:1.55}.stack{gap:17px;display:grid}.grid-two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.segmented{background:var(--surface-2);border-radius:14px;grid-template-columns:1fr 1fr;margin:28px 0 20px;padding:4px;display:grid}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:11px;padding:10px;font-weight:700}.segmented button.active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #1827200f}.primary,.secondary{border:0;border-radius:14px;min-height:48px;padding:0 18px;font-weight:800}.primary{background:var(--ink);color:#fff}.primary:hover{background:var(--accent-dark)}.primary:disabled{opacity:.55;cursor:default}.secondary{background:var(--surface-2);color:var(--ink)}.error{color:var(--danger);background:var(--danger-soft);border-radius:12px;padding:11px 13px;font-size:.88rem}.notice{color:var(--good);background:var(--good-soft);border-radius:12px;padding:11px 13px}.app-shell{width:min(100%,840px);min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom));margin:auto;position:relative}.topbar{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f5f7f4db;border-bottom:1px solid #dce5dfbf;justify-content:space-between;align-items:center;height:68px;padding:0 18px;display:flex;position:sticky;top:0}.topbar>div{align-items:center;font-weight:800;display:flex}.text-button,.icon-button{color:var(--muted);background:0 0;border:0;font-weight:700}.content{padding:22px 18px}.hero-card,.panel,.question-card,.result-card,.center-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#ffffffeb;border-radius:24px}.hero-card{gap:22px;padding:26px;display:grid}.hero-card h2{margin-bottom:8px}.hero-action{width:100%}.metric-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;min-width:0;padding:16px 13px}.metric-card span,.metric-card small{color:var(--muted);font-size:.75rem;display:block}.metric-card strong{margin:10px 0 2px;font-size:clamp(1.4rem,6vw,2rem);display:block}.panel{padding:22px}.section-heading{justify-content:space-between;gap:16px;display:flex}.topic-list{gap:12px;display:grid}.topic-row{justify-content:space-between;align-items:center;gap:15px;display:flex}.topic-row strong,.topic-row span{display:block}.topic-row span{color:var(--muted);margin-top:3px;font-size:.8rem}.accuracy{font-variant-numeric:tabular-nums;font-weight:850}.topic-progress{gap:8px;display:grid}.bar,.progress-track{background:var(--surface-2);border-radius:999px;overflow:hidden}.bar{height:7px}.bar-value,.progress-value{background:var(--accent);border-radius:inherit;height:100%}.bottom-nav{width:min(100%,840px);padding:8px 12px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--line);z-index:20;background:#ffffffeb;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:var(--muted);background:0 0;border:0;border-radius:13px;place-items:center;gap:3px;min-height:48px;font-size:.72rem;display:grid}.bottom-nav button span{font-size:1.2rem}.bottom-nav button.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:800}.test-page,.result-page{align-items:center;padding:18px;display:grid}.test-shell{grid-template-rows:auto 1fr;gap:18px;width:100%;min-height:calc(100dvh - 36px);display:grid}.test-topline{grid-template-columns:38px 1fr auto;align-items:center;gap:12px;display:grid}.icon-button{width:38px;height:38px;font-size:1.5rem}.progress-track{height:9px}.question-count{color:var(--muted);font-size:.78rem;font-weight:750}.question-card{flex-direction:column;justify-content:center;padding:clamp(22px,6vw,42px);display:flex}.question-card h2{font-size:clamp(1.65rem,7vw,2.6rem);line-height:1.18}.question-meta{gap:7px;margin-bottom:20px;display:flex}.question-meta span{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:750}.exercise-type{color:var(--accent);text-transform:capitalize;font-weight:800}.answer-form{gap:14px;margin-top:22px;display:grid}.feedback{border-radius:18px;gap:10px;margin-top:20px;padding:18px;display:grid}.feedback-good{background:var(--good-soft);color:var(--good)}.feedback-bad{background:var(--danger-soft);color:#6d3030}.feedback p{margin-bottom:0;line-height:1.48}.feedback .primary{margin-top:4px}.result-card,.center-card{text-align:center;width:min(100%,480px);margin:auto;padding:32px}.result-score{background:var(--accent-soft);width:112px;height:112px;color:var(--accent-dark);border-radius:50%;place-items:center;margin:0 auto 24px;font-size:2rem;font-weight:900;display:grid}@media (min-width:700px){.content{padding:32px}.hero-card{grid-template-columns:1fr auto;align-items:end}.hero-action{width:auto;min-width:210px}}@media (max-width:380px){.grid-two,.metric-grid{grid-template-columns:1fr}.metric-grid{gap:8px}.metric-card{grid-template-columns:1fr auto;align-items:center;display:grid}.metric-card strong{grid-area:span 2/2;margin:0}}.question-instruction{color:var(--muted);margin:-8px 0 4px;line-height:1.5}.choice-grid{gap:10px;display:grid}.choice-button,.token-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);text-align:left;border-radius:13px;min-height:46px;padding:10px 14px;font-weight:700}.choice-button:hover,.token-button:hover{border-color:var(--accent)}.choice-button.selected,.token-button.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-dark)}.order-builder{gap:14px;display:grid}.ordered-answer,.token-bank{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.ordered-answer{border:1px dashed var(--line);border-radius:14px;min-height:68px;padding:10px}.ordered-answer>span{color:var(--muted);font-size:.9rem}.token-button{text-align:center;width:auto;min-height:40px}.matching-grid{gap:12px;display:grid}.matching-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(130px,.8fr);align-items:center;gap:12px;padding:10px 0}.matching-row:last-child{border-bottom:0}@media (max-width:480px){.matching-row{grid-template-columns:1fr}}.case-choice-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.case-choice-card{border:1px solid var(--line);min-height:72px;color:var(--ink);font:inherit;background:linear-gradient(#fff,#f7faf8);border-radius:18px;padding:14px 12px;font-weight:800;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;box-shadow:0 5px 16px #1827200d}.case-choice-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 9px 22px #18272017}.case-choice-card.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-dark);transform:translateY(-2px);box-shadow:0 8px 20px #46765a24}.question-card{transition:transform .2s,box-shadow .2s,opacity .2s}.progress-value{transition:width .26s}.feedback{animation:.2s both feedback-in}@keyframes feedback-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:620px){.case-choice-grid{grid-template-columns:1fr}.case-choice-card{text-align:left;min-height:58px}}.case-target{color:inherit;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:linear-gradient(#0000 55%,#dfeee4 55%);border-radius:.18em;padding:0 .08em}.glossary-word{text-underline-offset:.13em;cursor:help;border-radius:.14em;outline:none;-webkit-text-decoration:underline dotted #46765a94;text-decoration:underline dotted #46765a94;text-decoration-thickness:.06em;transition:background .16s,color .16s;display:inline;position:relative}.glossary-word:hover,.glossary-word:focus{background:#dfeee4b8}.glossary-word:after{content:attr(data-gloss);z-index:40;color:#fff;letter-spacing:0;text-align:left;white-space:normal;opacity:0;pointer-events:none;background:#183126;border-radius:11px;width:max-content;max-width:min(280px,78vw);padding:9px 11px;font-size:.78rem;font-weight:650;line-height:1.35;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%,5px);box-shadow:0 10px 28px #18272033}.glossary-word:hover:after,.glossary-word:focus:after{opacity:1;transform:translate(-50%)}.glossary-word.case-target-word{-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);background:linear-gradient(#0000 55%,#dfeee4 55%)}.glossary-word.case-target-word:hover,.glossary-word.case-target-word:focus{background:#dfeee4}@media (max-width:620px){.glossary-word:after{max-width:72vw;font-size:.8rem}}.test-topline{grid-template-columns:38px 1fr}.progress-block{gap:8px;display:grid}.progress-label{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;font-weight:750;display:flex}.progress-label strong{color:var(--ink);font-variant-numeric:tabular-nums}.topic-badge,.level-badge{border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:800}.question-meta .topic-badge,.question-meta .level-badge{background:0 0}.level-badge{color:#617168!important;background:#edf1ee!important}.tone-case{color:#315d45!important;background:#e3f0e8!important}.tone-pronoun{color:#5a4b80!important;background:#ebe7f7!important}.tone-verb{color:#3c5f80!important;background:#e4edf7!important}.tone-syntax{color:#785f35!important;background:#f7eddc!important}.tone-adjective{color:#805064!important;background:#f5e5ec!important}.tone-neutral{color:#617168!important;background:#edf1ee!important}.question-card{animation:.22s both question-in}@keyframes question-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.primary{background:linear-gradient(135deg,#315540,#234533);transition:transform .16s,box-shadow .16s,background .16s;box-shadow:0 7px 18px #23453324}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 24px #23453333}.primary:active:not(:disabled){transform:translateY(0)}.matching-card{border:1px solid var(--line);background:#fafcfb;border-radius:16px;gap:12px;padding:15px;display:grid}.matching-item{color:var(--ink);font-weight:800}.matching-options{flex-wrap:wrap;gap:8px;display:flex}.matching-option{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink);font:inherit;border-radius:12px;padding:8px 12px;font-weight:700;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s}.matching-option:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px)}.matching-option.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-dark);box-shadow:0 5px 14px #46765a1f}.order-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.8rem;font-weight:800;display:flex}.order-reset{color:var(--accent-dark);font:inherit;background:0 0;border:0;padding:4px 6px;font-size:.78rem;font-weight:800}.order-placeholder{color:var(--muted);line-height:1.45}.token-button{align-items:center;gap:7px;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s;display:inline-flex}.token-button:hover:not(:disabled){transform:translateY(-1px)}.token-button small{min-width:20px;height:20px;color:var(--accent-dark);background:#3155401f;border-radius:999px;place-items:center;font-size:.68rem;font-weight:900;display:inline-grid}.ordered-answer .token-button{animation:.16s both token-in}@keyframes token-in{0%{opacity:0;transform:translateY(4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.answer-textarea{resize:vertical;border:1px solid var(--line);background:var(--surface);width:100%;min-height:128px;color:var(--ink);font:inherit;border-radius:14px;outline:none;padding:14px;line-height:1.5;transition:border-color .16s,box-shadow .16s,background .16s}.answer-textarea:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px #46765a1f}@media (max-width:620px){.answer-textarea{min-height:116px;font-size:16px}.answer-form>input{font-size:16px}}.feedback-heading{align-items:flex-start;gap:12px;display:flex}.feedback-heading>div{gap:3px;display:grid}.feedback-heading strong{font-size:1.05rem}.feedback-heading span:not(.feedback-icon){opacity:.84;font-size:.86rem;line-height:1.4}.feedback-icon{background:#ffffff9e;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:1rem;font-weight:900;display:inline-grid}.feedback-answer,.feedback-explanation{background:#ffffff8f;border-radius:13px;gap:6px;padding:13px 14px;display:grid}.feedback-answer>span,.feedback-explanation>span{text-transform:uppercase;letter-spacing:.08em;opacity:.72;font-size:.72rem;font-weight:850}.feedback-answer b{font-size:1rem;line-height:1.45}.feedback-explanation p{white-space:pre-line;margin:0;line-height:1.5}.feedback .primary{width:100%}.result-card{gap:18px;display:grid}.result-card .eyebrow{margin-bottom:0}.result-score{align-content:center;gap:2px;width:132px;height:132px;display:grid}.result-score strong{font-size:2rem;line-height:1}.result-score span{color:var(--accent-dark);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:800}.result-metrics{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.result-metrics>div{border:1px solid var(--line);background:#f8faf8;border-radius:14px;gap:6px;padding:13px 10px;display:grid}.result-metrics span{color:var(--muted);font-size:.72rem;font-weight:750}.result-metrics strong{font-variant-numeric:tabular-nums;font-size:1.35rem}.result-note{margin-bottom:0}.result-card .primary{width:100%}@media (max-width:380px){.result-metrics{grid-template-columns:1fr}}@media (max-width:620px){.test-page,.result-page{padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom))}.test-shell{min-height:calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)))}.question-card{justify-content:flex-start;padding:22px 18px}.question-card h2{font-size:clamp(1.55rem,8vw,2.15rem)}.icon-button{width:44px;height:44px}.token-button,.matching-option{min-height:44px}.order-reset{min-height:44px;padding:8px 10px}.glossary-word:after{left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:auto;max-width:none;padding:12px 14px;font-size:.84rem;position:fixed;transform:translateY(8px)}.glossary-word:hover:after,.glossary-word:focus:after{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.practice-builder{background:radial-gradient(circle at 90% 10%,#6ca8842e,#0000 34%),linear-gradient(145deg,#f8fbf8 0%,#eef6f1 100%);border:1px solid #d8e3dc;border-radius:26px;gap:22px;padding:28px;display:grid;box-shadow:0 18px 46px #1a402d14}.practice-builder-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.practice-builder-head h3{margin:4px 0 7px;font-size:clamp(1.45rem,3vw,2rem)}.practice-count-badge{color:#fff;background:#173e2c;border-radius:999px;flex:none;padding:8px 12px;font-size:.78rem;font-weight:850}.practice-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.practice-topic-card{color:#173426;min-height:94px;font:inherit;text-align:left;cursor:pointer;background:#ffffffc7;border:1px solid #43695229;border-radius:17px;align-content:center;justify-items:start;gap:9px;padding:14px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:grid}.practice-topic-card.selected{background:#dcefe3;border-color:#2f6c49;box-shadow:inset 0 0 0 1px #2f6c4933}.practice-topic-icon{color:#fff;background:#173e2c;border-radius:10px;place-items:center;min-width:32px;height:32px;padding:0 8px;font-size:.76rem;font-weight:900;display:grid}.practice-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;display:grid}.practice-controls label,.practice-count-control{gap:8px;display:grid}.practice-controls label>span,.practice-count-control>span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.76rem;font-weight:850}.practice-controls select{min-height:48px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cad8cf;border-radius:13px;padding:0 13px;font-weight:700}.practice-count-control>div{gap:8px;display:flex}.practice-count-control button{min-width:54px;min-height:48px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cad8cf;border-radius:13px;font-weight:850}.practice-start{justify-self:start;min-height:52px;padding-inline:24px}@media (max-width:760px){.practice-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-controls{grid-template-columns:1fr}.practice-start{width:100%}}@media (max-width:420px){.practice-builder{padding:20px 16px}.practice-builder-head{display:grid}.practice-count-badge{justify-self:start}}.app-shell{width:min(100%,980px)}.bottom-nav{background:#fffdf8f0;width:min(100%,980px)}.content>.stack{gap:18px}.dashboard-hero{color:#fffdf8;background:radial-gradient(circle at 92% 18%,#f0bc6752,#0000 24%),radial-gradient(circle at 72% 110%,#5cb38b5c,#0000 40%),linear-gradient(135deg,#123c2b 0%,#1d5b40 58%,#2f7755 100%);border:0;padding:clamp(26px,5vw,42px);position:relative;overflow:hidden;box-shadow:0 28px 60px #1746313d}.dashboard-hero:after{content:"";pointer-events:none;border:1px solid #ffffff24;border-radius:50%;width:180px;height:180px;position:absolute;top:-68px;right:-62px;box-shadow:0 0 0 30px #ffffff09,0 0 0 62px #ffffff06}.dashboard-hero .eyebrow{color:#efcf92;margin-bottom:0}.hero-copy{z-index:1;position:relative}.hero-kicker-row{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:18px;display:flex}.hero-level-pill{color:#ffffffe6;background:#ffffff1f;border:1px solid #ffffff29;border-radius:999px;padding:6px 10px;font-size:.76rem;font-weight:800}.dashboard-hero h2{color:#fff;letter-spacing:-.055em;max-width:610px;margin-bottom:10px;font-size:clamp(2.1rem,6vw,3.35rem);line-height:.98}.hero-subtitle{color:#ffffffb8;max-width:520px;margin:0;font-size:clamp(.96rem,2.2vw,1.08rem);line-height:1.5}.hero-mini-stats{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.hero-mini-stats span{color:#ffffffb8;background:#09231847;border-radius:13px;align-items:baseline;gap:7px;padding:9px 12px;font-size:.77rem;display:inline-flex}.hero-mini-stats b{color:#fff;font-size:1rem}.hero-action-wrap{z-index:1;align-content:end;gap:8px;display:grid;position:relative}.hero-action-label{color:#ffffff94;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:750}.dashboard-hero .hero-action{color:#163929;background:#f0c978;border:0;justify-content:space-between;align-items:center;gap:22px;min-height:58px;display:inline-flex;box-shadow:0 14px 30px #0925193d}.dashboard-hero .hero-action>span{font-size:1.25rem}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-card{border:0;border-radius:22px;align-items:center;gap:14px;min-height:126px;padding:18px;display:flex;box-shadow:0 13px 28px #232d2812}.metric-card>div{min-width:0}.metric-icon{border-radius:14px;flex:none;place-items:center;width:44px;height:44px;font-weight:900;font-size:1.12rem!important;display:grid!important}.metric-card span,.metric-card small{color:#173126ad}.metric-card strong{margin:4px 0 0;font-size:clamp(1.8rem,5vw,2.45rem);line-height:1}.practice-builder{background:radial-gradient(circle at 100% 0,#f9cf7f47,#0000 30%),linear-gradient(145deg,#fffdf8,#f4efe4);border:0;padding:clamp(24px,4.6vw,36px);box-shadow:0 20px 46px #3730221a}.practice-builder-head h3{color:#203d30;font-size:clamp(1.65rem,3.5vw,2.15rem)}.practice-count-badge{background:#233f32}.practice-topic-card{border:0;min-height:104px;position:relative;overflow:hidden;box-shadow:0 8px 20px #29302b0f}.practice-topic-card:after{content:"";background:#ffffff57;border-radius:50%;width:70px;height:70px;position:absolute;bottom:-28px;right:-18px}.practice-topic-card:hover{border-color:#0000;transform:translateY(-3px);box-shadow:0 14px 28px #23392d1a}.practice-topic-icon{z-index:1;background:#173e2ce6;position:relative}.practice-topic-card strong{z-index:1;position:relative}.practice-controls select,.practice-count-control button{background:#ffffffc7;border-color:#464f4826}.practice-start{border-radius:16px;min-height:56px}.panel{background:#fffdf8;border:0;padding:clamp(24px,4.5vw,34px);box-shadow:0 18px 40px #302e2814}.panel .section-heading h3{font-size:clamp(1.45rem,3vw,1.9rem)}.topic-list{gap:10px}.weak-topic-card{background:#f8f5ee;border-radius:17px;grid-template-columns:48px 1fr;align-items:center;gap:14px;padding:15px;display:grid}.weak-topic-index{color:#f8e8bd;letter-spacing:.04em;background:#173e2c;border-radius:13px;place-items:center;width:42px;height:42px;font-size:.76rem;font-weight:900;display:grid}.weak-topic-body{gap:10px;min-width:0;display:grid}.weak-topic-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.weak-topic-heading strong,.weak-topic-heading span{display:block}.weak-topic-heading strong{font-size:.94rem}.weak-topic-heading span{color:var(--muted);margin-top:3px;font-size:.76rem}.weak-topic-heading .accuracy{color:#8d5137;background:#b56d4b1f;border-radius:9px;flex:none;padding:5px 8px;font-size:.8rem}.weak-topic-track{background:#1e3a2b17;border-radius:999px;height:7px;overflow:hidden}.weak-topic-value{border-radius:inherit;background:linear-gradient(90deg,#d58b58,#e7bb72);height:100%}@media (min-width:700px){.dashboard-hero{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.hero-action-wrap{min-width:250px}}@media (max-width:699px){.metric-grid{grid-template-columns:1fr}.metric-card{min-height:96px}.dashboard-hero .hero-action{width:100%}}@media (max-width:420px){.dashboard-hero{border-radius:22px;padding:24px 20px}.hero-mini-stats{grid-template-columns:1fr 1fr;display:grid}.hero-mini-stats span{gap:2px;display:grid}.practice-topic-card{min-height:96px}.weak-topic-card{grid-template-columns:38px 1fr;padding:13px}.weak-topic-index{width:36px;height:36px}}@media (max-width:699px){.app-shell{padding-bottom:calc(124px + env(safe-area-inset-bottom))}.content{padding:16px 14px 26px}.content>.stack{gap:14px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric-card{border-radius:18px;align-content:center;justify-items:start;gap:8px;min-height:112px;padding:13px 11px;display:grid}.metric-icon{border-radius:11px;width:36px;height:36px;font-size:.9rem!important}.metric-card>div>span{min-height:2.2em;font-size:.66rem;line-height:1.1}.metric-card strong{margin-top:3px;font-size:clamp(1.45rem,7vw,1.9rem)}.metric-card small{font-size:.66rem}.practice-builder{border-radius:22px;gap:16px;padding:22px 16px 24px}.practice-builder-head{padding-right:88px;display:block;position:relative}.practice-builder-head h3{margin-bottom:6px;font-size:1.75rem}.practice-builder-head .muted{margin-bottom:0;font-size:.9rem;line-height:1.45}.practice-count-badge{padding:7px 10px;font-size:.72rem;position:absolute;top:0;right:0}.practice-topic-grid{gap:8px}.practice-topic-card{border-radius:15px;gap:7px;min-height:86px;padding:12px}.practice-topic-icon{border-radius:9px;min-width:28px;height:28px;font-size:.68rem}.practice-topic-card strong{font-size:.9rem;line-height:1.16}.practice-controls{gap:12px}.practice-controls select{min-height:44px}.practice-count-control button{min-width:50px;min-height:44px}.practice-start{min-height:52px;margin-bottom:6px}.panel{border-radius:22px;padding:22px 16px 26px}.bottom-nav{padding:7px 10px calc(10px + env(safe-area-inset-bottom))}.bottom-nav button{min-height:54px}}@media (max-width:360px){.metric-grid{scrollbar-width:none;grid-template-columns:repeat(3,minmax(92px,1fr));padding-bottom:2px;overflow-x:auto}.metric-grid::-webkit-scrollbar{display:none}}.metric-action{appearance:none;width:100%;font:inherit;text-align:left;cursor:pointer;transition:transform .16s,box-shadow .16s,filter .16s}.metric-action:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 32px #493d6824}.metric-action:active:not(:disabled){transform:translateY(0)}.metric-action:focus-visible{outline-offset:3px;outline:3px solid #5b4b8047}.metric-action:disabled{cursor:default;opacity:.62}:root{--bg:#fbf7f2;--surface:#fffaf6;--surface-2:#f7efe8;--ink:#3b3531;--muted:#7d746d;--line:#eadfd6;--accent:#e98952;--accent-dark:#c96f3f;--accent-soft:#fde5d5;--shadow:0 18px 48px #674f401a}.topbar{background:#fffaf6e6}.practice-start,.primary{color:#fff;background:#e98952}.practice-start:hover:not(:disabled),.primary:hover:not(:disabled){background:#d97845}:root{--bg:#f7fbf5;--surface:#fffaf5;--surface-2:#f4f1ea;--ink:#2f3a33;--muted:#70766f;--line:#dfe8dc;--accent:#7fb786;--accent-dark:#4f8b5b;--accent-soft:#e3f2df;--green-main:#c7e0c4;--green-soft:#dff0dc;--green-deep:#a9d3a8;--orange:#f29a57;--orange-soft:#fbe1cc;--blue:#8fc8e8;--blue-soft:#e2f1fa;--coral:#e97878;--coral-soft:#f8dede;--shadow:0 18px 44px #526c531f}body{background:radial-gradient(circle at 10% 0,#c7e0c485,#0000 29rem),radial-gradient(circle at 92% 8%,#8fc8e82e,#0000 32rem),linear-gradient(#fbfdf9 0%,#f5f9f2 50%,#faf6f0 100%)}.topbar{background:#fbfdf9eb;border-bottom-color:#6b896c24}.dashboard-hero{color:#314137;background:radial-gradient(circle at 92% 12%,#ffffff85,#0000 24%),radial-gradient(circle at 76% 110%,#f29a5733,#0000 38%),linear-gradient(135deg,#c7e0c4 0%,#b9d9b7 48%,#dff0dc 100%);box-shadow:0 24px 54px #5d7e602e}.dashboard-hero:after{border-color:#ffffff6b;box-shadow:0 0 0 30px #ffffff1a,0 0 0 62px #ffffff12}.dashboard-hero .eyebrow{color:#c96836}.hero-level-pill{color:#507058;background:#ffffff85;border-color:#ffffffad}.dashboard-hero h2{color:#304338}.hero-subtitle{color:#304338c2}.hero-mini-stats span{color:#32473ab8;background:#ffffff75}.hero-mini-stats b{color:#334a3b}.hero-action-label{color:#435b49a3}.dashboard-hero .hero-action{color:#fff;background:linear-gradient(135deg,#f6aa70 0%,#ef8f4c 100%);box-shadow:0 14px 28px #c9693633}.dashboard-hero .hero-action:hover:not(:disabled){background:linear-gradient(135deg,#f7b37f 0%,#f19a5c 100%)}.metric-target{background:linear-gradient(145deg,#fde8d3,#f8d8b8)}.metric-target .metric-icon{color:#fff;background:#f29a57}.metric-review{background:linear-gradient(145deg,#e6f1fb,#d8eaf7)}.metric-review .metric-icon{color:#2d5b72;background:#8fc8e8}.metric-level{background:linear-gradient(145deg,#e6f2e3,#d3e8d1)}.metric-level .metric-icon{color:#365f3f;background:#9fc9a2}.practice-builder{background:radial-gradient(circle at 100% 0,#f29a5733,#0000 28%),radial-gradient(circle at 4% 100%,#8fc8e829,#0000 34%),linear-gradient(145deg,#fffaf5 0%,#f7f3ec 100%);box-shadow:0 18px 42px #665b4b17}.practice-builder .eyebrow{color:#d87542}.practice-builder-head h3{color:#3a443e}.practice-count-badge{color:#fff;background:linear-gradient(135deg,#86b88c,#6ca876)}.practice-topic-card:first-child{background:linear-gradient(145deg,#dcefd8,#c7e0c4)}.practice-topic-card:nth-child(2){background:#e4f1e1}.practice-topic-card:nth-child(3){background:#fbe1cc}.practice-topic-card:nth-child(4){background:#e2f1fa}.practice-topic-card:nth-child(5){background:#eee5f7}.practice-topic-card:nth-child(6){background:#f9e8c8}.practice-topic-card:nth-child(7){background:#e0efeb}.practice-topic-card:nth-child(8){background:#f8dede}.practice-topic-card{color:#37423b}.practice-topic-card.selected{color:#fff;background:linear-gradient(135deg,#f6a368 0%,#ef8d4b 100%);box-shadow:0 14px 28px #cf723e33,inset 0 0 0 2px #ffffff4d}.practice-topic-icon{color:#fff;background:#78aa80}.practice-topic-card.selected .practice-topic-icon{color:#c96635;background:#ffffffe0}.practice-count-control button.selected{color:#fff;background:#f29a57;border-color:#f29a57}.primary,.practice-start{color:#fff;background:linear-gradient(135deg,#f29a57 0%,#e98445 100%);box-shadow:0 8px 20px #cd6f3a26}.primary:hover:not(:disabled),.practice-start:hover:not(:disabled){background:linear-gradient(135deg,#f5a86d 0%,#eb9053 100%)}.panel{background:#fffaf5}.panel .eyebrow{color:#cf6f45}.weak-topic-card{background:#f8eee6}.weak-topic-card:nth-child(2){background:#edf3fb}.weak-topic-card:nth-child(3){background:#eaf3e8}.weak-topic-index{color:#fff;background:linear-gradient(145deg,#8bb991,#6ea679)}.weak-topic-heading .accuracy{color:#b96139;background:#fde2d2}.weak-topic-track{background:#6f87741f}.weak-topic-value{background:linear-gradient(90deg,#7fb786 0%,#f0a45f 70%,#e97878 100%)}.bottom-nav button.active{color:#5d9767;background:#e4f2e1}.metric-action:hover:not(:disabled){box-shadow:0 16px 32px #5a88b026}.metric-action:focus-visible{outline-color:#f29a5752}.feedback-good{background:#e3f2df;border-color:#b8d8b5}.feedback-bad{background:#f8dede;border-color:#edbcbc}.case-choice-card.selected,.choice-button.selected,.token-button.selected,.matching-option.selected{color:#426e4b;background:#dff0dc;border-color:#8dbd91}.progress-value{background:linear-gradient(90deg,#7fb786,#8fc8e8,#f29a57)}.instruction-translation{text-underline-offset:.18em;cursor:help;border-radius:.2em;outline:none;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:#d978458c;display:inline;position:relative}.instruction-translation:hover,.instruction-translation:focus,.instruction-translation.is-open{color:var(--ink);background:#fde5d58c}.instruction-translation:after{content:attr(data-translation);z-index:45;color:#fff;text-align:left;white-space:normal;opacity:0;pointer-events:none;background:#3b3531;border-radius:12px;width:max-content;max-width:min(420px,82vw);padding:10px 12px;font-size:.84rem;font-weight:650;line-height:1.4;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 9px);left:0;transform:translateY(-4px);box-shadow:0 12px 30px #3b35312e}.instruction-translation:hover:after,.instruction-translation:focus:after,.instruction-translation.is-open:after{opacity:1;transform:translateY(0)}@media (max-width:620px){.instruction-translation:after{top:auto;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:auto;max-width:none;padding:12px 14px;font-size:.88rem;position:fixed;transform:translateY(8px)}.instruction-translation:hover:after,.instruction-translation:focus:after,.instruction-translation.is-open:after{transform:translateY(0)}}.vocabulary-view{padding-bottom:8px}.vocabulary-intro{gap:12px;display:grid}.vocabulary-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:6px;display:grid}.vocabulary-stats>div{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:3px;padding:14px;display:grid}.vocabulary-stats strong{font-size:1.55rem;line-height:1}.vocabulary-stats span{color:var(--muted);font-size:.8rem;font-weight:700}.vocabulary-card{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:22px;gap:16px;padding:clamp(20px,5vw,32px);display:grid}.vocabulary-card .level-badge{justify-self:center}.vocabulary-german{overflow-wrap:anywhere;font-size:clamp(2rem,8vw,3.4rem);line-height:1.08}.vocabulary-example{color:var(--muted);margin:0;font-size:1rem;line-height:1.6}.vocabulary-reveal{width:100%;min-height:52px}.vocabulary-answer{gap:12px;padding-top:4px;display:grid}.vocabulary-answer>span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:800}.vocabulary-answer>strong{font-size:clamp(1.4rem,5vw,2rem)}.vocabulary-review-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:4px;display:grid}.vocabulary-review-actions button{min-height:50px}.vocabulary-message{color:var(--accent-dark);margin:14px 0 0;font-weight:700;line-height:1.45}.vocabulary-add-form{gap:14px;margin-top:18px;display:grid}.vocabulary-add-form label{gap:7px;display:grid}.vocabulary-add-form label>span{color:var(--muted);font-size:.82rem;font-weight:800}.vocabulary-add-form input{width:100%}.vocabulary-add-form .primary{min-height:50px;margin-top:2px}@media (max-width:560px){.bottom-nav button{padding-inline:4px;font-size:.64rem}.bottom-nav.bottom-nav-admin{grid-template-columns:repeat(6,minmax(68px,1fr));overflow-x:auto}.vocabulary-stats{gap:7px}.vocabulary-stats>div{padding:12px 9px}.vocabulary-review-actions{grid-template-columns:1fr}}.vocabulary-bank-button{width:100%;min-height:48px;margin-top:2px}.vocabulary-mode{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.82rem;font-weight:800}.vocabulary-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.vocabulary-option{text-align:center;min-height:72px;padding:14px;line-height:1.35}.vocabulary-text-answer{gap:10px;display:grid}.vocabulary-text-answer input{text-align:center;width:100%;min-height:50px;font-size:1.05rem}.vocabulary-text-answer button{min-height:50px}.vocabulary-result{border:1px solid var(--line);text-align:left;border-radius:16px;gap:10px;padding:16px;display:grid}.vocabulary-result>strong{font-size:1.25rem}.vocabulary-result p{margin:0;line-height:1.5}.vocabulary-result.correct{border-color:color-mix(in srgb, var(--accent) 45%, var(--line))}.vocabulary-result.wrong{border-color:color-mix(in srgb, #b94a48 48%, var(--line))}.vocabulary-result .primary{width:100%;min-height:48px;margin-top:4px}@media (max-width:560px){.vocabulary-options{grid-template-columns:1fr}}.admin-user-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.admin-edit-fields{border:0;min-width:0;margin:0;padding:0}.admin-delete-button{color:#b42318;border-color:#f1b8b4}@media (max-width:640px){.admin-user-actions{justify-content:flex-start;width:100%}}.admin-user-row{flex-wrap:wrap}.admin-user-row>div:first-child{overflow-wrap:anywhere;flex:200px;min-width:0}.admin-user-actions{flex:220px}.admin-statistics{border-top:1px solid var(--line);flex:1 0 100%;min-width:0;padding-top:1rem}.admin-statistics-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:1rem;margin:0;display:grid}.admin-statistics-summary dd{margin:.25rem 0 0;font-weight:700}.admin-topic-progress{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.admin-topic-progress li{gap:.2rem;display:grid}.admin-topic-progress progress{width:100%}@media (max-width:640px){.admin-edit-panel .grid-two{grid-template-columns:1fr}}.vocabulary-study-tabs{flex-wrap:wrap;gap:10px;display:flex}.vocabulary-study-tabs button{flex:160px}.vocabulary-option{grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:8px;display:grid}.answer-letter{border:1px solid;border-radius:8px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-weight:800;display:inline-grid}.vocabulary-option.answer-color-0,.article-practice .choice-button:nth-child(4n+1){color:#174375;background:#eaf3ff;border-color:#99bce5}.vocabulary-option.answer-color-1,.article-practice .choice-button:nth-child(4n+2){color:#713b14;background:#fff0e5;border-color:#e8b78d}.vocabulary-option.answer-color-2,.article-practice .choice-button:nth-child(4n+3){color:#53307b;background:#f2eaff;border-color:#bea0dc}.vocabulary-option.answer-color-3,.article-practice .choice-button:nth-child(4n+4){color:#185942;background:#e7f7f0;border-color:#91cdb6}.vocabulary-option:disabled{opacity:1}.vocabulary-option.answer-correct{color:#18542b;background:#e5f7e9;border:2px solid #338247}.vocabulary-option.answer-wrong{color:#862e27;background:#ffebea;border:2px solid #be4c41}.answer-status{text-align:center;grid-column:1/-1;margin:0;font-size:.8rem;font-weight:800}.article-mode-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.article-mode-button{text-align:left;white-space:normal;gap:7px;display:grid}.article-mode-button span{font-size:.85rem;font-weight:400;line-height:1.4}.article-mode-button.selected,.article-practice .choice-button.selected{border:2px solid #174375;box-shadow:0 0 0 2px #17437526}.vocabulary-option:focus-visible,.article-mode-button:focus-visible{outline-offset:3px;outline:3px solid #174375}.vocabulary-option>span:nth-child(2){text-align:center;overflow-wrap:anywhere;grid-column:2;min-width:0}.brand-lockup{align-items:center;gap:12px;display:flex}.brand-lockup>span{letter-spacing:-.035em;font-weight:800}.vocabulary-german{text-align:center;width:100%;display:block}.vocabulary-card .vocabulary-result{text-align:center}.article-practice .choice-button{text-align:center;min-height:64px}.practice-count-badge{color:#233d60;white-space:nowrap;background:#edf1f6;border-radius:10px;justify-content:center;align-self:flex-start;align-items:center;width:auto;height:auto;min-height:34px;padding:8px 12px;display:inline-flex}.vocabulary-study-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.vocabulary-study-tabs button{min-width:0;padding-inline:10px}@media (max-width:560px){.bottom-nav.bottom-nav-admin{grid-template-columns:repeat(6,minmax(0,1fr));overflow-x:visible}.vocabulary-study-tabs button{font-size:.85rem}}.primary,.practice-start{color:#fff;background:#233d60;border:2px solid #233d60;min-height:52px;box-shadow:0 3px #132740}.primary:hover:not(:disabled),.practice-start:hover:not(:disabled){background:#304f78;border-color:#304f78}.secondary{color:#233d60;background:#fff;border:2px solid #bac5d1;min-height:52px}.secondary:hover:not(:disabled){background:#edf2f8;border-color:#233d60}.choice-button,.token-button,.matching-option,.case-choice-card{border-width:2px;min-height:52px}.choice-button.selected,.token-button.selected,.matching-option.selected,.case-choice-card.selected,.article-practice .choice-button.selected,.article-mode-button.selected{color:#193e6b;background:#e6eef9;border:2px solid #233d60;box-shadow:inset 0 0 0 1px #233d60}.article-mode-button{padding:16px}.article-mode-button.selected:after{content:"✓ Seçili";color:#193e6b;font-size:.8rem;font-weight:800}.vocabulary-option{border-width:2px;box-shadow:0 2px #233d601f}.vocabulary-option:hover:not(:disabled){border-color:#233d60;box-shadow:0 0 0 2px #233d6020}.vocabulary-option.answer-correct{background:#e0f3e7;border-color:#247346}.vocabulary-option.answer-wrong{background:#fde8eb;border-color:#ad3441}button:focus-visible{outline-offset:3px;outline:3px solid #233d60}button:disabled{cursor:not-allowed}.primary:disabled,.secondary:disabled:not(.vocabulary-option){opacity:.55;box-shadow:none}.bottom-nav button.active{color:#193e6b;background:#e6eef9;box-shadow:inset 0 3px #233d60}.vocabulary-study-tabs button[aria-pressed=true]{box-shadow:inset 0 -3px #e8ba67}@media (prefers-reduced-motion:no-preference){.primary,.secondary,.choice-button{transition:background-color .15s,border-color .15s,box-shadow .15s}}.w-reference summary{cursor:pointer;padding:12px 0;font-weight:750}.w-reference-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin:10px 0 20px;display:grid}.w-reference-card{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:14px;gap:7px;padding:14px;display:grid}.w-reference-card small{color:var(--muted)}.w-question-practice>button{white-space:normal;height:auto;padding:14px 18px}.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.bottom-nav.bottom-nav-admin{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid.metric-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-mistakes-panel{border-color:#e6c6bd}.daily-mistakes-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.daily-mistakes-heading h3{margin:4px 0}.daily-mistakes-list{margin:18px 0 0;padding:0;list-style:none}.daily-mistakes-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.daily-mistakes-list li>div{overflow-wrap:anywhere;min-width:0}.daily-mistakes-list p{margin:6px 0}.daily-mistakes-list small{color:var(--muted)}.daily-mistakes-list button{flex-shrink:0}.daily-mistakes-more summary{cursor:pointer;padding:12px 0;font-weight:700}@media (max-width:600px){.daily-mistakes-list li{flex-direction:column;align-items:stretch;gap:10px}.daily-mistakes-list button{width:100%}}.glossary-word:after{white-space:pre-line}@media (min-width:700px){.glossary-word:after{max-width:min(360px,80vw);top:calc(100% + 8px);bottom:auto}}.dictionary-credit{color:var(--muted);margin:18px 0 0;font-size:.72rem}.dictionary-credit a{color:inherit}
