/* ============================================================
   GALEXA — site-wide design system
   Source of truth: DESIGN.md · Spec: GALEXA-REDESIGN-SPEC.md
   Two temperatures, one brand: body.t-corp / body.t-stud
   ============================================================ */

:root {
  --green-950: #16240f;
  --green-900: #1e3a1b;
  --green-700: #2b5127;
  --green-500: #4a7a42;
  --green-100: #dfe9da;
  --paper: #f7f6f0;
  --ink: #20281f;
  --ink-muted: #43503f;
  --champagne: #d9b878;
  --charcoal: #26302a;
  --marigold: #f2a93b;
  --raspberry: #d0356e;
  --raspberry-text: #b52759;

  --accent: var(--champagne);        /* overridden per temperature */
  --accent-ink: var(--green-950);    /* text color on accent fills */

  --font-display: "Literata", Georgia, serif;
  --font-body: "Sofia Sans", system-ui, sans-serif;
  --font-cond: "Sofia Sans Condensed", "Sofia Sans", system-ui, sans-serif;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-ctl: 2px;
  --radius-card: 6px;

  /* z-scale */
  --z-nav: 10;
  --z-toast: 30;

  --header-h: 64px;
  --measure: 68ch;
}

body.t-corp { --accent: var(--champagne); --accent-ink: var(--green-950); }
body.t-stud { --accent: var(--marigold); --accent-ink: var(--green-950); }

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "locl";
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: inherit;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p, li { max-width: var(--measure); text-wrap: pretty; }

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-500); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-ctl);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: calc(var(--z-nav) + 1);
  background: var(--paper);
  color: var(--green-700);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-ctl);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible { top: 0.75rem; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 3rem, 50rem); margin-inline: auto; }

.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

.flow > * + * { margin-top: 1rem; }
.flow > h2 + *, .flow > h3 + * { margin-top: 0.75rem; }
.flow > * + h2 { margin-top: 2.5rem; }
.flow > * + h3 { margin-top: 1.75rem; }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--ink-muted); }

/* ---------- Buttons, chips, pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-ctl);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease-out-quint);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--green-700); color: var(--paper); }
.btn--primary:hover { background: var(--green-500); color: var(--paper); }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--paper); color: var(--green-950); }

.btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-700); color: var(--paper); }

.btn--ghost-light { border-color: color-mix(in oklab, var(--paper) 60%, transparent); color: var(--paper); background: transparent; }
.btn--ghost-light:hover { background: var(--paper); color: var(--green-950); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  font-size: 0.87rem;
  font-weight: 500;
  padding: 0.32rem 0.7rem;
  border: 1px solid color-mix(in oklab, currentColor 40%, transparent);
  border-radius: var(--radius-ctl);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  border: 1.5px solid color-mix(in oklab, var(--paper) 45%, transparent);
  border-radius: 99px;
  padding: 0.35rem 0.85rem;
  white-space: nowrap;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.pill:hover { border-color: var(--paper); background: var(--paper); color: var(--green-950); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--green-900);
  color: var(--paper);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2.5rem, 80rem);
}
.site-header .brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header .brand img { width: 118px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.site-nav a {
  color: color-mix(in oklab, var(--paper) 88%, transparent);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--paper); }
.site-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--accent); }
.site-nav .btn { padding: 0.6rem 1.05rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid color-mix(in oklab, var(--paper) 45%, transparent);
  border-radius: var(--radius-ctl);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-950);
    padding: 0.75rem 1.25rem 1.5rem;
    box-shadow: 0 18px 30px rgba(22, 36, 15, 0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
  .site-nav .pill { margin-top: 0.85rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(420px, 62vh, 640px);
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(22, 36, 15, 0.93) 0%, rgba(30, 58, 27, 0.55) 55%, rgba(30, 58, 27, 0.38) 100%);
}
.hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { max-width: 22ch; }
.hero .lead { color: color-mix(in oklab, var(--paper) 86%, transparent); max-width: 52ch; margin-top: 1rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

.hero--drench { background: var(--green-900); min-height: 0; }
.hero--drench::after { content: none; }

/* ---------- Evidence row (named proof, champagne rules) ---------- */
.evidence {
  background: var(--green-900);
  color: var(--paper);
}
.evidence ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.evidence li {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: 0.02em;
  padding: 1.1rem 1.75rem;
  position: relative;
}
.evidence li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1.6em;
  width: 1px;
  background: color-mix(in oklab, var(--accent) 55%, transparent);
}
@media (max-width: 700px) {
  .evidence ul { flex-direction: column; align-items: center; text-align: center; }
  .evidence li { padding: 0.55rem 0; }
  .evidence li + li::before { content: none; }
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stats .stat b {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1;
  color: var(--accent);
}
.stats .stat span { display: block; margin-top: 0.4rem; font-size: 0.98rem; }

.drench { background: var(--green-900); color: var(--paper); }
.drench a { color: var(--accent); }
.drench .lead { color: color-mix(in oklab, var(--paper) 85%, transparent); }
.drench--deep { background: var(--green-950); }

/* ---------- Doors (asymmetric split links) ---------- */
.doors { display: grid; grid-template-columns: 3fr 2fr; gap: 2px; }
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(300px, 44vh, 460px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--paper);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
}
.door img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.7s var(--ease-out-quint); }
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(22, 36, 15, 0.92) 0%, rgba(30, 58, 27, 0.5) 55%, rgba(30, 58, 27, 0.35) 100%);
}
.door:hover img, .door:focus-visible img { transform: scale(1.035); }
.door:focus-visible { outline-offset: -6px; }
.door h3 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); max-width: 18ch; }
.door p { color: color-mix(in oklab, var(--paper) 85%, transparent); margin-top: 0.5rem; font-size: 0.98rem; max-width: 44ch; }
.door .go { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; font-weight: 650; color: var(--accent); }
.door .go .arrow {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform 0.45s var(--ease-out-quint), background-color 0.3s, color 0.3s;
}
.door:hover .go .arrow { transform: translateX(8px); background: var(--accent); color: var(--accent-ink); }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } .door { min-height: 300px; } }

/* ---------- Alternating media bands ---------- */
.band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.band + .band { margin-top: clamp(3rem, 7vw, 5.5rem); }
.band:nth-of-type(even) .band__media { order: 2; }
.band__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.band__media figcaption { font-size: 0.85rem; color: var(--ink-muted); margin-top: 0.5rem; }
.band .btn { margin-top: 1.25rem; }
@media (max-width: 820px) {
  .band { grid-template-columns: 1fr; }
  .band:nth-of-type(even) .band__media { order: 0; }
}

/* ---------- Steps (earned numbered sequences only) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.5rem, 3.5vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.steps b { display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ---------- Timeline (За нас) ---------- */
.timeline { list-style: none; border-left: 2px solid var(--green-100); padding-left: 1.75rem; display: grid; gap: 1.75rem; }
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 6px);
  top: 0.5em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-700);
}
.timeline b { font-family: var(--font-cond); font-size: 1.35rem; color: var(--green-700); display: block; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.35rem; }
.form .req { color: var(--raspberry-text); }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid color-mix(in oklab, var(--ink-muted) 45%, transparent);
  border-radius: var(--radius-ctl);
  padding: 0.7rem 0.85rem;
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--green-500) 55%, transparent);
  outline-offset: 0;
  border-color: var(--green-700);
}
.form textarea { min-height: 8.5rem; resize: vertical; }
.form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.form .consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }
.form .hp { position: absolute; left: -9999px; }
.form .promise { font-size: 0.95rem; color: var(--ink-muted); }
.form-note { padding: 0.9rem 1.1rem; border-radius: var(--radius-card); font-size: 0.98rem; }
.form-note--ok { background: var(--green-100); color: var(--ink); }
.form-note--err { background: color-mix(in oklab, var(--raspberry) 12%, var(--paper)); color: var(--raspberry-text); }

/* ---------- Quiz (placement test) ---------- */
.quiz { max-width: 44rem; margin-inline: auto; }
.quiz__progress { height: 6px; background: var(--green-100); border-radius: 99px; overflow: hidden; margin-bottom: 2rem; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--marigold); transition: width 0.4s var(--ease-out-quint); }
.quiz__q { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; }
.quiz__count { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 0.6rem; }
.quiz__opts { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.quiz__opts button {
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1.5px solid color-mix(in oklab, var(--ink-muted) 40%, transparent);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease-out-quint);
}
.quiz__opts button:hover { border-color: var(--green-700); background: var(--green-100); transform: translateX(3px); }
.level-badge {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 2rem;
  background: var(--raspberry);
  color: #fff;
  padding: 0.45rem 1.3rem;
  border-radius: var(--radius-card);
}

/* ---------- Achievements wall ---------- */
.achv { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.achv article { background: #fff; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--green-100); display: flex; flex-direction: column; }
.achv img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.achv .achv__body { padding: 1.25rem 1.35rem 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.achv .badge {
  justify-self: start;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  background: var(--marigold);
  color: var(--green-950);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-ctl);
}
.achv article:first-child { grid-row: span 2; }
.achv article:first-child img { aspect-ratio: auto; flex: 1; min-height: 260px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: color-mix(in oklab, var(--paper) 85%, transparent); font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.site-footer img.logo { width: 132px; margin-bottom: 1rem; }
.site-footer h4 { color: var(--paper); font-size: 1rem; margin-bottom: 0.85rem; font-weight: 650; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--paper) 25%, transparent); padding-bottom: 1px; }
.site-footer a:hover { color: var(--paper); border-color: var(--paper); }
.site-footer .legal { border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); padding-block: 1.1rem; font-size: 0.85rem; }
.site-footer .legal .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 0; }
@media (max-width: 780px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  .hero .wrap > * { animation: rise 0.55s var(--ease-out-quint) backwards; }
  .hero .wrap > *:nth-child(2) { animation-delay: 0.07s; }
  .hero .wrap > *:nth-child(3) { animation-delay: 0.14s; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .door img, .door .go .arrow, .quiz__opts button, .quiz__progress i { transition: none; }
  .door:hover img { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Ценоразпис (/chzv/) ---------- */
.pricegrid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.pricecard { border: 1px solid var(--green-100); border-radius: var(--radius-card); padding: clamp(1.25rem, 3vw, 1.75rem); background: color-mix(in oklab, var(--paper) 60%, #fff); }
.pricecard h3 { font-family: "Literata", Georgia, serif; font-size: 1.25rem; margin-bottom: 0.9rem; }
.pricelist { display: grid; gap: 0; }
.pricelist > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.65rem 0; border-top: 1px solid color-mix(in oklab, var(--green-700) 14%, transparent); }
.pricelist > div:first-child { border-top: 0; }
.pricelist dt { margin: 0; }
.pricelist dd { margin: 0; font-family: var(--font-cond); font-weight: 700; font-size: 1.2rem; white-space: nowrap; color: var(--green-700); }
.pricelist dd.price--muted { font-family: inherit; font-weight: 500; font-size: 0.95rem; color: var(--ink-muted); }

/* ---------- ЧЗВ акордеон (/chzv/) ---------- */
.faq { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.faq-item { border: 1px solid var(--green-100); border-radius: var(--radius-ctl); background: color-mix(in oklab, var(--paper) 60%, #fff); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-cond); font-size: 1.5rem; line-height: 1; color: var(--green-700); transition: transform 0.25s var(--ease-out-quint); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--green-700); outline-offset: -2px; }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p { margin-top: 0; }
.faq-answer .btn { margin-top: 0.5rem; }

/* Постижения — „равен" вариант за хъба (без голяма първа плочка) */
.achv--plain article:first-child { grid-row: auto; }
.achv--plain article:first-child img { aspect-ratio: 16 / 10; min-height: 0; flex: none; }

.pricecard__sub { margin: -0.4rem 0 0.9rem; font-size: 0.88rem; color: var(--ink-muted); max-width: none; }

/* ---------- Референции — PDF удостоверения ---------- */
.refdocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.refdoc { display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1.1rem; border: 1px solid var(--green-100); border-radius: var(--radius-card); background: color-mix(in oklab, var(--paper) 60%, #fff); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; transition: border-color 0.25s, transform 0.35s var(--ease-out-quint); }
.refdoc:hover { border-color: var(--green-500); transform: translateY(-1px); color: var(--green-700); }
.refdoc__badge { flex-shrink: 0; font-family: var(--font-cond); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; background: var(--green-700); color: var(--paper); border-radius: var(--radius-ctl); padding: 0.3rem 0.5rem; }
.refdoc small { display: block; font-weight: 500; font-size: 0.85rem; color: var(--ink-muted); }
