/* Generated by scripts/css-bundle.mjs — do not edit by hand. */
/* /public/css/routes/surfaces/topics.css */
@layer routes {
/* ==========================================================================
   topics-surface.css
   --------------------------------------------------------------------------
   Purpose
   - Give topic routes a coherent field-guide atmosphere.
   - Let photo studies and diagrams share a palette instead of floating apart.
   - Create a strong default for math and future design-adjacent topic pages.
   ========================================================================== */

:where(body[data-spw-surface="topics"]) {
  --topics-accent: var(--semantic-accent, #2a504b);
  --topics-warm: #9e592b;
  --spw-main-width: 1180px;
  --topics-ink: rgba(24, 30, 29, 0.94);
  --topics-ink-soft: rgba(24, 30, 29, 0.72);
  --topics-surface: rgba(255, 255, 255, 0.72);
  --topics-surface-strong: rgba(255, 255, 255, 0.86);
  --topics-surface-soft: rgba(255, 255, 255, 0.52);
  --topics-surface-panel: rgba(255, 255, 255, 0.8);
  --topics-surface-panel-strong: rgba(255, 255, 255, 0.9);
  --topics-accent-soft: color-mix(in srgb, var(--topics-accent) 12%, transparent);
  --topics-line:
    color-mix(in srgb, var(--topics-accent) 18%, rgba(18, 24, 28, 0.12));
  --topics-line-strong:
    color-mix(in srgb, var(--topics-warm) 22%, var(--topics-accent));
  --topics-sheen: rgba(255, 255, 255, 0.24);
  --topics-sheen-soft: rgba(255, 255, 255, 0.14);
  --topics-shadow:
    0 10px 28px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.025);
  --topics-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.04);
  --topics-paper:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--topics-accent) 3%, var(--topics-surface-strong)),
      color-mix(in srgb, var(--topics-surface-strong) 96%, hsl(44 24% 95%))
    );
  --topics-panel:
    linear-gradient(
      180deg,
      var(--topics-surface-panel-strong),
      color-mix(in srgb, var(--topics-surface-panel) 96%, hsl(40 20% 92%))
    );
  --topics-panel-muted:
    linear-gradient(
      180deg,
      var(--topics-surface-panel-strong),
      color-mix(in srgb, var(--topics-surface-panel) 94%, hsl(42 18% 91%))
    );
  --topics-panel-violet:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--topics-surface-panel-strong) 90%, hsl(274 44% 97%)),
      color-mix(in srgb, var(--topics-surface-panel) 90%, hsl(280 26% 94%))
    );
  --topics-panel-warm:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--topics-surface-panel-strong) 90%, hsl(28 60% 97%)),
      color-mix(in srgb, var(--topics-surface-panel) 90%, hsl(32 34% 92%))
    );
  --topics-input-bg: color-mix(in srgb, var(--topics-surface-strong) 96%, transparent);
  --topics-status-bg:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--topics-surface-strong) 92%, transparent),
      color-mix(in srgb, var(--topics-surface) 92%, hsl(35 20% 91%))
    );
  --topics-svg-bg:
    radial-gradient(circle at top center, rgba(42, 80, 75, 0.04), transparent 34%),
    color-mix(in srgb, var(--topics-surface-strong) 84%, transparent);

  --ink: var(--topics-ink);
  --ink-soft: var(--topics-ink-soft);
  --line: var(--topics-line);
  --line-strong: var(--topics-line-strong);
  --surface: var(--topics-surface);
  --surface-strong: var(--topics-surface-strong);
  --surface-soft: var(--topics-surface-soft);
  --surface-panel: var(--topics-surface-panel);
  --surface-panel-strong: var(--topics-surface-panel-strong);
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  --card-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(circle at top center, rgba(42, 80, 75, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(248, 247, 244, 0.98), rgba(239, 236, 229, 0.98));
  color: var(--topics-ink);
}

html[data-spw-color-mode="dark"] :where(body[data-spw-surface="topics"]) {
  --topics-accent: #86beb5;
  --topics-warm: #d0a06e;
  --topics-ink: rgba(235, 240, 238, 0.94);
  --topics-ink-soft: rgba(202, 212, 208, 0.76);
  --topics-surface: rgba(18, 23, 26, 0.82);
  --topics-surface-strong: rgba(25, 31, 34, 0.92);
  --topics-surface-soft: rgba(18, 23, 26, 0.58);
  --topics-surface-panel: rgba(24, 30, 33, 0.92);
  --topics-surface-panel-strong: rgba(30, 37, 40, 0.96);
  --topics-accent-soft: color-mix(in srgb, var(--topics-accent) 14%, transparent);
  --topics-line:
    color-mix(in srgb, var(--topics-accent) 18%, rgba(226, 234, 231, 0.1));
  --topics-line-strong:
    color-mix(in srgb, var(--topics-warm) 28%, var(--topics-accent));
  --topics-sheen: rgba(255, 255, 255, 0.06);
  --topics-sheen-soft: rgba(255, 255, 255, 0.04);
  --topics-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.18);
  --topics-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.22);
  --topics-paper:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--topics-accent) 6%, rgba(17, 22, 24, 0.97)),
      rgba(18, 23, 26, 0.95) 38%,
      rgba(14, 18, 20, 0.98)
    );
  --topics-panel:
    linear-gradient(180deg, rgba(30, 37, 40, 0.96), rgba(21, 26, 29, 0.98));
  --topics-panel-muted:
    linear-gradient(180deg, rgba(28, 34, 37, 0.96), rgba(19, 24, 27, 0.98));
  --topics-panel-violet:
    linear-gradient(180deg, rgba(42, 35, 49, 0.96), rgba(27, 24, 35, 0.98));
  --topics-panel-warm:
    linear-gradient(180deg, rgba(45, 38, 31, 0.96), rgba(28, 23, 20, 0.98));
  --topics-input-bg: rgba(21, 27, 30, 0.96);
  --topics-status-bg:
    linear-gradient(180deg, rgba(28, 33, 36, 0.95), rgba(18, 23, 26, 0.98));
  --topics-svg-bg:
    radial-gradient(circle at top center, color-mix(in srgb, var(--topics-accent) 8%, transparent), transparent 34%),
    color-mix(in srgb, var(--topics-surface-strong) 92%, rgba(12, 15, 18, 0.98));
  --card-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  --card-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--topics-accent) 8%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(13, 17, 19, 0.99), rgba(10, 13, 15, 0.99));
}

@media (prefers-color-scheme: dark) {
  html[data-spw-color-mode="auto"] :where(body[data-spw-surface="topics"]) {
    --topics-accent: #86beb5;
    --topics-warm: #d0a06e;
    --topics-ink: rgba(235, 240, 238, 0.94);
    --topics-ink-soft: rgba(202, 212, 208, 0.76);
    --topics-surface: rgba(18, 23, 26, 0.82);
    --topics-surface-strong: rgba(25, 31, 34, 0.92);
    --topics-surface-soft: rgba(18, 23, 26, 0.58);
    --topics-surface-panel: rgba(24, 30, 33, 0.92);
    --topics-surface-panel-strong: rgba(30, 37, 40, 0.96);
    --topics-accent-soft: color-mix(in srgb, var(--topics-accent) 14%, transparent);
    --topics-line:
      color-mix(in srgb, var(--topics-accent) 18%, rgba(226, 234, 231, 0.1));
    --topics-line-strong:
      color-mix(in srgb, var(--topics-warm) 28%, var(--topics-accent));
    --topics-sheen: rgba(255, 255, 255, 0.06);
    --topics-sheen-soft: rgba(255, 255, 255, 0.04);
    --topics-shadow:
      0 14px 32px rgba(0, 0, 0, 0.28),
      0 4px 12px rgba(0, 0, 0, 0.18);
    --topics-card-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 24px rgba(0, 0, 0, 0.22);
    --topics-paper:
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--topics-accent) 6%, rgba(17, 22, 24, 0.97)),
        rgba(18, 23, 26, 0.95) 38%,
        rgba(14, 18, 20, 0.98)
      );
    --topics-panel:
      linear-gradient(180deg, rgba(30, 37, 40, 0.96), rgba(21, 26, 29, 0.98));
    --topics-panel-muted:
      linear-gradient(180deg, rgba(28, 34, 37, 0.96), rgba(19, 24, 27, 0.98));
    --topics-panel-violet:
      linear-gradient(180deg, rgba(42, 35, 49, 0.96), rgba(27, 24, 35, 0.98));
    --topics-panel-warm:
      linear-gradient(180deg, rgba(45, 38, 31, 0.96), rgba(28, 23, 20, 0.98));
    --topics-input-bg: rgba(21, 27, 30, 0.96);
    --topics-status-bg:
      linear-gradient(180deg, rgba(28, 33, 36, 0.95), rgba(18, 23, 26, 0.98));
    --topics-svg-bg:
      radial-gradient(circle at top center, color-mix(in srgb, var(--topics-accent) 8%, transparent), transparent 34%),
      color-mix(in srgb, var(--topics-surface-strong) 92%, rgba(12, 15, 18, 0.98));
    --card-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    --card-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    background:
      radial-gradient(circle at top center, color-mix(in srgb, var(--topics-accent) 8%, transparent), transparent 34%),
      linear-gradient(180deg, rgba(13, 17, 19, 0.99), rgba(10, 13, 15, 0.99));
  }
}

:where(body[data-spw-surface="topics"]) main > article {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
}

:where(body[data-spw-surface="topics"] article > .site-frame) {
  overflow: clip;
  border-color: var(--topics-line);
  background: var(--topics-paper);
  box-shadow: var(--topics-shadow);
}

:where(body[data-spw-surface="topics"] article > .site-frame)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(42, 80, 75, 0.05), transparent 30%),
    radial-gradient(circle at bottom right, rgba(158, 89, 43, 0.04), transparent 26%);
}

:where(body[data-spw-surface="topics"] article > .site-frame > *) {
  position: relative;
  z-index: 1;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board) {
  --topic-route-lane-accent: var(--topics-accent);
  --active-op-color: var(--topic-route-lane-accent);
  --mode-switch-pressed-animation-intent: none;
  display: grid;
  gap: clamp(0.72rem, 1.5vw, 0.95rem);
  inline-size: 100%;
  min-inline-size: 0;
  margin-block: clamp(0.6rem, 1.5vw, 0.88rem) 0.18rem;
  padding-block: clamp(0.7rem, 1.6vw, 0.95rem) 0.2rem;
  border-block: 1px solid color-mix(in srgb, var(--topic-route-lane-accent) 24%, var(--topics-line));
  overflow: clip;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board[data-spw-lens-mode="systems"]) {
  --topic-route-lane-accent: var(--op-frame-color, var(--topics-accent));
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board[data-spw-lens-mode="learning"]) {
  --topic-route-lane-accent: var(--op-probe-color, #8f6ed5);
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board[data-spw-lens-mode="making"]) {
  --topic-route-lane-accent: var(--op-object-color, var(--topics-warm));
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board[data-spw-lens-mode="current"]) {
  --topic-route-lane-accent: var(--op-action-color, var(--topics-accent));
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board__head) {
  display: grid;
  gap: 0.68rem;
  align-items: start;
  min-inline-size: 0;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board__eyebrow) {
  margin: 0 0 0.16rem;
  color: color-mix(in srgb, var(--topic-route-lane-accent) 70%, var(--topics-ink));
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.2;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board__prompt) {
  max-inline-size: 58rem;
  margin: 0;
  color: var(--topics-ink-soft);
  font-size: clamp(0.86rem, 0.82rem + 0.16vw, 0.94rem);
  line-height: 1.48;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-switch) {
  align-items: center;
  gap: 0.36rem;
  justify-content: flex-start;
  min-inline-size: 0;
  max-inline-size: 100%;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-switch .frame-sigil) {
  --mode-switch-active-shadow-intent:
    inset 0 1px 0 color-mix(in srgb, white 28%, transparent),
    inset 0 -2px 0 color-mix(in srgb, var(--active-op-color) 76%, transparent),
    0 0.32rem 0.8rem color-mix(in srgb, var(--active-op-color) 12%, transparent);
  min-inline-size: min(100%, 6.8rem);
  min-block-size: 2.08rem;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-switch .frame-sigil[data-set-mode="systems"]) {
  --active-op-color: var(--op-frame-color, var(--topics-accent));
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-switch .frame-sigil[data-set-mode="learning"]) {
  --active-op-color: var(--op-probe-color, #8f6ed5);
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-switch .frame-sigil[data-set-mode="making"]) {
  --active-op-color: var(--op-object-color, var(--topics-warm));
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-switch .frame-sigil[data-set-mode="current"]) {
  --active-op-color: var(--op-action-color, var(--topics-accent));
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-board__panels) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-inline-size: 0;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-lane) {
  display: grid;
  gap: 0.48rem;
  min-inline-size: 0;
  padding-block-start: 0.05rem;
  padding-inline-start: clamp(0.58rem, 1.2vw, 0.74rem);
  border-inline-start: 2px solid color-mix(in srgb, var(--topic-route-lane-accent) 34%, transparent);
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-lane[hidden]) {
  display: none;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-lane__kicker) {
  margin: 0;
  color: color-mix(in srgb, var(--topic-route-lane-accent) 66%, var(--topics-ink));
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.22;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-lane h2) {
  max-inline-size: 24rem;
  margin: 0;
  color: var(--topics-ink);
  font-size: clamp(1rem, 0.92rem + 0.34vw, 1.18rem);
  line-height: 1.18;
  text-wrap: balance;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-lane > p:not(.topic-route-lane__kicker)) {
  max-inline-size: 45rem;
  margin: 0;
  color: var(--topics-ink-soft);
  font-size: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  line-height: 1.46;
}

:where(body[data-spw-surface="topics"] #topics-register .topic-route-lane .frame-operators) {
  margin-block-start: 0.15rem;
  min-inline-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  :where(body[data-spw-surface="topics"] #topics-register .topic-route-board[data-spw-lens-state="changed"] .topic-route-lane[data-spw-lens-panel-state="active"]) {
    animation: topic-route-lane-settle 360ms var(--ease-settle, ease) both;
  }

  @keyframes topic-route-lane-settle {
    from {
      opacity: 0;
      transform: translateY(0.24rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 720px) {
  :where(body[data-spw-surface="topics"]) {
    --site-header-opacity: 1;
    --topics-ink: rgba(24, 30, 29, 0.98);
    --topics-ink-soft: rgba(24, 30, 29, 0.84);
    --topics-surface: rgba(255, 255, 255, 0.9);
    --topics-surface-strong: rgba(255, 255, 255, 0.96);
    --topics-surface-soft: rgba(255, 255, 255, 0.78);
    --topics-paper:
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--topics-accent) 3%, rgba(255, 255, 255, 0.98)),
        rgba(247, 245, 240, 0.98)
      );
  }

  html[data-spw-color-mode="dark"] :where(body[data-spw-surface="topics"]) {
    --topics-ink: rgba(244, 248, 246, 0.98);
    --topics-ink-soft: rgba(218, 226, 222, 0.9);
    --topics-surface: rgba(18, 23, 26, 0.94);
    --topics-surface-strong: rgba(25, 31, 34, 0.98);
    --topics-surface-soft: rgba(18, 23, 26, 0.86);
    --topics-paper:
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--topics-accent) 5%, rgba(18, 23, 26, 0.99)),
        rgba(18, 23, 26, 0.99) 40%,
        rgba(12, 16, 18, 0.99)
      );
  }

  @media (prefers-color-scheme: dark) {
    html[data-spw-color-mode="auto"] :where(body[data-spw-surface="topics"]) {
      --topics-ink: rgba(244, 248, 246, 0.98);
      --topics-ink-soft: rgba(218, 226, 222, 0.9);
      --topics-surface: rgba(18, 23, 26, 0.94);
      --topics-surface-strong: rgba(25, 31, 34, 0.98);
      --topics-surface-soft: rgba(18, 23, 26, 0.86);
      --topics-paper:
        linear-gradient(
          180deg,
          color-mix(in srgb, var(--topics-accent) 5%, rgba(18, 23, 26, 0.99)),
          rgba(18, 23, 26, 0.99) 40%,
          rgba(12, 16, 18, 0.99)
        );
    }
  }

  :where(body[data-spw-surface="topics"] article > .site-frame)::after {
    background: none;
    opacity: 0;
  }

  :where(body[data-spw-surface="topics"] .site-hero .spec-strip) {
    display: none;
  }

  :where(body[data-spw-surface="topics"] article > .site-frame) :where(h1, h2, h3, .page-lede, .site-lede, .frame-note, .inline-note) {
    letter-spacing: 0;
    transform: none;
  }

  :where(body[data-spw-surface="topics"] article > .site-frame) :where(h1, h2, h3) {
    color: color-mix(in srgb, var(--topics-ink, #f4f8f6) 92%, var(--topics-accent, #86beb5) 8%);
  }

  :where(body[data-spw-surface="topics"] article > .site-frame) :where(.page-lede, .site-lede) {
    color: var(--topics-ink);
    font-weight: 560;
  }

  :where(body[data-spw-surface="topics"] article > .site-frame) :where(.frame-note, .inline-note) {
    color: var(--topics-ink-soft);
    font-weight: 520;
  }

  :where(body[data-spw-surface="topics"] #topics-register.site-hero) {
    gap: clamp(0.58rem, 2.2vw, 0.82rem);
    padding-block-start: clamp(0.74rem, 4vw, 1rem);
    border-color: color-mix(in srgb, var(--topics-line-strong) 34%, var(--topics-line));
    background:
      radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--topics-accent) 12%, transparent), transparent 18rem),
      var(--topics-paper);
    box-shadow:
      0 12px 24px color-mix(in srgb, #000 18%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--topics-ink) 10%, transparent);
  }

  :where(body[data-spw-surface="topics"] #topics-register .frame-topline) {
    padding-block: 0.42rem;
    border-bottom-color: color-mix(in srgb, var(--topics-line-strong) 34%, transparent);
    background: color-mix(in srgb, var(--topics-surface-strong) 72%, transparent);
  }

  :where(body[data-spw-surface="topics"] #topics-register .frame-body) {
    gap: clamp(0.54rem, 2.2vw, 0.74rem);
    padding-block-start: 0;
    background: transparent;
    opacity: 1;
  }

  :where(body[data-spw-surface="topics"] #topics-title) {
    margin-block-start: 0;
    text-wrap: balance;
  }

  :where(body[data-spw-surface="topics"] #topics-hook) {
    display: grid;
    gap: 0.42rem;
    margin-block: 0.2rem 0.34rem;
    padding: 0.68rem 0.74rem;
    border: 1px solid color-mix(in srgb, var(--topics-accent) 24%, var(--topics-line));
    border-radius: 8px;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--topics-accent) 8%, transparent), transparent 72%),
      color-mix(in srgb, var(--topics-surface-strong) 88%, var(--topics-accent) 6%);
    color: var(--topics-ink);
    box-shadow:
      0 0.5rem 1.15rem color-mix(in srgb, #000 14%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--topics-ink) 10%, transparent);
    filter: none;
    transition:
      border-color 160ms var(--ease-settle, ease),
      box-shadow 160ms var(--ease-settle, ease),
      transform 160ms var(--ease-settle, ease);
  }

  :where(body[data-spw-surface="topics"] #topics-hook:is(:hover, :focus-within)) {
    border-color: color-mix(in srgb, var(--topics-accent) 42%, var(--topics-line));
    box-shadow:
      0 0.68rem 1.35rem color-mix(in srgb, var(--topics-accent) 16%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--topics-ink) 14%, transparent);
    transform: translateY(-1px);
  }

  :where(body[data-spw-surface="topics"] #topics-hook :is(.hook-lede, .hook-sub, .hook-invitation)) {
    margin: 0;
    max-inline-size: none;
  }

  :where(body[data-spw-surface="topics"] #topics-hook .hook-lede) {
    color: var(--topics-ink);
    font-size: clamp(0.9rem, 0.84rem + 0.28vw, 0.98rem);
    line-height: 1.42;
  }

  :where(body[data-spw-surface="topics"] #topics-hook :is(.hook-sub, .hook-invitation)) {
    color: var(--topics-ink-soft);
    font-size: clamp(0.76rem, 0.72rem + 0.18vw, 0.84rem);
    line-height: 1.38;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-reason-strip) {
    display: flex;
    gap: 0.52rem;
    margin-block: 0.3rem 0.42rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-block-end: 0.12rem;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-reason-strip > *) {
    flex: 0 0 min(84%, 15.5rem);
    padding: 0.62rem;
    scroll-snap-align: start;
  }

  :where(body[data-spw-surface="topics"] #topics-register .frame-operators) {
    flex-wrap: nowrap;
    gap: 0.38rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-block: 0.08rem 0.18rem;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  :where(body[data-spw-surface="topics"] #topics-register .frame-operators > .operator-chip) {
    flex: 0 0 auto;
    max-inline-size: min(78vw, 22rem);
    min-block-size: 2.05rem;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-board) {
    gap: 0.58rem;
    margin-block: 0.38rem 0.08rem;
    padding-block: 0.62rem 0.08rem;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-board__head) {
    gap: 0.5rem;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-board__prompt) {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-switch) {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-block: 0.16rem 0.14rem;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-switch .frame-sigil) {
    flex: 0 0 auto;
    min-inline-size: max-content;
    scroll-snap-align: start;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-lane) {
    gap: 0.38rem;
    padding-inline-start: 0.54rem;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-lane h2) {
    font-size: 0.98rem;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-route-lane > p:not(.topic-route-lane__kicker)) {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-board) {
    gap: 0.54rem;
    margin-block: 0.48rem;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-board__header) {
    gap: 0.2rem;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-board__header p) {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-board__grid) {
    display: flex;
    gap: 0.58rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-block-end: 0.16rem;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-card) {
    flex: 0 0 min(82vw, 15rem);
    gap: 0.38rem;
    padding: 0.5rem;
    scroll-snap-align: start;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-card__media) {
    aspect-ratio: 16 / 9;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-card__copy) {
    display: none;
  }

  :where(body[data-spw-surface="topics"] #topics-register .spw-visual-link-card__cue) {
    display: none;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-photo-card[data-spw-image-shape="square"] img) {
    aspect-ratio: 16 / 10;
  }

  :where(body[data-spw-surface="topics"] #topics-register .topic-photo-card figcaption) {
    padding: 0.72rem 0.78rem 0.82rem;
  }
}

:where(body[data-spw-surface="topics"] #math-hero) {
  background:
    radial-gradient(circle at 80% 18%, rgba(158, 89, 43, 0.12), transparent 22%),
    radial-gradient(circle at 18% 10%, rgba(42, 80, 75, 0.08), transparent 24%),
    var(--topics-paper);
}

:where(body[data-spw-surface="topics"] .site-hero[data-spw-image-hero="true"]) {
  background:
    radial-gradient(circle at 82% 18%, rgba(158, 89, 43, 0.12), transparent 22%),
    radial-gradient(circle at 18% 12%, rgba(42, 80, 75, 0.08), transparent 24%),
    var(--topics-paper);
}

:where(body[data-spw-surface="topics"] .site-hero[data-spw-image-hero="true"] .topic-photo-card) {
  margin: 0;
  background:
    linear-gradient(180deg, var(--topics-sheen), transparent 44%),
    linear-gradient(180deg, color-mix(in srgb, var(--topics-accent) 8%, transparent), var(--topics-panel));
}

:where(body[data-spw-surface="topics"] .site-hero[data-spw-image-hero="true"] .topic-photo-card[data-spw-image-prominence="hero"] figcaption) {
  gap: 0.45rem;
}

:where(body[data-spw-surface="topics"] .site-hero[data-spw-image-hero="true"] .topic-photo-card[data-spw-image-shape="square"] img) {
  aspect-ratio: 1 / 1;
}

:where(body[data-spw-surface="topics"] .topic-reference-card,
       body[data-spw-surface="topics"] .topic-photo-card) {
  border-color: color-mix(in srgb, var(--topics-line-strong) 42%, var(--topics-line));
  background: var(--topics-panel);
  box-shadow: var(--topics-card-shadow);
}

:where(body[data-spw-surface="topics"] .topic-reference-card > h3,
       body[data-spw-surface="topics"] .topic-photo-card figcaption strong) {
  color: color-mix(in srgb, var(--ink, #1f2423) 86%, var(--topics-accent));
}

:where(body[data-spw-surface="topics"] .topic-photo-card) {
  --spw-image-interaction-lift: 1.016;
  --spw-image-interaction-saturate: 1.04;
  --spw-image-interaction-contrast: 1.02;
}

:where(body[data-spw-surface="topics"] .palette-probe) {
  border-color: color-mix(in srgb, var(--spw-palette-probe-1, var(--topics-accent)) 20%, var(--topics-line));
}

:where(body[data-spw-surface="topics"] .market-card) {
  border-color: color-mix(in srgb, var(--spw-palette-probe-1, var(--topics-accent)) 18%, var(--topics-line));
}

:where(body[data-spw-surface="topics"] .frame-card--illustrated) {
  background: var(--topics-panel-muted);
  box-shadow: var(--topics-card-shadow);
}

:where(body[data-spw-surface="topics"] .frame-card--illustrated .frame-card-media) {
  border-bottom-color: color-mix(in srgb, var(--topics-line-strong) 34%, var(--topics-line));
  background:
    linear-gradient(180deg, var(--topics-sheen), transparent 46%),
    color-mix(in srgb, var(--topics-surface-panel-strong) 90%, var(--topics-accent-soft));
}

:where(body[data-spw-surface="topics"] .frame-card--illustrated .frame-card-media::after) {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--topics-surface-strong) 18%, transparent) 52%, color-mix(in srgb, var(--topics-surface-strong) 52%, transparent));
}

:where(body[data-spw-surface="topics"] .spw-svg-figure) {
  margin: 0;
  background: var(--topics-panel);
  border-color: color-mix(in srgb, var(--topics-line-strong) 34%, var(--topics-line));
  box-shadow: var(--topics-card-shadow);
}

:where(body[data-spw-surface="topics"] .spw-svg-figure svg) {
  width: 100%;
  height: auto;
  border-radius: var(--shape-surface, 10px);
  background: var(--topics-svg-bg);
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram) {
  margin-block: 0.9rem 1.1rem;
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .spw-svg-surface) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 46%),
    color-mix(in srgb, var(--topics-surface-panel-strong) 92%, var(--topics-accent-soft));
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .spw-svg-rail) {
  max-inline-size: 100%;
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .spw-svg-rail .spec-pill) {
  max-inline-size: 100%;
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .posture-node) {
  color: var(--topics-ink);
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .posture-node--center) {
  color: var(--topics-accent);
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .posture-node--study) {
  color: var(--op-probe-color);
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .posture-node--stabilize) {
  color: var(--op-ref-color);
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .posture-node--build) {
  color: var(--op-action-color);
}

:where(body[data-spw-surface="topics"] #learning-postures-diagram .posture-node--play) {
  color: var(--op-frame-color);
}

@media (max-width: 719px) {
  :where(body[data-spw-surface="topics"] #learning-postures-diagram .spw-svg-rail) {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
    mask-image: none;
    scroll-snap-type: none;
  }

  :where(body[data-spw-surface="topics"] #learning-postures-diagram .spw-svg-rail .spec-pill) {
    min-inline-size: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

:where(body[data-spw-surface="topics"] .math-lens-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

:where(body[data-spw-surface="topics"] .math-lens-card) {
  display: grid;
  gap: 0.7rem;
  min-height: 100%;
  padding: clamp(0.95rem, 1.8vw, 1.2rem);
  border: 1px solid color-mix(in srgb, var(--topics-line-strong) 36%, var(--topics-line));
  border-radius: var(--shape-surface, 12px);
  background: var(--topics-panel-muted);
  box-shadow: var(--topics-card-shadow);
}

:where(body[data-spw-surface="topics"] .math-lens-card:nth-child(2)) {
  background: var(--topics-panel-violet);
}

:where(body[data-spw-surface="topics"] .math-lens-card:nth-child(3)) {
  background: var(--topics-panel-warm);
}

:where(body[data-spw-surface="topics"] .math-lens-card .frame-card-sigil) {
  margin: 0;
}

:where(body[data-spw-surface="topics"] .math-lens-card h3) {
  margin: 0;
  color: color-mix(in srgb, var(--ink, #1f2423) 86%, var(--topics-accent));
}

:where(body[data-spw-surface="topics"] .math-lens-card p) {
  margin: 0;
  color: var(--ink-soft, rgba(0, 0, 0, 0.66));
}

:where(body[data-spw-surface="topics"] .math-lens-card .spec-strip) {
  margin: 0;
}

:where(body[data-spw-surface="topics"] .math-lens-card a:last-child) {
  margin-top: auto;
  font-size: var(--text-size-chip, 0.82rem);
  letter-spacing: 0.04em;
  text-decoration: none;
}

:where(body[data-spw-surface="topics"] .math-lens-card a:last-child:hover,
       body[data-spw-surface="topics"] .math-lens-card a:last-child:focus-visible) {
  text-decoration: underline;
}

:where(body[data-spw-surface="topics"] .math-interactive-lab) {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

:where(body[data-spw-surface="topics"] .math-diagram-controls) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.8rem;
}

:where(body[data-spw-surface="topics"] .math-control) {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--topics-line-strong) 30%, var(--topics-line));
  border-radius: var(--shape-surface, 10px);
  background: var(--topics-panel-muted);
  box-shadow: var(--topics-card-shadow);
  font-family: var(--site-mono-font, "JetBrains Mono", monospace);
  font-size: var(--text-size-sm, 0.85rem);
  color: var(--ink-soft, rgba(0,0,0,0.7));
}

:where(body[data-spw-surface="topics"] .math-control span) {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

:where(body[data-spw-surface="topics"] .math-control output) {
  font-size: var(--text-size-base, 1rem);
  color: var(--ink, #1f2423);
}

:where(body[data-spw-surface="topics"] .math-control input[type="range"]) {
  width: 100%;
}

:where(body[data-spw-surface="topics"] .math-control select) {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--topics-line-strong) 36%, var(--topics-line));
  border-radius: var(--shape-control, 0.78rem);
  background: var(--topics-input-bg);
  color: var(--topics-ink);
  font: inherit;
}

:where(body[data-spw-surface="topics"] .math-diagram-status) {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid color-mix(in srgb, var(--topics-accent) 64%, var(--topics-warm));
  background: var(--topics-status-bg);
  border-radius: var(--shape-surface, 10px);
  color: var(--ink-soft, rgba(0,0,0,0.72));
  /* Base transparent border reserves space so [data-spw-measure-kind] attribute application (via JS) doesn't cause reflow or box model shift on narrow/tall or wide viewports. */
  border: 1px solid transparent;
}

:where(body[data-spw-surface="topics"] .math-toggle-row) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

:where(body[data-spw-surface="topics"] .math-toggle-row button) {
  border-radius: var(--shape-control, 0.78rem);
}

:where(body[data-spw-surface="topics"] .math-toggle-row button[aria-pressed="true"]) {
  background: color-mix(in srgb, var(--topics-accent) 20%, var(--topics-surface-strong));
  border-color: color-mix(in srgb, var(--topics-accent) 42%, var(--topics-line));
  color: var(--ink, #1f2423);
}

:where(body[data-spw-surface="topics"] [data-math-visual="commuting-square"] [data-segment]) {
  transition:
    opacity var(--duration-base, 220ms) var(--ease-mechanical, ease),
    stroke var(--duration-base, 220ms) var(--ease-mechanical, ease);
}

:where(body[data-spw-surface="topics"] [data-math-visual="commuting-square"] [data-segment-state="active"]) {
  opacity: 1;
}

:where(body[data-spw-surface="topics"] [data-math-visual="commuting-square"] [data-segment-state="muted"]) {
  opacity: 0.22;
}

@supports (container-type: inline-size) {
  @container (min-width: 58rem) and (max-width: 69.99rem) {
    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"]) {
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(0.9rem, 2vw, 1.2rem);
      align-items: start;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="header"]) {
      grid-column: 1;
      grid-row: 1;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="body"]) {
      grid-column: 1;
      grid-row: 2;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="figure"]) {
      grid-column: 1;
      grid-row: 3;
      width: min(100%, 34rem);
      justify-self: center;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="actions"]) {
      grid-column: 1;
      grid-row: 4;
    }
  }
}

@supports (container-type: inline-size) {
  @container (min-width: 70rem) and (max-width: 79.99rem) {
    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"]) {
      grid-template-columns: 1fr;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="header"],
           body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="body"],
           body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="figure"],
           body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="actions"]) {
      grid-column: 1;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="header"]) {
      grid-row: 1;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="body"]) {
      grid-row: 2;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="figure"]) {
      grid-row: 3;
      width: min(100%, 34rem);
      justify-self: center;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="actions"]) {
      grid-row: 4;
    }
  }
}

@supports (container-type: inline-size) {
  @container (min-width: 80rem) {
    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"]) {
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="body"]) {
      grid-column: 1 / span 7;
    }

    :where(body[data-spw-surface="topics"] .site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="figure"]) {
      grid-column: 9 / -1;
      grid-row: 2;
      width: 100%;
    }
  }
}

@media (max-width: 820px) {
  :where(body[data-spw-surface="topics"]) main {
    --spw-main-padding-inline: 0.8rem;
  }
}

/* Topics register containment: the hero owns body, figure, and visual links as
   deliberate slots. The visual route board should not auto-place as a third rail. */
body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.72rem, 1.8vw, 1rem);
  align-items: start;
  align-content: start;
}

body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="header"] {
  grid-column: 1;
  grid-row: 1;
}

body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > .topic-hero-copy {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > .topic-photo-card {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  width: min(100%, 34rem);
  max-inline-size: 100%;
  min-height: 0;
  overflow: hidden;
}

body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > .spw-visual-link-board {
  grid-column: 1;
  grid-row: 4;
  width: 100%;
  max-inline-size: none;
  min-width: 0;
  margin-block: 0.35rem 0;
}

body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="actions"] {
  grid-column: 1;
  grid-row: 5;
}

body[data-spw-surface="topics"] #topics-register .frame-body {
  max-inline-size: min(100%, 56rem);
}

body[data-spw-surface="topics"] #topics-register > .topic-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 72rem) {
  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
    column-gap: clamp(0.95rem, 2vw, 1.3rem);
  }

  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="header"] {
    grid-column: 1 / -1;
  }

  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > .topic-hero-copy {
    grid-column: 1;
    grid-row: 2;
  }

  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > .topic-photo-card {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    align-self: start;
    justify-self: stretch;
  }

  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > .spw-visual-link-board {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] > [data-spw-slot="actions"] {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  body[data-spw-surface="topics"] #topics-register .topic-route-board__head {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, auto);
    align-items: end;
  }

  body[data-spw-surface="topics"] #topics-register .topic-route-switch {
    justify-self: end;
    max-inline-size: min(100%, 31rem);
  }

  body[data-spw-surface="topics"] #topics-register .topic-route-lane {
    grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
    column-gap: clamp(0.9rem, 2vw, 1.35rem);
    row-gap: 0.34rem;
    align-items: start;
  }

  body[data-spw-surface="topics"] #topics-register .topic-route-lane__kicker,
  body[data-spw-surface="topics"] #topics-register .topic-route-lane h2 {
    grid-column: 1;
  }

  body[data-spw-surface="topics"] #topics-register .topic-route-lane > p:not(.topic-route-lane__kicker),
  body[data-spw-surface="topics"] #topics-register .topic-route-lane .frame-operators {
    grid-column: 2;
  }

  body[data-spw-surface="topics"] #topics-register .topic-route-lane > p:not(.topic-route-lane__kicker) {
    max-inline-size: 37rem;
  }

  body[data-spw-surface="topics"] #topics-register .spw-visual-link-board__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding-block-end: 0;
  }

  body[data-spw-surface="topics"] #topics-register .spw-visual-link-card {
    flex: none;
    min-width: 0;
    max-inline-size: none;
  }

  body[data-spw-surface="topics"] #topics-register .spw-visual-link-card__copy {
    display: block;
  }
}

@media (min-width: 86rem) {
  body[data-spw-surface="topics"] #topics-register.site-hero--split-figure[data-spw-image-hero="true"] {
    grid-template-columns: minmax(34rem, 1fr) minmax(18rem, 26rem);
  }
}

@media (min-width: 721px) and (max-width: 92rem) {
  body[data-spw-surface="topics"] .spw-discovery-notice-stack {
    width: min(19rem, calc(100vw - 2rem));
    inset-block-end: calc(max(1rem, env(safe-area-inset-bottom)) + 2.8rem);
    inset-inline-end: max(0.9rem, env(safe-area-inset-right));
  }

  body[data-spw-surface="topics"] .spw-discovery-notice {
    gap: 0.4rem;
    max-block-size: 14rem;
    padding: 0.7rem 0.78rem;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 58%),
      rgba(18, 23, 26, 0.98);
    color: rgba(244, 248, 246, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-spw-surface="topics"] .spw-discovery-notice__title {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  body[data-spw-surface="topics"] .spw-discovery-notice__summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  body[data-spw-surface="topics"] .spw-discovery-notice__offer,
  body[data-spw-surface="topics"] .spw-discovery-notice__why,
  body[data-spw-surface="topics"] .spw-discovery-notice__handles,
  body[data-spw-surface="topics"] .spw-discovery-notice__meta {
    display: none;
  }
}
}
