@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
/* The original garden design is retained; controls and meaning relations have text labels. */
@media(max-width:900px){.intro{grid-template-columns:1fr!important}.intro .garden{display:none}} 
.course.selected{outline:3px solid #234e42;outline-offset:2px}.course p{white-space:normal!important}.level-note,.selection-note{font-size:12px;line-height:1.9;color:#526557}.status{display:inline-block;border:1px solid #b8c6ae;border-radius:20px;padding:5px 9px;font-size:11px;margin:3px}.status.review{border-style:dashed;background:#faeadc}.status.growing{background:#e4efd8}#status-summary{margin-bottom:20px}#practice-start{margin:24px 0}#storage-status{padding:16px;border:2px solid #b98648;border-radius:10px;line-height:1.9;background:#fff4e3}.flow{display:flex;gap:8px;align-items:center;margin:18px 0}.flow>div{flex:1;min-width:0;border:1px solid #b8c6ae;padding:12px;border-radius:8px;background:#fff}.flow b{font-size:11px}.flow p{overflow-wrap:anywhere;line-height:1.7}.arrow{font-size:20px}.choices button.selected{outline:3px solid #234e42}.choices button span{display:block;font-size:11px;margin-top:8px}.word-head{flex-wrap:wrap}.word-head h3{overflow-wrap:anywhere}.word details{margin:14px 0}.word a,footer a{color:#234e42}summary{cursor:pointer;font-weight:600}aside .note p,#lesson-path p,#relation-note p{line-height:1.9;font-size:12px;color:#526557}#lesson-path,#relation-note{background:#fff;border:1px solid #dfe4db;border-radius:10px;padding:18px;margin-top:20px}#lesson-path ol{line-height:2;padding-left:22px}.import-label{display:block;margin:15px 0 8px;font-weight:600}input[type=file]{max-width:100%;font-size:11px}.note button{margin:6px 0}button:disabled{cursor:default;opacity:.65}dialog{max-height:90dvh;overflow:auto}.q-sentence{overflow-wrap:anywhere}.feedback:empty{display:none}.q-prompt{font-weight:600}.saved{color:#526557!important}#stage-controls{display:flex;flex-wrap:wrap;gap:8px}#stage-controls button.selected{background:#234e42;color:white}@media(max-width:700px){.flow{flex-direction:column;align-items:stretch}.arrow{align-self:center;transform:rotate(90deg)}.word-head h3{flex-basis:100%}.levels button{justify-content:center}.status{font-size:10px}}
:root{--ink:#234e42;--muted:#76827b;--paper:#f7f8f2;--line:#dfe4db}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans JP',sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #dc9c38;outline-offset:4px}header{height:98px;max-width:1440px;margin:auto;padding:0 6%;display:flex;align-items:center;gap:60px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-size:20px;font-weight:800;letter-spacing:1px}.brand-icon{font-size:43px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:4px}nav{display:flex;gap:30px;align-self:stretch}.nav{background:none;border:0;position:relative;font-weight:600;font-size:13px;color:var(--muted);padding:0 2px}.nav.active{color:var(--ink)}.nav.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--ink)}#review-count{background:#e5e9df;border-radius:20px;padding:2px 6px;font-size:10px}.saved{margin-left:auto;font-size:10px;color:var(--muted)}.saved span{color:#82a481;margin-left:8px}main{max-width:1440px;margin:auto;padding:0 6%}.intro{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;padding:58px 0 52px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;margin:0 0 18px;color:#83927e}h1{font-size:36px;line-height:1.65;letter-spacing:1px;margin:0 0 18px;font-weight:700}h1 em{font-style:normal;color:#699273}.lead{color:#718074;line-height:2;font-size:13px}.hero-pills{display:flex;gap:18px;margin-top:22px;font-size:10px;color:#657868}.garden{position:relative;height:280px;max-width:430px;width:100%;justify-self:end}.orbit{position:absolute;border:1px dashed #d1dccc;border-radius:50%;width:240px;height:240px;left:84px;top:5px}.sun{position:absolute;right:60px;top:20px;color:#dab96e;font-size:58px}.bubble{position:absolute;background:white;border:1px solid #e1e6db;box-shadow:0 7px 15px #234e4205;padding:13px 20px;border-radius:12px;font-size:15px;font-family:Georgia,serif;z-index:2;transform:rotate(-5deg)}.bubble span{color:#7b9e70;margin-left:15px}.b1{left:0;top:38px}.b2{right:0;top:130px;transform:rotate(5deg)}.soil{position:absolute;width:285px;height:25px;border-radius:50%;background:#e5e9d9;bottom:33px;left:67px}.plant{position:absolute;bottom:45px;left:170px;width:110px;height:160px;z-index:1}.plant i{position:absolute;width:5px;height:150px;background:#6c8a57;bottom:0;left:48px;border-radius:5px;transform:rotate(4deg)}.plant b{position:absolute;width:62px;height:32px;border-radius:0 80% 0 80%;background:#8da574;left:0;top:30px;transform:rotate(15deg)}.plant b:nth-of-type(2){left:48px;top:0;transform:rotate(-45deg);background:#b1bf8b}.plant b:nth-of-type(3){left:50px;top:65px;transform:rotate(-45deg);background:#709366}.plant b:nth-of-type(4){left:0;top:100px;background:#b1bf8b}.p2{left:105px;height:85px;transform:scale(.65);transform-origin:bottom}.p2 i{height:80px}.garden-label{position:absolute;bottom:0;left:124px;font-size:9px;letter-spacing:2px;color:#92a085}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:30px;border-top:1px solid var(--line);padding-top:30px}.section-label{display:flex;justify-content:space-between;font-size:11px;font-weight:600;letter-spacing:.5px;margin-bottom:17px}.muted{color:var(--muted);font-size:11px;font-weight:400}.levels{display:flex;gap:12px}.levels button{display:flex;align-items:center;text-align:left;gap:13px;flex:1;padding:17px 15px;background:transparent;border:1px solid var(--line);border-radius:10px;transition:.2s}.levels button.selected{background:var(--ink);border-color:var(--ink);color:#fff}.levels button>span{font-size:25px}.levels button div{font-weight:600;font-size:13px}.levels small{display:block;font-size:10px;font-weight:400;margin-top:5px;opacity:.65}.levels b{font-size:10px;opacity:.4;margin-left:auto}.course-label{margin-top:32px}.courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.course{border:1px solid transparent;padding:19px 16px 16px;border-radius:12px;text-align:left;transition:transform .2s,box-shadow .2s}.course:hover{transform:translateY(-4px);box-shadow:0 8px 18px #234e4210}.mint{background:#e7eedf}.peach{background:#f4e8da}.lilac{background:#eae8f0}.course-top{display:flex;align-items:center;gap:6px;font-size:7px;letter-spacing:.5px}.course-top>b{margin-left:auto;font-size:17px;font-weight:400}.course-icon{font-size:25px;line-height:1}.course h2{font-size:16px;margin:26px 0 10px;letter-spacing:-.5px}.course p{font-size:10px;margin:0 0 15px;white-space:nowrap;font-family:Georgia,serif;color:#647265}.course-desc{font-size:10px;line-height:1.9;display:block;min-height:40px;color:#6d766e}.course-foot{border-top:1px solid #234e4215;margin-top:20px;padding-top:14px;display:flex;justify-content:space-between;gap:5px;font-size:9px}.course-foot span{opacity:.6}.course-foot b{font-weight:600}.tip{display:flex;gap:16px;align-items:center;background:#efefe5;margin-top:21px;border-radius:9px;padding:18px}.tip>span{font-size:28px;color:#b49a5f}.tip b{font-size:11px}.tip p{font-size:10px;line-height:1.9;margin:6px 0 0;color:#7c8070}.growth{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;text-align:center}.growth .section-label{font-size:9px;color:#8d978a;letter-spacing:1.5px;justify-content:center}.growth-icon{font-size:45px;background:#f3f5e9;width:90px;height:90px;border-radius:50%;margin:23px auto 19px;display:grid;place-items:center}.growth h2{font-size:14px}.growth p{color:#8a9184;font-size:10px}.stats{display:flex;justify-content:center;margin-top:23px}.stats>div{width:50%;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats b{display:block;font-size:27px;font-weight:500}.stats span{font-size:9px;color:#92998d}.meter{height:5px;border-radius:5px;background:#edf0e6;margin-top:24px;overflow:hidden}.meter i{display:block;height:100%;background:#8fae75;width:0;transition:width .5s}.growth-caption{font-size:9px!important;line-height:1.8}.note{margin-top:18px;background:#f0eee2;border-radius:10px;padding:22px}.note>span{font-size:10px;color:#9a9278}.note h3{font-size:18px;line-height:1.8;font-weight:600;margin:14px 0}.note p{font-size:10px;color:#898674;line-height:2}.signs{display:flex;gap:9px;margin-top:15px}.signs span{background:#fff9;padding:6px 12px;border-radius:6px;font-family:Georgia,serif}footer{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:25px 0;margin-top:38px;font-size:10px;color:#8a9586}footer>span:first-child{font-weight:700;font-size:12px}footer button{margin-left:auto;border:0;background:none;font-size:9px;color:#8a9586}dialog{width:min(650px,94vw);border:0;border-radius:20px;padding:28px;color:var(--ink);box-shadow:0 25px 90px #12332433}dialog::backdrop{background:#19372b77;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7c8777}.dialog-head button{border:0;background:#eff2e9;border-radius:50%;width:32px;height:32px}.q-progress{height:5px;background:#edf0e5;margin:20px 0;border-radius:5px}.q-progress i{display:block;height:100%;background:#7ea36c;border-radius:5px}.q-tag{font-size:10px;letter-spacing:1px;color:#84917d}.q-prompt{font-size:16px;line-height:1.9;margin:19px 0}.q-sentence{font-family:Georgia,serif;font-size:25px;line-height:1.6;background:#f3f5ee;padding:24px;border-radius:12px;margin:18px 0;white-space:pre-line}.choices{display:grid;gap:10px;grid-template-columns:1fr 1fr}.choices button{border:1px solid var(--line);background:white;padding:17px;border-radius:10px;text-align:left;font-size:14px}.choices button:hover:not(:disabled){background:#edf3e7;border-color:#8da77b}.choices button.correct{background:#e5f0da;border-color:#82a569}.choices button.wrong{background:#fbecdf;border-color:#ce9c7c}.choices button:disabled{cursor:default;opacity:.85}.feedback{margin:18px 0;padding:18px;background:#f0f4e9;border-radius:10px;font-size:13px;line-height:1.9}.feedback b{display:block;margin-bottom:8px}.primary{background:var(--ink);border:0;border-radius:9px;color:white;padding:13px 22px;font-weight:600}.secondary{border:1px solid var(--line);background:white;padding:11px 17px;border-radius:9px;font-size:12px}.q-actions{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.q-actions small{font-size:10px;color:#8a9586}.finish{text-align:center;padding:32px 10px}.finish>span{font-size:65px}.finish h2{font-size:25px}.finish p{line-height:2;color:#7c8876}.finish .primary{margin:20px 5px 5px}.word{background:white;border:1px solid var(--line);border-radius:10px;padding:18px;margin:12px 0}.word-head{display:flex;gap:10px;align-items:center}.word h3{font-family:Georgia,serif;font-size:20px;margin:0;flex:1}.word p{font-size:12px;line-height:1.9}.word small{color:var(--muted);font-size:10px}.word .example{font-family:Georgia,serif;font-size:16px}.word button{background:#f0f3e9;border:0;padding:6px 9px;border-radius:6px;font-size:11px}#search{width:100%;padding:13px;border:1px solid var(--line);border-radius:9px;background:white}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 20px;border-radius:10px;opacity:0;pointer-events:none;z-index:5;transition:.2s}#toast.show{opacity:1}[hidden]{display:none!important}.empty{padding:35px 15px;text-align:center;background:#eef1e7;border-radius:12px;line-height:2;color:#76826e}
@media(min-width:1400px){.course h2{font-size:19px}.course p{font-size:12px}}@media(max-width:1050px){header{gap:30px}.dashboard{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.courses{grid-template-columns:1fr}.course h2{margin-top:12px}.course-desc{min-height:0}.course-foot{margin-top:12px}.course-top{font-size:9px}.saved{display:none}.intro{gap:10px}h1{font-size:29px}.hero-pills{gap:8px}}@media(max-width:700px){header{height:80px;padding:0 5%;gap:20px;flex-wrap:wrap}.brand{font-size:15px;gap:7px}.brand-icon{font-size:32px}.brand small{font-size:7px}.nav{font-size:11px}nav{gap:16px;margin-left:auto}main{padding:0 5%}.intro{display:block;padding:35px 0}.garden{display:none}h1{font-size:30px}.hero-pills{flex-wrap:wrap;gap:15px}.dashboard{display:block}.levels{gap:7px}.levels button{padding:14px 8px;gap:6px}.levels button>span{font-size:20px}.levels b{display:none}.levels button div{font-size:12px}.levels small{font-size:9px}.section-label .muted{font-size:9px}.courses{grid-template-columns:1fr}.course{padding:20px}.course h2{font-size:20px}.course p{font-size:13px}.course-desc{font-size:12px}.course-foot{font-size:11px}.course-top{font-size:9px}.tip p{font-size:11px}aside{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px}.note{margin:0}.growth-icon{margin:15px auto}.choices{grid-template-columns:1fr}.q-sentence{font-size:21px;padding:18px}dialog{padding:20px}footer{flex-wrap:wrap;gap:10px}footer button{margin-left:0}.tip{align-items:flex-start}}
