/* css/school.css — the School view STAGE (WP-B): shell, chrome, canvases, labels,
   room cards, hover card, motion marks, phone. Rail + bottom sheet styles live in
   css/school-rail.css (WP-D). Tokens only: every palette (nocturne / meadow /
   emberfall / obsidian) and both themes work without overrides.

   Layout contract (other packages read these variables):
     --sc-chrome-h   height of the top chrome; the stage starts below it
     --sc-rail-w     width reserved for the right rail (0 on phone, where the sheet overlays)
     --sc-sheet-peek the phone sheet's peek height (index.js passes it to stage.setSafe({b}))
*/

.map-content--school { padding: 0 !important; }

/* ── shell ──────────────────────────────────────────────────────────────── */
.sc-fs {
  --font-ui: var(--font-heading, 'Outfit', sans-serif);
  --sc-chrome-h: 58px;
  --sc-rail-w: 360px;
  --sc-sheet-peek: 72px;
  --sc-ease: var(--ease-spring, cubic-bezier(0.22, 1, 0.36, 1));
  position: fixed; inset: 0; z-index: 2147483400;
  background: var(--bg); color: var(--text);
  isolation: isolate; overflow: hidden;
  font-family: var(--font, 'Outfit', sans-serif);
  animation: scFsIn .24s var(--sc-ease);
  -webkit-tap-highlight-color: transparent;
}
@keyframes scFsIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1099px) { .sc-fs { --sc-rail-w: 320px; } }
@media (max-width: 599px)  { .sc-fs { --sc-rail-w: 0px; --sc-chrome-h: 54px; } }
.sc-fs.sc-rail-closed { --sc-rail-w: 0px; }
html.km-fs-lock, body.km-fs-lock { overflow: hidden !important; }

/* ── chrome (markup by index.js; classes below are the contract) ─────────── */
.sc-chrome {
  position: absolute; left: 0; right: 0; top: 0; height: var(--sc-chrome-h); z-index: 6;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.sc-exit {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 1px solid var(--border2); border-radius: 999px; background: transparent; color: var(--text);
  font: 600 .84rem/1 var(--font-ui); cursor: pointer;
}
.sc-exit:hover { border-color: var(--text3); }
/* Crumbs take their full width while the chrome has room; when it is short the middle crumbs give
   way first (ellipsis), the current one last. No fixed cap, so nothing is cut beside free space. */
.sc-crumbs { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap; }
.sc-crumb {
  flex: 0 1 auto; min-width: 3.5em;
  border: 0; background: none; color: var(--text2); padding: 6px 4px; cursor: pointer;
  font: 500 .86rem/1 var(--font-ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sc-crumb:first-child { flex-shrink: 0; min-width: 0; }
.sc-crumb:last-child { color: var(--text); font-weight: 600; flex-shrink: .25; }
.sc-crumb + .sc-crumb::before { content: '/'; color: var(--text3); margin-right: 6px; }
.sc-search {
  flex: 1 1 200px; min-width: 120px; max-width: 360px; margin-left: auto; height: 36px;
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  border: 1px solid var(--border2); border-radius: 999px; background: var(--bg2); color: var(--text2);
}
.sc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 400 .9rem var(--font); }
.sc-filter {
  flex: none; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border2);
  background: transparent; color: var(--text); font: 600 .8rem/1 var(--font-ui); cursor: pointer; white-space: nowrap;
}
.sc-filter .sc-count { font-family: var(--font-mono); font-weight: 400; color: var(--text2); margin-left: 6px; }
.sc-filter.on { border-color: var(--teal); color: var(--teal); }
.sc-zoom {
  flex: none; font: 700 .68rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text2); padding: 6px 8px; border-radius: 6px; background: var(--bg2); white-space: nowrap;
}
@media (max-width: 599px) {
  .sc-chrome { gap: 6px; padding: 0 10px; }
  .sc-exit span, .sc-zoom, .sc-filter .sc-count { display: none; }
  .sc-exit { padding: 0 11px; }
  .sc-crumbs { flex: 1 1 auto; }
  .sc-crumb { display: none; max-width: none; }
  .sc-crumb:last-child { display: block; overflow: hidden; text-overflow: ellipsis; }
  .sc-crumb:last-child::before { content: none; }
  .sc-search { flex: 0 0 40px; min-width: 40px; max-width: 40px; padding: 0; justify-content: center; }
  .sc-search input { display: none; }
  .sc-search.open { position: absolute; left: 10px; right: 10px; top: 9px; max-width: none; padding: 0 12px; }
  .sc-search.open input { display: block; }
}

/* ── stage + canvases ───────────────────────────────────────────────────── */
.sc-stage {
  position: absolute; left: 0; top: var(--sc-chrome-h); right: var(--sc-rail-w); bottom: 0;
  overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--bg); outline: none;
}
.sc-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); }
.sc-ground, .sc-world {
  position: absolute; left: 0; top: 0; display: block;
  max-width: 100%;                 /* never width:100% on a canvas: JS sets style.width in px */
}
.sc-ground { z-index: 0; }
.sc-world  { z-index: 1; }

/* ── label layer ────────────────────────────────────────────────────────── */
.sc-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; contain: layout paint; }
.sc-labels-inner { position: absolute; left: 0; top: 0; right: 0; bottom: 0; transform-origin: 0 0; transition: opacity .16s linear; }
.sc-leaders { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.sc-leader { fill: none; stroke: var(--text3); stroke-width: 1; opacity: .75; }
.sc-leader.t-suggest { stroke: var(--teal); } .sc-leader.t-known { stroke: var(--green); } .sc-leader.t-warn { stroke: var(--red); }
.sc-leader.is-dim { opacity: .25; }
.sc-leader-end { fill: var(--text2); }

.sc-label {
  position: absolute; left: 0; top: 0; box-sizing: border-box; margin: 0;
  border-radius: 9px; overflow: hidden; white-space: nowrap;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--sc, var(--border2)) 38%, var(--border));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .55);
  transition: opacity .18s linear;
}
[data-theme="light"] .sc-label { box-shadow: 0 6px 16px -12px rgba(30, 30, 50, .35); background: color-mix(in srgb, var(--surface, #fff) 90%, transparent); }
.sc-ln { display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.sc-ln .sc-tx { overflow: hidden; }
.sc-label.is-dim { box-shadow: none; }
.sc-l-school { border-radius: 11px; }
.sc-l-school .sc-ln:first-child { color: var(--text); }
.sc-l-school .sc-ln + .sc-ln { color: var(--text2); }
.sc-l-building .sc-ln:first-child { color: var(--text); }
.sc-l-building .sc-ln + .sc-ln { color: var(--text2); }
.sc-l-sign { border-color: color-mix(in srgb, var(--sc) 70%, transparent); }
.sc-sign-ic { display: inline-block; width: 10px; margin-right: 4px; color: var(--sc); font-weight: 700; text-align: center; }
.sc-l-floor, .sc-l-more, .sc-l-zero { border-radius: 6px; color: var(--text2); }
.sc-l-floor { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.sc-l-more { color: var(--text3); border-style: dashed; }
.sc-l-zero { color: var(--text2); border-style: dashed; }
.sc-l-room { border-radius: 7px; }
.sc-l-room.is-done .sc-tx { color: var(--text2); }
.sc-l-room .sc-tier, .sc-card .sc-tier, .sc-hover .sc-tier { flex: none; width: 10px; height: 10px; margin-right: 5px; fill: var(--sc, var(--warm)); color: var(--sc, var(--warm)); }
.sc-done { flex: none; display: inline-block; width: 10px; margin-left: 4px; color: var(--green); font-weight: 700; text-align: center; }
.sc-no {
  flex: none; display: inline-block; min-width: 17px; height: 15px; margin-left: 5px; padding: 0 3px; box-sizing: border-box;
  border-radius: 8px; background: var(--sc, var(--teal)); color: var(--bg);
  font: 700 9px/15px var(--font-ui); text-align: center;
}

/* progress ring + difficulty dots (widths are part of the measured box) */
.sc-ring { flex: none; width: 16px; height: 16px; margin-right: 4px; }
.sc-ring-bg { fill: none; stroke: var(--border2); stroke-width: 2.4; }
.sc-ring-fg { fill: none; stroke: var(--sc, var(--warm)); stroke-width: 2.4; stroke-linecap: round; }
.sc-diff { flex: none; display: inline-flex; align-items: center; gap: 2px; width: 38px; margin-left: 6px; }
.sc-diff i, .sc-hc-diff i { display: block; width: 6px; height: 6px; border-radius: 50%; }
.sc-diff .d1, .sc-hc-diff .d1 { background: var(--green); }
.sc-diff .d2, .sc-hc-diff .d2 { background: var(--teal); }
.sc-diff .d3, .sc-hc-diff .d3 { background: var(--yellow); }
.sc-diff .d4, .sc-hc-diff .d4 { background: var(--warm); }
.sc-diff .d5, .sc-hc-diff .d5 { background: var(--red); }

/* rejected labels become dots */
.sc-dot { position: absolute; left: 0; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--text3); opacity: .8; }
.sc-dot.is-dim { opacity: .3; }

/* ── room cards (Z3) ────────────────────────────────────────────────────── */
.sc-card {
  position: absolute; left: 0; top: 0; box-sizing: border-box; overflow: hidden;
  pointer-events: auto; border-radius: 12px;
  background: color-mix(in srgb, var(--surface, var(--bg2)) 94%, transparent);
  border: 1px solid var(--border2); border-left: 3px solid var(--sc, var(--warm));
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text);
}
[data-theme="light"] .sc-card { box-shadow: 0 10px 26px -18px rgba(30, 30, 50, .45); }
.sc-card.is-dim { opacity: .35; }
.sc-card-title { color: var(--text); white-space: nowrap; overflow: hidden; }
.sc-one { margin-top: 4px; color: var(--text2); white-space: nowrap; overflow: hidden; }
.sc-card-meta {
  display: flex; align-items: center; gap: 6px; height: 22px; margin-top: 8px;
  font: 400 10px/1 var(--font-mono); color: var(--text2); white-space: nowrap; overflow: hidden;
}
/* the buttons never shrink; the tier word is the only part allowed to give way */
.sc-bn-n { margin-left: 4px; font: 400 10px/1 var(--font-mono); color: var(--text2); letter-spacing: .04em; }
.sc-cm-tier { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; overflow: hidden; }
.sc-cm-min { flex: none; }
.sc-cm-ics { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.sc-cm-ics .sc-done { width: auto; margin-left: 0; }
.sc-cm-ic { color: var(--text2); font-size: 10px; }
.sc-cm-act { flex: none; margin-left: auto; display: inline-flex; gap: 4px; }
.sc-cm-add, .sc-cm-open {
  box-sizing: border-box; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--border2); background: transparent;
  color: var(--text); font: 600 10.5px/20px var(--font-ui); text-decoration: none; cursor: pointer;
}
.sc-cm-add { width: 22px; padding: 0; font: 600 14px/20px var(--font-ui); text-align: center; }
.sc-cm-add:hover, .sc-cm-open:hover { border-color: var(--sc, var(--warm)); color: var(--sc, var(--warm)); }

/* ── the single hover card ──────────────────────────────────────────────── */
.sc-hover {
  position: absolute; left: 0; top: 0; z-index: 4; width: 284px; max-width: calc(100% - 32px);
  pointer-events: none; opacity: 0; transition: opacity .12s linear;
}
.sc-hover.on { opacity: 1; }
.sc-hc {
  box-sizing: border-box; padding: 12px 14px 11px; border-radius: 12px;
  background: color-mix(in srgb, var(--surface, var(--bg2)) 96%, transparent);
  border: 1px solid var(--border2); border-top: 3px solid var(--sc, var(--warm));
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
[data-theme="light"] .sc-hc { box-shadow: 0 16px 34px -20px rgba(30, 30, 50, .5); }
.sc-hc-title { font: 600 14px/1.3 var(--font-heading, 'Outfit', sans-serif); color: var(--text); }
.sc-hc-one { margin-top: 5px; font: 400 12.5px/1.45 var(--font); color: var(--text2); }
.sc-hc-meta { display: flex; align-items: center; gap: 8px; margin-top: 9px; font: 400 10.5px/1 var(--font-mono); color: var(--text2); }
.sc-hc-diff { display: inline-flex; gap: 3px; }
.sc-hc-diff i { opacity: .22; }
.sc-hc-diff i.on { opacity: 1; }
.sc-hc-meta .sc-done { width: auto; margin-left: auto; }

/* ── the "now" stop pulse (CSS animation: no rAF while idle) ────────────── */
.sc-pulse {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 2px solid var(--pc, var(--teal)); box-sizing: border-box;
  animation: scPulseT 2s ease-out infinite; pointer-events: none;
}
@keyframes scPulseT { 0% { opacity: .95; scale: .55; } 70% { opacity: 0; scale: 1.35; } 100% { opacity: 0; scale: 1.35; } }

/* ── states (rendered by index.js) ──────────────────────────────────────── */
.sc-skeleton { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sc-skel-grid { display: grid; grid-template-columns: repeat(4, 120px); gap: 26px 34px; transform: rotateX(56deg) rotateZ(-45deg); transform-style: preserve-3d; }
.sc-skel-grid i { display: block; height: 90px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--border); animation: scSkel 1.4s ease-in-out infinite alternate; }
@keyframes scSkel { from { opacity: .45; } to { opacity: .9; } }
/* phone: a 2x4 grid sized so its rotated diagonal stays inside 390 px (16 px gutters) */
@media (max-width: 599px) { .sc-skel-grid { grid-template-columns: repeat(2, 70px); gap: 18px 22px; } .sc-skel-grid i { height: 52px; } }
.sc-error {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5;
  max-width: min(360px, calc(100% - 32px)); box-sizing: border-box; text-align: center;
  padding: 18px 20px; border-radius: 14px; background: var(--surface, var(--bg2)); border: 1px solid var(--border2);
  font: 500 .95rem/1.5 var(--font-ui); color: var(--text);
}
.sc-error button, .sc-empty button {
  margin-top: 12px; height: 34px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--warm); color: var(--bg); font: 600 .85rem/1 var(--font-ui);
}
/* Empty states ride at the top of the stage as one bar: index.js pads the camera's safe area by
   its height, so the campus and every label sit below it and Clear is never under the sheet. */
.sc-empty {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 24px);
  box-sizing: border-box; padding: 7px 7px 7px 16px; border-radius: 999px;
  background: var(--surface, var(--bg2)); border: 1px solid var(--border2);
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .6);
  font: 500 .9rem/1.35 var(--font-ui); color: var(--text);
}
[data-theme="light"] .sc-empty { box-shadow: 0 10px 24px -18px rgba(30, 30, 50, .45); }
.sc-empty > div { min-width: 0; }
.sc-empty button { flex: none; margin-top: 0; height: 32px; }
@media (max-width: 599px) { .sc-empty { top: 10px; gap: 10px; font-size: .84rem; border-radius: 16px; } }

/* ── phone zoom pill (two buttons) ──────────────────────────────────────── */
.sc-zoompill {
  position: absolute; right: calc(var(--sc-rail-w) + 14px); bottom: 18px; z-index: 5;
  display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border2); background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sc-zoompill button { width: 44px; height: 44px; border: 0; background: none; color: var(--text); font: 600 20px/1 var(--font-ui); cursor: pointer; }
.sc-zoompill button + button { border-top: 1px solid var(--border); }
@media (max-width: 599px) {
  /* ride on top of the sheet at every detent (peek / half); at full the sheet owns the screen */
  .sc-zoompill { bottom: min(calc(var(--sc-rail-h, var(--sc-sheet-peek)) + 14px), calc(100% - 160px)); flex-direction: row; }
  .sc-zoompill button + button { border-top: 0; border-left: 1px solid var(--border); }
  .sc-fs:has(.sc-rail[data-detent="full"]) .sc-zoompill,
  .sc-fs:has(.sc-rail[data-detent="full"]) .sc-guide-fab,
  .sc-fs:has(.sc-guide:not([hidden])) .sc-zoompill { display: none; }
}
@media (hover: hover) and (min-width: 600px) { .sc-zoompill { display: none; } }

/* ── perf overlay (?perf=1) + screen-reader live region ─────────────────── */
.sc-perf {
  position: absolute; left: 10px; bottom: 10px; z-index: 7; max-width: calc(100% - 20px);
  padding: 5px 8px; border-radius: 6px; background: color-mix(in srgb, var(--bg) 85%, transparent);
  border: 1px solid var(--border); font: 400 10px/1.3 var(--font-mono); color: var(--text2); pointer-events: none;
}
.sc-live { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sc-fs { animation: none; }
  .sc-pulse { animation: none; opacity: .9; scale: 1; }
  .sc-labels-inner, .sc-label, .sc-hover { transition: none; }
  .sc-skel-grid i { animation: none; }
}

/* ── phone school band: numbered keys on the roofs + the legend under the plate ── */
.sc-key {
  flex: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 16px; height: 16px; margin-right: 5px; padding: 0 4px; border-radius: 8px;
  background: var(--sc, var(--warm)); color: var(--bg); font: 700 9.5px/1 var(--font-mono, 'Space Mono', monospace);
}
.sc-key.is-sign { background: transparent; color: var(--sc, var(--warm)); border: 1.5px solid var(--sc, var(--warm)); }
.sc-label.sc-l-key {
  border-radius: 9px; border: 0; padding: 0; display: flex; align-items: center; justify-content: center;
  background: var(--sc, var(--warm)); color: var(--bg); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.sc-label.sc-l-key .sc-ln { justify-content: center; }
.sc-label.sc-l-key.is-sign { background: var(--bg); color: var(--sc, var(--warm)); border: 1.5px solid var(--sc, var(--warm)); }
.sc-label.is-legend { border-radius: 8px; }

/* ── true-3D renderer (SPEC-3D 6.1): the GL canvas, DOM stop discs, motion state ── */
.sc-world.sc-gl { display: block; touch-action: none; }
.sc-ground[hidden] { display: none !important; }
.sc-stops { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; contain: layout paint; }
.sc-stops.is-moving { opacity: .55; }
.sc-labels.is-moving .sc-leaders, .sc-labels.is-moving .sc-dot, .sc-labels.is-moving .sc-pulse { visibility: hidden; }
.sc-stop {
  position: absolute; left: 0; top: 0; box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--kc, var(--teal)); color: var(--bg);
  box-shadow: 0 0 0 2px var(--bg), 0 3px 8px -3px rgba(0, 0, 0, .55);
  font: 700 10px/1 var(--font-heading, 'Outfit', sans-serif); font-variant-numeric: tabular-nums;
}
:root[data-theme="light"] .sc-stop { color: #fff; box-shadow: 0 0 0 2px var(--bg), 0 2px 6px -2px rgba(0, 0, 0, .25); }
.sc-stop b { font-weight: 700; letter-spacing: -.02em; }
.sc-stop.is-done { background: var(--text); }
.sc-stop svg { width: 12px; height: 12px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-stop.is-dashed { background: var(--bg); color: var(--kc2, var(--kc)); border: 1.6px dashed var(--kc2, var(--kc)); }
/* a dashed disc sits on --bg, so its numeral and its tick take the kind colour in BOTH themes
   (the light-theme #fff rule above is more specific than .is-dashed alone) */
:root .sc-stop.is-dashed, :root[data-theme="light"] .sc-stop.is-dashed { color: var(--kc2, var(--kc)); }
.sc-stop.is-dashed svg { stroke: var(--kc2, var(--kc)); stroke-width: 2.2; }
.sc-stop.is-small { box-shadow: 0 0 0 1.5px var(--bg); }
.sc-stop-pill {
  position: absolute; left: calc(100% + 4px); top: 50%; height: 15px; margin-top: -7.5px; box-sizing: border-box;
  padding: 0 4px; border-radius: 7.5px; border: 1px solid var(--kc2, var(--kc)); background: color-mix(in srgb, var(--bg) 92%, transparent);
  color: var(--text); font: 700 9.5px/13px var(--font-mono, 'Space Mono', monospace); white-space: nowrap; text-align: center;
}
.sc-stop-pill.at-below, .sc-stop-pill.at-above { left: 50%; transform: translateX(-50%); }
.sc-stop-pill.at-below { top: calc(50% + 19px); }
.sc-stop-pill.at-above { top: calc(50% - 19px); }
.sc-stop-pulse {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 2px solid var(--kc, var(--teal)); box-sizing: border-box; animation: scPulseT 2s ease-out infinite; pointer-events: none;
}
.sc-gl-toast {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 8; padding: 7px 12px; border-radius: 8px;
  background: var(--bg2); border: 1px solid var(--border2); color: var(--text2); font: 500 12px/1.3 var(--font-heading, sans-serif);
}
@media (prefers-reduced-motion: reduce) { .sc-stop-pulse { animation: none; opacity: .9; } }
