:root {
  --paper: #f5f7ef;
  --surface: #ffffff;
  --ink: #1e2d28;
  --muted: #75817d;
  --line: #e4e9df;
  --green: #208b67;
  --green-dark: #146b50;
  --green-soft: #e0f2e9;
  --amber: #f3a83b;
  --amber-soft: #fff0d2;
  --blue: #4d8dcc;
  --blue-soft: #e6f1fb;
  --purple: #876fc3;
  --danger: #c74d47;
  --shadow: 0 16px 48px rgba(37, 61, 52, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(32, 139, 103, 0.24); outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: 0.48; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 232px; padding: 32px 24px 24px; border-right: 1px solid var(--line); background: rgba(249, 250, 246, 0.92); backdrop-filter: blur(16px); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 5px; color: var(--ink); background: none; text-align: left; }
.brand-mark { position: relative; width: 43px; height: 43px; border-radius: 14px; background: var(--green); overflow: hidden; box-shadow: 0 9px 20px rgba(32, 139, 103, 0.2); }
.brand-mark span { position: absolute; bottom: 8px; width: 10px; height: 19px; border-radius: 100% 0 100% 0; background: #fff; transform-origin: bottom; }
.brand-mark span:nth-child(1) { left: 10px; transform: rotate(-28deg); }
.brand-mark span:nth-child(2) { left: 17px; height: 26px; width: 9px; border-radius: 100% 100% 30% 30%; }
.brand-mark span:nth-child(3) { right: 9px; transform: rotate(28deg) scaleX(-1); }
.brand strong { display: block; font-size: 18px; line-height: 1.05; letter-spacing: 0.06em; }
.brand small { display: block; margin-top: 4px; color: var(--green); font-weight: 700; letter-spacing: 0.18em; }
.desktop-nav { display: grid; gap: 8px; margin-top: 52px; }
.nav-item { display: flex; align-items: center; gap: 15px; min-height: 52px; padding: 0 16px; border-radius: 15px; color: #65716d; background: transparent; font-weight: 700; text-align: left; transition: 160ms ease; }
.nav-item:hover { background: #edf1e9; color: var(--ink); transform: translateX(2px); }
.nav-item.is-active { color: var(--green-dark); background: var(--green-soft); box-shadow: inset 3px 0 var(--green); }
.sidebar-tip { margin-top: auto; padding: 19px 15px; text-align: center; border: 1px solid #e5eadf; border-radius: 18px; background: #fff; }
.tip-plant { display: block; margin-top: -43px; font-size: 46px; filter: drop-shadow(0 8px 8px rgba(22, 108, 80, 0.14)); }
.sidebar-tip strong { display: block; margin-top: 3px; font-size: 14px; }
.sidebar-tip p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.main-content { min-height: 100vh; margin-left: 232px; padding: 0 48px 64px; }
.topbar { height: 116px; display: flex; align-items: center; justify-content: space-between; max-width: 1220px; margin: 0 auto; }
.eyebrow { margin: 0 0 7px; color: var(--muted); font-size: 13px; font-weight: 650; }
.topbar h1 { margin: 0; font-size: clamp(22px, 2.2vw, 31px); letter-spacing: -0.03em; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.import-shortcut { display: flex; gap: 8px; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--green-dark); background: #fff; font-size: 13px; font-weight: 750; box-shadow: 0 7px 18px rgba(40, 62, 54, 0.04); }
.parent-entry { justify-content: center; }
.avatar-button { position: relative; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #f3b64d, #e58b3f); font-size: 11px; font-weight: 800; box-shadow: 0 7px 18px rgba(210, 133, 47, 0.22); }
.avatar-button i { position: absolute; right: -2px; bottom: -1px; width: 18px; height: 18px; border: 2px solid var(--paper); border-radius: 50%; background: var(--green); font-size: 10px; font-style: normal; line-height: 14px; }
.view { display: none; max-width: 1220px; margin: 0 auto; animation: view-in 250ms ease; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(7px); } }

.today-grid { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 20px; }
.hero-card { position: relative; min-height: 310px; display: grid; grid-template-columns: minmax(0, 58%) minmax(240px, 42%); overflow: hidden; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(125deg, #147457, #24956d 62%, #62b68c); box-shadow: 0 20px 46px rgba(21, 110, 82, 0.2); }
.hero-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; top: -210px; border: 55px solid rgba(255,255,255,.055); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; padding: 34px 12px 32px 40px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.11); font-size: 11px; font-weight: 750; letter-spacing: 0.08em; }
.pill svg { width: 15px; height: 15px; }
.hero-copy h2 { max-width: 590px; margin: 20px 0 10px; font-size: clamp(25px, 3.1vw, 38px); line-height: 1.24; letter-spacing: -0.045em; }
.hero-copy > p { max-width: 570px; margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.75; }
.hero-progress-row { display: flex; align-items: center; gap: 13px; margin-top: 24px; max-width: 460px; }
.progress-track { height: 7px; flex: 1; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.18); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #f7c766; transition: width 450ms ease; }
.hero-progress-row strong { min-width: 36px; font-size: 12px; }
.hero-actions { display: flex; align-items: center; gap: 17px; margin-top: 24px; }
.primary-button, .secondary-button, .ghost-button, .danger-button { min-height: 46px; padding: 0 20px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 800; transition: 150ms ease; }
.primary-button { color: #fff; background: var(--green); box-shadow: 0 8px 20px rgba(27, 119, 87, .2); }
.hero-card .primary-button { color: var(--green-dark); background: #fff; box-shadow: 0 8px 24px rgba(4, 54, 38, .16); }
.primary-button:hover, .secondary-button:hover, .ghost-button:hover { transform: translateY(-1px); }
.primary-button svg { width: 18px; height: 18px; }
.primary-button.small { min-height: 42px; padding: 0 16px; }
.secondary-button { min-height: 42px; border: 1px solid var(--line); color: var(--green-dark); background: #fff; }
.ghost-button { border: 1px solid var(--line); background: transparent; }
.danger-button { color: #fff; background: var(--danger); }
.text-button { padding: 6px 0; color: var(--green); background: transparent; font-size: 12px; font-weight: 800; }
.hero-card .text-button { color: rgba(255,255,255,.78); }

.hero-garden { position: relative; overflow: hidden; min-height: 280px; }
.sun-orb { position: absolute; top: 40px; right: 52px; width: 49px; height: 49px; border: 9px solid rgba(255,235,163,.19); border-radius: 50%; background: #f9d16d; box-shadow: 0 0 40px rgba(255,222,125,.35); }
.cloud { position: absolute; width: 55px; height: 17px; border-radius: 20px; background: rgba(255,255,255,.21); }
.cloud::before, .cloud::after { content:""; position:absolute; bottom:0; border-radius:50%; background:inherit; }
.cloud::before { width:26px; height:26px; left:8px; }.cloud::after{width:18px;height:18px;right:5px}
.cloud-one { top: 81px; left: 22px; }.cloud-two { top: 125px; right: 10px; transform: scale(.7); opacity:.7; }
.hill { position: absolute; bottom: -95px; border-radius: 50% 50% 0 0; transform: rotate(-5deg); }
.hill-back { width: 330px; height: 240px; left: -30px; background: #82c797; opacity: .72; }
.hill-front { width: 350px; height: 210px; right: -110px; background: #4ca978; }
.plant { position: absolute; left: 49%; bottom: 40px; width: 110px; height: 155px; transform: translateX(-50%); }
.plant i { position: absolute; bottom: 0; left: 53px; width: 7px; height: 95px; border-radius: 5px; background: #f2d27d; transform: rotate(-2deg); }
.plant .leaf { position:absolute; z-index:2; width:64px; height:42px; background:#e0ef8a; border:3px solid rgba(25,101,71,.28); }
.plant .leaf.left { left: 0; bottom: 67px; border-radius: 100% 12% 100% 12%; transform: rotate(16deg); }.plant .leaf.right { right:0; bottom:91px; border-radius:12% 100% 12% 100%; transform:rotate(-11deg); }
.plant b { position:absolute; z-index:3; left:19px; bottom:5px; width:78px; height:57px; display:grid; place-items:center; border-radius: 8px 8px 35px 35px; background:#e89e4e; border:4px solid #f5bd67; box-shadow:0 12px 22px rgba(36,77,59,.25); color:#7d4c1e; font-size:18px; transform:rotate(2deg); }
.spark { position:absolute; color:#f9df84; }.s1{left:10%;top:40%;}.s2{right:20%;top:60%;font-size:11px;}

.streak-card { padding: 23px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.streak-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }
.streak-head strong { color: var(--ink); font-size: 28px; }.streak-head small{font-size:12px;margin-left:3px;color:var(--muted)}
.week-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 25px 0 20px; }
.week-day { text-align:center; }.week-day span{display:grid;place-items:center;width:25px;height:25px;margin:0 auto 6px;border-radius:50%;background:#eef1eb;color:#9aa39f;font-size:10px;font-weight:800}.week-day small{font-size:9px;color:#a3aba8}
.week-day.done span{color:#fff;background:var(--green)}.week-day.today span{box-shadow:0 0 0 3px var(--amber-soft);color:#8b601c;background:var(--amber)}
.streak-card > p { margin: 0; padding-top: 17px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 38px 0 16px; }
.mini-label { color: #8b9691; font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.section-heading h2, .page-intro h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.03em; }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.pack-card { position:relative; min-height:154px; padding:20px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 10px 30px rgba(43,64,57,.05); transition:160ms ease; }
.pack-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.pack-card::after{content:"";position:absolute;right:-18px;bottom:-30px;width:100px;height:100px;border-radius:50%;background:var(--pack-soft)}
.pack-card-head{display:flex;align-items:center;justify-content:space-between}.pack-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:99px;color:var(--pack-color);background:var(--pack-soft);font-size:10px;font-weight:800}.pack-menu{padding:4px;color:#a3aca8;background:none;font-size:20px}
.pack-card h3{margin:15px 0 5px;font-size:17px}.pack-card p{margin:0;color:var(--muted);font-size:11px}.pack-card-foot{position:absolute;z-index:2;left:20px;right:20px;bottom:17px;display:flex;align-items:center;gap:10px}.pack-card-foot .progress-track{height:5px;background:#eef1ed}.pack-card-foot .progress-track span{background:var(--pack-color)}.pack-card-foot small{font-size:10px;color:var(--muted)}
.empty-state { padding: 42px 20px; border: 1.5px dashed #d4dbd1; border-radius: var(--radius-lg); text-align: center; background: rgba(255,255,255,.45); }
.empty-illustration{height:78px;display:flex;justify-content:center;align-items:center;gap:7px}.empty-illustration span{display:grid;place-items:center;width:53px;height:65px;border-radius:10px;color:var(--green-dark);background:#fff;border:1px solid var(--line);font-family:Georgia,serif;font-size:23px;box-shadow:0 8px 20px rgba(40,67,56,.08);transform:rotate(-7deg)}.empty-illustration span:nth-child(2){color:#9b6527;background:#fff6e4;transform:rotate(6deg)}.empty-illustration i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#fff;background:var(--green);font-style:normal;font-weight:800}
.empty-state h3{margin:15px 0 8px;font-size:19px}.empty-state p{margin:0;color:var(--muted);font-size:13px}.empty-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}
.stat-strip { display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;border:1px solid var(--line);border-radius:20px;background:#fff; }
.stat-strip > div{display:flex;align-items:center;justify-content:center;gap:13px;min-height:90px}.stat-strip > div+div{border-left:1px solid var(--line)}.stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;font-weight:850}.stat-icon.green{color:var(--green);background:var(--green-soft)}.stat-icon.amber{color:#ae701b;background:var(--amber-soft)}.stat-icon.blue{color:var(--blue);background:var(--blue-soft)}
.stat-strip p{margin:0;color:var(--muted);font-size:11px}.stat-strip strong{margin:0 4px;color:var(--ink);font-size:23px}.stat-strip small{font-size:10px}

.page-intro{display:flex;align-items:end;justify-content:space-between;margin:7px 0 30px}.page-intro h2{font-size:28px}.page-intro p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.wordbook-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:#fff}.search-box{display:flex;align-items:center;gap:9px;min-width:250px}.search-box svg{color:#8c9692}.search-box input{width:100%;border:0;outline:0;background:transparent;font-size:13px}.filter-chips{display:flex;gap:5px;overflow:auto}.filter-chips button{white-space:nowrap;padding:8px 12px;border-radius:10px;color:var(--muted);background:transparent;font-size:11px;font-weight:750}.filter-chips button.is-active{color:var(--green-dark);background:var(--green-soft)}
.word-list-head{display:grid;grid-template-columns:1fr 140px;padding:22px 22px 9px;color:#9aa39f;font-size:10px;font-weight:800;letter-spacing:.08em}.word-list{display:grid;gap:9px}.word-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;padding:16px 20px;border:1px solid var(--line);border-radius:16px;background:#fff}.word-main{display:flex;align-items:center;gap:15px;min-width:0}.sound-button{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;color:var(--green);background:var(--green-soft)}.sound-button svg{width:18px;height:18px}.word-text{min-width:0}.word-text strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.word-text span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.word-progress{display:flex;align-items:center;gap:10px}.word-progress .progress-track{height:6px;background:#edf0ec}.word-progress .progress-track span{background:var(--green)}.word-progress small{width:34px;text-align:right;color:var(--muted);font-size:10px}.status-dot{display:inline-flex;align-items:center;gap:5px;margin-left:8px;font-size:9px;color:var(--amber)}.status-dot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.simple-empty{display:none;padding:70px 20px;text-align:center;color:var(--muted)}.simple-empty span{font-size:50px}.simple-empty h3{margin:16px 0 7px;color:var(--ink)}.simple-empty p{margin:0;font-size:13px}.simple-empty.is-visible{display:block}

.report-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.report-cards article{position:relative;padding:20px;border:1px solid var(--line);border-radius:19px;background:#fff}.report-mark{position:absolute;right:17px;top:17px;display:grid;place-items:center;width:32px;height:32px;border-radius:11px;font-weight:850}.report-mark.green{color:var(--green);background:var(--green-soft)}.report-mark.amber{color:#a76d1b;background:var(--amber-soft)}.report-mark.blue{color:var(--blue);background:var(--blue-soft)}.report-mark.purple{color:var(--purple);background:#eee9fb}.report-cards p{margin:0 0 18px;color:var(--muted);font-size:11px}.report-cards strong{font-size:29px}.report-cards small{margin-left:5px;color:var(--muted);font-size:10px}
.growth-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:15px;margin-top:15px}.panel{border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;box-shadow:0 8px 25px rgba(45,67,59,.035)}.weekly-panel,.ability-panel,.needs-panel{padding:22px}.panel-head{display:flex;align-items:start;justify-content:space-between}.panel-head h3{margin:5px 0 0;font-size:17px}.panel-head>strong{color:var(--green);font-size:12px}.bar-chart{height:180px;display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:25px;padding-top:15px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent,transparent 44px,#f2f4f1 45px)}.chart-day{height:100%;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:8px}.chart-day i{display:block;width:min(32px,70%);min-height:4px;border-radius:8px 8px 2px 2px;background:var(--green-soft);transition:height .5s ease}.chart-day.today i{background:var(--green)}.chart-day small{margin-bottom:-20px;color:var(--muted);font-size:9px}
.ability-panel>div+div{margin-top:20px}.ability-row{display:grid;grid-template-columns:56px 1fr 32px;align-items:center;gap:10px;margin:15px 0}.ability-row span{font-size:11px;font-weight:750}.ability-row .progress-track{height:7px;background:#edf0ed}.ability-row .progress-track i{display:block;height:100%;border-radius:99px;background:var(--ability-color)}.ability-row small{color:var(--muted);font-size:10px;text-align:right}.panel-note{margin:20px 0 0;padding:12px;border-radius:12px;color:var(--muted);background:#f6f8f4;font-size:10px;line-height:1.6}.needs-panel{margin-top:15px}.weak-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.weak-chip{padding:9px 12px;border-radius:11px;background:var(--amber-soft);color:#865918;font-family:Georgia,serif;font-size:14px}.no-weak{margin:22px 0 5px;color:var(--muted);font-size:12px}

.parent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.parent-profile,.import-panel{display:flex;align-items:center;gap:15px;padding:20px}.profile-avatar{position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;color:#fff;background:linear-gradient(145deg,#f3b64d,#e58b3f);font-size:20px;font-weight:850}.profile-avatar span{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:21px;height:21px;border:3px solid #fff;border-radius:50%;background:var(--green);font-size:9px}.parent-profile h3,.import-panel h3{margin:0 0 6px;font-size:16px}.parent-profile p,.import-panel p{margin:0;color:var(--muted);font-size:11px}.parent-profile .icon-button{margin-left:auto}.icon-button{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:var(--muted);background:#f4f6f2}.import-panel{background:linear-gradient(135deg,#eff9f3,#fff)}.import-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;color:var(--green);background:#fff;box-shadow:0 8px 20px rgba(29,117,84,.1)}.import-panel .primary-button{margin-left:auto}
.settings-panel,.privacy-panel{padding:22px}.settings-panel>label{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line)}.settings-panel>label:first-of-type{margin-top:14px}.settings-panel label span{font-size:13px;font-weight:700}.settings-panel label small{display:block;margin-top:4px;color:var(--muted);font-size:9px;font-weight:500}.settings-panel select{min-width:110px;padding:9px 30px 9px 12px;border:1px solid var(--line);border-radius:11px;background:#f8faf7}.switch-row input{display:none}.switch-row i{position:relative;width:42px;height:24px;border-radius:99px;background:var(--green)}.switch-row i::after{content:"";position:absolute;right:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.15)}
.privacy-item{display:flex;gap:12px;padding:17px 0;border-top:1px solid var(--line)}.privacy-item:first-of-type{margin-top:14px}.privacy-item>span{font-size:20px}.privacy-item strong{font-size:12px}.privacy-item p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.privacy-panel .danger-button{min-height:38px;margin-top:10px;padding:0 14px;color:var(--danger);border:1px solid #f1d1cf;background:#fff5f4;box-shadow:none}
.mobile-nav{display:none}

.import-workspace,.study-workspace{position:fixed;z-index:100;inset:0;overflow:auto;background:#f7f8f3}.workspace-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.88);backdrop-filter:blur(15px)}.back-button,.close-button{display:flex;align-items:center;gap:6px;padding:9px;color:var(--muted);background:transparent;font-size:12px;font-weight:750}.close-button{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#f2f4f0}.workspace-title{display:flex;align-items:center;gap:9px}.workspace-title strong{font-size:15px}.workspace-title small{padding-left:9px;border-left:1px solid var(--line);color:var(--muted);font-size:10px}.brand-dot{width:12px;height:12px;border-radius:4px 9px 4px 9px;background:var(--green);transform:rotate(20deg)}
.stepper{height:86px;display:flex;align-items:center;justify-content:center}.stepper>i{width:100px;height:1px;margin:0 15px;background:#dce2da}.step{display:flex;align-items:center;gap:8px;color:#a2aaa6}.step span{display:grid;place-items:center;width:27px;height:27px;border:1px solid #cfd6cd;border-radius:50%;font-size:10px;font-weight:850}.step p{font-size:11px;font-weight:750}.step.is-active{color:var(--green)}.step.is-active span,.step.is-done span{color:#fff;border-color:var(--green);background:var(--green)}.step.is-done{color:var(--ink)}
.import-step{display:none;min-height:calc(100vh - 160px)}.import-step.is-active{display:block}.upload-layout{display:grid;grid-template-columns:minmax(0,780px) 260px;gap:22px;max-width:1080px;margin:0 auto;padding:10px 24px 120px}.drop-zone{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px;border:1.5px dashed #bdcabf;border-radius:26px;background:#fff;text-align:center;transition:160ms ease}.drop-zone.is-dragging{border-color:var(--green);background:#f0f9f4;transform:scale(1.005)}.drop-zone input{position:absolute;width:1px;height:1px;opacity:0}.drop-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:23px;color:var(--green);background:var(--green-soft);box-shadow:0 11px 25px rgba(28,115,83,.1)}.drop-icon svg{width:30px;height:30px}.drop-zone h2{margin:21px 0 9px;font-size:22px}.drop-zone p{max-width:460px;margin:0;color:var(--muted);font-size:12px;line-height:1.65}.fake-button{margin-top:23px}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.preview-card{position:relative;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.preview-card img{width:100%;height:100%;object-fit:cover}.preview-card button{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#fff;background:rgba(24,35,31,.7)}.preview-card button svg{width:14px;height:14px}.preview-card span{position:absolute;left:7px;bottom:7px;padding:4px 7px;border-radius:6px;color:#fff;background:rgba(24,35,31,.7);font-size:9px}
.manual-box{margin-top:12px;border:1px solid var(--line);border-radius:15px;background:#fff}.manual-toggle{width:100%;height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:var(--muted);background:transparent;font-size:11px;font-weight:700}.manual-toggle svg{width:15px;height:15px}.manual-content{padding:0 14px 14px}.manual-content textarea{width:100%;resize:vertical;padding:13px;border:1px solid var(--line);border-radius:11px;outline:0;font-size:13px;line-height:1.6}
.photo-tips{align-self:start;padding:25px 22px;border:1px solid var(--line);border-radius:22px;background:#fff}.photo-tips h3{margin:6px 0 20px;font-size:16px}.photo-tips ul{margin:0;padding:0;list-style:none}.photo-tips li{display:flex;gap:11px;margin:17px 0}.photo-tips li>span{display:grid;place-items:center;flex:0 0 auto;width:23px;height:23px;border-radius:8px;color:var(--green);background:var(--green-soft);font-size:9px;font-weight:850}.photo-tips p{margin:1px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.photo-tips p strong{display:block;color:var(--ink);font-size:11px}.privacy-tip{margin-top:22px;padding:11px;border-radius:11px;color:var(--green-dark);background:#eff8f3;font-size:9px;text-align:center}.workspace-footer{position:fixed;z-index:4;left:0;right:0;bottom:0;min-height:82px;display:flex;align-items:center;justify-content:space-between;padding:14px max(32px,calc((100vw - 1080px)/2 + 24px));border-top:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(14px)}.workspace-footer>span{color:var(--muted);font-size:11px}

.recognize-card{max-width:640px;margin:45px auto 130px;padding:40px;text-align:center}.scanner-visual{position:relative;width:190px;height:150px;margin:0 auto 30px;border-radius:24px;background:var(--green-soft);overflow:hidden}.paper-lines{position:absolute;inset:25px 35px;border-radius:10px;background:#fff;box-shadow:0 10px 25px rgba(39,70,57,.12);padding:17px 14px}.paper-lines i{display:block;height:4px;margin:7px 0;border-radius:5px;background:#dfe6df}.paper-lines i:nth-child(even){width:72%}.scan-line{position:absolute;left:23px;right:23px;top:28px;height:2px;background:var(--green);box-shadow:0 0 12px var(--green);animation:scan 2s infinite ease-in-out}@keyframes scan{50%{transform:translateY(95px)}}.scanner-visual>b,.scanner-visual>em{position:absolute;font-family:Georgia,serif;font-size:18px}.scanner-visual>b{left:18px;bottom:16px;color:var(--green);transform:rotate(-8deg)}.scanner-visual>em{right:16px;top:13px;color:#b37720;transform:rotate(8deg)}.recognize-card h2{margin:10px 0;font-size:24px}.recognize-card>p{margin:0;color:var(--muted);font-size:12px}.recognize-progress{height:8px;overflow:hidden;margin:28px auto 10px;border-radius:99px;background:#e5eae3}.recognize-progress span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green),#61b990);transition:width .25s}.recognize-card>strong{color:var(--green);font-size:12px}.recognize-card .ghost-button{display:flex;margin:22px auto 0;min-height:39px}

.review-layout{display:grid;grid-template-columns:minmax(300px,39%) 1fr;gap:20px;max-width:1280px;margin:0 auto;padding:8px 25px 125px}.source-panel,.review-panel{border:1px solid var(--line);border-radius:22px;background:#fff}.source-panel{align-self:start;position:sticky;top:14px;padding:18px}.source-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.source-head h3{margin:4px 0 0;font-size:15px}.source-head>span{color:var(--muted);font-size:10px}.source-image-wrap{position:relative;height:520px;display:grid;place-items:center;overflow:auto;border-radius:14px;background:#eef0eb}.source-image-wrap img{max-width:100%;max-height:100%;object-fit:contain}.source-placeholder{color:var(--muted);font-size:12px}.source-thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto}.source-thumb{flex:0 0 auto;width:58px;height:45px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#edf0ec}.source-thumb.is-active{border-color:var(--green)}.source-thumb img{width:100%;height:100%;object-fit:cover}.review-panel{padding:24px}.review-head{display:flex;align-items:end;justify-content:space-between}.review-head h2{margin:5px 0;font-size:22px}.review-head p{margin:0;color:var(--muted);font-size:10px}.review-columns,.candidate-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1.15fr) 85px 36px;gap:9px;align-items:center}.review-columns{margin-top:24px;padding:0 11px 8px;color:#99a29e;font-size:9px;font-weight:800;letter-spacing:.06em}.candidate-list{display:grid;gap:7px}.candidate-row{position:relative;padding:9px;border:1px solid var(--line);border-radius:13px;background:#fbfcfa}.candidate-row.is-low{border-color:#f0d596;background:#fffaf0}.candidate-row.is-low::before{content:"请确认";position:absolute;right:49px;top:-8px;padding:2px 6px;border-radius:5px;color:#8b601d;background:#f8dd9e;font-size:7px;font-weight:850}.candidate-row input,.candidate-row select{min-width:0;width:100%;height:38px;padding:0 10px;border:1px solid #e1e6df;border-radius:9px;background:#fff;font-size:12px;outline:0}.candidate-row input:first-child{font-family:Georgia,"Times New Roman",serif;font-size:15px}.delete-candidate{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;color:#a8afac;background:transparent}.delete-candidate:hover{color:var(--danger);background:#fff0ef}.delete-candidate svg{width:16px;height:16px}.add-row-button{width:100%;height:43px;margin-top:10px;border:1px dashed #cbd4ca;border-radius:12px;color:var(--green);background:#f9fbf8;font-size:10px;font-weight:800}.add-row-button svg{width:14px;height:14px;vertical-align:-3px}.review-footer{gap:20px}.pack-name-field{display:flex;align-items:center;gap:11px}.pack-name-field span{font-size:11px;font-weight:750}.pack-name-field input{width:250px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#fafbf9;outline:0}.review-footer>div{display:flex;gap:9px}

.study-workspace{background:linear-gradient(155deg,#f2f8f3,#fbf8ef)}.study-header{height:74px;display:grid;grid-template-columns:100px minmax(200px,560px) 100px;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid rgba(213,222,214,.75);background:rgba(255,255,255,.72);backdrop-filter:blur(14px)}.study-progress{display:flex;align-items:center;gap:13px}.study-progress>span{width:44px;color:var(--muted);font-size:10px;font-weight:750;text-align:right}.study-progress>div{height:7px;flex:1;overflow:hidden;border-radius:99px;background:#e3e8e1}.study-progress i{display:block;width:0;height:100%;border-radius:inherit;background:var(--green);transition:width .3s}.study-score{display:flex;justify-content:end;align-items:center;gap:6px;color:#ad741e}.study-score svg{color:var(--amber);fill:var(--amber-soft)}.study-score b{font-size:14px}.study-main{min-height:calc(100vh - 74px);display:flex;align-items:center;justify-content:center;padding:30px}
.learn-card,.quiz-card,.result-card{width:min(620px,100%);padding:38px;border:1px solid rgba(221,228,219,.9);border-radius:30px;background:#fff;box-shadow:0 26px 70px rgba(39,69,56,.1);text-align:center}.learn-label{display:inline-flex;padding:6px 10px;border-radius:99px;color:var(--green);background:var(--green-soft);font-size:9px;font-weight:850;letter-spacing:.12em}.learn-word{margin:28px 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,8vw,70px);font-weight:500;line-height:1.05}.learn-meaning{margin:0;color:var(--ink);font-size:21px;font-weight:750}.learn-type{margin:8px 0 0;color:var(--muted);font-size:10px}.big-sound{display:grid;place-items:center;width:54px;height:54px;margin:24px auto;border-radius:50%;color:#fff;background:var(--green);box-shadow:0 10px 25px rgba(27,117,84,.23)}.big-sound:hover{transform:scale(1.04)}.learn-tip{margin:22px 0;padding:14px;border-radius:13px;color:var(--muted);background:#f6f8f4;font-size:11px}.card-action-row{display:flex;gap:10px}.card-action-row button{flex:1}.quiz-kicker{margin:0;color:var(--green);font-size:10px;font-weight:850;letter-spacing:.12em}.quiz-prompt{margin:16px 0 26px;font-size:18px}.quiz-word{display:block;margin-top:12px;font-family:Georgia,"Times New Roman",serif;font-size:44px;font-weight:500}.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.choice-button{min-height:66px;padding:12px;border:1.5px solid var(--line);border-radius:15px;background:#fff;font-weight:700;transition:140ms}.choice-button:hover{border-color:#9bc9b4;background:#f3faf6}.choice-button.is-correct{color:var(--green-dark);border-color:var(--green);background:var(--green-soft)}.choice-button.is-wrong{color:#a53d39;border-color:#da817c;background:#fff0ef}.choice-button:disabled{opacity:1}.spelling-box{display:flex;align-items:center;gap:10px}.spelling-box input{height:58px;flex:1;padding:0 18px;border:2px solid var(--line);border-radius:15px;outline:0;font-family:Georgia,"Times New Roman",serif;font-size:24px;text-align:center}.spelling-box input.is-wrong{border-color:#da817c;background:#fff7f6}.feedback-box{min-height:45px;margin-top:16px;color:var(--muted);font-size:12px}.feedback-box strong{color:var(--green)}.feedback-box.wrong strong{color:var(--danger)}.next-question{width:100%;margin-top:8px}.result-plant{font-size:66px}.result-card h2{margin:13px 0 8px;font-size:28px}.result-card>p{margin:0;color:var(--muted);font-size:13px}.result-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:28px 0}.result-summary div{padding:15px 8px;border-radius:13px;background:#f5f8f4}.result-summary strong{display:block;font-size:22px}.result-summary small{color:var(--muted);font-size:9px}.result-actions{display:flex;gap:10px}.result-actions button{flex:1}

.toast-region{position:fixed;z-index:300;right:24px;bottom:24px;display:grid;gap:8px}.toast{min-width:230px;max-width:340px;padding:13px 16px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow);font-size:11px;font-weight:650;animation:toast-in .2s ease}.toast.is-error{color:var(--danger);border-color:#efd0cd;background:#fff8f7}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}}
.confirm-dialog{width:min(420px,calc(100% - 30px));padding:0;border:0;border-radius:23px;box-shadow:0 30px 80px rgba(29,43,38,.22)}.confirm-dialog::backdrop{background:rgba(24,36,32,.38);backdrop-filter:blur(3px)}.confirm-dialog form{padding:28px;text-align:center}.dialog-icon{display:grid;place-items:center;width:46px;height:46px;margin:0 auto;border-radius:50%;color:var(--danger);background:#fff0ef;font-size:20px;font-weight:850}.confirm-dialog h3{margin:15px 0 8px}.confirm-dialog p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.confirm-dialog form>div{display:flex;gap:9px;margin-top:22px}.confirm-dialog form button{flex:1}.sync-dialog form>label{display:block;margin-top:14px;color:var(--muted);font-size:10px;font-weight:800;text-align:left}.sync-dialog form>label input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fafbf9;font-size:15px;letter-spacing:1px}.sync-dialog form>div{flex-wrap:wrap}.sync-dialog form>div button{min-width:90px}

@media (max-width: 1050px) {
  .sidebar{width:190px;padding-left:17px;padding-right:17px}.main-content{margin-left:190px;padding-left:25px;padding-right:25px}.hero-card{grid-template-columns:1fr 240px}.hero-copy{padding-left:30px}.streak-card{display:none}.today-grid{grid-template-columns:1fr}.pack-grid{grid-template-columns:repeat(2,1fr)}.report-cards{grid-template-columns:repeat(2,1fr)}.review-layout{grid-template-columns:36% 1fr}.review-columns,.candidate-row{grid-template-columns:1fr 1fr 72px 34px}
}

@media (max-width: 767px) {
  :root{--radius-lg:22px}.sidebar{display:none}.main-content{margin-left:0;padding:0 15px calc(100px + env(safe-area-inset-bottom))}.topbar{height:82px}.eyebrow{font-size:10px;margin-bottom:4px}.topbar h1{font-size:19px}.import-shortcut{width:42px;height:42px;padding:0;justify-content:center}.import-shortcut span{display:none}.avatar-button{width:42px;height:42px}.mobile-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;height:70px;padding:7px 10px calc(6px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);align-items:end;border-top:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8d9793;background:transparent;font-size:8px;font-weight:750}.mobile-nav button svg{width:20px;height:20px}.mobile-nav button.is-active{color:var(--green)}.mobile-nav .mobile-camera{align-self:start;width:54px;height:54px;margin:-21px auto 0;border:5px solid var(--paper);border-radius:50%;color:#fff;background:var(--green);box-shadow:0 7px 18px rgba(26,110,80,.27)}.mobile-camera svg{width:24px!important;height:24px!important}.hero-card{min-height:385px;display:block}.hero-copy{padding:26px 23px}.hero-copy h2{font-size:27px;max-width:86%}.hero-copy>p{font-size:11px;max-width:80%}.hero-progress-row{max-width:70%}.hero-actions{align-items:flex-start;flex-direction:column;gap:5px}.hero-card .primary-button{min-height:43px}.hero-garden{position:absolute;right:-25px;bottom:-8px;width:210px;height:235px;min-height:0;transform:scale(.78);transform-origin:right bottom}.section-heading{margin-top:28px}.section-heading .secondary-button{width:40px;padding:0;font-size:0}.section-heading .secondary-button svg{margin:0}.pack-grid{grid-template-columns:1fr}.pack-card{min-height:145px}.stat-strip{grid-template-columns:1fr;margin-top:14px}.stat-strip>div{justify-content:flex-start;padding-left:24px;min-height:68px}.stat-strip>div+div{border-left:0;border-top:1px solid var(--line)}.empty-state{padding:35px 15px}.empty-actions{flex-direction:column;align-items:stretch;max-width:240px;margin-left:auto;margin-right:auto}.page-intro{margin:5px 0 20px}.page-intro h2{font-size:23px}.page-intro .primary-button{width:42px;padding:0;font-size:0}.wordbook-toolbar{display:block;padding:12px}.search-box{min-width:0;height:38px}.filter-chips{margin-top:8px}.word-list-head{grid-template-columns:1fr 80px;padding-left:12px}.word-row{grid-template-columns:minmax(0,1fr) 80px;padding:13px 12px}.word-main{gap:9px}.sound-button{width:34px;height:34px}.word-text strong{font-size:17px}.word-text span{font-size:10px}.report-cards{grid-template-columns:repeat(2,1fr);gap:8px}.report-cards article{padding:15px}.report-cards strong{font-size:24px}.report-mark{right:11px;top:11px;width:28px;height:28px}.growth-grid{grid-template-columns:1fr}.parent-grid{grid-template-columns:1fr}.import-panel{align-items:flex-start;flex-wrap:wrap}.import-panel .primary-button{margin-left:69px}.workspace-header{height:62px;padding:0 12px}.workspace-title small{display:none}.back-button span{display:none}.stepper{height:70px}.stepper>i{width:26px;margin:0 6px}.step p{display:none}.upload-layout{display:block;padding:4px 14px 115px}.drop-zone{min-height:310px;padding:25px 18px}.photo-tips{margin-top:12px}.preview-grid{grid-template-columns:repeat(2,1fr)}.workspace-footer{min-height:78px;padding:11px 14px calc(11px + env(safe-area-inset-bottom))}.workspace-footer>span{max-width:45%}.recognize-card{margin:15px auto 100px;padding:25px 20px}.review-layout{display:block;padding:0 10px 150px}.source-panel{position:static;padding:10px;margin-bottom:10px}.source-head{margin-bottom:8px}.source-image-wrap{height:210px}.review-panel{padding:15px 10px}.review-head{align-items:start}.review-head h2{font-size:19px}.review-head .secondary-button{width:38px;padding:0;font-size:0}.review-columns{display:none}.candidate-row{grid-template-columns:1fr 38px;padding:8px}.candidate-row input:nth-child(2){grid-column:1/2}.candidate-row select{grid-column:1/2}.candidate-row .delete-candidate{grid-column:2;grid-row:1}.candidate-row.is-low::before{right:48px}.review-footer{align-items:stretch;flex-direction:column;padding-top:10px}.pack-name-field{width:100%}.pack-name-field input{flex:1;min-width:0}.review-footer>div{width:100%}.review-footer>div button{flex:1}.study-header{grid-template-columns:60px 1fr 50px;padding:0 12px}.study-header .back-button span{display:none}.study-main{padding:15px}.learn-card,.quiz-card,.result-card{padding:28px 18px;border-radius:24px}.learn-word{font-size:48px}.choice-grid{grid-template-columns:1fr}.choice-button{min-height:56px}.spelling-box{align-items:stretch;flex-direction:column}.result-summary{gap:5px}.result-actions{flex-direction:column}.toast-region{left:14px;right:14px;bottom:84px}.toast{max-width:none}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Multi-source import */
.import-source-heading{margin:4px 0 16px}.import-source-heading h2{margin:5px 0 4px;font-size:22px}.import-source-heading p{margin:0;color:var(--muted);font-size:11px}.document-zone{display:flex;align-items:center;gap:13px;min-height:82px;margin-top:13px;padding:15px 17px;border:1px solid var(--line);border-radius:16px;background:#fff;cursor:pointer;transition:160ms ease}.document-zone:hover{border-color:#9bc9b4;background:#fbfefc}.document-zone input{position:absolute;width:1px;height:1px;opacity:0}.document-icon{display:grid;place-items:center;width:45px;height:45px;flex:0 0 auto;border-radius:13px;background:#edf5ff;font-size:23px}.document-zone>span:nth-of-type(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.document-zone strong{font-size:12px}.document-zone small{color:var(--muted);font-size:9px}.document-zone b{padding:8px 11px;border-radius:9px;color:var(--green);background:var(--green-soft);font-size:9px}.document-list{display:grid;gap:7px;margin-top:8px}.document-item{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:#fff}.document-item>span{width:42px;padding:5px 2px;border-radius:7px;color:#476b8b;background:#edf5ff;font-size:8px;font-weight:900;text-align:center}.document-item>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.document-item strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.document-item small{color:var(--muted);font-size:8px}.document-item button{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#8d9793;background:transparent}.document-item button:hover{color:var(--danger);background:#fff0ef}.document-item svg{width:14px;height:14px}.manual-content small{display:block;margin:7px 2px 0;color:var(--muted);font-size:9px}.source-image-wrap pre{width:100%;height:100%;margin:0;padding:16px;overflow:auto;color:#38423e;background:#f7f9f6;font:11px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;word-break:break-word}.source-file-thumb{display:grid;place-items:center;color:#476b8b;background:#edf5ff;font-size:8px;font-weight:900}

/* Complete P0 practice */
.quiz-meaning{font-family:inherit!important;font-size:25px!important;font-weight:750!important}.letter-answer{min-height:65px;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px;border:2px solid #dfe6dd;border-radius:15px;background:#f8faf7;transition:160ms}.letter-answer.is-wrong{border-color:#da817c;background:#fff7f6}.letter-answer>span{color:var(--muted);font-size:11px}.letter-answer b{display:grid;place-items:center;min-width:30px;height:39px;padding:0 7px;border-radius:8px;color:var(--green-dark);background:#fff;box-shadow:0 2px 8px rgba(38,75,59,.09);font:700 20px Georgia,"Times New Roman",serif}.letter-answer b.is-space{min-width:43px;font:750 8px system-ui,sans-serif}.letter-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:17px 0}.letter-tile{min-width:39px;height:43px;padding:0 10px;border:1.5px solid #cfd9ce;border-radius:10px;color:var(--ink);background:#fff;font:700 20px Georgia,"Times New Roman",serif;box-shadow:0 4px 10px rgba(39,69,56,.06)}.letter-tile:hover:not(:disabled){border-color:var(--green);transform:translateY(-2px)}.letter-tile:disabled{opacity:.25;box-shadow:none}.letter-tools{display:grid;grid-template-columns:1fr 1.5fr;gap:9px}.memory-tip{display:block;margin:8px 0 6px;color:#745839;font-size:10px;line-height:1.6}.feedback-sound{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:8px;color:var(--green);background:var(--green-soft);font-size:9px;font-weight:800}.feedback-sound svg{width:14px;height:14px}.mode-results{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:-14px 0 24px}.mode-result{padding:9px 4px;border:1px solid var(--line);border-radius:10px;color:#a0a7a4;background:#fafbfa}.mode-result.is-practiced{color:var(--ink);border-color:#cfe3d7;background:#f2f9f5}.mode-result span,.mode-result strong{display:block}.mode-result span{font-size:8px}.mode-result strong{margin-top:4px;font-size:11px}

@media (max-width:767px){.import-source-heading h2{font-size:19px}.document-zone{align-items:flex-start}.document-zone b{display:none}.letter-answer{align-content:center;flex-wrap:wrap}.letter-answer b{min-width:26px;height:34px;font-size:17px}.letter-tile{min-width:35px;height:39px;font-size:18px}.mode-results{grid-template-columns:repeat(2,1fr)}.mode-result:last-child{grid-column:1/-1}.source-image-wrap pre{padding:11px;font-size:9px}}

.pack-name-field span b{color:var(--danger)}
.context-content{margin:16px 0;padding:14px;border-radius:14px;text-align:left;background:#f5f8f4}
.context-content p{margin:5px 0;font-size:12px;line-height:1.65}.context-content small{color:var(--muted)}
.pronunciation-panel{margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfcfa}
.pronunciation-panel p{margin:8px 0;color:var(--muted);font-size:11px}.pronunciation-panel button{margin:0 auto}
.pronunciation-result{display:block;margin-top:8px;font-size:11px;font-weight:750}
.pronunciation-result audio{display:block;width:min(100%,320px);height:38px;margin:9px auto 0}
.application-card{max-width:720px}.application-instruction{display:block;margin-top:12px;color:var(--muted);font-family:inherit;font-size:15px;font-weight:650;line-height:1.7}.application-scene{display:flex;align-items:flex-start;gap:12px;margin:18px 0;padding:15px;border:1px solid #dbe9df;border-radius:14px;background:#f4faf6;text-align:left}.application-scene>span{font-size:25px}.application-scene p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.application-input{display:grid;gap:10px}.application-input textarea{width:100%;padding:14px;border:2px solid var(--line);border-radius:13px;font:inherit;line-height:1.6;resize:vertical}.application-input textarea:focus{border-color:var(--green);outline:none}.context-mission{border-style:dashed}.application-card>.text-button{margin:10px auto 0}@media(max-width:600px){.application-card{padding:22px 16px}.application-instruction{font-size:13px}.application-input textarea{font-size:16px}}
.active-pack{box-shadow:0 0 0 2px var(--pack-color),var(--shadow)}
.current-pack-label{margin-left:6px;color:var(--green);font-weight:800}
@media (max-width:767px){.mobile-nav{grid-template-columns:repeat(4,1fr)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8d9793;font-size:8px;font-weight:750}.mobile-nav a svg{width:20px;height:20px}}
