/* Looto — минималистичный киберпанк: чёрный фон, тонкие линии, неон только там, где важно.
   Иконки — Phosphor (fill), шрифт — Exo 2. Тёмная тема по умолчанию, есть светлая. */

@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url(../fonts/exo-2-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url(../fonts/exo-2-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 400; font-display: swap; src: url(../fonts/exo-2-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(../fonts/exo-2-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(../fonts/exo-2-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(../fonts/exo-2-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Exo 2"; font-weight: 800; font-display: swap; src: url(../fonts/exo-2-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-weight: 800; font-display: swap; src: url(../fonts/exo-2-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-weight: 800; font-display: swap; src: url(../fonts/exo-2-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #07060c;
  --surface: #0e0c16;
  --surface-2: #161322;
  --text: #ecebf4;
  --muted: #858099;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --neon: #ff2e97;      /* розовый неон — главное действие */
  --violet: #9b6bff;
  --cyan: #2ee6f0;
  --amber: #ffb547;
  --lime: #9dff5c;
  --on-neon: #0b0610;   /* текст на неоне */
  --ok: #3ee08f;
  --warn: #ffb547;
  --err: #ff4d6d;
  --glow: 0 0 18px rgba(255, 46, 151, 0.35);
  --r: 6px;             /* скругления — маленькие, «технические» */
  --cut: 10px;          /* срезанный угол */
  --nav-h: 62px;
  --font: "Exo 2", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f4f2f8;
  --surface: #ffffff;
  --surface-2: #ece8f4;
  --text: #15121f;
  --muted: #6a6480;
  --line: rgba(20, 10, 40, 0.09);
  --line-strong: rgba(20, 10, 40, 0.18);
  --neon: #e0157c;
  --violet: #6d3ff0;
  --cyan: #0599b0;
  --amber: #c27400;
  --lime: #3d9a12;
  --on-neon: #ffffff;
  --glow: 0 6px 16px rgba(224, 21, 124, 0.22);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.45 var(--font); overscroll-behavior: none; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--cyan); text-decoration: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.mt { margin-top: 12px; } .mt2 { margin-top: 20px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* иконки */
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; display: inline-block; vertical-align: -0.22em; }
.ico-lg { width: 28px; height: 28px; }
.ico-xl { width: 56px; height: 56px; }

/* фон: едва заметная сетка — «киберпанк» без шума */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 45%);
  mask-image: linear-gradient(to bottom, #000, transparent 45%);
}

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: 0.18em; color: var(--text); display: flex; align-items: center; gap: 6px; }
.logo::after { content: ""; width: 7px; height: 7px; background: var(--neon); box-shadow: var(--glow); transform: rotate(45deg); }
.chip-balance { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r);
  background: transparent; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip-balance .i { color: var(--neon); }
.badge-test { font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 3px 6px; border: 1px solid var(--warn); color: var(--warn); border-radius: 3px; }

main { padding: 16px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
h1 { font-size: 22px; font-weight: 800; margin: 4px 0 14px; letter-spacing: .01em; }
h2 { font-size: 13px; font-weight: 800; margin: 24px 0 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* ---------- нижнее меню ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
}
.nav button { position: relative; background: none; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
.nav button .i { width: 24px; height: 24px; }
.nav button.active { color: var(--neon); }
.nav button.active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--neon); box-shadow: var(--glow); }
.nav button.center .hub { width: 46px; height: 46px; margin-top: -16px; display: grid; place-items: center; color: var(--on-neon); background: var(--neon);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.nav button.center.active::before { display: none; }

/* ---------- карточки и кнопки ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.card + .card { margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 16px;
  border: 0; border-radius: 0; background: var(--neon); color: var(--on-neon); font-weight: 800; font-size: 15px; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; box-shadow: var(--glow);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.btn:active { filter: brightness(1.1); transform: translateY(1px); }
.btn:disabled { opacity: .4; box-shadow: none; cursor: default; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); clip-path: none; border-radius: var(--r); text-transform: none; letter-spacing: 0; font-weight: 600; }
.btn.danger { background: transparent; color: var(--err); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--err) 50%, transparent); clip-path: none; border-radius: var(--r); text-transform: none; letter-spacing: 0; }
.btn.ok { background: transparent; color: var(--ok); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 50%, transparent); clip-path: none; border-radius: var(--r); text-transform: none; letter-spacing: 0; }
.btn.sm { width: auto; padding: 8px 12px; font-size: 13px; }
.btn + .btn { margin-top: 10px; }
.link-btn { background: none; border: 0; color: var(--cyan); padding: 10px 0; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.back { background: none; border: 0; color: var(--muted); padding: 0 0 12px; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- игры ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.game { position: relative; text-align: left; padding: 14px; min-height: 116px; cursor: pointer; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: border-color .15s; }
.game::after { content: ""; position: absolute; top: -1px; right: -1px; width: 14px; height: 14px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); border-top-right-radius: var(--r); }
.game:active, .game:hover { border-color: var(--line-strong); }
.game:active::after, .game:hover::after { border-color: var(--neon); }
.game .name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.game .from { font-size: 12px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.game.closed { opacity: .45; }
.game .tag { position: absolute; top: 12px; right: 12px; }
.game-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); background: color-mix(in srgb, currentColor 12%, transparent); }
.game-ico .i { width: 24px; height: 24px; }
.game-ico.sm { width: 32px; height: 32px; }
.game .game-ico { width: 48px; height: 48px; }
/* Официальные логотипы игр: квадрат со скруглением, тонкая рамка, чтобы не сливались с фоном */
.game-ico.glogo { position: relative; background: var(--surface-2); overflow: hidden; }
.game-ico.glogo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-strong); pointer-events: none; }
.game-ico.glogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-ico.glogo-lol { background: #0a1428; }
.game-ico.glogo-lol img { object-fit: contain; padding: 8%; }
.game-ico.sm .i { width: 18px; height: 18px; }
.title-row { gap: 12px; margin: 4px 0 14px; }
.title-row h1 { margin: 0; }
.hue-pink { color: var(--neon); } .hue-cyan { color: var(--cyan); } .hue-violet { color: var(--violet); }
.hue-amber { color: var(--amber); } .hue-lime { color: var(--lime); } .hue-ok { color: var(--ok); } .hue-err { color: var(--err); }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 3px; background: var(--surface-2); color: var(--muted); letter-spacing: .02em; }
.tag.hot { background: var(--neon); color: var(--on-neon); }
.tag.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag.err { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }

/* ---------- формы ---------- */
label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg); outline: none; font-size: 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 18%, transparent); }
input.bad { border-color: var(--err); }
.hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
.result { margin-top: 10px; padding: 10px 12px; border-radius: var(--r); font-size: 14px; border-left: 2px solid currentColor; background: var(--surface-2); }
.result .i { margin-right: 6px; }
.result.ok { color: var(--ok); }
.result.err { color: var(--err); }
.result.warn { color: var(--warn); }

.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 14px; white-space: nowrap; }
/* Предупреждение «переведите ровно эту сумму» — заметное, но в стиле: янтарная рамка и срезанный угол */
.exact-warn { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 16px; color: var(--text);
  border: 1px solid var(--warn); border-left-width: 4px; border-radius: var(--r);
  background: color-mix(in srgb, var(--warn) 12%, transparent); }
.exact-warn > .i { width: 28px; height: 28px; flex: none; color: var(--warn); }
.exact-warn b { display: block; font-size: 18px; font-weight: 800; color: var(--warn); line-height: 1.25; font-variant-numeric: tabular-nums; }
.exact-warn p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
.copy.hot { border-color: var(--warn); }
.card-kind { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chip.active { border-color: var(--neon); color: var(--neon); background: color-mix(in srgb, var(--neon) 10%, transparent); }

/* ---------- пакеты ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pack { position: relative; text-align: left; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--text); }
.pack .title { font-weight: 600; font-size: 14px; }
.pack .price { margin-top: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pack .sub { font-size: 11px; color: var(--warn); margin-top: 4px; }
.pack.selected { border-color: var(--neon); box-shadow: inset 0 0 0 1px var(--neon), var(--glow); }
.pack .disc { position: absolute; top: -8px; right: 8px; }

.buybar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 25; padding: 12px 16px;
  background: linear-gradient(transparent, var(--bg) 40%); }
.buybar .btn { max-width: 608px; margin: 0 auto; display: flex; }

/* ---------- списки ---------- */
.list { display: flex; flex-direction: column; gap: 6px; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.item > .i, .item .ico { color: var(--muted); }
.item .ico .i { width: 22px; height: 22px; }
.kv .i { color: var(--cyan); }
.item .ico { width: 32px; display: grid; place-items: center; }
.item .amount { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plus { color: var(--ok); } .minus { color: var(--text); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { text-align: right; word-break: break-all; }
.total { font-size: 18px; font-weight: 800; }

/* ---------- баланс ---------- */
.balance-card { position: relative; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.balance-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--neon); box-shadow: var(--glow); }
.balance-card .big { font-size: 32px; font-weight: 800; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.balance-card .sub { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }

/* ---------- шаги заказа ---------- */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 1px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); z-index: 1; }
.step .dot .i { width: 14px; height: 14px; }
.step.done .dot { background: var(--ok); border-color: var(--ok); color: var(--on-neon); }
.step.current .dot { border-color: var(--neon); color: var(--neon); box-shadow: var(--glow); animation: pulse 1.4s infinite; }
.step.failed .dot { background: var(--err); border-color: var(--err); color: #fff; }
.step .label { font-weight: 600; padding-top: 3px; }
.step.todo .label { color: var(--muted); font-weight: 400; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--neon) 18%, transparent); } }

.copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-top: 8px;
  border-radius: var(--r); background: var(--bg); border: 1px dashed var(--line-strong); cursor: pointer; }
.copy b { font-size: 18px; letter-spacing: .04em; word-break: break-all; font-variant-numeric: tabular-nums; }
.copy small { color: var(--cyan); font-weight: 700; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--neon); }

.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); margin-bottom: 14px; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--warn); color: var(--text); }
.banner .i { color: var(--warn); margin-top: 1px; }
.banner.err { border-left-color: var(--err); }
.banner.err .i { color: var(--err); }
.empty { text-align: center; color: var(--muted); padding: 34px 10px; }
.hero-ico { display: flex; justify-content: center; margin: 22px 0 6px; }
.hero-ico .i { width: 64px; height: 64px; }
.bounce { animation: bounce 1.1s infinite; display: inline-block; }
@keyframes bounce { 50% { transform: translateY(-8px); } }
.spinner { width: 26px; height: 26px; margin: 40px auto; border: 2px solid var(--line-strong); border-top-color: var(--neon); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- всплывающие окна ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); display: flex; align-items: flex-end; animation: fade .15s; }
.sheet { width: 100%; max-width: 640px; margin: 0 auto; max-height: 88vh; overflow-y: auto; background: var(--surface);
  border-radius: 14px 14px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); animation: up .2s; }
.sheet h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 16px; right: 16px; top: 14px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 12px 14px;
  border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); font-weight: 600; text-align: center; }
.toast.err { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); }
.toast.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.toast.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }

/* ---------- админка ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl td, .tbl th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { color: var(--muted); font-weight: 600; }
.tbl input { padding: 6px 8px; font-size: 14px; border-radius: 4px; min-width: 90px; }
.switch { appearance: none; width: 40px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; cursor: pointer; padding: 0; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: .15s; }
.switch:checked { background: color-mix(in srgb, var(--neon) 25%, transparent); border-color: var(--neon); }
.switch:checked::after { left: 20px; background: var(--neon); }
.receipt-img { width: 100%; border-radius: var(--r); margin-top: 8px; background: var(--surface-2); min-height: 60px; }
pre.raw { white-space: pre-wrap; word-break: break-word; font-size: 13px; background: var(--bg); padding: 10px; border-radius: var(--r); margin: 8px 0; border: 1px solid var(--line); }

/* сводка админки */
.section-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.attention { border-left: 2px solid var(--warn); }
.row-link { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); cursor: pointer; }
.section-label + .row-link { border-top: 0; }
.ok-line { color: var(--ok); font-weight: 600; border-left: 2px solid var(--ok); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi .v { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kpi .k { font-size: 12px; color: var(--muted); }
