/* ===== Кабинет клиента STAGE (демо) — палитра и шрифт варианта D =====
   Тёплый графит, янтарь #E8A04B только для главных кнопок и активных состояний. Без синего. */

:root {
  --c-bg: #0E0F11;
  --c-ink: #F3F2EF;
  --c-graphite: #2A2C30;
  --c-card: #17181B;
  --c-accent: #E8A04B;          /* 9.4:1 на --c-bg, 6.4:1 на графите */
  --c-muted: #A9AAAD;           /* 8:1 на --c-bg, 5.9:1 на графите */
  --c-line: rgb(243 242 239 / 0.14);
  --c-line2: rgb(243 242 239 / 0.24);
}
html, body { background: var(--c-bg); color: var(--c-ink); }
body.cab-page { min-height: 100vh; font-weight: 400; }
::selection { background: var(--c-accent); color: var(--c-bg); }
main:focus { outline: none; }
.cab-page [hidden] { display: none !important; }

/* --- Шапка --- */
.cab-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  height: 68px; padding: 0 var(--gutter);
  background: rgb(14 15 17 / 0.9); box-shadow: inset 0 -1px 0 var(--c-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.cab-header .logo img { height: 24px; }
.cab-header__title { margin: 0; font-size: 15px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.cab-header__back { margin-left: auto; font-size: 15px; color: var(--c-ink); text-decoration: none; box-shadow: inset 0 -1px 0 var(--c-line2); padding: 4px 0; }
.cab-header__back:hover { color: var(--c-accent); }
@media (max-width: 520px) { .cab-header__title { display: none; } }

.cab-demo {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; vertical-align: middle;
  font: 600 10.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink); box-shadow: inset 0 0 0 1px rgb(243 242 239 / 0.4);
}
.cab-h1 .cab-demo { margin-left: 10px; translate: 0 -4px; }
.cab-kicker { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.cab-note { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--c-muted); }
.cab-h1 { margin: 8px 0 0; font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.cab-h1:focus { outline: none; }
.cab-h1:focus-visible { outline: 2px solid currentColor; }
.cab-h2 { margin: 48px 0 16px; font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.cab-h3 { margin: 0 0 14px; font-weight: 500; font-size: 18px; letter-spacing: -0.005em; }

/* --- Кнопки --- */
.cab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 3px; cursor: pointer;
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease-out), box-shadow .3s, color .3s;
}
.cab-btn--accent { background: var(--c-accent); color: #0E0F11; }
.cab-btn--accent:hover { background: #F0B56C; }
.cab-btn--line { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1px rgb(243 242 239 / 0.5); }
.cab-btn--line:hover { background: rgb(243 242 239 / 0.08); }
.cab-btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.cab-link, .cab-textbtn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 500 15px/1.2 var(--font); color: var(--c-ink); box-shadow: inset 0 -1px 0 currentColor;
}
.cab-link:hover, .cab-textbtn:hover { color: var(--c-accent); }
.cab-textbtn { font-size: 14px; }
.cab-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 3px; background: none; color: var(--c-ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--c-line2); }
.cab-icon:hover { background: rgb(243 242 239 / 0.08); }
.cab-icon svg, .cab-nav svg, .cab-alert__icon svg, .cab-extra__ph svg, .cab-dlg__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- Вход --- */
.cab-login { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px var(--gutter);
  background: radial-gradient(60% 50% at 70% 30%, rgb(232 160 75 / 0.10), transparent 70%); }
.cab-login__card { max-width: 560px; }
.cab-login__title { margin: 14px 0 0; font-weight: 300; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
.cab-login__lead { margin: 18px 0 30px; font-size: 18px; line-height: 1.5; color: var(--c-muted); }
.cab-login__crm { margin: -8px 0 26px; padding: 14px 16px; border-radius: 3px; background: var(--c-graphite); font-size: 15px; line-height: 1.5; box-shadow: inset 3px 0 0 var(--c-accent); }

/* --- Кабинет: каркас --- */
.cab-app { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.cab-nav {
  display: flex; gap: 4px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none;
}
.cab-nav button {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px; padding: 0 16px; border: 0; background: none; cursor: pointer;
  font: 500 15px/1 var(--font); color: var(--c-muted); white-space: nowrap;
  transition: color .25s;
}
.cab-nav button:hover { color: var(--c-ink); }
.cab-nav button[aria-current="page"] { color: var(--c-ink); }
.cab-nav button[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--c-accent); }
.cab-nav button:focus-visible { outline-offset: -4px; box-shadow: none; }
.cab-nav__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-accent); color: #0E0F11; font-size: 11.5px; font-weight: 700; }

.cab-panel { padding-top: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .cab-panel:not([hidden]) { animation: cab-in .4s var(--ease-out) both; }
}
@keyframes cab-in { from { opacity: 0; } to { opacity: 1; } }
.cab-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }

/* Мобильный: нижняя панель */
@media (max-width: 759px) {
  .cab-app { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .cab-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; padding: 0 4px env(safe-area-inset-bottom);
    justify-content: space-around; gap: 0; overflow: visible;
    background: rgb(23 24 27 / 0.96); border: 0; box-shadow: inset 0 1px 0 var(--c-line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .cab-nav button { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 6px 2px; font-size: 11px; line-height: 1.15; white-space: normal; text-align: center; }
  .cab-nav button svg { width: 22px; height: 22px; }
  .cab-nav button[aria-current="page"] { color: var(--c-accent); }
  .cab-nav button[aria-current="page"]::after { left: 30%; right: 30%; top: 0; bottom: auto; }
  .cab-nav__count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 10.5px; }
  .cab-panel { padding-top: 28px; }
}

/* --- Главная: гараж --- */
.cab-crm { margin-bottom: 24px; padding: 16px 18px; border-radius: 3px; background: var(--c-graphite); box-shadow: inset 3px 0 0 var(--c-accent); }
.cab-crm p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--c-ink); }
.cab-crm .cab-crm__title { margin-bottom: 6px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.cab-car { display: grid; overflow: hidden; border-radius: 4px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-car__photo { aspect-ratio: 3 / 2; background: #1a1b1e; }
.cab-car__photo picture, .cab-car__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cab-car__body { padding: 26px 24px 28px; }
.cab-car__title { margin: 8px 0 0; font-weight: 300; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.cab-car__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.cab-car__facts div { padding-top: 12px; border-top: 1px solid var(--c-line); }
.cab-car__facts dt { font-size: 13px; color: var(--c-muted); }
.cab-car__facts dd { margin: 6px 0 0; font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cab-car__next { margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; line-height: 1.45; }
.cab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 760px) {
  .cab-car { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .cab-car__photo { aspect-ratio: auto; min-height: 380px; }
  .cab-car__body { padding: 36px 36px 36px 40px; align-self: center; }
}
.cab-tiles { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 760px) { .cab-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cab-tile {
  display: grid; gap: 6px; padding: 20px 22px; border: 0; border-radius: 4px; text-align: left; cursor: pointer;
  background: var(--c-card); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); transition: box-shadow .25s, background-color .25s;
}
.cab-tile:hover { box-shadow: inset 0 0 0 1px var(--c-line2); background: #1c1d21; }
.cab-tile__label { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.cab-tile b { font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.cab-tile span:last-child { font-size: 14px; color: var(--c-muted); }
.cab-extra { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cab-extra__item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 4px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-extra__item h3 { margin: 0; font-weight: 500; font-size: 17px; }
.cab-extra__item p { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); line-height: 1.45; }
.cab-extra__ph { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 3px; background: var(--c-graphite); color: var(--c-muted); }
.cab-extra__ph svg { width: 26px; height: 26px; }

/* --- Статусы --- */
.cab-status { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 3px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cab-status--soon, .cab-status--overdue { background: var(--c-accent); color: #0E0F11; }
.cab-status--later { color: var(--c-ink); box-shadow: inset 0 0 0 1px rgb(243 242 239 / 0.45); }
.cab-status--done { color: var(--c-muted); box-shadow: inset 0 0 0 1px var(--c-line2); }
.cab-status--done::before { content: "✓"; margin-right: 6px; }

/* --- Плановое ТО --- */
.cab-cols { display: grid; gap: 24px; }
@media (min-width: 1000px) {
  .cab-cols { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .cab-cols--mileage { grid-template-columns: minmax(0, 1fr) 340px; }
  .cab-cols--profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cab-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cab-filter { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--c-ink); cursor: pointer; font: 500 14px/1 var(--font); box-shadow: inset 0 0 0 1px var(--c-line2); }
.cab-filter span { margin-left: 4px; color: var(--c-muted); }
.cab-filter[aria-pressed="true"] { background: var(--c-ink); color: var(--c-bg); box-shadow: none; }
.cab-filter[aria-pressed="true"] span { color: #53555A; }
.cab-weeknote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; font-size: 15px; }
.cab-worklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cab-work { padding: 20px 22px; border-radius: 4px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-work--soon, .cab-work--overdue { box-shadow: inset 0 0 0 1px rgb(232 160 75 / 0.5); }
.cab-work__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab-work__km { font-size: 14px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.cab-work__title { margin: 14px 0 0; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.cab-work__date { margin: 6px 0 0; font-size: 15px; }
.cab-work__rec { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }
.cab-work .cab-link { margin-top: 14px; }
.cab-work--done .cab-work__title { color: var(--c-muted); }
.cab-empty { padding: 20px; color: var(--c-muted); }

.cab-cal { padding: 20px; border-radius: 4px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-cal__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cab-cal__title { flex: 1; margin: 0; font-weight: 500; font-size: 18px; }
.cab-cal__wd, .cab-week { display: grid; grid-template-columns: repeat(7, 1fr); }
.cab-cal__wd { margin: 16px 0 6px; font-size: 12px; color: var(--c-muted); text-align: center; }
.cab-cal__weeks { display: grid; gap: 4px; }
.cab-week {
  position: relative; min-height: 40px; padding: 0; border: 0; border-radius: 3px; background: none; color: var(--c-ink); cursor: pointer;
  align-items: center; text-align: center; font: 400 14px/1 var(--font); font-variant-numeric: tabular-nums;
}
.cab-week:hover { background: rgb(243 242 239 / 0.06); }
.cab-week.has-work { background: rgb(232 160 75 / 0.14); box-shadow: inset 0 0 0 1px rgb(232 160 75 / 0.45); }
.cab-week[aria-pressed="true"] { background: rgb(232 160 75 / 0.26); box-shadow: inset 0 0 0 2px var(--c-accent); }
.cab-week span.is-other { color: #84868B; } /* 4.8:1 на карточке */
.cab-week span.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cab-week__count { position: absolute; right: 4px; top: -7px; padding: 2px 6px; border-radius: 3px; background: var(--c-accent); color: #0E0F11; font: 700 10px/1.2 var(--font); font-style: normal; }
.cab-cal .cab-textbtn { margin-top: 2px; }

/* --- Прогноз пробега --- */
.cab-forecast { display: grid; gap: 10px; justify-items: start; margin-bottom: 28px; padding: 28px; border-radius: 4px;
  background: linear-gradient(120deg, #24262A 0%, #1A1B1E 60%); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-forecast__big { margin: 0; font-weight: 300; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.cab-forecast__sub { margin: 0 0 10px; font-size: 16px; color: var(--c-muted); line-height: 1.5; }
.cab-card { padding: 22px; border-radius: 4px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-side { display: grid; gap: 16px; }
.cab-forecast__value { margin: 14px 0 0; font-weight: 300; font-size: 36px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cab-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; font-size: 13px; color: var(--c-muted); }
.cab-legend span::before { content: ""; display: inline-block; width: 18px; height: 0; margin-right: 8px; vertical-align: middle; border-top: 2px solid var(--c-ink); }
.cab-legend .lg-fc::before { border-top: 2px dashed var(--c-accent); }
.cab-legend .lg-to::before { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--c-accent); }
.cab-chart { width: 100%; }
.cab-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.cab-svg:focus-visible { outline-offset: 6px; }
.cab-svg .g { stroke: rgb(243 242 239 / 0.1); }
.cab-svg .t { fill: var(--c-muted); font: 12px var(--font); }
.cab-svg .hist { fill: none; stroke: var(--c-ink); stroke-width: 2.2; stroke-linejoin: round; }
.cab-svg .fc { fill: none; stroke: var(--c-accent); stroke-width: 2; stroke-dasharray: 6 5; }
.cab-svg .dot { fill: var(--c-bg); stroke: var(--c-ink); stroke-width: 2; }
.cab-svg .now { stroke: rgb(243 242 239 / 0.35); stroke-dasharray: 2 4; }
.cab-svg .ev line { stroke: rgb(232 160 75 / 0.6); stroke-width: 1; }
.cab-svg .ev circle { fill: var(--c-bg); stroke: var(--c-accent); stroke-width: 2; }
.cab-svg .ev .ev-dot { fill: var(--c-accent); stroke: none; }
.cab-svg .ev-n { fill: #0E0F11; font: 700 11px var(--font); }
.cab-events__title { margin: 22px 0 8px; font-weight: 500; font-size: 15px; }
.cab-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--c-muted); }
.cab-events li { display: flex; align-items: center; gap: 10px; }
.cab-events span { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-accent); color: #0E0F11; font-size: 11px; font-weight: 700; }
.cab-svg .cursor line { stroke: rgb(243 242 239 / 0.5); }
.cab-svg .cursor circle { fill: var(--c-ink); }
.cab-chart__read { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; font-variant-numeric: tabular-nums; }

/* --- Поля --- */
.cab-field { display: grid; gap: 8px; margin-top: 4px; }
.cab-field > span { font-size: 14px; color: var(--c-muted); }
.cab-field input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 3px;
  background: rgb(243 242 239 / 0.07); color: var(--c-ink); font: 16px var(--font); color-scheme: dark;
  box-shadow: inset 0 0 0 1px var(--c-line2);
}
.cab-field input::placeholder { color: #8E9094; } /* 5.6:1 на поле */
.cab-field input:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; box-shadow: inset 0 0 0 1px var(--c-accent); }
.cab-card .cab-btn { margin-top: 16px; }
.cab-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

/* --- Уведомления --- */
.cab-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cab-alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center; padding: 20px 22px; border-radius: 4px; background: var(--c-card); box-shadow: inset 0 0 0 1px var(--c-line); }
.cab-alert__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-graphite); color: var(--c-accent); }
.cab-alert__icon svg { width: 22px; height: 22px; }
.cab-alert__when { margin: 0; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.cab-alert__title { margin: 4px 0 0; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.cab-alert__text { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.cab-alert .cab-btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 760px) {
  .cab-alert { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cab-alert .cab-btn { grid-column: auto; }
}

/* --- Профиль --- */
.cab-dl { margin: 0; }
.cab-dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--c-line); font-size: 16px; }
.cab-dl dt { color: var(--c-muted); }
.cab-dl dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cab-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.cab-switch__text { display: grid; gap: 4px; font-size: 16px; }
.cab-switch__text small { font-size: 13.5px; color: var(--c-muted); }
.cab-switch__btn { position: relative; flex: none; width: 52px; height: 30px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: #3A3C41; box-shadow: inset 0 0 0 1px rgb(243 242 239 / 0.45); transition: background-color .25s; }
.cab-switch__btn span { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-ink); transition: transform .25s var(--ease-out); }
.cab-switch__btn[aria-checked="true"] { background: var(--c-accent); box-shadow: none; }
.cab-switch__btn[aria-checked="true"] span { transform: translateX(22px); background: #0E0F11; }
.cab-panel > .cab-btn--line { margin-top: 24px; }

/* --- Диалог «Добавить автомобиль» --- */
.cab-dlg { width: min(520px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 6px; background: #1A1B1E; color: var(--c-ink); box-shadow: 0 30px 90px rgb(0 0 0 / 0.6), inset 0 0 0 1px var(--c-line2); }
.cab-dlg::backdrop { background: rgb(8 8 9 / 0.65); }
@media (prefers-reduced-motion: no-preference) { .cab-dlg[open] { animation: cab-in .3s var(--ease-out) both; } }
.cab-dlg__form { padding: 22px 24px 24px; }
.cab-dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cab-dlg__title { margin: 0; font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.cab-dlg__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 3px; background: none; color: var(--c-ink); cursor: pointer; }
.cab-dlg .cab-field { margin-top: 12px; }
.cab-dlg__error { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #F3B4A0; }
.cab-dlg__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .cab-panel, .cab-dlg[open] { animation: none !important; }
  .cab-switch__btn, .cab-switch__btn span, .cab-btn, .cab-nav button { transition: none; }
}
