/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-700-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-700-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-700-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/golos-700-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/golos-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/golos-700-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-600-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-600-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-600-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/golos-600-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-600-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-600-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-600-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/golos-600-latin.woff2") format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-600-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-600-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-600-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/golos-600-latin.woff2") format('woff2');
  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;
}

/* ============================================================
   Портал проверки — дизайн-система
   Чистый нейтральный SaaS · серый + бирюзовый акцент
   ============================================================ */

:root {
  /* Accent — брендовый синий BIG AUTO DATA (меняется через Tweaks) */
  --accent: #3865ac;
  --accent-600: #3865ac;
  --accent-700: #2f548f;
  --accent-50: #effbf9;
  --accent-tint: color-mix(in srgb, var(--accent) 8%, white);
  --accent-ring: color-mix(in srgb, var(--accent) 28%, white);

  /* Нейтральные тона — слегка прохладный серый */
  --bg: #f4f5f7;
  --bg-soft: #eceef1;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --line: #e4e7eb;
  --line-strong: #d3d8de;

  --ink: #1a1d21;
  --ink-2: #3f454d;
  --muted: #6b7280;
  --faint: #9aa1ab;

  --ok: #0f766e;
  --warn: #b45309;
  --bad: #b91c1c;
  --ok-bg: #e9f6f3;
  --warn-bg: #fbf2e6;
  --bad-bg: #fbeaea;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(20,29,33,.05), 0 1px 1px rgba(20,29,33,.04);
  --shadow: 0 1px 3px rgba(20,29,33,.06), 0 8px 24px -12px rgba(20,29,33,.18);
  --shadow-lg: 0 4px 12px rgba(20,29,33,.08), 0 24px 56px -20px rgba(20,29,33,.28);

  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gap: 20px;
  --field-h: 46px;
}

/* Плотность (Tweaks) */
:root[data-density="compact"] {
  --gap: 14px;
  --field-h: 40px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
}

#root { min-height: 100%; }

button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

::selection { background: var(--accent-ring); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #cdd2d9; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #b6bcc5; }

/* ---------- Типографика ---------- */
.h-page { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.h-card { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; margin: 0; }
.sub { color: var(--muted); font-size: 14px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mono { font-family: var(--mono); font-variant-ligatures: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--field-h); padding: 0 20px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .05s, color .15s;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(.5px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-700); }
.btn-primary:disabled { background: #c2c8cf; color: #fff; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: var(--surface); color: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: #c2c8cf; }
.btn-quiet { background: transparent; color: var(--muted); border-color: transparent; }
.btn-quiet:hover { background: var(--bg-soft); color: var(--ink-2); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; }

/* ---------- Поля ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.field-req { color: var(--accent); }
.field-hint { font-size: 12px; color: var(--faint); }
.input {
  height: var(--field-h); width: 100%;
  padding: 0 13px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  font-size: 15px; transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
}
.input::placeholder { color: #b3b9c2; }
.input:hover { border-color: #c2c8cf; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.input.invalid { border-color: var(--bad); }
.input.invalid:focus { box-shadow: 0 0 0 3px var(--bad-bg); }
.input-error { font-size: 12px; color: var(--bad); display: flex; align-items: center; gap: 5px; }
.input-prefix-wrap { position: relative; display: flex; align-items: center; }
.input-prefix { position: absolute; left: 13px; color: var(--muted); font-size: 15px; pointer-events: none; }

/* ---------- Карточки ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Бейджи статуса ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.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 .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Утилиты ---------- */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeUp { from { transform: translateY(9px); } to { transform: none; } }
.fade-up { animation: fadeUp .4s cubic-bezier(.2,.7,.3,1); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn .25s ease; }

/* Логотип BAD */
.logo-stub {
  display: inline-flex; align-items: center; gap: 11px;
}
.logo-mark {
  height: 34px; min-width: 34px; padding: 0 9px; border-radius: 9px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; flex: none;
  font-weight: 800; font-size: 14.5px; letter-spacing: .03em;
  box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 700; font-size: 14.5px; letter-spacing: .07em; color: var(--ink); }
.logo-tag { font-size: 11px; color: var(--faint); letter-spacing: .02em; }
/* ====================================================================
   Layout для Go-версии (серверный рендер). Переносит структуры,
   которые в React были инлайн-стилями.
   ==================================================================== */
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Golos Text", ui-sans-serif, system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
a { color: var(--accent); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* Шапка */
.app-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between; }
.logo-row { display: flex; align-items: center; gap: 12px; }
.logo-row img { height: 38px; }
.logo-div { border-left: 1px solid var(--line); padding-left: 12px; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 6px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.linklike { border: none; background: none; color: var(--accent); cursor: pointer; font: inherit; }

/* Вход */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 410px; padding: 30px 30px 26px; }
.auth-foot { margin-top: 22px; color: var(--faint); font-size: 12.5px; }
.demo-note { margin-top: 18px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--accent-tint); color: var(--ink-2); font-size: 13px; border: 1px solid var(--accent-ring); }

/* Портал: две колонки */
.page { padding: 30px 28px 64px; }
.page-head { margin-bottom: 22px; }
.shell { display: grid; grid-template-columns: minmax(0,1fr) 332px; gap: 22px; align-items: start; }
@media (max-width: 900px){ .shell { grid-template-columns: 1fr; } }
.form-card { overflow: hidden; }
.form-head { display: flex; gap: 14px; align-items: center; padding: 20px 24px;
  border-bottom: 1px solid var(--line); background: var(--surface-2); }
.form-head .ic { width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: var(--accent-tint); color: var(--accent); display: grid; place-items: center;
  border: 1px solid var(--accent-ring); font-size: 20px; }
.form-body { padding: 22px 24px 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap, 16px); }
.col-full { grid-column: 1 / -1; }
.actions-row { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Мои заявки */
.requests { padding: 20px 20px 18px; position: sticky; top: 22px; }
.req-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.req-list { list-style: none; margin: 0; padding: 0; }
.req-item { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.req-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.req-date { font-size: 12px; color: var(--muted); }
.req-id { font-size: 11.5px; color: var(--ink-2); word-break: break-all; line-height: 1.45; }
.req-status { font-size: 12.5px; font-weight: 600; flex: none; }
.req-status.ok { color: var(--ok); } .req-status.err { color: var(--bad); } .req-status.proc { color: var(--muted); }

/* Алерт-баннер */
.alert { margin-bottom: 16px; padding: 13px 16px; display: flex; gap: 10px; align-items: flex-start;
  border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn); color: var(--warn);
  font-size: 14px; font-weight: 500; }

/* Критерии (нативный details) */
.crit { margin-top: 16px; }
.crit summary { cursor: pointer; padding: 15px 20px; list-style: none; }
.crit summary::-webkit-details-marker { display: none; }
.crit ul { list-style: none; margin: 0; padding: 0 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.crit li { display: flex; gap: 12px; }
.crit .num { width: 24px; height: 24px; border-radius: 7px; flex: none; background: var(--bg-soft);
  color: var(--ink-2); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.crit .cl { font-size: 14px; font-weight: 600; color: var(--ink); }
.crit .cd { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* Успех */
.success-wrap { display: flex; justify-content: center; padding-top: 12px; }
.success-card { width: 100%; max-width: 440px; padding: 34px 32px 28px; text-align: center; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: 30px; }
.meta { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; }
.meta-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.meta-row:last-child { border-bottom: none; }
.meta-val { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.task-id { font-size: 12.5px; color: var(--ink-2); word-break: break-all; user-select: all; }

.req-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.req-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.req-dl { font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.req-dl:hover { text-decoration: underline; }

.req-refresh { font-size: 12.5px; color: var(--accent); text-decoration: none; }
.req-refresh:hover { text-decoration: underline; }

/* Вкладки типа проверки */
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 22px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.tab.active { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.soon { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--warn); background: var(--warn-bg); border-radius: 6px; padding: 2px 6px; }
.soon-ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%;
  background: var(--warn-bg); color: var(--warn); display: grid; place-items: center; }

/* Пагинация «Мои заявки» */
.req-nav { display: flex; align-items: center; justify-content: center; gap: 14px;
  padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 13px; }
.req-nav a { color: var(--accent); text-decoration: none; font-weight: 600; padding: 2px 8px; }
.req-nav .off { color: var(--faint); padding: 2px 8px; }
