:root {
  --bg: #efe4d2;
  --paper: rgba(255, 250, 242, 0.94);
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(83, 62, 43, 0.14);
  --text: #2f2419;
  --muted: #6d5a47;
  --accent: #a84528;
  --accent-2: #356f53;
  --accent-3: #b6851d;
  --accent-4: #7b5bc0;
  --danger: #b83232;
  --shadow: 0 20px 48px rgba(69, 45, 23, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font: 16px/1.7 "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(168, 69, 40, 0.12), transparent 28%),
    radial-gradient(circle at right 18% top 15%, rgba(53, 111, 83, 0.11), transparent 26%),
    radial-gradient(circle at left 18% bottom 20%, rgba(123, 91, 192, 0.09), transparent 24%),
    linear-gradient(180deg, #f7f0e6 0%, #efe4d2 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  font-size: 16px;
}

button {
  cursor: pointer;
}

.site-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 18px 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-link strong {
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.brand-link small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff7f0;
  font: 700 15px/1 "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent), #d27647);
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ghost-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  touch-action: manipulation;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.ghost-link {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.ghost-link.active-nav {
  border-color: transparent;
  background: var(--accent);
  color: #fffaf4;
}

.ghost-link:hover,
.btn:hover {
  transform: translateY(-1px);
}

.page-root {
  display: grid;
  gap: 22px;
}

.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  touch-action: manipulation;
}

.knowledge-hero {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.knowledge-hero-main {
  display: grid;
  gap: 12px;
}

.snapshot-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.snapshot-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.snapshot-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.snapshot-card strong {
  display: block;
  font-size: 18px;
  font-family: "STZhongsong", "Songti SC", serif;
}

.chapter-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chapter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(83, 62, 43, 0.12);
  background: rgba(255, 255, 255, 0.8);
  touch-action: manipulation;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.chapter-pill span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 69, 40, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.chapter-pill strong {
  font-size: 14px;
}

.chapter-pill.active {
  border-color: rgba(168, 69, 40, 0.26);
  background: rgba(168, 69, 40, 0.1);
}

.chapter-pill.active span {
  background: var(--accent);
  color: #fffaf4;
}

.reading-toolbar {
  position: sticky;
  top: 14px;
  z-index: 12;
  padding: 14px 18px;
  display: grid;
  gap: 12px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 14px 32px rgba(69, 45, 23, 0.1);
}

.reading-toolbar-top,
.reading-toolbar-meta {
  display: flex;
  gap: 14px;
}

.reading-toolbar-top {
  justify-content: space-between;
  align-items: flex-end;
}

.reading-toolbar-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.reading-toolbar-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-family: "STZhongsong", "Songti SC", serif;
  overflow-wrap: anywhere;
}

.reading-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reading-toolbar-meta {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.reading-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(83, 62, 43, 0.08);
  overflow: hidden;
}

.reading-progress-value {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, #d58f4d 52%, var(--accent-2) 100%);
  transition: width 180ms ease;
}

.simple-toolbar {
  padding: 18px 20px;
  display: grid;
  gap: 14px;
}

.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 14px;
}

.compact-search {
  max-width: 420px;
}

.simple-section {
  display: grid;
  gap: 18px;
}

.simple-section-head,
.simple-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.simple-section-head {
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(83, 62, 43, 0.08);
}

.simple-section-head h2,
.simple-group-head h3 {
  margin: 0;
  font-family: "STZhongsong", "Songti SC", serif;
}

.simple-section-head h2 {
  font-size: 34px;
}

.section-note {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--muted);
}

.simple-group-head h3 {
  font-size: 22px;
}

.simple-group-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.knowledge-section-grid {
  display: grid;
  gap: 22px;
}

.knowledge-tip-box {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.knowledge-tip-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-family: "STZhongsong", "Songti SC", serif;
}

.knowledge-tip-box p {
  margin: 0;
}

.knowledge-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.knowledge-content-grid.single {
  grid-template-columns: 1fr;
}

.knowledge-visual-wrap .visual-card {
  margin-bottom: 0;
  height: 100%;
}

.knowledge-card-stack {
  align-content: start;
}

.simple-group {
  padding: 20px;
  border-top: 5px solid var(--section-accent, var(--accent));
}

.group-summary {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.resource-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.resource-link {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.resource-link:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 69, 40, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.resource-type {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.resource-link strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.resource-summary {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

.resource-link small {
  color: var(--muted);
}

.resource-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.resource-tag-list span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 69, 40, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.panel,
.loading-card,
.hero-card,
.folder-card,
.entry-card,
.guide-card,
.track-card,
.faq-card,
.stat-card,
.section-panel,
.visual-card,
.mini-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.loading-card,
.empty-state {
  padding: 40px 28px;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.hero-card {
  padding: 30px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(168, 69, 40, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-card h1,
.guide-hero h1,
.editor-head h2,
.empty-state h2 {
  margin: 14px 0 12px;
  font-family: "STZhongsong", "Songti SC", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guide-hero h1,
.section-panel h2,
.panel h2,
.panel h3,
.subtopic-head h4,
.collection-card h3,
.material-card h3 {
  line-height: 1.28;
}

.hero-card h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

.hero-card p,
.guide-hero p,
.muted-text,
.entry-card p,
.track-card p,
.faq-card p,
.guide-card p,
.section-copy,
.field-hint {
  color: var(--muted);
}

.guide-card p,
.entry-card p,
.track-card p,
.faq-card p,
.resource-summary,
.collection-card > p,
.material-card > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-hero p,
.section-copy,
.knowledge-tip-box p,
.detail-copy,
.subtopic-copy,
.practice-answer-panel p,
.source-outline-note,
.meta-panel p,
.material-block p,
.material-card > p {
  max-width: 72ch;
  text-wrap: pretty;
}

.guide-card p,
.entry-card p,
.track-card p,
.faq-card p,
.resource-summary {
  -webkit-line-clamp: 3;
}

.collection-card > p,
.material-card > p {
  -webkit-line-clamp: 2;
}

.summary-note {
  margin: 0;
  line-height: 1.78;
}

.emphasis-note {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-row.compact {
  margin-top: 10px;
}

.btn {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.btn-primary {
  background: var(--accent);
  color: #fffaf4;
}

.btn-secondary {
  background: var(--accent-2);
  color: #f5fff9;
}

.btn-muted {
  border-color: var(--line);
}

.btn-danger {
  background: var(--danger);
  color: #fff6f6;
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.72;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 20px;
  border-radius: 22px;
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.stat-card span {
  display: block;
  font-weight: 700;
}

.guide-grid,
.track-grid,
.faq-grid,
.section-grid,
.mini-grid,
.entry-grid,
.folder-grid {
  display: grid;
  gap: 18px;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.folder-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.folder-card,
.guide-card,
.entry-card,
.track-card,
.faq-card {
  padding: 24px;
}

.folder-card,
.guide-card,
.entry-card {
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--card-accent, var(--accent));
}

.folder-card::after,
.guide-card::after,
.entry-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 69, 40, 0.12), transparent 68%);
  pointer-events: none;
}

.guide-card h2,
.folder-card h2,
.entry-card h3,
.section-panel h2,
.panel h2,
.panel h3,
.track-card h3,
.faq-card h3 {
  margin: 0;
  font-family: "STZhongsong", "Songti SC", serif;
  overflow-wrap: anywhere;
}

.guide-card h2 {
  margin: 12px 0 10px;
  font-size: 30px;
}

.folder-card h2 {
  margin: 12px 0 10px;
  font-size: 32px;
}

.entry-card h3 {
  margin: 12px 0 10px;
  font-size: 28px;
}

.chip-list,
.meta-row,
.tag-list,
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.meta-pill,
.tag-list span,
.source-item {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(83, 62, 43, 0.1);
  font-size: 13px;
  color: var(--muted);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.guide-card ul,
.track-card ul,
.faq-card ul,
.mini-card ul,
.section-panel ol {
  margin: 0;
  padding-left: 20px;
}

.guide-card li + li,
.mini-card li + li,
.section-panel li + li {
  margin-top: 8px;
}

.section-title {
  margin: 8px 0 0;
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 28px;
}

.section-intro {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-banner {
  padding: 24px;
}

.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.guide-page {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

.guide-side,
.guide-main,
.admin-sidebar,
.admin-editor {
  min-width: 0;
}

.guide-side .panel {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.guide-side h2 {
  margin: 12px 0 10px;
  font-size: 28px;
}

.toc-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.toc-list a {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 10px;
}

.toc-list a.active {
  background: rgba(168, 69, 40, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.toc-list li + li {
  margin-top: 8px;
}

.guide-main {
  display: grid;
  gap: 18px;
}

.guide-hero {
  padding: 28px;
}

.knowledge-panel {
  padding: 24px;
  scroll-margin-top: 28px;
}

.guide-hero h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.14;
}

.guide-actions {
  margin-top: 18px;
}

.section-panel {
  padding: 24px;
}

.section-head {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.section-head-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: 0 0 auto;
}

.section-index {
  display: inline-flex;
  min-width: 52px;
  height: 28px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  background: rgba(168, 69, 40, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.focus-box {
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.collapse-toggle,
.reading-action {
  min-height: 38px;
  padding: 0 14px;
}

.collapse-toggle {
  white-space: nowrap;
}

.section-body[hidden] {
  display: none !important;
}

.material-block.is-collapsed,
.section-panel.is-collapsed {
  background: rgba(255, 250, 242, 0.9);
}

.material-block.is-collapsed .block-head,
.section-panel.is-collapsed .section-head {
  margin-bottom: 0;
}

.visual-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  margin-bottom: 18px;
}

.visual-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.visual-grid,
.compare-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.ladder-list {
  display: grid;
  gap: 12px;
}

.visual-node,
.ladder-item,
.mini-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.visual-node strong,
.ladder-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.ladder-item {
  display: flex;
  gap: 14px;
}

.visual-rank {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.tone-accent {
  background: rgba(168, 69, 40, 0.11);
}

.tone-green {
  background: rgba(53, 111, 83, 0.13);
}

.tone-gold {
  background: rgba(182, 133, 29, 0.13);
}

.tone-blue {
  background: rgba(60, 111, 167, 0.13);
}

.tone-plum {
  background: rgba(123, 91, 192, 0.11);
}

.tone-slate {
  background: rgba(25, 52, 59, 0.09);
}

.mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mini-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.knowledge-mini-grid {
  margin-top: 4px;
}

.knowledge-body {
  display: grid;
  gap: 16px;
  padding: 23px 24px;
  border-radius: 22px;
  border: 1px solid rgba(83, 62, 43, 0.05);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.knowledge-body .detail-copy,
.knowledge-body .detail-list,
.knowledge-body .option-grid {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.knowledge-body .detail-heading {
  margin: 2px 0 2px;
  font-size: 18px;
  line-height: 1.45;
  color: #46392d;
}

.knowledge-body .detail-copy + .detail-copy,
.knowledge-body .detail-list,
.knowledge-body .option-grid {
  margin-top: 14px;
}

.knowledge-body .detail-list {
  padding-left: 30px;
}

.subtopic-grid {
  display: grid;
  gap: 18px;
}

.subtopic-card {
  --subtopic-accent: var(--accent);
  --subtopic-soft: rgba(168, 69, 40, 0.045);
  --subtopic-surface: rgba(255, 252, 248, 0.98);
  padding: 22px 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(83, 62, 43, 0.05);
  border-left: 3px solid color-mix(in srgb, var(--subtopic-accent) 22%, white);
  background: linear-gradient(180deg, var(--subtopic-soft) 0%, var(--subtopic-surface) 28%, rgba(255, 255, 255, 0.99) 100%);
  box-shadow: 0 10px 24px rgba(69, 45, 23, 0.035);
}

.subtopic-card.tone-accent {
  --subtopic-accent: var(--accent);
  --subtopic-soft: rgba(168, 69, 40, 0.045);
  --subtopic-surface: rgba(255, 251, 247, 0.98);
}

.subtopic-card.tone-green {
  --subtopic-accent: var(--accent-2);
  --subtopic-soft: rgba(53, 111, 83, 0.045);
  --subtopic-surface: rgba(248, 252, 249, 0.98);
}

.subtopic-card.tone-gold {
  --subtopic-accent: var(--accent-3);
  --subtopic-soft: rgba(182, 133, 29, 0.045);
  --subtopic-surface: rgba(255, 252, 247, 0.98);
}

.subtopic-card.tone-blue {
  --subtopic-accent: #3c6fa7;
  --subtopic-soft: rgba(60, 111, 167, 0.045);
  --subtopic-surface: rgba(247, 250, 255, 0.98);
}

.subtopic-card.tone-plum {
  --subtopic-accent: var(--accent-4);
  --subtopic-soft: rgba(123, 91, 192, 0.04);
  --subtopic-surface: rgba(251, 249, 255, 0.98);
}

.subtopic-card.tone-slate {
  --subtopic-accent: #38525a;
  --subtopic-soft: rgba(25, 52, 59, 0.04);
  --subtopic-surface: rgba(249, 252, 252, 0.98);
}

.subtopic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(83, 62, 43, 0.05);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--subtopic-accent);
}

.subtopic-tag.tone-accent {
  color: var(--accent);
}

.subtopic-tag.tone-green {
  color: var(--accent-2);
}

.subtopic-tag.tone-gold {
  color: var(--accent-3);
}

.subtopic-tag.tone-blue {
  color: #3c6fa7;
}

.subtopic-tag.tone-plum {
  color: var(--accent-4);
}

.subtopic-tag.tone-slate {
  color: #38525a;
}

.subtopic-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.subtopic-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.subtopic-index {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(83, 62, 43, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: var(--subtopic-accent);
  font-size: 12px;
  font-weight: 700;
}

.subtopic-head h4 {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  font-family: "STZhongsong", "Songti SC", serif;
  color: #46392d;
}

.subtopic-body {
  display: grid;
  gap: 12px;
}

.source-outline-panel,
.source-frame-panel {
  padding: 24px;
}

.source-outline-note {
  margin: 4px 0 0;
  color: var(--muted);
}

.source-chip-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.source-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  appearance: none;
  font: inherit;
  color: inherit;
  border: 1px solid rgba(83, 62, 43, 0.08);
  background: rgba(255, 255, 255, 0.82);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.source-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 69, 40, 0.2);
}

.source-chip.active {
  border-color: rgba(168, 69, 40, 0.26);
  background: rgba(168, 69, 40, 0.08);
}

.source-chip span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 69, 40, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.source-chip strong {
  display: block;
  font-size: 16px;
  font-family: "STZhongsong", "Songti SC", serif;
}

.source-frame-shell {
  margin-top: 16px;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.material-source-frame {
  width: 100%;
  min-height: 960px;
  display: block;
  border: 0;
  border-radius: 18px;
  background: #fffdf9;
}

.subtopic-copy {
  margin: 0;
  color: #5a4e42;
  line-height: 1.9;
}

.subtopic-list {
  margin: 0;
  padding-left: 22px;
  color: #5a4e42;
  line-height: 1.88;
  max-width: 74ch;
}

.section-copy {
  margin: 0;
  line-height: 1.86;
}

.admin-page {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
}

.admin-entry-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.admin-entry-orb {
  position: absolute;
  width: 36vw;
  height: 36vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
}

.admin-entry-orb-left {
  left: -10vw;
  top: 12vh;
  background: radial-gradient(circle, rgba(168, 69, 40, 0.26) 0%, rgba(168, 69, 40, 0.02) 68%, transparent 100%);
}

.admin-entry-orb-right {
  right: -12vw;
  bottom: 8vh;
  background: radial-gradient(circle, rgba(53, 111, 83, 0.22) 0%, rgba(53, 111, 83, 0.02) 68%, transparent 100%);
}

.admin-entry-field {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 40px));
}

.admin-entry-input {
  width: 100%;
  min-height: 68px;
  padding: 0 28px;
  border: 1px solid rgba(83, 62, 43, 0.14);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.78);
  box-shadow: 0 30px 70px rgba(69, 45, 23, 0.16);
  backdrop-filter: blur(16px);
  color: var(--text);
  font-size: clamp(16px, 2.1vw, 20px);
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-entry-input::placeholder {
  color: rgba(109, 90, 71, 0.9);
}

.admin-entry-input:focus {
  outline: none;
  border-color: rgba(168, 69, 40, 0.36);
  box-shadow: 0 32px 84px rgba(69, 45, 23, 0.2);
  transform: translateY(-1px);
}

.admin-entry-input.is-error {
  border-color: rgba(184, 50, 50, 0.34);
  box-shadow: 0 24px 72px rgba(184, 50, 50, 0.16);
}

.admin-sidebar,
.admin-editor {
  padding: 22px;
}

.admin-sidebar h2,
.editor-head h2 {
  font-size: 26px;
}

.sidebar-section + .sidebar-section {
  margin-top: 22px;
}

.sidebar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.token-row {
  display: flex;
  gap: 10px;
}

.token-row input,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(83, 62, 43, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

#material-html-source,
#material-visual,
#guide-sections,
#site-tracks,
#site-faq {
  font-family: "SFMono-Regular", "Consolas", "Menlo", monospace;
  font-size: 13px;
}

.status-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(83, 62, 43, 0.1);
  color: var(--muted);
}

.status-box.success {
  color: var(--accent-2);
  border-color: rgba(53, 111, 83, 0.18);
}

.status-box.error {
  color: var(--danger);
  border-color: rgba(184, 50, 50, 0.2);
}

.sidebar-list {
  display: grid;
  gap: 10px;
}

.sidebar-item {
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.74);
  transition: transform 140ms ease, border-color 140ms ease;
}

.sidebar-item.active {
  border-color: rgba(168, 69, 40, 0.3);
  transform: translateY(-1px);
}

.sidebar-item strong {
  display: block;
  margin-bottom: 6px;
}

.sidebar-item small {
  display: block;
  color: var(--muted);
}

.editor-form.hidden,
.hidden {
  display: none;
}

.editor-form {
  display: grid;
  gap: 18px;
}

.editor-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.editor-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.form-grid.triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-weight: 700;
}

.field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-actions .btn {
  min-height: 36px;
  padding: 0 12px;
}

.finder-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}

.finder-panel,
.collection-group,
.results-summary,
.breadcrumb-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.finder-panel {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.finder-panel h2 {
  margin: 10px 0 0;
  font-size: 28px;
}

.finder-main,
.finder-groups {
  display: grid;
  gap: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span,
.filter-block strong,
.side-group h3 {
  font-weight: 700;
}

.search-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(83, 62, 43, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.filter-block {
  display: grid;
  gap: 10px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(83, 62, 43, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.filter-chip.active {
  background: var(--accent);
  border-color: transparent;
  color: #fffaf4;
}

.filter-count {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 12px;
}

.filter-chip.active .filter-count {
  background: rgba(255, 255, 255, 0.2);
}

.finder-tip {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.results-summary {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.results-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  font-family: "STZhongsong", "Songti SC", serif;
}

.collection-group {
  padding: 22px;
}

.group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.group-head h2 {
  margin: 10px 0 0;
  font-size: 28px;
}

.collection-grid,
.material-grid,
.material-meta-grid,
.material-block-grid,
.collection-stack {
  display: grid;
  gap: 18px;
}

.collection-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.material-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.material-meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.material-block-grid {
  grid-template-columns: 1fr;
}

.collection-card,
.material-card,
.meta-panel,
.material-block,
.subgroup-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.collection-card,
.material-card {
  padding: 24px;
  border-top: 6px solid var(--card-accent, var(--accent));
}

.browser-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.browser-head,
.subgroup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.browser-head h2,
.subgroup-head h3 {
  margin: 10px 0 0;
  font-family: "STZhongsong", "Songti SC", serif;
}

.browser-head h2 {
  font-size: 30px;
}

.subgroup-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.subgroup-head h3 {
  font-size: 24px;
}

.category-group {
  padding: 22px;
  border-left: 6px solid var(--section-accent, var(--accent));
}

.collection-card h3,
.material-card h3,
.meta-panel h3,
.material-block h3 {
  margin: 12px 0 10px;
  font-family: "STZhongsong", "Songti SC", serif;
}

.collection-card h3,
.material-card h3 {
  font-size: 24px;
}

.collection-card p,
.material-card p,
.meta-panel p,
.material-block p {
  color: var(--muted);
}

.material-card.compact h3 {
  font-size: 20px;
}

.breadcrumb-row {
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.breadcrumb-row strong {
  font-weight: 700;
}

.material-detail-page {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

.material-side,
.material-main {
  min-width: 0;
}

.material-side .panel {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.material-side h2 {
  margin: 12px 0 10px;
  font-size: 28px;
}

.side-group + .side-group {
  margin-top: 20px;
}

.side-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.side-link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

.side-link span,
.side-link small {
  display: block;
}

.side-link small {
  margin-top: 4px;
  color: var(--muted);
}

.side-link.active {
  border-color: rgba(168, 69, 40, 0.28);
  background: rgba(168, 69, 40, 0.1);
}

.material-main {
  display: grid;
  gap: 22px;
}

.meta-panel,
.material-block {
  padding: 26px 28px;
}

.material-block,
.section-panel {
  scroll-margin-top: 28px;
}

.practice-toolbar {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.practice-toolbar-main strong {
  display: block;
  font-size: 24px;
  font-family: "STZhongsong", "Songti SC", serif;
}

.practice-toolbar-main p {
  margin: 8px 0 0;
  color: var(--muted);
}

.practice-summary {
  display: grid;
  gap: 12px;
}

.practice-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.practice-section .block-head h3 {
  margin-top: 8px;
}

.practice-question-list {
  display: grid;
  gap: 14px;
}

.practice-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(83, 62, 43, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.practice-card.is-correct {
  border-color: rgba(53, 111, 83, 0.24);
  background: rgba(242, 250, 245, 0.96);
}

.practice-card.is-wrong {
  border-color: rgba(184, 50, 50, 0.2);
  background: rgba(255, 246, 246, 0.96);
}

.practice-card.is-pending {
  border-color: rgba(182, 133, 29, 0.2);
  background: rgba(255, 250, 241, 0.96);
}

.practice-reference-card {
  background: rgba(255, 253, 249, 0.96);
}

.practice-question-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.practice-question-head h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.practice-state {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(83, 62, 43, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.practice-state.correct {
  background: rgba(53, 111, 83, 0.12);
  color: var(--accent-2);
}

.practice-state.wrong {
  background: rgba(184, 50, 50, 0.12);
  color: var(--danger);
}

.practice-state.pending {
  background: rgba(182, 133, 29, 0.14);
  color: var(--accent-3);
}

.practice-option-list {
  display: grid;
  gap: 10px;
}

.practice-option {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(250, 247, 242, 0.96);
  text-align: left;
  color: var(--text);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.practice-option:hover {
  transform: translateY(-1px);
}

.practice-option.selected {
  border-color: rgba(168, 69, 40, 0.24);
  background: rgba(168, 69, 40, 0.08);
}

.practice-option.correct {
  border-color: rgba(53, 111, 83, 0.28);
  background: rgba(53, 111, 83, 0.12);
}

.practice-option.wrong {
  border-color: rgba(184, 50, 50, 0.24);
  background: rgba(184, 50, 50, 0.1);
}

.practice-option-key {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 69, 40, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.practice-answer-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(83, 62, 43, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.practice-answer-panel p {
  margin: 0;
  color: var(--text);
}

.practice-answer-panel p + p {
  margin-top: 8px;
}

.practice-answer-panel-static {
  margin-top: 0;
}

.practice-reference-empty {
  color: var(--muted);
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.block-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  max-width: 74ch;
  line-height: 1.86;
}

.detail-list li + li {
  margin-top: 8px;
}

.detail-heading {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.detail-copy {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.88;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 2px 0 16px;
}

.option-item {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(83, 62, 43, 0.1);
  background: rgba(248, 244, 237, 0.92);
  color: var(--text);
}

@media (max-width: 1100px) {
  .toolbar-grid,
  .guide-page,
  .material-detail-page,
  .finder-layout,
  .admin-page,
  .hero-grid,
  .knowledge-content-grid,
  .folder-grid,
  .entry-grid,
  .guide-grid,
  .track-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .guide-side .panel {
    position: static;
  }

  .material-side .panel {
    position: static;
  }

  .finder-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 12px 12px 28px;
  }

  .topbar {
    padding: 14px;
    border-radius: 18px;
  }

  .brand-link {
    width: 100%;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions .ghost-link {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    text-align: center;
    white-space: normal;
  }

  .topbar,
  .simple-section-head,
  .simple-group-head,
  .section-headline,
  .browser-head,
  .results-summary,
  .group-head,
  .subgroup-head,
  .section-head,
  .block-head,
  .practice-question-head,
  .editor-head,
  .token-row,
  .sidebar-head {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card,
  .reading-toolbar,
  .guide-hero,
  .knowledge-panel,
  .section-panel,
  .simple-group,
  .browser-panel,
  .collection-group,
  .finder-panel,
  .admin-sidebar,
  .admin-editor,
  .meta-panel,
  .material-block,
  .practice-toolbar,
  .subgroup-card,
  .visual-card {
    padding: 18px;
  }

  .admin-entry-page {
    padding: 18px;
  }

  .admin-entry-input {
    min-height: 62px;
    padding: 0 22px;
    font-size: 16px;
  }

  .hero-card h1,
  .guide-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .reading-toolbar-top,
  .reading-toolbar-meta,
  .reading-toolbar-actions,
  .section-head-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reading-toolbar {
    top: 10px;
    gap: 10px;
  }

  .reading-toolbar-copy strong {
    font-size: 16px;
  }

  .section-head-actions {
    display: grid;
    justify-items: stretch;
  }

  .simple-section-head h2,
  .section-title,
  .browser-head h2,
  .group-head h2,
  .guide-side h2,
  .material-side h2,
  .finder-panel h2,
  .admin-sidebar h2,
  .editor-head h2 {
    font-size: 24px;
  }

  .guide-card h2,
  .folder-card h2,
  .entry-card h3,
  .collection-card h3,
  .material-card h3,
  .subgroup-head h3 {
    font-size: 22px;
  }

  .simple-group-grid,
  .collection-grid,
  .material-grid,
  .material-meta-grid,
  .visual-grid,
  .compare-grid,
  .roadmap-grid,
  .practice-summary-grid,
  .subtopic-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-grid {
    grid-template-columns: 1fr;
  }

  .compact-search {
    max-width: none;
  }

  .filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-chip {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button-row,
  .section-tabs,
  .chapter-jump {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .button-row .btn,
  .button-row .ghost-link,
  .section-tab,
  .chapter-pill {
    width: 100%;
  }

  .chapter-pill {
    justify-content: flex-start;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .category-group,
  .breadcrumb-row {
    padding: 16px;
  }

  .chip-list,
  .meta-row,
  .tag-list,
  .source-list,
  .resource-tag-list {
    gap: 8px;
  }

  .practice-option,
  .resource-link,
  .collection-card,
  .material-card {
    padding: 16px;
  }

  .meta-panel,
  .material-block {
    padding: 20px 18px;
  }

  .practice-question-head h3 {
    font-size: 18px;
  }

  .practice-option {
    padding: 12px 14px;
    gap: 10px;
  }

  .practice-option-key {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .toc-list {
    padding-left: 16px;
  }

  .toc-list a,
  .side-link {
    padding: 10px 12px;
  }

  .material-source-frame {
    min-height: 70vh;
  }

  .form-grid,
  .form-grid.triple {
    grid-template-columns: 1fr;
  }

  .source-chip-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding: 10px 10px 22px;
  }

  .top-actions,
  .filter-row,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .reading-toolbar,
  .guide-hero,
  .knowledge-panel,
  .section-panel,
  .simple-group,
  .browser-panel,
  .collection-group,
  .finder-panel,
  .admin-sidebar,
  .admin-editor,
  .meta-panel,
  .material-block,
  .practice-toolbar,
  .subgroup-card,
  .visual-card,
  .stat-card {
    padding: 16px;
  }

  .admin-entry-input {
    min-height: 58px;
    padding: 0 18px;
  }

  .hero-card h1,
  .guide-hero h1 {
    font-size: clamp(26px, 9vw, 32px);
  }

  .reading-toolbar-copy strong {
    font-size: 15px;
  }

  .simple-section-head h2,
  .section-title,
  .browser-head h2,
  .group-head h2,
  .guide-side h2,
  .material-side h2,
  .finder-panel h2,
  .admin-sidebar h2,
  .editor-head h2 {
    font-size: 22px;
  }

  .guide-card h2,
  .folder-card h2,
  .entry-card h3,
  .collection-card h3,
  .material-card h3,
  .subgroup-head h3 {
    font-size: 20px;
  }

  .ghost-link,
  .btn,
  .section-tab {
    min-height: 44px;
  }

  .filter-chip {
    min-height: 42px;
  }

  .practice-question-head h3 {
    font-size: 17px;
  }

  .material-source-frame {
    min-height: 60vh;
  }
}
