/* Сайт активации. Один файл на три раздела: покупатель, исполнитель, админ. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --sunken: #f0f0f3;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: #e2e2e7;
  --on-ink: #ffffff;

  /* четыре статуса заказа — единственные цвета на сайте */
  --new: #0b6bdc;        --new-soft: #e7f1fe;
  --work: #a55a00;       --work-soft: #fdf1dd;
  --fix: #c8321f;        --fix-soft: #fdebe7;
  --done: #15803d;       --done-soft: #e3f5e9;

  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 8px 28px rgba(20, 20, 30, .06);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --sunken: #2a2a2d;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #6e6e73;
    --line: #333336;
    --on-ink: #1d1d1f;
    --new: #5aa9ff;      --new-soft: #10294a;
    --work: #f0b24a;     --work-soft: #3a2a0c;
    --fix: #ff7a66;      --fix-soft: #421a14;
    --done: #4cd07d;     --done-soft: #0f3320;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .05);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 16px/1.5 var(--font); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 15px; font-weight: 700; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--new) 55%, transparent); outline-offset: 2px; }

/* ───────────── кнопки ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 16px;
  cursor: pointer; text-decoration: none; transition: transform .08s, opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: default; }
.btn.wide { width: 100%; }
.btn.quiet { background: var(--sunken); color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.done { background: var(--done); color: #fff; }
.btn.danger-text { background: transparent; color: var(--fix); font-weight: 600; }
.btn.s { min-height: 38px; padding: 0 14px; font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--new); font-weight: 600; cursor: pointer; }

/* ───────────── поля ───────────── */
.field { display: block; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); background: var(--surface); font-size: 16px; font-weight: 500;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.input::placeholder { color: var(--faint); }
.input.s { min-height: 40px; padding: 0 12px; font-size: 15px; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 96px; }
.input-wrap .linkbtn { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin: 1px 0 0;
  border: 1.5px solid var(--faint); border-radius: 7px; background: var(--surface); cursor: pointer;
  display: grid; place-content: center; }
.check input::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--on-ink);
  border-bottom: 2.5px solid var(--on-ink); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .12s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check span { font-size: 14px; line-height: 1.45; }

/* ───────────── поверхности ───────────── */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.note { border-radius: var(--radius-s); padding: 14px 16px; font-size: 14px; background: var(--sunken); }
.note.fix { background: var(--fix-soft); color: var(--fix); font-weight: 600; }
.note.done { background: var(--done-soft); color: var(--done); font-weight: 600; }
.note.work { background: var(--work-soft); color: var(--work); font-weight: 600; }
.error { color: var(--fix); font-size: 14px; font-weight: 600; min-height: 21px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; background: var(--sunken); white-space: nowrap; }
.chip.new { background: var(--new-soft); color: var(--new); }
.chip.in_progress { background: var(--work-soft); color: var(--work); }
.chip.clarification { background: var(--fix-soft); color: var(--fix); }
.chip.completed { background: var(--done-soft); color: var(--done); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }

/* ───────────── шапка ───────────── */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; max-width: 1040px; margin: 0 auto; }
.wordmark { font-weight: 800; font-size: 17px; letter-spacing: -.03em; text-decoration: none; }
.wordmark span { color: var(--muted); font-weight: 600; }

/* ───────────── покупатель ───────────── */
.buyer { max-width: 1040px; margin: 0 auto; padding: 8px 20px 64px; }
.hero { max-width: 520px; margin: 6vh auto 0; }
.hero h1 + p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.code-input { font-size: 22px; font-weight: 700; letter-spacing: .08em; text-align: center;
  min-height: 62px; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.code-input::placeholder { letter-spacing: .08em; font-weight: 600; }

.how { list-style: none; padding: 0; margin: 0; counter-reset: how; }
.how li { counter-increment: how; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; }
.how li + li { margin-top: 12px; }
.how li::before { content: counter(how); width: 28px; height: 28px; border-radius: 50%;
  background: var(--sunken); display: grid; place-content: center; font-size: 13px; font-weight: 700; }

.order { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 16px; }
.order .side { position: sticky; top: 20px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* дорожка этапов — то, ради чего покупатель возвращается на страницу */
.track { list-style: none; margin: 0; padding: 0; }
.track li { position: relative; padding: 0 0 26px 40px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: -2px; width: 2px;
  background: var(--line); border-radius: 2px; }
.track li:last-child::before { display: none; }
.track li::after { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.track b { display: block; font-weight: 700; font-size: 16px; color: var(--faint); }
.track span { display: block; font-size: 14px; color: var(--faint); margin-top: 2px; }

.track li.passed::before { background: var(--done); }
.track li.passed::after { background: var(--done); border-color: var(--done);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.track li.passed b { color: var(--ink); }
.track li.passed span { color: var(--muted); }

.track li.current::after { border-color: var(--new); background: var(--new);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--new) 45%, transparent); animation: pulse 2s infinite; }
.track li.current b { color: var(--ink); }
.track li.current span { color: var(--muted); }
.track li.current.work::after { border-color: var(--work); background: var(--work);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--work) 45%, transparent); }
.track li.current.fix::after { border-color: var(--fix); background: var(--fix); animation: none; }
.track li.current.fix span { color: var(--fix); font-weight: 600; }
.track li.current.done::after { animation: none; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .track li.current::after { animation: none; } * { transition: none !important; } }

/* ───────────── вход ───────────── */
.login { max-width: 400px; margin: 12vh auto 0; padding: 0 20px 40px; }

/* ───────────── исполнитель ───────────── */
.app { max-width: 1480px; margin: 0 auto; padding: 0 16px 80px; }
.appbar { display: flex; align-items: center; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
.appbar h1 { font-size: 24px; }
.balance { margin-left: auto; text-align: right; line-height: 1.2; }
.balance small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.balance b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
details.panel > summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::after { content: "+"; font-size: 20px; font-weight: 500; color: var(--muted); line-height: 1; }
details.panel[open] > summary::after { content: "–"; }
details.panel > div { padding: 0 18px 18px; }
.guide { margin: 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.guide li + li { margin-top: 6px; }
.guide b { color: var(--ink); }

.tabs { display: none; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; margin-top: 16px; }
.col { min-width: 0; }
.col-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; font-weight: 700; font-size: 15px;
  position: sticky; top: 8px; z-index: 2; }
.col-head .count { font-variant-numeric: tabular-nums; opacity: .75; }
.col-head button { margin-left: auto; background: none; border: 0; cursor: pointer; color: inherit; font-size: 13px; font-weight: 700;
  padding: 4px 6px; border-radius: 8px; }
.col.new .col-head { background: var(--new-soft); color: var(--new); }
.col.in_progress .col-head { background: var(--work-soft); color: var(--work); }
.col.clarification .col-head { background: var(--fix-soft); color: var(--fix); }
.col.completed .col-head { background: var(--done-soft); color: var(--done); }
.col-body { margin-top: 12px; }
.col-body > * + * { margin-top: 12px; }
.empty { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center;
  font-size: 14px; color: var(--muted); }

.ocard { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 16px 16px 20px; overflow: hidden; }
.ocard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.ocard.new::before { background: var(--new); }
.ocard.in_progress::before { background: var(--work); }
.ocard.clarification::before { background: var(--fix); }
.ocard.completed::before { background: var(--done); }
.ocard.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 4px var(--new); } to { box-shadow: var(--shadow); } }
.ocard > * + * { margin-top: 12px; }
.ocard-top { display: flex; align-items: flex-start; gap: 8px; }
.ocard-top .id { font-size: 13px; font-weight: 700; color: var(--muted); }
.ocard-top .price { margin-left: auto; font-size: 18px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.cred { background: var(--sunken); border-radius: var(--radius-s); padding: 8px 8px 8px 12px; display: flex; align-items: center; gap: 8px; }
.cred + .cred { margin-top: 8px; }
.cred label { font-size: 12px; font-weight: 700; color: var(--muted); display: block; }
.cred code { font: 600 15px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.cred .copy { margin-left: auto; flex: none; }
.shots { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.shot { position: relative; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--sunken); flex: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.shot.old { opacity: .45; }
.shot button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; line-height: 1; padding: 0; }
.actions { display: grid; gap: 8px; }
.actions .sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

/* свёрнутая колонка */
.col.folded .col-body { display: none; }
@media (min-width: 1000px) {
  .board.f-new { --c1: 150px; } .board.f-in_progress { --c2: 150px; }
  .board.f-clarification { --c3: 190px; } .board.f-completed { --c4: 150px; }
  .board { grid-template-columns: var(--c1, minmax(0, 1fr)) var(--c2, minmax(0, 1fr)) var(--c3, minmax(0, 1fr)) var(--c4, minmax(0, 1fr)); }
}

/* ───────────── всплывающее ───────────── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--on-ink); padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25); transition: opacity .2s, transform .2s; z-index: 50; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--fix); color: #fff; }

.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: grid; place-items: center; padding: 20px; z-index: 40; }
.modal > div { background: var(--surface); border-radius: 22px; padding: 24px; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.modal p { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.modal small { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.modal .row { margin-top: 20px; }
.modal .btn { flex: 1; }
.viewer { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); display: grid; place-items: center; z-index: 60; cursor: zoom-out; padding: 12px; }
.viewer img { max-width: 100%; max-height: 100%; border-radius: 8px; }

/* ───────────── админ ───────────── */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.tile small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.tile b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.section { margin-top: 32px; }
.section > h2 { margin-bottom: 12px; }
.sellers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.seller > * + * { margin-top: 12px; }
.seller.off { opacity: .6; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.inline-form { display: grid; gap: 8px; background: var(--sunken); border-radius: var(--radius-s); padding: 12px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filters .chip { cursor: pointer; border: 0; padding: 8px 14px; font-size: 14px; }
.filters .chip.on { background: var(--ink); color: var(--on-ink); }
.table-wrap { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 12px 14px; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.history { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 14px; font-size: 14px; }

/* ───────────── телефон ───────────── */
@media (max-width: 999px) {
  .order { grid-template-columns: 1fr; }
  .order .side { position: static; }
  .hero { margin-top: 3vh; }
  .card { padding: 20px; }

  .appbar h1 { font-size: 20px; }
  .balance b { font-size: 20px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: sticky; top: 0; z-index: 5;
    background: var(--bg); padding: 8px 0; margin-top: 8px; }
  .tabs button { border: 0; background: var(--surface); border-radius: 12px; padding: 8px 2px 7px; cursor: pointer;
    font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--muted); display: grid; gap: 1px; justify-items: center;
    -webkit-tap-highlight-color: transparent; }
  .tabs button b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .tabs button.new b { color: var(--new); } .tabs button.in_progress b { color: var(--work); }
  .tabs button.clarification b { color: var(--fix); } .tabs button.completed b { color: var(--done); }
  .tabs button.on.new { background: var(--new-soft); color: var(--new); }
  .tabs button.on.in_progress { background: var(--work-soft); color: var(--work); }
  .tabs button.on.clarification { background: var(--fix-soft); color: var(--fix); }
  .tabs button.on.completed { background: var(--done-soft); color: var(--done); }
  .board { display: block; margin-top: 4px; }
  .col { display: none; }
  .col.shown { display: block; }
  .col-head { display: none; }
  .col.folded .col-body { display: block; }
  .col-body { margin-top: 8px; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile:last-child { grid-column: 1 / -1; }
  /* таблица заказов превращается в карточки */
  .table-wrap { background: none; box-shadow: none; overflow: visible; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
  tr + tr { margin-top: 12px; }
  td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
  td::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-weight: 600; }
  td:empty { display: none; }
}

/* ───────────── мелкая подгонка ───────────── */
.error:empty { display: none; }
#order-title + p { margin-top: 8px; font-size: 17px; }
.track { margin-top: 20px; }
.appbar > .btn { margin-left: auto; }
.sellers { align-items: start; }
@media (min-width: 1000px) {
  td .num, td[data-label="Даты"] > div > div { white-space: nowrap; }
}

/* ───────────── график работы, документы, подвал ───────────── */
.hours { border-radius: var(--radius-s); padding: 14px 16px; background: var(--sunken); font-size: 14px; }
.hours b { display: block; font-weight: 700; font-size: 15px; }
.hours span { display: block; margin-top: 2px; color: var(--muted); }
.hours.closed { background: var(--work-soft); }
.hours.closed b { color: var(--work); }
.hours.late { background: var(--fix-soft); }
.hours.late b { color: var(--fix); }
.muted a, .doc a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.foot { max-width: 1040px; margin: 0 auto; padding: 22px 20px 32px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
/* подвал прижат к низу экрана, даже когда страница короткая */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main, body > .app { flex: 1 0 auto; width: 100%; }

.doc { max-width: 720px; margin: 0 auto; padding: 16px 20px 64px; font-size: 16px; line-height: 1.6; }
.doc h1 { font-size: clamp(28px, 6vw, 38px); }
.doc h1 + p { margin-top: 8px; }
.doc h2 { margin: 34px 0 10px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li + li { margin-top: 6px; }

.top, .foot { width: 100%; }

/* требования к аккаунту под полем пароля */
.reqs { margin: 0; padding: 14px 16px 14px 34px; border-radius: var(--radius-s); background: var(--sunken);
  font-size: 14px; line-height: 1.45; }
.reqs li + li { margin-top: 8px; }
.reqs a { color: var(--new); font-weight: 600; overflow-wrap: anywhere; }
