/* Bunyod Inomov — Free IELTS Practice. Light design only (warm white), whatever the device's dark-mode setting. Spacious single column on phones, two columns on wide screens; warm white page, deep green headings and buttons, mint for cards and highlighted sections. */
:root {
  --bg: #fbfaf6;
  --surface: #f1f7f2;
  --card: #ffffff;
  --fg: #1d2420;
  --muted: #5b655f;
  --line: #e3e5dc;
  --head: #174d34;
  --accent: #1f6145;
  --accent-ink: #1a5a3e;
  --accent-hover: #15462f;
  --accent-soft: #e2f3e8;
  --on-accent: #ffffff;
  --mark: #fff0a3;
  --good: #1f7a4c;
  --bad: #b3362b;
  --bad-soft: #fbe9e7;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Inter", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.1rem, 1.4rem + 2.8vw, 3.3rem);
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.02em; color: var(--head); }
h1 { font-size: var(--step-3); font-weight: 700; }
h2 { font-size: var(--step-2); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 12px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }
.prose { max-width: 66ch; display: grid; gap: 1rem; }
.prose h2 { margin-top: 1.2rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.4rem; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--head); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.brand:hover { color: var(--head); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 0.85rem; letter-spacing: 0.02em; }
.brand small { font-weight: 500; font-size: 0.8rem; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; color: var(--fg); font-weight: 600; font-size: 0.98rem; padding: 6px 2px; }
.nav a[aria-current="page"] { color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav a.nav-cta { background: var(--accent-soft); color: var(--accent-ink); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 720px) {
  .nav { width: 100%; gap: 2px 14px; }
  .nav a { font-size: 0.95rem; }
}

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-family: var(--font-body); line-height: 1.2; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--accent-ink); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* Sections */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 60ch; }
.band-surface { background: var(--surface); }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.portrait { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 18px 50px rgba(6, 40, 22, 0.28); }
.score-card { position: absolute; right: 0; top: 6%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: grid; gap: 2px; box-shadow: 0 6px 24px rgba(10, 40, 25, 0.12); }
.score-card .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.score-card .score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--card); min-width: 0; }
.card-mint { background: var(--accent-soft); border-color: transparent; }
.card .tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.fact { display: grid; }
.fact b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 0.95rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 6px; padding-top: 14px; border-top: 3px solid var(--accent); }
.steps li::before { content: counter(s); font-family: var(--font-mono); font-weight: 600; color: var(--accent-ink); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.cta-band { background: var(--accent-soft); border-radius: 16px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cta-band > div { display: grid; gap: 6px; min-width: 0; max-width: 56ch; }

.article-list { display: grid; gap: 14px; }
.article-link { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--fg); }
.article-link:hover { border-color: var(--accent); color: var(--fg); }
.article-link h2 { font-size: var(--step-1); color: var(--accent-ink); }
.crumbs { font-size: var(--step--1); color: var(--muted); }
.crumbs a { color: var(--muted); }
.callout { border-left: 3px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 0 8px 8px 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 36px; background: var(--surface); margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-grid > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.foot-grid h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.foot-grid a { color: var(--fg); }
.foot-small { margin-top: 24px; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Free practice: passage left, questions right; tabs on phones */
.practice-intro { padding-block: 24px 16px; }
.pi-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-top: 8px; }
.pi-copy { display: grid; gap: 8px; max-width: 70ch; min-width: 0; }
.pi-copy h1 { font-size: var(--step-2); }
.timer-box { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; }
.timer-box .label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.timer { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums; min-width: 4.2ch; }
.timer.over { color: var(--bad); }
.btn-small { padding: 7px 14px; font-size: 0.9rem; }
.tabs { display: none; gap: 8px; padding-block: 8px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h, 0px)); background: var(--bg); z-index: 5; }
.tabs button { flex: 1; font: inherit; font-weight: 700; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 24px; }
.pane { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); min-width: 0; }
.passage { display: grid; gap: 14px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }
.passage h2 { font-size: var(--step-2); }
.passage .sub { font-size: var(--step--1); font-style: italic; }
.passage p { line-height: 1.7; }
.para { font-family: var(--font-display); color: var(--accent-ink); margin-right: 4px; }
.passage .hl { background: var(--mark); border-radius: 3px; box-shadow: 0 0 0 3px var(--mark); transition: background 0.3s; }
.questions { display: grid; gap: 28px; }
.qgroup { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.qgroup legend { padding: 0; margin-bottom: 4px; }
.tfng-key { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-size: 0.95rem; }
.tfng-key dt { font-weight: 700; font-family: var(--font-mono); font-size: 0.85rem; padding-top: 2px; }
.tfng-key dd { margin: 0; color: var(--muted); }
.q { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.qn { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; padding: 0 4px; border: 1.5px solid var(--fg); border-radius: 4px; font-family: var(--font-mono); font-size: 0.8rem; margin-right: 6px; vertical-align: 1px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label { cursor: pointer; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 0.95rem; user-select: none; }
.choices.letters label { min-width: 44px; text-align: center; }
.choices input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.choices input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.choices input:disabled + label { cursor: default; }
.notes { border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: grid; gap: 8px; }
.notes h3 { font-size: 1.05rem; text-align: center; }
.notes ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 4px; }
.notes li.q { display: list-item; border-top: 0; padding: 8px 0; line-height: 2.1; }
.notes input { font: inherit; width: 9.5em; max-width: 100%; padding: 3px 8px; border: 1.5px solid var(--muted); border-radius: 4px; background: var(--bg); color: var(--fg); }
.notes input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.notes li.q .feedback { line-height: 1.6; }
.is-right .qn { background: var(--good); border-color: var(--good); color: var(--bg); }
.is-wrong .qn { background: var(--bad); border-color: var(--bad); color: var(--bg); }
.feedback { display: grid; gap: 4px; background: var(--surface); border-radius: 8px; padding: 10px 14px; font-size: 0.95rem; }
.is-right .feedback b { color: var(--good); }
.is-wrong .feedback b { color: var(--bad); }
.link-btn { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.submit-row { display: flex; gap: 12px; flex-wrap: wrap; }
.result { border-radius: 12px; background: var(--accent-soft); padding: 18px 20px; display: grid; gap: 6px; }
.result-score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--accent-ink); line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .tabs { display: flex; }
  .split { grid-template-columns: 1fr; }
  .passage { position: static; max-height: none; overflow: visible; }
  body.show-q .passage { display: none; }
  body:not(.show-q) .questions { display: none; }
}
@media (max-width: 720px) {
  .site-head { position: static; }
  .tabs { top: env(safe-area-inset-top, 0px); }
}
.card .btn { justify-self: start; margin-top: 4px; }
.card-link { text-decoration: none; color: var(--fg); }
.card-link:hover { border-color: var(--accent); color: var(--fg); }
.card-link .more { font-weight: 700; color: var(--accent-ink); }

/* Platform: account, leaderboard, library */
.small { font-size: var(--step--1); }
.h3 { font-size: var(--step-1); }
.save-note { font-size: 0.95rem; background: var(--accent-soft); color: var(--fg); border-radius: 8px; padding: 8px 12px; }
.form-error { color: var(--bad); background: var(--bad-soft); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.auth { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.auth-copy { display: grid; gap: 14px; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.auth-box { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; background: var(--card); min-width: 0; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } }
.seg { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.seg button { flex: 1; font: inherit; font-weight: 700; border: 0; border-radius: 7px; padding: 9px 12px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--bg); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(10, 40, 25, 0.12); }
.seg-inline { display: inline-flex; margin-bottom: 12px; }
.seg-inline button { flex: 0 0 auto; }
.form { display: grid; gap: 6px; }
.form label { font-weight: 600; font-size: 0.95rem; margin-top: 8px; }
.form input, .form select { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); width: 100%; }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .btn { margin-top: 14px; justify-content: center; }
.dash-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-head > div { display: grid; gap: 6px; min-width: 0; }
.dash-grid { margin-top: 28px; }
.bars { display: grid; gap: 12px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; }
.bar-track { height: 8px; background: var(--surface); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar-fill { height: 100%; background: var(--accent); border-radius: 99px; }
.num { font-variant-numeric: tabular-nums; }
.table-wrap { background: var(--card); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.table th { text-align: left; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .strong { font-weight: 700; color: var(--accent-ink); }
.board tr.me td { background: var(--accent-soft); }
.board .rank { font-family: var(--font-mono); color: var(--muted); width: 3em; }
.pill { display: inline-block; margin-left: 8px; font-size: 0.75rem; padding: 1px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.test-list .soon { border-style: dashed; }
@media (max-width: 560px) {
  .board th:nth-child(6), .board td:nth-child(6) { display: none; }
  .board td:nth-child(2) { white-space: nowrap; }
  .table th, .table td { padding: 10px; }
}
.table td.num { white-space: nowrap; }

/* Brief v2: header sign-in link, home, skill cards, writing */
.nav-signin { font-weight: 600; color: var(--accent-ink) !important; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px !important; }
.nav-signin:hover { border-color: var(--accent); }
.hero-home { background: var(--accent-soft); margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: calc(env(safe-area-inset-top, 0px) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(48px, 8vw, 96px); }
.hero-center { text-align: center; justify-items: center; max-width: 760px; margin-inline: auto; }
.hero-center .lead { max-width: 52ch; }
.hero-center .btns { justify-content: center; }
.btn-big { padding: 16px 30px; font-size: 1.08rem; }
.skill-card { gap: 12px; }
.skill-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--card); display: grid; place-items: center; }
.skill-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.card-link h3 { color: var(--head); }
.why-item { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--accent-soft); }
.teacher { grid-template-columns: 160px 1fr; align-items: center; gap: 28px; padding: clamp(20px, 4vw, 36px); }
.teacher img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.teacher > div { display: grid; gap: 10px; min-width: 0; }
.more-link { font-weight: 700; }
@media (max-width: 640px) { .teacher { grid-template-columns: 1fr; } .teacher img { width: 120px; height: 120px; } }
.skill-tabs { margin-bottom: 20px; }
.questions .why { display: none; }
.questions.show-why .why { display: block; }
.questions.show-why .link-btn.why { display: inline; }
/* writing */
.task-box { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; background: var(--bg); }
.task-q { font-weight: 600; }
.chart-fig { margin: 0; display: grid; gap: 6px; }
.chart { width: 100%; height: auto; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis, .chart .legend { fill: var(--muted); font-size: 13px; font-family: var(--font-body); }
.chart .legend { fill: var(--fg); }
.chart .ln { fill: none; stroke-width: 3; }
.chart .pt { stroke: var(--card); stroke-width: 2; }
.chart .s1 { stroke: #1f6145; } .chart .pt.s1 { fill: #1f6145; }
.chart .s2 { stroke: #c27c0e; stroke-dasharray: 7 5; } .chart .pt.s2 { fill: #c27c0e; stroke-dasharray: none; }
.chart .s3 { stroke: #3d6fb6; stroke-dasharray: 2 5; stroke-linecap: round; } .chart .pt.s3 { fill: #3d6fb6; stroke-dasharray: none; }
.essay-label { font-weight: 700; color: var(--head); }
#essay { font: inherit; line-height: 1.7; width: 100%; min-height: 360px; resize: vertical; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); }
#essay:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.essay-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wc { font-weight: 600; font-variant-numeric: tabular-nums; }
.wc.ok { color: var(--good); }
.review { display: grid; gap: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: start; }
.checklist input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.model { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--card); }
.model summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); }
.model[open] summary { margin-bottom: 12px; }
@media (max-width: 600px) { .chart-fig { overflow-x: auto; } .chart { min-width: 560px; } }
.teacher { grid-template-columns: 1fr; max-width: 820px; }
