/* franchise-design — общие токены интерфейса. Стиль по выбранному референсу B (vercel.com): чистый чёрный, Geist, белые pill-кнопки,
   тонкие светлые границы. Подключать: <link rel="stylesheet" href="/ui.css"> — им пользуются главный экран, редактор и импорт БТИ. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..700&display=swap');
:root {
  color-scheme: dark;
  --bg: #000000;          /* фон */
  --surface: #0a0a0a;     /* панели */
  --surface-2: #111111;   /* вложенные блоки, hover */
  --surface-3: #1a1a1a;
  --line: #1f1f1f;        /* границы панелей */
  --line-2: rgba(255, 255, 255, .14);  /* границы кнопок/полей */
  --ink: #ededed;         /* основной текст */
  --ink-2: #a1a1a1;       /* вторичный */
  --ink-3: #707070;       /* подписи */
  --accent: #ededed;      /* в референсе акцент — белый */
  --accent-ink: #0a0a0a;
  --accent-soft: #1f1f1f;
  --focus: #52a8ff;       /* кольцо фокуса как у Vercel */
  --ok: #3ecf8e; --warn: #f5a524; --err: #ff6166;
  --r: 12px; --r-sm: 6px;
  --shadow-1: 0 0 0 1px rgba(255, 255, 255, .02);
  --shadow-2: 0 8px 30px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Geist', 'GeistSans', system-ui, -apple-system, sans-serif; --mono: 'Geist', 'GeistSans', system-ui, sans-serif;   /* цифры и подписи — тем же Geist, без моноширинного: пользователь забраковал «машинный» вид */
}
* { box-sizing: border-box; }
html { font-feature-settings: 'tnum' 1; }   /* цифры одной ширины — суммы и метры стоят ровно */
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 500; }
h1 { font-size: 24px; letter-spacing: -0.04em; } h2 { font-size: 17px; letter-spacing: -0.02em; } h3 { font-size: 14px; font-weight: 600; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--ink-2); } .hint { color: var(--ink-3); font-size: 12.5px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
a { color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: 500 13.5px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, .24); }
.btn:active { transform: scale(.97); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn.primary { background: #ededed; border-color: #ededed; color: #0a0a0a; }
.btn.primary:hover { background: #ffffff; border-color: #ffffff; }
.btn.pill { border-radius: 999px; height: 40px; padding: 0 18px; font-size: 15px; }
input, select, textarea { height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 13px var(--font); }
input::placeholder { color: var(--ink-3); }
label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.tag { display: inline-flex; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; }
.ok { color: var(--ok); } .warn { color: var(--warn); } .err { color: var(--err); }
::selection { background: #ededed; color: #000; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
