@font-face {
  font-family: "Noto Sans SC Local";
  src: url("assets/fonts/noto-sans-sc-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --red-900: #70151b;
  --red-800: #861b22;
  --red-700: #a3232b;
  --ink: #252a28;
  --muted: #626d68;
  --line: #d8dfdb;
  --paper: #fff;
  --canvas: #f5f6f3;
  --gold: #d4b675;
  --green: #496d5a;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  font-family: "Noto Sans SC Local", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "DengXian", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body.auth-pending:not(.auth-ready) { visibility: hidden; }
body.auth-unavailable main > :not(.auth-page-error) { display: none; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; font-size: 16px; line-height: 1.7; }
button, select { font: inherit; }
a { color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #26734e; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 10; top: -60px; left: 14px; padding: 8px 12px; color: #fff; background: var(--red-900); }
.skip-link:focus { top: 10px; }

.site-header { background: var(--paper); }
.header-inner, .nav-inner, .site-main, .footer-inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { display: block; width: min(440px, 52vw); height: auto; flex: 0 1 auto; }
.brand-divider { width: 1px; height: 34px; flex: 0 0 auto; background: #c8cfcb; }
.brand-title { color: var(--red-900); font-size: 22px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.header-note { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.account-control { min-width: 0; display: flex; align-items: center; gap: 14px; color: #48534d; font-size: 14px; }
.account-control > span { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-signout { padding: 6px 0; color: var(--red-800); background: transparent; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.account-signout:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-link { color: var(--red-800); text-decoration: none; }
.home-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.main-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 58px; display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.nav-inner a { min-width: 176px; position: relative; display: grid; place-items: center; padding: 0 22px; color: #48534d; font-size: 16px; font-weight: 650; text-decoration: none; transition: color 150ms ease, background-color 150ms ease; }
.nav-inner a::after { position: absolute; right: 22px; bottom: 0; left: 22px; height: 3px; background: var(--red-700); content: ""; transform: scaleX(0); transform-origin: center; transition: transform 180ms ease; }
.nav-inner a[aria-current="page"] { color: var(--red-800); }
.nav-inner a[aria-current="page"]::after { transform: scaleX(1); }
.nav-inner a:hover { color: var(--red-900); background: #f7f8f6; }

.hero { min-height: 310px; position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background-color: #421317; background-image: linear-gradient(90deg, rgba(44, 8, 12, .84), rgba(60, 10, 15, .52) 56%, rgba(34, 14, 12, .10)), url("assets/material-microstructure-banner.webp"); background-position: center, 54% 48%; background-size: cover; border-bottom: 3px solid var(--gold); }
.hero-inner { width: min(1160px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, .65fr); align-items: center; gap: clamp(28px, 6vw, 82px); margin-inline: auto; padding: 40px 0 44px; }
.hero-primary { min-width: 0; }
.hero-feature { max-width: 340px; justify-self: end; padding: 18px 20px 17px 22px; background: rgba(37, 7, 11, .86); border-left: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(20, 5, 7, .2); }
.hero-feature p { margin: 0 0 9px; color: #f5e7c9; font-size: 15px; font-weight: 650; }
.hero-feature h2 { margin: 0; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.4; }
.hero-feature > span { display: block; margin-top: 4px; color: #fff; font-size: 16px; line-height: 1.55; }
.hero-feature a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 0; color: #f5e7c9; font-size: 15px; font-weight: 650; text-decoration: none; text-underline-offset: 4px; }
.hero-feature a:hover { text-decoration: underline; }
.hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: 36px; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.hero-copy { max-width: 52ch; margin: 12px 0 0; color: #f5eeeb; font-size: 16px; font-weight: 500; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 18px; border: 1px solid transparent; border-radius: 4px; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.button-light { color: var(--red-900); background: #f5e7c9; border-color: #f5e7c9; }
.button-light:hover { background: #fff2d8; }
.button-outline { color: #fff; background: rgba(54, 11, 15, .26); border-color: rgba(255, 255, 255, .82); }
.button-outline:hover { background: rgba(255, 255, 255, .13); }
.site-main { padding-top: 34px; padding-bottom: 48px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 48px; }
.portal-section, .portal-aside, .practice-topics, .practice-workspace { min-width: 0; }
.portal-aside { padding-left: 32px; border-left: 1px solid var(--line); }
.section-heading { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2, .practice-topics h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.section-link { color: var(--red-800); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.topic-list { border-top: 1px solid var(--line); }
.topic-row { min-height: 78px; display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 16px; padding: 12px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 150ms ease; }
.topic-row:hover { background: #fff; }
.topic-body { min-width: 0; display: grid; gap: 4px; }
.topic-body strong { overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.topic-body small { overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.topic-count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.topic-arrow { color: var(--red-700); font-size: 20px; text-align: right; }
.test-promo { padding: 0 0 26px; border-bottom: 1px solid var(--line); }
.test-promo h2 { max-width: 15em; margin: 0; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.45; text-wrap: balance; }
.test-promo p { max-width: 42ch; margin: 10px 0 16px; color: #4e5954; font-size: 15px; text-wrap: pretty; }
.button-red { color: #fff; background: var(--red-700); }
.button-red:hover { background: var(--red-900); }
.button:disabled { color: #66716c; background: #e2e6e3; border-color: #e2e6e3; cursor: not-allowed; transform: none; }
.history-section { padding-top: 24px; }
.history-section .section-heading { min-height: 36px; margin-bottom: 10px; }
.history-section .section-heading h2 { font-size: 20px; }
.text-button { padding: 5px 0; color: var(--red-800); background: none; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { margin: 0; padding: 13px 0; color: var(--muted); font-size: 14px; }
.history-sync-status { margin: 8px 0 0; color: var(--red-800); font-size: 14px; }
.auth-page-error { max-width: 680px; margin: 32px auto; padding: 16px; color: var(--red-900); background: #fff; border: 1px solid #d9b8bb; }
.reference-section { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.reference-section .section-heading { margin-bottom: 10px; }
.reference-section .section-heading h2 { font-size: 21px; }
.reference-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--red-800); border-bottom: 1px solid var(--line); }
.reference-item { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 18px 17px; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.reference-item + .reference-item { border-left: 1px solid var(--line); }
.reference-item:hover { color: var(--red-800); background: #fff; }
.reference-item > span:first-child { min-width: 0; display: grid; gap: 5px; }
.reference-item strong { color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5; }
.reference-item > span:first-child > span { color: var(--muted); font-size: 14px; line-height: 1.65; }
.reference-arrow { flex: 0 0 auto; color: var(--red-800); font-size: 18px; }

.evergreen-study { padding: 48px 24px; background: #f1f3ef; border-block: 1px solid var(--line); }
.evergreen-study-inner { width: min(1160px, 100%); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .85fr); align-items: start; gap: clamp(32px, 4vw, 56px); margin-inline: auto; }
.evergreen-study-copy { min-width: 0; }
.evergreen-study h2 { max-width: 20ch; margin: 0; color: var(--ink); font-size: 38px; font-weight: 750; line-height: 1.3; text-wrap: balance; }
.evergreen-study-lead { max-width: 58ch; margin: 10px 0 22px; color: #3f4b45; font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.study-practices { display: grid; grid-template-columns: 1fr; gap: 0; }
.study-practice { min-width: 0; display: grid; grid-template-columns: minmax(145px, .45fr) minmax(0, 1fr); align-items: baseline; gap: 20px; padding: 14px 0; border-top: 1px solid #d5dcd6; }
.study-practice:last-child { border-bottom: 1px solid #d5dcd6; }
.study-practice h3 { margin: 0; color: var(--red-900); font-size: 20px; font-weight: 700; line-height: 1.4; }
.study-practice p { margin: 0; color: #3f4b45; font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.study-practice-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 7px 0; color: var(--red-800); font-size: 17px; font-weight: 700; text-decoration: none; text-underline-offset: 4px; }
.study-practice-link:hover { text-decoration: underline; }
.study-practice-link span { transition: transform 150ms ease; }
.study-practice-link:hover span { transform: translateX(2px); }
.study-visual { min-width: 0; position: relative; align-self: stretch; margin: 0; }
.study-visual::after { position: absolute; right: -8px; bottom: -8px; width: 48%; height: 3px; background: var(--red-700); content: ""; }
.study-visual img { width: 100%; height: 100%; min-height: 330px; max-height: 430px; display: block; object-fit: cover; object-position: 60% center; }

.learning-path-section { padding: 54px 24px 58px; background: #ecefeb; border-top: 1px solid #d9dfda; }
.learning-path-inner { width: min(1000px, 100%); margin-inline: auto; }
.path-heading { max-width: 680px; margin: 0 0 32px 84px; }
.path-heading h2 { margin: 0; color: var(--ink); font-size: 38px; font-weight: 750; line-height: 1.3; text-wrap: balance; }
.learning-path { --path-progress: 0; position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.learning-path::before, .learning-path::after { position: absolute; top: 31px; bottom: 31px; left: 29px; width: 2px; content: ""; }
.learning-path::before { background: #cbd3cd; }
.learning-path::after { background: var(--red-700); transform: scaleY(var(--path-progress)); transform-origin: top; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.path-stage { min-height: 128px; position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(205px, auto); align-items: center; gap: 28px; padding: 20px 18px 20px 0; border-bottom: 1px solid #d3dad4; }
.path-stage:last-child { border-bottom: 0; }
.path-marker { z-index: 1; width: 60px; aspect-ratio: 1; display: grid; place-items: center; color: #59645e; background: #ecefeb; border: 1px solid #bbc5be; border-radius: 50%; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.path-copy { min-width: 0; }
.path-copy h3 { margin: 0; color: #303a35; font-size: 24px; font-weight: 700; line-height: 1.4; transition: color 220ms ease; }
.path-copy p { max-width: 52ch; margin: 8px 0 0; color: #525e57; font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.path-stage.is-current .path-marker { color: #fff; background: var(--red-800); border-color: var(--red-800); }
.path-stage.is-current .path-copy h3 { color: var(--red-900); }
.path-link { justify-self: end; padding: 9px 0 9px 12px; color: var(--red-800); font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.path-link span, .path-source span { display: inline-block; margin-left: 4px; transition: transform 180ms ease; }
.path-link:hover span, .path-source:hover span { transform: translateX(4px); }
.path-link:hover, .path-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.path-source { display: inline-block; margin: 24px 0 0 88px; color: var(--red-800); font-size: 15px; font-weight: 650; text-decoration: none; }

.page-main { min-height: calc(100vh - 190px); }
.page-heading { max-width: 68ch; margin-bottom: 28px; }
.page-heading h1 { margin: 0; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.page-heading p { margin: 8px 0 0; color: #505a55; font-size: 16px; text-wrap: pretty; }
.practice-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.8fr); gap: 36px; }
.practice-topics { padding-right: 24px; border-right: 1px solid var(--line); }
.practice-topics h2 { margin-bottom: 14px; font-size: 20px; }
.practice-topics .topic-row { min-height: 66px; grid-template-columns: minmax(0, 1fr) 20px; gap: 8px; padding-inline: 2px; }
.practice-topics .topic-row:hover { padding-inline: 7px; }
.practice-topics .topic-body strong { font-size: 18px; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; }
.practice-topics .topic-body small { font-size: 15px; }
.practice-topics .topic-row.is-active { background: #e9efea; box-shadow: inset 3px 0 var(--red-800); padding-inline: 12px 7px; }
.practice-topics .topic-row.is-active strong { color: var(--red-900); }
.practice-workspace .section-heading { margin-bottom: 16px; }
.practice-workspace .section-heading h2 { font-size: 23px; }
.practice-workspace .section-heading .text-button { flex-shrink: 0; }
.practice-save-state { margin: -7px 0 14px; color: #4f6155; font-size: 14px; }
.practice-save-state.is-unavailable { color: var(--red-800); }
.practice-workspace .question-meta { flex-wrap: wrap; }
.practice-workspace .question-count { font-size: 16px; }
.practice-workspace .question-type { font-size: 14px; }
.practice-answered { margin-left: auto; color: #4f5d54; font-size: 15px; font-variant-numeric: tabular-nums; }
.practice-workspace .question-stem { font-size: 22px; }
.practice-workspace .answer-option span { font-size: 18px; line-height: 1.75; }
.practice-workspace .feedback-status { font-size: 18px; }
.practice-workspace .feedback-answer, .practice-workspace .feedback-explanation { font-size: 17px; }
.practice-workspace .learning-notes-title, .practice-workspace .source-link { font-size: 15px; }
.practice-navigation { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.practice-navigation .button { min-width: 124px; }
.practice-workspace .question-panel { scroll-margin-top: 20px; }
.practice-summary > .button { margin: 8px 12px 0 0; }
.practice-page-heading { position: relative; min-height: 90px; display: flex; flex-direction: column; justify-content: center; padding-left: 18px; overflow: hidden; border-left: 2px solid var(--red-800); }
.practice-page-heading::after { position: absolute; z-index: 0; inset: -22px 0 -22px 29%; content: ""; background: linear-gradient(90deg, var(--canvas) 8%, rgba(245,246,243,.9) 27%, rgba(245,246,243,.12) 100%), url("assets/material-microstructure-banner.webp") center 45% / cover no-repeat; opacity: .32; pointer-events: none; }
.practice-page-heading h1 { position: relative; z-index: 1; width: fit-content; }
.practice-page-heading p { position: relative; }
.practice-layout { align-items: start; gap: 32px; }
.practice-topics { position: sticky; top: 18px; align-self: start; }
.practice-topics .topic-list { border-top: 1px solid var(--line); }
.practice-topics .topic-row { min-height: 68px; }
.practice-workspace { scroll-margin-top: 16px; }
.practice-workspace .section-heading { align-items: center; margin-bottom: 0; padding: 1px 0 10px; border-bottom: 1px solid var(--line); }
.practice-workspace .section-heading h2 { max-width: 70%; overflow-wrap: anywhere; }
.practice-save-state { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: #44634f; font-size: 14px; white-space: nowrap; }
.practice-save-state::before { width: 7px; height: 7px; content: ""; background: #4b795c; border-radius: 50%; }
.practice-save-state.is-unavailable { color: var(--red-800); }
.practice-save-state.is-unavailable::before { background: var(--red-700); }
.practice-overview { position: sticky; z-index: 3; top: 0; margin: 0 0 18px; padding: 12px 0 10px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.practice-progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #38443e; font-size: 14px; font-weight: 650; }
.practice-progress-heading .text-button { min-height: 30px; display: inline-flex; align-items: center; padding: 3px 8px; }
.practice-progress-heading .text-button:disabled { color: var(--muted); cursor: default; }
.practice-progress-track { height: 3px; overflow: hidden; background: #dbe1dc; }
.practice-progress-track > span { width: 100%; height: 100%; display: block; background: var(--red-700); transform: scaleX(0); transform-origin: left center; transition: transform 230ms cubic-bezier(.23, 1, .32, 1); }
.practice-question-map { border-bottom: 1px solid var(--line); }
.practice-question-map > summary { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #39463f; font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; }
.practice-question-map > summary::-webkit-details-marker { display: none; }
.practice-map-summary-end { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 500; }
.practice-map-chevron { width: 16px; height: 16px; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.practice-question-map[open] .practice-map-chevron { transform: rotate(180deg); }
.practice-question-map > summary:focus-visible, .practice-map-item:focus-visible, .practice-map-page:focus-visible { outline: 3px solid #26734e; outline-offset: 2px; }
.practice-map-panel { padding: 0 0 12px; }
.practice-map-legend { display: flex; flex-wrap: wrap; gap: 7px 15px; padding: 0 0 9px; color: #56625b; font-size: 14px; }
.practice-map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.practice-map-legend span::before { width: 8px; height: 8px; content: ""; background: #fff; border: 1px solid #bbc6be; }
.practice-map-legend .map-key-correct::before { background: var(--green); border-color: var(--green); }
.practice-map-legend .map-key-incorrect::before { background: var(--red-700); border-color: var(--red-700); }
.practice-map-legend .map-key-draft::before { background: #f2e7cd; border-color: #ad8850; }
.practice-map-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.practice-map-item { width: 100%; min-width: 0; min-height: 36px; aspect-ratio: 1.12; display: grid; place-items: center; padding: 0; color: #404a44; background: #fff; border: 1px solid #cbd4ce; border-radius: 2px; font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease; }
.practice-map-item.is-correct { color: #fff; background: var(--green); border-color: var(--green); }
.practice-map-item.is-incorrect { color: #fff; background: var(--red-700); border-color: var(--red-700); }
.practice-map-item.is-draft { color: #463919; background: #f2e7cd; border-color: #ad8850; }
.practice-map-item[aria-current="step"] { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--red-800); font-weight: 750; }
.practice-map-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding-top: 10px; color: var(--muted); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.practice-map-page { justify-self: start; padding: 4px 1px; color: var(--red-800); background: transparent; border: 0; font: inherit; cursor: pointer; }
.practice-map-page:last-child { justify-self: end; }
.practice-map-page:disabled { color: #8a938d; cursor: default; }
.practice-page-heading + .practice-layout { margin-top: 10px; }
.practice-workspace .practice-mount { min-height: 252px; }
.practice-welcome { position: relative; min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 36px 48px; overflow: hidden; background: linear-gradient(90deg, rgba(250,251,249,.97) 0%, rgba(250,251,249,.89) 62%, rgba(250,251,249,.5) 100%), url("assets/campus-study-group.webp") center 42% / cover no-repeat; border-top: 2px solid var(--red-800); border-bottom: 1px solid var(--line); }
.practice-welcome::after { position: absolute; right: 24px; bottom: -38px; color: rgba(112,21,27,.08); content: "知行"; font-family: "Noto Sans SC Local", sans-serif; font-size: 120px; font-weight: 800; line-height: 1; pointer-events: none; writing-mode: vertical-rl; }
.practice-welcome h3 { position: relative; z-index: 1; margin: 0; color: var(--ink); font-size: 28px; font-weight: 700; }
.practice-welcome > p { position: relative; z-index: 1; margin: 8px 0 0; color: #414e46; font-size: 16px; }
.practice-start-steps { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 20px; margin: 25px 0; padding: 0; color: #4d5a52; font-size: 14px; list-style: none; counter-reset: practice-step; }
.practice-start-steps li { display: inline-flex; align-items: center; gap: 8px; counter-increment: practice-step; }
.practice-start-steps li::before { color: var(--red-800); content: "0" counter(practice-step); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.practice-welcome .button { position: relative; z-index: 1; }
.question-panel[data-motion="next"] { animation: practice-enter-next 140ms cubic-bezier(.23, 1, .32, 1) both; }
.question-panel[data-motion="previous"] { animation: practice-enter-previous 140ms cubic-bezier(.23, 1, .32, 1) both; }
.practice-workspace .answer-option input:focus-visible + span { color: var(--red-900); }
@media (hover: hover) and (pointer: fine) {
  .practice-map-item:hover:not([aria-current="step"]) { border-color: var(--red-700); transform: translateY(-1px); }
  .practice-topics .topic-row:not(.is-active):hover { background: #fff; }
}
.practice-summary { background: linear-gradient(90deg, rgba(250,251,249,.97), rgba(250,251,249,.8)), url("assets/material-microstructure-banner.webp") center / cover no-repeat; }
@keyframes practice-enter-next { from { opacity: .82; transform: translateX(5px); } to { opacity: 1; transform: translateX(0); } }
@keyframes practice-enter-previous { from { opacity: .82; transform: translateX(-5px); } to { opacity: 1; transform: translateX(0); } }
.test-setup { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; padding: 18px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.test-rules { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #45514b; font-size: 14px; }
.test-rules span { white-space: nowrap; }
.field-label { display: block; margin-bottom: 5px; color: #38433e; font-size: 14px; font-weight: 600; }
.test-setup .field-label { margin: 0; align-self: center; }
select { width: min(340px, 100%); min-height: 46px; padding: 8px 34px 8px 12px; color: var(--ink); background: #fff; border: 1px solid #b9c4be; border-radius: 4px; font-size: 15px; }
.test-setup .button { min-width: 178px; }
.test-meta { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
.test-availability { grid-column: 1 / -1; margin: 2px 0 0; color: var(--red-800); font-size: 14px; }
.test-workspace { padding-top: 24px; }
.practice-mount { min-height: 56px; }
.question-panel { padding: 16px 0 0; border-top: 1px solid var(--line); }
.question-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.question-count { color: var(--red-800); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.question-type { padding: 3px 8px; color: #3e654f; background: #e9f0eb; border-radius: 3px; font-size: 14px; font-weight: 600; }
.answer-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.question-stem { max-width: 68ch; margin: 0 0 18px; padding: 0; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.65; text-wrap: pretty; }
.answer-option { min-height: 50px; display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 13px; color: #35403b; background: #fff; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.answer-option:hover { border-color: #8ba493; background: #fbfcfb; }
.answer-option:has(input:checked) { border-color: var(--green); background: #edf3ef; }
.answer-option input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--green); }
.answer-option span { min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.answer-submit, .next-question { min-width: 152px; margin-top: 18px; }
.answer-error { margin: 9px 0 0; color: var(--red-800); font-size: 14px; }
.answer-feedback { margin-top: 18px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.feedback-status { display: block; margin-bottom: 5px; font-size: 16px; font-weight: 700; }
.is-correct .feedback-status { color: var(--green); }
.is-wrong .feedback-status { color: var(--red-800); }
.feedback-answer, .feedback-explanation { margin: 6px 0; color: #39443f; font-size: 15px; text-wrap: pretty; }
.learning-notes { display: grid; grid-template-columns: 1fr; gap: 3px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.learning-notes-title { margin-top: 4px; color: #315846; font-size: 14px; }
.learning-notes .feedback-explanation { margin: 2px 0 6px; line-height: 1.8; }
.source-link { display: inline-block; margin-top: 6px; color: var(--red-800); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.practice-summary, .test-summary { padding: 18px 0; border-top: 1px solid var(--line); }
.practice-summary h3, .test-summary h3 { margin: 0; font-size: 24px; font-weight: 700; }
.summary-score { margin: 6px 0; color: var(--red-800); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary-topic, .all-correct-note { color: var(--muted); font-size: 15px; }
.summary-back { display: inline-block; margin-top: 10px; }
.mock-test-form { padding-top: 4px; }
.mock-question { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.mock-question .question-meta { margin-bottom: 12px; }
.mock-question .question-stem { margin-bottom: 14px; font-size: 18px; }
.test-submit { min-width: 168px; margin-top: 22px; }
.test-summary { border-bottom: 1px solid var(--line); }
.test-result { padding: 18px 0; border-bottom: 1px solid var(--line); }
.test-result .question-count { margin: 0 0 7px; }
.result-stem { margin: 0 0 8px; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.65; text-wrap: pretty; }

.test-briefing { max-width: 920px; margin: 32px auto 0; border-top: 2px solid var(--red-800); border-bottom: 1px solid var(--line); }
.briefing-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0 11px; border-bottom: 1px solid var(--line); }
.briefing-heading h2 { margin: 0; color: var(--ink); font-size: 21px; font-weight: 700; }
.briefing-heading > span { color: var(--muted); font-size: 14px; }
.briefing-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.briefing-facts > div { min-width: 0; display: grid; gap: 4px; padding: 0 16px; border-left: 1px solid var(--line); }
.briefing-facts > div:first-child { padding-left: 0; border-left: 0; }
.briefing-facts dt { color: var(--muted); font-size: 14px; }
.briefing-facts dd { margin: 0; color: var(--red-900); font-size: 19px; font-weight: 700; }
.briefing-rules { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.briefing-rules p { margin: 0; color: #4e5954; font-size: 14px; line-height: 1.7; }
.briefing-rules strong { color: var(--ink); font-weight: 600; }
.briefing-actions { display: flex; align-items: center; gap: 18px; padding: 18px 0 20px; }
.briefing-actions .test-availability { margin: 0; }

.exam-main { width: min(1200px, calc(100% - 48px)); margin-inline: auto; padding: 28px 0 56px; }
.exam-title-row { margin-bottom: 18px; }
.exam-title-row h1 { margin: 0; color: var(--ink); font-size: 28px; font-weight: 700; line-height: 1.4; }
.exam-title-row p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.exam-monitor { position: sticky; z-index: 4; top: 0; display: grid; grid-template-columns: 170px 190px minmax(180px, 1fr); align-items: center; gap: 18px; margin-bottom: 22px; padding: 12px 18px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.monitor-time, .monitor-answered { display: grid; gap: 2px; }
.monitor-time > span, .monitor-answered > span, .progress-label { color: var(--muted); font-size: 14px; }
.monitor-time strong { color: var(--red-900); font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.monitor-time strong.is-low-time { color: #b4232b; }
.monitor-answered strong { color: var(--ink); font-size: 19px; font-variant-numeric: tabular-nums; }
.monitor-progress { min-width: 0; display: grid; gap: 7px; }
.progress-label { display: flex; align-items: center; justify-content: space-between; }
.progress-track { height: 5px; overflow: hidden; background: #e3e8e4; }
.progress-track > span { width: 0; height: 100%; display: block; background: var(--green); transition: width 180ms ease-out; }
.exam-layout { display: grid; grid-template-columns: minmax(0, 1fr) 248px; align-items: start; gap: 32px; }
.exam-form { min-width: 0; }
.exam-questions { border-bottom: 1px solid var(--line); }
.exam-question { scroll-margin-top: 112px; padding: 21px 0 23px; border-top: 1px solid var(--line); }
.exam-question-meta { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.exam-question-number { color: var(--red-800); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.exam-answer-fieldset .question-stem { margin-bottom: 12px; font-size: 18px; }
.exam-answer-fieldset .answer-option { margin-top: 7px; }
.answer-sheet { position: sticky; top: 112px; padding: 16px 16px 18px; background: #fff; border-top: 2px solid var(--red-800); border-bottom: 1px solid var(--line); }
.answer-sheet h2 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 700; }
.answer-sheet > p { display: flex; align-items: center; gap: 7px; margin: 7px 0 13px; color: var(--muted); font-size: 14px; }
.answer-state-key { width: 9px; height: 9px; background: var(--green); }
.answer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.answer-nav-item { width: 100%; min-height: 36px; aspect-ratio: 1; display: grid; place-items: center; padding: 0; color: #4c5751; background: #fff; border: 1px solid #cbd4ce; font: inherit; font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer; }
.answer-nav-item:hover { border-color: var(--red-700); }
.answer-nav-item.is-answered { color: #fff; background: var(--green); border-color: var(--green); }
.answer-sheet-submit { width: 100%; margin-top: 17px; }
.exam-submit-mobile { display: none; }
.exam-empty { max-width: 620px; margin: 50px auto; padding: 30px 0; border-top: 1px solid var(--line); }
.exam-empty h2 { margin: 0; font-size: 22px; }
.exam-empty p { margin: 8px 0 18px; color: var(--muted); }
.submit-dialog { width: min(460px, calc(100% - 32px)); padding: 0; color: var(--ink); border: 0; box-shadow: 0 14px 44px rgba(30, 38, 33, .22); }
.submit-dialog::backdrop { background: rgba(23, 31, 27, .5); }
.submit-dialog form { padding: 24px; }
.submit-dialog h2 { margin: 0; font-size: 22px; font-weight: 700; }
.submit-dialog p { margin: 10px 0 20px; color: #4e5954; line-height: 1.7; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; }
.button-quiet { color: var(--red-800); background: #fff; border-color: #c8d0cb; }
.button-quiet:hover { background: #f3f5f3; }
.exam-result-summary { margin-bottom: 28px; padding: 23px 26px; background: #f0f3f0; border-top: 3px solid var(--red-800); }
.exam-result-summary h2 { margin: 0; font-size: 24px; font-weight: 700; }
.exam-result-score { margin: 5px 0; color: var(--red-900); font-size: 44px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.exam-result-score span { font-size: 18px; }
.exam-result-detail { margin: 5px 0; color: #4e5954; font-size: 14px; }
.exam-expired-note { color: var(--red-800); font-weight: 700; }
.exam-result-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.review-heading { margin: 28px 0 10px; font-size: 23px; font-weight: 700; }
.exam-result-summary ~ .test-result-list { margin-top: 24px; }
.test-result { padding: 18px 0; border-bottom: 1px solid var(--line); }
.test-result:first-child { border-top: 1px solid var(--line); }
.test-result .feedback-answer { margin: 6px 0; color: #39443f; font-size: 15px; }
.exam-result-summary .exam-result-links .button { min-width: 128px; }
.answer-feedback .learning-notes { max-width: 72ch; }
.history-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.history-row { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.history-details { min-width: 0; display: grid; gap: 2px; }
.history-details strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.history-details span { color: var(--muted); font-size: 14px; }
.history-score { flex: 0 0 auto; color: var(--red-800); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.site-footer { color: #f3f0e9; background-color: #252c29; background-image: linear-gradient(90deg, rgba(25, 31, 28, .78), rgba(34, 31, 28, .56)), url("assets/footer-microstructure.webp"); background-position: center 48%; background-size: cover; border-top: 2px solid var(--gold); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: flex-start; font-size: 16px; font-weight: 600; }

.login-main { width: min(100% - 48px, 520px); min-height: calc(100vh - 202px); display: grid; align-content: center; margin-inline: auto; padding-block: 48px; }
.login-panel { padding: 32px 36px; background: #fff; border-top: 3px solid var(--red-700); }
.login-panel h1 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.35; }
.login-tabs { display: flex; gap: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.login-tabs button { padding: 8px 2px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #505a55; font: inherit; font-weight: 650; cursor: pointer; }
.login-tabs button[aria-pressed="true"] { border-bottom-color: var(--red-700); color: var(--red-700); }
.login-tabs button:focus-visible { outline: 3px solid #26734e; outline-offset: 3px; }
.login-tabs button:disabled { cursor: wait; }
.login-intro { margin: 8px 0 24px; color: #505a55; font-size: 16px; }
.login-hint { color: #505a55; font-size: 14px; }
#login-form { display: grid; gap: 9px; }
#login-form[hidden], .login-field[hidden] { display: none; }
.login-field { display: grid; gap: 7px; }
#login-form label { margin-top: 6px; color: #38433e; font-size: 15px; font-weight: 650; }
#login-form input { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #aeb9b2; border-radius: 3px; font: inherit; }
#login-form input:focus-visible { outline: 3px solid #26734e; outline-offset: 2px; }
.login-status { min-height: 24px; margin: 5px 0 0; color: var(--red-800); font-size: 14px; }
.login-status[data-kind="pending"] { color: #45514b; }
.login-submit { width: 100%; margin-top: 4px; }
.login-submit:disabled { cursor: wait; opacity: .7; }

@media (min-width: 761px) and (max-width: 960px) {
  .evergreen-study-inner { grid-template-columns: 1fr; gap: 24px; }
  .study-visual img { height: auto; min-height: 0; max-height: 360px; aspect-ratio: 2.1; }
}

@media (max-width: 760px) {
  .header-inner, .nav-inner, .site-main, .footer-inner, .hero-inner { width: min(100% - 28px, 600px); }
  .header-inner { min-height: 72px; gap: 8px; }
  .brand { gap: 9px; }
  .brand img { width: min(52vw, 220px); }
  .brand-divider { height: 28px; }
  .brand-title { font-size: 17px; }
  .account-control { gap: 8px; font-size: 14px; }
  .account-control > span { max-width: 120px; }
  .header-note { display: none; }
  .home-link { display: none; }
  .nav-inner { width: 100%; min-height: 52px; gap: 0; padding-inline: 8px; }
  .nav-inner a { min-width: 0; flex: 1; padding-inline: 6px; font-size: 15px; }
  .nav-inner a::after { right: 22%; left: 22%; height: 2px; }
  .hero { min-height: 276px; background-position: center, 59% center; }
  .hero-inner { grid-template-columns: 1fr; gap: 19px; padding: 28px 0 30px; }
  .hero-feature { max-width: none; justify-self: stretch; padding: 14px 16px 13px; border-top: 1px solid rgba(245, 231, 201, .55); border-left: 2px solid var(--gold); }
  .hero-feature p { margin-bottom: 5px; }
  .hero-feature h2 { font-size: 21px; }
  .hero-feature a { margin-top: 8px; }
  .hero h1 { max-width: 15em; font-size: 29px; }
  .hero-copy { max-width: 32ch; font-size: 15px; }
  .site-main { padding-top: 25px; padding-bottom: 34px; }
  .reference-section { margin-top: 30px; padding-top: 20px; }
  .reference-list { grid-template-columns: 1fr; gap: 12px; }
  .reference-item { padding-block: 10px; }
  .evergreen-study { padding: 34px 14px 38px; }
  .evergreen-study-inner { width: min(100% - 28px, 600px); grid-template-columns: 1fr; gap: 22px; }
  .evergreen-study h2 { font-size: 31px; }
  .evergreen-study-lead { margin: 8px 0 16px; font-size: 16px; }
  .study-practice { grid-template-columns: minmax(105px, .5fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .study-practice h3 { font-size: 18px; }
  .study-practice p { font-size: 16px; }
  .study-practice-link { margin-top: 14px; }
  .study-visual { width: 100%; justify-self: stretch; }
  .study-visual img { min-height: 0; max-height: none; aspect-ratio: 1.55; }
  .learning-path-section { padding: 38px 14px 42px; }
  .path-heading { margin: 0 0 22px 53px; }
  .path-heading h2 { font-size: 28px; }
  .learning-path::before, .learning-path::after { top: 23px; bottom: 23px; left: 19px; width: 2px; }
  .path-stage { min-height: 122px; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 13px; padding: 17px 0; }
  .path-marker { width: 40px; font-size: 14px; }
  .path-copy h3 { font-size: 19px; }
  .path-copy p { font-size: 15px; }
  .path-link { grid-column: 2; justify-self: start; margin-top: 4px; padding: 4px 0; font-size: 15px; }
  .path-source { margin: 18px 0 0 53px; font-size: 15px; }
  .portal-grid { grid-template-columns: 1fr; gap: 28px; }
  .portal-aside { padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .section-heading h2 { font-size: 22px; }
  .topic-row { min-height: 72px; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 10px; padding-inline: 0; }
  .topic-row:hover { background: #fff; }
  .topic-body strong { font-size: 15px; }
  .topic-body small { font-size: 14px; }
  .topic-count { font-size: 14px; }
  .page-main { min-height: calc(100vh - 174px); }
  .page-heading { margin-bottom: 22px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 15px; }
  .practice-layout { grid-template-columns: 1fr; gap: 24px; }
  .practice-topics { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-topics h2 { font-size: 19px; }
  .practice-topics .topic-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .practice-topics .topic-row { min-height: 58px; }
  .practice-topics .topic-body strong { font-size: 17px; }
  .practice-topics .topic-body small { font-size: 14px; }
  .practice-topics { position: static; }
  .practice-workspace .section-heading h2 { font-size: 21px; }
  .practice-page-heading { min-height: 76px; }
  .practice-page-heading::after { left: 10%; opacity: .2; }
  .practice-workspace .practice-mount { min-height: 200px; }
  .practice-welcome { min-height: 248px; padding: 28px 24px; }
  .practice-welcome h3 { font-size: 23px; }
  .practice-welcome::after { right: 10px; font-size: 84px; }
  .practice-map-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .practice-map-item { font-size: 13px; }
  .practice-map-grid { gap: 5px; }
  .practice-map-item { aspect-ratio: 1; }
  .practice-save-state { font-size: 14px; }
  .practice-overview { top: 0; }
  .practice-workspace .question-stem { font-size: 20px; }
  .practice-workspace .answer-option span { font-size: 17px; }
  .practice-workspace .feedback-explanation, .practice-workspace .feedback-answer { font-size: 16px; }
  .practice-navigation .button { min-width: 0; flex: 1; padding-inline: 12px; }
  .test-setup { grid-template-columns: 1fr; gap: 10px; }
  .briefing-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 15px; }
  .briefing-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .briefing-rules { grid-template-columns: 1fr; gap: 6px; }
  .test-rules { display: grid; gap: 5px; }
  .test-rules span { white-space: normal; }
  .test-setup .field-label { align-self: auto; }
  .test-setup select, .test-setup .button { width: 100%; }
  .test-meta { margin: 0; }
  .question-stem { font-size: 18px; }
  .answer-option span { font-size: 15px; }
  .mock-question .question-stem { font-size: 17px; }
  .exam-main { width: min(100% - 28px, 600px); padding: 20px 0 36px; }
  .exam-title-row { margin-bottom: 14px; }
  .exam-title-row h1 { font-size: 24px; }
  .exam-monitor { top: 0; grid-template-columns: 1fr 1fr; gap: 7px 16px; margin: 0 -14px 18px; padding: 9px 14px 11px; }
  .monitor-time strong { font-size: 21px; }
  .monitor-answered strong { font-size: 17px; }
  .monitor-progress { grid-column: 1 / -1; }
  .exam-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .answer-sheet { position: static; order: -1; padding: 13px 12px 14px; }
  .answer-sheet h2 { font-size: 17px; }
  .answer-sheet > p { margin: 5px 0 10px; }
  .answer-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; }
  .answer-nav-item { min-height: 36px; font-size: 12px; }
  .answer-sheet-submit { display: none; }
  .exam-submit-mobile { width: 100%; display: inline-flex; margin-top: 18px; }
  .exam-question { scroll-margin-top: 124px; padding-block: 18px; }
  .exam-answer-fieldset .question-stem { font-size: 17px; }
  .exam-result-summary { padding: 19px 17px; }
  .exam-result-score { font-size: 38px; }
  .exam-result-links .button { flex: 1 1 140px; }
  .submit-dialog form { padding: 20px 17px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
  .footer-inner { min-height: 80px; font-size: 14px; }
  .login-main { width: min(100% - 28px, 520px); min-height: calc(100vh - 174px); padding-block: 30px; }
  .login-panel { padding: 24px 18px; }
  .login-panel h1 { font-size: 27px; }
  .site-footer { background-position: 58% center; }
}

@media (max-width: 390px) {
  .practice-topics .topic-list { grid-template-columns: 1fr; }
}

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