/* ── PAGE: MENU ── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin-top: 20px; }
.class-card { padding: 18px; cursor: pointer; transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); position: relative; border-left: 5px solid var(--accent); }
.class-card:hover { border-color: var(--press-color); box-shadow: 4px 4px 0 var(--press-color); transform: translate(-2px, -2px); }
.class-card.dragging { opacity: .35; }
.class-card.drag-over-card { box-shadow: 0 0 0 3px var(--accent) inset; }
.class-card .grade-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); margin-bottom: 8px; }
.class-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.class-card p { font-size: 12px; color: var(--text-muted); }
.class-card .drag-handle { position: absolute; top: 8px; right: 8px; cursor: grab; color: var(--line-strong); font-size: 16px; opacity: 0; transition: opacity .15s; }
.class-card:hover .drag-handle { opacity: 1; }
.class-card .drag-handle:active { cursor: grabbing; }

/* ── SECTION CARD (Class Folder) — color-forward design ── */
.section-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); cursor: pointer; transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2); position: relative; }
.section-card:hover { transform: translate(-2px, -2px); border-color: var(--press-color); box-shadow: 4px 4px 0 var(--press-color); }
.section-card.dragging { opacity: .35; }
.section-card.drag-over-card { box-shadow: 0 0 0 3px var(--accent) inset; }
/* The section colour lives in the grade badge; the card itself stays calm. */
.section-card .sc-header { padding: 16px 16px 10px; color: var(--ink); position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: none !important; }
.section-card .sc-grade-badge { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--sc-color, var(--accent)); color: #fff; border: 1.5px solid var(--press-color); font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.section-card .sc-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.section-card .sc-subtitle { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.section-card .sc-body { padding: 12px 16px 16px; }
.section-card .sc-meta-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.section-card .sc-drag-handle { position: absolute; top: 10px; right: 10px; cursor: grab; color: var(--line-strong); font-size: 16px; opacity: 0; transition: opacity .15s; z-index: 2; }
.section-card:hover .sc-drag-handle { opacity: 1; }
.section-card .archived-ribbon { position: absolute; top: 10px; right: 10px; background: var(--surface-3); color: var(--ink-2);
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }

.subject-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.subject-chip { border: 1px solid var(--sky-line); padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600;
  background: var(--sky); color: var(--sky-ink); cursor: pointer; transition: transform var(--dur-2) var(--ease-spring), filter var(--dur-1); }
.subject-chip:hover { filter: brightness(.96); transform: translateY(-1px); }
.subject-chip.mine { background: var(--sage); color: var(--sage-ink); border-color: var(--sage-line); }
.subject-chip.mine:hover { filter: brightness(.96); }
.chip-teacher { font-weight: 500; opacity: .8; }
.subject-chip .chip-teacher { margin-left: 5px; }
.subject-chip .chip-teacher::before { content: "· "; }
.chip-teacher.none { color: var(--red, #b42318); opacity: 1; }
.archived-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); color: var(--ink-2); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-bottom: 8px; margin-left: 6px; }
.action-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; cursor: pointer; transition: transform var(--dur-2) var(--ease-spring), border-color var(--dur-2); text-decoration: none; border: 1px solid var(--border); background: var(--surface); }
.action-tile .tile-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.action-tile h3 { font-size: 13px; font-weight: 700; }
.action-tile p { font-size: 11px; color: var(--text-muted); }

/* ── SEARCH ── */
.search-results-dropdown { position: absolute; top: 100%; right: 0; margin-top: 4px; width: 280px; max-height: 360px; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow-lg); z-index: 200; display: none; }
.search-results-dropdown.show { display: block; }
.search-result-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; border-bottom: 1px solid var(--border); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--surface-2); }
.search-result-item img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex-shrink: 0; }
.search-result-item .sr-name { font-size: 13px; font-weight: 600; }
.search-result-item .sr-class { font-size: 11px; color: var(--text-muted); }
.search-no-results { padding: 14px; font-size: 12px; color: var(--text-muted); text-align: center; }

/* ── DASHBOARD (both layouts) ── */
.dash { max-width: 1200px; margin: 0 auto; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-head h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.dash-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--muted); }
.dash-sub .btn, .dash-sub .badge { margin-top: 0 !important; }
.dash-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.view-switch .vs-label { display: inline; }
.section-head { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.section-head h2 { font-size: 18px; }
.section-head .muted { font-size: 12px; }
.dash-grid { margin-top: 0; }
.dash-list { display: flex; flex-direction: column; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 13px; cursor: default; transition: background-color var(--dur-1); }
.dash-row:first-child { border-top: none; }
.dash-row[onclick] { cursor: pointer; }
.dash-row[onclick]:hover { background: var(--surface-2); }
.dash-row-text { flex: 1; min-width: 0; }
.dash-ic { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.dash-due { font-size: 12px; color: var(--muted); white-space: nowrap; flex-shrink: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
/* A lesson plan: its title, then its sections on one line (cut short when there are many). */
.dash-row > .chip { flex-shrink: 0; min-width: 64px; justify-content: center; }
.dash-row-title { display: block; overflow-wrap: break-word; }
.dash-row-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-task.overdue .dash-due { color: var(--rose-ink); font-weight: 600; }
.dash-check { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex-shrink: 0; }
.dash-task.overdue .dash-check { border-color: var(--rose-line); background: var(--rose); }

/* Cards layout: sections that open and close */
.dash-accs { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.dash-acc { overflow: hidden; }
.dash-acc-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: none; border: none; cursor: pointer; text-align: left; color: var(--ink); }
.dash-acc-head h3 { font-size: 16px; }
.dash-acc-head .dash-chev { margin-left: auto; color: var(--muted); transition: transform var(--dur-3) var(--ease-spring); }
.dash-acc.open .dash-chev { transform: rotate(180deg); }
.dash-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease-out); }
.dash-acc.open .dash-acc-body { grid-template-rows: 1fr; }
.dash-acc-body > div { overflow: hidden; }
.dash-acc-body > div > * { border-top: 1px solid var(--line); }
.dash-acc-body .dash-plans-head { display: none; }
.dash-acc-foot { display: flex; justify-content: space-between; padding: 8px 12px; }
.dash-plans-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dash-plans-head h3 { font-size: 15px; }

/* Overview layout: side list, tiles, class table */
.dash-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 20px; }
.dash-nav { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.dash-nav-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 10px; border: none; background: none; border-radius: 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; text-align: left; transition: background-color var(--dur-1), color var(--dur-1); }
.dash-nav-item:hover { background: var(--surface-2); color: var(--ink); }
.dash-nav-item.active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.dash-nav-sub { display: flex; flex-direction: column; margin: 0 0 6px 18px; padding-left: 8px; border-left: 1px solid var(--line); }
.dash-nav-sub .dash-nav-item { height: 28px; font-size: 12px; }
.dash-count { margin-left: auto; font-size: 11px; font-weight: 600; padding: 0 7px; border-radius: var(--r-pill); background: var(--rose); color: var(--rose-ink); }
.dash-count.muted { background: var(--surface-2); color: var(--ink-2); }
.dash-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dash-tile { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 128px; }
.dash-k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.dash-v { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.dash-v small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.dash-tile-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-next { grid-column: span 2; grid-row: span 2; background: #1F1B16; color: #FAF6EF; border-color: #1F1B16; justify-content: space-between; padding: 22px; }
:root[data-theme="dark"] .dash-next { background: var(--surface-3); color: var(--ink); border-color: var(--line-strong); }
.dash-next .dash-k { color: inherit; opacity: .7; }
.dash-next h3 { font-size: 32px; margin-bottom: 4px; }
.dash-next p { font-size: 13px; opacity: .72; max-width: 46ch; }
.dash-next-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dash-next-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-countdown { font-family: var(--font-display); font-size: 50px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.dash-ghost-light { background: transparent; color: inherit; border-color: currentColor; }
.dash-ghost-light:hover { background: rgba(255,255,255,.08); }
.dash-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: auto; }
.dash-bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--sage-line); transform-origin: bottom; animation: grow-up var(--dur-4) var(--ease-spring) both; animation-delay: calc(var(--i) * 40ms); }
.dash-bars span.lo { background: var(--rose-line); }
@keyframes grow-up { from { transform: scaleY(0); } }
.dash-crows { overflow: hidden; }
.dash-crow { display: grid; grid-template-columns: 10px minmax(0, 1.4fr) 1fr 1fr 1.1fr auto; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13px; cursor: pointer; transition: background-color var(--dur-1); }
.dash-crow:first-child { border-top: none; }
.dash-crow:hover { background: var(--surface-2); }
.dash-crow-name { display: flex; flex-direction: column; min-width: 0; }
.dash-crow-name .muted { font-size: 12px; }
.dash-crow-actions { display: flex; gap: 4px; }
.dash-prog { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.dash-prog span { display: block; height: 100%; background: var(--sage-line); border-radius: 6px; }
.dash-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.dash-two .card { overflow: hidden; }
.dash-plans { margin-top: 16px; overflow: hidden; }
@media (max-width: 1000px) {
  .dash-shell { grid-template-columns: minmax(0, 1fr); }
  .dash-nav { display: none; }
  .dash-bento { grid-template-columns: 1fr 1fr; }
  .dash-two { grid-template-columns: 1fr; }
  .dash-crow { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .dash-crow .hide-narrow { display: none; }
}
@media (max-width: 560px) { .dash-bento { grid-template-columns: 1fr; } .dash-next { grid-column: auto; } .view-switch .vs-label { display: none; } }
.dash-quick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; padding: 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.dash-search { width: 240px; min-height: 34px; padding: 5px 12px; margin-left: auto; }
.dash-subhead { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 22px 0 10px; color: var(--ink-2); }
.dash-archived { margin-top: 14px; }
.dash-archived summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.dash-archived summary::-webkit-details-marker { display: none; }
.dash-archived summary:hover { background: var(--surface-2); color: var(--ink-2); }
.dash-archived summary .dash-chev { transition: transform var(--dur-3) var(--ease-spring); transform: rotate(-90deg); }
.dash-archived[open] summary .dash-chev { transform: none; }
.dash-archived .menu-grid { margin-top: 10px; animation: rise var(--dur-3) var(--ease-out); }
@media (max-width: 700px) { .dash-search { width: 100%; margin-left: 0; } }
.section-head .seg { align-self: center; }
#section-list.view-swap, #class-list.view-swap { animation: rise var(--dur-3) var(--ease-out); }

/* ── CMS Interactive, on the home page (dashboard.js _interactiveBannerHTML) ──
   Bold on purpose: the warm accent running into amber, white text, the
   answer shapes the games use floating round a projector screen. The same
   colours in dark mode, so it reads the same everywhere. */
.ix-banner {
  position: relative; display: flex; align-items: center; gap: 22px; margin-top: 16px; padding: 18px 22px;
  border-radius: var(--r-xl); color: #fff; overflow: hidden;
  background: linear-gradient(115deg, #B7472A 0%, #D2612F 45%, #E9923A 100%);
  border: 1.5px solid var(--press-color); box-shadow: 4px 4px 0 var(--press-color);
}
.ix-banner::after { content: ''; position: absolute; inset: auto -60px -90px auto; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.10); pointer-events: none; }
.ix-art { position: relative; flex: 0 0 auto; width: 120px; height: 84px; }
.ix-art svg { width: 100%; height: 100%; display: block; }
.ix-shape { position: absolute; width: 16px; height: 16px; animation: ix-bob 3.2s var(--ease-in-out) infinite; }
.ix-shape.s1 { left: -6px; top: -4px; background: #E5484D; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ix-shape.s2 { right: -8px; top: 6px; background: #3E7BFA; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation-delay: -.8s; }
.ix-shape.s3 { left: 4px; bottom: -2px; background: #F2C230; border-radius: 50%; animation-delay: -1.6s; }
.ix-shape.s4 { right: -2px; bottom: 4px; background: #22A565; border-radius: 3px; animation-delay: -2.4s; }
@keyframes ix-bob { 50% { transform: translateY(-6px) rotate(8deg); } }
.ix-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ix-text h2 { margin: 4px 0 2px; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ix-text p { margin: 0; max-width: 620px; font-size: 14px; color: rgba(255,255,255,.92); }
.ix-chip { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.22); font-size: 12px; font-weight: 600; }
.ix-go {
  height: auto;
  position: relative; z-index: 1; flex: 0 0 auto; gap: 8px; padding: 12px 18px; font-size: 15px; font-weight: 700;
  background: #fff; color: #1F1B16; border: 1.5px solid #1F1B16; box-shadow: 3px 3px 0 #1F1B16;
}
.ix-go:hover { background: #FFF6EE; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #1F1B16; }
.ix-go:active { transform: translate(3px, 3px); box-shadow: 0 0 0 #1F1B16; }
@media (max-width: 760px) {
  .ix-banner { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .ix-art { width: 84px; height: 60px; }
  .ix-text h2 { font-size: 22px; }
  .ix-go { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ix-shape { animation: none; } }

/* ── Today (src/pages/dashboard.js) ── the next class first, then only what needs you. */
.today-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 16px; }
.today-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.today-col .dash-plans { margin-top: 0; }
.today-next { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--press-color); box-shadow: 4px 4px 0 var(--press-color); }
.today-next h2 { font-size: 22px; margin: 0; }
.today-next p { margin: 0; font-size: 14px; }
.today-when { font-size: 13px; color: var(--ink-2); }
.today-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.today-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.today-actions .btn-primary { min-height: 44px; padding: 0 20px; font-size: 14px; }
.today-list { overflow: hidden; }
.today-list h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; padding: 16px 16px 12px; margin: 0; }
.today-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.today-click { cursor: pointer; transition: background-color var(--dur-1); }
.today-click:hover { background: var(--surface-2); }
.today-ic { width: 32px; height: 32px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.today-ic .ico { width: 16px; height: 16px; }
.tone-rose { background: var(--rose); color: var(--rose-ink); }
.tone-butter { background: var(--butter); color: var(--butter-ink); }
.tone-sky { background: var(--sky); color: var(--sky-ink); }
.today-txt { flex: 1; min-width: 0; color: var(--ink); }
.today-txt b { display: block; font-weight: 600; }
.today-txt .muted { display: block; font-size: 12px; }
.today-time { width: 48px; flex-shrink: 0; color: var(--ink-2); }
.today-row .btn { flex-shrink: 0; }
.today-quiet { padding: 12px 16px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.today-foot { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .today-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .today-actions .btn { flex: 1 1 auto; justify-content: center; }
  .dash-crow-actions .hide-narrow { display: none; }
}
.tone-sage { background: var(--sage); color: var(--sage-ink); }
.tone-lilac { background: var(--lilac); color: var(--lilac-ink); }

/* ── Learners (src/pages/learners.js) ── one list across classes, the records beside it. */
.lr-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.lr-tools #lr-q { flex: 1 1 240px; }
.lr-tools #lr-class { flex: 0 1 260px; width: auto; }
.lr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.lr-list { overflow: hidden; max-height: calc(100vh - 220px); overflow-y: auto; }
.lr-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 16px; border: 0; border-top: 1px solid var(--line); border-left: 3px solid transparent; background: none; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: background-color var(--dur-1); }
.lr-row:first-child { border-top: 0; }
.lr-row:hover { background: var(--surface-2); }
.lr-row[aria-pressed="true"] { background: var(--accent-soft); border-left-color: var(--accent); }
.lr-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lr-name { flex: 1; min-width: 0; }
.lr-name b { display: block; font-weight: 600; }
.lr-name .muted { font-size: 12px; }
.lr-flags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.lr-detail { padding: 0; overflow: hidden; position: sticky; top: 72px; }
.lr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 16px 16px; }
.lr-head h2 { font-size: 20px; margin: 0 0 4px; }
.lr-head .muted { font-size: 13px; }
.lr-rec { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.lr-rec-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
@media (max-width: 900px) { .lr-split { grid-template-columns: minmax(0, 1fr); } .lr-list { max-height: 50vh; } .lr-detail { position: static; } }

/* ── More (src/pages/more.js) ── */
.more-page { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.more-group { overflow: hidden; }
.more-group h2 { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 16px 16px 8px; margin: 0; }
.more-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background-color var(--dur-1); }
.more-link > span:first-of-type { flex: 1; }
.more-link .ico { width: 18px; height: 18px; color: var(--ink-2); }
.more-link .more-chev { color: var(--muted); }
.more-link:hover { background: var(--surface-2); }
.more-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.more-link .nav-count { margin-left: 0; }
.more-phone { display: none; }
@media (max-width: 700px) { .more-phone { display: block; } }
.more-group .more-phone .more-link { border-top: 1px solid var(--line); }
.more-appearance { padding: 8px 12px 12px; border-top: 1px solid var(--line); }
.more-appearance .ctx-label { font-size: 13px; color: var(--ink-2); padding: 4px; }
.more-about { margin: 0; padding: 12px 16px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
