/* VK Медиакопир — интерфейс v2. Без внешних шрифтов и CDN (CSP: style-src 'self'). */
:root {
  --bg: #edeef0;
  --panel: #ffffff;
  --line: #dce1e6;
  --strip: #e9eef4;
  --ink: #222b35;
  --muted: #6d7885;
  --head: #3d6593;
  --head-ink: #ffffff;
  --accent: #2a6bd1;
  --accent-ink: #ffffff;
  --accent-soft: #e6effc;
  --ok: #1f7a3d; --ok-bg: #e3f5e8;
  --warn: #8a5a00; --warn-bg: #fff4d6;
  --bad: #a3182f; --bad-bg: #fde7ea;
  --radius: 10px;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PT Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "PT Mono", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.5 var(--sans); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0 0 4px; font-weight: 650; }
h2 { font-size: 18px; margin: 0 0 8px; font-weight: 650; }
h3 { font-size: 15px; margin: 0 0 8px; font-weight: 650; }
p { margin: 6px 0; }
code, .mono { font-family: var(--mono); font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ── Верхняя панель ───────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  height: 52px; padding: 0 20px; background: var(--head); color: var(--head-ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.topbar a { color: var(--head-ink); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--head-ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,.18); font-size: 13px; letter-spacing: -0.04em;
}
.topbar .spacer { flex: 1; }
.mode-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.16); font-size: 12px; white-space: nowrap;
}
.mode-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #8fe3a6; }
.mode-pill.live .dot { background: #ffb4a8; }
.topbar form { margin: 0; }
.topbar .user { font-size: 13px; opacity: .9; white-space: nowrap; }
.btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff;
  padding: 5px 12px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13px;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.burger { display: none; cursor: pointer; padding: 6px; margin-left: -6px; font-size: 20px; line-height: 1; user-select: none; }
#nav-toggle { display: none; }

/* ── Каркас: меню слева + контент ─────────── */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; padding: 20px; }
.sidebar { position: sticky; top: 72px; align-self: start; }
.nav { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500;
}
.nav a:hover { background: #e1e5eb; text-decoration: none; }
.nav a.active { background: var(--panel); color: var(--accent); box-shadow: 0 0 0 1px var(--line); }
.nav .ico { width: 22px; text-align: center; font-size: 15px; }
.nav .count { margin-left: auto; background: var(--bad); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 11px; }
.nav-sep { height: 1px; background: var(--line); margin: 10px 12px; }
.nav-note { padding: 6px 12px; font-size: 12px; color: var(--muted); }

.content { min-width: 0; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head .lead { color: var(--muted); max-width: 720px; }
.page-head .actions-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Блоки ───────────────────────────────── */
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 16px; overflow: hidden; }
.box-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: var(--strip); border-bottom: 1px solid var(--line);
}
.box-head h2, .box-head h3 { margin: 0; color: var(--head); font-size: 14px; }
.box-head .sub { color: var(--muted); font-size: 12px; }
.box-body { padding: 14px 16px; }
.box-body.flush { padding: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 14px; }

.grid { display: grid; gap: 14px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 108px; color: var(--ink); }
a.stat:hover { border-color: var(--accent); text-decoration: none; }
.stat .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.stat .value { font-size: 26px; font-weight: 700; line-height: 1.15; }
.stat .value.sm { font-size: 17px; }
.stat .note { color: var(--muted); font-size: 12px; }
.stat.ok { border-left: 4px solid var(--ok); }
.stat.warn { border-left: 4px solid #e0a100; }
.stat.bad { border-left: 4px solid var(--bad); }

.meter { height: 8px; border-radius: 999px; background: #e3e8ee; overflow: hidden; margin-top: 4px; }
.meter > span { display: block; height: 100%; background: var(--accent); }
.meter.p0 > span { width: 1%; } .meter.p10 > span { width: 10%; } .meter.p20 > span { width: 20%; }
.meter.p30 > span { width: 30%; } .meter.p40 > span { width: 40%; } .meter.p50 > span { width: 50%; }
.meter.p60 > span { width: 60%; } .meter.p70 > span { width: 70%; } .meter.p80 > span { width: 80%; background: #e0a100; }
.meter.p90 > span { width: 90%; background: var(--bad); } .meter.p100 > span { width: 100%; background: var(--bad); }

/* Шаги «как это работает» */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #e3e8ee; color: var(--muted); }
.steps li.done .num { background: var(--ok-bg); color: var(--ok); }
.steps li.next { background: var(--accent-soft); }
.steps li.next .num { background: var(--accent); color: #fff; }
.steps .t { font-weight: 600; }
.steps .h { color: var(--muted); font-size: 12px; }

.next-banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #c9dbf7; margin-bottom: 16px; }
.next-banner .big { font-size: 22px; }
.next-banner .txt { flex: 1; }

/* Правило-карточка: Откуда → Что → Куда → Как */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 8px 0; }
.flow > div { padding: 8px 12px; border-right: 1px solid var(--line); min-width: 0; }
.flow > div:last-child { border-right: 0; }
.flow .k { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.flow .v { font-weight: 600; overflow-wrap: anywhere; }
.rule-card { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rule-card:last-child { border-bottom: 0; }
.rule-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.rule-card .title { font-weight: 650; font-size: 15px; }
.rule-card .meta { color: var(--muted); font-size: 12px; }

/* Список групп (плитки) */
.group-list { list-style: none; margin: 0; padding: 0; }
.group-item { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.group-item:last-child { border-bottom: 0; }
.group-item.dim { opacity: .6; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: #5b88bd; text-transform: uppercase; }
.avatar.dst { background: #4c9a6a; }
.avatar.both { background: #8a6bbf; }
.group-item .name { font-weight: 600; }
.group-item .sub { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.group-item .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }

/* Пустое состояние */
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .em-ico { font-size: 34px; line-height: 1; margin-bottom: 8px; }
.empty .em-title { color: var(--ink); font-weight: 650; font-size: 15px; margin-bottom: 4px; }
.empty .btn { margin-top: 10px; }

/* Бейджи */
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: #e3e8ee; color: var(--ink); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--accent-soft); color: var(--accent); }

/* Подсказка «?» */
.tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #d5dce4; color: #4a5562; font-size: 11px; font-weight: 700; cursor: help; vertical-align: middle; text-transform: none; letter-spacing: 0; }
.tip::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  width: max-content; max-width: 280px; padding: 8px 10px; border-radius: 8px; background: #26303b; color: #fff;
  font-size: 12px; font-weight: 400; line-height: 1.4; white-space: normal; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 30;
}
.tip:hover::after, .tip:focus::after { opacity: 1; }

/* Таблицы */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: #f7f9fb; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tr.dim td { opacity: .6; }

/* Формы */
form { margin: 0; }
.inline { display: inline; }
.field { margin: 0 0 14px; }
.field > label, label.lbl { display: block; font-weight: 600; margin-bottom: 5px; }
.field .help { color: var(--muted); font-size: 12px; margin-top: 4px; }
form.stack label { display: block; margin: 10px 0 4px; font-weight: 600; }
input[type=text], input[type=password], input[type=number], select, textarea {
  width: 100%; max-width: 520px; padding: 8px 10px; border: 1px solid #c5ced8; border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
textarea { max-width: 680px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b7cff3; border-color: var(--accent); }
label.check, label.check-inline { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 6px 0; max-width: 720px; }
label.check input, label.check-inline input { margin-top: 3px; }
.check-list { display: grid; gap: 6px; }
.check-list label { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; margin: 0; cursor: pointer; background: #fff; }
.check-list label:hover { border-color: var(--accent); }
.check-list label.muted { cursor: not-allowed; background: #f7f9fb; }
.check-list label.muted:hover { border-color: var(--line); }

button, .btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none; line-height: 1.3;
}
button:hover, .btn:hover { filter: brightness(1.06); text-decoration: none; }
button.secondary, .btn.secondary { background: #fff; color: var(--ink); border-color: #c5ced8; }
button.secondary:hover, .btn.secondary:hover { background: #f3f5f8; }
button.danger, .btn.danger { background: var(--bad); color: #fff; }
.btn.sm, button.sm { padding: 5px 10px; font-size: 12px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }

form.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
form.filters input[type=text], form.filters select { max-width: 240px; margin: 0; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 5px 12px; border-radius: 999px; color: var(--ink); font-size: 13px; }
.tabs a.active { background: var(--accent); color: #fff; }
.tabs a:hover { text-decoration: none; background: #e1e5eb; }
.tabs a.active:hover { background: var(--accent); }

/* Сообщения */
.flash { padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; border: 1px solid transparent; }
.flash.error { background: var(--bad-bg); color: var(--bad); border-color: #f5c2cb; }
.flash.warn { background: var(--warn-bg); color: #6b4700; border-color: #f1dc9c; }
.flash.ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe6cb; }
.flash.info { background: var(--accent-soft); color: #1d4f9c; border-color: #c9dbf7; }

/* Мастер правила */
.wizard-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; list-style: none; margin: 0 0 16px; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wizard-steps li { padding: 10px 12px; border-right: 1px solid var(--line); display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; font-size: 13px; }
.wizard-steps li:last-child { border-right: 0; }
.wizard-steps .n { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; background: #e3e8ee; font-size: 12px; }
.wizard-steps li.current { color: var(--accent); background: var(--accent-soft); }
.wizard-steps li.current .n { background: var(--accent); color: #fff; }
.wizard-steps li.passed .n { background: var(--ok-bg); color: var(--ok); }
.wizard-steps a { color: inherit; display: flex; gap: 8px; align-items: center; }
.wizard-steps a:hover { text-decoration: none; }
.wstep .box-head h2 { font-size: 15px; }
.wstep-nav { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fafbfc; flex-wrap: wrap; }
.js .wstep:not(.on) { display: none; }
.js .wstep .wstep-nav.nojs-hide { display: flex; }
.wstep-nav.js-only { display: none; }
.js .wstep-nav.js-only { display: flex; }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.choice-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice { position: relative; display: block; border: 2px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; background: #fff; font-weight: 400; margin: 0; }
.choice:hover { border-color: #9dbbe8; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .c-ico { font-size: 24px; line-height: 1; }
.choice .c-title { display: block; font-weight: 650; margin-top: 6px; }
.choice .c-desc { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:focus-visible) { outline: 2px solid #b7cff3; }
details.more { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fafbfc; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--head); }
.summary-list { list-style: none; margin: 0; padding: 0; }
.summary-list li { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary-list li:last-child { border-bottom: 0; }
.summary-list .k { color: var(--muted); }

dl.kv { display: grid; grid-template-columns: 240px minmax(0,1fr); margin: 0; }
dl.kv dt, dl.kv dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv > :nth-last-child(-n+2) { border-bottom: 0; }

/* Вход */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #3d6593 0%, #2f5079 40%, var(--bg) 40%); }
.login-box { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 26px 28px; box-shadow: 0 10px 30px rgba(20,40,70,.18); }
.login-box h1 { margin-bottom: 2px; }
.login-box input[type=text], .login-box input[type=password] { max-width: none; }
.login-box button { width: 100%; justify-content: center; margin-top: 14px; padding: 10px; }

.footer { max-width: 1240px; margin: 0 auto 28px; padding: 0 20px 0 272px; color: var(--muted); font-size: 12px; }
.actions { white-space: nowrap; }
.actions .btn, .actions button { margin: 0 4px 4px 0; }

/* ── Мобильная версия ─────────────────────── */
@media (max-width: 1000px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .topbar { padding: 0 14px; gap: 10px; }
  .topbar .user, .topbar .mode-pill .txt-long { display: none; }
  .shell { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .sidebar { position: static; display: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
  #nav-toggle:checked ~ .shell .sidebar { display: block; }
  .footer { padding: 0 14px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow > div:nth-child(2) { border-right: 0; }
  .flow > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .wizard-steps { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .wizard-steps .lbl-txt { display: none; }
  .wizard-steps li { justify-content: center; }
  .choice-grid, .choice-grid.two { grid-template-columns: 1fr; }
  dl.kv { grid-template-columns: 1fr; }
  dl.kv dt { border-bottom: 0; padding-bottom: 0; }
  .steps li { grid-template-columns: 32px minmax(0,1fr); }
  .steps li > :last-child { grid-column: 2; }
  .group-item { grid-template-columns: 40px minmax(0,1fr); }
  .group-item > :last-child { grid-column: 1 / -1; }
  form.filters input[type=text], form.filters select { max-width: none; }
}
@media (max-width: 520px) {
  .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  h1 { font-size: 19px; }
  .summary-list li { grid-template-columns: 1fr; gap: 0; }
}
.mt { margin-top: 14px; } .grid + .grid, .grid + section, .grid + .box { margin-top: 14px; }
.js-only-btn { display: none; } .js .js-only-btn { display: inline-flex; }
.login-mark { background: var(--head); color: #fff; width: 40px; height: 40px; font-size: 15px; margin-bottom: 10px; }
.grid > .box, .grid > .card { margin-bottom: 0; }
.mode-pill .txt-short { display: none; }
@media (max-width: 820px) {
  .table-wrap table { min-width: 680px; }
  .brand { font-size: 15px; }
}
@media (max-width: 560px) {
  .mode-pill .txt-mid { display: none; }
  .mode-pill .txt-short { display: inline; }
  .brand-text { display: none; }
  .btn-ghost { padding: 4px 8px; }
}
@media (max-width: 520px) {
  .grid.cols-4, .grid.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .stat { min-height: 0; padding: 10px 12px; }
  .stat .value { font-size: 22px; }
  .stat .value.sm { font-size: 15px; }
  .stat .label { font-size: 11px; }
}

/* ── Поле «Ссылка на группу VK» (v3) ─────── */
.link-adder { border: 2px dashed #b9cdea; border-radius: 12px; padding: 14px 16px; background: #f7faff; margin: 6px 0 14px; }
.big-label { font-size: 15px; color: var(--head); }
.link-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.link-row .link-input { flex: 1 1 320px; max-width: none; font-size: 15px; padding: 10px 12px; }
.link-row button { padding: 10px 18px; }
.link-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.link-list li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.link-list .ref { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; }
.link-list .num { color: var(--muted); font-size: 12px; min-width: 22px; }
.link-list button.rm { background: transparent; color: var(--bad); border: 1px solid #f0c4cc; padding: 2px 9px; font-size: 13px; }
.btn-more { background: transparent; color: var(--accent); border: 0; padding: 6px 0; font-weight: 600; }
.btn-more:hover { text-decoration: underline; filter: none; }
.section-title { font-weight: 650; margin: 14px 0 6px; color: var(--ink); }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 14px 0 8px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rights-box { border: 1px solid #f1dc9c; background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.rights-box label.check-inline { font-weight: 600; }
.vk-connect { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-vk { background: #0077ff; font-size: 16px; padding: 12px 22px; border-radius: 10px; }
.btn-vk .vk-logo { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #fff; color: #0077ff; font-weight: 800; font-size: 11px; }
@media (max-width: 560px) {
  .link-row button { flex: 1 1 100%; justify-content: center; }
  .btn-vk { width: 100%; justify-content: center; }
}
.vk-connect .actions-row { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.vk-connect p { flex: 1 1 280px; margin: 0; }
button:disabled { opacity: .5; cursor: not-allowed; }
details.more-box > summary { cursor: pointer; list-style: none; }
details.more-box > summary::-webkit-details-marker { display: none; }
details.more-box > summary h2::before { content: "▸ "; }
details.more-box[open] > summary h2::before { content: "▾ "; }
.next-banner form { margin: 0; }
.steps li form { margin: 0; }
