/* VENDES APP — чёрный, изумрудный, белый */
:root {
  --ink: #030504;          /* основа фона */
  --night: #08100c;        /* панели (низ) */
  --panel: #0d1813;        /* панели (верх) */
  --edge: #1d3328;         /* обводки */
  --edge-soft: #13231b;
  --mint: #5ef2ad;         /* яркий акцент */
  --emerald: #14b874;      /* основной зелёный */
  --forest: #0b6b46;       /* глубокий зелёный */
  --white: #f4fff9;
  --text: #eaf7f0;
  --muted: #8aa597;
  --call: #5ef2ad;
  --put: #ff5d6c;
  --warn: #ffd27a;
  --grad: linear-gradient(110deg, #f4fff9 0%, #a7f8d0 24%, #2fd98f 58%, #0e8a58 100%);
  --grad-soft: linear-gradient(110deg, rgba(167, 248, 208, 0.16), rgba(20, 184, 116, 0.26));
  --on-grad: #03140c;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(20, 184, 116, 0.30), transparent 62%),
    radial-gradient(70% 40% at 105% 40%, rgba(244, 255, 249, 0.06), transparent 60%),
    radial-gradient(90% 50% at -10% 105%, rgba(11, 107, 70, 0.28), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--text);
  font: 500 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible + .check-box, a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
h2, h3 { margin: 0; }
h3 { font-size: 15px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- бренд и дисплейный шрифт ---------- */
.brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 7.2vw, 34px);
  letter-spacing: 0.12em;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 25%, #9ff5c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(47, 217, 143, 0.35));
}
.brand-sm { font-size: 15px; letter-spacing: 0.1em; filter: none; }

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 8.4vw, 38px);
  line-height: 1.08;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 34px rgba(47, 217, 143, 0.35);
}
.display-sm { font-size: 22px; text-align: left; margin: 6px 0 18px; text-shadow: none; }

/* ---------- заставка ---------- */
.splash {
  position: fixed; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px;
  background:
    radial-gradient(60% 40% at 50% 44%, rgba(20, 184, 116, 0.34), transparent 70%),
    radial-gradient(40% 25% at 50% 46%, rgba(244, 255, 249, 0.10), transparent 70%),
    linear-gradient(180deg, #020403 0%, #06150e 52%, #020403 100%);
  z-index: 10;
  transition: opacity 0.45s ease;
}
.splash.is-leaving { opacity: 0; pointer-events: none; }
.splash-ring {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(20, 184, 116, 0.30), rgba(3, 5, 4, 0.92) 70%);
  box-shadow: 0 0 0 1px rgba(94, 242, 173, 0.35), 0 0 60px rgba(20, 184, 116, 0.40);
  margin-bottom: 26px;
}
.splash-ring span {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(244, 255, 249, 0.12);
  border-top-color: var(--white);
  animation: spin 0.9s linear infinite;
}
.splash-brand { display: flex; align-items: center; gap: 16px; width: 100%; justify-content: center; }
.splash-line { flex: 0 1 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--mint)); }
.splash-line:last-child { transform: scaleX(-1); }
.splash-tagline { margin: 0; color: var(--mint); font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase; }
.splash-error { color: var(--put); text-align: center; max-width: 320px; margin-top: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- общие блоки ---------- */
.screen { padding: 28px 18px calc(32px + var(--safe-b)); max-width: 560px; margin: 0 auto; }
.lead { color: #c4d9cd; text-align: center; margin: 14px auto 26px; max-width: 34ch; font-size: 16px; }
.lead.left { text-align: left; margin: 0 0 18px; }
.footnote { color: var(--muted); text-align: center; font-size: 13px; margin-top: 18px; }
.footnote b { color: var(--text); }

.panel {
  background: linear-gradient(180deg, rgba(13, 24, 19, 0.92), rgba(8, 16, 12, 0.95));
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}
.panel-icon, .lock-badge {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  border: 1px solid #2a4a3a;
  background: rgba(20, 184, 116, 0.10);
  color: var(--mint);
}
.lock-badge { margin: 4px auto 22px; width: 60px; height: 60px; }
.panel-title { font-size: 20px; font-weight: 700; margin: 18px 0 10px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px;
  border-radius: var(--r-md);
  font-weight: 800; font-size: 16px;
  border: 0;
  transition: transform 0.12s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.985); }
.btn + .btn { margin-top: 12px; }
.btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: 0 10px 30px -12px rgba(47, 217, 143, 0.75); }
.btn-primary:disabled { opacity: 0.35; box-shadow: none; cursor: not-allowed; }
.btn-outline { background: transparent; border: 1.5px solid #3c6b55; color: var(--text); }

/* ---------- шаги доступа ---------- */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 6px 14px;
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-md);
  background: rgba(8, 16, 12, 0.75);
  text-align: center;
}
.step-mark {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  background: var(--edge); color: var(--muted);
}
.step.is-current .step-mark { background: var(--grad); color: var(--on-grad); box-shadow: 0 0 18px rgba(47, 217, 143, 0.55); }
.step.is-done .step-mark { background: linear-gradient(135deg, #f4fff9, #2fd98f); font-size: 0; }
.step.is-done .step-mark::before {
  content: ""; width: 12px; height: 7px;
  border-left: 2.4px solid var(--on-grad); border-bottom: 2.4px solid var(--on-grad);
  transform: translateY(-2px) rotate(-45deg);
}
.step-name { font-size: 12.5px; font-weight: 600; color: #cfe3d8; line-height: 1.25; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 20px; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex: 0 0 24px; height: 24px; border-radius: 7px;
  border: 1.5px solid #3f6f58;
  display: grid; place-items: center;
}
.check input:checked + .check-box { background: var(--grad); border-color: transparent; }
.check input:checked + .check-box::after {
  content: ""; width: 11px; height: 6px;
  border-left: 2.4px solid var(--on-grad); border-bottom: 2.4px solid var(--on-grad);
  transform: translateY(-1px) rotate(-45deg);
}
.form-error { color: var(--put); font-size: 14px; margin: 12px 0 0; }

/* ---------- приложение ---------- */
.app { max-width: 560px; margin: 0 auto; padding: 0 16px calc(96px + var(--safe-b)); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px 14px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(8, 16, 12, 0.85);
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3f5a4c; }
.status-pill.is-on { color: var(--text); border-color: rgba(94, 242, 173, 0.45); }
.status-pill.is-on .dot { background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* ---------- кнопка поиска — главный элемент ---------- */
.search {
  margin-top: 14px;
  padding: 26px 18px 18px;
  border-radius: 28px;
  border: 1px solid var(--edge);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(20, 184, 116, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(13, 24, 19, 0.9), rgba(5, 10, 8, 0.95));
}
.search-intro { text-align: center; margin-bottom: 18px; }
.search-intro h3 { font-size: 17px; font-weight: 800; }
.scan-btn {
  position: relative;
  display: flex; width: 100%; height: 64px; margin: 0;
  border-radius: 18px; border: 0; padding: 2px;
  background: var(--grad);
  box-shadow: 0 14px 36px -14px rgba(47, 217, 143, 0.7);
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.scan-btn:active { transform: scale(0.985); }
.scan-btn:disabled { cursor: default; }
.scan-core {
  position: relative; z-index: 1; flex: 1;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #0f2219, #040806);
  color: var(--white);
}
.scan-core svg { color: var(--mint); width: 22px; height: 22px; }
.scan-core b { font-size: 16px; font-weight: 800; }
.scan-waves i {
  position: absolute; inset: -3px; border-radius: 20px;
  border: 2px solid var(--mint); opacity: 0;
}
.scan-btn.is-busy .scan-waves i { animation: wave 1.6s ease-out infinite; }
.scan-btn.is-busy .scan-waves i:last-child { animation-delay: 0.8s; }
.scan-btn.is-busy .scan-core svg { animation: spin 1.4s linear infinite; transform-origin: 50% 50%; }
.scan-btn.is-wait { background: linear-gradient(110deg, #2c4b3c, #18352a); box-shadow: none; }
.scan-btn.is-wait .scan-core svg { color: var(--muted); }
@keyframes wave { 0% { transform: scale(1, 1); opacity: 0.8; } 100% { transform: scale(1.04, 1.35); opacity: 0; } }

.search-summary { text-align: center; color: var(--muted); font-size: 13.5px; margin: 6px 0 0; }
.search-summary b { color: var(--text); font-weight: 700; }

.search-result { margin: 0 0 20px; display: grid; gap: 8px; }
.res-row {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center;
  padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(3, 5, 4, 0.55); border: 1px solid var(--edge-soft);
}
.res-pair { font-weight: 800; }
.res-tag { justify-self: end; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(244, 255, 249, 0.07); color: var(--muted); }
.res-tag.call { background: rgba(94, 242, 173, 0.14); color: var(--call); }
.res-tag.put { background: rgba(255, 93, 108, 0.14); color: var(--put); }
.res-msg { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.res-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }

/* ---------- настройки поиска (аккордеон) ---------- */
.accordion { margin-top: 14px; }
.accordion-head {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 4px 2px; background: none; border: 0;
  font-weight: 800; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint);
  opacity: 0.85; transition: opacity 0.15s ease;
}
.accordion-head[aria-expanded="true"] { opacity: 1; }
.accordion-head svg { flex: 0 0 16px; }
.accordion-body { border-top: 1px solid var(--edge-soft); margin-top: 12px; }
.accordion-head .chev { color: var(--muted); transition: transform 0.2s ease; }
.accordion-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-body { padding: 16px 2px 4px; }

.row-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.row-toggle + .row-toggle { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--edge-soft); }
.row-title { font-weight: 700; }
.switch {
  flex: 0 0 52px; height: 30px; border-radius: 999px; border: 0; padding: 3px;
  background: #1f3329; transition: background 0.2s ease;
}
.switch span { display: block; width: 24px; height: 24px; border-radius: 50%; background: #b7cbbf; transition: transform 0.2s ease; }
.switch[aria-checked="true"] { background: var(--grad); }
.switch[aria-checked="true"] span { transform: translateX(22px); background: var(--on-grad); }

.field { margin-top: 24px; }
.field > h3, .field-head { margin-bottom: 12px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip, .seg {
  min-height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--edge);
  background: rgba(3, 5, 4, 0.6);
  font-weight: 700; font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chip[aria-pressed="true"], .seg[aria-checked="true"] {
  background: var(--grad-soft);
  border-color: var(--emerald);
  color: var(--white);
}
.segmented { display: flex; gap: 8px; }
.segmented .seg { flex: 1; }
.segmented.wrap { flex-wrap: wrap; }
.segmented.wrap .seg { flex: 1 0 calc(25% - 8px); }
.hint { color: var(--muted); font-size: 13px; margin: 10px 2px 0; }
.hint.warn { color: var(--warn); }

/* ---------- карточка активного сигнала ---------- */
.signal-card {
  position: relative; overflow: hidden;
  border-radius: 26px;
  padding: 22px 20px 20px;
  border: 1px solid var(--edge);
  background: linear-gradient(160deg, #10241a 0%, #050a07 65%);
}
.signal-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px;
  border-radius: 50%; filter: blur(30px); opacity: 0.55;
  background: radial-gradient(circle, var(--accent), transparent 65%);
  pointer-events: none;
}
.signal-card.is-call { --accent: rgba(94, 242, 173, 0.5); border-color: rgba(94, 242, 173, 0.35); }
.signal-card.is-put { --accent: rgba(255, 93, 108, 0.5); border-color: rgba(255, 93, 108, 0.35); }
.signal-top { position: relative; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.signal-pair { font-weight: 800; font-size: 17px; }
.signal-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.signal-dir {
  position: relative;
  font-family: var(--display); font-weight: 800;
  font-size: 54px; line-height: 1; letter-spacing: 0.02em;

  margin: 16px 0 6px;
}
.is-call .signal-dir { color: var(--call); }
.is-put .signal-dir { color: var(--put); }
.signal-dir small { font-size: 0.5em; margin-left: 8px; }
.ring { position: relative; width: 92px; height: 92px; flex: 0 0 92px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: rgba(244, 255, 249, 0.1); }
.ring .bar { stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.is-call .ring .bar { stroke: var(--call); }
.is-put .ring .bar { stroke: var(--put); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-size: 19px; font-variant-numeric: tabular-nums; }
.ring-label span { font-size: 10.5px; color: var(--muted); }
.signal-figures { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 16px; }
.figure { background: rgba(3, 5, 4, 0.5); border-radius: var(--r-sm); padding: 10px 12px; }
.figure span { display: block; font-size: 12px; color: var(--muted); }
.figure b { font-size: 16px; font-variant-numeric: tabular-nums; }
.conf-bar { height: 6px; border-radius: 4px; background: rgba(244, 255, 249, 0.1); margin-top: 8px; overflow: hidden; }
.conf-bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); }
.reasons { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; color: #cfe3d8; }
.reasons li { padding-left: 16px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.signal-warn { position: relative; margin: 12px 0 0; font-size: 13px; color: var(--warn); }

/* ---------- история ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 2px 10px; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(8, 16, 12, 0.8); border: 1px solid var(--edge-soft);
}
.dir-chip { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.dir-chip.call { background: rgba(94, 242, 173, 0.13); color: var(--call); }
.dir-chip.put { background: rgba(255, 93, 108, 0.13); color: var(--put); }
.h-title { font-weight: 800; }
.h-sub { font-size: 12.5px; color: var(--muted); }
.badge { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(244, 255, 249, 0.07); color: var(--muted); }
.badge.win { background: rgba(94, 242, 173, 0.15); color: var(--call); }
.badge.loss { background: rgba(255, 93, 108, 0.15); color: var(--put); }
.badge.pending { background: rgba(244, 255, 249, 0.12); color: var(--white); }
.history-empty { color: var(--muted); text-align: center; padding: 18px 0; font-size: 14px; }
.empty { border: 1px dashed var(--edge); border-radius: 26px; padding: 28px 20px; text-align: center; }
.empty h3 { font-size: 18px; margin-bottom: 6px; }
.empty p { margin: 0; color: var(--muted); }

/* ---------- статистика ---------- */
#periods { margin-bottom: 16px; }
.wr-hero { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.wr-value { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.wr-value small { font-size: 0.45em; color: var(--muted); }
.wr-compare { position: relative; height: 10px; border-radius: 6px; background: rgba(244, 255, 249, 0.08); margin: 18px 0 8px; }
.wr-compare i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--grad); }
.wr-compare em { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--warn); border-radius: 2px; }
.wr-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.wr-legend b { color: var(--warn); font-weight: 800; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.counts div { background: rgba(3, 5, 4, 0.5); border-radius: var(--r-sm); padding: 10px; text-align: center; }
.counts b { display: block; font-size: 20px; }
.counts .w { color: var(--call); }
.counts .l { color: var(--put); }
.stat-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.stat-rows li { display: grid; grid-template-columns: 82px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; }
.stat-rows .bar { height: 8px; border-radius: 5px; background: rgba(244, 255, 249, 0.08); overflow: hidden; }
.stat-rows .bar i { display: block; height: 100%; background: var(--grad); }
.stat-rows .num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-rows .sub { grid-column: 2 / 4; font-size: 12px; color: var(--muted); margin-top: -8px; }
.stats-block + .stats-block { margin-top: 14px; }
.stats-block h3 { margin-bottom: 14px; }

/* ---------- рефералы ---------- */
.ref-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ref-counts div { background: rgba(3, 5, 4, 0.5); border-radius: var(--r-sm); padding: 14px; }
.ref-counts b { display: block; font-family: var(--display); font-size: 28px; }
.ref-link { font-size: 14px; word-break: break-all; padding: 12px 14px; margin-bottom: 16px; border-radius: var(--r-sm); border: 1px dashed #36604b; color: #cfe3d8; }

/* ---------- нижнее меню ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px calc(8px + var(--safe-b));
  background: rgba(3, 5, 4, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--edge-soft);
  z-index: 5;
}
.tabbar-item {
  background: none; border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0; border-radius: 12px;
  color: #5f7a6c; font-size: 11.5px; font-weight: 700;
}
.tabbar-item.is-active { color: var(--white); }
.tabbar-item.is-active svg { color: var(--mint); filter: drop-shadow(0 0 8px rgba(94, 242, 173, 0.55)); }

.toast {
  position: fixed; left: 50%; bottom: calc(86px + var(--safe-b));
  transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
  padding: 10px 16px; border-radius: 12px;
  background: #10241a; border: 1px solid var(--edge);
  font-size: 14px; font-weight: 700; z-index: 20;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}
.toast.is-error { border-color: rgba(255, 93, 108, 0.6); }

@media (min-width: 420px) { .chips { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- помощь ---------- */
.help-block h3 { font-size: 16px; margin-bottom: 12px; }
.help-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.help-steps li { position: relative; padding-left: 42px; font-size: 14.5px; color: #cfe3d8; }
.help-steps li b { color: var(--white); }
.help-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad); color: var(--on-grad); font-weight: 800; font-size: 14px;
}
.help-faq { margin: 14px 0; display: grid; gap: 8px; }
.help-faq details {
  border: 1px solid var(--edge-soft); border-radius: var(--r-md);
  background: rgba(8, 16, 12, 0.8);
}
.help-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 16px; font-weight: 700;
}
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary::after {
  content: ""; flex: 0 0 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease;
}
.help-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.help-faq details p { margin: 0; padding: 0 16px 14px; color: #c4d9cd; font-size: 14px; }
.help-faq details p + p { padding-top: 0; }
.help-risk { border-color: rgba(255, 210, 122, 0.3); }
.help-risk p { margin: 0; color: #d9cfae; font-size: 14px; }

/* ---------- воронка доступа ---------- */
.ob-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 22px; }
.ob-brand .splash-line { flex: 0 1 52px; }
.ob-panel .btn { margin-top: 20px; }
.ob-panel .btn + .btn { margin-top: 12px; }
.btn svg { flex: 0 0 auto; }
.btn-link {
  background: none; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--mint);
}
.field-label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border-radius: var(--r-md); border: 1.5px solid var(--edge);
  background: rgba(3, 5, 4, 0.7); color: var(--white);
  font: 700 18px/1 var(--body); letter-spacing: 0.04em;
}
.input::placeholder { color: #4f6a5c; font-weight: 500; letter-spacing: 0; }
.input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(20, 184, 116, 0.18); }
.dep-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; }
.dep-value b { font-family: var(--display); font-size: 28px; color: var(--mint); font-variant-numeric: tabular-nums; }
.dep-value small { margin-left: 4px; font-size: 14px; color: var(--muted); font-weight: 700; }
.dep-bar { height: 8px; border-radius: 6px; background: rgba(244, 255, 249, 0.08); margin-top: 12px; overflow: hidden; }
.dep-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--grad); transition: width 0.4s ease; }
.step:not(.is-current):not(.is-done) .step-name { color: #5f7a6c; }
.step:not(.is-current):not(.is-done) .step-mark { background: transparent; border: 1.5px solid var(--edge); }
.dep-value { white-space: nowrap; }
.dep-row > span:first-child { flex: 1; min-width: 0; }
.form-note { color: var(--warn); font-size: 14px; margin: 12px 0 0; }
