@font-face{font-family:Loop;src:local('Noto Sans CJK KR'),local('Noto Sans KR'),local('Apple SD Gothic Neo')}
:root{--bg:#f7f8f2;--paper:#fff;--ink:#203e35;--muted:#65766b;--line:#e3e8de;--primary:#254f40;--soft:#eaf0e5;--lime:#d6f279;--red:#b54838;--redsoft:#fff0ec;--purple:#706196;--purplesoft:#f0ecf9;--shadow:0 8px 32px #233e3210;--radius:24px;color-scheme:light}
body.dark{--bg:#15251f;--paper:#20352c;--ink:#ecf1e4;--muted:#a6b5a9;--line:#374c40;--primary:#c8eb92;--soft:#2d4335;--lime:#d6f279;--red:#ffaf9e;--redsoft:#4c332e;--purple:#d1c0f2;--purplesoft:#3a354b;--shadow:0 8px 32px #0002;color-scheme:dark}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;overscroll-behavior-y:none}body{font-family:Loop,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.55}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #78ac53;outline-offset:3px}button,input,select,a{min-height:44px}button{font-weight:650}svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.25;letter-spacing:-1.3px}h2{font-size:20px;letter-spacing:-.7px}h3{font-size:16px;letter-spacing:-.35px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.stack{display:flex;flex-direction:column;gap:14px}.gap8{gap:8px}.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}.center{text-align:center}.strong{font-weight:800}.num{font-variant-numeric:tabular-nums}.hidden{display:none!important}#app{max-width:500px;margin:auto;min-height:100dvh;padding:0 20px 110px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:20px 0 22px;gap:10px}.brand{font-size:18px;letter-spacing:-.6px;font-weight:850;display:flex;align-items:center;gap:9px}.logo{display:inline-flex;justify-content:center;align-items:center;width:34px;height:34px;border-radius:12px;background:var(--primary);color:var(--bg)}.logo svg{width:24px}.topicons{display:flex;gap:4px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;flex-shrink:0}.icon-btn:hover{background:var(--soft)}.icon-btn.flagged{background:var(--lime);color:#284134}.page-heading{margin:5px 0 22px}.page-heading p{color:var(--muted);font-size:13px;margin-top:7px}.page-heading .eyebrow{margin-bottom:8px}.hero{border-radius:28px;padding:24px;background:var(--primary);color:var(--bg);position:relative;overflow:hidden}.dark .hero{background:#325541;color:#f0f7df}.hero .eyebrow{color:#ccdaba}.hero h2{font-size:26px;line-height:1.35;margin-top:7px}.hero p{color:#d4e1cb;font-size:13px}.hero-top{display:flex;align-items:center;gap:18px;margin-bottom:24px}.hero-copy{flex:1}.ring{--angle:0deg;flex-shrink:0;width:89px;height:89px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--lime) var(--angle),#ffffff22 0);position:relative}.ring:before{content:'';position:absolute;inset:5px;border-radius:50%;background:#254f40}.dark .ring:before{background:#325541}.ring>span{position:relative;display:flex;flex-direction:column;align-items:center;color:#f7f8f2}.ring strong{font-size:25px;line-height:1.2}.ring small{font-size:10px;color:#d4e1cb}.hero .btn{background:var(--lime);color:#203e35;width:100%;justify-content:space-between;min-height:52px}.btn{border-radius:16px;min-height:50px;padding:12px 18px;background:var(--primary);color:var(--bg);display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;line-height:1.35;text-align:center;transition:transform .1s,background .15s}.btn:active,.tap:active{transform:scale(.975)}.btn.secondary{background:var(--soft);color:var(--ink)}.btn.outline{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn.danger{background:var(--redsoft);color:var(--red)}.btn.purple{background:var(--purplesoft);color:var(--purple)}.btn.full{width:100%}.btn.small{padding:9px 12px;min-height:44px;font-size:12px;border-radius:13px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}.text-btn{color:var(--primary);font-size:12px;padding:8px 0;display:inline-flex;align-items:center;gap:4px}.text-btn svg{width:16px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.stat{padding:15px 10px;border:1px solid var(--line);border-radius:20px;text-align:center;background:var(--paper)}.stat strong{display:block;font-size:23px;font-weight:800}.stat small{color:var(--muted);font-size:11px}.stat .dot{display:inline-block;width:6px;height:6px;border-radius:3px;background:var(--primary);margin-right:5px}.stat:nth-child(2) .dot{background:#cd8c48}.stat:nth-child(3) .dot{background:#9181b0}.practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.practice-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:18px;text-align:left;min-height:146px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.tile-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--soft);color:var(--primary);margin-bottom:10px}.practice-card:nth-child(2) .tile-icon{color:var(--purple);background:var(--purplesoft)}.practice-card h3{font-size:15px}.practice-card p{font-size:11px;color:var(--muted);font-weight:450}.scope-btn{border:1px solid var(--line);background:var(--paper);border-radius:15px;padding:10px 13px;width:100%;display:flex;align-items:center;gap:10px;text-align:left}.scope-btn .scope-label{font-size:12px;font-weight:500;color:var(--muted)}.scope-btn .grow{line-height:1.4}.scope-btn strong{font-size:13px}.scope-btn svg:last-child{width:16px}.pill{display:inline-flex;align-items:center;justify-content:center;background:var(--soft);color:var(--primary);font-size:10px;min-height:25px;padding:3px 9px;border-radius:8px;font-weight:750;white-space:nowrap}.pill.purple{background:var(--purplesoft);color:var(--purple)}.pill.red{background:var(--redsoft);color:var(--red)}.pills{display:flex;flex-wrap:wrap;gap:7px}.progress-track{height:6px;border-radius:4px;background:var(--line);overflow:hidden}.progress-fill{height:100%;background:var(--primary);border-radius:4px;transition:width .25s}.subject-row{padding:15px 0;border-bottom:1px solid var(--line)}.subject-row:last-child{border:0}.subject-row .progress-track{height:4px;margin-top:10px}.subject-row strong{font-size:13px}.subject-row small{font-size:11px;color:var(--muted)}.week{display:flex;justify-content:space-between;gap:8px}.day{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.day span{display:grid;place-items:center;width:33px;height:33px;background:var(--soft);border-radius:12px}.day.done span{background:var(--primary);color:var(--bg)}.day.today span{outline:1px solid var(--primary);outline-offset:3px}.day svg{width:16px}.navbar{position:fixed;z-index:20;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:500px;background:var(--paper);border-top:1px solid var(--line);padding:8px 12px calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.nav-btn{color:var(--muted);min-height:55px;font-size:10px;font-weight:650;display:flex;align-items:center;flex-direction:column;gap:5px;padding:5px;border-radius:15px;white-space:nowrap}.nav-btn.active{color:var(--primary);background:var(--soft)}.nav-btn svg{width:22px;height:22px}.card-panel{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px;padding:24px 22px;margin:18px 0;position:relative;min-height:295px}.word-prompt{text-align:center;padding:28px 0 22px;overflow-wrap:anywhere}.word-prompt h2{font-family:Georgia,'Times New Roman',serif;font-size:38px;font-weight:500;letter-spacing:-1px;line-height:1.22;color:var(--ink)}.word-prompt.long h2{font-size:29px}.word-prompt .pos{color:var(--muted);font-family:Georgia,serif;font-size:15px;margin-top:8px}.word-prompt .meaning{font-family:inherit;font-size:25px;font-weight:650;letter-spacing:-.7px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.reveal{width:100%;border-top:1px dashed var(--line);padding:22px 0 4px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--muted);min-height:80px}.reveal svg{width:18px}.answer-reveal{padding-top:20px;border-top:1px dashed var(--line);animation:fade .18s ease-out}.answer-reveal>h3{text-align:center;font-size:20px;margin-bottom:17px;line-height:1.6;word-break:keep-all}.syn-group{margin-top:15px}.syn-group .label{font-size:10px;font-weight:850;color:var(--muted);display:block;margin-bottom:8px;letter-spacing:.6px}.syn-group.advanced .label{color:var(--purple)}.syn-group p{font-size:14px;line-height:1.75}.syn-chips{display:flex;gap:7px;flex-wrap:wrap}.syn-chip{display:inline-flex;padding:7px 10px;min-height:36px;border-radius:11px;border:1px solid var(--line);background:var(--soft);font-size:12px;font-weight:500;line-height:1.5;text-align:left;overflow-wrap:anywhere;max-width:100%}.advanced .syn-chip{background:var(--purplesoft);color:var(--purple);border-color:transparent}.rating-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.rating{border-radius:17px;background:var(--soft);min-height:69px;padding:10px 5px;font-size:13px;display:flex;flex-direction:column;align-items:center;gap:3px}.rating small{font-size:10px;font-weight:450;opacity:.85}.rating.again{background:var(--redsoft);color:var(--red)}.rating.good{background:var(--primary);color:var(--bg)}.card-footnote{text-align:center;color:var(--muted);font-size:11px;margin:14px 0;line-height:1.7}.session-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 12px}.session-top strong{font-size:14px}.session-top small{font-size:12px}.session-top .icon-btn{width:36px;min-height:36px;height:36px}.setup-box{border-radius:24px;padding:20px;background:var(--paper);border:1px solid var(--line);margin-top:18px}.setup-label{display:block;font-size:12px;font-weight:750;margin:20px 0 10px}.setup-label:first-child{margin-top:0}.segmented{display:flex;background:var(--soft);padding:4px;border-radius:14px;gap:3px}.segmented button{flex:1;min-height:39px;border-radius:11px;font-size:12px;padding:8px}.segmented button.active{background:var(--paper);box-shadow:0 2px 7px #203e3512;color:var(--primary)}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode{padding:12px 10px;text-align:left;border:1px solid var(--line);border-radius:15px;background:var(--paper);display:flex;gap:9px;align-items:center;font-size:12px;min-height:59px}.mode.active{border-color:var(--primary);background:var(--soft)}.mode svg{width:20px}.mode small{font-size:10px;font-weight:450;display:block;color:var(--muted)}.intro-icon{width:66px;height:66px;display:grid;place-items:center;border-radius:23px;background:var(--soft);color:var(--primary);margin:6px auto 18px}.intro-icon svg{width:32px;height:32px}.tip{padding:15px 17px;border-radius:17px;background:var(--soft);color:var(--muted);font-size:12px;line-height:1.75}.options{display:flex;flex-direction:column;gap:10px;margin-top:18px}.option{border:1px solid var(--line);border-radius:17px;min-height:62px;padding:14px;background:var(--paper);display:flex;align-items:center;text-align:left;gap:12px;font-size:15px;font-weight:550;line-height:1.45}.option .letter{width:28px;height:28px;min-width:28px;display:grid;place-items:center;border-radius:9px;background:var(--soft);color:var(--muted);font-size:12px}.option.correct{background:var(--soft);border-color:var(--primary);color:var(--ink);opacity:1}.option.correct .letter{background:var(--primary);color:var(--bg)}.option.incorrect{background:var(--redsoft);border-color:var(--red);color:var(--red);opacity:1}.option:disabled{opacity:.68}.quiz-question{padding:23px 19px;border-radius:24px;border:1px solid var(--line);background:var(--paper);min-height:176px;display:flex;flex-direction:column;justify-content:center}.quiz-question .word-prompt{padding:17px 0 5px}.quiz-question .word-prompt h2{font-size:32px}.quiz-question .word-prompt .meaning{font-size:22px}.feedback{margin-top:15px;border-radius:20px;background:var(--soft);padding:18px;animation:fade .15s}.feedback.wrong{background:var(--redsoft)}.feedback h3{font-size:15px}.feedback>p{font-size:13px;margin-top:8px}.feedback .btn{margin-top:16px}.answer-line{font-size:18px;font-weight:800;margin-top:8px}.spell-input{width:100%;background:var(--paper);border:1px solid var(--line);padding:17px;border-radius:15px;color:var(--ink);font-size:17px;min-width:0}.spell-input:disabled{opacity:.65}.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.match-column{display:flex;flex-direction:column;gap:10px}.match-tile{border:1px solid var(--line);background:var(--paper);border-radius:16px;min-height:79px;padding:12px 9px;font-size:14px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}.match-tile.selected{border:2px solid var(--primary);background:var(--soft);padding:11px 8px}.match-tile.matched{opacity:.4;border-style:dashed;background:var(--soft);text-decoration:line-through}.match-tile.error{background:var(--redsoft);border-color:var(--red)}.result-score{font-size:70px;font-weight:500;font-family:Georgia,serif;letter-spacing:-4px;line-height:1.1;margin:16px 0}.result-score span{font-size:24px;letter-spacing:0;color:var(--muted)}.summary-card{background:var(--paper);border:1px solid var(--line);border-radius:27px;padding:28px 20px;text-align:center;margin-top:14px}.summary-actions{display:flex;flex-direction:column;gap:9px;margin-top:20px}.search{display:flex;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:0 13px;gap:9px;margin:16px 0 12px}.search svg{width:18px;color:var(--muted)}.search input{padding:13px 0;width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}.filter-chips{display:flex;gap:7px;overflow-x:auto;padding:3px 0 9px;scrollbar-width:none}.filter-chips button{white-space:nowrap;border-radius:12px;min-height:37px;padding:8px 12px;font-size:11px;background:var(--soft);color:var(--muted)}.filter-chips button.active{background:var(--primary);color:var(--bg)}.word-list{display:flex;flex-direction:column;gap:10px}.word-row{background:var(--paper);border:1px solid var(--line);border-radius:19px;padding:14px 12px 14px 17px;display:flex;align-items:center;gap:8px}.word-row .word-main{flex:1;min-width:0;text-align:left;padding:0;display:block}.word-row .word-main strong{font-size:16px;font-weight:750;display:block;line-height:1.45;overflow-wrap:anywhere}.word-row .word-main p{font-size:12px;color:var(--muted);font-weight:450;margin-top:3px;overflow-wrap:anywhere}.word-row .word-main small{font-size:10px;color:var(--muted);font-weight:450}.word-row .icon-btn{width:38px;height:38px;min-height:44px}.list-meta{margin:8px 0 13px;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.empty{padding:42px 14px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink);margin:15px 0 8px}.empty p{font-size:13px;line-height:1.8}.empty svg{width:40px;height:40px}.syn-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:18px}.syn-card h3{font-family:Georgia,serif;font-size:23px;font-weight:500;overflow-wrap:anywhere}.syn-card .meaning{font-size:12px;color:var(--muted);margin-top:3px}.syn-card .syn-group{margin-top:13px}.syn-card .icon-btn{width:36px}.source-note{font-size:10px;color:var(--muted);margin-top:13px;line-height:1.8}.modal-backdrop{position:fixed;inset:0;background:#14251f66;z-index:80;display:flex;align-items:flex-end;justify-content:center;padding-top:48px;backdrop-filter:blur(3px)}.sheet{width:100%;max-width:500px;max-height:calc(100dvh - 48px);background:var(--bg);border-radius:28px 28px 0 0;overflow-y:auto;padding:13px 22px calc(24px + env(safe-area-inset-bottom));animation:slideUp .2s ease-out}.sheet-handle{width:34px;height:4px;border-radius:4px;background:var(--line);margin:0 auto 12px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sheet-heading h2{font-size:21px}.sheet .word-prompt{padding-top:12px}.sheet label{font-size:12px;font-weight:750;display:block;margin-bottom:8px}.field{margin:18px 0}.field select{width:100%;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-size:13px}.check-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);gap:15px}.check-row label{margin:0}.check-row small{color:var(--muted);font-size:11px;font-weight:400;display:block;margin-top:3px}.switch{appearance:none;width:44px;height:26px;min-height:26px;background:var(--line);border-radius:15px;position:relative;cursor:pointer;flex-shrink:0;transition:background .15s}.switch:before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;background:var(--paper);border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch:checked{background:var(--primary)}.switch:checked:before{transform:translateX(18px)}.sheet input[type=range]{width:100%;accent-color:var(--primary)}.step{display:flex;gap:13px;margin:19px 0}.step-num{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:var(--soft);color:var(--primary);font-weight:800;font-size:12px;border-radius:10px}.step p{font-size:12px;color:var(--muted);margin-top:4px}.mini-calendar{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px}.mini-calendar .week{margin-top:15px}#toast{position:fixed;left:50%;bottom:105px;transform:translateX(-50%) translateY(8px);padding:12px 18px;border-radius:15px;background:var(--ink);color:var(--bg);font-size:12px;z-index:110;opacity:0;pointer-events:none;max-width:min(90vw,440px);width:max-content;transition:opacity .15s,transform .15s;box-shadow:var(--shadow)}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.sticky-actions{position:sticky;bottom:76px;padding-top:12px;background:linear-gradient(transparent,var(--bg) 14px);z-index:10}.mastery-dots{display:inline-flex;gap:3px}.mastery-dots i{width:5px;height:5px;border-radius:3px;background:var(--line)}.mastery-dots i.on{background:var(--primary)}.recap-row{border-bottom:1px solid var(--line);padding:13px 0}.recap-row:last-child{border:0}.recap-row strong{font-size:14px}.recap-row p{font-size:12px;color:var(--muted);margin-top:3px}.resume{border:1px solid var(--primary);border-radius:18px;padding:13px 15px;background:var(--soft);margin-top:16px}.resume p{font-size:11px;color:var(--muted);margin-top:2px}.result-detail{font-size:13px;line-height:1.8;margin-top:14px}.settings-version{text-align:center;color:var(--muted);font-size:10px;margin-top:26px;line-height:1.8}.timer{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
@keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes slideUp{from{transform:translateY(35px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:360px){#app{padding-left:14px;padding-right:14px}.hero{padding:19px}.hero h2{font-size:23px}.ring{width:75px;height:75px}.word-prompt h2{font-size:32px}.practice-card{padding:15px}.match-tile{font-size:12px;min-height:84px}.topbar{padding-top:13px}.card-panel{padding:20px 17px}.sheet{padding-left:17px;padding-right:17px}.navbar{gap:1px;padding-left:7px;padding-right:7px}.nav-btn{font-size:9px}}
@media(min-width:650px){body{background:var(--soft)}#app{background:var(--bg);min-height:100dvh;box-shadow:0 0 80px #203e3515}.sheet{border-radius:28px;margin-bottom:25px;max-height:90dvh}}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}

/* Browser readability and comfortable tablet sizing. */
body{font-size:16px}.nav-btn{font-size:12px}.eyebrow{font-size:12px;letter-spacing:1.3px}.setup-label,.scope-btn strong,.mode,.segmented button,.filter-chips button,.syn-chip,.search input{font-size:14px}.pill,.word-row .word-main small,.source-note,.card-footnote,.practice-card p,.stat small{font-size:12px}.word-row .word-main p,.syn-card .meaning{font-size:14px}.scope-btn .scope-label{font-size:12px}.rating{font-size:14px}.rating small{font-size:12px}.home-link{color:var(--primary)}
@media(min-width:800px){#app,.navbar{max-width:600px}#app{padding-left:30px;padding-right:30px}.card-panel{margin-top:24px;padding:30px}.word-prompt{padding-top:34px;padding-bottom:30px}.word-list{gap:12px}}
@media(max-width:360px){.nav-btn{font-size:11px}.mode{font-size:12px}.mode-grid{gap:6px}.segmented button{font-size:12px}.filter-chips button{font-size:12px}}

/* Account persistence and a vocabulary workspace that adapts to orientation. */
a.btn{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.account-strip{display:flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid var(--line);border-radius:14px;margin:0 0 23px;background:var(--paper);font-size:12px;color:var(--muted)}
.account-strip .grow{display:flex;align-items:center;gap:8px}.account-strip .text-btn{white-space:nowrap;min-height:32px;padding:2px 0}.status-dot{display:inline-block;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--muted)}.status-dot.saved{background:var(--primary)}.status-dot.pending,.status-dot.checking{background:#bd8640}.status-dot.error{background:var(--red)}.save-error{background:var(--redsoft);color:var(--red);border-color:var(--red)}
.account-profile{text-align:center;padding:15px 0 24px}.account-profile p{font-size:13px;margin-top:7px;overflow-wrap:anywhere}.account-profile h3{overflow-wrap:anywhere}.profile-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:24px;background:var(--soft);color:var(--primary);margin:0 auto 15px}.profile-avatar svg{width:28px}.account-description{font-size:14px;line-height:1.9;color:var(--muted);text-align:center;margin-top:14px}.import-guest{padding:19px 0;border-bottom:1px solid var(--line)}.import-guest p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:8px}
.word-check{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;flex-shrink:0;padding:7px;border-radius:12px;color:var(--muted);font-size:12px}.word-check.flagged{background:var(--lime);color:#254f40}.check-square{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;border:1.5px solid currentColor}.check-square svg{width:15px;height:15px}.word-check .flag-text{font-weight:700}.word-row .word-check{padding:6px}.word-row .flag-text{display:none}
.syn-expression{display:inline-flex;align-items:stretch;max-width:100%;border:1px solid var(--line);border-radius:12px;background:var(--soft);overflow:hidden}.syn-expression .syn-chip{border:0;border-radius:0;min-height:44px;background:transparent;padding:9px 11px}.syn-expression .syn-check{width:36px;min-height:44px;display:grid;place-items:center;border-left:1px solid var(--line);color:var(--muted);opacity:.7;flex-shrink:0}.syn-check svg{width:16px;height:16px}.advanced .syn-expression{background:var(--purplesoft);color:var(--purple);border-color:transparent}.syn-expression.checked{outline:2px solid var(--primary);outline-offset:1px}.syn-expression.checked .syn-check{background:var(--primary);color:var(--bg);opacity:1}.syn-group .label{font-size:12px;letter-spacing:.5px}.syn-card .syn-group{margin-top:20px}.syn-card{padding:22px}.syn-card h3{font-size:27px}.syn-card .source-note{margin-top:20px}.syn-chips{gap:10px}.syn-group:has(.syn-chips:empty){display:none}
.syn-spotlight{margin-top:18px;padding:24px;border-radius:24px;background:var(--purplesoft);border:1px solid color-mix(in srgb,var(--purple) 15%,transparent)}.syn-spotlight h2{margin:15px 0 10px;line-height:1.45;font-size:23px}.syn-spotlight p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:22px}.syn-spotlight .btn{border:1px solid color-mix(in srgb,var(--purple) 30%,transparent)}
.syn-hero{border-radius:25px;background:var(--purplesoft);padding:25px;display:flex;flex-direction:column;gap:22px;margin-bottom:20px}.syn-hero h2{font-size:27px;line-height:1.35;margin:14px 0 10px}.syn-hero p{font-size:13px;color:var(--muted);line-height:1.7}.syn-hero-actions{display:flex;flex-direction:column;gap:9px}.syn-hero-actions .purple{border:1px solid color-mix(in srgb,var(--purple) 25%,transparent)}.syn-toolbar{display:flex;flex-direction:column;gap:12px;margin:20px 0 10px}.recall-hint{font-family:inherit;font-size:14px;color:var(--purple);margin-top:22px;line-height:1.7}.home-secondary .section-title:first-child{margin-top:24px}.home-secondary .practice-card{min-height:137px}.home-primary{min-width:0}.home-secondary{min-width:0}.list-meta{font-size:12px;flex-wrap:wrap}.synonym-list{align-items:start}
@media(min-width:900px),(min-width:680px) and (orientation:landscape){
 body{background:var(--bg)}#app{max-width:1280px;padding:0 36px 42px 130px;margin:auto;box-shadow:none;background:var(--bg)}
 .topbar{padding:25px 0 19px}.brand{font-size:21px}.account-strip{margin-bottom:28px}.page-heading{margin:4px 0 28px}.page-heading h1{font-size:38px;line-height:1.3}.page-heading h1 br{display:none}.page-heading p{font-size:14px}
 .navbar{left:max(0px,calc((100vw - 1280px)/2));top:0;bottom:0;transform:none;width:94px;max-width:none;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:20px 9px;border:0;border-right:1px solid var(--line);background:var(--paper)}.nav-btn{min-height:69px;justify-content:center;white-space:normal;font-size:12px}.nav-btn svg{width:24px;height:24px}
 .home-dashboard{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}.home-secondary .section-title:first-child{margin-top:0}.hero{padding:28px}.hero h2{font-size:29px}.hero-top{min-height:137px}.syn-spotlight{padding:28px}.syn-spotlight h2{font-size:27px}.stats{gap:12px}.stat{padding:17px 10px}.stat strong{font-size:28px}.subject-row{padding:17px 0}
 .word-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.word-row{min-height:97px}.word-row .word-main strong{font-size:18px}.synonym-list{gap:20px}.syn-card{height:100%}.syn-hero{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:30px}.syn-hero h2 br{display:none}.syn-hero-actions{min-width:225px}.syn-toolbar{flex-direction:row;justify-content:space-between;align-items:center}.syn-toolbar .segmented{min-width:310px}.syn-hero h2{font-size:29px}
 #main[data-page=cards][data-session=cards] .card-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:28px;align-items:center;padding:28px;min-height:340px;margin:20px 0}.card-panel>.row{grid-column:1/-1}.card-panel>.word-prompt{padding:35px 14px;align-self:center}.card-panel>.answer-reveal{border-top:0;border-left:1px dashed var(--line);padding:26px 0 26px 28px}.card-panel>.reveal{border-top:0;border-left:1px dashed var(--line);min-height:180px;padding:22px}.card-panel>.answer-reveal>h3{text-align:left}.word-prompt h2{font-size:44px}.rating-row{gap:14px}.rating{min-height:74px;font-size:16px}
 #main[data-page=quiz][data-session=quiz]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:26px;align-items:start}#main[data-page=quiz][data-session=quiz]>.session-top,#main[data-page=quiz][data-session=quiz]>.progress-track,#main[data-page=quiz][data-session=quiz]>.feedback{grid-column:1/-1}#main[data-page=quiz][data-session=quiz]>.quiz-question{min-height:280px;margin-top:20px;padding:28px}#main[data-page=quiz][data-session=quiz]>.options{margin-top:20px;gap:12px}.option{min-height:61px}.feedback{padding:24px}.feedback>.btn{max-width:340px;margin-left:auto;display:flex}.feedback .syn-group{display:inline-block;vertical-align:top;width:48%;padding-right:14px}
 .setup-box{padding:28px}.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mode{min-height:75px;padding:16px}.setup-label{margin-top:24px}.setup-box>.btn{max-width:420px;margin-left:auto;margin-right:auto;display:flex}.setup-box>.intro-icon{margin-top:0}.setup-box .segmented{max-width:600px;margin:auto}.setup-box:has(.intro-icon){max-width:800px;margin-left:auto;margin-right:auto}.tip{font-size:14px}.match-grid{gap:25px;max-width:850px;margin-left:auto;margin-right:auto}.match-tile{min-height:69px;font-size:16px}.summary-card{max-width:720px;margin:20px auto}.summary-actions{max-width:420px;width:100%;margin-left:auto;margin-right:auto}
 .modal-backdrop{align-items:center;padding:24px}.sheet{max-width:700px;max-height:calc(100dvh - 48px);margin:0;border-radius:26px;padding:20px 30px 28px}.sheet-handle{display:none}.sheet-heading{margin-bottom:12px}.sticky-actions{bottom:0}#toast{bottom:28px;left:calc(50% + 45px)}
}
@media(min-width:680px) and (orientation:landscape) and (max-height:600px){
 #app{padding-left:98px;padding-right:22px}.navbar{width:77px;gap:4px;padding:9px 6px}.nav-btn{min-height:52px;gap:2px;font-size:11px}.nav-btn svg{width:19px;height:19px}.topbar{padding:12px 0}.account-strip{margin-bottom:16px;padding:5px 11px}.page-heading h1{font-size:29px}.home-dashboard{gap:18px}.hero{padding:20px}.hero h2{font-size:24px}.hero-top{min-height:100px}.ring{width:75px;height:75px}.syn-spotlight{padding:20px}.syn-spotlight h2{font-size:23px}.syn-toolbar{flex-wrap:wrap}.syn-hero{padding:20px}.syn-hero h2{font-size:25px}.syn-hero-actions{min-width:195px}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.word-list{gap:10px}.syn-card{padding:18px}
 #main[data-page=cards][data-session=cards] .card-panel{min-height:220px;padding:18px;margin:14px 0;column-gap:16px}.card-panel>.word-prompt{padding:18px 5px}.card-panel>.answer-reveal{padding:18px 0 18px 18px}.word-prompt h2{font-size:35px}.syn-expression .syn-chip{font-size:13px}.rating{min-height:55px;padding:8px}.rating small{font-size:11px}.session-top{margin-top:0}#main[data-page=quiz][data-session=quiz]>.quiz-question{min-height:232px;padding:20px}.option{min-height:50px;padding:10px}.quiz-question .word-prompt h2{font-size:30px}.sheet{max-height:calc(100dvh - 24px)}.modal-backdrop{padding:12px}
}

/* Dense, responsive vocabulary overview. */
.catalog-controls{display:grid;gap:12px;margin:18px 0}.catalog-list{border:1px solid var(--border,#dce4df);border-radius:16px;overflow:hidden}.catalog-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(130px,1fr) 84px;gap:16px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border,#dce4df);content-visibility:auto;contain-intrinsic-size:auto 74px}.catalog-row:last-child{border-bottom:0}.catalog-term{min-width:0;overflow-wrap:anywhere}.catalog-term strong{font-size:16px}.catalog-term small{display:block;font-size:12px;margin-top:4px;opacity:.65}.catalog-meaning{font-size:14px;overflow-wrap:anywhere}.known-toggle{min-height:44px;font-size:14px;border:1px solid currentColor;border-radius:9px;opacity:.75}.is-known .known-toggle{background:#276147;color:white;opacity:1}.catalog-row.is-known .catalog-term strong{color:#397a59}.segmented{flex-wrap:wrap}.session-top small{font-size:13px}.syn-toolbar{margin-bottom:16px}@media(max-width:520px){.catalog-row{grid-template-columns:minmax(0,1fr) 76px;gap:4px 10px;padding:10px 12px}.catalog-meaning{grid-column:1}.known-toggle{grid-column:2;grid-row:1/3}.catalog-term small{font-size:12px}.catalog-controls .segmented button{font-size:14px}}
