/* Запас — стили экранов приложения клиента (часть «приложение клиента», этап 2).
   Цвета, шрифт и тёмная тема — только переменные из /shared/tokens.css; общие элементы — /styles.css и /shared/ui.css.
   Высоты оболочки: var(--hdr) — шапка ПК, var(--tabbar) — нижнее меню телефона, var(--fab-rise) — выступ кнопки «Сканер»,
   var(--col) — ширина колонки.
   Порядок: общее для экранов → станция и выдача → сканер → карта и точка → аренды → оплата → поддержка и справка →
   уведомления → профиль → заведениям. */

/* ───────── общее для экранов ───────── */
.lead { font-size: 17px; line-height: 1.4; }
.card-flat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.gap { height: 12px; }
.stack0 { display: flex; flex-direction: column; }
.hint-line { display: flex; align-items: center; gap: 6px; }
.hint-line .ic { flex: none; }

/* наличие: пауэрбанки (лайм на графите) и свободные ячейки (контур) */
.av { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.av-i { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 7px; border-radius: 8px; background: var(--device); color: var(--on-device);
  font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--device-line); }
.av-i i { display: block; width: 13px; height: 9px; border-radius: 3px; flex: none; }
.av-bank i { background: var(--brand); }
.av-slot i { box-shadow: inset 0 0 0 1.5px var(--brand); }
.av-i.is-dim { background: var(--surface-2); color: var(--ink-2); box-shadow: none; }
.av-i.is-dim.av-bank i { background: var(--brand-500); }
.av-i.is-dim.av-slot i { box-shadow: inset 0 0 0 1.5px var(--muted); }
.av-i.is-zero { background: var(--surface-2); color: var(--faint); box-shadow: none; }
.av-i.is-zero.av-bank i { background: var(--faint); opacity: .6; }
.av-i.is-zero.av-slot i { box-shadow: inset 0 0 0 1.5px var(--faint); }
.av-off { gap: 5px; font-size: 13px; font-weight: 600; color: var(--urgent); }
.on-device .av-i { background: var(--device-2); }

/* строка точки / станции */
.vr { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; background: transparent; text-align: left; color: var(--ink);
  text-decoration: none !important; border-radius: 18px; font-size: 15px; min-width: 0; transition: background var(--t) var(--ease); }
.vr:hover { background: color-mix(in oklab, var(--surface-2) 70%, transparent); }
.vr.on { background: var(--primary-soft); }
.vr:disabled { opacity: .6; }
.vr-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--device); color: var(--on-device); box-shadow: inset 0 0 0 1px var(--device-line); }
.vr-ic.off { background: var(--surface-2); color: var(--faint); box-shadow: none; }
.vr-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vr-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.vr-name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.vr-dist { flex: none; font-size: 13px; font-weight: 650; color: var(--muted); }
.vr-sub { display: block; font-size: 13px; min-width: 0; }
.vr-bot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; min-width: 0; }
.vr-go { color: var(--faint); flex: none; }
.vr-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; margin: 12px 0; padding: 14px; }
.vr-card:hover { background: var(--surface); border-color: var(--line-strong); }
.vr-list { display: flex; flex-direction: column; gap: 2px; }
.vr-list .sk { margin: 4px 0; }

/* тариф одной строкой */
.tl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; margin: 12px 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); text-align: left; }
.tl:hover { border-color: var(--line-strong); }
.tl-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary-soft-ink); }
.tl-t { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tl-t b { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.nw { white-space: nowrap; }
.tl-more { font-size: 13px; color: var(--primary-ink); font-weight: 600; }
/* лист тарифа */
.tf-ex { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 520px) { .tf-ex { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); } }
.tf-ex-i { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 14px; border-radius: 16px; background: var(--device); box-shadow: inset 0 0 0 1px var(--device-line); }
.tf-ex-i .muted { color: var(--on-device-muted); }
.tf-ex-v { font-size: 20px; color: var(--brand); letter-spacing: -.02em; }
.tf-list { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tf-list li { display: flex; gap: 12px; align-items: flex-start; }
.tf-list b { display: block; font-size: 15px; line-height: 1.3; margin-bottom: 2px; }

/* код станции — шесть клеток; настоящее поле лежит поверх и невидимо */
.code6 { position: relative; }
.code6-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.code6-c { position: relative; display: grid; place-items: center; height: 62px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--field-line);
  font-size: 28px; font-weight: 750; line-height: 1; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); }
.code6-c.has { border-color: var(--ink); }
.code6.is-focus .code6-c.cur { border-color: var(--primary-ink); box-shadow: var(--ring); }
.code6.is-focus .code6-c.cur::after { content: ''; width: 2px; height: 28px; border-radius: 2px; background: var(--primary-ink); animation: bm-blink 1.1s steps(1) infinite; }
.code6.is-bad .code6-c { border-color: var(--danger); color: var(--danger); }
.code6.is-off { opacity: .6; }
.code6-in { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: transparent; caret-color: transparent;
  opacity: 0; font-size: 16px; letter-spacing: 1em; cursor: text; }
.code6-in:focus { outline: none; }
@media (max-width: 359px) { .code6-cells { gap: 5px; } .code6-c { height: 54px; font-size: 24px; border-radius: 13px; } }

/* сканер QR-кода */
.qr { position: relative; width: 100%; height: 100%; min-height: 200px; overflow: hidden; background: var(--device); color: var(--on-device); display: grid; place-items: center; }
.qr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); }
.qr.is-on .qr-video { opacity: 1; }
.qr-frame { position: relative; width: min(62vw, 250px); aspect-ratio: 1; border-radius: 30px; box-shadow: 0 0 0 100vmax rgba(8, 11, 9, .52); }
.qr-frame i { position: absolute; width: 38px; height: 38px; border: 4px solid var(--brand); }
.qr-frame i:nth-child(1) { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-radius: 26px 0 0 0; }
.qr-frame i:nth-child(2) { top: -3px; right: -3px; border-left: 0; border-bottom: 0; border-radius: 0 26px 0 0; }
.qr-frame i:nth-child(3) { bottom: -3px; left: -3px; border-right: 0; border-top: 0; border-radius: 0 0 0 26px; }
.qr-frame i:nth-child(4) { bottom: -3px; right: -3px; border-left: 0; border-top: 0; border-radius: 0 0 26px 0; }
.qr-frame b { position: absolute; left: 10%; right: 10%; top: 12%; height: 2px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 14px 1px var(--brand); animation: qr-scan 2.4s var(--bm-ease-in-out, ease-in-out) infinite alternate; }
@keyframes qr-scan { to { top: 88%; } }
.qr-note { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 999px; background: rgba(8, 11, 9, .72); color: #F1F5EC;
  font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-torch { position: absolute; top: 12px; right: 12px; background: rgba(8, 11, 9, .6); color: #F1F5EC; }
.qr-torch:hover { background: rgba(8, 11, 9, .8); }
.qr-torch.on { background: var(--brand); color: #10180A; }
.qr-msg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 28px 24px; max-width: 380px; color: var(--on-device-muted); font-size: 14px; }
.qr-msg b { color: var(--on-device); font-size: 18px; letter-spacing: -.01em; }
.qr-msg-ic { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: var(--device-2); color: var(--brand); box-shadow: inset 0 0 0 1px var(--device-line); margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .qr-frame b { animation: none; top: 50%; } }

/* выбор станции в листе */
.chooser { display: flex; flex-direction: column; gap: 12px; }
.chooser-code { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.chooser-code .btn { align-self: center; }
.chooser-cam { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.chooser-cam .qr { height: 250px; border-radius: 20px; }
.chooser-cam .qr-frame { width: 170px; }
.chooser-busy { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; min-height: 32px; }
.chooser-back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }

/* тестовые карты и долг в листах */
.tc-list { display: flex; flex-direction: column; gap: 8px; }
.tc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); color: var(--ink); text-align: left; }
.tc:hover { border-color: var(--ink); }
.tc:disabled { opacity: .6; }
.tc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--device); color: var(--brand); }
.debt-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px; border-radius: 20px; background: var(--urgent-soft); text-align: center; }

/* главная кнопка экрана — «док» над нижним меню */
.cta-bar { position: sticky; bottom: calc(var(--tabbar) + var(--fab-rise) + 8px); z-index: 30; padding: 8px 16px 0; max-width: calc(var(--col) + 32px); margin-inline: auto; pointer-events: none; }
.cta-in { pointer-events: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.cta-note { font-size: 12px; line-height: 1.3; text-align: center; padding: 0 8px 2px; }
@media (min-width: 900px) { .cta-bar { bottom: 16px; } }

/* ───────── станция ───────── */
.st-hero { display: flex; flex-direction: column; gap: 14px; padding: 16px; margin: 4px 0 12px; border-radius: 28px; border: 1px solid var(--device-line); box-shadow: var(--sh-2); }
.st-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-live { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--on-device-muted); }
.st-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: st-live 2.2s ease-out infinite; }
.st-live.off { color: #FF8559; }
.st-live.off i { background: #FF8559; animation: none; }
@keyframes st-live { 0% { box-shadow: 0 0 0 0 rgba(196, 240, 58, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(196, 240, 58, 0); } }
.st-code { padding: 5px 10px 5px 12px; border-radius: 9px; background: var(--device-2); box-shadow: inset 0 0 0 1px var(--device-line); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--on-device); }
.st-hero-body { display: flex; flex-direction: column; gap: 14px; }
.st-hero .zs-lg { max-width: none; }
.st-hero.is-off .zs-body { opacity: .5; }
.st-best { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; }
.st-best-t { flex: 1 1 0; min-width: 0; max-width: 170px; font-size: 14px; line-height: 1.3; color: var(--on-device-muted); }
.st-best-v { display: flex; align-items: center; gap: 12px; flex: none; }
.st-best-v b { color: var(--brand); font-size: 28px; }
.st-why { display: flex; gap: 12px; align-items: flex-start; padding: 0 4px 2px; }
.st-why b { display: block; font-size: 17px; margin-bottom: 2px; }
.st-why-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: color-mix(in oklab, #FF8559 20%, var(--device-2)); color: #FF8559; }
.st-mine { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 12px 0; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
.st-mine > .ic:first-child { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--device); color: var(--brand); }
.st-demo { display: flex; gap: 6px; align-items: flex-start; margin: 12px 4px 0; }
.st-demo .ic { margin-top: 2px; }
@media (min-width: 620px) {
  .st-hero { padding: 20px; }
  .st-hero-body { flex-direction: row; align-items: center; gap: 28px; }
  .st-hero .zs-lg { max-width: 320px; flex: 1 1 0; }
  .st-best { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .st-best-t { flex: none; max-width: none; font-size: 15px; }
  .st-why { flex: 1 1 0; }
}
/* невысокий телефон: ячейки чуть ниже, чтобы заряд и главная кнопка остались на первом экране */
@media (max-height: 700px) and (max-width: 619px) { .st-hero .zs-lg { --zs-h: 46px; --zs-gap: 8px; --zs-pad: 10px; } .st-hero { gap: 12px; padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .st-live i { animation: none; } }

/* ход выдачи — на весь экран, «устройство» */
.dsp { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; align-items: center; overflow-y: auto;
  padding: calc(28px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); animation: dsp-in .34s var(--bm-ease-out, var(--ease)) both; }
@keyframes dsp-in { from { opacity: 0; transform: translateY(18px); } }
.dsp-in { width: 100%; max-width: 420px; margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.dsp-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dsp-mark { color: var(--brand); margin-bottom: 6px; }
.dsp-h { font-size: 28px; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.dsp-p { color: var(--on-device-muted); max-width: 340px; text-wrap: pretty; }
.dsp-lead { font-size: 18px; font-weight: 700; color: var(--brand); }
.dsp-slot { width: 116px; height: 116px; border-radius: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; margin-bottom: 8px;
  background: var(--brand); color: #10180A; box-shadow: 0 18px 40px -18px rgba(196, 240, 58, .7); }
.dsp-slot span { font-size: 13px; font-weight: 700; opacity: .75; margin-top: 4px; }
.dsp-slot b { font-size: 68px; line-height: .95; font-weight: 800; letter-spacing: -.04em; }
.dsp-bad { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; margin-bottom: 8px; background: color-mix(in oklab, #FF8559 20%, var(--device-2)); color: #FF8559; }
.dsp-bad.is-warn { background: color-mix(in oklab, #F2BC55 18%, var(--device-2)); color: #F2BC55; }
.dsp .zs-lg { margin-inline: auto; }
.dsp-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; color: var(--on-device-muted); font-size: 14px; align-self: stretch; }
.dsp-tips li { display: flex; gap: 10px; align-items: flex-start; }
.dsp-tips .ic { color: var(--on-device); margin-top: 1px; }
.dsp-act { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dsp-x { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px; color: var(--on-device); }
/* «станция выбирает»: ячейки с пауэрбанками загораются по очереди */
.is-seeking .zs-cell.is-bank { animation: dsp-seek 1.6s var(--bm-ease-in-out, ease-in-out) infinite; }
.is-seeking .zs-cell:nth-child(2) { animation-delay: .13s; } .is-seeking .zs-cell:nth-child(3) { animation-delay: .26s; }
.is-seeking .zs-cell:nth-child(4) { animation-delay: .39s; } .is-seeking .zs-cell:nth-child(5) { animation-delay: .52s; }
.is-seeking .zs-cell:nth-child(6) { animation-delay: .65s; } .is-seeking .zs-cell:nth-child(7) { animation-delay: .78s; }
.is-seeking .zs-cell:nth-child(8) { animation-delay: .91s; } .is-seeking .zs-cell:nth-child(9) { animation-delay: 1.04s; }
.is-seeking .zs-cell:nth-child(10) { animation-delay: 1.17s; } .is-seeking .zs-cell:nth-child(11) { animation-delay: 1.3s; }
.is-seeking .zs-cell:nth-child(12) { animation-delay: 1.43s; }
@keyframes dsp-seek { 0%, 55%, 100% { opacity: .38; } 22% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .is-seeking .zs-cell.is-bank { animation: none; } }

/* ───────── сканер ───────── */
.scan { height: 100%; display: flex; flex-direction: column; background: var(--device); }
.scan-cam { flex: 1 1 0; min-height: 0; display: flex; }
.scan-panel { flex: none; padding: 18px 16px calc(14px + var(--fab-rise)); background: var(--surface); border-radius: 28px 28px 0 0; box-shadow: 0 -12px 30px rgba(8, 11, 9, .28); position: relative; z-index: 2; }
.scan-panel-in { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.scan-h { font-size: 19px; text-align: center; letter-spacing: -.01em; }
.scan.no-cam .scan-cam { flex: 0 0 auto; }
.scan.no-cam .qr { min-height: 0; height: auto; padding: 12px 0 4px; }
.scan.no-cam .scan-panel { flex: 1 1 0; padding-top: 24px; }
.scan-where { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; text-align: center; }
.scan-sticker { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 18px 12px; border-radius: 18px; background: var(--surface-2); color: var(--ink-2); transform: rotate(-3deg); }
.scan-sticker-code { padding: 3px 10px; border-radius: 8px; background: var(--primary); color: var(--on-primary); font-weight: 800; letter-spacing: .14em; font-size: 14px; }
@media (max-height: 700px) { .scan-where { display: none; } }
@media (max-height: 640px) { .scan-panel { padding-top: 12px; } .scan-panel-in { gap: 8px; } .scan .code6-c { height: 52px; font-size: 24px; } .scan .scan-h { font-size: 17px; } }
@media (min-width: 900px) {
  .scan { flex-direction: row; align-items: center; justify-content: center; gap: 28px; padding: 32px; background: var(--bg); }
  .scan-cam, .scan.no-cam .scan-cam { flex: 0 1 440px; height: min(520px, 100%); border-radius: 28px; overflow: hidden; background: var(--device); }
  .scan.no-cam .qr { height: 100%; padding: 0; }
  .scan-panel, .scan.no-cam .scan-panel { flex: 0 1 420px; padding: 32px 28px; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--sh-2); }
  .scan-h { font-size: 24px; letter-spacing: -.02em; }
}

/* ───────── аренды ───────── */
.empty-dev { width: 132px; height: 132px; border-radius: 38px; display: grid; place-items: center; margin-bottom: 10px; box-shadow: var(--sh-2); }
.ra-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.ra { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border-radius: 28px; border: 1px solid var(--device-line); box-shadow: var(--sh-2); text-decoration: none !important; }
.ra-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.ra-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ra-mid .h3 { align-self: center; }
.ra-timer { font-size: clamp(38px, 12vw, 50px); }
.ra-sum { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.ra-sum .price { color: var(--brand); font-size: 26px; }
.ra-bot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--device-line); }
.ra-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 650; color: var(--on-device); }
.ra-mark { color: var(--brand); }
.rh .menu-ic { background: var(--ok-soft); color: var(--ok); }
.rh .menu-ic.urgent { background: var(--urgent-soft); color: var(--urgent); }
.rh .menu-ic.warn { background: var(--warn-soft); color: var(--warn); }
.rh-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.rh-sec { margin-top: 8px; }

.rn-hero { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; margin: 4px 0 12px; border-radius: 28px; border: 1px solid var(--device-line); box-shadow: var(--sh-2); }
.rn-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rn-timer { display: block; margin: 8px 0 2px; }
.rn-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rn-sum { display: flex; flex-direction: column; gap: 7px; }
.rn-sum .price { color: var(--brand); }
.rn-bank { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.rn-step { display: flex; flex-direction: column; gap: 9px; padding-top: 14px; border-top: 1px solid var(--device-line); }
.rn-bar { height: 6px; border-radius: 6px; background: var(--device-2); box-shadow: inset 0 0 0 1px var(--device-line); overflow: hidden; }
.rn-bar i { display: block; height: 100%; min-width: 6px; border-radius: 6px; background: var(--brand); transition: width 1s linear; }
.rn-step-t { font-size: 14px; font-weight: 600; color: var(--on-device); }
.rn-hero.is-stopped .rn-timer { color: var(--on-device-muted); }
.rn-demo { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; }
.rn-act { margin-top: 24px; }
.facts { list-style: none; margin: 12px 0 0; padding: 4px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts b { display: block; font-size: 15px; line-height: 1.3; margin-bottom: 2px; }
.wr { padding: 4px; }
.wr-geo { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }

/* итог действия: круг с галочкой или часами */
.res-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-2); }
.res-ic.ok { background: var(--brand); color: #10180A; box-shadow: 0 16px 34px -16px rgba(95, 123, 0, .85); }
.claim-busy, .claim-res { padding: 20px 0 10px; }

/* закрытая аренда: «Возврат принят», чек, откуда → куда */
.rc-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 0 22px; }
.rc-hero .res-ic { margin-bottom: 10px; }
.debt-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: 20px; background: var(--urgent-soft); }
.debt-card > div { flex: 1 1 0; min-width: 0; }
.debt-card b { display: block; color: var(--urgent); }
.receipt-wrap { filter: drop-shadow(0 1px 0 var(--line-strong)) drop-shadow(0 8px 16px rgba(14, 18, 16, .05)); }
.receipt { background: var(--surface); border-radius: 22px 22px 0 0; padding: 18px 18px 28px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle at 8px 0, #000 7.5px, transparent 8px) left bottom / 16px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle at 8px 0, #000 7.5px, transparent 8px) left bottom / 16px 8px repeat-x; }
.receipt-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.receipt-h b { font-size: 17px; }
.receipt-lines { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.receipt-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.receipt-lines dt { min-width: 0; color: var(--ink-2); }
.receipt-lines dd { margin: 0; font-weight: 650; white-space: nowrap; }
.receipt-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 16px 0; padding: 14px 0; border-top: 1.5px dashed var(--line-strong); border-bottom: 1.5px dashed var(--line-strong); font-size: 17px; font-weight: 700; }
.receipt-pay dt { color: var(--muted); font-size: 14px; }
.receipt-pay dd { font-size: 14px; }
.receipt-foot { margin-top: 12px; }
.trip { position: relative; display: flex; flex-direction: column; gap: 20px; margin-top: 18px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.trip-i { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.trip-dot { position: relative; z-index: 1; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 3px solid var(--ink); background: var(--surface); flex: none; }
.trip-dot.end { background: var(--brand); }
.trip-i:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 22px; bottom: -22px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 4px, transparent 4px 8px); }
.trip b { font-size: 16px; margin: 1px 0; }
