*, ::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 */
  tab-size: 4; /* 3 */
  font-family: var(--font-sans); /* 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]) {
  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: var(--font-mono); /* 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::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;
}
  :root {
    --background: var(--surface-app);
    --foreground: var(--text);
    --card: var(--surface-panel);
    --card-foreground: var(--text);
    --popover: var(--surface-panel);
    --popover-foreground: var(--text);
    --primary: var(--accent-solid);
    --primary-foreground: var(--on-accent);
    --secondary: var(--surface-raised);
    --secondary-foreground: var(--text);
    --muted: var(--surface-raised);
    --muted-foreground: var(--text-muted);
    --accent-foreground: var(--on-accent);
    --destructive: var(--danger);
    --destructive-foreground: var(--on-mark);
    --waiting: var(--warn);
    --border: var(--line);
    --input: var(--line-strong);
    --ring: var(--accent);
    /* Радиус кнопки, поля и панели — 4 точки (гайд §6.3). */
    --radius: var(--radius-control);
    /* МОСТИК: экран входа рисует знак прежним именем цвета. Экран входа
       переводится своим нарядом по кадрам; до тех пор имя остаётся понятным
       ровно как перевод в роль знака марки — второго коралла за ним нет. */
    --brand-coral: var(--brand-mark);
  }
  * {
  border-color: var(--border);
}
  body {
  background-color: var(--surface-app);
  color: var(--text);
    font-family: var(--font-sans);
}
  h1, h2, h3, h4 {
    font-family: var(--font-sans);
  }
  summary { list-style: none; }
  summary::-webkit-details-marker { display: none; }
.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;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.left-0 {
  left: 0px;
}
.left-\[-20px\] {
  left: -20px;
}
.top-0 {
  top: 0px;
}
.top-\[14px\] {
  top: 14px;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-2 {
  height: 0.5rem;
}
.h-\[20px\] {
  height: 20px;
}
.h-\[28px\] {
  height: 28px;
}
.h-\[36px\] {
  height: 36px;
}
.h-\[40px\] {
  height: 40px;
}
.h-\[8px\] {
  height: 8px;
}
.h-full {
  height: 100%;
}
.min-h-0 {
  min-height: 0px;
}
.min-h-\[28px\] {
  min-height: 28px;
}
.min-h-\[36px\] {
  min-height: 36px;
}
.min-h-full {
  min-height: 100%;
}
.w-2 {
  width: 0.5rem;
}
.w-\[2px\] {
  width: 2px;
}
.w-\[320px\] {
  width: 320px;
}
.w-\[360px\] {
  width: 360px;
}
.w-\[8px\] {
  width: 8px;
}
.w-full {
  width: 100%;
}
.w-rail {
  width: var(--rail-width);
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[24px\] {
  min-width: 24px;
}
.min-w-\[28px\] {
  min-width: 28px;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.list-disc {
  list-style-type: disc;
}
.grid-cols-\[180px_1fr\] {
  grid-template-columns: 180px 1fr;
}
.grid-cols-\[30px_1fr\] {
  grid-template-columns: 30px 1fr;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-\[6px\] {
  gap: 6px;
}
.gap-x-0 {
  column-gap: 0px;
}
.gap-x-4 {
  column-gap: 1rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * 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-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));
}
.self-center {
  align-self: center;
}
.overflow-auto {
  overflow: auto;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-words {
  overflow-wrap: break-word;
}
.rounded-chip {
  border-radius: var(--radius-chip);
}
.rounded-control {
  border-radius: var(--radius-control);
}
.rounded-full {
  border-radius: 9999px;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-l {
  border-left-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-accent {
  border-color: var(--accent);
}
.border-line {
  border-color: var(--line);
}
.border-line-strong {
  border-color: var(--line-strong);
}
.border-text-muted {
  border-color: var(--text-muted);
}
.border-warn {
  border-color: var(--warn);
}
.bg-accent {
  background-color: var(--accent);
}
.bg-accent-solid {
  background-color: var(--accent-solid);
}
.bg-accent-wash {
  background-color: var(--accent-wash);
}
.bg-current {
  background-color: currentColor;
}
.bg-surface-app {
  background-color: var(--surface-app);
}
.bg-surface-desk {
  background-color: var(--surface-desk);
}
.bg-surface-panel {
  background-color: var(--surface-panel);
}
.bg-surface-rail {
  background-color: var(--surface-rail);
}
.bg-surface-raised {
  background-color: var(--surface-raised);
}
.bg-surface-selected {
  background-color: var(--surface-selected);
}
.bg-warn {
  background-color: var(--warn);
}
.p-4 {
  padding: 1rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.px-\[6px\] {
  padding-left: 6px;
  padding-right: 6px;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-px {
  padding-top: 1px;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.font-sans {
  font-family: var(--font-sans);
}
.text-\[12px\] {
  font-size: 12px;
}
.font-semibold {
  font-weight: 600;
}
.italic {
  font-style: italic;
}
.text-accent {
  color: var(--accent);
}
.text-danger {
  color: var(--danger);
}
.text-ok {
  color: var(--ok);
}
.text-on-accent {
  color: var(--on-accent);
}
.text-text {
  color: var(--text);
}
.text-text-faint {
  color: var(--text-faint);
}
.text-text-muted {
  color: var(--text-muted);
}
.text-warn {
  color: var(--warn);
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.ring {
  --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(3px + 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);
}
.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);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── ТОКЕНЫ ОБЛИКА «ОПЕРАЦИОННЫЙ ЗАЛ» ───────────────────────────────────────
 *
 * ЧТО РЕШАЕМ, ПРОСТЫМИ СЛОВАМИ. Основатель 20.09.2026 снял прежний облик
 * («средняя программа с дизайном а-ля 1С») и утвердил новый — рабочее место во
 * всё окно, тёмный тон, плотные размеры, одно семейство букв. Прежние цвета
 * были одни на светлую комнату, новые — три поверхности на одних именах: «Зал»
 * (тёмный инструмент, по умолчанию), «Свет» (яркая комната и проектор) и «Лист»
 * (бумага клиенту внутри тёмного инструмента).
 *
 * ПОЧЕМУ ИМЕННО ТАК. Имя цвета называет РОЛЬ, а не оттенок: `accent` — действие
 * и текущее место, `ok`/`warn`/`danger` — состояние, `brand-mark` — только знак
 * марки. Поэтому сменить поверхность можно одним признаком `data-theme` на
 * контейнере, и ни одно правило разметки при этом не переписывается.
 *
 * ОТКУДА ЗНАЧЕНИЯ. Дословно из `docs/oblik/tokens.css` (мост
 * `docs/oblik/OPERZAL_MOST_v1.md`, §4; гайд `GAYD_OBLIKA_OPERZAL_v1.md`, §6).
 * Своих значений здесь не заведено ни одного — иначе на экране появился бы
 * оттенок, контраст которого никто не считал.
 *
 * ВТОРОЙ ТЕМЫ «НА ВРЕМЯ» НЕТ. Прежние десять ролей оболочки Express
 * (`--background`, `--foreground`, `--muted-foreground` и прочие) не остались
 * рядом своим набором цветов: они переведены на те же токены ниже. Разметка,
 * которая зовёт их прежними именами, получает новый облик сама, без правки.
 */

:root, [data-theme="zal"] {
  --surface-app: #0D1117;
  --surface-panel: #141A22;
  --surface-raised: #1B222C;
  --surface-selected: #243040;
  --surface-rail: #080B10;
  --surface-desk: #07090D;
  --line: rgba(255,255,255,.07);
  --line-strong: rgba(255,255,255,.15);
  --text: #E8ECF2;
  --text-muted: #9AA6B6;
  --text-faint: #7A8696;
  --accent: #4C9DFF;
  --accent-solid: #2A72D8;
  --accent-wash: rgba(76,157,255,.14);
  --on-accent: #FFFFFF;
  --ok: #41B883;
  --warn: #E6A83E;
  --danger: #F26D6D;
  --warn-wash: rgba(230,168,62,.13);
  --danger-wash: rgba(242,109,109,.13);
  --on-mark: #0B0E13;
  --cat-1: #4FA8E0;
  --cat-2: #D3A544;
  --cat-3: #2FB8A9;
  --cat-4: #A080EC;
  --cat-5: #7F90F2;
  --brand-mark: #FF4B5C;
  --shadow-float: 0 0 0 1px rgba(255,255,255,.09), 0 12px 32px rgba(0,0,0,.55);
  --shadow-sheet: 0 0 0 1px rgba(0,0,0,.4), 0 24px 64px rgba(0,0,0,.55);
}
[data-theme="svet"] {
  --surface-app: #ECEFF3;
  --surface-panel: #FFFFFF;
  --surface-raised: #F2F4F7;
  --surface-selected: #DCE7F7;
  --surface-rail: #080B10;
  --surface-desk: #07090D;
  --line: rgba(15,23,35,.10);
  --line-strong: rgba(15,23,35,.24);
  --text: #121820;
  --text-muted: #4F5B6B;
  --text-faint: #687484;
  --accent: #1D6BD0;
  --accent-solid: #1D6BD0;
  --accent-wash: rgba(29,107,208,.10);
  --on-accent: #FFFFFF;
  --ok: #1C7A4B;
  --warn: #946000;
  --danger: #C23B3B;
  --warn-wash: rgba(148,96,0,.10);
  --danger-wash: rgba(194,59,59,.09);
  --on-mark: #FFFFFF;
  --cat-1: #1F78B8;
  --cat-2: #94700F;
  --cat-3: #0E8478;
  --cat-4: #6F4FC9;
  --cat-5: #4A5BD0;
  --brand-mark: #FF4B5C;
  --shadow-float: 0 0 0 1px rgba(15,23,35,.12), 0 12px 32px rgba(15,23,35,.18);
  --shadow-sheet: 0 0 0 1px rgba(0,0,0,.4), 0 24px 64px rgba(0,0,0,.55);
}
[data-theme="list"] {
  --surface-app: #FCFBF8;
  --surface-panel: #FCFBF8;
  --surface-raised: #F3F1EB;
  --surface-selected: #E9E5DA;
  --surface-rail: #080B10;
  --surface-desk: #07090D;
  --line: rgba(23,26,31,.12);
  --line-strong: rgba(23,26,31,.28);
  --text: #171A1F;
  --text-muted: #545B66;
  --text-faint: #6B727D;
  --accent: #0B5CC4;
  --accent-solid: #0B5CC4;
  --accent-wash: rgba(11,92,196,.08);
  --on-accent: #FFFFFF;
  --ok: #17714A;
  --warn: #8A5A00;
  --danger: #B3261E;
  --warn-wash: rgba(138,90,0,.08);
  --danger-wash: rgba(179,38,30,.07);
  --on-mark: #FFFFFF;
  --cat-1: #1F78B8;
  --cat-2: #94700F;
  --cat-3: #0E8478;
  --cat-4: #6F4FC9;
  --cat-5: #4A5BD0;
  --brand-mark: #FF4B5C;
  --shadow-float: 0 0 0 1px rgba(23,26,31,.12), 0 12px 32px rgba(15,23,35,.18);
  --shadow-sheet: 0 0 0 1px rgba(0,0,0,.4), 0 24px 64px rgba(0,0,0,.55);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-sheet: 2px;
  --radius-chip: 3px;
  --radius-control: 4px;
  --radius-pill: 12px;
  --rail-width: 48px;
  --topbar-height: 40px;
  --statusbar-height: 24px;
  --route-width: 272px;
  --queue-width: 340px;
  --card-width: 360px;
  --decision-width: 400px;
  --sheet-width: 880px;
  --control-height: 28px;
  --decision-height: 36px;
  --row-height: 40px;
  --row-height-dense: 28px;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-serif: "IBM Plex Serif", Georgia, serif;
}

/* ─── ШЕСТНАДЦАТЬ СТИЛЕЙ ТЕКСТА ──────────────────────────────────────────────
 * Кегль, интерлиньяж и семейство называются ОДИН раз — здесь. Разметка зовёт их
 * именем стиля (`t-body`, `t-count`), а не числами: пока число живёт в разметке,
 * согласовать полтораста мест нельзя, можно только каждый раз догонять. */

/* Инструмент — sans */
.t-title { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 600; }
.t-heading { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 600; }
.t-label { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; }
.t-body { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.t-small { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; }
/* Счёт и рубрики — mono.
 * Разрядка рубрики — по кадрам 01, 04 и 10 (наряд №1022, п.8): шаг знака в шести
 * рубриках кадров 7,85–7,91 точки, то есть 0,113–0,119 em сверх шага IBM Plex
 * Mono 11; при 0,08 em было 7,48–7,55. */
.t-rubric { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: 0.115em; text-transform: uppercase; }
.t-count { font-family: var(--font-mono); font-size: 13px; line-height: 18px; font-weight: 400; }
.t-count-lg { font-family: var(--font-mono); font-size: 24px; line-height: 28px; font-weight: 500; }
/* Штамп и момент — «верно на 05.05.2026», «05.05.2026 14:03 UTC» (кадры 04 и 10).
 * Моноширинный 11; шаг знака на кадрах 7,0 точки, у IBM Plex Mono 11 — 6,6,
 * отсюда разрядка .04em (наряд №1022, п.4; решение по вопросу 3 доклада №1011). */
.t-stamp { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: 0.04em; }
/* Лист — serif */
.t-verdict { font-family: var(--font-serif); font-size: 32px; line-height: 40px; font-weight: 600; }
.t-doc-lead { font-family: var(--font-serif); font-size: 16px; line-height: 26px; font-weight: 400; }
.t-doc-body { font-family: var(--font-serif); font-size: 15px; line-height: 24px; font-weight: 400; }
.t-proof { font-family: var(--font-serif); font-size: 14px; line-height: 22px; font-weight: 400; font-style: italic; }
/* Показ — sans */
.t-show-title { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 600; }
.t-show-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.t-show-small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }

/* ─── ПРЕЖНИЕ ИМЕНА РОЛЕЙ ОБОЛОЧКИ — НА ТЕХ ЖЕ ТОКЕНАХ ───────────────────────
 * Разметка оболочки Express зовёт цвета именами заготовки (`bg-background`,
 * `text-muted-foreground`). Имена оставлены, ЗНАЧЕНИЯ переведены на токены
 * облика: второй палитры «рядом на время» не заводится, и экран, до которого
 * наряд по кадрам ещё не дошёл, всё равно стоит в новом тоне, а не в снятом. */

/* НАРЯД P1 — минимальный печатный слой для серверного PDF-экспорта (Puppeteer page.pdf).
   Экран не затрагивает. Break-before по крупным блокам (БЛОК 01/02/03, Зоны I–III)
   намеренно НЕ ставится — секции текут естественно, без принудительных разрывов. */
@media print {
  .no-print { display: none; }
  /* Карточки вывода (Зона I) уже несут break-inside:avoid инлайн-стилем (page.tsx);
     карта разворота — своей карточки-класса нет, ловим по aria-label её SVG. */
  div:has(> svg[aria-label="Карта разворота"]) { break-inside: avoid; }
}
.before\:absolute::before {
  content: var(--tw-content);
  position: absolute;
}
.before\:bottom-4::before {
  content: var(--tw-content);
  bottom: 1rem;
}
.before\:left-\[3px\]::before {
  content: var(--tw-content);
  left: 3px;
}
.before\:top-4::before {
  content: var(--tw-content);
  top: 1rem;
}
.before\:w-px::before {
  content: var(--tw-content);
  width: 1px;
}
.before\:bg-line-strong::before {
  content: var(--tw-content);
  background-color: var(--line-strong);
}
.last\:border-b-0:last-child {
  border-bottom-width: 0px;
}
.empty\:hidden:empty {
  display: none;
}
.hover\:bg-surface-raised:hover {
  background-color: var(--surface-raised);
}
.hover\:text-text:hover {
  color: var(--text);
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.focus-visible\:outline:focus-visible {
  outline-style: solid;
}
.focus-visible\:outline-2:focus-visible {
  outline-width: 2px;
}
.focus-visible\:outline-offset-2:focus-visible {
  outline-offset: 2px;
}
.focus-visible\:outline-accent:focus-visible {
  outline-color: var(--accent);
}
@media (min-width: 1800px) {

  .min-\[1800px\]\:w-\[400px\] {
    width: 400px;
  }

  .min-\[1800px\]\:w-\[440px\] {
    width: 440px;
  }
}
