:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --success: #157f3b;
  --success-soft: #ecfdf3;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --shadow: 0 12px 30px rgba(31, 36, 48, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8f9ff 0%, var(--bg) 40%);
  color: var(--text);
}
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  margin-bottom: 22px;
}

.hero h1, .hero h2 { margin: 0 0 8px; }
.hero p { margin: 0; color: var(--muted); line-height: 1.6; }

.progress-wrap { margin-top: 20px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress-bar {
  height: 10px;
  background: #eceef6;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lesson-card { padding: 20px; }
.lesson-card h3 { margin: 8px 0 8px; }
.lesson-card p { color: var(--muted); line-height: 1.5; min-height: 48px; }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
}
.badge.done {
  background: var(--success-soft);
  color: var(--success);
}

.primary, .secondary, .danger-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
}
.primary { background: var(--accent); color: white; }
.secondary { background: #f3f4f6; color: var(--text); }
.danger-btn { background: var(--danger-soft); color: var(--danger); }
.primary:disabled { opacity: .45; cursor: not-allowed; }

.onboarding {
  min-height: 78vh;
  display: grid;
  place-items: center;
}
.onboarding .card {
  width: min(520px, 100%);
  padding: 32px;
}
.onboarding h1 { margin-top: 0; }
.onboarding p { color: var(--muted); line-height: 1.6; }
.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  margin: 12px 0;
  outline: none;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.lesson { max-width: 760px; margin: 0 auto; }
.lesson .card { padding: 28px; }
.lesson h1 { margin-top: 0; }
.cn {
  background: #fafafa;
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  border-radius: 10px;
  line-height: 1.7;
  margin: 16px 0;
}
.example {
  background: var(--accent-soft);
  padding: 16px;
  border-radius: 14px;
  margin: 18px 0 24px;
}
.question-count { color: var(--muted); font-size: 14px; }
.options { display: grid; gap: 10px; margin: 18px 0; }
.option {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}
.option:hover { border-color: #b8bcef; }
.option.selected { border-color: var(--accent); background: var(--accent-soft); }
.option.correct { border-color: var(--success); background: var(--success-soft); }
.option.wrong { border-color: var(--danger); background: var(--danger-soft); }
.feedback {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  font-weight: 650;
}
.feedback.good { background: var(--success-soft); color: var(--success); }
.feedback.bad { background: var(--danger-soft); color: var(--danger); }
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

.score {
  text-align: center;
  padding: 28px 10px;
}
.score strong { font-size: 52px; display: block; margin-bottom: 4px; }
.muted { color: var(--muted); }

@media (max-width: 760px) {
  .app-shell { width: min(100% - 20px, 960px); padding-top: 18px; }
  .grid { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; }
  .hero { padding: 22px; }
  .lesson .card { padding: 20px; }
}

/* Version 0.2 additions */
.version-badge {
  display: inline-block;
  margin: 18px 0 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.hero-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 2px 12px;
}
.section-heading h2 { margin: 0 0 4px; }
.section-heading p { margin: 0; color: var(--muted); }
.lessons-heading { margin-top: 34px; }
.mastery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mastery-card { padding: 18px; }
.mastery-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.mastery-card h3 { margin: 0 0 4px; font-size: 16px; }
.mastery-card p { color: var(--muted); line-height: 1.45; font-size: 14px; }
.mastery-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  background: #f3f4f6;
  color: var(--muted);
}
.mastery-status.weak { background: var(--danger-soft); color: var(--danger); }
.mastery-status.developing { background: #fff7ed; color: #b45309; }
.mastery-status.strong { background: var(--success-soft); color: var(--success); }
.mastery-number { font-size: 30px; font-weight: 800; margin-top: 14px; }
.mini-progress {
  height: 7px;
  background: #eceef6;
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 4px;
}
.mini-progress-fill { height: 100%; background: #c4c7d4; border-radius: inherit; }
.mini-progress-fill.weak { background: #d92d20; }
.mini-progress-fill.developing { background: #f59e0b; }
.mini-progress-fill.strong { background: #16a34a; }
.concept-note { color: var(--muted); font-size: 12px; display: block; margin-top: 4px; }
.lesson-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.mastery-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 8px;
}
.concept-list { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 16px; }
.concept-list span, .question-concepts span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 11px;
  color: var(--muted);
  background: #fafafa;
}
.question-concepts { color: var(--muted); font-size: 12px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; }
.feedback-why { font-weight: 500; }
.feedback-mastery { margin-top: 8px; font-size: 12px; opacity: .85; }
.completion-mastery { margin: 14px auto 8px; background: var(--accent-soft); border-radius: 12px; padding: 12px; width: fit-content; }
.loading, .error-card { width: min(560px, 100%); padding: 28px; }
.error-card code { background: #f3f4f6; padding: 2px 5px; border-radius: 5px; }

@media (max-width: 760px) {
  .hero-copy { align-items: stretch; flex-direction: column; }
  .hero-copy .primary { width: 100%; }
  .mastery-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

/* Version 0.3 additions */
.dashboard-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:20px 0 8px; }
.action-card { padding:20px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.action-card h3 { margin:4px 0 6px; }
.action-card p { margin:0; color:var(--muted); line-height:1.45; }
.eyebrow { font-size:11px; font-weight:800; letter-spacing:.08em; color:var(--accent); }
.diagnostic-intro { max-width:620px; }
.clean-list { color:var(--muted); line-height:1.8; padding-left:22px; }
.diagnostic-progress { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.result-columns { display:grid; grid-template-columns:1fr 1fr; gap:16px; text-align:left; margin:24px 0; }
.result-columns > div { border:1px solid var(--line); border-radius:14px; padding:16px; }
.result-columns h3 { margin-top:0; }
.result-chip { display:inline-block; border-radius:999px; padding:6px 9px; margin:3px; font-size:12px; font-weight:700; }
.result-chip.strong { background:var(--success-soft); color:var(--success); }
.result-chip.weak { background:var(--danger-soft); color:var(--danger); }
.small { font-size:13px; }
@media (max-width:760px){ .dashboard-actions,.result-columns{grid-template-columns:1fr}.action-card{align-items:flex-start;flex-direction:column}.action-card button{width:100%} }

/* Version 0.4 additions */
.topbar-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.ai-status { font-size:11px; font-weight:800; border-radius:999px; padding:6px 9px; border:1px solid var(--line); background:#fff; color:var(--muted); }
.ai-status.live { color:#166534; background:#f0fdf4; border-color:#bbf7d0; }
.ai-status.demo { color:#92400e; background:#fffbeb; border-color:#fde68a; }
.dashboard-actions.three-up { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ai-card { background:linear-gradient(180deg,#fff 0%,#faf7ff 100%); }
.small-button { width:auto; padding:8px 11px; font-size:12px; margin-top:10px; }
.feedback-actions { margin-top:10px; }
.feedback-cn { margin-top:8px; }
.ai-explanation { margin-top:14px; border:1px solid #ddd6fe; background:#faf5ff; border-radius:14px; padding:16px; line-height:1.55; }
.ai-explanation h3 { margin:10px 0 8px; }
.ai-explanation p { margin:8px 0; }
.ai-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ai-examples { margin:12px 0; padding:12px; border-radius:10px; background:#fff; border:1px solid #ede9fe; }
.ai-loading { margin-top:14px; border:1px dashed #c4b5fd; background:#faf5ff; border-radius:12px; padding:14px; color:var(--muted); }
@media (max-width:980px){ .dashboard-actions.three-up{grid-template-columns:1fr} }
@media (max-width:760px){ .topbar-actions{align-items:flex-end;flex-direction:column}.ai-heading{align-items:flex-start;flex-direction:column} }

/* Version 0.5 additions */
.dashboard-actions.four-up { grid-template-columns:repeat(2,minmax(0,1fr)); }
.production-card { background:linear-gradient(180deg,#fff 0%,#f0fdfa 100%); }
.error-summary { margin:16px 0 6px; padding:20px; }
.error-summary h3 { margin:4px 0 10px; }
.error-list { display:grid; gap:8px; }
.error-list > div { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fafafa; }
.error-list span { display:flex; flex-direction:column; gap:2px; }
.error-list small { color:var(--muted); }
.error-list b { color:var(--danger); white-space:nowrap; }
.card-mini-actions { display:flex; gap:7px; flex-wrap:wrap; }
.production-prompt { margin:18px 0 12px; border:1px solid #99f6e4; background:#f0fdfa; border-radius:14px; padding:15px; line-height:1.55; }
.production-input { width:100%; min-height:110px; resize:vertical; font:inherit; line-height:1.5; }
.production-result { display:grid; grid-template-columns:auto 1fr; gap:14px; margin-top:18px; border-radius:14px; padding:16px; border:1px solid var(--line); }
.production-result.good-result { background:#f0fdf4; border-color:#bbf7d0; }
.production-result.needs-work { background:#fff7ed; border-color:#fed7aa; }
.result-icon { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-weight:900; background:#fff; border:1px solid var(--line); }
.production-result h3 { margin:0 0 8px; }
.production-result p { margin:8px 0; line-height:1.5; }
.correction { display:flex; flex-direction:column; gap:6px; margin:8px 0 10px; }
.correction span { text-decoration:line-through; color:var(--muted); }
.correction strong { font-size:18px; }
.error-code { display:inline-block; margin-top:10px; padding:5px 8px; border-radius:999px; background:#ffedd5; color:#9a3412; font-size:12px; font-weight:800; }
@media (max-width:760px){ .dashboard-actions.four-up{grid-template-columns:1fr}.production-result{grid-template-columns:1fr}.result-icon{width:30px;height:30px} }

/* Version 0.6 additions */
.speech-card { background:linear-gradient(180deg,#fff 0%,#eff6ff 100%); }
.speech-lab .card { overflow:hidden; }
.speech-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.speech-head h1 { margin:5px 0 6px; }
.speech-mini-score { min-width:92px; border:1px solid #bfdbfe; background:#eff6ff; border-radius:16px; padding:12px; font-size:25px; font-weight:850; text-align:center; }
.speech-mini-score small { display:block; font-size:11px; color:var(--muted); font-weight:700; margin-top:2px; }
.speech-target { margin:22px 0 16px; padding:18px; border:1px solid #bfdbfe; background:#f8fbff; border-radius:16px; }
.target-line { font-size:27px; font-weight:800; line-height:1.3; margin-bottom:10px; }
.speech-target .cn { margin:10px 0 14px; }
.speech-instructions { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:10px 0; }
.speech-status { margin:10px 0; padding:10px 12px; border-radius:10px; background:#f3f4f6; color:var(--muted); text-align:center; }
.speech-actions { justify-content:center; margin:12px 0 20px; }
.speech-actions .primary { min-width:190px; }
.speech-result { display:grid; grid-template-columns:120px 1fr; gap:18px; margin-top:20px; border:1px solid #bfdbfe; border-radius:16px; padding:18px; background:#f8fbff; }
.speech-score { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; background:white; border:1px solid #dbeafe; border-radius:14px; min-height:110px; }
.speech-score strong { font-size:34px; }
.speech-score span { font-size:12px; color:var(--muted); font-weight:800; }
.speech-result p { margin:8px 0; line-height:1.5; }
.pron-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.pron-metrics span { display:flex; flex-direction:column; align-items:center; gap:2px; padding:9px 6px; border:1px solid var(--border); border-radius:10px; background:white; }
.pron-metrics b { font-size:18px; }
.pron-metrics small { color:var(--muted); font-weight:700; font-size:10px; }
.pron-tip { margin-top:12px; padding:13px; border-radius:12px; background:#fff7ed; border:1px solid #fed7aa; line-height:1.5; }
.pron-tip p { margin:5px 0; }
.speech-nav { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
@media (max-width:760px){
  .speech-head,.speech-instructions,.speech-nav{align-items:stretch;flex-direction:column}
  .speech-mini-score{width:100%;}
  .speech-result{grid-template-columns:1fr}
  .pron-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .target-line{font-size:23px}
}

/* Version 0.7 account + cloud-sync additions */
.account-card { max-width: 560px; }
.account-submit { width: 100%; margin-top: 10px; }
.adult-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 2px; color: var(--muted); line-height: 1.45; }
.adult-check input { margin-top: 4px; }
.account-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0 8px; }
.account-divider::before, .account-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.account-email { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.sync-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 800; background: #f3f4f6; color: var(--muted); }
.sync-status.synced { background: var(--success-soft); color: var(--success); }
.sync-status.syncing, .sync-status.pending { background: #fff7ed; color: #b45309; }
.sync-status.error { background: var(--danger-soft); color: var(--danger); }
@media (max-width: 760px) {
  .topbar-actions { width: 100%; justify-content: flex-start; }
  .account-email { max-width: 100%; }
}


/* Version 0.9 public-beta account flows */
.text-button { border:0; background:transparent; color:var(--primary); font:inherit; font-weight:750; cursor:pointer; padding:8px 4px; }
.text-button:hover { text-decoration:underline; }
.account-link { width:100%; text-align:center; margin-top:6px; }
.account-card a { color:var(--primary); }
.legal-page { max-width:820px; margin:42px auto; padding:0 18px 60px; }
.legal-page .card { padding:30px; }
.legal-page h1 { margin-top:10px; }
.legal-page h2 { margin-top:26px; }
.legal-page p, .legal-page li { line-height:1.65; }
.inline-action { display:inline-flex; text-decoration:none; width:auto; }
.settings-rule { border:0; border-top:1px solid var(--line); margin:28px 0; }
.danger-wide { width:100%; margin-top:12px; padding:12px 16px; }

/* v1.2 no-cost beta */
.field-label{display:block;margin:14px 0 6px;font-size:12px;font-weight:800;color:var(--muted)}
.main-nav{display:flex;gap:8px;margin:14px 0 18px;padding:6px;background:#f3f4f6;border-radius:14px;overflow:auto}
.nav-tab{border:0;background:transparent;border-radius:10px;padding:10px 16px;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;min-width:105px;color:var(--muted)}
.nav-tab b{font-size:14px}.nav-tab small{font-size:10px}.nav-tab.active{background:white;color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.daily-plan{padding:22px;margin:18px 0}.daily-plan-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.daily-plan-head h2{margin:4px 0}.daily-plan-head p{margin:0;color:var(--muted)}
.goal-ring{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;border:8px solid #e9d5ff;background:#faf5ff;font-weight:900;color:var(--accent)}
.plan-list{display:grid;gap:8px;margin-top:18px}.plan-row{width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;cursor:pointer}.plan-row:hover{background:#fafafa}.plan-row span:nth-child(2){display:flex;flex-direction:column}.plan-row small{color:var(--muted);margin-top:2px}.plan-number{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f3e8ff;color:#6b21a8;font-weight:900}
.practice-layout,.two-col{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:16px}.practice-main{padding:26px}.practice-type,.vocab-category{font-size:11px;font-weight:900;letter-spacing:.06em;color:var(--accent);text-transform:uppercase}.practice-main h2{line-height:1.5}.vocab-tools{display:grid;grid-template-columns:2fr 1fr;gap:12px;padding:16px;margin-bottom:16px}.vocab-tools .input{margin:0}.vocab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.vocab-card{padding:16px;display:flex;justify-content:space-between;gap:12px;align-items:center}.vocab-card.learning{border-color:#f59e0b}.vocab-card.known{border-color:#22c55e;background:#f0fdf4}.vocab-card h3{margin:4px 0}.vocab-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.vocab-fav{font-size:22px;margin:0;padding:4px}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat-card{padding:18px;display:flex;flex-direction:column}.stat-card b{font-size:30px}.stat-card span{color:var(--muted);font-size:12px}.progress-panel{padding:20px;margin-bottom:16px}.week-chart{height:180px;display:flex;gap:12px;align-items:flex-end}.day-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}.bar-track{height:120px;width:28px;background:#f3f4f6;border-radius:8px;display:flex;align-items:flex-end;overflow:hidden}.bar-fill{width:100%;background:#8b5cf6;border-radius:8px}.day-bar small{color:var(--muted)}.mastery-breakdown{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mastery-breakdown div{border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column}.mastery-breakdown b{font-size:24px}.mastery-breakdown span{color:var(--muted);font-size:12px}.achievement-grid{display:grid;gap:8px}.achievement{display:flex;gap:10px;align-items:center;opacity:.45}.achievement.earned{opacity:1}.achievement>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f3f4f6}.achievement.earned>span{background:#dcfce7;color:#166534}.achievement div{display:flex;flex-direction:column}.achievement small{color:var(--muted)}.roadmap,.mistake-list{display:grid;gap:8px}.roadmap>div,.mistake-list>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}.roadmap span,.mistake-list div{display:flex;flex-direction:column}.roadmap small,.mistake-list small{color:var(--muted)}
@media(max-width:900px){.practice-layout,.two-col{grid-template-columns:1fr}.vocab-grid{grid-template-columns:repeat(2,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.daily-plan-head{align-items:flex-start;flex-direction:column}.vocab-tools,.vocab-grid,.stat-grid{grid-template-columns:1fr}.week-chart{gap:5px}.bar-track{width:20px}.nav-tab{min-width:90px;padding:8px 12px}}
/* v1.3 feedback-driven UX */
body[data-scheme="green"]{--accent:#17865d;--accent-2:#0f6b49}
body[data-scheme="blue"]{--accent:#2563eb;--accent-2:#1d4ed8}
body[data-scheme="warm"]{--accent:#b45309;--accent-2:#92400e}
.subtext{display:block;margin-top:.28rem;color:#667085;font-size:.86em;font-weight:500}
.section-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.section-toggle b{display:block;font-size:1.35rem}.section-toggle small{display:block;color:#667085;font-weight:400;margin-top:.2rem}
.dashboard-section,.collapsible{margin-top:1rem;padding:1.15rem}.filter-row{display:flex;gap:.75rem;align-items:center;margin:1rem 0}.filter-row.compact{max-width:340px}.filter-row .input{margin:0}
.diag-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin:1rem 0}.diag-modes label{border:1px solid #d8deea;border-radius:14px;padding:.85rem;display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.diag-modes small{display:block;color:#667085;width:100%}.mini-input{width:70px;padding:.35rem;border:1px solid #ccd3df;border-radius:8px}.toggle-row{display:flex;gap:.65rem;align-items:flex-start;margin:.9rem 0}.topic-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.45rem;margin-top:.75rem;max-height:300px;overflow:auto}.topic-checks label{display:flex;gap:.45rem;align-items:flex-start}.topic-checks small{display:block;color:#667085}
.progress-track{height:7px;background:#edf0f5;border-radius:99px;overflow:hidden;margin:.75rem 0 1.25rem}.progress-track>div{height:100%;background:var(--accent,#4f46e5)}.timer{font-variant-numeric:tabular-nums}.unknown-option{border-style:dashed}.concept-links{display:flex;gap:.45rem;flex-wrap:wrap;margin:.75rem 0}.concept-chip{border:1px solid #d9deea;background:#f7f8fb;border-radius:999px;padding:.38rem .65rem;cursor:pointer}.mini-lesson{position:fixed;inset:0;background:#101828aa;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:9999}.mini-lesson>.card{max-width:650px;width:100%;max-height:85vh;overflow:auto;position:relative}.mini-close{position:absolute;right:1rem;top:.7rem;font-size:1.5rem}.mini-lesson textarea{min-height:100px}
.practice-input{min-height:105px;margin-top:1rem}.model-answer{font-size:1.08rem;font-weight:700;margin:.5rem 0}.model-detail{margin-top:.65rem;border-top:1px solid #e7eaf0;padding-top:.55rem}.model-detail summary{cursor:pointer;font-weight:700}.word-row{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.word-detail{border:1px solid #d8deea;background:#fff;border-radius:10px;padding:.4rem .55rem;cursor:pointer}.word-detail small{display:block;color:#667085}.practice-side{min-width:0}
.button-row,.range-buttons{display:flex;gap:.45rem;flex-wrap:wrap}.vocab-test-card,.learn-card{max-width:680px;margin:2rem auto}.vocab-big-cn{font-size:1.5rem;margin:.4rem 0 1rem}.learn-card textarea{min-height:110px}.vocab-card small{display:block;color:#667085;margin-top:.35rem}
.activity-chart{height:170px;display:flex;gap:4px;align-items:flex-end;margin-top:1rem;overflow-x:auto}.activity-day{height:100%;min-width:26px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.activity-day>span{width:70%;background:var(--accent,#4f46e5);border-radius:6px 6px 0 0;min-height:2px}.activity-day small{font-size:.65rem;writing-mode:vertical-rl;max-height:52px;overflow:hidden}.diag-score-chart{height:110px;display:flex;gap:8px;align-items:flex-end;margin:1rem 0}.diag-score-chart>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:38px}.diag-score-chart span{width:24px;background:var(--accent,#4f46e5);border-radius:5px 5px 0 0}.diag-history{border-top:1px solid #e7eaf0;padding:.8rem 0}.diag-history.excluded{opacity:.5}.diag-history>div:first-child{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.attempt-answers{margin-top:.6rem;background:#f8fafc;border-radius:10px;padding:.6rem}.attempt-answers>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #edf0f5;padding:.35rem 0}.achievement .mini-progress{margin:.35rem 0}.achievement .mini-progress>div{height:100%;background:var(--accent,#4f46e5)}.achievement-toast{position:fixed;right:18px;bottom:18px;background:#111827;color:#fff;border-radius:14px;padding:.9rem 1rem;z-index:9999;box-shadow:0 10px 30px #0003;display:flex;flex-direction:column;gap:.2rem;max-width:320px}.app-footer{text-align:center;padding:2rem 0}.hero-actions{display:flex;gap:.5rem}
@media(max-width:680px){.filter-row{flex-direction:column;align-items:stretch}.diag-modes{grid-template-columns:1fr}.attempt-answers>div{flex-direction:column}.section-toggle b{font-size:1.15rem}}

.guest-link{display:flex;align-items:center;justify-content:center;text-decoration:none;}

.account-nav-link{display:flex;align-items:center;justify-content:center;text-decoration:none;}
.text-button.account-nav-link{width:100%;text-align:center;box-sizing:border-box;}

/* v1.4 usability fixes */
.today-topbar{margin-bottom:10px}.today-hero{padding:30px 32px;margin:18px 0 20px;background:linear-gradient(135deg,#fff 0%,var(--accent-soft) 100%)}
.today-hero h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}.today-hero p{max-width:720px}.daily-plan{padding:24px 26px}.goal-ring{display:flex;flex-direction:column;gap:0;font-size:1.15rem}.goal-ring small{font-size:.65rem;color:var(--muted)}
.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.action-card>div{min-width:0}.action-card h3{font-size:1.05rem}.dashboard-section{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.section-toggle{justify-content:flex-start;gap:.85rem}.collapse-symbol{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-size:2rem;font-weight:600;line-height:1}.section-toggle-copy{min-width:0}.section-toggle-copy b{display:block}.section-toggle-copy small{display:block}
.mini-lesson>.card{padding:30px 34px}.mini-close{right:1.1rem;top:.85rem;font-size:1.8rem}.mode-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.why-label{font-weight:800;margin-top:9px;margin-bottom:3px}.about-card{padding:28px;margin-top:18px}.review-screen .topbar{margin-bottom:16px}
.account-nav-link{display:flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:760px){.action-grid{grid-template-columns:1fr}.today-hero{padding:24px}.daily-plan{padding:20px}.mini-lesson>.card{padding:26px 22px}.app-shell{width:min(100% - 24px,960px)}}
\n/* v1.5 Conversation Practice */\n.conversation-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:16px;margin:18px 0}.conversation-setup{display:flex;flex-direction:column;gap:12px}.conversation-mode-row{display:flex;gap:22px;flex-wrap:wrap;padding:6px 0 10px}.conversation-mode-row label{display:flex;gap:7px;align-items:center}.conversation-history{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-bottom:1px solid var(--line)}.conversation-history span{color:var(--muted);font-size:.9rem}.conversation-session{max-width:820px;margin:18px auto;padding:24px}.conversation-session-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.conversation-thread{display:flex;flex-direction:column;gap:12px;margin:20px 0}.conversation-bubble{max-width:78%;border-radius:18px;padding:12px 15px}.conversation-bubble span{font-size:.75rem;font-weight:800;color:var(--muted)}.conversation-bubble p{margin:.25rem 0 0}.conversation-bubble.app{align-self:flex-start;background:var(--accent-soft)}.conversation-bubble.user{align-self:flex-end;background:#f2f4f7}.conversation-replay{padding:4px 0;margin-top:4px}.conversation-verbal-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.live-transcript{width:100%;min-height:48px;padding:12px;border:1px dashed var(--accent);border-radius:12px;background:var(--accent-soft)}.conversation-input{min-height:105px;margin-top:14px}.main-nav{overflow-x:auto}.main-nav .nav-tab{min-width:110px}@media(max-width:760px){.conversation-grid{grid-template-columns:1fr}.conversation-bubble{max-width:92%}.conversation-session-head{flex-direction:column}.main-nav .nav-tab{min-width:92px}}\n
/* v2.0 Exam Prep */
.exam-setup-card{max-width:720px;margin:18px auto;display:flex;flex-direction:column;gap:12px;padding:26px}.exam-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:18px 0}.exam-hero h1{font-size:clamp(2rem,4vw,3rem)}.exam-goal-line{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px}.exam-hero-actions{display:flex;gap:10px;flex-direction:column;min-width:180px}.compact-select{margin:0}.exam-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.exam-action{display:flex;gap:12px;text-align:left;align-items:flex-start;cursor:pointer}.exam-action>span{font-size:1.7rem}.exam-action h3{margin:.1rem 0}.exam-action p{margin:.3rem 0;color:var(--muted)}.exam-section-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.exam-section-card{text-align:left;cursor:pointer}.exam-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.exam-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.exam-history-row>div{display:flex;flex-direction:column}.exam-history-row span{font-size:.8rem;color:var(--muted)}.exam-objective-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:14px}.exam-context-card,.exam-question-card{min-height:440px}.exam-passage{white-space:pre-line;line-height:1.75;max-height:62vh;overflow:auto;padding-right:8px}.exam-timer{font-variant-numeric:tabular-nums;font-size:1.2rem}.exam-writing-card,.exam-speaking-card{max-width:900px;margin:16px auto;padding:26px}.exam-writing-area,.exam-speaking-area{min-height:330px;margin:14px 0}.writing-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);margin-bottom:12px}.exam-data-table{border-collapse:collapse;margin:10px 0 20px;width:100%;max-width:600px}.exam-data-table th,.exam-data-table td{border:1px solid var(--line);padding:9px;text-align:center}.exam-hint{background:var(--accent-soft);border-radius:12px;padding:13px;margin:12px 0}.productive-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.productive-metrics span{background:#fff;border:1px solid var(--line);padding:8px;border-radius:8px}.rubric-card{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.rubric-card label{display:grid;grid-template-columns:1fr 120px;gap:12px;align-items:center;margin:8px 0}.rubric-card select{padding:8px;border:1px solid var(--line);border-radius:8px}.exam-result-card{max-width:720px;margin:24px auto}.exam-remediation{margin:16px 0}.exam-full-flow{display:flex;flex-direction:column;gap:8px;margin:16px 0}.exam-progress-card{margin-top:14px}.exam-task-card{max-width:820px;margin:18px auto}.exam-section-heading{margin-top:22px}
@media(max-width:980px){.exam-action-grid,.exam-section-grid{grid-template-columns:repeat(2,1fr)}.exam-objective-layout{grid-template-columns:1fr}.exam-two-col{grid-template-columns:1fr}}
@media(max-width:650px){.exam-action-grid,.exam-section-grid{grid-template-columns:1fr}.exam-hero{flex-direction:column}.exam-hero-actions{width:100%}.productive-metrics{grid-template-columns:1fr 1fr}.rubric-card label{grid-template-columns:1fr}.exam-writing-area,.exam-speaking-area{min-height:250px}}

/* v2.1 Exam Prep completion */
.score-history-v21{display:grid;gap:8px;margin-top:16px}.score-history-v21 article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.score-history-v21 article div{display:flex;flex-direction:column;gap:3px}.score-history-v21 small{color:var(--muted)}.score-history-v21 strong{font-size:1.2rem}.exam-action-grid #examSectionMocksV21,.exam-action-grid #examScoreHistoryV21{min-height:120px}

/* v2.2 brand + feedback */
.global-brand-v22{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 4px 14px}.brand-v22{display:flex;align-items:center;gap:11px}.brand-icon-v22{width:44px;height:44px;object-fit:cover;border-radius:12px;box-shadow:0 4px 12px rgba(20,70,150,.12)}.auth-logo-v22{display:block;width:min(210px,58vw);height:auto;margin:0 auto 18px}.main-nav .nav-tab.active{background:#fff!important;box-shadow:0 2px 10px rgba(24,48,92,.10);font-weight:800}.trains-card-v22{padding-left:24px!important;padding-right:24px!important}.grammar-word-row-v22{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.grammar-word-chips-v22{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.word-chip-v22{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 9px;font-weight:700;cursor:pointer}.word-chip-v22:hover{border-color:var(--accent);background:var(--accent-soft)}.word-card-v22{max-width:520px}.word-meaning-v22{font-size:1.1rem}.count-explainer-v22{margin-top:4px}.account-tools-v22{margin-top:18px}.account-plan-v22{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:12px;padding:11px 13px;margin:10px 0}.account-plan-v22 b{color:var(--accent)}@media(max-width:600px){.global-brand-v22{align-items:flex-start}.brand-icon-v22{width:40px;height:40px}.global-brand-v22 .secondary{padding:8px 10px}.trains-card-v22{padding-left:18px!important;padding-right:18px!important}}

/* v2.3 feedback completion */
.card{padding-inline:24px}
.today-hero>.eyebrow{display:none!important}
.count-explainer-v23{display:block!important;margin-top:3px!important;color:var(--muted)!important;font-size:.82rem!important;font-weight:600!important}
.stacked-toggle-copy-v23{display:flex!important;flex-direction:column!important;gap:4px!important;line-height:1.35}
.stacked-toggle-copy-v23 small{display:block!important;margin:0!important}
.settings-version-v23{margin-top:28px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem;text-align:center}
.vocab-filter-v23{align-items:stretch}
.vocab-summary-v23{margin:4px 2px 12px}
.vocab-card.status-selected-v23,.vocab-card.known{border-color:#b8dfc5}
.vocab-card.learning{border-color:#f0cf91}
.status-selected-v23{box-shadow:inset 0 0 0 1px currentColor}
.vocab-learn-v23{padding-top:24px;padding-bottom:24px}.vocab-learn-progress-v23{margin-top:16px}
.native-select-v23{display:none!important}
.custom-select-v23{position:relative;width:100%;margin:12px 0}
.custom-select-button-v23{width:100%;min-height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;font:inherit;font-weight:600;cursor:pointer}
.custom-select-button-v23:hover{border-color:#c7ccda}
.custom-select-v23.open .custom-select-button-v23{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.custom-select-arrow-v23{font-size:1.05rem;color:var(--muted)}
.custom-select-menu-v23{display:none;position:absolute;z-index:1000;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px rgba(25,38,70,.16);padding:6px}
.custom-select-v23.open .custom-select-menu-v23{display:grid}
.custom-select-option-v23{width:100%;border:0;background:#fff;color:var(--text);border-radius:8px;padding:10px 12px;text-align:left;font:inherit;cursor:pointer}
.custom-select-option-v23:hover,.custom-select-option-v23.selected{background:var(--accent-soft);color:var(--accent);font-weight:700}
.filter-row .custom-select-v23,.exam-hero-actions .custom-select-v23{margin:0}
.conversation-setup,.exam-setup-card,.exam-hero,.exam-action,.exam-section-card,.exam-two-col>.card,.learn-card,.vocab-card{padding-left:24px!important;padding-right:24px!important}
@media(max-width:620px){.card{padding-inline:18px}.conversation-setup,.exam-setup-card,.exam-hero,.exam-action,.exam-section-card,.exam-two-col>.card,.learn-card,.vocab-card{padding-left:18px!important;padding-right:18px!important}.custom-select-menu-v23{max-height:240px}}

/* v2.6 feedback */
.section-toggle-v26{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;column-gap:14px!important;text-align:left!important}.collapse-symbol-v26{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;line-height:1!important;margin:0!important;align-self:center!important;font-size:22px!important}.section-toggle-v26 .section-toggle-copy{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.section-toggle-v26 .count-explainer-v23,.section-toggle-v26 small{margin:3px 0 0!important;line-height:1.3!important;white-space:normal!important}.settings-save-top-v26{margin:0 0 0 8px!important;white-space:nowrap}.memory-columns-v26{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.memory-columns-v26 h3{margin:0 0 9px}.personal-media-v26{margin:12px 0}.personal-media-v26 img{display:block;max-width:100%;max-height:260px;border-radius:14px;border:1px solid var(--line)}.personal-media-v26 audio{width:100%}.media-actions-v26{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.file-button-v26{display:inline-flex;align-items:center;cursor:pointer}.community-mini-v26{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fafbff}.community-mini-v26 p{margin:8px 0}.community-image-wrap-v26{position:relative;border-radius:14px;overflow:hidden;background:#eef1f6}.community-image-wrap-v26 img{display:block;width:100%;max-height:420px;object-fit:contain}.community-image-wrap-v26>span{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.72);color:#fff;border-radius:7px;padding:5px 8px;font-size:.76rem;font-weight:700}.vocab-learn-v26,.vocab-step-v26,.vocab-setup-v26,.vocab-result-v26{margin-bottom:28px!important}.choice-grid-v26{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.speech-input-row-v26{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.test-options-v26{display:grid;gap:12px;margin:16px 0}.test-options-v26>label{display:grid;grid-template-columns:auto 1fr;gap:4px 9px;align-items:start;border:1px solid var(--line);border-radius:12px;padding:12px}.test-options-v26 small,.test-options-v26 select{grid-column:2}.community-layout-v26{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:18px;align-items:start}.community-compose-v26{position:sticky;top:14px}.community-compose-v26 textarea{min-height:110px}.community-filter-v26{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:12px}.community-posts-v26{display:grid;gap:14px}.community-post-v26{padding-top:18px!important;padding-bottom:18px!important}.community-post-head-v26{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:10px}.community-post-head-v26 span:first-child{display:flex;flex-direction:column}.community-post-head-v26 small{color:var(--muted);margin-top:3px}.community-body-v26{line-height:1.55}.community-actions-v26{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}.active-v26{border-color:var(--accent)!important;background:var(--accent-soft)!important;color:var(--accent)!important}.pending-v26{display:inline-block;margin-left:6px;border-radius:999px;padding:3px 7px;background:#fff7ed;color:#9a3412;font-size:.72rem}.moderation-v26{margin-top:20px}.moderation-row-v26{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:14px;padding:12px 0;border-top:1px solid var(--line);align-items:center}.moderation-row-v26 img{width:100px;height:84px;object-fit:cover;border-radius:10px}.moderation-row-v26 p{margin:5px 0}.attachment-chip-v26{display:block;margin-top:7px;color:var(--muted)}@media(max-width:760px){.memory-columns-v26,.community-layout-v26{grid-template-columns:1fr}.community-compose-v26{position:static}.community-filter-v26{grid-template-columns:1fr}.choice-grid-v26{grid-template-columns:1fr}.moderation-row-v26{grid-template-columns:72px minmax(0,1fr)}.moderation-row-v26>div:last-child{grid-column:1/-1}.moderation-row-v26 img{width:72px;height:62px}.settings-save-top-v26{margin-left:4px!important}}


/* 英语指纹 v2.6.1 feedback polish */
.section-toggle-v261{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;column-gap:12px!important;min-height:68px;text-align:left!important}
.collapse-symbol-v261{width:36px!important;height:36px!important;min-width:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin:0!important;padding:0!important;font-size:24px!important;font-weight:500!important}
.section-toggle-v261 .section-toggle-copy{min-width:0;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important}
.section-toggle-v261 .section-toggle-copy b{line-height:1.2}.section-toggle-v261 .section-toggle-copy small,.count-explainer-v261{line-height:1.25!important;margin:0!important;white-space:normal!important;word-break:normal!important}
.settings-save-top-v26{margin-left:8px!important}.word-memory-card-v261{width:min(620px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:28px}.word-memory-card-v261 h2{margin-bottom:4px}.word-memory-modal-v261{z-index:1400}.media-actions-v261{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 6px}.memory-open-v261{white-space:nowrap}.community-upload-help-v261{margin:-4px 0 12px;line-height:1.45}.vocab-step-v26{padding-bottom:32px!important;margin-bottom:24px!important}.vocab-step-v26>.primary:last-child{margin-bottom:8px}.vocab-learn-v26{padding-bottom:30px!important;margin-bottom:24px!important}
@media(max-width:560px){.section-toggle-v261{grid-template-columns:38px minmax(0,1fr)!important;column-gap:9px!important}.collapse-symbol-v261{width:32px!important;height:32px!important;min-width:32px!important}.settings-save-top-v26{margin-left:4px!important}}



/* 英语指纹 v2.7.1 social growth */
.social-growth-v271{margin:18px 0 22px;padding:24px}.social-growth-head-v271 h2{margin:5px 0 7px}.social-share-grid-v271{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 12px}.social-share-v271.active-v271{outline:2px solid var(--accent,#0b63f6);background:rgba(11,99,246,.08)}.social-platform-row-v271{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.social-platform-v271{border:0;border-radius:12px;padding:11px 18px;font-weight:700;cursor:pointer}.wechat-v271{background:#07c160;color:white}.rednote-v271{background:#ff2442;color:white}.social-duel-v271{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid rgba(100,120,150,.18)}.social-duel-v271 small{flex:1;min-width:220px}.achievement-share-v271{margin-left:auto}
@media(max-width:720px){.social-share-grid-v271{grid-template-columns:repeat(2,minmax(0,1fr))}.social-platform-row-v271>*{flex:1}.social-growth-v271{padding:18px}}



/* v2.7.2 vocabulary depth + Words performance */
.vocab-grid{content-visibility:auto}.vocab-card{content-visibility:auto;contain-intrinsic-size:280px;contain:layout paint style}.vocab-meta-v272{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:.2rem 0 .55rem}.vocab-level-v272,.vocab-pos-v272{font-size:.75rem;padding:4px 8px;border-radius:999px;background:rgba(11,99,246,.08);font-weight:700}.vocab-pos-v272{background:rgba(20,160,120,.09)}.vocab-details-v272{margin-top:10px;border-top:1px solid rgba(90,110,135,.16)}.vocab-details-v272 details{padding:8px 0;border-bottom:1px solid rgba(90,110,135,.10)}.vocab-details-v272 summary{cursor:pointer;font-weight:650}.vocab-details-v272 .v272-lazy{padding:8px 2px 2px;font-size:.92rem;line-height:1.45}.vocab-details-v272 .v272-lazy p{margin:.25rem 0}.vocab-diag-result-v272{margin:16px 0;padding:16px;border-radius:14px;background:rgba(11,99,246,.06)}.vocab-diag-result-v272 strong{font-size:1.5rem}



/* v2.7.3 compact Words cards */
.vocab-card-v273{min-height:152px!important;padding:20px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;background:var(--v273-card-bg,#fff)!important;border:2px solid var(--v273-card-accent,#d8dfeb)!important;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.vocab-card-v273:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(32,55,90,.10)}
.vocab-card-v273:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.vocab-card-v273 h3{font-size:1.35rem;margin:0}
.vocab-card-v273 .cn{font-size:1.08rem;margin:0}
.vocab-pos-only-v273{font-size:.82rem;color:var(--muted);font-weight:700}
.vocab-card-v273.learning{border:4px solid #d89513!important}
.vocab-card-v273.known{border:3px solid #2a9f58!important}
.word-detail-modal-v273{z-index:1700}
.word-detail-card-v273{width:min(680px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:28px}
.word-detail-head-v273{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}
.word-detail-head-v273 h2{font-size:2rem;margin:.25rem 0}
.word-detail-meta-v273{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.word-detail-meta-v273 span{padding:5px 9px;border-radius:999px;background:var(--accent-soft);font-size:.8rem;font-weight:700}
.word-detail-card-v273 details{border-top:1px solid var(--line);padding:13px 0}
.word-detail-card-v273 summary{cursor:pointer;font-weight:800}
.word-detail-body-v273{padding:10px 2px 2px;line-height:1.55}
.word-detail-body-v273 p{margin:.25rem 0}
.word-detail-actions-v273{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
@media(max-width:600px){
 .vocab-card-v273{min-height:132px!important;padding:16px!important}
 .word-detail-head-v273{display:block}
 .word-detail-meta-v273{align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin-top:10px}
}



/* v2.7.3 Settings + sharing */
.vocab-colour-setting-v273{margin-top:18px}
.quick-settings-v273,.share-preview-modal-v273{z-index:1700}
.quick-settings-card-v273{width:min(540px,calc(100vw - 28px));padding:28px}
.quick-settings-card-v273 .field-label{margin-top:14px}
.share-preview-card-v273{width:min(620px,calc(100vw - 28px));max-height:92vh;overflow:auto;padding:26px}
.share-preview-image-v273{display:block;width:min(100%,430px);height:auto;margin:16px auto;border-radius:18px;box-shadow:0 10px 28px rgba(25,50,90,.14)}
.share-caption-v273{min-height:112px}
.share-preview-actions-v273{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
@media(max-width:600px){.share-preview-actions-v273>*{flex:1}}



/* v2.7.4 feedback */
.word-memory-back-v274{position:absolute;left:24px;top:22px;z-index:2}
.word-memory-card-v261{position:relative;padding-top:68px!important}
.quick-settings-card-v274{width:min(700px,calc(100vw - 28px));max-height:92vh;overflow:auto}
.quick-settings-card-v274 h3{margin:18px 0 8px}
.settings-section-v274{padding-bottom:8px}
.settings-section-v274+.settings-section-v274{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}
.settings-upload-row-v274{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.activity-chart-v274{display:block!important;height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important}
.cumulative-chart-scroll-v274{width:100%;overflow-x:hidden;padding:8px 0 2px}
.cumulative-chart-scroll-v274.scroll-year-v274{overflow-x:auto;scrollbar-gutter:stable}
.cumulative-chart-inner-v274{min-width:0}
.cumulative-chart-svg-v274{display:block;max-width:none;height:340px;overflow:visible}
.chart-grid-v274{stroke:rgba(97,112,137,.18);stroke-width:1}
.chart-axis-v274{stroke:rgba(60,77,102,.55);stroke-width:1.4}
.chart-line-v274{fill:none;stroke:var(--accent,#0b63f6);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.cumulative-chart-svg-v274 circle{fill:var(--accent,#0b63f6);stroke:#fff;stroke-width:2}
.chart-y-label-v274,.chart-x-label-v274,.chart-axis-title-v274{fill:var(--muted,#667085);font-family:system-ui,sans-serif}
.chart-y-label-v274{font-size:12px;text-anchor:end}.chart-x-label-v274{font-size:11px;text-anchor:middle}.chart-axis-title-v274{font-size:12px;font-weight:700}
.cumulative-chart-summary-v274{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin:2px 0 6px 72px}.cumulative-chart-summary-v274 span{color:var(--muted);font-size:.85rem}
.section-toggle-v274{grid-template-columns:42px minmax(0,1fr)!important}.section-toggle-v274 .section-toggle-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0}.section-toggle-v274 .section-toggle-copy small{margin:0!important}
@media(max-width:600px){
 .word-memory-back-v274{left:18px;top:18px}.word-memory-card-v261{padding-top:64px!important}
 .settings-upload-row-v274{grid-template-columns:1fr}.cumulative-chart-svg-v274{height:300px}.cumulative-chart-summary-v274{margin-left:56px}
}


/* YYZW_EXAM_PREP_2026_STYLES */
/* English Fingerprint 2026 exam-specific practice - scope to .ep26 only */
.ep26{max-width:980px;margin-inline:auto}
.ep26 h1{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.3}
.ep26 h2{font-size:1.05rem;margin-top:22px}
.ep26-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:22px 0}
.ep26-fields label,.ep26-answer-label{display:flex;flex-direction:column;gap:8px;font-weight:600}
.ep26-fields select,.ep26-answer-label textarea,.ep26-answer-label input{width:100%;min-width:0;border:1px solid var(--line,#ccd5e2);border-radius:9px;padding:12px;background:var(--card,#fff);color:var(--text,#182334);font:inherit}
.ep26-note{font-size:.9rem;color:var(--muted,#5b6473);line-height:1.55}
.ep26-continue,.ep26-passage,.ep26-audio,.ep26-review{border:1px solid var(--line,#d4dbe3);padding:14px;border-radius:12px;margin:15px 0}
.ep26-passage{white-space:pre-line;line-height:1.7}
.ep26-option{display:flex;align-items:flex-start;gap:12px;padding:10px;border:1px solid var(--line,#d4dbe3);border-radius:9px;margin:9px 0;cursor:pointer}
.ep26-option:focus-within{outline:2px solid currentColor;outline-offset:2px}
.ep26-option input{margin-top:4px;min-width:18px;min-height:18px}
.ep26 fieldset{border:0;padding:0;margin:18px 0}
.ep26 legend{font-weight:650;line-height:1.5;margin-bottom:8px}
.ep26-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:22px 0}
.ep26-controls button,.ep26-continue button{min-height:44px}
.ep26-progress{height:8px;background:var(--line,#d4dbe3);border-radius:12px;overflow:hidden;margin-bottom:20px}
.ep26-progress>div{height:100%;background:#2373b0;border-radius:12px}
.ep26-review p{white-space:pre-line}
.ep26-review ul{padding-left:1.5em}
.ep26-history p{border-bottom:1px solid var(--line,#d4dbe3);padding-bottom:8px}
.ep26 time{font-variant-numeric:tabular-nums}
@media(max-width:620px){.ep26{padding:16px}.ep26-fields{grid-template-columns:1fr}.ep26-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ep26-controls button{white-space:normal}.ep26-continue button{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.ep26 *{scroll-behavior:auto!important;transition:none!important}}
