/* Design read: friendly daily learning, native CSS, variance 5 / motion 3 / density 4.
   Shape system: 18px panels, 10px controls, full-radius compact tags. */
:root{font-family:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;--bg:#f7f8fa;--surface:#fefefe;--ink:#223930;--muted:#6b7872;--line:#e4e9e6;--green:#285e49;--mint:#e4f1e9;--hero:#dceddf;--tint:#f0f5f1;--highlight:#e1f0e7;--shadow:0 10px 35px #233c3008;color-scheme:light}
:root[data-theme=dark]{--bg:#17221e;--surface:#1d2c25;--ink:#edf5ee;--muted:#a9bdb0;--line:#34473c;--green:#94d5ac;--mint:#263e30;--hero:#2b4534;--tint:#24342b;--highlight:#304a39;--shadow:none;color-scheme:dark}
.app-loading{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:10px;background:var(--bg);color:var(--ink)}.app-loading>span{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:var(--green);color:var(--surface);font-size:38px;font-weight:650}.app-loading>strong{font-size:28px;letter-spacing:-1.5px}.app-loading>small{color:var(--muted);font-size:11px}.no-script-home{max-width:680px;margin:60px auto;padding:24px}.no-script-home nav{display:grid;gap:12px;margin-top:28px}.no-script-home a{color:var(--green);text-decoration:underline}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:4px}button{transition:background .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.035em}p{line-height:1.65}small{font-size:12px}button{border:0}main:focus{outline:none}.sidebar{width:242px;background:var(--surface);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:36px 24px;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:36px;font-weight:750;letter-spacing:-2px;width:max-content}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--surface);font-size:28px;width:42px;height:42px;border-radius:13px;letter-spacing:0}.brand-period{color:var(--green);margin-left:-9px}.sidebar-caption{font-size:8px;letter-spacing:1.5px;margin-top:15px;color:var(--muted)}nav{display:grid;gap:9px;margin-top:52px}.nav-item{font-size:13px;font-weight:550;display:flex;align-items:center;gap:12px;padding:15px 13px;border-radius:10px;color:var(--muted);white-space:nowrap}.nav-item.active{color:var(--green);background:var(--mint);font-weight:700}.nav-item:hover{background:var(--tint)}.nav-glyph{font-size:22px;line-height:22px;width:23px;text-align:center;font-weight:400}.nav-dot{margin-left:auto;width:5px;height:5px;background:var(--green);border-radius:50%}.side-note{margin:48px 13px 20px}.side-note>span{font-size:24px;font-weight:700;letter-spacing:5px;color:var(--green)}.side-note p{font-size:12px;color:var(--muted);margin-top:12px}.side-note-line{width:27px;height:2px;background:var(--line);margin-top:24px}.sidebar-bottom{margin-top:auto}.settings-button{background:none;font-size:13px;color:var(--muted);padding:14px 10px;display:flex;align-items:center;gap:14px}.settings-button>span{font-size:19px}.profile{border-top:1px solid var(--line);margin-top:16px;padding-top:24px;display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:var(--green);font-size:13px;font-weight:700}.profile strong{font-size:12px;display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.workspace{margin-left:242px}.topbar{height:81px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 45px;background:var(--surface);font-size:12px;font-weight:600}.topbar-right{display:flex;align-items:center;gap:22px}.streak{color:var(--green)}.streak>span{font-size:20px;margin-right:5px}.topbar-rule{height:18px;width:1px;background:var(--line)}.level{font-size:10px}.level span{font-size:12px;color:var(--muted);margin-left:6px;font-weight:400}.theme-button{background:var(--tint);height:30px;width:30px;border-radius:50%;font-size:20px}.workspace main{max-width:1340px;margin:auto;padding:43px 45px 36px}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--green);margin-bottom:15px}h1{font-size:36px;line-height:1.23;font-weight:650}h1 span{color:var(--muted);font-weight:450}.welcome p:not(.eyebrow),.page-heading>p:last-child{font-size:13px;color:var(--muted);margin-top:13px}.welcome-note{transform:rotate(-7deg);padding-right:13px;text-align:center}.welcome-note>span{font-size:27px;font-weight:600;letter-spacing:-1px;color:var(--green)}.welcome-note small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.dashboard-top{display:grid;grid-template-columns:minmax(0,1fr) 266px;gap:22px}.hero-card{background:var(--hero);border-radius:18px;min-height:328px;padding:34px;display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;position:relative}.pill{display:inline-block;background:var(--surface);color:var(--green);border-radius:20px;padding:7px 10px;font-size:8px;letter-spacing:1px;font-weight:750}.hero-copy{z-index:1}.hero-copy h2{font-size:30px;line-height:1.23;margin-top:22px;font-weight:650}.hero-copy p{font-size:12px;max-width:255px;margin:15px 0 20px;color:var(--ink);opacity:.85}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:43px;border-radius:9px;padding:12px 18px;font-size:12px;font-weight:650;white-space:nowrap}.primary{background:var(--green);color:var(--surface)}.primary:hover{filter:brightness(1.08)}.secondary{background:var(--surface);border:1px solid var(--line)}.secondary:hover{background:var(--tint)}.hero-copy>small{display:block;margin-top:13px;font-size:9px;color:var(--muted)}.hero-copy>small>span{margin:0 6px}.hero-hangul{position:relative;align-self:center;height:250px;margin-left:12px;min-width:170px}.hangul-tile{position:absolute;width:124px;height:140px;display:grid;place-items:center;font-size:85px;font-weight:650;border-radius:14px;box-shadow:5px 8px 0 #285e4912;z-index:1}.tile-one{top:5px;left:0;background:#f8fbf4;color:#2d5c43;transform:rotate(-12deg)}.tile-two{top:78px;right:-11px;background:#397152;color:#f1f5d9;transform:rotate(11deg)}.hero-translation{position:absolute;bottom:0;left:22px;font-size:11px;transform:rotate(-5deg);color:var(--green)}.hero-translation span{opacity:.65}.orbit{position:absolute;width:232px;height:232px;border:1px solid #59846626;border-radius:50%;top:8px;left:-22px}.orbit-two{width:290px;height:290px;top:-20px;left:-50px}.daily-card{border:1px solid var(--line);border-radius:18px;padding:25px 21px;background:var(--surface);text-align:center}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-head h2{font-size:19px;font-weight:650}.daily-card h2{font-size:15px;letter-spacing:-.03em}.daily-card>.section-head+p{font-size:10px;color:var(--muted);margin-top:8px;text-align:left}.goal-ring{margin:23px auto 22px;width:116px;height:116px;border-radius:50%;background:conic-gradient(var(--green) var(--percent),var(--mint) 0);display:grid;place-items:center}.goal-ring>div{width:101px;height:101px;background:var(--surface);border-radius:50%;display:flex;flex-direction:column;justify-content:center}.goal-ring strong{font-size:26px;letter-spacing:-1px}.goal-ring strong>span{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}.goal-ring small{font-size:9px;margin-top:5px;color:var(--muted)}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.week-day{display:flex;align-items:center;flex-direction:column;gap:9px}.week-day small{color:var(--muted);font-size:9px}.week-day>span{width:24px;height:24px;border-radius:50%;font-size:9px;display:grid;place-items:center;background:var(--tint);color:var(--muted)}.week-day.today>span{border:1px solid var(--green);color:var(--green)}.week-day.studied>span{background:var(--green);color:var(--surface)}.goal-message{margin-top:20px;font-size:9px;color:var(--muted)}.learning-section{margin-top:35px}.section-head p{font-size:12px;color:var(--muted);margin-top:7px}.text-link{font-size:10px;color:var(--green);font-weight:600;white-space:nowrap}.text-link>span{margin-left:6px}.filters{display:flex;gap:7px;margin:22px 0 19px}.filter{border-radius:30px;padding:8px 15px;font-size:10px;background:transparent;color:var(--muted)}.filter.selected{background:var(--green);color:var(--surface)}.filter:not(.selected):hover{background:var(--mint)}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.lesson-card{display:block;padding:0;text-align:left;border-radius:16px;border:1px solid var(--line);background:var(--surface);overflow:hidden;transition:transform .2s,box-shadow .2s}.lesson-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.lesson-art{height:140px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.lesson-art>span[lang]{font-size:64px;line-height:1;letter-spacing:-5px;font-weight:650}.art-0{background:#e4ede5;color:#426951}.art-1{background:#edf0e1;color:#657342}.art-2{background:#e4ebe9;color:#486a64}.art-3{background:#eae7e0;color:#736950}.art-label{position:absolute;left:15px;bottom:13px;font-size:8px;font-weight:500;letter-spacing:.2px}.card-arrow{position:absolute;right:14px;top:12px;font-size:19px;opacity:.6}.lesson-info{padding:18px 19px 12px}.lesson-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:8px;letter-spacing:.6px}.lesson-meta>span:last-child{letter-spacing:0}.lesson-info h3{font-size:17px;margin-top:10px;font-weight:650}.lesson-info p{font-size:10px;color:var(--muted);margin-top:5px}.lesson-bottom{margin-top:17px;padding-top:12px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:var(--green)}.lesson-bottom>span:last-child{font-size:17px;line-height:10px}.phrase-strip{margin-top:29px;background:var(--tint);border:1px solid var(--line);border-radius:16px;display:flex;justify-content:space-between;align-items:center;padding:26px 30px}.phrase-label>span{font-size:8px;letter-spacing:1px;color:var(--muted)}.phrase-label h2{font-size:27px;margin-top:10px;font-weight:600}.phrase-label p{font-size:11px;margin-top:7px;color:var(--muted)}.phrase-context p{font-size:11px;color:var(--muted);margin-bottom:10px}.sound{background:none;color:var(--green);font-size:11px;font-weight:600;padding:8px 0}.sound:hover{text-decoration:underline}.workspace footer{max-width:1340px;margin:0 auto;padding:0 45px 26px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.page-heading{margin:8px 0 34px}.page-heading h1{font-size:34px}.panel{border:1px solid var(--line);border-radius:18px;padding:27px;background:var(--surface)}.panel h2{font-size:18px}.panel>p{font-size:12px;color:var(--muted);margin-top:8px}.hangul-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.letter-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:22px 0 30px}.letter-grid:last-child{margin-bottom:0}.letter{background:var(--tint);border:1px solid var(--line);border-radius:10px;min-height:71px;padding:10px 4px}.letter strong{display:block;font-size:25px;font-weight:500}.letter small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.letter.selected{border-color:var(--green);background:var(--mint);box-shadow:inset 0 0 0 1px var(--green)}.syllable-panel{text-align:center;background:var(--hero);display:flex;align-items:center;flex-direction:column;justify-content:center}.syllable{font-size:140px;line-height:1.3;margin:20px 0;font-weight:600}.equation{font-size:23px;word-spacing:10px;margin-bottom:12px}.syllable-panel>p{margin-top:23px;max-width:230px;color:var(--ink)}.syllable-panel>small{font-size:10px;line-height:1.6;color:var(--muted);margin-top:16px;max-width:230px}.tip-panel{display:flex;align-items:center;gap:28px;margin-top:25px;padding:28px;background:var(--tint);border-radius:18px}.tip-letter{font-size:48px;color:var(--green)}.tip-panel h2{font-size:19px}.tip-panel p{font-size:13px;color:var(--muted);margin-top:8px}.word-toolbar{display:flex;gap:12px}.search-box{display:flex;align-items:center;gap:12px;flex:1;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0 14px}.search-box>span{font-size:26px;color:var(--muted)}input,select{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;padding:12px;font-size:13px}.search-box input{border:0;background:none;padding-left:0;min-width:0}input::placeholder{color:var(--muted)}.result-count{font-size:11px;color:var(--muted);margin:24px 0 15px}.word-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.word-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px 25px}.word-card small{font-size:10px;color:var(--muted)}.bookmark{background:none;font-size:25px;color:var(--muted);min-width:34px;min-height:34px}.bookmark.is-saved{color:var(--green)}.word-card h2{font-size:25px;font-weight:600;margin:16px 0 9px}.roman{font-size:13px;color:var(--muted);letter-spacing:.2px}.word-card>p{font-size:13px;margin-top:11px}.word-card>.sound{margin-top:10px}.empty{grid-column:1/-1;text-align:center;padding:60px 20px;background:var(--tint);border-radius:18px}.empty>span{font-size:42px;color:var(--green)}.empty h2{font-size:22px;margin:20px 0 10px}.empty p{color:var(--muted);font-size:14px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0;border-block:1px solid var(--line);margin-bottom:32px}.stats>div{padding-left:28px;border-left:1px solid var(--line)}.stats>div:first-child{padding-left:0;border:0}.stats span{display:block;font-size:11px;color:var(--muted)}.stats strong{font-size:36px;display:block;margin-top:10px;font-weight:600}.stats strong small{font-size:14px;color:var(--muted);font-weight:400}.progress-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.path-list{margin-top:20px}.path-row{display:flex;width:100%;text-align:left;align-items:center;gap:17px;background:none;padding:18px 0;border-bottom:1px solid var(--line)}.path-row:last-child{border:0}.path-number{width:34px;height:34px;display:grid;place-items:center;background:var(--tint);border:1px solid var(--line);border-radius:50%;font-size:12px}.path-number.done{background:var(--mint);color:var(--green);border-color:var(--green)}.path-row strong{font-size:13px;font-weight:600}.path-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.path-row>span:last-child{margin-left:auto}.progress-week{background:var(--mint)}.progress-week>.week{margin-top:30px}.progress-message{font-size:32px;color:var(--green);margin-top:55px}.progress-week h3{font-size:22px;margin:12px 0}.progress-week .primary{margin-top:30px}dialog{color:var(--ink);border:1px solid var(--line);border-radius:22px;background:var(--surface);width:min(620px,calc(100% - 32px));padding:30px;max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #13271e30}dialog::backdrop{background:#142d2380;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}.dialog-heading h2{font-size:22px}.dialog-heading small{font-size:8px;letter-spacing:1.3px;color:var(--muted);display:block;margin-bottom:9px}.close-button{background:var(--tint);border-radius:50%;font-size:24px;min-width:34px;height:34px;line-height:1}.lesson-progress{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);letter-spacing:1px;margin:20px 0 10px}progress{width:100%;height:5px;appearance:none;border:0;border-radius:4px;overflow:hidden}progress::-webkit-progress-bar{background:var(--mint)}progress::-webkit-progress-value{background:var(--green)}progress::-moz-progress-bar{background:var(--green)}.study-word{text-align:center;padding:42px 0 32px}.study-word h3,.quiz-prompt h3{font-size:36px;font-weight:600;line-height:1.45;word-break:keep-all}.study-word>p{margin-top:12px}.study-tools{display:flex;justify-content:center;gap:25px;margin-top:18px}.lesson-tip{background:var(--tint);border-radius:12px;padding:20px}.lesson-tip strong{font-size:12px}.lesson-tip p{font-size:12px;color:var(--muted);margin-top:8px}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px}.dialog-actions.end{justify-content:flex-end}.quiz-prompt{text-align:center;padding:25px 0}.quiz-prompt>p{font-size:12px;color:var(--muted);margin-bottom:12px}.quiz-prompt .roman{display:block;margin-top:8px}.quiz-prompt .sound{display:block;margin:10px auto 0}.answers{display:grid;gap:10px}.answer{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:13px;background:var(--surface);font-size:13px;min-height:51px}.answer-letter{border:1px solid var(--line);border-radius:5px;width:25px;height:25px;display:grid;place-items:center;font-size:10px;flex-shrink:0}.answer:not(:disabled):hover{background:var(--tint);border-color:var(--green)}.answer:disabled{opacity:.8}.answer.correct{border-color:var(--green);background:var(--mint);opacity:1}.answer.incorrect{border-color:#ad6259;background:#fae9e3;color:#7b3029;opacity:1}.answer-mark{margin-left:auto;color:var(--green)}.feedback{margin-top:20px;font-size:12px;color:var(--muted);min-height:40px}.feedback strong{color:var(--ink)}.feedback p{margin-top:5px}.complete{text-align:center;padding:20px 10px}.complete-mark{font-size:45px;font-weight:600;color:var(--green);margin:15px 0 24px}.complete h3{font-size:26px}.complete>p{font-size:13px;color:var(--muted);margin-top:16px}.result-stats{display:flex;justify-content:center;gap:70px;margin:35px 0}.result-stats strong{display:block;font-size:32px;color:var(--green)}.result-stats span{font-size:11px;color:var(--muted);display:block;margin-top:5px}.complete .primary{margin-top:26px}.review-meaning{margin:28px 0 0;min-height:50px}.review-meaning h4{font-size:21px;font-weight:500}#preferences-form{display:grid;gap:22px}#preferences-form>label{display:grid;gap:9px;font-size:13px}#preferences-form .check-label{display:flex;align-items:center;gap:10px}.check-label input{width:17px;height:17px;accent-color:var(--green)}.settings-note{font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:var(--bg);padding:15px 22px;border-radius:12px;font-size:13px;z-index:100;opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.skip{position:fixed;top:-60px;left:20px;background:var(--surface);padding:12px;z-index:100}.skip:focus{top:10px}
@media(min-width:1500px){.workspace main{padding-top:50px}.hero-card{padding:40px;min-height:355px}.hero-hangul{margin-right:25px}.hangul-tile{width:148px;height:157px;font-size:94px}.lesson-art{height:165px}}
@media(max-width:1200px){.sidebar{width:210px;padding:30px 18px}.workspace{margin-left:210px}.workspace main{padding:32px 28px}.topbar{padding:0 28px}.workspace footer{padding-inline:28px}.dashboard-top{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.hero-card{padding:26px;grid-template-columns:1.2fr .8fr}.hero-copy h2{font-size:26px}.hero-hangul{min-width:125px;height:225px;margin-left:5px}.hangul-tile{width:100px;height:118px;font-size:70px}.tile-two{right:-22px}.hero-translation{left:0;font-size:10px}.daily-card{padding:24px 15px}.lesson-grid{gap:14px}.lesson-info{padding:16px 14px 12px}.lesson-info h3{font-size:15px}.letter-grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:1023px){.sidebar{width:190px;padding-inline:14px}.sidebar-caption{font-size:7px}.workspace{margin-left:190px}.nav-item{font-size:12px;padding:14px 10px;gap:9px}.dashboard-top{grid-template-columns:1fr}.hero-card{grid-template-columns:1.1fr 1fr;min-height:310px}.hero-hangul{max-width:240px;width:100%;justify-self:center}.tile-one{left:22px}.tile-two{right:12px}.hero-translation{left:38px}.hangul-tile{width:125px;height:136px;font-size:82px}.daily-card{display:none}.welcome-note{display:none}.welcome h1{font-size:33px}.learning-section>.section-head{align-items:flex-start;flex-direction:column;gap:12px}.lesson-grid{grid-template-columns:repeat(2,1fr)}.lesson-art{height:135px}.hangul-layout,.progress-layout{grid-template-columns:1fr}.syllable-panel{display:grid;grid-template-columns:1fr 1fr}.syllable{grid-row:1/5;font-size:125px}.syllable-panel>.pill{justify-self:center}.syllable-panel>small{grid-column:1/-1;max-width:100%}.letter-grid{grid-template-columns:repeat(7,1fr)}.word-toolbar{flex-wrap:wrap}.search-box{flex-basis:100%}.word-card{padding:20px}.word-card h2{font-size:22px}.stats strong{font-size:28px}.stats>div{padding-left:16px}.stats span{font-size:10px}.progress-message{margin-top:30px}}
@media(max-width:767px){.sidebar{inset:auto 0 0;width:100%;height:72px;padding:0 8px;border-right:0;border-top:1px solid var(--line);display:block}.brand,.sidebar-caption,.side-note,.sidebar-bottom{display:none}nav{margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;height:100%}.nav-item{flex-direction:column;justify-content:center;gap:5px;padding:8px 2px;border-radius:0;font-size:9px}.nav-item.active{background:none;color:var(--green)}.nav-item:not(.active){opacity:.8}.nav-glyph{font-size:23px;height:25px}.nav-dot{display:none}.workspace{margin-left:0;margin-bottom:72px}.topbar{height:64px;padding:0 20px}.topbar>span{font-size:12px}.topbar-right{gap:13px}.topbar-rule,.level{display:none}.streak{font-size:10px}.workspace main{padding:29px 20px}.welcome h1{font-size:32px}.welcome{margin-bottom:24px}.eyebrow{font-size:8px;margin-bottom:12px}.welcome p:not(.eyebrow){font-size:12px;max-width:280px}.hero-card{padding:25px;min-height:302px;grid-template-columns:1.2fr .8fr}.hero-copy h2{font-size:26px}.hero-copy p{font-size:11px;max-width:210px}.hero-copy .primary{font-size:11px;gap:12px;padding-inline:13px}.hero-hangul{height:230px;min-width:90px}.hangul-tile{width:91px;height:109px;font-size:65px}.tile-one{left:-2px;top:13px}.tile-two{right:-19px;top:95px}.hero-translation{display:none}.orbit{width:180px;height:180px;left:-15px;top:12px}.orbit-two{width:228px;height:228px;left:-37px;top:-12px}.lesson-grid{gap:12px}.lesson-art{height:116px}.lesson-art>span[lang]{font-size:52px}.lesson-info{padding:14px 12px 12px}.lesson-meta{font-size:7px}.lesson-info h3{font-size:14px;line-height:1.3;min-height:36px}.lesson-info p{font-size:10px;min-height:33px}.art-label{font-size:7px;left:12px}.lesson-bottom{font-size:8px;margin-top:10px}.filters{gap:2px;justify-content:space-between}.filter{font-size:9px;padding:8px 11px}.section-head h2{font-size:19px}.phrase-strip{padding:23px;align-items:flex-start;gap:18px;flex-direction:column}.phrase-context p{font-size:11px}.phrase-label h2{font-size:26px}.workspace footer{padding:0 20px 25px;font-size:8px;gap:10px}.page-heading h1{font-size:29px}.page-heading>p:last-child{font-size:12px}.panel{padding:21px}.letter-grid{grid-template-columns:repeat(5,1fr)}.letter{min-height:65px}.syllable-panel{display:flex}.syllable-panel>p{max-width:250px}.syllable{margin:12px 0;font-size:120px}.tip-panel{padding:22px;gap:19px;align-items:flex-start}.tip-letter{font-size:38px}.tip-panel h2{font-size:17px}.tip-panel p{font-size:12px}.word-toolbar .primary,.word-toolbar .secondary{font-size:11px;padding-inline:14px}.word-grid{grid-template-columns:1fr}.word-card h2{font-size:26px}.stats{grid-template-columns:1fr 1fr;gap:28px}.stats>div:nth-child(3){border:0;padding-left:0}.stats strong{font-size:31px}.stats span{font-size:11px}.page-heading{margin-top:3px}.study-word h3,.quiz-prompt h3{font-size:29px}dialog{padding:24px 20px;border-radius:18px}.dialog-heading h2{font-size:20px}.dialog-actions .primary,.dialog-actions .secondary{font-size:11px;padding-inline:14px;gap:8px}.complete-mark{font-size:35px}.complete h3{font-size:23px}#toast{bottom:86px}body:has(dialog[open]){overflow:hidden}}
.tool-links{margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--line)}.tool-links h2{margin:0 10px 9px;font-size:8px;letter-spacing:1.4px;color:var(--muted)}.tool-links>a{display:grid;grid-template-columns:28px 1fr 12px;gap:9px;align-items:start;padding:10px;border-radius:10px}.tool-links>a:hover{background:var(--tint)}.tool-mark{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;font-size:11px;font-weight:800}.atlas-mark{background:#e5ecfa;color:#315a9a}.forma-mark{background:#f0e7fb;color:#6a4194}.tool-links strong{display:block;font-size:11px}.tool-links small{display:block;margin-top:3px;font-size:8px;line-height:1.4;color:var(--muted)}.external-mark{font-size:11px;color:var(--muted)}.tool-links+.side-note{margin-top:24px}.footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 16px}
.mobile-settings{display:none}@media(max-width:767px){.mobile-settings{display:block}.tool-links{display:none}}
@media(max-width:360px){.hero-card{grid-template-columns:1fr;min-height:0}.hero-hangul{display:none}.hero-copy h2{font-size:26px}.hero-copy p{max-width:none}.welcome h1{font-size:28px}.topbar{padding-inline:16px}.topbar-right{gap:9px}.filter{padding-inline:8px}.lesson-grid{grid-template-columns:1fr}.lesson-info h3,.lesson-info p{min-height:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
