:root {
  --ink: #243218;
  --ink-soft: #56624a;
  --ink-faint: #7d8674;
  --paper: #fffdf8;
  --surface: #ffffff;
  --line: #ece8dd;
  --blue: #8cb84a;
  --blue-deep: #59752f;
  --blue-soft: #f0f5e7;
  --mint: #5da83a;
  --mint-soft: #edf5e8;
  --orange: #c88636;
  --orange-soft: #fcf3e3;
  --purple: #8a7552;
  --purple-soft: #f3eee3;
  --yellow: #b7862f;
  --yellow-soft: #fbf3d9;
  --shadow: 0 14px 38px rgba(54, 66, 35, .08);
  --shadow-small: 0 4px 16px rgba(54, 66, 35, .06);
  --radius: 18px;
  --radius-small: 12px;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 254px; min-width: 254px; background: var(--surface); border-right: 1px solid var(--line); padding: 22px 15px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 20; }
.brand-row { display: flex; align-items: center; gap: 10px; padding: 0 9px 22px; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.08em; background: linear-gradient(135deg, #3161e8, #55a8ef); box-shadow: 0 7px 15px rgba(49, 97, 232, .22); }
.brand-name { font-weight: 800; letter-spacing: -.035em; font-size: 17px; }
.brand-caption { color: var(--ink-faint); font-size: 10px; letter-spacing: .02em; margin-top: 2px; }
.profile-chip { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; margin: 0 2px 22px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.avatar-blue { color: var(--blue-deep); background: #dce6ff; }
.profile-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.profile-copy strong { font-size: 12px; }
.profile-copy span { font-size: 10px; color: var(--ink-faint); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #41c5a8; box-shadow: 0 0 0 3px #e3f7f1; }
.nav-label, .card-kicker { font-size: 10px; color: var(--ink-faint); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-label { padding: 0 11px 8px; }
.primary-nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item { border: 0; background: transparent; color: var(--ink-soft); display: flex; align-items: center; text-align: left; gap: 11px; padding: 11px 11px; border-radius: 11px; font-size: 12px; font-weight: 650; transition: .18s ease; }
.nav-item:hover { background: #f4f6fb; color: var(--ink); }
.nav-item.active { background: var(--blue-soft); color: var(--blue-deep); box-shadow: inset 3px 0 0 var(--blue); }
.nav-icon { width: 19px; color: currentColor; font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--blue); font-size: 10px; }
.nav-badge.soft { color: var(--mint); background: var(--mint-soft); }
.sidebar-divider { height: 1px; background: var(--line); margin: 21px 10px 18px; }
.side-cta { border: 1px solid transparent; background: transparent; width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 11px; color: var(--ink-soft); text-align: left; margin-bottom: 4px; }
.side-cta:hover { background: #fbfcff; border-color: var(--line); }
.cta-icon { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 11px; background: var(--blue-soft); color: var(--blue); }
.cta-icon.mint { background: var(--mint-soft); color: var(--mint); }
.side-cta span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.side-cta strong { font-size: 11px; color: var(--ink); }
.side-cta small { font-size: 10px; color: var(--ink-faint); }
.side-cta > span:last-child { font-size: 16px; color: var(--ink-faint); }
.sidebar-bottom { margin-top: auto; }
.mini-upgrade { position: relative; overflow: hidden; background: linear-gradient(145deg, #f2f5ff, #f7f9ff); border: 1px solid #dfe7ff; border-radius: 14px; padding: 14px 12px 12px; }
.mini-upgrade::after { content: ""; width: 70px; height: 70px; border-radius: 50%; border: 12px solid rgba(49, 97, 232, .07); position: absolute; right: -19px; top: -18px; }
.mini-upgrade strong { display: block; font-size: 11px; position: relative; z-index: 1; }
.mini-upgrade p { color: var(--ink-soft); font-size: 10px; line-height: 1.45; margin: 6px 0 10px; position: relative; z-index: 1; }
.mini-upgrade button { color: var(--blue); border: 0; padding: 0; background: transparent; font-weight: 750; font-size: 10px; position: relative; z-index: 1; }
.sparkle { color: var(--blue); margin-right: 5px; }
.sparkle.small { font-size: 12px; }
.utility-row { display: flex; justify-content: space-between; padding: 14px 6px 0; }
.utility-button { border: 0; background: transparent; color: var(--ink-faint); font-size: 10px; display: flex; align-items: center; gap: 5px; }
.utility-button:hover { color: var(--ink); }
.utility-button span { font-size: 13px; }
.sidebar-close, .menu-toggle { display: none; }

.main-area { min-width: 0; flex: 1; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid rgba(229, 234, 241, .86); background: rgba(247, 249, 252, .9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.breadcrumbs { color: var(--ink-faint); display: flex; align-items: center; gap: 10px; font-size: 11px; }
.breadcrumbs strong { color: var(--ink); font-weight: 700; }
.crumb-separator { color: #c7cfdb; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.streak-chip { border: 1px solid var(--line); background: var(--surface); border-radius: 11px; display: flex; align-items: center; gap: 8px; padding: 6px 9px; text-align: left; box-shadow: var(--shadow-small); }
.streak-chip strong, .streak-chip small { display: block; }
.streak-chip strong { font-size: 10px; }
.streak-chip small { font-size: 9px; color: var(--ink-faint); margin-top: 1px; }
.flame { color: var(--orange); font-size: 19px; line-height: 1; }
.icon-button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid transparent; color: var(--ink-soft); background: transparent; border-radius: 9px; position: relative; }
.icon-button:hover { border-color: var(--line); background: var(--surface); color: var(--ink); }
.notification-button { font-size: 18px; }
.notification-button i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); position: absolute; top: 5px; right: 4px; border: 1px solid var(--paper); }
.top-avatar { width: 32px; height: 32px; }
.google-auth-control { display: flex; align-items: center; min-width: 0; }
.google-auth-button, .google-account { min-height: 35px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e2e8d8; border-radius: 10px; padding: 0 10px; background: #fffefa; color: var(--ink); box-shadow: var(--shadow-small); font-size: 10px; font-weight: 700; }
.google-auth-button:hover:not(:disabled), .google-sign-out:hover { border-color: #bdcf9f; background: #f8faef; }
.google-auth-button:focus-visible, .google-sign-out:focus-visible { outline: 3px solid #8cb84a66; outline-offset: 2px; }
.google-auth-button:disabled { cursor: not-allowed; color: var(--ink-faint); opacity: .82; }
.google-auth-button[hidden], .google-account[hidden] { display: none; }
.google-mark { width: 19px; height: 19px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #e8e8e8; border-radius: 6px; background: #fff; color: #4285f4; font-size: 12px; font-weight: 850; }
.google-account-email { max-width: 164px; overflow: hidden; color: var(--ink-soft); text-overflow: ellipsis; white-space: nowrap; }
.google-sign-out { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--ink-faint); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.content-wrap { max-width: 1360px; margin: 0 auto; padding: 38px 42px 68px; }
.view { display: none; animation: fade-in .25s ease both; }
.view.active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--ink-faint); font-size: 10px; letter-spacing: .11em; font-weight: 750; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px var(--blue-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(27px, 3vw, 37px); line-height: 1.1; letter-spacing: -.055em; margin-bottom: 8px; }
h2 { font-size: 18px; letter-spacing: -.035em; margin-bottom: 5px; }
h3 { font-size: 14px; letter-spacing: -.02em; margin-bottom: 5px; }
.wave { color: var(--blue); font-size: .7em; vertical-align: top; }
.heading-subtitle { color: var(--ink-soft); font-size: 12px; line-height: 1.55; margin-bottom: 0; max-width: 550px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; min-height: 39px; padding: 0 15px; font-size: 11px; font-weight: 750; transition: .18s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(27, 53, 100, .11); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 7px 16px rgba(49, 97, 232, .2); }
.button-primary:hover { background: var(--blue-deep); }
.button-secondary { color: var(--blue-deep); background: var(--blue-soft); border-color: #dbe5ff; }
.button-outline { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button-small { min-height: 31px; padding: 0 10px; font-size: 10px; color: var(--blue); background: var(--blue-soft); border-color: #dce5ff; }
.full-button { width: 100%; margin-top: 15px; }
.text-button, .skill-link, .insight-card button { border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 750; padding: 0; }
.text-button span, .skill-link span, .insight-card button span { margin-left: 5px; }
.more-button, .row-action { border: 0; background: transparent; color: #a1adbc; letter-spacing: 2px; padding: 2px 3px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: 16px; margin-bottom: 33px; }
.goal-card, .streak-card { padding: 21px; }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.goal-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 17px; }
.goal-label { color: var(--ink-soft); font-size: 11px; margin-bottom: 4px; }
.goal-score { color: var(--ink); font-size: 38px; letter-spacing: -.07em; line-height: 1; font-weight: 800; }
.goal-score span { color: var(--ink-faint); font-size: 14px; letter-spacing: -.02em; font-weight: 650; }
.goal-meta { color: var(--ink-faint); font-size: 10px; margin-top: 10px; }
.trend-up { color: var(--mint); font-weight: 800; margin-right: 4px; }
.ring-progress { width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--blue) 0 72%, #e8edf5 72% 100%); display: grid; place-items: center; position: relative; }
.ring-progress::before { content: ""; width: 66px; height: 66px; border-radius: 50%; background: var(--surface); position: absolute; }
.ring-progress div { position: relative; z-index: 1; text-align: center; }
.ring-progress strong, .ring-progress span { display: block; }
.ring-progress strong { font-size: 16px; letter-spacing: -.05em; }
.ring-progress span { color: var(--ink-faint); font-size: 8px; margin-top: 1px; }
.goal-track, .vocab-progress { height: 7px; background: #eef1f6; border-radius: 20px; overflow: hidden; }
.goal-track span, .vocab-progress span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #6d9aff); }
.goal-footer { display: flex; justify-content: space-between; color: var(--ink-faint); font-size: 10px; margin-top: 10px; }
.goal-footer strong { color: var(--ink); margin-left: 3px; }
.pill { display: inline-flex; align-items: center; min-height: 21px; border-radius: 20px; padding: 0 8px; font-size: 9px; font-weight: 750; }
.pill-mint { color: #11846d; background: var(--mint-soft); }
.pill-blue { color: var(--blue-deep); background: var(--blue-soft); }
.pill-purple { color: #6650c8; background: var(--purple-soft); }
.pill-yellow { color: #9b6911; background: var(--yellow-soft); }
.streak-number { font-size: 36px; letter-spacing: -.07em; font-weight: 800; line-height: 1; margin: 21px 0 8px; }
.streak-number span { font-size: 12px; color: var(--ink-faint); letter-spacing: -.01em; font-weight: 650; }
.muted-copy { color: var(--ink-soft); font-size: 11px; line-height: 1.5; max-width: 280px; margin-bottom: 15px; }
.week-dots { display: flex; align-items: center; gap: 7px; }
.week-dots span { width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; font-size: 9px; color: var(--ink-faint); background: #f1f3f7; }
.week-dots .done { color: #168c74; background: var(--mint-soft); }
.week-dots .today { color: #fff; background: var(--orange); box-shadow: 0 4px 10px rgba(242, 138, 82, .2); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 15px; }
.section-heading-row h2 { margin-bottom: 3px; }
.section-heading-row p { color: var(--ink-faint); font-size: 11px; margin: 0; }
.compact-section { margin-top: 36px; }
.workout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: 16px; }
.workout-card { overflow: hidden; }
.workout-progress { display: flex; align-items: center; gap: 10px; padding: 17px 21px 13px; color: var(--ink-faint); font-size: 10px; }
.workout-progress > div { flex: 1; height: 5px; background: #edf0f5; border-radius: 10px; overflow: hidden; }
.workout-progress i { height: 100%; display: block; background: var(--blue); border-radius: inherit; }
.workout-list { border-top: 1px solid var(--line); }
.workout-item { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; gap: 3px 10px; text-align: left; background: var(--surface); border: 0; border-bottom: 1px solid var(--line); padding: 14px 21px; transition: background .17s ease; }
.workout-item:hover { background: #fbfcff; }
.workout-check { grid-row: 1 / span 3; width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--mint); font-size: 12px; font-weight: 800; margin-top: 1px; }
.workout-check.pending { color: var(--blue); background: var(--blue-soft); }
.workout-type { color: var(--ink-faint); font-size: 9px; letter-spacing: .1em; font-weight: 800; }
.reading-type { color: var(--blue); }
.listening-type { color: var(--mint); }
.workout-item strong { font-size: 12px; }
.workout-item small { color: var(--ink-faint); font-size: 10px; }
.item-arrow { grid-column: 3; grid-row: 1 / span 3; align-self: center; color: var(--ink-faint); font-size: 17px; }
.workout-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 21px; color: var(--ink-faint); font-size: 10px; }
.workout-footer button { color: var(--blue); border: 0; background: transparent; font-size: 10px; font-weight: 750; }
.skill-card { padding: 21px; }
.skill-card h3 { margin-top: 5px; font-size: 14px; }
.skill-row { display: grid; grid-template-columns: 31px minmax(0, 1fr) minmax(70px, 100px) 34px; align-items: center; gap: 9px; margin-top: 19px; }
.skill-icon { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.reading-icon { color: var(--blue); background: var(--blue-soft); }
.listening-icon { color: var(--mint); background: var(--mint-soft); }
.vocab-icon { color: var(--purple); background: var(--purple-soft); }
.skill-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.skill-copy strong { font-size: 11px; }
.skill-copy span { color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9px; }
.skill-meter { height: 5px; overflow: hidden; border-radius: 10px; background: #edf0f5; }
.skill-meter i { height: 100%; display: block; background: var(--blue); border-radius: inherit; }
.mint-meter i { background: var(--mint); }
.purple-meter i { background: var(--purple); }
.skill-score { font-size: 10px; text-align: right; }
.skill-link { width: 100%; padding-top: 20px; margin-top: 19px; border-top: 1px solid var(--line); text-align: left; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.insight-card { display: flex; gap: 12px; padding: 17px; }
.insight-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: 0 0 auto; }
.insight-card h3 { margin: 7px 0 5px; }
.insight-card p { color: var(--ink-soft); font-size: 10px; line-height: 1.45; margin-bottom: 11px; }
.insight-blue { background: linear-gradient(145deg, #fff, #f7f9ff); }
.insight-blue .insight-icon { color: var(--blue); background: var(--blue-soft); }
.insight-orange { background: linear-gradient(145deg, #fff, #fffaf7); }
.insight-orange .insight-icon { color: var(--orange); background: var(--orange-soft); }
.insight-purple { background: linear-gradient(145deg, #fff, #fbfaff); }
.insight-purple .insight-icon { color: var(--purple); background: var(--purple-soft); }

.library-summary { display: grid; grid-template-columns: 130px 130px 130px minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 24px; }
.library-summary > div:not(.summary-note) { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; border-right: 1px solid var(--line); }
.library-summary strong { font-size: 25px; letter-spacing: -.06em; }
.library-summary span { color: var(--ink-faint); font-size: 10px; }
.summary-note { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 11px; padding-left: 8px; }
.filter-row { display: flex; align-items: center; gap: 7px; }
.filter { border: 1px solid transparent; color: var(--ink-soft); background: transparent; border-radius: 9px; font-size: 10px; font-weight: 700; padding: 8px 11px; }
.filter:hover, .filter.active { color: var(--blue-deep); background: var(--blue-soft); border-color: #dce5ff; }
.filter-spacer { flex: 1; }
.sort-button, .select-chip { color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface); border-radius: 9px; font-size: 10px; padding: 8px 10px; }
.library-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.library-card { overflow: hidden; display: flex; flex-direction: column; }
.library-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: .2s ease; }
.library-art { height: 106px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.library-art::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; border: 20px solid rgba(255,255,255,.35); right: -30px; top: -50px; }
.library-art span { font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -.1em; position: relative; z-index: 1; }
.library-art small { position: absolute; right: 15px; bottom: 15px; font-size: 9px; font-weight: 800; letter-spacing: .12em; z-index: 1; }
.art-blue { color: var(--blue-deep); background: linear-gradient(135deg, #dce7ff, #eff4ff); }
.art-mint { color: #13816e; background: linear-gradient(135deg, #d8f5ed, #effcf8); }
.art-purple { color: #6d55c8; background: linear-gradient(135deg, #e7e2ff, #f7f5ff); }
.art-yellow { color: #a87317; background: linear-gradient(135deg, #ffedb8, #fff8e6); }
.library-card-body { padding: 17px; display: flex; flex: 1; flex-direction: column; }
.tag-row { display: flex; align-items: center; justify-content: space-between; }
.duration { color: var(--ink-faint); font-size: 10px; }
.library-card h3 { font-size: 14px; margin-top: 14px; min-height: 33px; }
.library-card p { color: var(--ink-soft); font-size: 10px; line-height: 1.5; min-height: 45px; }
.library-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; padding-top: 9px; color: var(--ink-faint); font-size: 9px; }
.library-meta span + span::before { content: "·"; margin-right: 7px; color: #c6ceda; }
.library-meta .status-ready { color: #16886f; font-weight: 700; }
.library-meta .status-review { color: #a06b12; font-weight: 700; }
.library-meta .status-blocked { color: #b24b56; font-weight: 700; }

.analytics-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.metric-card { min-height: 155px; padding: 18px; position: relative; overflow: hidden; }
.metric-card > strong { display: block; font-size: 31px; letter-spacing: -.07em; margin: 12px 0 5px; }
.metric-trend { color: var(--mint); font-size: 10px; font-weight: 750; }
.metric-trend small { color: var(--ink-faint); font-weight: 500; margin-left: 3px; }
.metric-trend.neutral { color: var(--ink-faint); font-weight: 500; }
.metric-trend.orange-trend { color: var(--orange); }
.mini-line-chart { height: 38px; display: flex; align-items: end; gap: 5px; position: absolute; right: 18px; bottom: 18px; }
.mini-line-chart span { width: 7px; background: #dfe8ff; border-radius: 5px 5px 2px 2px; }
.mini-line-chart span:nth-last-child(-n+2) { background: var(--blue); }
.accuracy-bars { display: flex; gap: 5px; height: 45px; align-items: end; position: absolute; right: 22px; bottom: 19px; }
.accuracy-bars i { width: 12px; border-radius: 4px 4px 2px 2px; background: var(--mint-soft); border: 1px solid #c4eddf; }
.accuracy-bars i:nth-child(4) { background: var(--mint); }
.recovery-ring { position: absolute; right: 20px; bottom: 15px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--orange) 0 38%, #f7e7de 38% 100%); }
.recovery-ring::before { content: ""; width: 44px; height: 44px; background: var(--surface); border-radius: 50%; position: absolute; }
.recovery-ring span { font-size: 10px; font-weight: 800; position: relative; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: 16px; }
.skill-map-large, .error-dna-large { padding: 20px; }
.skill-map-large h3, .error-dna-large h3 { margin-top: 6px; }
.chart-legend { display: flex; gap: 15px; color: var(--ink-soft); font-size: 10px; margin: 22px 0 10px 60px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.legend-dot.blue { background: var(--blue); }
.legend-dot.mint { background: var(--mint); }
.skill-chart { display: grid; grid-template-columns: 40px minmax(0,1fr); grid-template-rows: 220px 20px; gap: 0 9px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; text-align: right; color: var(--ink-faint); font-size: 9px; padding: 1px 0 4px; }
.chart-plot { position: relative; min-width: 0; }
.grid-line { position: absolute; height: 1px; background: #eef1f5; left: 0; right: 0; }
.grid-line.one { top: 0; }.grid-line.two { top: 25%; }.grid-line.three { top: 50%; }.grid-line.four { top: 75%; }
.chart-plot svg { width: 100%; height: 220px; position: relative; z-index: 1; overflow: visible; }
.chart-x { grid-column: 2; display: flex; justify-content: space-between; color: var(--ink-faint); font-size: 9px; padding-top: 5px; }
.error-dna-large { display: flex; flex-direction: column; }
.dna-item { margin-top: 20px; }
.dna-label { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 10px; margin-bottom: 7px; }
.dna-label strong { color: var(--ink); }
.dna-bar { height: 7px; border-radius: 9px; background: var(--blue-soft); overflow: hidden; }
.dna-bar i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.mint-bar { background: var(--mint-soft); }.mint-bar i { background: var(--mint); }
.purple-bar { background: var(--purple-soft); }.purple-bar i { background: var(--purple); }
.yellow-bar { background: var(--yellow-soft); }.yellow-bar i { background: var(--yellow); }
.dna-footer { color: var(--ink-faint); font-size: 9px; line-height: 1.45; border-top: 1px solid var(--line); padding-top: 13px; margin-top: auto; }

.vocab-hero { display: flex; align-items: center; gap: 26px; padding: 22px; margin-bottom: 20px; background: linear-gradient(120deg, #fbfcff 0%, #f4f8ff 58%, #edf3ff 100%); overflow: hidden; }
.vocab-count { min-width: 110px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid #dfe7f3; }
.vocab-count strong { font-size: 42px; line-height: 1; letter-spacing: -.08em; margin: 8px 0 1px; }
.vocab-count > span:last-child { color: var(--ink-faint); font-size: 10px; }
.vocab-copy { max-width: 400px; flex: 1; }
.vocab-copy h3 { font-size: 16px; }
.vocab-copy p { color: var(--ink-soft); font-size: 11px; line-height: 1.5; margin-bottom: 14px; }
.vocab-copy small { color: var(--ink-faint); font-size: 9px; display: block; margin-top: 6px; }
.vocab-orbit { width: 170px; height: 105px; border: 1px dashed #bfcff9; border-radius: 50%; display: grid; place-items: center; position: relative; color: var(--blue); font-size: 10px; font-weight: 800; text-align: center; }
.vocab-orbit::before { content: ""; position: absolute; width: 115px; height: 68px; border: 1px dashed #cbd8f8; border-radius: 50%; }
.orbit-word { position: absolute; background: #fff; border: 1px solid #dbe5ff; border-radius: 20px; padding: 4px 7px; font-size: 9px; font-weight: 700; box-shadow: 0 3px 8px rgba(43, 75, 137, .06); }
.orbit-word.one { left: -4px; top: 13px; }.orbit-word.two { right: -12px; top: 25px; }.orbit-word.three { right: 11px; bottom: 3px; }
.vocab-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.search-field { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 0 10px; height: 34px; color: var(--ink-faint); }
.search-field input { border: 0; outline: none; font-size: 10px; width: 150px; color: var(--ink); background: transparent; }
.vocab-table { overflow: hidden; }
.table-header, .table-row { display: grid; grid-template-columns: 1.05fr 1.5fr 1.15fr .55fr 24px; gap: 14px; align-items: center; padding: 13px 18px; }
.table-header { color: var(--ink-faint); background: #fbfcfe; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.table-row { border-top: 1px solid var(--line); min-height: 71px; }
.table-row strong { display: block; font-size: 11px; }
.table-row small, .word-cell span { display: block; color: var(--ink-faint); font-size: 9px; margin-top: 4px; }
.word-cell strong { font-size: 14px; letter-spacing: -.03em; }
.source-badge { display: inline-flex; padding: 4px 7px; border-radius: 6px; font-size: 9px; font-weight: 750; }
.reading-source { color: var(--blue-deep); background: var(--blue-soft); }.listening-source { color: #13816e; background: var(--mint-soft); }
.state-pill { display: inline-flex; border-radius: 20px; padding: 4px 8px; font-size: 9px; font-weight: 750; }
.state-pill.weak { color: #c76c3f; background: var(--orange-soft); }.state-pill.review { color: #6a56c7; background: var(--purple-soft); }.state-pill.learning { color: #13816e; background: var(--mint-soft); }.state-pill.new { color: var(--ink-soft); background: #eef1f5; }
.vocab-progress { height: 7px; border-radius: 9px; background: #e4eaf5; overflow: hidden; }.vocab-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #72a2ff); transition: width .2s ease; }
.vocab-learning-card { margin: 0 auto; max-width: 940px; }
.flashcard { min-height: 420px; padding: 27px 32px 18px; border: 1px solid #e2e9f5; box-shadow: var(--shadow-small); }
.flashcard-top, .flashcard-top > div, .flashcard-word-row, .flashcard-meta, .vocab-example-source, .flashcard-controls, .flashcard-footer { display: flex; align-items: center; }
.flashcard-top { justify-content: space-between; gap: 12px; }.flashcard-top > div { gap: 10px; }
.flashcard-rank { color: var(--ink-faint); font-size: 10px; }
.flashcard-word-row { justify-content: space-between; gap: 18px; margin: 28px 0 23px; }
.flashcard-word-row h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.055em; margin: 0; }
.flashcard-meta { flex-wrap: wrap; gap: 8px 15px; margin-top: 10px; color: var(--ink-faint); font-size: 10px; }
.flashcard-meta span + span { border-left: 1px solid var(--line); padding-left: 15px; }
.speak-word { white-space: nowrap; }
.vocab-hidden-answer { min-height: 146px; border: 1px dashed #cbd7ec; border-radius: 13px; background: #fbfcff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; text-align: center; padding: 20px; color: var(--ink-soft); }
.vocab-hidden-answer .sparkle { color: var(--blue); font-size: 21px; }.vocab-hidden-answer strong { color: var(--ink); font-size: 13px; }.vocab-hidden-answer span:last-child { font-size: 10px; }
.vocab-answer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vocab-answer > div:not(.vocab-example) { min-height: 88px; background: #f8faff; border: 1px solid #e7edf8; border-radius: 12px; padding: 14px; }
.vocab-answer .card-kicker { display: block; margin-bottom: 9px; }.vocab-answer strong { font-size: 13px; line-height: 1.55; }
.vocab-example { grid-column: 1 / -1; background: #f8fbfa; border: 1px solid #e3f0ec; border-radius: 12px; padding: 15px; }
.vocab-example p { font-size: 12px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 12px; }.vocab-example mark { background: #fff0b8; color: #433414; border-radius: 3px; padding: 0 2px; }
.vocab-example-source { gap: 8px; color: var(--ink-faint); font-size: 9px; }
.flashcard-controls { justify-content: flex-end; gap: 9px; margin-top: 20px; }.flashcard-controls .button { min-height: 37px; font-size: 10px; }
.flashcard-footer { justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 9px; margin-top: 18px; padding-top: 12px; }
.vocab-empty-state { padding: 28px; color: var(--ink-soft); font-size: 12px; text-align: center; }
.vocab-data-note { color: var(--ink-faint); font-size: 9px; line-height: 1.5; margin: 10px auto 0; max-width: 940px; }
@media (max-width: 600px) { .flashcard { min-height: 0; padding: 20px 15px 14px; }.flashcard-word-row { align-items: flex-start; flex-direction: column; }.speak-word { width: 100%; justify-content: center; }.vocab-answer { grid-template-columns: 1fr; }.vocab-answer .vocab-example { grid-column: auto; }.flashcard-controls { flex-direction: column; align-items: stretch; }.flashcard-controls .button { justify-content: center; }.flashcard-footer { align-items: flex-start; flex-direction: column; } }

.notebook-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
.mistake-summary { padding: 20px; align-self: start; }
.mistake-summary > strong { display: block; font-size: 39px; letter-spacing: -.08em; margin-top: 13px; }.mistake-summary > p { color: var(--ink-soft); font-size: 11px; margin-bottom: 21px; }
.summary-stat { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 0; color: var(--ink-soft); font-size: 10px; }.summary-stat strong { color: var(--ink); }
.mistake-list { overflow: hidden; }.notebook-tabs { display: flex; gap: 3px; padding: 12px 18px; border-bottom: 1px solid var(--line); }.notebook-tab { border: 0; background: transparent; color: var(--ink-faint); font-size: 10px; padding: 8px 10px; border-radius: 8px; }.notebook-tab.active { color: var(--blue-deep); background: var(--blue-soft); font-weight: 750; }.notebook-tab span { margin-left: 3px; opacity: .7; }
.mistake-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); }.mistake-row:last-child { border-bottom: 0; }.mistake-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 800; }.mark-blue { color: var(--blue); background: var(--blue-soft); }.mark-orange { color: var(--orange); background: var(--orange-soft); }.mark-purple { color: var(--purple); background: var(--purple-soft); }.mistake-copy { min-width: 0; }.mistake-copy > div { display: flex; gap: 8px; align-items: center; }.mistake-type { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .05em; }.mistake-time { color: var(--ink-faint); font-size: 9px; }.mistake-copy > strong { display: block; font-size: 11px; line-height: 1.4; margin-top: 6px; }.mistake-copy p { color: var(--ink-faint); font-size: 9px; margin: 5px 0 0; }

.session-topbar { display: flex; align-items: center; gap: 20px; margin-bottom: 13px; }.back-link { border: 0; background: transparent; color: var(--ink-soft); font-size: 10px; padding: 0; white-space: nowrap; }.back-link:hover { color: var(--blue); }.session-title { flex: 1; text-align: center; }.session-title h1 { font-size: 21px; margin: 5px 0 0; }.session-kind { color: var(--blue); font-size: 9px; letter-spacing: .13em; font-weight: 850; }.mint-kind { color: var(--mint); }.session-timer { min-width: 90px; text-align: right; }.session-timer span { color: var(--ink-faint); font-size: 9px; display: block; }.session-timer strong { font-size: 16px; letter-spacing: -.05em; }.session-progress { height: 5px; border-radius: 10px; overflow: hidden; background: #e9edf4; margin-bottom: 18px; }.session-progress span { height: 100%; display: block; background: var(--blue); border-radius: inherit; }.session-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .75fr); gap: 17px; align-items: start; }.passage-panel, .question-panel, .audio-panel, .dictation-panel { padding: 22px; }.panel-heading, .question-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.panel-heading h2, .question-head h2 { margin-top: 6px; font-size: 17px; }.panel-actions { display: flex; gap: 4px; }.passage-intro { color: var(--ink-soft); font-size: 11px; line-height: 1.55; max-width: 620px; margin: 17px 0 13px; }.heading-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 12px; background: #fbfcfe; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }.passage-text { font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.78; color: #263248; margin-top: 20px; }.passage-text p { position: relative; padding-left: 28px; margin-bottom: 17px; }.passage-text .highlighted-paragraph { background: linear-gradient(90deg, #f5f8ff, transparent); border-left: 3px solid #b8caff; padding-top: 5px; padding-bottom: 5px; }.paragraph-label { position: absolute; left: 0; top: 3px; color: var(--blue); font-family: Inter, sans-serif; font-size: 11px; font-weight: 850; }.flag-button { color: var(--ink-faint); border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 7px 8px; font-size: 9px; }.question-prompt { font-size: 12px; font-weight: 700; line-height: 1.45; margin: 23px 0 14px; }.answer-list { display: flex; flex-direction: column; gap: 8px; }.answer-option { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface); border-radius: 10px; text-align: left; padding: 10px; font-size: 10px; transition: .16s ease; }.answer-option:hover { border-color: #b9caff; background: #fbfcff; }.answer-option span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: var(--blue-soft); font-weight: 800; font-size: 9px; }.answer-option.correct { border-color: #7fd5c2; background: #f1fcf8; color: #137962; }.answer-option.correct span { color: #fff; background: var(--mint); }.answer-option.wrong { border-color: #ffc6ad; background: #fff7f2; color: #c06d43; }.answer-option.wrong span { color: #fff; background: var(--orange); }.answer-feedback { display: flex; gap: 10px; align-items: flex-start; padding: 12px; margin-top: 19px; border-radius: 10px; background: var(--blue-soft); }.feedback-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: #dce6ff; color: var(--blue); font-size: 11px; flex: 0 0 auto; }.answer-feedback strong { display: block; font-size: 10px; }.answer-feedback p { color: var(--ink-soft); font-size: 9px; line-height: 1.45; margin: 3px 0 0; }.question-footer { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 15px; color: var(--ink-faint); font-size: 9px; }.question-footer span:nth-child(2) { flex: 1; }.question-footer strong { color: var(--ink-soft); }.question-footer .button { min-height: 34px; padding: 0 10px; font-size: 10px; }
.listening-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 17px; }.audio-header { display: flex; align-items: center; gap: 14px; }.audio-art { width: 54px; height: 54px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); border-radius: 15px; font-size: 24px; }.audio-header h2 { margin-top: 5px; }.audio-header p { color: var(--ink-soft); font-size: 10px; margin: 0; }#listening-audio { display: none; }.waveform { height: 102px; margin: 35px 0 22px; display: flex; align-items: center; justify-content: center; gap: 5px; position: relative; border-bottom: 1px solid var(--line); }.waveform span { width: 6px; background: #bfeadd; border-radius: 8px; }.waveform span:nth-child(4n) { background: var(--mint); }.waveform i { height: 116px; width: 2px; border-radius: 3px; background: var(--orange); position: absolute; top: -7px; }.waveform i::before { content: ""; width: 9px; height: 9px; background: var(--orange); border-radius: 50%; position: absolute; left: -3px; top: -5px; }.audio-controls { display: flex; align-items: center; gap: 11px; }.play-button { width: 38px; height: 38px; border: 0; background: var(--mint); color: #fff; border-radius: 50%; box-shadow: 0 6px 14px rgba(44, 174, 150, .2); }.audio-time { color: var(--ink); font-size: 10px; white-space: nowrap; }.audio-time em { color: var(--ink-faint); font-style: normal; }.audio-slider { height: 5px; background: #e8f2ef; border-radius: 8px; flex: 1; overflow: hidden; }.audio-slider span { height: 100%; display: block; background: var(--mint); border-radius: inherit; }.speed-button { color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 6px 7px; font-size: 9px; }.audio-hints { display: flex; gap: 7px; margin-top: 20px; }.hint-button { color: var(--ink-soft); background: #fbfcfe; border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; font-size: 9px; }.dictation-context { background: #fbfcfe; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 22px 0 18px; }.speaker-label { color: var(--mint); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }.dictation-context p { color: var(--ink-soft); font-size: 13px; line-height: 1.8; margin: 7px 0 0; }.blank-line { display: inline-block; min-width: 68px; border-bottom: 2px solid #96a4b9; vertical-align: baseline; }.blank-line.wide { min-width: 100px; }.input-label { display: block; color: var(--ink-faint); font-size: 10px; font-weight: 750; margin-bottom: 7px; }.dictation-input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 9px; outline: none; padding: 0 11px; color: var(--ink); font-size: 11px; }.dictation-input:focus { border-color: #a9bcf4; box-shadow: 0 0 0 4px var(--blue-soft); }.dictation-tip { display: flex; gap: 8px; align-items: flex-start; background: var(--orange-soft); border-radius: 9px; padding: 11px; margin-top: 15px; }.dictation-tip span { color: var(--orange); }.dictation-tip p { color: #9b6448; font-size: 9px; line-height: 1.45; margin: 0; }.dictation-tip strong { color: #b35b2f; }.transcript-toggle { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 15px; padding-top: 14px; }.transcript-toggle button { border: 0; background: transparent; color: var(--ink-soft); font-size: 9px; }.transcript-toggle span { color: var(--ink-faint); }
.toast { position: fixed; left: 50%; bottom: 23px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 8px; color: #fff; background: #1c2c49; border-radius: 10px; padding: 10px 14px; font-size: 11px; box-shadow: 0 12px 30px rgba(20, 37, 66, .2); transition: .2s ease; z-index: 50; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.toast span:first-child { color: #a9c0ff; }

@media (max-width: 1120px) { .content-wrap { padding-left: 27px; padding-right: 27px; }.topbar { padding-left: 27px; padding-right: 27px; }.library-grid { grid-template-columns: repeat(2, 1fr); }.library-summary { grid-template-columns: repeat(3, 1fr); }.summary-note { grid-column: 1 / -1; padding: 8px 0 0; }.insight-grid { grid-template-columns: 1fr; }.insight-card p { max-width: 600px; } }
@media (max-width: 860px) { .sidebar { position: fixed; left: -270px; top: 0; bottom: 0; transition: left .22s ease; box-shadow: 18px 0 50px rgba(20, 40, 77, .13); }.sidebar.open { left: 0; }.sidebar-close, .menu-toggle { display: grid; }.menu-toggle { margin-right: 10px; }.topbar { justify-content: flex-start; }.breadcrumbs { flex: 1; }.topbar-actions { gap: 8px; }.streak-chip { display: none; }.content-wrap { padding: 28px 20px 50px; }.hero-grid, .workout-layout, .analytics-grid, .session-layout, .listening-layout { grid-template-columns: 1fr; }.workout-layout { gap: 16px; }.skill-card { order: -1; }.question-panel { position: static; }.notebook-layout { grid-template-columns: 1fr; }.mistake-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 0 14px; align-items: center; }.mistake-summary .card-kicker { grid-column: 1 / -1; }.mistake-summary > strong { margin: 6px 0 0; }.mistake-summary > p { margin: 0; }.mistake-summary .summary-stat { border: 0; padding: 0; display: flex; gap: 8px; }.mistake-summary .full-button { grid-column: 1 / -1; }.session-topbar { align-items: flex-start; flex-wrap: wrap; }.session-title { order: 3; flex-basis: 100%; text-align: left; }.session-timer { margin-left: auto; }.session-title h1 { font-size: 20px; } }
@media (max-width: 600px) { h1 { font-size: 28px; }.page-heading { align-items: flex-start; flex-direction: column; gap: 18px; }.page-heading .button { width: 100%; }.hero-grid { gap: 12px; }.goal-card, .streak-card, .skill-card, .workout-card, .passage-panel, .question-panel, .audio-panel, .dictation-panel { border-radius: 14px; }.goal-main { align-items: flex-start; }.ring-progress { width: 70px; height: 70px; }.ring-progress::before { width: 54px; height: 54px; }.ring-progress strong { font-size: 13px; }.ring-progress span { font-size: 7px; }.goal-footer { gap: 15px; flex-direction: column; }.section-heading-row { align-items: flex-start; flex-direction: column; }.workout-item { padding: 13px 14px; grid-template-columns: 25px minmax(0, 1fr) auto; }.workout-footer { padding-left: 14px; padding-right: 14px; }.skill-row { grid-template-columns: 29px minmax(0, 1fr) 72px; }.skill-score { display: none; }.library-summary { gap: 8px; }.library-summary > div:not(.summary-note) { padding: 0 6px; }.library-summary strong { font-size: 20px; }.library-summary span { font-size: 9px; }.filter-row { overflow-x: auto; padding-bottom: 2px; }.filter { white-space: nowrap; }.library-grid { grid-template-columns: 1fr; }.dictation-practice-layout { grid-template-columns: 1fr; }.dictation-footer { flex-wrap: wrap; }.vocab-hero { align-items: flex-start; flex-wrap: wrap; }.vocab-count { min-width: 82px; }.vocab-orbit { margin-left: auto; width: 125px; height: 90px; }.vocab-copy { order: 3; flex-basis: 100%; }.vocab-toolbar { align-items: flex-start; flex-direction: column; }.search-field, .search-field input { width: 100%; }.table-header { display: none; }.table-row { grid-template-columns: 1fr auto; gap: 8px 14px; padding: 15px; }.table-row > div:nth-child(2), .table-row > div:nth-child(3), .table-row > div:nth-child(4) { grid-column: 1 / -1; }.table-row > div:nth-child(2), .table-row > div:nth-child(3) { display: flex; align-items: baseline; gap: 8px; }.table-row > div:nth-child(2) small, .table-row > div:nth-child(3) small { margin-top: 0; }.row-action { grid-column: 2; grid-row: 1; }.mistake-row { grid-template-columns: 30px minmax(0, 1fr); }.mistake-row .button { grid-column: 2; justify-self: start; }.heading-options { grid-template-columns: 1fr; }.passage-text { font-size: 14px; }.audio-hints { flex-wrap: wrap; }.analytics-top { grid-template-columns: 1fr; }.metric-card { min-height: 126px; }.chart-legend { margin-left: 45px; }.content-wrap { padding-left: 14px; padding-right: 14px; }.topbar { padding-left: 14px; padding-right: 14px; }.notification-button { display: none; } }

/* StudyChill-inspired cream, leaf-green and soft-gold pilot theme. */
.brand-mark { background: linear-gradient(135deg, #8cb84a, #59752f); box-shadow: 0 7px 15px rgba(89, 117, 47, .2); }
.profile-chip, .heading-options, .dictation-context, .hint-button { background-color: #fffefa; }
.avatar-blue { color: #59752f; background: #edf4e3; }
.status-dot { background: #5da83a; box-shadow: 0 0 0 3px #edf5e8; }
.button-primary { box-shadow: 0 7px 16px rgba(89, 117, 47, .18); }
.button-secondary { border-color: #e7eddc; }
.pill-blue, .art-blue { color: #59752f; background: linear-gradient(135deg, #edf4e3, #f7f8ef); }
.pill-mint, .art-mint { color: #4f8736; background: linear-gradient(135deg, #edf5e8, #f7f8ef); }
.art-purple, .pill-purple { color: #79694c; background: linear-gradient(135deg, #f4efe3, #faf7ee); }
.art-yellow, .pill-yellow { color: #8d6b28; background: linear-gradient(135deg, #fbf3d9, #fffaf0); }
.avatar-blue, .nav-badge.soft, .cta-icon.mint, .reading-icon, .listening-icon { background-color: #edf4e3; }
.mini-line-chart span { background: #e3ebd4; }
.accuracy-bars i { background: #edf5e8; border-color: #dce9cd; }
.answer-feedback, .feedback-icon { background: #f0f5e7; }
.feedback-icon { color: #59752f; }
.answer-option:hover { border-color: #c5d5a9; background: #fffefa; }
.answer-option.correct { border-color: #b7d19a; background: #f3f8ec; color: #42692e; }
.answer-option.correct span { background: #5da83a; }
.reading-source { color: #59752f; background: #f0f5e7; }
.listening-source, .state-pill.learning { color: #4f8736; background: #edf5e8; }
.state-pill.review { color: #79694c; background: #f4efe3; }
.vocab-orbit { border-color: #d6dfc3; }
.vocab-progress { background: #e9eddf; }
.vocab-progress span, .goal-track span { background: linear-gradient(90deg, #8cb84a, #5da83a); }
.session-progress { background: #e9eddf; }
.skill-chart svg polyline:first-of-type, .skill-chart svg circle:first-of-type { stroke: #8cb84a !important; }
.skill-chart svg polyline:nth-of-type(2), .skill-chart svg circle:nth-of-type(2) { stroke: #b69a5c !important; }
.passage-text .highlighted-paragraph { background: linear-gradient(90deg, #f4f7ec, transparent); border-left-color: #b8d66a; }
.paragraph-label, .session-kind, .reading-type, .mistake-type { color: #59752f; }
.waveform span { background: #dce8c7; }
.waveform span:nth-child(4n) { background: #8cb84a; }
.audio-slider { background: #e8efdf; }
.dictation-input:focus { border-color: #b8d66a; box-shadow: 0 0 0 4px #8cb84a22; }
.skill-data-list { display: flex; flex-direction: column; gap: 15px; margin-top: 18px; }
.skill-data-row { min-width: 0; }
.skill-data-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 10px; }
.skill-data-heading strong { color: var(--ink); overflow-wrap: anywhere; }
.skill-data-track { height: 6px; margin-top: 7px; overflow: hidden; border-radius: 8px; background: #e9eddf; }
.skill-data-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8cb84a, #b69a5c); }
.analytics-empty-state, .mistakes-empty-state { color: var(--ink-soft); font-size: 11px; line-height: 1.6; margin: 0; padding: 22px 14px; text-align: center; }
.mistake-summary .full-button:disabled { cursor: not-allowed; opacity: .62; }
.workout-check.complete { color: #fff; background: #59752f; }
#next-question:disabled { cursor: not-allowed; opacity: .55; }
.heading-options[hidden] { display: none; }
.library-loading { grid-column: 1 / -1; padding: 22px; color: var(--ink-soft); }
.library-grid .library-card { min-width: 0; }
.library-meta .status-blocked { color: #a35142; }
.library-meta .status-review { color: #8d6b28; }
.dictation-practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 17px; align-items: start; }
.dictation-audio-card { padding: 22px; }
.dictation-audio-controls { display: flex; align-items: center; gap: 11px; margin-top: 28px; }
.dictation-audio-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dictation-disclaimer { color: var(--ink-faint); border-top: 1px solid var(--line); margin: 18px 0 0; padding-top: 14px; font-size: 10px; line-height: 1.55; }
.dictation-prompt { color: var(--ink-soft); font-size: 11px; line-height: 1.55; margin: 18px 0; }
.dictation-textarea { display: block; min-height: 118px; height: auto; padding: 11px; resize: vertical; line-height: 1.55; }
.dictation-reveal { border: 1px solid #dfe8d2; border-radius: 10px; background: #f7f9f1; padding: 13px; margin-top: 14px; }
.dictation-reveal p { color: var(--ink); font-size: 13px; line-height: 1.65; margin: 7px 0 0; }
.dictation-footer { justify-content: flex-end; }
.dictation-footer #dictation-next { margin-right: auto; }
@media (max-width: 820px) { .dictation-practice-layout { grid-template-columns: 1fr; } }
