    /* ── Rail container: vertical stack of widgets ── */
    .rail {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-width: 0;
    }

    /* Shared: small caps action button (ЗАВАНТАЖИТИ / ПЕРЕГЛЯНУТИ) */
    .rail .rail-docs__dl {
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.02em;
        flex-shrink: 0;
    }

    /* Shared: list bodies own their own row padding, so zero the widget__body inset */
    .rail-docs__body,
    .rail-debt__body {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* ── 1. Індикатори належної обачності ── */
    /* Header badge: bare dark verified-seal (no purple chip). */
    .rail-ind .widget__header-icon.rail-ind__badge {
        width: auto;
        height: auto;
        background: none;
        color: var(--color-neutral-solid-1000);
        align-self: center;
    }

    .rail-ind, .rail-docs, .rail-sanc {
        padding: 0;
    }

    /* Title + description stacked; ⓘ inline on the title line. */
    .rail-ind__header {
        align-items: center;
    }

    .rail-ind__titles {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .rail-ind__title-row {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .rail-ind__subtitle {
        margin: 0;
        color: var(--color-neutral-solid-600);
    }

    .rail-ind__body {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px 24px 24px;
    }

    .rail-ind__summary {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: var(--text-default);
    }

    .rail-ind__summary .ic {
        color: var(--color-neutral-solid-700);
        flex-shrink: 0;
    }

    .rail-ind__list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .rail-ind__card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 8px;
        background: var(--color-neutral-solid-150);
    }

    .rail-ind__emoji {
        font-size: 24px;
        line-height: 1;
        flex-shrink: 0;
    }

    /* Name hugs; the masked result bar follows it (закрашування) per the macet. */
    .rail-ind__name {
        margin: 0;
        color: var(--text-default);
    }

    .rail-ind__mask {
        flex: none;
        width: 150px;
        height: 20px;
    }

    @media (max-width: 520px) {
        .rail-ind__mask {
            width: 110px;
        }
    }

    /* ── 2. Документи ── */
    /* Header: bare dark document-copy glyph + stacked title/description. */
    .rail-docs .widget__header-icon.rail-docs__badge {
        width: auto;
        height: auto;
        background: none;
        color: var(--color-neutral-solid-1000);
        align-self: center;
    }

    .rail-docs__header {
        align-items: center;
    }

    .rail-docs__titles {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .rail-docs__title-row {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .rail-docs__subtitle {
        margin: 0;
        color: var(--color-neutral-solid-600);
    }

    /* Rows span the full card width; divider between them. */
    .rail-docs__body {
        padding-left: 0;
        padding-right: 0;
    }

    .rail-docs__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--color-primary-200);
    }

    .rail-docs__row:last-child {
        border-bottom: 0;
    }

    .rail-docs__name {
        flex: 1;
        min-width: 0;
        color: var(--text-default);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ── Санкції (unlocked, Figma 3457:265364) ── */
    .rail-sanc .widget__header-icon.rail-sanc__badge {
        width: auto;
        height: auto;
        background: none;
        color: var(--color-neutral-solid-1000);
        align-self: center;
    }

    .rail-sanc__header {
        align-items: center;
    }

    .rail-sanc__titles {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .rail-sanc__title-row {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .rail-sanc__subtitle {
        margin: 0;
        color: var(--color-neutral-solid-600);
    }

    .rail-sanc__body {
        padding: 0;
    }

    .rail-sanc__row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--color-primary-200);
    }

    .rail-sanc__row:last-child {
        border-bottom: 0;
    }

    .rail-sanc__ic {
        flex-shrink: 0;
        color: var(--text-default);
    }

    .rail-sanc__name {
        flex: 1;
        min-width: 0;
        color: var(--text-default);
    }

    /* Purple gated hatch bar (rows 2-3). */
    .rail-sanc__mask {
        flex: none;
        width: 180px;
        height: 32px;
    }

    /* Санкції / Списки спостереження, вузько: заглушка 180px стискала назву
       рядка до кількох літер — зменшуємо пропорційно (×0.62). */
    @media (max-width: 600px) {
        .rail-sanc__mask {
            width: 112px;
            height: 20px;
        }
    }

    /* Дані про санкції / вотч-листи ще збираються (_RailSancLoading): спінер +
       «Завантажуємо…» на місці маски, того ж розміру. */
    .rail-sanc__loading {
        flex: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 180px;
        height: 32px;
        border-radius: 8px;
        background: var(--color-primary-100);
        color: var(--text-default);
    }

    .rail-sanc__spinner {
        flex: none;
        animation: rail-sanc-spin 1s linear infinite;
    }

    @keyframes rail-sanc-spin {
        to {
            transform: rotate(360deg);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .rail-sanc__spinner {
            animation-duration: 3s;
        }
    }

    @media (max-width: 600px) {
        .rail-sanc__loading {
            width: 112px;
            height: 20px;
            gap: 4px;
        }

        .rail-sanc__spinner {
            width: 14px;
            height: 14px;
        }

        .rail-sanc__loading-text {
            font-size: 11px;
        }
    }

    /* Терористичні переліки: кнопка «Детальніше» внизу — як «Перейти в блог»
       у новинах (blog-news.css). Віджет без overflow: hidden, тож низ
       закруглюємо самі (радіус віджета 16px мінус рамка). */
    .rail-terror__more {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        padding: 8px 24px;
        border: 0;
        border-top: 1px solid var(--color-primary-200);
        border-radius: 0 0 15px 15px;
        background: var(--color-neutral-solid-100);
        color: var(--text-default);
        font: inherit;
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
        letter-spacing: 0.38px;
        text-transform: uppercase;
        font-feature-settings: "case" 1;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .rail-terror__more:hover {
        background: var(--color-primary-100);
    }

    /* Red "Знайдено" alert — red diagonal hatch + red label (result shown, not gated). */
    .rail-sanc__found {
        flex: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 109px;
        height: 32px;
        padding: 0 12px;
        border-radius: 8px;
        color: var(--color-other-colors-red-700);
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
        background-image: repeating-linear-gradient(-60deg,
                var(--color-other-colors-red-300) 0 9px,
                var(--color-other-colors-red-200) 9px 18px);
    }

    .rail-sanc__view {
        flex: none;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    /* Замок податкових блоків (Податкова, Банкрутство, Виконавчі) — спільний
       .teaser-lock (styles.css), тіло — .teaser-body. У вузькій колонці рейки,
       як у макеті 3457:265444: вужчий текст, щільніші рядки, світліший підпис. */
    .tsr__locked {
        --teaser-lock-w: 360px;
        --teaser-lock-gap: 12px;
    }

    .tsr__locked .teaser-lock__flowers {
        object-fit: cover;
    }

    .tsr__locked .teaser-lock__title {
        margin-top: 4px;
    }

    .tsr__locked .teaser-lock__text {
        color: var(--color-neutral-solid-700);
    }

    /* ── 6. Боргові зобов'язання (3457:265510) — gated ── */
    .rail-debt__body {
        display: flex;
        flex-direction: column;
    }

    .rail-debt__cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 0;
    }

    .rail-debt__cell--wide {
        border-bottom: 1px solid var(--color-primary-200);
    }

    .rail-debt__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid var(--color-primary-200);
    }

    .rail-debt__grid .rail-debt__cell:nth-child(odd) {
        border-right: 1px solid var(--color-primary-200);
        padding-right: 16px;
    }

    .rail-debt__grid .rail-debt__cell:nth-child(even) {
        padding-left: 16px;
    }

    .rail-debt__grid .rail-debt__cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--color-primary-200);
    }

    .rail-debt__title {
        margin: 0;
        color: var(--text-default);
        width: 100%;
        min-width: 0;
    }

    .rail-debt__mask {
        width: 110px;
        max-width: 100%;
        height: 24px;
    }

    .rail-debt__history {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
        color: var(--text-default);
    }

    .rail-debt__history .ic {
        color: var(--color-neutral-solid-700);
        flex-shrink: 0;
    }

    .rail-debt__history-label {
        flex: 1 1 140px;
        min-width: 0;
    }

    .rail-debt__view {
        flex: 0 0 auto;
        width: 224px;
        max-width: 100%;
        justify-content: center;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    /* Lavender count pill — header «98» + inline «98» in the teaser sentence. */
    .tsr__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 24px;
        height: 24px;
        padding: 0 7px;
        border-radius: 9999px;
        background: var(--color-primary-200);
        color: var(--color-primary-700);
        font-variant-numeric: tabular-nums;
    }

    .tsr__count--inline {
        vertical-align: middle;
        margin: 0 2px;
    }

    /* ── 9. Банкрутство (3457:265761) — locked teaser (reuses .tsr--enf table blur + .tsr__* overlay) ── */
    /* Macet is 500×352 (body ~286); the 2-row blurred table alone is too short, so the
       lock overlay looks cramped — floor the body height so the overlay breathes. */
    .rail-bankr .tsr__body {
        min-height: 286px;
    }