/* @import must be the first statement(s) in the file (CSS spec) — so the
   fonts/design-system files load here, and the small set of element
   selectors that would otherwise lose to Tailwind's preflight (body, h1-h3,
   p, a) are re-asserted below inside @layer base, which Tailwind splices in
   at @tailwind base's position regardless of where it physically sits in
   this file. */
/* Сгенерировано tools/fetch-fonts.mjs — локальные шрифты (Google Fonts, OFL) */
/* cyrillic-ext */
@font-face {
font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-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: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-italic-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: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-italic-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: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-italic-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: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-italic-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-500-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-500-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-500-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-500-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-600-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-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: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-italic-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: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-italic-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: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-italic-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: 'STIX Two Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-italic-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: 'STIX Two Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-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: 'STIX Two Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-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: 'STIX Two Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-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: 'STIX Two Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/stix-two-text-400-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;
}
/* ============================================================
   ПСИХОГРАФ — дизайн-система «научная монография»
   Типографика: STIX Two Text / IBM Plex Sans / IBM Plex Mono
   Палитра графика валидирована (CVD, контраст, светлота)
   ============================================================ */

:root {
  /* — поверхность и чернила — */
  --paper: #FAF7F2;
  --paper-2: #F3EFE7;
  --paper-3: #ECE7DC;
  --ink: #191D23;
  --ink-2: #4A5058;
  --ink-3: #666C75;
  --hairline: rgba(25, 29, 35, 0.14);
  --hairline-strong: rgba(25, 29, 35, 0.32);
  --grid-line: rgba(25, 29, 35, 0.045);

  /* — акценты (валидированная палитра, режим light) — */
  --accent: #2456A6;        /* линия профиля, интерактив */
  --accent-ink: #1C4485;
  --accent-2: #B4552D;      /* второй ряд данных, отметки */
  --accent-3: #0E8266;      /* третий ряд данных */
  --accent-soft: rgba(36, 86, 166, 0.08);
  --accent-soft-2: rgba(36, 86, 166, 0.16);

  /* — статусы — */
  --ok: #1C7040;
  --ok-soft: rgba(30, 122, 70, 0.1);
  --warn: #855B00;
  --warn-soft: rgba(154, 106, 0, 0.1);
  --danger: #B3352E;
  --danger-soft: rgba(179, 53, 46, 0.09);

  /* — коридор нормы на графике — */
  --corridor: rgba(36, 86, 166, 0.055);
  --corridor-line: rgba(25, 29, 35, 0.22);

  /* — типографика — */
  --font-display: "STIX Two Text", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* — геометрия — */
  --container: 1120px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(25, 29, 35, 0.05), 0 8px 28px -12px rgba(25, 29, 35, 0.16);
  --shadow-pop: 0 2px 6px rgba(25, 29, 35, 0.08), 0 24px 64px -16px rgba(25, 29, 35, 0.28);

  --header-h: 64px;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #15181C;
  --paper-2: #1B1F25;
  --paper-3: #232830;
  --ink: #E9E6DF;
  --ink-2: #A9ACB3;
  --ink-3: #8E939B;
  --hairline: rgba(233, 230, 223, 0.14);
  --hairline-strong: rgba(233, 230, 223, 0.34);
  --grid-line: rgba(233, 230, 223, 0.04);

  --accent: #5B8FD9;
  --accent-ink: #7FA9E4;
  --accent-2: #D07A4A;
  --accent-3: #2BA37F;
  --accent-soft: rgba(91, 143, 217, 0.12);
  --accent-soft-2: rgba(91, 143, 217, 0.22);

  --ok: #4CAF79;
  --ok-soft: rgba(76, 175, 121, 0.12);
  --warn: #D6A644;
  --warn-soft: rgba(214, 166, 68, 0.12);
  --danger: #E0685F;
  --danger-soft: rgba(224, 104, 95, 0.12);

  --corridor: rgba(91, 143, 217, 0.07);
  --corridor-line: rgba(233, 230, 223, 0.22);

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px -12px rgba(0, 0, 0, 0.5);
  --shadow-pop: 0 2px 6px rgba(0, 0, 0, 0.4), 0 24px 64px -16px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ============ базовое ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* JS переключает hidden у элементов с display-классами */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* миллиметровая сетка научного бланка */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
::-moz-selection { background: var(--accent-soft-2); }
::selection { background: var(--accent-soft-2); }
p { text-wrap: pretty; }

/* зерно бумаги — едва заметная тактильность */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::after { opacity: 0.55; }
@media print { body::after { display: none; } }

/* живое подчёркивание содержательных ссылок */
main a:not(.btn):not(.brand):not(.skip-link):not(.scale-card):not(.about-toc a) {
  text-decoration: none;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(color-mix(in srgb, currentColor 38%, transparent), color-mix(in srgb, currentColor 38%, transparent));
  background-size: 0% 1.5px, 100% 1px;
  background-position: 0 96%, 0 96%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
}
main a:not(.btn):not(.brand):not(.skip-link):hover { background-size: 100% 1.5px, 100% 1px; }

h1, h2, h3, .h-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.13rem; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }

.mono, code, .t-val { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* надзаголовок-«шифр» как в монографии */
.overline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  row-gap: 8px;
  margin-bottom: 14px;
}
.overline::before { content: ""; width: 26px; height: 1px; background: var(--hairline-strong); }
.overline .num { color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--hairline); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: var(--radius); font-size: 0.9rem; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ============ шапка ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: transform 0.28s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
body.pg-header-hidden .progress-rail { top: 0; }
.progress-rail { transition: top 0.28s ease; }
.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; gap: 26px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
  margin-right: auto;
}
.brand svg { flex: none; }
.brand .brand-mark-line { stroke: var(--accent); }
.brand .brand-mark-frame { stroke: var(--hairline-strong); }
.brand sup {
  font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500;
  color: var(--ink-3); letter-spacing: 0.1em; top: -0.7em;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 0.92rem; color: var(--ink-2); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius);
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; border: 1px solid var(--hairline); background: transparent;
  color: var(--ink-2); width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { border-color: var(--hairline-strong); color: var(--ink); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
  display: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; background: none; border: 1px solid var(--hairline);
  border-radius: var(--radius); width: 38px; height: 38px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}

[x-cloak] { display: none !important; }

.header-search { position: relative; }
.header-search-form {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  width: min(320px, 80vw);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); padding: 10px;
}
.header-search-form input {
  width: 100%; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--ink); background: var(--paper-2); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); padding: 9px 12px;
}
.header-search-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.header-search-suggest { margin-top: 8px; display: flex; flex-direction: column; }
.header-search-suggest a {
  padding: 8px 10px; border-radius: var(--radius); font-size: 0.88rem; color: var(--ink-2);
  text-decoration: none;
}
.header-search-suggest a:hover { background: var(--paper-2); color: var(--ink); }

@media (max-width: 500px) {
  .header-actions .btn { display: none; } /* CTA дублируется в hero и меню */
  .brand sup { display: none; }
}
@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 8px clamp(16px, 4vw, 32px) 16px;
    box-shadow: var(--shadow-card);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .nav-burger { display: inline-flex; }
}

/* ============ кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 55%, transparent); }
[data-theme="dark"] .btn-primary { color: #10131A; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.btn-soft:hover { background: var(--accent-soft-2); }
.btn-danger { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.btn[disabled], .btn.disabled { opacity: 0.55; pointer-events: none; }
.btn .spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ карточки / плашки ============ */
.card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
}
.card-paper {
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); color: var(--ink-2);
}
.badge-accent { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }
.badge-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-soft); }
.badge-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: var(--warn-soft); }
.badge-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: var(--danger-soft); }

.callout {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.callout.warn { border-left-color: var(--warn); }
.callout.danger { border-left-color: var(--danger); }
.callout.ok { border-left-color: var(--ok); }
.callout p:last-child { margin-bottom: 0; }

/* штамп «демо» */
.stamp {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
  border: 1.5px solid color-mix(in srgb, var(--accent-2) 65%, transparent);
  border-radius: 3px;
  padding: 3px 8px;
  transform: rotate(-2deg);
}

/* ============ герой ============ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(44px, 7vw, 84px); }
.hero .container { display: grid; grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px;
  padding-top: 20px; border-top: 1px solid var(--hairline);
}
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m b { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.hero-meta .m span { font-size: 0.78rem; color: var(--ink-3); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-chart-wrap { position: relative; }
.hero-chart-frame {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 10px 8px;
}
.hero-chart-frame .frame-cap {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 14px 8px; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* ============ «живой психограф» в герое ============ */
.psy-frame {
  transition: box-shadow 0.25s ease; /* transform управляется из JS без transition во время слежения */
  transform-style: preserve-3d;
  will-change: transform;
}
.psy-frame:hover { box-shadow: var(--shadow-pop); }
.psy-topcap {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 0 14px 10px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--hairline); margin-bottom: 8px;
}
.psy-rec { display: inline-flex; align-items: center; gap: 7px; }
.psy-rec-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  animation: rec-pulse 1.6s ease-in-out infinite;
}
@keyframes rec-pulse { 50% { opacity: 0.2; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 18%, transparent); } }
.psy-archetype { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psy-archetype.swap { animation: arch-swap 0.5s ease; }
@keyframes arch-swap { 0% { opacity: 0; transform: translateY(5px); } }

.psy-stage { position: relative; }
#psy-svg { display: block; width: 100%; height: auto; aspect-ratio: 640 / 380; }

/* слои SVG — темизация через переменные */
.psy-corridor { fill: var(--corridor); }
.psy-grid { stroke: var(--hairline); stroke-width: 1; }
.psy-grid-mid { stroke: var(--corridor-line); stroke-width: 1; stroke-dasharray: 5 5; }
.psy-axis-x, .psy-axis-y, .psy-note {
  font-family: var(--font-mono); fill: var(--ink-3); font-size: 11px;
}
.psy-note { font-size: 10px; letter-spacing: 0.06em; }
.psy-line {
  stroke: var(--accent); stroke-width: 2.2;
  stroke-linejoin: round; stroke-linecap: round;
  filter: drop-shadow(0 1px 6px color-mix(in srgb, var(--accent) 30%, transparent));
}
.psy-point { fill: var(--accent); stroke: var(--paper); stroke-width: 2; transition: r 0.15s; }
.psy-point-halo { fill: var(--accent); transition: opacity 0.15s; }
.psy-pen {
  fill: var(--accent-2); stroke: none;
  filter: drop-shadow(0 0 6px var(--accent-2));
}
.psy-crosshair { stroke: var(--hairline-strong); stroke-width: 1; stroke-dasharray: 3 4; transition: opacity 0.15s; }

.psy-tip {
  position: absolute; transform: translate(-50%, -100%);
  background: var(--ink); color: var(--paper);
  font-size: 0.78rem; padding: 5px 10px; border-radius: 5px;
  pointer-events: none; white-space: nowrap; z-index: 3;
  box-shadow: var(--shadow-pop);
}
.psy-tip .mono { font-family: var(--font-mono); }

.psy-delta {
  position: absolute; transform: translate(-50%, -120%);
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  pointer-events: none; z-index: 2;
  animation: delta-float 1.35s ease-out forwards;
}
.psy-delta.up { color: var(--accent-2); }
.psy-delta.down { color: var(--accent-3); }
@keyframes delta-float {
  0% { opacity: 0; translate: 0 6px; }
  18% { opacity: 1; }
  100% { opacity: 0; translate: 0 -26px; }
}

/* карточка мини-демо */
.psy-quiz {
  margin-top: 14px;
  padding: 16px 18px 12px;
  border-left: 3px solid var(--accent);
}
.psy-quiz-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-bottom: 8px;
}
.psy-quiz-title {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent-ink);
}
.psy-quiz-step { font-size: 0.72rem; color: var(--ink-3); font-family: var(--font-mono); }
.psy-quiz-q {
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 500;
  line-height: 1.35; margin: 0 0 12px; min-height: 2.7em;
}
.psy-quiz-answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.psy-quiz-answers .answer-btn { padding: 9px 6px; font-size: 0.88rem; }
.psy-quiz-note { font-size: 0.72rem; color: var(--ink-3); margin: 10px 0 0; }
.psy-quiz-done { font-size: 0.92rem; margin: 0 0 12px; }
.psy-quiz-cta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.psy-quiz-cta .btn { white-space: normal; }
@media (max-width: 480px) {
  .psy-quiz-answers { grid-template-columns: 1fr 1fr; }
  .psy-quiz-answers .answer-btn { font-size: 0.8rem; padding: 8px 4px; }
  .psy-quiz-q { min-height: 4.05em; }
  .psy-quiz-cta { flex-direction: column; align-items: stretch; }
  /* номиналы в единицах viewBox: на узком экране SVG сжат вдвое — подписи крупнее */
  .psy-axis-x, .psy-axis-y { font-size: 16px; }
  .psy-note { display: none; }
}

/* появление карточек при скролле */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(16px); }
  .rise.in { animation: rise-in 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: var(--rise-d, 0ms); }
  @keyframes rise-in { to { opacity: 1; transform: none; } }
}

/* появление при загрузке */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .reveal.d1 { animation-delay: 0.08s; } .reveal.d2 { animation-delay: 0.18s; }
  .reveal.d3 { animation-delay: 0.3s; }  .reveal.d4 { animation-delay: 0.44s; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* ============ секции главной ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* тонированная полоса для ритма страницы */
.section-tint {
  background: color-mix(in srgb, var(--paper-2) 72%, var(--paper));
}

/* --- 02: процесс-рейл (лабораторный протокол) --- */
.process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.process::before {
  content: ""; position: absolute; top: 24px; left: calc(16.66% ); right: calc(16.66%);
  border-top: 1.5px dashed var(--hairline-strong); z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.ps-marker {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--paper);
}
.process-step:nth-child(3) .ps-marker { border-color: var(--accent-2); color: var(--accent-2); }
.ps-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px;
}
.ps-tag b { color: var(--accent); font-weight: 500; }
.process-step:nth-child(3) .ps-tag b { color: var(--accent-2); }
.process-step h3 { margin-bottom: 8px; }
.process-step p { color: var(--ink-2); font-size: 0.95rem; margin: 0; max-width: 34ch; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 34px; padding-left: 24px; }
  .process::before {
    top: 24px; bottom: 24px; left: 24px; right: auto; width: 0;
    border-top: none; border-left: 1.5px dashed var(--hairline-strong);
  }
  .process-step { padding-left: 40px; }
  .ps-marker { position: absolute; left: -48px; top: -4px; }
}

/* --- 03: карта шкал --- */
.scale-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 22px; font-size: 0.82rem; color: var(--ink-2); }
.scale-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: 1px; }
.scale-legend .dot.validity { background: var(--accent-2); }
.scale-legend .dot.clinical { background: var(--accent); }
.scale-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.scale-card {
  position: relative;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 14px 16px 13px;
  display: flex; flex-direction: column; gap: 3px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.scale-card:hover { transform: translateY(-3px); border-color: var(--hairline-strong); box-shadow: var(--shadow-card); }
.scale-card .sc-code {
  font-family: var(--font-mono); font-size: 1.15rem; font-weight: 500; color: var(--accent);
  display: flex; align-items: baseline; justify-content: space-between;
}
.scale-card[data-group="validity"] .sc-code { color: var(--accent-2); }
.scale-card .sc-mmpi { font-size: 0.68rem; color: var(--ink-3); letter-spacing: 0.08em; }
.scale-card b { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.scale-card span.sc-desc { font-size: 0.8rem; color: var(--ink-3); line-height: 1.45; }
.scale-card::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 2px; border-radius: 2px 2px 0 0;
  background: var(--accent); opacity: 0; transition: opacity 0.16s;
}
.scale-card[data-group="validity"]::after { background: var(--accent-2); }
.scale-card:hover::after { opacity: 0.9; }

/* --- 05: принципы (редакторский список) --- */
.principles { display: flex; flex-direction: column; }
.principle {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--hairline);
}
.principle:last-child { border-bottom: 1px solid var(--hairline); }
.principle .pr-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: color-mix(in srgb, var(--accent) 55%, var(--paper-3)); line-height: 1;
}
.principle h3 { margin-bottom: 6px; font-size: 1.12rem; }
.principle p { margin: 0; color: var(--ink-2); font-size: 0.95rem; max-width: 56ch; }
@media (max-width: 560px) { .principle { grid-template-columns: 48px 1fr; gap: 12px; } .principle .pr-num { font-size: 1.5rem; } }

/* --- 06: FAQ-разворот --- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside .callout { margin-top: 18px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* --- 04: тарифы, полировка --- */
.price-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.price-card.featured { position: relative; overflow: hidden; }
.price-card.featured .price-stamp {
  position: absolute; top: 18px; right: -34px; transform: rotate(38deg);
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 40px;
}
[data-theme="dark"] .price-card.featured .price-stamp { color: #10131A; }

/* тарифы */
.price-card { display: flex; flex-direction: column; gap: 14px; }
.price-card .price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.price-card .price small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 400; color: var(--ink-3); }
.price-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 0.94rem; }
.price-card ul li { display: flex; gap: 10px; align-items: baseline; }
.price-card ul li::before { content: "—"; color: var(--accent); flex: none; }
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow-card); position: relative; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 4px; font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 1.2rem; flex: none; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 18px; color: var(--ink-2); max-width: 70ch; }

/* ============ каталог ============ */
.test-card { display: flex; flex-direction: column; gap: 12px; }
.test-card .test-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.test-card .meta-row { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-3); }
.test-card .actions { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* паспорт методики: контент + мини-профиль */
.test-passport { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 34px); align-items: stretch; }
.tp-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tp-side {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--paper-2); padding: 14px 10px 8px;
  display: flex; flex-direction: column; justify-content: center;
}
.tp-side svg { width: 100%; height: auto; }
.tp-side .tp-cap {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); text-align: center; padding-top: 6px;
}
@media (max-width: 780px) { .test-passport { grid-template-columns: 1fr; } }

/* будущие методики — «чертёжные» карточки */
.test-card.soon {
  border-style: dashed; border-color: var(--hairline-strong);
  background: transparent; box-shadow: none;
}
.test-card.soon h3 { color: var(--ink-2); }

/* ============ прохождение теста ============ */
.quiz-shell { max-width: 760px; margin: 0 auto; }
.progress-rail {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
}
.progress-rail .container { display: flex; align-items: center; gap: 16px; max-width: 820px; }
.progress-track { flex: 1; height: 4px; background: var(--paper-3); border-radius: 2px; overflow: hidden; position: relative; }
.progress-track::after {
  /* деления на 25 / 50 / 75 % */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--hairline-strong), var(--hairline-strong)) 25% 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--hairline-strong), var(--hairline-strong)) 50% 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--hairline-strong), var(--hairline-strong)) 75% 0 / 1.5px 100% no-repeat;
  opacity: 0.6;
}
.progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.25s ease; position: relative; z-index: 1; }
.progress-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); white-space: nowrap; }

.q-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 40px);
  margin-top: 26px;
}
.q-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); display: flex; justify-content: space-between; margin-bottom: 14px; }
.q-text {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 500; line-height: 1.35; min-height: 3.2em; margin-bottom: 22px;
  overflow-wrap: break-word;
}
.q-text:focus { outline: none; }
.answer-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .answer-row { grid-template-columns: 1fr; } }
.answer-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; cursor: pointer;
  border: 1px solid var(--hairline-strong); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  padding: 15px 10px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: border-color 0.12s, background 0.12s, transform 0.12s;
}
.answer-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.answer-btn:active { transform: scale(0.985); }
.answer-btn.selected { border-color: var(--accent); background: var(--accent-soft-2); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.answer-btn kbd {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-3);
  border: 1px solid var(--hairline); border-bottom-width: 2px; border-radius: 4px;
  padding: 1px 6px; background: var(--paper-2);
}
.answer-btn.selected kbd { color: var(--accent-ink); }
.quiz-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
@media (max-width: 420px) { .quiz-nav .btn { padding: 11px 13px; font-size: 0.88rem; } }
.quiz-hint { text-align: center; font-size: 0.8rem; color: var(--ink-3); margin-top: 22px; }
.quiz-hint kbd { font-family: var(--font-mono); border: 1px solid var(--hairline); border-radius: 3px; padding: 0 5px; }

/* экран «расчёт профиля» */
.calc-steps {
  list-style: none; margin: 18px auto 4px; padding: 0;
  max-width: 46ch; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
}
.calc-steps li {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-3);
  display: flex; gap: 10px; align-items: baseline;
  opacity: 0.45; transition: opacity 0.3s, color 0.3s;
}
.calc-steps li::before { content: "○"; color: var(--hairline-strong); flex: none; transition: color 0.3s; }
.calc-steps li.done { opacity: 1; color: var(--ink-2); }
.calc-steps li.done::before { content: "✓"; color: var(--ok); }

/* стартовый экран теста */
.consent-box { display: flex; flex-direction: column; gap: 14px; }
.consent-box label.check {
  display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-2); cursor: pointer;
}
.consent-box input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-pick { grid-template-columns: 1fr; } }
.form-pick .pick {
  border: 1px solid var(--hairline-strong); border-radius: var(--radius);
  padding: 18px; cursor: pointer; background: var(--paper);
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  font-family: var(--font-body);
}
.form-pick .pick b { font-size: 1.05rem; }
.form-pick .pick span { font-size: 0.84rem; color: var(--ink-3); }
.form-pick .pick.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }

/* ============ результаты ============ */
.result-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }

/* стат-плитки протокола */
.stat-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow-card);
  margin-top: 22px; overflow: hidden;
}
.stat-tile {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 18px 14px;
  min-width: 0;
}
.stat-tile + .stat-tile { border-left: 1px solid var(--hairline); }
.stat-label {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);
}
.stat-value { font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.stat-value.mono { font-family: var(--font-mono); font-weight: 500; }
.stat-sub { font-size: 0.76rem; color: var(--ink-3); }
@media (max-width: 720px) {
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .stat-tile:nth-child(3) { border-left: none; }
  .stat-tile:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 420px) {
  .stat-tiles { grid-template-columns: 1fr; }
  .stat-tile { border-left: none !important; }
  .stat-tile + .stat-tile { border-top: 1px solid var(--hairline); }
  .stat-value { font-size: 1.15rem; }
}

/* поэтапное появление строк таблицы шкал */
@media (prefers-reduced-motion: no-preference) {
  tr.row-in { animation: row-in 0.45s both; animation-delay: var(--row-d, 0ms); }
  @keyframes row-in { from { opacity: 0; } }
}

/* печатная шапка протокола */
.print-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 16px;
  font-size: 0.9rem;
}
.print-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.chart-frame {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 20px 8px 6px; margin-top: 26px;
}
.chart-frame .frame-cap {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px;
  padding: 0 16px 10px; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
#profile-chart { display: block; width: 100%; height: auto; aspect-ratio: 640 / 400; }

.scale-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.scale-table th, .scale-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.scale-table th {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);
  border-bottom: 1px solid var(--hairline-strong);
}
.scale-table td.num { font-family: var(--font-mono); font-size: 0.88rem; }
.scale-table tr:hover td { background: var(--paper-2); }
.t-band { font-size: 0.78rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.t-band.low { background: var(--paper-3); color: var(--ink-2); }
.t-band.norm { background: var(--ok-soft); color: var(--ok); }
.t-band.mild { background: var(--warn-soft); color: var(--warn); }
.t-band.high { background: var(--danger-soft); color: var(--danger); }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.link-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
  color: var(--accent); text-decoration: underline; text-underline-offset: 2px;
}
.link-btn:hover { color: var(--accent-ink); }

/* ============ ИИ-анализ ============ */
.ai-report {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 44px);
  max-width: 820px; margin: 0 auto;
  overflow-wrap: anywhere;
}
.ai-report h3 { margin-top: 1.6em; }
.ai-report h3:first-child { margin-top: 0; }
.ai-report .report-rule { border: none; border-top: 1px solid var(--hairline); margin: 26px 0; }
.q15 { display: flex; flex-direction: column; gap: 22px; }
.q15 .q15-item label.q-label { display: block; font-weight: 600; margin-bottom: 10px; }
.q15 .q15-item .idx { font-family: var(--font-mono); color: var(--accent); font-size: 0.8rem; margin-right: 8px; }
.q15 select, .q15 textarea, .q15 input[type="text"], .field input, .field select, .field textarea, .field-input {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); padding: 11px 12px;
}
.q15 textarea { min-height: 84px; resize: vertical; }
.q15 select:focus, .q15 textarea:focus, .q15 input:focus, .field-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-input[disabled] { opacity: 0.6; cursor: not-allowed; }
.field-label { display: block; font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.radio-line { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-line label {
  border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 7px 14px;
  font-size: 0.88rem; cursor: pointer; background: var(--paper);
}
.radio-line input { position: absolute; opacity: 0; pointer-events: none; }
.radio-line label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft-2); color: var(--accent-ink); }
.radio-line label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.gen-status { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.gen-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* ============ история ============ */
.history-item { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.history-item .mini-profile { flex: none; }
.history-item .info { flex: 1; min-width: 200px; }
.history-item .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-state .glyph { font-family: var(--font-mono); font-size: 2rem; color: var(--hairline-strong); letter-spacing: 0.2em; }

/* выбор результатов для сравнения */
.cmp-pick {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-2);
  border: 1px solid var(--hairline-strong); border-radius: var(--radius);
  padding: 7px 12px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none;
}
.cmp-pick input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.cmp-pick:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.cmp-pick:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }

/* ============ статьи / правовые ============ */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* временная шкала истории методики */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 8px; }
.timeline::before {
  content: ""; position: absolute; top: 7px; left: 8px; right: 12%;
  border-top: 1.5px dashed var(--hairline-strong);
}
.tl-item { position: relative; padding-top: 24px; }
.tl-item::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--paper);
}
.tl-item:last-child::before { border-color: var(--accent-2); }
.tl-year { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); display: block; margin-bottom: 3px; }
.tl-item:last-child .tl-year { color: var(--accent-2); }
.tl-item b { font-size: 0.95rem; display: block; margin-bottom: 3px; }
.tl-item p { font-size: 0.82rem; color: var(--ink-3); margin: 0; line-height: 1.5; }
@media (max-width: 780px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 26px; }
  .timeline::before { top: 8px; bottom: 8px; left: 6px; right: auto; border-top: none; border-left: 1.5px dashed var(--hairline-strong); }
  .tl-item { padding-top: 0; padding-left: 0; }
  .tl-item::before { left: -26px; top: 2px; }
}

/* библиография — как в монографии */
.bibliography {
  list-style: none; margin: 0; padding: 0;
  counter-reset: bib; max-width: 74ch;
  font-size: 0.92rem; color: var(--ink-2);
}
.bibliography li {
  counter-increment: bib;
  padding: 10px 0 10px 3em; text-indent: -3em;
  border-top: 1px solid var(--hairline);
}
.bibliography li:last-child { border-bottom: 1px solid var(--hairline); }
.bibliography li::before {
  content: "[" counter(bib) "]";
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent);
  margin-right: 1em;
}
.bibliography em { font-style: italic; color: var(--ink); }

/* чернильные виньетки пустых состояний */
.vignette { display: block; width: 168px; height: auto; margin: 0 auto 18px; }
.vignette .vg-frame { fill: none; stroke: var(--hairline-strong); stroke-width: 1.5; stroke-dasharray: 4 6; }
.vignette .vg-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vignette .vg-ghost { fill: none; stroke: var(--hairline-strong); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.vignette .vg-pen { fill: var(--accent-2); }
.vignette .vg-dot { fill: var(--accent); }

/* липкое оглавление статьи */
.about-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 34px; }
.about-toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
.about-toc h4 {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--ink-3); margin: 0 0 10px;
}
.about-toc a {
  font-size: 0.9rem; color: var(--ink-2); text-decoration: none;
  padding: 7px 12px; border-left: 2px solid var(--hairline); border-radius: 0 var(--radius) var(--radius) 0;
}
.about-toc a:hover { color: var(--ink); background: var(--paper-2); }
.about-toc a.active { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; } .about-toc { display: none; } }

/* ============ модальное окно ============ */
dialog.modal {
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-pop);
  padding: clamp(22px, 4vw, 34px); max-width: 480px; width: calc(100vw - 40px);
}
dialog.modal::backdrop { background: rgba(12, 14, 18, 0.5); backdrop-filter: blur(3px); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.modal-actions .btn { white-space: normal; }

/* ============ тосты ============ */
.toast-zone { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(420px, calc(100vw - 32px)); }
.toast {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 11px 18px; font-size: 0.9rem;
  box-shadow: var(--shadow-pop); animation: toast-in 0.25s ease;
  text-align: center; overflow-wrap: anywhere;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ============ футер ============ */
.site-footer { border-top: 1px solid var(--hairline); background: var(--paper-2); margin-top: clamp(48px, 8vw, 90px); }
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
  padding: clamp(36px, 5vw, 56px) 0 30px;
}
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin: 0 0 14px;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid var(--hairline); padding: 18px 0 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--ink-3);
}
.age-badge {
  font-family: var(--font-mono); font-size: 0.72rem; border: 1.5px solid var(--ink-3);
  border-radius: 4px; padding: 2px 7px; color: var(--ink-3); flex: none;
}
.footer-disclaimer { font-size: 0.84rem; color: var(--ink-3); max-width: 40ch; }

/* ============ печать (PDF-экспорт) ============ */
@media print {
  /* печать всегда в светлой палитре — включая тёмную тему */
  :root, [data-theme="dark"] {
    --paper: #fff; --paper-2: #fff; --paper-3: #f0f0f0;
    --ink: #000; --ink-2: #333; --ink-3: #555;
    --hairline: #ccc; --hairline-strong: #999;
    --accent: #2456A6; --accent-ink: #1C4485;
    --ok: #1C7040; --warn: #855B00; --danger: #B3352E;
    --corridor: rgba(36, 86, 166, 0.06); --corridor-line: #999;
  }
  body { background: #fff !important; color: #000; }
  .site-header, .site-footer, .result-actions, .toast-zone, .no-print, .progress-rail { display: none !important; }
  .chart-frame, .ai-report, .card, .hero-chart-frame, .stat-tiles { box-shadow: none !important; border-color: #bbb; }
  .rise, .reveal, tr.row-in { opacity: 1 !important; transform: none !important; animation: none !important; }
  .psy-rec { display: none !important; } /* индикатор «записи» не имеет смысла на бумаге */
  .section { padding: 18px 0; }
  a { color: #000; text-decoration: none; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ============ финальный CTA с водяным профилем ============ */
.cta-final { position: relative; overflow: hidden; }
.cta-final .container { position: relative; z-index: 1; }
.cta-watermark {
  position: absolute; inset: auto 0 -12%; width: 100%; height: auto;
  pointer-events: none; z-index: 0;
}
.cta-watermark polyline {
  fill: none; stroke: var(--accent); stroke-width: 2;
  opacity: 0.07; stroke-linejoin: round; stroke-linecap: round;
}
.cta-watermark circle { fill: var(--accent); opacity: 0.07; }

/* ============ админ-панель (M8, демо) ============ */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login-card { max-width: 460px; width: 100%; }
.admin-login-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.admin-login-form .field label { display: block; margin-bottom: 6px; }

.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; width: 100%; }
.admin-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 18px; border-right: 1px solid var(--hairline);
  background: var(--paper-2);
}
.admin-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.admin-nav a {
  font-size: 0.92rem; color: var(--ink-2); text-decoration: none;
  padding: 9px 12px; border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.admin-nav a:hover { color: var(--ink); background: var(--paper-3); }
.admin-nav a.active { color: var(--accent-ink); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.admin-side-foot .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-main {
  padding: clamp(22px, 3vw, 44px);
  min-width: 0;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto; /* по центру свободной области на широких мониторах */
}
.admin-main:focus { outline: none; }
.admin-h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.admin-h2 { font-size: 1.08rem; margin: 0 0 10px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; align-items: start; }
@media (max-width: 1100px) { .admin-grid-2 { grid-template-columns: 1fr; } }
.admin-more { display: inline-block; margin-top: 10px; font-size: 0.85rem; }

/* таблицы админки — в рамке-карточке */
.table-frame {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  margin-top: 6px;
}
.table-frame .scale-table th:first-child,
.table-frame .scale-table td:first-child { padding-left: 18px; }
.table-frame .scale-table th:last-child,
.table-frame .scale-table td:last-child { padding-right: 18px; }
.table-frame .scale-table tr:last-child td { border-bottom: none; }

.admin-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 16px 0; }
.admin-search {
  flex: 1; min-width: 220px; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); padding: 9px 12px;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--hairline-strong); margin: 18px 0; }
.admin-tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.92rem; color: var(--ink-2);
  padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.admin-tab:hover { color: var(--ink); }
.admin-tab.active { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 600; }

.admin-inline-input {
  width: 100%; min-width: 200px; font-family: var(--font-body); font-size: 0.88rem;
  color: var(--ink); background: transparent; border: 1px solid transparent;
  border-radius: 4px; padding: 5px 8px;
}
.admin-inline-input:hover { border-color: var(--hairline); background: var(--paper); }
.admin-inline-input:focus { border-color: var(--accent); background: var(--paper); outline: none; }
.admin-num {
  width: 92px; font-family: var(--font-mono); font-size: 0.86rem;
  color: var(--ink); background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: 4px; padding: 6px 8px;
}
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 0.9rem; }
.admin-row:first-of-type { border-top: none; }
.key-chip {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.74rem;
  border: 1px solid var(--hairline-strong); border-radius: 4px;
  background: var(--paper); color: var(--accent-ink);
  padding: 3px 7px; margin: 1px 2px 1px 0;
}
.key-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.admin-items td { vertical-align: top; }
.admin-file { font-size: 0.85rem; }
.admin-main textarea {
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); padding: 10px 12px; resize: vertical;
}

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--hairline); }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav a { border-left: none; border-bottom: 2px solid transparent; border-radius: var(--radius) var(--radius) 0 0; }
  .admin-nav a.active { border-left: none; border-bottom-color: var(--accent); }
  .admin-side-foot { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 4px; }
}

/* ============ мелочи ============ */
.hr-hair { border: none; border-top: 1px solid var(--hairline); margin: 26px 0; }
.kbd-row kbd { font-family: var(--font-mono); border: 1px solid var(--hairline); border-radius: 3px; padding: 0 5px; font-size: 0.8rem; }
.tag-demo { vertical-align: middle; margin-left: 10px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* кросс-фейд при переключении темы и между страницами (View Transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: ease-in-out;
}

/* темизированный скроллбар и элементы форм */
html { accent-color: var(--accent); scrollbar-color: var(--hairline-strong) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb {
  background: var(--hairline-strong); border-radius: 6px;
  border: 3px solid var(--paper); background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); background-clip: padding-box; border: 3px solid var(--paper); }
::-webkit-scrollbar-track { background: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

*, ::before, ::after {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x:  ;
--tw-pan-y:  ;
--tw-pinch-zoom:  ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position:  ;
--tw-gradient-via-position:  ;
--tw-gradient-to-position:  ;
--tw-ordinal:  ;
--tw-slashed-zero:  ;
--tw-numeric-figure:  ;
--tw-numeric-spacing:  ;
--tw-numeric-fraction:  ;
--tw-ring-inset:  ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur:  ;
--tw-brightness:  ;
--tw-contrast:  ;
--tw-grayscale:  ;
--tw-hue-rotate:  ;
--tw-invert:  ;
--tw-saturate:  ;
--tw-sepia:  ;
--tw-drop-shadow:  ;
--tw-backdrop-blur:  ;
--tw-backdrop-brightness:  ;
--tw-backdrop-contrast:  ;
--tw-backdrop-grayscale:  ;
--tw-backdrop-hue-rotate:  ;
--tw-backdrop-invert:  ;
--tw-backdrop-opacity:  ;
--tw-backdrop-saturate:  ;
--tw-backdrop-sepia:  ;
--tw-contain-size:  ;
--tw-contain-layout:  ;
--tw-contain-paint:  ;
--tw-contain-style:  ;
}

::backdrop {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x:  ;
--tw-pan-y:  ;
--tw-pinch-zoom:  ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position:  ;
--tw-gradient-via-position:  ;
--tw-gradient-to-position:  ;
--tw-ordinal:  ;
--tw-slashed-zero:  ;
--tw-numeric-figure:  ;
--tw-numeric-spacing:  ;
--tw-numeric-fraction:  ;
--tw-ring-inset:  ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur:  ;
--tw-brightness:  ;
--tw-contrast:  ;
--tw-grayscale:  ;
--tw-hue-rotate:  ;
--tw-invert:  ;
--tw-saturate:  ;
--tw-sepia:  ;
--tw-drop-shadow:  ;
--tw-backdrop-blur:  ;
--tw-backdrop-brightness:  ;
--tw-backdrop-contrast:  ;
--tw-backdrop-grayscale:  ;
--tw-backdrop-hue-rotate:  ;
--tw-backdrop-invert:  ;
--tw-backdrop-opacity:  ;
--tw-backdrop-saturate:  ;
--tw-backdrop-sepia:  ;
--tw-contain-size:  ;
--tw-contain-layout:  ;
--tw-contain-paint:  ;
--tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com *//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: IBM Plex Sans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

input:where([type='text']),input:where(:not([type])),input:where([type='email']),input:where([type='url']),input:where([type='password']),input:where([type='number']),input:where([type='date']),input:where([type='datetime-local']),input:where([type='month']),input:where([type='search']),input:where([type='tel']),input:where([type='time']),input:where([type='week']),select:where([multiple]),textarea,select {
-webkit-appearance: none;
   -moz-appearance: none;
        appearance: none;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
border-radius: 0px;
padding-top: 0.5rem;
padding-right: 0.75rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
font-size: 1rem;
line-height: 1.5rem;
--tw-shadow: 0 0 #0000;
}

input:where([type='text']):focus, input:where(:not([type])):focus, input:where([type='email']):focus, input:where([type='url']):focus, input:where([type='password']):focus, input:where([type='number']):focus, input:where([type='date']):focus, input:where([type='datetime-local']):focus, input:where([type='month']):focus, input:where([type='search']):focus, input:where([type='tel']):focus, input:where([type='time']):focus, input:where([type='week']):focus, select:where([multiple]):focus, textarea:focus, select:focus {
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #2563eb;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
color: #6b7280;
opacity: 1;
}

input::placeholder,textarea::placeholder {
color: #6b7280;
opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}

::-webkit-date-and-time-value {
min-height: 1.5em;
text-align: inherit;
}

::-webkit-datetime-edit {
display: inline-flex;
}

::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
padding-top: 0;
padding-bottom: 0;
}

select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
-webkit-print-color-adjust: exact;
        print-color-adjust: exact;
}

select:where([multiple]),select:where([size]:not([size="1"])) {
background-image: initial;
background-position: initial;
background-repeat: unset;
background-size: initial;
padding-right: 0.75rem;
-webkit-print-color-adjust: unset;
        print-color-adjust: unset;
}

input:where([type='checkbox']),input:where([type='radio']) {
-webkit-appearance: none;
   -moz-appearance: none;
        appearance: none;
padding: 0;
-webkit-print-color-adjust: exact;
        print-color-adjust: exact;
display: inline-block;
vertical-align: middle;
background-origin: border-box;
-webkit-user-select: none;
   -moz-user-select: none;
        user-select: none;
flex-shrink: 0;
height: 1rem;
width: 1rem;
color: #2563eb;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
--tw-shadow: 0 0 #0000;
}

input:where([type='checkbox']) {
border-radius: 0px;
}

input:where([type='radio']) {
border-radius: 100%;
}

input:where([type='checkbox']):focus,input:where([type='radio']):focus {
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
--tw-ring-offset-width: 2px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #2563eb;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

input:where([type='checkbox']):checked,input:where([type='radio']):checked {
border-color: transparent;
background-color: currentColor;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}

input:where([type='checkbox']):checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {
input:where([type='checkbox']):checked {
-webkit-appearance: auto;
   -moz-appearance: auto;
        appearance: auto;
}
}

input:where([type='radio']):checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {
input:where([type='radio']):checked {
-webkit-appearance: auto;
   -moz-appearance: auto;
        appearance: auto;
}
}

input:where([type='checkbox']):checked:hover,input:where([type='checkbox']):checked:focus,input:where([type='radio']):checked:hover,input:where([type='radio']):checked:focus {
border-color: transparent;
background-color: currentColor;
}

input:where([type='checkbox']):indeterminate {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
border-color: transparent;
background-color: currentColor;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}

@media (forced-colors: active)  {
input:where([type='checkbox']):indeterminate {
-webkit-appearance: auto;
   -moz-appearance: auto;
        appearance: auto;
}
}

input:where([type='checkbox']):indeterminate:hover,input:where([type='checkbox']):indeterminate:focus {
border-color: transparent;
background-color: currentColor;
}

input:where([type='file']) {
background: unset;
border-color: inherit;
border-width: 0;
border-radius: 0;
padding: 0;
font-size: unset;
line-height: inherit;
}

input:where([type='file']):focus {
outline: 1px solid ButtonText;
outline: 1px auto -webkit-focus-ring-color;
}
    body {
        font-family: var(--font-body);
        font-size: 16px;
        line-height: 1.6;
        color: var(--ink);
        background-color: var(--paper);
    }
    h1, h2, h3 {
        font-family: var(--font-display);
        font-weight: 600;
        line-height: 1.18;
        letter-spacing: -0.01em;
        margin: 0 0 0.5em;
    }
    h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
    h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
    h3 { font-size: 1.22rem; }
    p { margin: 0 0 1em; }
    a { color: var(--accent-ink); }

.container {
width: 100%;
}

@media (min-width: 640px) {
.container {
max-width: 640px;
}
}

@media (min-width: 768px) {
.container {
max-width: 768px;
}
}

@media (min-width: 1024px) {
.container {
max-width: 1024px;
}
}

@media (min-width: 1280px) {
.container {
max-width: 1280px;
}
}

@media (min-width: 1536px) {
.container {
max-width: 1536px;
}
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.collapse {
visibility: collapse;
}
.fixed {
position: fixed;
}
.absolute {
position: absolute;
}
.relative {
position: relative;
}
.inset-0 {
inset: 0px;
}
.end-0 {
inset-inline-end: 0px;
}
.start-0 {
inset-inline-start: 0px;
}
.z-50 {
z-index: 50;
}
.-mx-3 {
margin-left: -0.75rem;
margin-right: -0.75rem;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.-me-2 {
margin-inline-end: -0.5rem;
}
.mb-0 {
margin-bottom: 0px;
}
.mb-1 {
margin-bottom: 0.25rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.mb-6 {
margin-bottom: 1.5rem;
}
.me-3 {
margin-inline-end: 0.75rem;
}
.ms-1 {
margin-inline-start: 0.25rem;
}
.ms-2 {
margin-inline-start: 0.5rem;
}
.ms-3 {
margin-inline-start: 0.75rem;
}
.ms-4 {
margin-inline-start: 1rem;
}
.mt-1 {
margin-top: 0.25rem;
}
.mt-2 {
margin-top: 0.5rem;
}
.mt-3 {
margin-top: 0.75rem;
}
.mt-4 {
margin-top: 1rem;
}
.mt-6 {
margin-top: 1.5rem;
}
.block {
display: block;
}
.flex {
display: flex;
}
.inline-flex {
display: inline-flex;
}
.table {
display: table;
}
.grid {
display: grid;
}
.hidden {
display: none;
}
.h-16 {
height: 4rem;
}
.h-4 {
height: 1rem;
}
.h-6 {
height: 1.5rem;
}
.min-h-screen {
min-height: 100vh;
}
.w-3\/4 {
width: 75%;
}
.w-4 {
width: 1rem;
}
.w-40 {
width: 10rem;
}
.w-48 {
width: 12rem;
}
.w-6 {
width: 1.5rem;
}
.w-full {
width: 100%;
}
.min-w-full {
min-width: 100%;
}
.max-w-3xl {
max-width: 48rem;
}
.max-w-md {
max-width: 28rem;
}
.flex-1 {
flex: 1 1 0%;
}
.shrink-0 {
flex-shrink: 0;
}
.border-collapse {
border-collapse: collapse;
}
.origin-top {
transform-origin: top;
}
.translate-y-0 {
--tw-translate-y: 0px;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-4 {
--tw-translate-y: 1rem;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-100 {
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-95 {
--tw-scale-x: .95;
--tw-scale-y: .95;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
resize: both;
}
.list-inside {
list-style-position: inside;
}
.list-disc {
list-style-type: disc;
}
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.items-start {
align-items: flex-start;
}
.items-center {
align-items: center;
}
.justify-end {
justify-content: flex-end;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.gap-2 {
gap: 0.5rem;
}
.gap-3 {
gap: 0.75rem;
}
.gap-4 {
gap: 1rem;
}
.gap-6 {
gap: 1.5rem;
}
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(0.75rem * var(--tw-space-x-reverse));
margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-8 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
margin-right: calc(2rem * var(--tw-space-x-reverse));
margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
--tw-space-y-reverse: 0;
margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
--tw-divide-y-reverse: 0;
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
--tw-divide-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}
.overflow-hidden {
overflow: hidden;
}
.overflow-y-auto {
overflow-y: auto;
}
.overflow-y-hidden {
overflow-y: hidden;
}
.whitespace-nowrap {
white-space: nowrap;
}
.rounded {
border-radius: 0.25rem;
}
.rounded-lg {
border-radius: 0.5rem;
}
.rounded-md {
border-radius: 0.375rem;
}
.border {
border-width: 1px;
}
.border-b {
border-bottom-width: 1px;
}
.border-b-2 {
border-bottom-width: 2px;
}
.border-l-4 {
border-left-width: 4px;
}
.border-t {
border-top-width: 1px;
}
.border-\[var\(--accent\)\] {
border-color: var(--accent);
}
.border-\[var\(--hairline\)\] {
border-color: var(--hairline);
}
.border-amber-200 {
--tw-border-opacity: 1;
border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-300 {
--tw-border-opacity: 1;
border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-orange-200 {
--tw-border-opacity: 1;
border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
}
.border-red-200 {
--tw-border-opacity: 1;
border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.border-red-300 {
--tw-border-opacity: 1;
border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}
.border-transparent {
border-color: transparent;
}
.border-yellow-200 {
--tw-border-opacity: 1;
border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
}
.bg-\[var\(--accent-soft\)\] {
background-color: var(--accent-soft);
}
.bg-amber-50 {
--tw-bg-opacity: 1;
background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}
.bg-gray-50 {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-gray-500 {
--tw-bg-opacity: 1;
background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}
.bg-gray-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-indigo-600 {
--tw-bg-opacity: 1;
background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.bg-orange-50 {
--tw-bg-opacity: 1;
background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
}
.bg-red-50 {
--tw-bg-opacity: 1;
background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
background-color: transparent;
}
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-yellow-50 {
--tw-bg-opacity: 1;
background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}
.fill-current {
fill: currentColor;
}
.p-2 {
padding: 0.5rem;
}
.p-4 {
padding: 1rem;
}
.p-6 {
padding: 1.5rem;
}
.p-8 {
padding: 2rem;
}
.px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.px-5 {
padding-left: 1.25rem;
padding-right: 1.25rem;
}
.px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.py-12 {
padding-top: 3rem;
padding-bottom: 3rem;
}
.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.py-3 {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}
.py-6 {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.py-8 {
padding-top: 2rem;
padding-bottom: 2rem;
}
.pb-1 {
padding-bottom: 0.25rem;
}
.pb-2 {
padding-bottom: 0.5rem;
}
.pb-3 {
padding-bottom: 0.75rem;
}
.pe-4 {
padding-inline-end: 1rem;
}
.ps-3 {
padding-inline-start: 0.75rem;
}
.pt-1 {
padding-top: 0.25rem;
}
.pt-2 {
padding-top: 0.5rem;
}
.pt-4 {
padding-top: 1rem;
}
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.text-start {
text-align: start;
}
.text-base {
font-size: 1rem;
line-height: 1.5rem;
}
.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-xl {
font-size: 1.25rem;
line-height: 1.75rem;
}
.text-xs {
font-size: 0.75rem;
line-height: 1rem;
}
.font-medium {
font-weight: 500;
}
.font-semibold {
font-weight: 600;
}
.uppercase {
text-transform: uppercase;
}
.lowercase {
text-transform: lowercase;
}
.leading-4 {
line-height: 1rem;
}
.leading-5 {
line-height: 1.25rem;
}
.leading-tight {
line-height: 1.25;
}
.tracking-widest {
letter-spacing: 0.1em;
}
.text-\[var\(--accent-ink\)\] {
color: var(--accent-ink);
}
.text-\[var\(--ink\)\] {
color: var(--ink);
}
.text-\[var\(--ink-2\)\] {
color: var(--ink-2);
}
.text-\[var\(--ink-3\)\] {
color: var(--ink-3);
}
.text-amber-900 {
--tw-text-opacity: 1;
color: rgb(120 53 15 / var(--tw-text-opacity, 1));
}
.text-black {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
--tw-text-opacity: 1;
color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
--tw-text-opacity: 1;
color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
--tw-text-opacity: 1;
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-600 {
--tw-text-opacity: 1;
color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-indigo-600 {
--tw-text-opacity: 1;
color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.text-orange-900 {
--tw-text-opacity: 1;
color: rgb(124 45 18 / var(--tw-text-opacity, 1));
}
.text-red-600 {
--tw-text-opacity: 1;
color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-900 {
--tw-text-opacity: 1;
color: rgb(127 29 29 / var(--tw-text-opacity, 1));
}
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-900 {
--tw-text-opacity: 1;
color: rgb(113 63 18 / var(--tw-text-opacity, 1));
}
.underline {
text-decoration-line: underline;
}
.overline {
text-decoration-line: overline;
}
.opacity-0 {
opacity: 0;
}
.opacity-100 {
opacity: 1;
}
.opacity-75 {
opacity: 0.75;
}
.shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-1 {
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-black {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1));
}
.ring-transparent {
--tw-ring-color: transparent;
}
.ring-opacity-5 {
--tw-ring-opacity: 0.05;
}
.filter {
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.transition-all {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.duration-150 {
transition-duration: 150ms;
}
.duration-200 {
transition-duration: 200ms;
}
.duration-300 {
transition-duration: 300ms;
}
.duration-75 {
transition-duration: 75ms;
}
.ease-in {
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ease-in-out {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.hover\:border-\[var\(--hairline-strong\)\]:hover {
border-color: var(--hairline-strong);
}
.hover\:bg-\[var\(--paper-2\)\]:hover {
background-color: var(--paper-2);
}
.hover\:bg-gray-700:hover {
--tw-bg-opacity: 1;
background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-indigo-700:hover {
--tw-bg-opacity: 1;
background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
}
.hover\:text-\[var\(--ink\)\]:hover {
color: var(--ink);
}
.hover\:text-black\/70:hover {
color: rgb(0 0 0 / 0.7);
}
.hover\:text-gray-900:hover {
--tw-text-opacity: 1;
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.hover\:text-indigo-800:hover {
--tw-text-opacity: 1;
color: rgb(55 48 163 / var(--tw-text-opacity, 1));
}
.hover\:text-indigo-900:hover {
--tw-text-opacity: 1;
color: rgb(49 46 129 / var(--tw-text-opacity, 1));
}
.hover\:text-red-900:hover {
--tw-text-opacity: 1;
color: rgb(127 29 29 / var(--tw-text-opacity, 1));
}
.focus\:border-indigo-500:focus {
--tw-border-opacity: 1;
border-color: rgb(99 102 241 / var(--tw-border-opacity, 1));
}
.focus\:bg-\[var\(--paper-2\)\]:focus {
background-color: var(--paper-2);
}
.focus\:outline-none:focus {
outline: 2px solid transparent;
outline-offset: 2px;
}
.focus\:ring-2:focus {
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-indigo-500:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1));
}
.focus\:ring-offset-2:focus {
--tw-ring-offset-width: 2px;
}
.focus-visible\:ring-\[\#FF2D20\]:focus-visible {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(255 45 32 / var(--tw-ring-opacity, 1));
}
@media (min-width: 640px) {
.sm\:-my-px {
margin-top: -1px;
margin-bottom: -1px;
}
.sm\:mx-auto {
margin-left: auto;
margin-right: auto;
}
.sm\:ms-10 {
margin-inline-start: 2.5rem;
}
.sm\:ms-6 {
margin-inline-start: 1.5rem;
}
.sm\:flex {
display: flex;
}
.sm\:hidden {
display: none;
}
.sm\:w-full {
width: 100%;
}
.sm\:max-w-2xl {
max-width: 42rem;
}
.sm\:max-w-lg {
max-width: 32rem;
}
.sm\:max-w-md {
max-width: 28rem;
}
.sm\:max-w-sm {
max-width: 24rem;
}
.sm\:max-w-xl {
max-width: 36rem;
}
.sm\:translate-y-0 {
--tw-translate-y: 0px;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.sm\:scale-100 {
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.sm\:scale-95 {
--tw-scale-x: .95;
--tw-scale-y: .95;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.sm\:items-center {
align-items: center;
}
.sm\:rounded-lg {
border-radius: 0.5rem;
}
.sm\:px-0 {
padding-left: 0px;
padding-right: 0px;
}
.sm\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
@media (min-width: 768px) {
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (min-width: 1024px) {
.lg\:px-8 {
padding-left: 2rem;
padding-right: 2rem;
}
}
.ltr\:origin-top-left:where([dir="ltr"], [dir="ltr"] *) {
transform-origin: top left;
}
.ltr\:origin-top-right:where([dir="ltr"], [dir="ltr"] *) {
transform-origin: top right;
}
.rtl\:origin-top-left:where([dir="rtl"], [dir="rtl"] *) {
transform-origin: top left;
}
.rtl\:origin-top-right:where([dir="rtl"], [dir="rtl"] *) {
transform-origin: top right;
}
@media (prefers-color-scheme: dark) {
.dark\:text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.dark\:hover\:text-white\/80:hover {
color: rgb(255 255 255 / 0.8);
}
.dark\:focus-visible\:ring-white:focus-visible {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1));
}
}
