/* The Mini App's own additions to the site's mobile design (site-ui.css is vendored and not edited by hand). */
:root{--nav-h:62px}
/* The bottom bar of the site replaces the old three-button bar. */
.mr-bottom{z-index:30}
.mr-bottom[hidden]{display:none}
.mr-bottom .mr-icon{width:22px;height:22px;object-fit:contain;flex-shrink:0;opacity:.75}
.mr-bottom [aria-current=page] .mr-icon{opacity:1}
.mr-bottom button{appearance:none;cursor:pointer;font-family:inherit}
.mr-bottom button span{font:500 10px/1.2 'Manrope',sans-serif}
/* A page in the site's design fills the width of the screen: the app's own side padding is taken back. */
.screen.site-ui{margin-inline:-16px;margin-top:calc(-1 * (var(--safe-t) + 14px));min-height:calc(100dvh - var(--nav-h));background:#0d121b}
.screen.site-ui .mr-content{max-width:34rem;padding-bottom:calc(var(--nav-h) + var(--safe-b) + 40px)}
.screen.site-ui .mr-header,.site-page>.mr-header{max-width:34rem;padding-top:calc(var(--safe-t) + 14px)}
.site-page>.mr-header{margin:calc(-1 * (var(--safe-t) + 14px)) -16px 0;padding-inline:16px}
.mr-header>a{text-decoration:none;color:#f0c577}
.mr-header-tools{display:flex;align-items:center;gap:10px}
.mr-header .mr-icon{width:26px;height:26px;object-fit:contain}
.mr-header .universe-header-menu .mr-icon{width:22px;height:22px}
.mr-header .icon-btn{width:40px;height:40px}
.site-ui .active-slot:empty{display:none}
.site-ui .card.practice{background:#1d2531;border:1px solid #343e4c;border-radius:14px;padding:14px 16px;text-align:left;color:#f0f0f3;width:100%;position:relative}
.site-ui .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-ui .mr-matrix-menu{position:relative}
.site-ui .mr-matrix-menu[open]>.mr-matrix-links{position:absolute;top:100%;right:0;left:auto;width:230px;z-index:12}
.site-ui .mr-matrix-menu:not([open])>.mr-matrix-links{display:none}
.mr-topic-link{display:inline-flex;align-items:center;gap:8px;margin-top:10px;color:#eacb91}
/* The head of a service page: the picture of the service, the question it answers. */
.site-hero{position:relative;margin:0 -16px 18px;min-height:210px;display:flex;align-items:flex-end;isolation:isolate;overflow:hidden;border-radius:0 0 22px 22px}
.site-hero::before{content:'';position:absolute;inset:0;z-index:-2;background:var(--hero) center/cover no-repeat}
.site-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(13,18,27,.25),rgba(13,18,27,.92) 82%)}
.site-hero-copy{padding:24px 18px 18px;max-width:34rem}
.site-hero h1{margin:6px 0 8px;font:600 28px/1.1 'Cormorant Garamond',Georgia,serif;letter-spacing:-.6px;color:#f0f0f3}
.site-hero p{margin:0;color:#d4d7de;font-size:13px;line-height:1.5;max-width:26rem}
.site-hero .mr-eyebrow{display:block;font-size:10px;letter-spacing:1.4px;color:#eacb91;text-transform:uppercase}
.mr-branch{margin:0 0 18px}
.mr-branch a{text-decoration:none;color:#e6e7eb}
/* The menu dialog of the site (the same classes as on the site, outside the .site-ui scope). */
.mr-menu{color:#ece8e0;font:14px/1.45 'Manrope',sans-serif}
.mr-menu *{box-sizing:border-box}
.mr-menu h2{margin:0;font:600 26px/1.15 'Cormorant Garamond',Georgia,serif;letter-spacing:-.6px;color:#f0f0f3}
.mr-menu a{color:inherit;text-decoration:none}
.mr-menu .mr-icon{width:22px;height:22px;object-fit:contain;flex-shrink:0}
.mr-menu .practice-menu-list a>svg,.mr-menu .practice-menu-list .mr-icon{margin-left:auto}
.mr-menu-links a .mr-icon{opacity:.85}

/* ── Читаемость (аудит 31.10.2026, docs/MESSENGERS_AUDIT_2026-10-31.md) ───────────────────────────────────────
   Белая «бумага» результата (.result) наследовала цвета тёмной темы: бледно-зелёное «Сохранено», серая зачёркнутая цена и
   выключенная кнопка были почти неразличимы на белом. Для светлого фона — свои тёмные оттенки (контраст ≥ 4,5:1). */
.result{--ok:#1c6a3a;--danger:#a3322a;--warn:#8a5a00}
.result .saved{color:var(--ok);font-weight:600}
.result .product-topic .product-price s{opacity:1;color:#645d6e}
.result .btn[disabled],.result .btn:disabled{opacity:.8;background:#f1edf4;color:#3d3548;border:1px dashed #9a8aa8;box-shadow:none}
.result .error{color:var(--danger)}
/* Мелкий текст: подписи — от 12 px, обычный текст — от 14 px. */
.eyebrow,.mr-eyebrow,.site-hero .mr-eyebrow{font-size:12px}
.disclaimer{font-size:13px}
.site-ui .mr-promo-copy p,.site-ui .mr-promo-copy a,.mr-muted,.site-ui .mr-faq p,.mr-faq summary{font-size:14px}
.site-ui .mr-tile b,.site-ui .mr-tile small{font-size:13px}
.mr-bottom button span{font-size:11px}
/* Области нажатия не меньше 44×44. */
.mr-dots{height:44px}.mr-dots button{min-height:44px}
.mr-header .icon-btn{width:44px;height:44px}
.mr-header>a{display:inline-flex;align-items:center;min-height:44px}
/* «Показать все вопросы · N»: заметная кнопка под первыми пятью вопросами раздела (решение владельца, как на сайте). */
.questions-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:8px;padding:10px 14px;border:1px solid #b68a4c;border-radius:12px;background:rgba(221,189,126,.1);color:#eacb91;font:600 14px/1.3 'Manrope',sans-serif;cursor:pointer}
.result .questions-more{background:#f7f2fa;color:#42334f;border-color:#a88ab9}
/* Значок ⓘ на картинке карты в светлом результате: светлый знак на тёмной подложке (раньше фиолетовый на тёмном — 1,7:1). */
.result .card-btn-hint{color:#fff}
/* Вкладки результата: «Вопросы и тарифы», купленные разделы со статусом, «Расчёт» (как на сайте). */
.product-tabs{display:flex;gap:8px;overflow-x:auto;margin:0 -16px 6px;padding:2px 16px 8px;scroll-snap-type:x proximity;scrollbar-width:none}
.product-tabs::-webkit-scrollbar{display:none}
.product-tab{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:14px}
.product-tab-state{font-size:12px;font-weight:600;opacity:.85}
.product-tab[aria-current=page]{border-color:var(--gold);background:rgba(221,189,126,.14);color:var(--gold)}
.result .product-tab{background:#fff;color:#42334f;border-color:#cfc3d9}
.result .product-tab[aria-current=page]{background:#efe6f5;color:#3a2a4a;border-color:#715283}
/* Таро, страница результата (как на сайте): «Твой вопрос / О карте» у каждой карты и крупный центральный «Твой итог». */
.ca-switch{margin:4px 0 2px}.ca-switch .chip{flex:1 1 120px;justify-content:center}
.ca-pane[hidden]{display:none}
.ca-head{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center}
.ca-head img{width:96px;height:auto;border-radius:8px;border:1px solid var(--line)}
.ca-tile{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start;padding:14px;border:1px solid var(--line-soft);border-radius:14px;background:rgba(17,23,38,.6)}
.ca-tile h4{margin:0 0 4px;font:700 15px/1.3 'Manrope',sans-serif}.ca-tile p{margin:0;font-size:15px;line-height:1.6}
.ca-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(221,189,126,.14);color:var(--gold);font-size:18px}
.result .ca-tile{background:#fbf8fd;border-color:#e5dce9}.result .ca-ico{background:#efe6f5;color:#715283}
.result .ca-switch .chip{background:#fff;color:#42334f;border-color:#cfc3d9}.result .ca-switch .chip[aria-pressed=true]{background:#efe6f5;color:#3a2a4a;border-color:#715283}
.rd-total{display:grid;justify-items:center;text-align:center;gap:8px;margin:12px 0;padding:24px 18px;border:1px solid var(--line-soft);border-radius:18px}
.rd-total .star{font-size:22px;color:var(--gold)}.rd-total h2{margin:0;font:600 26px/1.15 var(--display)}.rd-total .rd-text{max-width:30rem;font-size:1.05rem}
.result .rd-total{background:#f7f2fa;border-color:#d7ccdf}
