:root{color-scheme:light;--bg:#f6f8f0;--paper:#fffefa;--ink:#243c32;--muted:#6f7e73;--green:#31765b;--mint:#afe1c7;--line:#e1e8dc;--orange:#a25d21;--red:#a44538;--shadow:0 12px 40px #2d493309}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.65}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit}button:disabled{cursor:wait;opacity:.55}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #62a68c;outline-offset:4px}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}h1{font-size:clamp(27px,3.3vw,38px);font-weight:730;line-height:1.3;letter-spacing:-1px}h2{font-size:24px;line-height:1.4}h3{font-size:18px}small,.muted{color:var(--muted)}.shell{max-width:1160px;margin:auto;display:grid;grid-template-columns:208px minmax(0,1fr);gap:48px;padding:36px 32px;min-height:100dvh}.sidebar{display:flex;flex-direction:column;gap:40px;position:sticky;top:36px;height:calc(100dvh - 72px)}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:750;letter-spacing:-.5px}.brand-symbol{display:grid;place-items:center;width:40px;height:40px;background:var(--mint);border-radius:15px;font-size:24px}.nav{display:flex;flex-direction:column;gap:9px}.nav button{padding:13px 17px;text-align:left;border-radius:13px;background:transparent;color:var(--muted);display:flex;gap:12px;align-items:center}.nav button.active{background:#e2efdf;color:var(--green);font-weight:700}.nav-icon{width:22px;font-size:19px}.sidebar-foot{margin-top:auto;padding:16px 10px;font-size:13px;color:var(--muted)}.main{min-width:0;padding:12px 0 40px}.topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:36px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:var(--green);text-transform:uppercase;margin-bottom:10px}.sync{font-size:12px;color:var(--muted);display:inline-flex;gap:6px;align-items:center}.sync:before{content:"";width:6px;height:6px;border-radius:50%;background:#69a587}.sync.offline{color:var(--orange)}.sync.offline:before{background:var(--orange)}.stack{display:grid;gap:22px}.card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.hero{padding:36px;background:#eaf2df;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 130px;gap:16px}.hero p{margin:14px 0 24px;max-width:390px;color:#5e7360}.sprout{width:120px;height:150px;align-self:center;justify-self:center}.primary,.secondary,.quiet,.danger{min-height:48px;border-radius:12px;padding:11px 22px;font-weight:650;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}.primary{background:var(--mint);color:#214e3b}.primary:hover:not(:disabled){background:#9fd7b9}.secondary{background:#f2f5ec;border:1px solid var(--line)}.quiet{background:transparent;padding:9px 12px;color:var(--muted)}.danger{background:#f9e9df;color:var(--red)}.wide{width:100%}.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.stat{padding:22px 20px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.stat-label{color:var(--muted);font-size:13px}.stat-num{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:8px 0}.stat-num span{font-size:15px;letter-spacing:0;color:var(--muted)}.progress{height:6px;background:#e6ebdf;border-radius:20px;overflow:hidden;margin-top:13px}.progress>span{display:block;background:#73b994;height:100%;border-radius:20px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:16px}.note{font-size:14px;color:var(--muted)}.hint{background:#f4f5ec;border-radius:13px;padding:14px 17px;font-size:14px;color:#60705f}.study-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.pill{background:#edf3e8;color:var(--green);font-size:12px;padding:5px 11px;border-radius:30px;display:inline-flex;align-items:center;gap:6px}.word-card{text-align:center;min-height:370px;padding:36px 30px;display:flex;flex-direction:column;justify-content:center;align-items:center}.word{font-size:clamp(40px,7vw,62px);font-weight:700;line-height:1.2;letter-spacing:-1.5px;overflow-wrap:anywhere;margin:12px 0 8px}.meaning{font-size:23px;line-height:1.5;margin:12px 0}.word-meta{font-size:13px;color:var(--muted)}.example{margin-top:24px;max-width:480px;color:#506958}.example p+p{font-size:14px;color:var(--muted);margin-top:4px}.mnemonic{font-size:14px;color:#66765e;margin-top:16px}.source{font-size:11px;color:#899284;margin-top:25px}.study-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:24px}.study-footer .primary{min-width:160px}.group-dots{display:flex;gap:6px}.group-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#dbe3d4}.group-dots i.done{background:#78b596}.group-dots i.current{outline:2px solid #508765;outline-offset:3px}.quiz-card{padding:32px;min-height:380px}.quiz-card .meaning{font-size:28px;margin:16px 0}.quiz-context{color:var(--muted);font-size:14px;margin:12px 0 24px}.field{display:grid;gap:8px;margin:18px 0}.field label{font-size:14px;font-weight:650}.field input{width:100%;min-height:50px;border:1px solid #cfdacb;border-radius:12px;background:#fff;padding:11px 15px;color:var(--ink)}.field input:focus{border-color:#6aa17c;outline:3px solid #aee0c344}.answer-input{font-size:24px!important;letter-spacing:.5px}.feedback{border-radius:15px;padding:18px 20px;margin-top:22px;background:#edf5e9;border:1px solid #d9e7d3}.feedback.incorrect{background:#fff1e7;border-color:#efdbc9}.feedback.alternative{background:#f4f2e5;border-color:#e5e0c8}.feedback strong{display:block;margin-bottom:5px}.feedback p{font-size:14px}.original{font-size:13px;color:var(--orange);margin-top:14px}.error-box{background:#fff0e7;color:#8f4936;padding:13px 17px;border:1px solid #edd3c5;border-radius:12px;margin:15px 0;white-space:pre-line}.error-box:empty{display:none}.auth-wrap{max-width:1040px;min-height:100dvh;margin:auto;display:grid;grid-template-columns:1fr 420px;gap:70px;align-items:center;padding:48px 36px}.auth-copy h1{font-size:44px;line-height:1.3;margin:32px 0 20px;letter-spacing:-1px}.auth-copy p{max-width:380px;color:var(--muted)}.auth-plant{width:160px;height:150px;margin-top:30px}.auth-card{padding:34px}.auth-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.auth-tabs button{background:transparent;color:var(--muted);padding:0 0 12px;border-radius:0}.auth-tabs button.active{color:var(--green);border-bottom:2px solid var(--green);font-weight:750}.auth-card .primary{margin-top:10px}.auth-foot{font-size:12px;color:var(--muted);margin-top:20px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .field{margin:5px 0 18px}.number-help{font-size:12px;color:var(--muted)}.divider{border-top:1px solid var(--line);margin:24px 0}.list{display:grid;gap:12px}.mistake{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;background:var(--paper);border:1px solid var(--line);border-radius:16px}.mistake-word{font-size:23px;font-weight:650;line-height:1.3}.mistake-meaning{font-size:14px;color:var(--muted);margin-top:5px}.mistake-meta{text-align:right;flex-shrink:0;font-size:12px;color:var(--muted)}.empty{text-align:center;padding:48px 24px}.empty-symbol{font-size:42px;margin-bottom:15px}.empty p{color:var(--muted);margin:10px auto 22px;max-width:350px}.result-title{text-align:center;padding:14px 0 26px}.result-title .empty-symbol{font-size:48px}.result-title h1{font-size:32px}.result-title p{margin-top:12px;color:var(--muted)}.result-list{margin:22px 0}.result-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;gap:14px}.result-row small{display:block}.result-status{font-size:13px;color:var(--green);text-align:right}.result-status.warn{color:var(--orange)}.notice{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:20;max-width:calc(100% - 32px);padding:13px 20px;border-radius:13px;background:#294f3e;color:#fff;box-shadow:0 7px 25px #243c3220;font-size:14px}.boot{min-height:80dvh;display:grid;place-items:center;color:var(--muted)}.inline-link{border:0;background:transparent;color:var(--green);text-decoration:underline;padding:4px;font-size:14px}.audio-status{font-size:13px;color:var(--muted);margin-top:12px}.hidden{display:none!important}@media(max-width:800px){.shell{grid-template-columns:155px minmax(0,1fr);gap:24px;padding:26px 20px}.sidebar{top:26px}.brand{font-size:18px;gap:8px}.brand-symbol{width:34px;height:34px}.nav button{padding:12px}.hero{grid-template-columns:1fr 85px;padding:28px}.sprout{width:85px}.card{padding:24px}.stats{gap:9px}.stat{padding:18px 14px}.auth-wrap{gap:35px;grid-template-columns:1fr 380px;padding:36px 24px}.auth-copy h1{font-size:34px}}@media(max-width:600px){.shell{display:block;padding:20px 18px 96px}.sidebar{position:static;height:auto;display:block}.brand{font-size:19px}.nav{position:fixed;bottom:0;left:0;right:0;flex-direction:row;justify-content:space-around;background:#fffefaf5;border-top:1px solid var(--line);backdrop-filter:blur(14px);padding:7px 16px calc(7px + env(safe-area-inset-bottom));z-index:10}.nav button{display:flex;flex-direction:column;gap:0;padding:4px 24px;font-size:11px;border-radius:13px;min-height:47px}.nav-icon{font-size:19px;line-height:1.4}.sidebar-foot{display:none}.main{padding:25px 0 0}.topline{margin-bottom:24px;align-items:flex-start}.topline .sync{max-width:130px;text-align:right;font-size:11px}.eyebrow{font-size:11px;margin-bottom:8px}.card{border-radius:20px;padding:23px}.hero{padding:27px 23px;grid-template-columns:1fr 65px;gap:5px}.hero h2{font-size:23px}.hero p{font-size:14px;margin:12px 0 20px}.sprout{width:70px;height:110px}.stats{gap:8px}.stat{padding:17px 12px;border-radius:16px}.stat-label{font-size:12px}.stat-num{font-size:27px}.stat-num span{font-size:12px}.section-title h2{font-size:20px}.note{font-size:13px}.word-card{min-height:350px;padding:30px 20px}.word{font-size:48px}.meaning{font-size:22px}.study-footer{flex-wrap:wrap}.study-footer .primary{flex:1}.quiz-card{padding:25px 22px}.quiz-card .meaning{font-size:25px}.quiz-actions{position:sticky;bottom:76px;background:var(--paper);padding:12px 0 5px}.auth-wrap{display:block;padding:30px 22px;min-height:100dvh}.auth-copy h1{font-size:31px;margin:24px 0 12px}.auth-copy p{font-size:14px}.auth-plant{display:none}.auth-card{margin:28px 0 20px;padding:25px}.settings-grid{gap:14px}.settings-grid .field input{padding:10px}.mistake{padding:17px 16px;gap:10px}.mistake-word{font-size:21px}.mistake-meta{font-size:11px}.notice{bottom:88px}.result-title h1{font-size:28px}.actions .primary,.actions .secondary{flex-grow:1}.answer-input{font-size:23px!important}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.mt6{margin-top:6px}.mt8{margin-top:8px}.mt10{margin-top:10px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt18{margin-top:18px}.mt20{margin-top:20px}.mt24{margin-top:24px}.block{display:block}.account-note{margin:12px 0 20px}progress.progress{appearance:none;display:block;width:100%;border:0;height:6px;background:#e6ebdf;border-radius:20px;overflow:hidden}progress.progress::-webkit-progress-bar{background:#e6ebdf;border-radius:20px}progress.progress::-webkit-progress-value{background:#73b994;border-radius:20px}progress.progress::-moz-progress-bar{background:#73b994;border-radius:20px}.group-progress{margin:0 0 22px!important}

.catalog-tabs,.catalog-pagination{flex-wrap:wrap}
.catalog-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end}
.catalog-filters .field{margin:0;min-width:0}
.catalog-filters select{width:100%;font:inherit;color:var(--ink);padding:12px 10px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
.catalog-filters select:focus-visible{outline:3px solid #62a68c;outline-offset:3px}
.catalog-list{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:12px}
.catalog-entry{min-width:0;padding:20px;overflow-wrap:anywhere}
.catalog-term{font-size:21px}
.catalog-audio{width:100%;max-width:250px;height:36px}
@media(max-width:600px){
  .catalog-filters{grid-template-columns:minmax(0,1fr) auto}
  .catalog-filters .field:first-child{grid-column:1/-1}
  .nav button{flex:1;min-width:0;padding-inline:4px}
}

.study-card{animation:study-arrive .2s ease-out both}
@keyframes study-arrive{from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.study-controls{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.practice-setup fieldset{margin:0;padding:0;border:0;min-width:0}
.practice-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.practice-filters .field{margin:14px 0 0;min-width:0}
.practice-filters select{width:100%;min-height:50px;border:1px solid #cfdacb;border-radius:12px;background:#fff;padding:10px 12px;font:inherit;color:var(--ink)}
.practice-filters select:focus-visible{outline:3px solid #62a68c;outline-offset:3px}
.practice-recent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.practice-recent-row>div{min-width:0;overflow-wrap:anywhere}
.practice-recent-row button{flex-shrink:0}
.practice-recent-row:last-child{padding-bottom:0;border-bottom:0}
.practice-progress .study-header{margin-bottom:8px}
.practice-progress .progress{margin:0}
.practice-card{min-height:0}
.practice-prompt{margin-top:8px;overflow-wrap:anywhere;white-space:pre-line}
.practice-choices,.match-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.practice-choices button,.match-card{min-width:0;white-space:normal;overflow-wrap:anywhere}
.practice-choices button{justify-content:flex-start;text-align:left}
.match-card{min-height:70px;background:#eaf2df}
.match-card[aria-pressed="true"]{outline:2px solid var(--green);outline-offset:1px;background:#fffefa}
.match-card.matched{background:#edf5e9;color:var(--green);opacity:1;cursor:default}
.practice-back{justify-self:start}
.practice-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){
  .study-controls{flex:1 1 100%;justify-content:stretch}
  .study-controls button{flex:1;padding-inline:10px}
  .study-controls .primary{min-width:0}
  .practice-filters,.practice-choices{grid-template-columns:1fr}
  .practice-filters{gap:0}
  .practice-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .practice-recent-row button{padding-inline:11px}
}
@media(prefers-reduced-motion:reduce){.study-card{animation:none}}

.practice-skill{
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:13px;
}
.practice-skill p{color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.practice-result-list{list-style:none;margin:0;padding:0}
.practice-original{margin-top:3px}

.home-growth{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
}
.island-lamp{
  position:relative;
  display:inline-block;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#f5e9c9;
}
.island-lamp::before,.island-lamp::after{content:"";position:absolute;left:50%;transform:translateX(-50%)}
.island-lamp::before{top:7px;width:13px;height:16px;border:2px solid #956d38;border-radius:8px 8px 5px 5px;background:#ffe5a1}
.island-lamp::after{bottom:6px;width:9px;height:4px;border-radius:2px;background:#956d38}
.growth-light{border:1px solid var(--line);border-radius:14px;overflow-wrap:anywhere}
.growth-light summary{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}
.growth-light summary::-webkit-details-marker{display:none}
.growth-light summary:focus-visible{outline:3px solid #62a68c;outline-offset:-3px;border-radius:14px}
.growth-light summary::after{content:'＋';margin-left:auto;color:var(--green)}
.growth-light[open] summary::after{content:'−'}
.growth-light small{display:block}
.growth-evidence{display:grid;gap:8px;margin:0;padding:0 14px 14px}
.growth-evidence div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}
.growth-evidence dt{color:var(--muted)}
.growth-evidence dd{margin:0}
.completion-growth{padding-top:18px;border-top:1px solid var(--line)}
.completion-growth .section-title{margin-bottom:8px}
.worksheet-kind-picker legend{padding:0;margin:14px 0 8px;font-size:14px;font-weight:650}
.worksheet-kind-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.worksheet-kind-option{
  display:flex;align-items:flex-start;gap:9px;padding:12px;min-width:0;border:1px solid var(--line);
  border-radius:14px;background:#f2f5ec;line-height:1.45;cursor:pointer;
}
.worksheet-kind-option input{flex:none;width:16px;height:16px;margin:3px 0 0;accent-color:var(--green)}
.worksheet-kind-option strong,.worksheet-kind-option small{display:block}
.worksheet-kind-option small{margin-top:4px;font-size:12px}
.worksheet-kind-option:has(input:checked){background:#e2efdf;border-color:#83b098}
.worksheet-kind-option:has(input:disabled){cursor:default;opacity:.65}
.worksheet-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.worksheet-recent-row>.worksheet-tools{flex-shrink:0}
.photo-history.card{padding-block:12px}
.photo-history summary{cursor:pointer;font-weight:650;padding:6px 0}
.worksheet-preview{display:grid;gap:18px;margin-top:20px}
.worksheet-preview-page{border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.worksheet-preview-page h3{font-size:14px;color:var(--muted)}
.worksheet-preview-items{display:grid;margin:6px 0 0;padding:0;list-style:none}
.worksheet-preview-item{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:8px;padding:10px 0;line-height:1.5;overflow-wrap:anywhere}
.worksheet-preview-item+.worksheet-preview-item{border-top:1px solid var(--line)}
.worksheet-item-number{font-variant-numeric:tabular-nums;color:var(--muted)}
.worksheet-item-usage{margin:4px 0 0}
.worksheet-writing-space{width:min(100%,31rem);min-height:30px;border:1px solid #a0afa1;border-radius:4px}
.worksheet-preview-item p+.worksheet-writing-space{margin-top:5px}
@media(max-width:600px){
  .home-growth{grid-template-columns:auto minmax(0,1fr)}
  .home-growth button{grid-column:1/-1;justify-self:stretch}
  .worksheet-kind-options{grid-template-columns:1fr;gap:8px}
  .worksheet-recent-row{align-items:flex-start;flex-wrap:wrap}
  .worksheet-recent-row>.worksheet-tools{flex-shrink:1}
}
.growth-answer{font-weight:650;margin-left:10px}

.photo-section-title{align-items:flex-start;flex-wrap:wrap}
.photo-page-tabs{display:flex;flex-wrap:wrap;gap:8px}
.photo-page-tabs button{min-width:105px;display:grid;gap:0;line-height:1.45;padding:8px 13px}
.photo-page-tabs button[aria-pressed="true"]{background:#e2efdf;border-color:#83b098;color:var(--green)}
.photo-page-tabs button small{font-size:12px}
.photo-upload{padding:14px 16px;background:#f4f6ee;border-radius:14px}
#photo-upload-status:empty{display:none}
.photo-whole{min-height:36px;padding:5px 0;text-decoration:underline}
.photo-row{padding:16px 0;border-bottom:1px solid var(--line)}
.photo-row h3{font-size:16px;overflow-wrap:anywhere}
.photo-row-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:16px;margin-top:7px}
.photo-row-grid .note{overflow-wrap:anywhere}
.photo-crop{width:100%;min-height:44px;margin-top:3px;border:1px solid var(--line);border-radius:8px;background:#fafaf6;display:grid;place-items:center}
.photo-crop canvas{display:block;width:100%;height:auto;max-height:65px;object-fit:contain}
.photo-edit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:6px;margin-top:3px}
.photo-edit input{min-width:0;width:100%;border:1px solid #cfdacb;border-radius:10px;padding:7px 9px;background:#fff;color:var(--ink)}
.photo-blank{min-height:44px;padding:7px 10px;font-size:13px;white-space:nowrap}
.photo-blank[aria-pressed="true"]{background:#e2efdf;border-color:#83b098;color:var(--green)}
.photo-finish{padding-top:16px;border-top:1px solid var(--line)}
.photo-dialog{width:min(720px,calc(100% - 32px));padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink)}
.photo-dialog::backdrop{background:#243c3280}
.photo-zoom-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:8px}
.photo-zoom-scroll canvas{display:block;width:100%;min-width:540px;height:auto}
.photo-result-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.photo-result-row:last-child{border-bottom:0;padding-bottom:0}
.photo-result-row>div{min-width:0}
.photo-grade{flex:none;padding:3px 9px;border-radius:16px;font-size:13px;background:#edf4e7;color:var(--green)}
.photo-grade-incorrect{background:#f9eadf;color:#85432c}
.photo-grade-blank{background:#eef0e9;color:#516454}
.photo-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(hover:hover) and (pointer:fine) and (min-width:601px){.photo-camera{display:none}}
@media(max-width:650px){
  .photo-row-grid{grid-template-columns:1fr;gap:9px}
  .photo-crop{max-width:100%}
  .photo-upload{padding:12px}
}
