/* uMKOT: блок «Приложение», верхний баннер на телефонах и страница /prilozhenie. 15.11.2026.
   Все классы с префиксом uap-, ничего чужого не переопределяем. Тёмная тема: через prefers-color-scheme. */
.uap, .uap-top, .uap-page { --uap-bg:#f3f1f8; --uap-card:#fff; --uap-ink:#1d1830; --uap-mut:#5f5a73; --uap-line:#e2dfee; --uap-brand:#6500b2; --uap-brand2:#4b0086; --uap-ok:#1a8a5a; --uap-warn:#8a5a00; --uap-btn:#14101f; --uap-btn-ink:#fff; }
@media (prefers-color-scheme: dark) {
  .uap, .uap-top, .uap-page { --uap-bg:#1b1726; --uap-card:#252033; --uap-ink:#f3f0fa; --uap-mut:#b4aecb; --uap-line:#3a3450; --uap-brand:#c58cff; --uap-brand2:#a86bf0; --uap-ok:#5ed39b; --uap-warn:#e5b45a; --uap-btn:#f3f0fa; --uap-btn-ink:#14101f; }
}

/* ---------- блок в подвале ---------- */
.uap { background: var(--uap-bg); color: var(--uap-ink); border-top: 1px solid var(--uap-line); font-family: inherit; }
.uap-in { max-width: 1100px; margin: 0 auto; padding: 22px 18px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.uap-txt { flex: 1 1 260px; min-width: 220px; }
.uap-txt h2 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; letter-spacing: .01em; }
.uap-txt p { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--uap-mut); max-width: 46ch; }
.uap-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 641px) { .uap .uap-badges { max-width: 470px; } .uap .uap-txt { flex: 1 1 240px; } .uap-qr { flex: none; } }
.uap-badges li { margin: 0; padding: 0; }
.uap-b { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border-radius: 12px; background: var(--uap-btn); color: var(--uap-btn-ink); text-decoration: none; border: 1px solid transparent; transition: transform .12s, box-shadow .12s; }
a.uap-b:hover, a.uap-b:focus-visible { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20,16,31,.22); outline: none; }
a.uap-b:focus-visible { box-shadow: 0 0 0 3px var(--uap-brand); }
.uap-ico { display: inline-flex; width: 26px; justify-content: center; }
.uap-bt { display: inline-flex; flex-direction: column; line-height: 1.15; text-align: left; }
.uap-bt small { font-size: .68rem; opacity: .82; }
.uap-bt b { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.uap-b--review { background: transparent; color: var(--uap-mut); border: 1px dashed var(--uap-line); cursor: default; }
.uap-b--review .uap-bt small { color: var(--uap-warn); opacity: 1; }
.uap-b--early .uap-bt small { opacity: 1; }
.uap-qr { text-align: center; }
.uap-qr[hidden] { display: none; }
.uap-qr-img { display: inline-block; padding: 6px; background: #fff; border-radius: 10px; line-height: 0; }
.uap-qr-img svg, .uap-qr-img img { width: 96px; height: 96px; display: block; }
.uap-qr small { display: block; margin-top: 4px; font-size: .68rem; color: var(--uap-mut); }
@media (max-width: 640px) { .uap-in { padding: 18px 14px; } .uap-badges { width: 100%; } .uap-b { width: 100%; } .uap-badges li { flex: 1 1 100%; } }

/* ---------- верхний баннер на телефонах (в потоке страницы, ничего не перекрывает) ---------- */
.uap-top { position: relative; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--uap-bg); color: var(--uap-ink); border-bottom: 1px solid var(--uap-line); font-family: inherit; }
.uap-top .uap-x { flex: none; width: 30px; height: 30px; border: 0; background: transparent; color: var(--uap-mut); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; }
.uap-top .uap-x:focus-visible { outline: 2px solid var(--uap-brand); }
.uap-top .uap-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--uap-brand), var(--uap-brand2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.uap-top .uap-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.uap-top .uap-tx b { font-size: .88rem; }
.uap-top .uap-tx span { font-size: .72rem; color: var(--uap-mut); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.uap-top .uap-go { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--uap-btn); color: var(--uap-btn-ink); font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.uap-top .uap-go--ghost { background: transparent; color: var(--uap-brand); border: 1px solid var(--uap-line); }
.uap-top .uap-go:focus-visible { outline: 2px solid var(--uap-brand); outline-offset: 2px; }

/* ---------- страница /prilozhenie ---------- */
.uap-page { margin: 0; background: var(--uap-bg); color: var(--uap-ink); font: 16px/1.5 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; min-height: 100vh; }
.uap-page * { box-sizing: border-box; }
.uap-wrap { max-width: 880px; margin: 0 auto; padding: 24px 18px 56px; }
.uap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.uap-head a { color: var(--uap-ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
.uap-head .uap-back { margin-left: auto; font-weight: 600; font-size: .9rem; color: var(--uap-brand); }
.uap-hero { background: var(--uap-card); border: 1px solid var(--uap-line); border-radius: 20px; padding: 26px 22px; }
.uap-hero h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 4.5vw, 2.1rem); line-height: 1.15; }
.uap-hero p { margin: 0 0 18px; color: var(--uap-mut); max-width: 60ch; }
.uap-hero .uap-badges { margin-top: 6px; }
.uap-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; background: var(--uap-btn); color: var(--uap-btn-ink); font-weight: 800; font-size: 1.05rem; text-decoration: none; margin-bottom: 10px; }
.uap-primary:focus-visible { outline: 3px solid var(--uap-brand); outline-offset: 3px; }
.uap-status { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--uap-bg); border: 1px solid var(--uap-line); font-size: .88rem; color: var(--uap-mut); }
.uap-status b { color: var(--uap-ink); }
.uap-sec { margin-top: 22px; background: var(--uap-card); border: 1px solid var(--uap-line); border-radius: 20px; padding: 20px 22px; }
.uap-sec h2 { margin: 0 0 10px; font-size: 1.1rem; }
.uap-sec ol, .uap-sec ul.uap-list { margin: 0; padding-left: 1.2em; color: var(--uap-ink); }
.uap-sec li { margin: 6px 0; }
.uap-sec p { margin: 8px 0; color: var(--uap-mut); }
.uap-sec code { font: .82rem ui-monospace, Menlo, monospace; background: var(--uap-bg); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.uap-two { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
@media (max-width: 640px) { .uap-two { grid-template-columns: 1fr; } .uap-hero { padding: 20px 16px; } }
.uap-foot { margin-top: 26px; font-size: .8rem; color: var(--uap-mut); }
.uap-foot a { color: var(--uap-brand); }
@media (prefers-reduced-motion: reduce) { .uap-b { transition: none; } }

.uap-legal { flex: 1 1 100%; margin: 4px 0 0; font-size: .7rem; line-height: 1.4; color: var(--uap-mut); max-width: 90ch; }
.uap-page .uap-legal { margin: 18px 0 0; }

.uap-official { display: inline-block; line-height: 0; border-radius: 10px; }
.uap-official img { display: block; height: 48px; width: auto; }
a.uap-official:focus-visible { outline: 3px solid var(--uap-brand); outline-offset: 2px; }

/* Общие стили сайта (umko-theme-light: a:not(.btn){color:…}) перекрашивали наши ссылки-кнопки: закрепляем цвета. */
a.uap-b, a.uap-b:visited, a.uap-b:hover, a.uap-primary, a.uap-primary:visited, a.uap-primary:hover, .uap-top a.uap-go, .uap-top a.uap-go:visited { color: var(--uap-btn-ink) !important; text-decoration: none !important; }
.uap-top a.uap-go--ghost, .uap-top a.uap-go--ghost:visited { color: var(--uap-brand) !important; }
.uap-head a { color: var(--uap-ink) !important; }
.uap-head a.uap-back { color: var(--uap-brand) !important; }
a.uap-official, a.uap-official:hover { text-decoration: none !important; }
.uap-official--gp img { height: 62px; margin: -7px 0; }
