/* Main Power — токены для сайта, собраны из project-de/tokens.json. Только тёмная тема. */
:root {
  color-scheme: dark;
  --signal-50: #fff2ec;
  --signal-100: #ffe1d4;
  --signal-200: #ffc2a8;
  --signal-300: #ff9c78;
  --signal-400: #ff7448;
  --signal-500: #fe4716;
  --signal-600: #e8400f;
  --signal-700: #b82d07;
  --signal-800: #8a2208;
  --signal-900: #5a1808;
  --signal-950: #2f0d05;
  --night-0: #ffffff;
  --night-50: #f2f4f8;
  --night-100: #e3e7ef;
  --night-200: #c9cfdc;
  --night-300: #a7afc0;
  --night-400: #838da3;
  --night-500: #646e86;
  --night-600: #3e465a;
  --night-700: #2a3041;
  --night-800: #1c2130;
  --night-850: #161a26;
  --night-900: #11141d;
  --night-950: #0c0e14;
  --bg: var(--night-950);
  --bg-sunken: #07090d;
  --surface: var(--night-900);
  --surface-raised: var(--night-850);
  --surface-overlay: var(--night-800);
  --surface-inverse: var(--night-50);
  --surface-glass: #0c0e14b8;
  --line: #ffffff14;
  --line-strong: var(--night-500);
  --line-accent: #fe471666;
  --text: var(--night-50);
  --text-muted: var(--night-300);
  --text-subtle: var(--night-400);
  --text-inverse: var(--night-950);
  --accent: var(--signal-500);
  --accent-hover: var(--signal-400);
  --accent-pressed: var(--signal-600);
  --on-accent: var(--night-950);
  --accent-text: var(--signal-400);
  --accent-soft: #2e1509;
  --logo: var(--signal-500);
  --accent-glow: #fe471624;
  --success: #3ddc97;
  --success-soft: #0b2a1f;
  --warning: #ffd04a;
  --warning-soft: #2e2508;
  --danger: #ff6f91;
  --danger-soft: #33101c;
  --info: #7cc0ff;
  --info-soft: #0e2233;
  --station-body: var(--night-900);
  --station-screen: #07090d;
  --slot-full: var(--signal-500);
  --slot-charging: #bd3d13;
  --slot-empty: var(--night-500);
  --slot-fault: #ff6f91;
  --track: var(--night-700);
  --data-accent: var(--signal-500);
  --data-grid: var(--night-700);
  --focus: var(--signal-300);
  --scrim: #000000b8;
  --shadow-sm: 0 1px 2px #00000066;
  --shadow-md: 0 8px 24px -8px #000000b3;
  --shadow-lg: 0 24px 64px -16px #000000cc;
  --edge-light: inset 0 1px 0 #ffffff14;
  --focus-ring: 0 0 0 2px #0c0e14, 0 0 0 4px #ff9c78;
  --space-0: 0;
  --space-05: 2px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --space-40: 160px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  --control-sm: 36px;
  --control-md: 44px;
  --control-lg: 56px;
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
  --header: 72px;
  --container: 1200px;
  --container-narrow: 720px;
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --dur-instant: 80ms;
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;
  --dur-slower: 600ms;
  --dur-cinematic: 1000ms;
  --stagger: 60ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-dock: cubic-bezier(0.34, 1.4, 0.64, 1);
  --z-raised: 10;
  --z-nav: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 32px;
  --gradient-sheen: linear-gradient(110deg, #ffffff00 35%, #ffffff66 50%, #ffffff00 65%);
  --gradient-glow: radial-gradient(60% 60% at 50% 0%, #fe47162e 0%, #fe471600 100%);
  --font-display: "Saira", "Onest", system-ui, sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display-2xl { font-family: var(--font-display); font-size: 104px; line-height: 0.94; font-weight: 800; letter-spacing: -0.01em; }
.display-xl { font-family: var(--font-display); font-size: 76px; line-height: 0.98; font-weight: 800; letter-spacing: -0.01em; }
.display-lg { font-family: var(--font-display); font-size: 56px; line-height: 1.02; font-weight: 800; letter-spacing: -0.005em; }
.display-md { font-family: var(--font-display); font-size: 40px; line-height: 1.06; font-weight: 700; letter-spacing: -0.005em; }
.display-sm { font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 700; }
.stat { font-family: var(--font-display); font-size: 72px; line-height: 0.96; font-weight: 800; letter-spacing: -0.01em; }
.heading-lg { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 600; }
.heading-md { font-family: var(--font-display); font-size: 21px; line-height: 28px; font-weight: 600; }
.heading-sm { font-family: var(--font-display); font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: 0.005em; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0.01em; }
.figure { font-family: var(--font-sans); font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.title { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.label-lg { font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 600; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.label-sm { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.01em; }
.mono { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.mono-sm { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: 0.02em; }
.timer { font-family: var(--font-mono); font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -0.03em; }
@font-face { font-family: "Saira"; src: url("fonts/Saira-Variable.08a9cc4c5f.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("fonts/Onest-Variable.1c4fca24ec.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("fonts/MartianMono-Variable.0fec2a58d7.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* Main Power: то, что отличает кабинет франшизы от общей формы (project-de/README.md).
   Цвета и шрифты приходят из tokens.css, здесь только форма. */

/* Заголовки Saira сжаты по ширине: немецкие слова длинные. */
.display-md, .display-sm, .stat, .p-kpi__value { font-stretch: 75%; }
.heading-lg, .heading-md, .heading-sm, .p-head__title { font-stretch: 87.5%; }

/* Главная кнопка повторяет батарею из логотипа: справа клемма. */
.p-btn--primary { margin-inline-end: 5px; }
.p-btn--primary::after {
  content: ""; position: absolute; inset-inline-start: 100%; inset-block: 30%;
  inline-size: 5px; border-start-end-radius: 3px; border-end-end-radius: 3px; background: inherit;
}
.p-btn--primary.p-btn--block { inline-size: calc(100% - 5px); }
