/* The admin in the landing's look (14.10.2026), like the cabinet's brand.css - a layer over admin.css: the landing's
   fonts (Unbounded, Golos Text, JetBrains Mono - the files of the cabinet), its navy palette with a faint grid, sharp
   corners and the notched corner on buttons, the active menu item with a bar, square status dots. */

@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("/static/cabinet/fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("/static/cabinet/fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  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; }
@font-face { font-family: "Golos Text"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("/static/cabinet/fonts/golos-text-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("/static/cabinet/fonts/golos-text-latin-wght-normal.woff2") format("woff2-variations");
  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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/static/cabinet/fonts/jetbrains-mono-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/static/cabinet/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --f-display: "Unbounded", "Golos Text", sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 2px;
  --notch: 10px;
  /* the landing's navy and its signal blue */
  --bg: #00051e;
  --side: #02071f;
  --surface: #060b25;
  --surface-2: #0b1131;
  --sunken: #030820;
  --line: rgba(120, 150, 255, 0.12);
  --line-strong: rgba(120, 150, 255, 0.22);
  --ink: #f4f6fb;
  --muted: #aab2c8;
  --faint: #7f889f;
  --accent: #1f5eff;
  --accent-hover: #3374ff;
  --accent-text: #7ea4ff;
  --accent-soft: rgba(51, 116, 255, 0.14);
}
:root[data-theme="light"] {
  --bg: #f4f6fb; --side: #ffffff; --surface: #ffffff; --surface-2: #eef1f8; --sunken: #f7f8fc;
  --line: #e1e5f0; --line-strong: #cbd1e3; --ink: #00051e; --muted: #4c556e; --faint: #7f889f;
  --accent: #1f5eff; --accent-hover: #003dbf; --accent-text: #003dbf; --accent-soft: rgba(31, 94, 255, 0.08);
}

body { font-family: var(--f-body); }
:root:not([data-theme="light"]) body {
  background-image:
    linear-gradient(to right, rgb(120 150 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(120 150 255 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
}

/* headings: Unbounded */
.page-head h1, .panel-head h3, .side-brand b, .login-brand b, .chart-panel h3 {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; font-variation-settings: normal;
}
.page-head h1 { font-size: clamp(24px, 2.6vw, 30px); }
.panel-head h3 { font-size: 15px; }
.panel > strong, .stat-line .panel strong { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; }
.kicker, .crumb, .panel-head > span { letter-spacing: 0.16em; }

/* sharp corners */
.panel, .stat-line, .dashboard-preview-grid, .side-brand, .nav, select, input:not([type="checkbox"]):not([type="radio"]), textarea,
.icon-button, .logout-button, .table-action, .pill, .chip, .account-avatar, .login-card, .admin-toast, .chart-tip, .tag,
.seg-filter, .seg-filter button, .month-switch, .month-switch button, .metrika-link, .feed-item, .user-card, .notice-card, .faq-card {
  border-radius: 0 !important;
}
.account-avatar { font-family: var(--f-display); }

/* buttons: the notched corner, the headings' font */
button.primary, .icon-button, .logout-button, .table-action, .metrika-link {
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}
.table-action { --notch: 7px; }
.icon-button { --notch: 7px; }
button.primary { font-family: var(--f-display); font-size: 13px; letter-spacing: -0.02em; }
.table-action, .logout-button { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
:root[data-theme="light"] .table-action, :root[data-theme="light"] .logout-button { background: var(--surface); border-color: var(--line-strong); }

/* the menu: the active item with a bar on the left */
.nav { position: relative; }
.nav.active { background: var(--accent-soft); --notch: 9px; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }  /* the notch like the buttons (22.10.2026) */
.nav.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--accent-hover); }

/* status chips: square dots, mono capitals */
.chip, .pill { text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; }
.chip::before { border-radius: 0; width: 5px; height: 5px; }

/* the accent tile: the brand gradient */
.stat-line .panel:first-child strong { color: var(--ink); }

/* charts: Лидоген - the landing's blue, AI-сейлз - its violet */
:root { --series-1: #3374ff; --series-2: #a855f7; }
:root[data-theme="light"] { --series-1: #1f5eff; --series-2: #9333ea; }
.nav.is-section-active { background: var(--accent-soft); }
.nav.is-section-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--accent-hover); }
