/* ==========================================================================
   spot_trust.css — отметки доверия Autospot (линия ol/trust, пункт 20 владельца).
   Отметка — кнопка (касание ≥ 44px), подсказка раскрывается ПО НАЖАТИЮ под ней (без наведения): что проверено, кем и когда,
   чего не проверяли, «Это не гарантия», ссылка «Как мы проверяем». Разметка — spot_trust_chip() в systems/libs/spot_trust.php.
   Цвета — только токены spot_ui.css (тёмная тема переопределяет их значения), направление — логические свойства (fa, RTL).
   Серый вид — автоматические и «чужие» сведения (VIN сверен, телефон); зелёный — проверка человеком по доказательству (часть 2).
   ========================================================================== */

.spot-trust {
    display: block;
    max-width: 100%;
    margin-block-start: 6px;
}
.spot-trust-chip {
    display: inline-flex;
    flex-wrap: wrap;               /* узкая колонка (блок продавца на телефоне): дата переносится строкой ниже, слова не рвутся */
    align-items: center;
    column-gap: 6px;
    row-gap: 2px;
    max-width: 100%;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid var(--spot-line);
    border-radius: 16px;
    background: var(--spot-raise);
    color: var(--spot-ink-2);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.spot-trust--green .spot-trust-chip {
    border-color: transparent;
    background: var(--spot-green-soft);
    color: var(--spot-green-fg);
}
.spot-trust-chip:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}
.spot-trust-chip[aria-expanded="true"] {
    border-color: var(--spot-field-border);
}
.spot-trust-ico {
    flex: none;
    width: 16px;
    height: 16px;
}
.spot-trust-chip .spot-trust-ico:last-child {
    color: var(--spot-mut);
}
.spot-trust-label {
    white-space: normal;           /* перенос только между словами: слово не рвётся, кнопка растёт вниз */
}
.spot-trust,
.spot-trust-chip,
.spot-trust-pop {
    word-break: normal;            /* блоки движка вокруг (имя продавца, VIN) ставят break-all */
    overflow-wrap: break-word;
}
.spot-trust-date {
    font-weight: 500;
    color: var(--spot-mut);
    white-space: nowrap;
}
/* дата и значок «i» — неразрывный хвост: на узкой колонке переносятся вместе, значок не остаётся на строке один (geo, 390 px) */
.spot-trust-tail {
    display: inline-flex;
    align-items: center;
    column-gap: 6px;
    white-space: nowrap;
}
.spot-trust-pop {
    display: block;
    max-width: 480px;
    margin-block-start: 8px;
    padding: 12px 14px;
    border: 1px solid var(--spot-line);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink-2);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: start;
    white-space: normal;
}
.spot-trust-pop[hidden] {
    display: none;
}
.spot-trust-pop > span {
    display: block;
}
.spot-trust-pop > span + span {
    margin-block-start: 6px;
}
.spot-trust-pop-not {
    color: var(--spot-mut);
}
.spot-trust-pop-until {
    color: var(--spot-ink);
}
.spot-trust-pop-warn {
    color: var(--spot-ink);
    font-weight: 600;
}
.spot-trust-pop-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--spot-focus);
    font-weight: 600;
    text-decoration: underline;
}

/* блок продавца на странице объявления: отметка на всю ширину под аватаром и именем (колонка имени на телефоне узкая) */
.spot-trust-seller {
    clear: both;
    padding-block-start: 4px;
}
.spot-trust-seller .spot-trust {
    margin-block-start: 0;
}
/* профиль и магазин: отметка своей строкой под «Был(а) в сети» */
.spot-sl-seller-info .spot-trust,
.spot-sl-shop-info .spot-trust,
.spot-cab-profile-info .spot-trust {
    margin-block-start: 8px;
}
/* VIN на странице объявления: отметка под «Указан продавцом» */
.spot-ad-vin-text .spot-trust {
    margin-block-start: 8px;
}
/* 17 знаков VIN рядом с «Копировать» на телефоне ≤ 400 px помещаются в одну строку (без переноса последнего знака) */
@media (max-width: 400px) {
    .spot-ad-page .spot-ad-vin .spot-ad-vin-num {
        font-size: 14px;
        letter-spacing: 0;
    }
    .spot-ad-page .spot-ad-vin {
        gap: 8px;
    }
}

/* настройки кабинета: статус номера у «Номер телефона» (подтверждён кодом из SMS / не подтверждён) */
.spot-trust-phone-st {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    overflow-wrap: normal;          /* .spot-cab-line-v рвёт слова (anywhere) — статус переносится только целиком */
    word-break: normal;
}
.spot-trust-phone-st > span {
    white-space: nowrap;
}
/* «Подтвердить» — в строке статуса под номером (справа остаётся «Изменить»), касание 44 px */
.spot-cab .spot-trust-phone-act,
.spot-trust-phone-act {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    color: var(--spot-red-fg) !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
}
.spot-trust-phone-st--ok {
    color: var(--spot-green-fg);
}
.spot-trust-phone-st .spot-trust-ico {
    width: 14px;
    height: 14px;
}

/* подсказка к полю VIN в подаче и правке (include/spot_create_vin.php) */
.spot-vin-hint {
    display: block;
    margin-block-start: 6px;
    color: var(--spot-mut);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 20px;
}
.spot-vin-hint[hidden] {
    display: none;
}
.spot-vin-hint.is-warn {
    color: var(--spot-amber);
}
.spot-vin-hint.is-ok {
    color: var(--spot-green-fg);
}

/* ==========================================================================
   Часть 2: блок «Что проверил Autospot» (страница объявления), страницы продавца «Повысить доверие к объявлению» (/trust/ad/ID)
   и «Проверка компании» (/trust/company), строка доверия в кабинете, метка компании в списке компаний.
   Мобильный вид основной: одна колонка, кнопки на всю ширину, касания ≥ 44px, поля 16px (без зума на iOS); с 992px — две колонки.
   ========================================================================== */

/* --- страница объявления: «Что проверил Autospot» --- */
.spot-trust-block .spot-trust-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.spot-trust-block .spot-trust-row .spot-trust {
    margin-block-start: 0;
}
.spot-trust-block-note {
    margin: 10px 0 0;
    color: var(--spot-mut);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 20px;
}
.spot-trust-block-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    margin-block-start: 4px;
}
.spot-trust-block-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--spot-focus);
    font-family: var(--spot-font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
}
.spot-trust-block-link--own {
    color: var(--spot-green-fg);
    text-decoration: none;
}

/* --- кабинет: строка «Доверие: N из M» у объявления --- */
.spot-trust-cab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-block-start: 2px;
    color: var(--spot-ink-2);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    text-decoration: none;
}
.spot-trust-cab b {
    color: var(--spot-green-fg);
}
.spot-trust-cab .spot-trust-ico {
    color: var(--spot-green-fg);
}

/* --- страницы продавца --- */
.spot-trust-page {
    padding-bottom: calc(32px + var(--spot-safe-bottom, 0px));
}
.spot-trust-page [hidden] {
    display: none !important;
}
.spot-trust-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.spot-trust-main,
.spot-trust-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.spot-trust-h1 {
    padding-block-end: 4px;
}
.spot-trust-lead,
.spot-trust-p {
    margin: 0;
    color: var(--spot-ink-2);
    font-size: 15px;
    line-height: 22px;
}
.spot-trust-ad {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px;
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink);
    text-decoration: none;
}
.spot-trust-ad-ph {
    display: inline-flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 48px;
    overflow: hidden;
    border-radius: var(--spot-radius-s);
    background: var(--spot-raise);
    color: var(--spot-mut);
}
.spot-trust-ad-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spot-trust-ad-tx {
    min-width: 0;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* прогресс чек-листа */
.spot-trust-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.spot-trust-progress-t {
    font-size: 14px;
    font-weight: 700;
    color: var(--spot-ink);
}
.spot-trust-progress-bar {
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--spot-raise);
}
.spot-trust-progress-bar i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--spot-green-fg);
}

/* чек-лист */
.spot-trust-check {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
    overflow: hidden;
}
.spot-trust-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
    padding: 14px;
}
.spot-trust-item + .spot-trust-item {
    border-block-start: 1px solid var(--spot-line);
}
.spot-trust-item-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--spot-raise);
    color: var(--spot-mut);
}
.spot-trust-item-ico .spot-trust-ico {
    width: 18px;
    height: 18px;
}
.spot-trust-item--done .spot-trust-item-ico {
    background: var(--spot-green-soft);
    color: var(--spot-green-fg);
}
.spot-trust-item--wait .spot-trust-item-ico {
    background: var(--spot-amber-soft);
    color: var(--spot-amber);
}
.spot-trust-item--fail .spot-trust-item-ico {
    background: var(--spot-red-soft);
    color: var(--spot-red-fg);
}
.spot-trust-item-tx {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-block-start: 3px;
}
.spot-trust-item-tx strong {
    font-size: 15px;
    line-height: 20px;
    color: var(--spot-ink);
}
.spot-trust-item-tx span {
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
    overflow-wrap: anywhere;
}
.spot-trust-item--na .spot-trust-item-tx strong {
    color: var(--spot-mut);
}
.spot-trust-item-act {
    grid-column: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--spot-field-border);
    border-radius: 12px;
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
[dir="rtl"] .spot-trust-item-act .spot-trust-ico,
[dir="rtl"] .spot-trust-teaser > .spot-trust-ico:last-child {
    transform: scaleX(-1);
}

/* карточки шагов: VIN на машине, собственник */
.spot-trust-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
    scroll-margin-top: calc(var(--spot-header-h, 56px) + 12px);
}
.spot-trust-card-h {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--spot-font);
    font-size: 18px;
    line-height: 24px;
    font-weight: 800;
    color: var(--spot-ink);
}
.spot-trust-card-h .spot-trust-ico {
    width: 22px;
    height: 22px;
    color: var(--spot-green-fg);
}
.spot-trust-card-h small {
    font-size: 13px;
    font-weight: 600;
    color: var(--spot-mut);
}
.spot-trust-state {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: var(--spot-radius);
    background: var(--spot-raise);
    color: var(--spot-ink);
}
.spot-trust-state > .spot-trust-ico {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-block-start: 1px;
}
.spot-trust-state div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
}
.spot-trust-state strong {
    font-size: 15px;
}
.spot-trust-state--ok {
    background: var(--spot-green-soft);
}
.spot-trust-state--ok > .spot-trust-ico {
    color: var(--spot-green-fg);
}
.spot-trust-state--wait {
    background: var(--spot-amber-soft);
}
.spot-trust-state--wait > .spot-trust-ico {
    color: var(--spot-amber);
}
.spot-trust-state--bad {
    background: var(--spot-red-soft);
}
.spot-trust-state--bad > .spot-trust-ico {
    color: var(--spot-red-fg);
}
.spot-trust-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding-inline-start: 22px;
    color: var(--spot-ink-2);
    font-size: 15px;
    line-height: 22px;
}

/* одноразовый код */
.spot-trust-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px;
    border: 2px dashed var(--spot-field-border);
    border-radius: var(--spot-radius);
    text-align: center;
}
.spot-trust-code-l,
.spot-trust-code-u {
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
}
.spot-trust-code-v {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 36px;
    line-height: 44px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--spot-ink);
}

/* фото: поле выбора файла — большая кнопка с превью */
.spot-trust-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}
.spot-trust-file {
    position: relative;
}
.spot-trust-file-input {
    position: absolute;
    inset: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.spot-trust-file-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    margin: 0;
    padding: 10px 12px;
    border: 1px dashed var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-field);
    color: var(--spot-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.spot-trust-file-input:focus-visible + .spot-trust-file-btn {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}
.spot-trust-file.is-set .spot-trust-file-btn {
    border-style: solid;
    border-color: var(--spot-green-fg);
}
.spot-trust-file.is-bad .spot-trust-file-btn {
    border-style: solid;
    border-color: var(--spot-red);
}
.spot-trust-file-ph {
    display: inline-flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: var(--spot-radius-s);
    background: var(--spot-raise);
    color: var(--spot-mut);
}
.spot-trust-file-ph .spot-trust-ico {
    width: 24px;
    height: 24px;
}
.spot-trust-file-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spot-trust-file.is-set .spot-trust-file-ph .spot-trust-ico {
    display: none;
}
.spot-trust-file-tx {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 14px;
    line-height: 18px;
}
.spot-trust-file-tx strong {
    font-size: 15px;
    line-height: 20px;
}
.spot-trust-file-tx small {
    color: var(--spot-ink-2);
    font-size: 13px;
}
.spot-trust-file-tx em {
    color: var(--spot-focus);
    font-style: normal;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spot-trust-err {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    color: var(--spot-red-fg);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
.spot-trust-err .spot-trust-ico {
    flex: 0 0 16px;
    margin-block-start: 2px;
}
.spot-trust-lock {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    color: var(--spot-ink-2);
    font-size: 13px;
    line-height: 18px;
}
.spot-trust-lock .spot-trust-ico {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-block-start: 2px;
}
.spot-trust-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 4px 0;
    color: var(--spot-ink-2);
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}
.spot-trust-consent input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--spot-green-fg);
}
.spot-trust-consent .spot-trust-box {
    display: none;
}

/* кнопки */
.spot-trust-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.spot-trust-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--spot-control-h-l, 52px);
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: var(--spot-red);
    color: #FFFFFF;
    font-family: var(--spot-font);
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.spot-trust-btn:active {
    background: var(--spot-red-dark);
}
.spot-trust-btn:disabled {
    opacity: .85;
    cursor: default;
}
.spot-trust-btn--ghost {
    min-height: var(--spot-control-h, 48px);
    border: 1px solid var(--spot-field-border);
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-size: 15px;
}
.spot-trust-btn--ghost:active {
    background: var(--spot-raise);
}
.spot-trust-btn--sm {
    align-self: flex-start;
    min-height: 44px;
    padding: 0 14px;
}
.spot-trust-btn:focus-visible,
.spot-trust-item-act:focus-visible,
.spot-trust-link:focus-visible,
.spot-trust-teaser:focus-visible,
.spot-trust-block-link:focus-visible,
.spot-trust-cab:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}
.spot-trust-spin {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    animation: spot-trust-spin .8s linear infinite;
}
.spot-trust-btn.is-busy .spot-trust-spin {
    display: inline-block;
}
@keyframes spot-trust-spin {
    to { transform: rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .spot-trust-spin { animation-duration: 2.4s; }
}

/* правая колонка: «Пример отметок, которые можно получить», «Вы компания?» */
.spot-trust-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
}
.spot-trust-eyebrow {
    margin: 0;
    color: var(--spot-mut);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.spot-trust-sample {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.spot-trust-sample .spot-trust {
    margin: 0;
}
.spot-trust-chip--static {
    cursor: default;
}
/* образец отметок в кабинете («Пример отметок, которые можно получить»): не отметки этого объявления — серые, пунктир, без даты */
.spot-trust--example .spot-trust-chip {
    border: 1px dashed var(--spot-field-border);
    background: transparent;
    color: var(--spot-mut);
}
.spot-trust-note {
    margin: 0;
    color: var(--spot-ink-2);
    font-size: 14px;
    line-height: 20px;
}
.spot-trust-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--spot-focus);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
}
.spot-trust-teaser {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 14px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
    color: var(--spot-ink);
    text-decoration: none;
}
.spot-trust-teaser > .spot-trust-ico:first-child {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--spot-green-fg);
}
.spot-trust-teaser > .spot-trust-ico:last-child {
    flex: 0 0 18px;
    color: var(--spot-mut);
}
.spot-trust-teaser > span {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}
.spot-trust-teaser strong {
    font-size: 15px;
    color: var(--spot-ink);
}

/* заявка компании */
.spot-trust-cform {
    gap: 14px;
    padding: 16px 14px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
}
.spot-trust-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.spot-trust-flabel {
    margin: 0;
    padding: 0;
    color: var(--spot-ink);
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}
.spot-trust-input {
    width: 100%;
    min-height: var(--spot-control-h, 48px);
    padding: 0 14px;
    border: 1px solid var(--spot-field-border);
    border-radius: 12px;
    background: var(--spot-field);
    color: var(--spot-ink);
    font-family: var(--spot-font);
    font-size: 16px;
    line-height: 20px;
}
.spot-trust-input:focus {
    outline: 2px solid var(--spot-focus);
    outline-offset: 1px;
}
.spot-trust-field.is-bad .spot-trust-input {
    border-color: var(--spot-red);
}
.spot-trust-fhint {
    color: var(--spot-mut);
    font-size: 13px;
    line-height: 18px;
}
.spot-trust-ferr {
    color: var(--spot-red-fg);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
}
.spot-trust-kinds {
    gap: 8px;
}
.spot-trust-kind {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-field);
    cursor: pointer;
}
.spot-trust-kind input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.spot-trust-kind-dot {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--spot-field-border);
    border-radius: 50%;
    background: var(--spot-surface);
}
.spot-trust-kind input:checked + .spot-trust-kind-dot {
    border: 7px solid var(--spot-green-fg);
}
.spot-trust-kind:has(input:checked) {
    border-color: var(--spot-green-fg);
}
.spot-trust-kind input:focus-visible + .spot-trust-kind-dot {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}
.spot-trust-kind-tx {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    font-size: 15px;
    line-height: 20px;
    color: var(--spot-ink);
}
.spot-trust-kind-tx small {
    color: var(--spot-ink-2);
    font-size: 13px;
    line-height: 18px;
}
.spot-trust-dl {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 6px 12px;
    margin: 0;
    padding: 14px;
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    font-size: 15px;
    line-height: 20px;
}
.spot-trust-dl dt {
    color: var(--spot-mut);
    font-weight: 600;
}
.spot-trust-dl dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* список компаний /dealers: метка проверенной компании в карточке */
.spot-dl-trust {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--spot-green-soft);
    color: var(--spot-green-fg);
    font-family: var(--spot-font);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
}
.spot-dl-trust .spot-trust-ico {
    width: 14px;
    height: 14px;
}
.spot-dl-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 16px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
    color: var(--spot-ink-2);
    font-family: var(--spot-font);
    font-size: 15px;
    line-height: 22px;
}
.spot-dl-empty strong {
    color: var(--spot-ink);
    font-size: 17px;
}
/* /dealers без проверенных компаний: без колонки категорий (все счётчики были бы «0») — пояснение на всю ширину */
@media (min-width: 992px) {
    .spot-dl-grid.spot-dl-grid--empty {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 992px) {
    .spot-trust-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
        gap: 24px;
    }
    .spot-trust-side {
        position: sticky;
        top: calc(var(--spot-header-h, 64px) + 16px);
    }
    .spot-trust-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .spot-trust-card,
    .spot-trust-cform,
    .spot-trust-preview {
        padding: 20px;
    }
    .spot-trust-item {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        align-items: center;
    }
    .spot-trust-item-act {
        grid-column: 3;
        grid-row: 1;
    }
}
