/* ============================================================
   RAR PATHOLOGY · "Typical & Atypical Pneumonias" styles
   Scoped under .rar-topic-content (black text / no grey rule holds).
   Reuses the shared module system (.atl-* cards/stepper/figure,
   .vasc-tbd placeholder, .solid-text-card, .hy-callout). Page-specific
   bits (typical/atypical tag, distribution schematic) live here.
   ============================================================ */

/* empty interactive mount slots collapse until built */
.rar-topic-content #pneu-stages-mount:empty,
.rar-topic-content #pneu-comparator-mount:empty { display: none; }

/* ---------- Micro cross-link banner ---------- */
.rar-topic-content .pneu-micro-xref {
    margin: 0 0 14px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(10, 132, 255, 0.06);
    border: 1px solid rgba(10, 132, 255, 0.2);
    color: var(--text, #111318);
    font-size: 13.5px;
    line-height: 1.6;
}
.rar-topic-content .pneu-micro-xref__ico { margin-right: 8px; font-size: 16px; }
.rar-topic-content .pneu-xref-link {
    color: var(--accent-strong, #0066cc);
    font-weight: 750;
    text-decoration: underline dotted;
    cursor: pointer;
}

/* ---------- Organism cards ---------- */
/* top-align so a sparse card sizes to its content instead of stretching
   to match a tall neighbor (kills the "small but very tall / empty" look) */
.rar-topic-content .pneu-org-grid { align-items: start; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rar-topic-content .pneu-org .atl-card__h em { font-style: italic; }
.rar-topic-content .pneu-org-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.rar-topic-content .pneu-org-list li { color: var(--text, #111318); font-size: 13.5px; line-height: 1.5; }
.rar-topic-content .pneu-org-list strong { font-weight: 800; }
.rar-topic-content .pneu-org-k {
    display: inline-block;
    min-width: 58px;
    margin-right: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text, #111318);
    font-size: 10.5px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    vertical-align: 1px;
}

/* ---------- Sputum-color chips ---------- */
.rar-topic-content .pneu-sputum {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    border: 1px solid transparent;
}
.rar-topic-content .pneu-sputum--rust { background: rgba(165, 84, 42, 0.16); color: #8a3f1c; border-color: rgba(165, 84, 42, 0.4); }
.rar-topic-content .pneu-sputum--yellow { background: rgba(201, 164, 0, 0.2); color: #7a6400; border-color: rgba(201, 164, 0, 0.45); }
.rar-topic-content .pneu-sputum--green { background: rgba(47, 143, 82, 0.16); color: #1c6b3a; border-color: rgba(47, 143, 82, 0.42); }
.rar-topic-content .pneu-sputum--currant { background: rgba(139, 0, 21, 0.16); color: #8b0015; border-color: rgba(139, 0, 21, 0.4); }
.rar-topic-content .pneu-sputum--muco { background: rgba(15, 23, 42, 0.07); color: var(--text, #111318); border-color: rgba(15, 23, 42, 0.16); }

/* ---------- Sputum-color legend ---------- */
.rar-topic-content .pneu-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rar-topic-content .pneu-legend__row { display: inline-flex; align-items: center; gap: 8px; color: var(--text, #111318); font-size: 14px; font-weight: 650; }
.rar-topic-content .pneu-legend__row em { font-style: italic; }

/* ============================================================
   Typical vs Atypical comparator (Page 2 hero)
   ============================================================ */
.rar-topic-content .pcmp { margin: 4px 0 0; }
.rar-topic-content .pcmp-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(94, 92, 230, 0.1);
    border: 1.5px solid rgba(94, 92, 230, 0.35);
    color: #4a3ea8;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}
.rar-topic-content .pcmp-toggle:hover { background: rgba(94, 92, 230, 0.16); transform: translateY(-1px); }
.rar-topic-content .pcmp-toggle:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.5); outline-offset: 2px; }

.rar-topic-content .pcmp-wrap { overflow-x: auto; border-radius: 16px; }
.rar-topic-content .pcmp-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 620px;
    background: #fff;
    font-size: 13.5px;
}
.rar-topic-content .pcmp-corner { background: transparent; border: 0; width: 150px; }

/* grouped headers */
.rar-topic-content .pcmp-group {
    padding: 9px 12px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
.rar-topic-content .pcmp-group--typical { background: #d6336c; border-top-left-radius: 14px; }
.rar-topic-content .pcmp-group--atypical { background: #4f6f9e; border-top-right-radius: 14px; }
.rar-topic-content .pcmp-group__sub { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; opacity: 0.92; margin-top: 2px; }

.rar-topic-content .pcmp-col {
    padding: 8px 12px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 850;
    color: var(--text, #111318);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}
.rar-topic-content .pcmp-col--typical { background: rgba(214, 51, 108, 0.08); }
.rar-topic-content .pcmp-col--atypical { background: rgba(79, 111, 158, 0.1); }

/* body rows */
.rar-topic-content .pcmp-rowlabel { padding: 0; background: rgba(15, 23, 42, 0.03); border-bottom: 1px solid rgba(15, 23, 42, 0.1); vertical-align: middle; }
.rar-topic-content .pcmp-rowbtn {
    display: block;
    width: 100%;
    padding: 11px 12px;
    background: transparent;
    border: 0;
    text-align: left;
    color: var(--text, #111318);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}
.rar-topic-content .pcmp-rowbtn:hover { background: rgba(94, 92, 230, 0.08); }
.rar-topic-content .pcmp-rowbtn:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.5); outline-offset: -3px; }
.rar-topic-content .pcmp-cell {
    padding: 11px 12px;
    color: var(--text, #111318);
    line-height: 1.45;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    vertical-align: top;
    transition: opacity 0.2s ease;
}
.rar-topic-content .pcmp-cell--typical { background: rgba(214, 51, 108, 0.04); }
.rar-topic-content .pcmp-cell--atypical { background: rgba(79, 111, 158, 0.05); }

/* yes/no chips (the money row) */
.rar-topic-content .pcmp-yn { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; letter-spacing: 0.04em; }
.rar-topic-content .pcmp-yn--yes { background: rgba(214, 51, 108, 0.16); color: #b01050; }
.rar-topic-content .pcmp-yn--no { background: rgba(79, 111, 158, 0.18); color: #33507e; }

/* row-focus drilldown */
.rar-topic-content .pcmp-table.is-drilling .pcmp-row:not(.is-focused) { opacity: 0.4; }
.rar-topic-content .pcmp-row.is-focused .pcmp-rowlabel { background: rgba(94, 92, 230, 0.12); }
.rar-topic-content .pcmp-row.is-focused .pcmp-rowbtn { color: #4a3ea8; }
.rar-topic-content .pcmp-row.is-focused .pcmp-cell { box-shadow: inset 0 0 0 2px rgba(94, 92, 230, 0.35); }
@media (prefers-reduced-motion: reduce) {
    .rar-topic-content .pcmp-cell, .rar-topic-content .pcmp-toggle { transition: none; }
}

.rar-topic-content .pcmp-takeaway {
    margin: 14px 0 0;
    padding: 12px 16px;
    border-radius: 14px;
    border-left: 4px solid #5e5ce6;
    background: rgba(94, 92, 230, 0.07);
    color: var(--text, #111318);
    font-size: 14.5px;
    line-height: 1.55;
}
.rar-topic-content .pcmp-takeaway strong { font-weight: 850; }
.rar-topic-content .pcmp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Etiological chips (compact list) ---------- */
.rar-topic-content .pneu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rar-topic-content .pneu-chip {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(94, 92, 230, 0.1);
    border: 1px solid rgba(94, 92, 230, 0.24);
    color: var(--text, #111318);
    font-size: 13.5px;
    font-weight: 750;
}

/* ---------- Chest X-ray: card + its figure stacked per column ---------- */
.rar-topic-content .pneu-cxr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.rar-topic-content .pneu-cxr-col { display: flex; flex-direction: column; gap: 12px; }
/* CXR thumbnails: compact preview (click to expand for detail) */
.rar-topic-content .pneu-cxr-fig .atl-figure__img,
.rar-topic-content .pneu-cxr-fig .atl-figure__pending { height: 150px; }

/* ============================================================
   Four Stages of Lobar Pneumonia — hero stepper
   ============================================================ */
.rar-topic-content .pst { margin: 4px 0 0; }
.rar-topic-content .pst-intro { margin: 0 0 12px; color: var(--text, #111318); font-size: 14.5px; line-height: 1.55; }

/* timeline (always visible, clickable, synced to tabs) */
.rar-topic-content .pst-timeline {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 4px 6px;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(94, 92, 230, 0.06);
    border: 1px solid rgba(94, 92, 230, 0.2);
}
.rar-topic-content .pst-tl-step {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 120px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.rar-topic-content .pst-tl-step:hover { border-color: rgba(94, 92, 230, 0.5); transform: translateY(-1px); }
.rar-topic-content .pst-tl-step:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.5); outline-offset: 2px; }
.rar-topic-content .pst-tl-day { font-size: 12px; font-weight: 850; color: #4a3ea8; letter-spacing: 0.02em; }
.rar-topic-content .pst-tl-name { font-size: 13.5px; font-weight: 800; color: var(--text, #111318); line-height: 1.2; }
.rar-topic-content .pst-tl-step.is-done { background: rgba(94, 92, 230, 0.08); }
.rar-topic-content .pst-tl-step.is-active { background: #5e5ce6; border-color: #5e5ce6; }
.rar-topic-content .pst-tl-step.is-active .pst-tl-day,
.rar-topic-content .pst-tl-step.is-active .pst-tl-name { color: #fff; }
.rar-topic-content .pst-tl-arrow { align-self: center; color: #5e5ce6; font-weight: 800; }

/* stage tabs */
.rar-topic-content .pst-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rar-topic-content .pst-tab {
    padding: 9px 14px; border-radius: 12px; background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.14); color: var(--text, #111318);
    font-size: 14px; font-weight: 800; cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.rar-topic-content .pst-tab:hover { border-color: rgba(94, 92, 230, 0.5); transform: translateY(-1px); }
.rar-topic-content .pst-tab:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.5); outline-offset: 2px; }
.rar-topic-content .pst-tab.is-active { background: rgba(94, 92, 230, 0.1); border-color: #5e5ce6; box-shadow: 0 8px 20px rgba(94, 92, 230, 0.16); }

/* main: svg + figure side by side */
.rar-topic-content .pst-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .rar-topic-content .pst-main { grid-template-columns: 1fr; } }
.rar-topic-content .pst-stage {
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.9), rgba(255, 255, 255, 0.97));
    border: 1px solid rgba(10, 132, 255, 0.14); border-radius: 18px; padding: 12px;
}
.rar-topic-content .pst-svg { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }

/* base drawing tokens */
.rar-topic-content .pst-airfill { fill: rgba(147, 197, 253, 0.08); }
.rar-topic-content .pst-airtint { fill: transparent; transition: fill 0.25s ease; }
.rar-topic-content .pst-wall { stroke: #6b7280; stroke-width: 3; }
.rar-topic-content .pst-nuc { fill: #64748b; }
.rar-topic-content .pst-cap-lbl { fill: #4b5563; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

/* cells */
.rar-topic-content .pst-neut-body { fill: #dbe4ff; stroke: #4666c4; stroke-width: 1.2; }
.rar-topic-content .pst-neut-lobe { fill: #33489a; }
.rar-topic-content .pst-rbccell { fill: #d64550; stroke: #a01722; stroke-width: 0.8; }
.rar-topic-content .pst-bactcell rect { fill: #7c4dd0; }
.rar-topic-content .pst-mac-body { fill: #bfe3c8; stroke: #2f8f52; stroke-width: 1.4; }
.rar-topic-content .pst-mac-nuc { fill: #1c6b3a; }
.rar-topic-content .pst-mac-debris { fill: #6b7280; }
.rar-topic-content .pst-fibrin path { fill: none; stroke: #ec9ab6; stroke-width: 2; stroke-linecap: round; }

/* capillary — engorgement/color per stage */
.rar-topic-content .pst-cap { fill: rgba(214, 51, 108, 0.5); stroke: rgba(160, 20, 50, 0.4); stroke-width: 1; transition: fill 0.25s ease; }
.rar-topic-content .pst-caprbc { fill: #d64550; transition: opacity 0.25s ease; }

/* ---------- phase visibility engine ---------- */
.rar-topic-content .pst-fibrin,
.rar-topic-content .pst-bacteria,
.rar-topic-content .pst-rbc-air,
.rar-topic-content .pst-neut--few,
.rar-topic-content .pst-neut--packed,
.rar-topic-content .pst-mac { opacity: 0; transition: opacity 0.25s ease; }
.rar-topic-content .pst-svg--noanim * { transition: none !important; }

/* neutrophils: few in congestion; packed in both hepatizations */
.rar-topic-content .pst-svg[data-stage="congestion"] .pst-neut--few,
.rar-topic-content .pst-svg[data-stage="red-hepatization"] .pst-neut--few,
.rar-topic-content .pst-svg[data-stage="gray-hepatization"] .pst-neut--few,
.rar-topic-content .pst-svg[data-stage="red-hepatization"] .pst-neut--packed,
.rar-topic-content .pst-svg[data-stage="gray-hepatization"] .pst-neut--packed { opacity: 1; }
/* bacteria: congestion only */
.rar-topic-content .pst-svg[data-stage="congestion"] .pst-bacteria { opacity: 1; }
/* RBCs in air space: RED hep only */
.rar-topic-content .pst-svg[data-stage="red-hepatization"] .pst-rbc-air { opacity: 1; }
/* fibrin: red + gray hep */
.rar-topic-content .pst-svg[data-stage="red-hepatization"] .pst-fibrin,
.rar-topic-content .pst-svg[data-stage="gray-hepatization"] .pst-fibrin { opacity: 1; }
/* macrophages: resolution */
.rar-topic-content .pst-svg[data-stage="resolution"] .pst-mac { opacity: 1; }

/* air-space tint = the red→gray color read */
.rar-topic-content .pst-svg[data-stage="congestion"] .pst-airtint { fill: rgba(245, 205, 120, 0.18); }
.rar-topic-content .pst-svg[data-stage="red-hepatization"] .pst-airtint { fill: rgba(214, 51, 108, 0.24); }
.rar-topic-content .pst-svg[data-stage="gray-hepatization"] .pst-airtint { fill: rgba(110, 122, 138, 0.26); }
.rar-topic-content .pst-svg[data-stage="resolution"] .pst-airtint { fill: rgba(147, 197, 253, 0.12); }

/* capillary congestion peaks at red hep, fades through gray, normalizes */
.rar-topic-content .pst-svg[data-stage="red-hepatization"] .pst-cap { fill: rgba(214, 20, 60, 0.85); }
.rar-topic-content .pst-svg[data-stage="gray-hepatization"] .pst-cap { fill: rgba(150, 160, 172, 0.5); }
.rar-topic-content .pst-svg[data-stage="gray-hepatization"] .pst-caprbc { opacity: 0.2; }
.rar-topic-content .pst-svg[data-stage="resolution"] .pst-cap { fill: rgba(214, 51, 108, 0.45); }

/* ---------- figure slot ---------- */
.rar-topic-content .pst-figwrap { min-width: 0; }
.rar-topic-content .pst-nofig {
    display: flex; align-items: center; gap: 8px;
    padding: 16px; border-radius: 16px;
    border: 1px dashed rgba(15, 23, 42, 0.2); background: rgba(15, 23, 42, 0.03);
    color: var(--text, #111318); font-size: 13.5px; line-height: 1.5;
}
.rar-topic-content .pst-nofig-ico { font-size: 18px; }

/* ---------- summary + readout rows + cell chip ---------- */
.rar-topic-content .pst-summary { margin: 12px 0; color: var(--text, #111318); font-size: 15.5px; font-weight: 800; line-height: 1.5; }
.rar-topic-content .pst-rows { display: grid; gap: 10px; }
.rar-topic-content .pst-row { display: flex; align-items: baseline; gap: 10px; padding: 11px 14px; border-radius: 14px; }
.rar-topic-content .pst-row__tag { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 850; letter-spacing: 0.02em; }
.rar-topic-content .pst-row__txt { color: var(--text, #111318); font-size: 14.5px; line-height: 1.5; font-weight: 650; }
.rar-topic-content .pst-row--gross { background: rgba(214, 51, 108, 0.08); border: 1px solid rgba(214, 51, 108, 0.3); }
.rar-topic-content .pst-row--gross .pst-row__tag { background: rgba(214, 51, 108, 0.16); color: #b01050; }
.rar-topic-content .pst-row--micro { background: rgba(94, 92, 230, 0.07); border: 1px solid rgba(94, 92, 230, 0.28); }
.rar-topic-content .pst-row--micro .pst-row__tag { background: rgba(94, 92, 230, 0.14); color: #4a3ea8; }
.rar-topic-content .pst-cellchip {
    margin-top: 12px; padding: 9px 14px; border-radius: 12px;
    background: rgba(52, 199, 89, 0.1); border: 1px solid rgba(52, 199, 89, 0.3);
    color: var(--text, #111318); font-size: 14px; font-weight: 700;
}
.rar-topic-content .pst-cellchip__tag {
    display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px;
    background: rgba(31, 143, 67, 0.18); color: #1f8f43;
    font-size: 11px; font-weight: 850; letter-spacing: 0.03em; text-transform: uppercase;
}

/* ---------- typical / atypical card tag ---------- */
.rar-topic-content .pneu-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: 2px;
}
.rar-topic-content .pneu-tag--typical { background: rgba(214, 51, 108, 0.14); color: #b01050; }
.rar-topic-content .pneu-tag--atypical { background: rgba(79, 111, 158, 0.16); color: #33507e; }

/* ============================================================
   Distribution schematic
   ============================================================ */
.rar-topic-content .pnd { margin: 4px 0 0; }

/* segmented control */
.rar-topic-content .pnd-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.rar-topic-content .pnd-tab {
    padding: 9px 15px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    color: var(--text, #111318);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.rar-topic-content .pnd-tab:hover { border-color: rgba(214, 51, 108, 0.5); transform: translateY(-1px); }
.rar-topic-content .pnd-tab:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.5); outline-offset: 2px; }
.rar-topic-content .pnd-tab.is-active { background: rgba(214, 51, 108, 0.1); border-color: #d6336c; box-shadow: 0 8px 20px rgba(214, 51, 108, 0.16); }

/* stage: base raster + overlay */
.rar-topic-content .pnd-stage {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 894 / 773;
    border-radius: 18px;
    overflow: hidden;
    background: #f4f8ff;
    border: 1px solid rgba(15, 23, 42, 0.1);
}
.rar-topic-content .pnd-base { display: block; width: 100%; height: 100%; object-fit: contain; }
.rar-topic-content .pnd--nobase .pnd-base { display: none; }
.rar-topic-content .pnd--nobase .pnd-stage { background: radial-gradient(circle at 50% 40%, #eef3fb, #e3e9f4); }
.rar-topic-content .pnd-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }

/* lobe regions */
.rar-topic-content .pnd-lobe {
    fill: transparent;
    stroke: rgba(15, 23, 42, 0.22);
    stroke-width: 1.5;
    transition: fill 0.25s ease;
}
/* when the base image is missing, outline the lobes more so the shape reads */
.rar-topic-content .pnd--nobase .pnd-lobe { stroke: rgba(15, 23, 42, 0.4); fill: rgba(147, 197, 253, 0.1); }
.rar-topic-content .pnd-overlay[data-state="lobar"] .pnd-lobe { cursor: pointer; }
.rar-topic-content .pnd-overlay[data-state="lobar"] .pnd-lobe:hover { fill: rgba(214, 51, 108, 0.2); }
.rar-topic-content .pnd-overlay[data-state="lobar"] .pnd-lobe:focus-visible { outline: none; stroke: #0a84ff; stroke-width: 3; }
.rar-topic-content .pnd-overlay[data-state="lobar"] .pnd-lobe.is-sel { fill: rgba(214, 51, 108, 0.55); }
.rar-topic-content .pnd-overlay[data-state="interstitial"] .pnd-lobe { fill: url(#pndGround); }

/* bronchopneumonia patches */
.rar-topic-content .pnd-patch { opacity: 0; transition: opacity 0.25s ease; }
.rar-topic-content .pnd-overlay[data-state="broncho"] .pnd-patch { opacity: 1; }

/* reduced motion */
.rar-topic-content .pnd-overlay.pnd--noanim .pnd-lobe,
.rar-topic-content .pnd-overlay.pnd--noanim .pnd-patch { transition: none; }

/* caption + readout */
.rar-topic-content .pnd-caption {
    margin: 12px 0 8px;
    color: var(--text, #111318);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
.rar-topic-content .pnd-readout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.rar-topic-content .pnd-chip {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text, #111318);
    background: rgba(15, 23, 42, 0.06);
}
.rar-topic-content .pnd-chip--pattern { background: rgba(94, 92, 230, 0.12); color: #4a3ea8; }
.rar-topic-content .pnd-chip--consol { background: rgba(214, 51, 108, 0.12); color: #b01050; }
.rar-topic-content .pnd-chip--kind { background: rgba(214, 51, 108, 0.16); color: #b01050; }
.rar-topic-content .pnd-chip--kind.is-atypical { background: rgba(79, 111, 158, 0.16); color: #33507e; }
