@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/onest-latin-400-normal.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;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/onest-latin-500-normal.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;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/onest-latin-600-normal.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;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/onest-latin-700-normal.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;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/unbounded-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/unbounded-latin-500-normal.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;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/unbounded-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/unbounded-latin-700-normal.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;
}
:root {
  --font-base: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --c-ink: #0f1729;
  --c-text: #3a4352;
  --c-muted: #5a6474;
  --c-faint: #8a93a3;
  --c-line: #e3e6eb;
  --c-line-soft: #f1f3f5;
  --c-field: #d5d9e0;
  --c-bg: #f4f5f7;
  --c-surface: #ffffff;
  --c-surface-2: #f8f9fa;
  --c-hover: #f1f3f6;
  --c-primary: #2350d6;
  --c-primary-hover: #1a3ba3;
  --c-primary-soft: #eef2fd;
  --c-primary-tint: #f5f8ff;
  --c-primary-line: #d3ddfa;
  --c-success: #177245;
  --c-success-bg: #e6f2ea;
  --c-success-dot: #1f9d57;
  --c-success-line: #b7dec6;
  --c-warning: #8a5300;
  --c-warning-strong: #9a5b00;
  --c-warning-bg: #fff1d6;
  --c-warning-soft: #fff4db;
  --c-warning-dot: #e5a000;
  --c-warning-text: #6b4a12;
  --c-danger: #b42318;
  --c-danger-bg: #fdecea;
  --c-danger-dot: #d92d20;
  --c-danger-line: #f6c9c4;
  --c-danger-text: #7a1a12;
  --c-brand: #ffc700;
  --d-bg: #f3f1ec;
  --d-ink: #121417;
  --d-muted: #6b7280;
  --d-faint: #9ca3af;
  --d-line: #f0eee8;
  --d-soft: #efece4;
  --d-accent: #ffc93c;
  --d-accent-soft: #fff4d6;
  --d-go: #3ddc84;
  --d-ok: #1f9d57;
  --d-ok-bg: #e6f4ec;
  --d-ok-text: #146c3e;
  --d-dark: #0b0d10;
  --d-dark-2: #1f242c;
  --d-dark-3: #2b3038;
  --d-on-dark: #a3a9b4;
  --w-bg: #f1f2f4;
  --w-text: #1f2430;
  --w-muted: #5e6573;
  --w-line: #e6e8ec;
  --w-green: #2fb344;
  --w-stamp: #2f48c4;
  --w-stamp-line: #3f5bd8;
  --radius-xs: 5px;
  --radius-s: 8px;
  --radius-m: 10px;
  --radius-l: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 30px rgba(15, 23, 41, 0.06);
  --shadow-float: 0 6px 20px rgba(18, 20, 23, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-ink);
  background: var(--c-bg);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ul,
ol {
  margin: 0;
}

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

figure {
  margin: 0;
}

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

img,
svg {
  display: block;
}

a {
  color: var(--c-primary);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.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;
}

.app {
  display: flex;
  min-height: 100vh;
  background: var(--c-bg);
}
.app__sidebar {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 240px;
  height: 100vh;
  flex-shrink: 0;
}
.app__main {
  flex-grow: 1;
  min-width: 0;
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.app__columns {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 1100px) {
  .app__columns {
    flex-direction: column;
    align-items: stretch;
  }
}
.app__column {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.app__column--side {
  flex: 0 0 360px;
}
@media (max-width: 1100px) {
  .app__column--side {
    flex-basis: auto;
  }
}
.app__column--narrow {
  flex: 0 0 340px;
}
@media (max-width: 1100px) {
  .app__column--narrow {
    flex-basis: auto;
  }
}

.auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
}
.auth__header {
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth__main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px 80px;
}
.auth__card {
  display: flex;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 1100px) {
  .auth__card {
    flex-direction: column;
  }
}
.auth__form {
  width: 440px;
  max-width: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth__intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.auth__subtitle {
  font-size: 15px;
  color: var(--c-muted);
}
.auth__aside {
  width: 320px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  background: var(--c-surface-2);
  border-left: 1px solid #eef0f3;
}
@media (max-width: 1100px) {
  .auth__aside {
    width: auto;
    border-left: none;
    border-top: 1px solid #eef0f3;
  }
}
.auth__aside-title {
  font-size: 17px;
  font-weight: 700;
}
.auth__aside-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-muted);
}

.grid {
  display: grid;
  gap: 16px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid--gap-s {
  gap: 10px;
}
.grid--gap-m {
  gap: 12px;
}
.grid--gap-l {
  gap: 18px;
}
@media (max-width: 1100px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.screen {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--d-bg);
  color: var(--d-ink);
}
.screen--white {
  background: #fff;
}
.screen--dark {
  background: var(--d-dark);
  color: #fff;
}
.screen--owner {
  background: var(--c-bg);
  color: var(--c-ink);
}
.screen--owner-white {
  background: #fff;
  color: var(--c-ink);
}
.screen__top {
  padding: 18px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.screen__greeting {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.screen__date {
  font-size: 13px;
  color: var(--d-muted);
}
.screen__hello {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.screen__heading {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.screen__heading--display {
  font-family: var(--font-display);
  letter-spacing: 0;
}
.screen__bar {
  padding: 14px 12px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.screen__bar-title {
  flex-grow: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.screen__bar-aside {
  margin-right: 10px;
  font-size: 14px;
  font-weight: 700;
}
.screen__section {
  margin: 14px 16px 0;
}
.screen__section--tight {
  margin-top: 10px;
}
.screen__section-title {
  margin: 18px 20px 8px;
  font-size: 16px;
  font-weight: 600;
}
.screen__caption {
  margin: 10px 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--d-muted);
}
.screen__spacer {
  flex-grow: 1;
}
.screen__footer {
  padding: 12px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.screen__footer--wide {
  padding-left: 24px;
  padding-right: 24px;
}
.screen__footer--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.screen__form {
  padding: 36px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.screen__or {
  padding: 26px 24px;
}
.screen__alt {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.screen__hint {
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  color: var(--d-muted);
}
.screen__hint--left {
  text-align: left;
}
.screen__hint--inline {
  display: flex;
  align-items: center;
  gap: 6px;
}
.screen__legal {
  padding: 0 24px 30px;
}
.screen__label {
  margin: 0 20px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--d-muted);
}
.screen__center {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.screen__toolbar {
  padding: 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.screen__titles {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.screen__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-muted);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.verify {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--w-bg);
  color: var(--w-text);
}
.verify__banner {
  width: 100%;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--w-green);
  color: #fff;
}
@media (max-width: 600px) {
  .verify__banner {
    height: 56px;
    padding: 0 16px;
  }
}
.verify__status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .verify__status {
    gap: 10px;
    font-size: 15px;
  }
}
.verify__action {
  height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.verify__content {
  width: 100%;
  padding: 20px 16px 40px;
  display: flex;
  justify-content: center;
}
@media (max-width: 600px) {
  .verify__content {
    padding: 12px 12px 4px;
  }
}
.verify__actions {
  width: 100%;
  max-width: 812px;
  padding: 4px 12px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.alert {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}
.alert__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.alert__body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.alert__title {
  font-size: 15px;
  font-weight: 600;
}
.alert__text {
  font-size: 13px;
}
.alert__row {
  display: flex;
  gap: 10px;
}
.alert__actions {
  display: flex;
  gap: 10px;
}
.alert--danger {
  background: var(--c-danger-bg);
  border-color: var(--c-danger-line);
  color: var(--c-danger-text);
}
.alert--danger .alert__icon {
  color: var(--c-danger);
}
.alert--info {
  background: var(--c-primary-soft);
  border-color: var(--c-primary-line);
  color: var(--c-primary-hover);
}
.alert--warning {
  background: var(--c-warning-soft);
  color: var(--c-warning-text);
}
.alert--warning .alert__icon {
  color: var(--c-warning);
}
.alert--driver {
  background: var(--d-accent-soft);
  border-radius: 16px;
  color: #5c4200;
}
.alert--driver .alert__icon {
  color: var(--c-warning);
}
.alert--compact {
  padding: 12px 14px;
  align-items: flex-start;
  gap: 10px;
}
.alert--compact .alert__title {
  font-size: 14px;
}
.alert--compact .alert__text {
  font-size: 12.5px;
}
.alert--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #c9b8a6;
  font-size: 13px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}
.avatar__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar__caption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 41, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.avatar--initials {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.avatar--initials-strong {
  background: var(--c-primary);
  color: #fff;
}
.avatar--initials-neutral {
  background: var(--c-line-soft);
  color: var(--c-text);
}
.avatar--tone-2 {
  background: #b7a596;
}
.avatar--tone-3 {
  background: #a99887;
}
.avatar--tone-4 {
  background: #cdbbaa;
}
.avatar--tone-5 {
  background: #bca895;
}
.avatar--square {
  border-radius: 12px;
}
.avatar--xs {
  width: 28px;
  height: 28px;
}
.avatar--xs.avatar--square {
  border-radius: 8px;
}
.avatar--s {
  width: 36px;
  height: 36px;
}
.avatar--m {
  width: 44px;
  height: 44px;
}
.avatar--l {
  width: 48px;
  height: 48px;
}
.avatar--xl {
  width: 96px;
  height: 96px;
}
.avatar--xxl {
  width: 132px;
  height: 132px;
}
.avatar--xxl.avatar--square {
  border-radius: 24px;
}
.avatar--fluid {
  width: 100%;
  height: 78px;
  border-radius: 10px;
}
.avatar--bordered {
  border: 3px solid #fff;
}
.avatar--ring {
  border: 2px solid #fff;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--c-muted);
}
.breadcrumbs__link {
  text-decoration: none;
}
.breadcrumbs__sep {
  color: var(--c-faint);
}

.button {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--c-field);
  border-radius: var(--radius-m);
  background: var(--c-surface);
  color: var(--c-ink);
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: var(--c-surface-2);
}
.button:disabled {
  cursor: default;
  opacity: 0.6;
}
.button__icon {
  width: 18px;
  height: 18px;
}
.button--primary {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: #fff;
}
.button--primary:hover {
  background: var(--c-primary-hover);
}
.button--danger {
  border-color: var(--c-danger);
  background: var(--c-danger);
  color: #fff;
}
.button--danger:hover {
  background: #9b1d14;
}
.button--danger-outline {
  border-color: #e8a39b;
  background: transparent;
  color: var(--c-danger-text);
}
.button--link {
  height: auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--c-primary);
}
.button--link:hover {
  background: none;
  color: var(--c-primary-hover);
}
.button--text-danger {
  color: var(--c-danger);
}
.button--small {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}
.button--large {
  height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}
.button--block {
  display: flex;
  width: 100%;
}
.button--touch {
  height: 56px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
}
.button--driver {
  height: 58px;
  border: none;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 700;
}
.button--accent {
  border-color: var(--d-accent);
  background: var(--d-accent);
  color: var(--d-ink);
}
.button--accent:hover {
  background: #f5bd26;
}
.button--dark {
  border-color: var(--d-ink);
  background: var(--d-ink);
  color: #fff;
}
.button--dark:hover {
  background: #2a2e35;
}
.button--outline-dark {
  border: 2px solid var(--d-ink);
  background: transparent;
  color: var(--d-ink);
}
.button--outline-dark:hover {
  background: rgba(18, 20, 23, 0.04);
}
.button--soft {
  border-color: transparent;
  background: var(--d-bg);
  color: var(--d-ink);
}
.button--soft:hover {
  background: var(--d-soft);
}
.button--ghost {
  border-color: transparent;
  background: transparent;
  color: inherit;
  font-weight: 600;
}
.button--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}
.button--muted {
  border-color: transparent;
  background: #dad8d1;
  color: #4a505b;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.calendar__weekday {
  font-size: 11px;
  text-align: center;
  color: var(--d-faint);
}
.calendar__day {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-m);
  font-size: 12.5px;
  font-weight: 600;
}
.calendar__day--work {
  background: var(--d-accent);
}
.calendar__day--off {
  background: var(--d-soft);
}
.calendar__day--future {
  color: #b8bcc4;
}
.calendar__day--today {
  box-shadow: 0 0 0 2px var(--d-ink);
}

.catalog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.catalog__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.catalog__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.catalog__lead {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text);
}
.catalog__section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.catalog__section-title {
  font-size: 20px;
  font-weight: 700;
}
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.catalog__grid--phones {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.catalog__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  color: inherit;
  text-decoration: none;
}
.catalog__item:hover {
  border-color: var(--c-primary);
}
.catalog__preview {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: top;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.catalog__preview--phone {
  aspect-ratio: 390/700;
}
.catalog__caption {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.catalog__name {
  font-size: 14px;
  font-weight: 600;
}
.catalog__path {
  font-size: 12px;
  color: var(--c-muted);
}

.camera {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.camera__spacer {
  flex-grow: 1;
}
.camera__viewport {
  position: relative;
  width: 300px;
  height: 380px;
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 28px;
  background: #1b2027;
}
.camera__viewport--wide {
  width: auto;
  height: 520px;
  margin: 18px 16px 0;
  background: #1a1e24;
}
.camera__backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 56%;
  background: #22272e;
}
.camera__silhouette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.camera__face-frame {
  position: absolute;
  left: 50%;
  top: 48px;
  width: 180px;
  height: 236px;
  transform: translateX(-50%);
  border: 3px solid var(--d-go);
  border-radius: 50%;
}
.camera__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 290px;
  height: 190px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--d-accent);
  border-radius: 22px;
}
.camera__status {
  position: absolute;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: center;
}
.camera__status--top {
  top: 16px;
}
.camera__status--bottom {
  bottom: 16px;
}
.camera__geo {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  color: #9aa3b0;
}
.camera__tips {
  margin: 20px 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--d-on-dark);
}
.camera__thumbs {
  margin-top: 16px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.camera__thumb {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--d-dark-2);
  color: #6e7683;
  font-size: 10.5px;
  font-weight: 600;
}
.camera__thumb--done {
  background: #3a424d;
  color: #e6e9ee;
}
.camera__thumb--current {
  border: 2px solid var(--d-accent);
  background: transparent;
  color: var(--d-accent);
}
.camera__controls {
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}
.camera__shutter {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  text-decoration: none;
}
.camera__shutter-core {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
}
.camera__shutter-core--accent {
  background: var(--d-accent);
}
.camera__placeholder {
  width: 52px;
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
}
.card--padded {
  padding: 18px 20px;
}
.card--roomy {
  padding: 20px 24px;
}
.card--flush {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card--stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card--danger {
  border: 2px solid var(--c-danger-line);
}
.card--round {
  border-radius: 18px;
}
.card--list {
  padding: 2px 14px;
  border-radius: 18px;
}
.card--link {
  color: inherit;
  text-decoration: none;
}
.card--link:hover {
  border-color: var(--c-field);
}
.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card__head--bar {
  padding: 16px 20px 10px;
}
.card__title {
  font-size: 16px;
  font-weight: 600;
}
.card__title--large {
  font-size: 17px;
}
.card__link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.card__note {
  font-size: 12.5px;
  color: var(--c-muted);
}

.chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chart__bars {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart__col {
  flex: 1 1 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.chart__value {
  font-size: 11px;
  color: var(--c-muted);
}
.chart__bar {
  width: 100%;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: var(--c-primary);
}
.chart__bar--muted {
  background: #c9d4f5;
}
.chart__axis {
  padding-top: 6px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #eef0f3;
}
.chart__tick {
  flex: 1 1 0;
  font-size: 11px;
  color: var(--c-muted);
  text-align: center;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  cursor: pointer;
}
.checkbox__input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--c-primary);
}

.choice {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
}
.choice--active {
  padding: 15px 17px;
  background: var(--c-primary-tint);
  border: 2px solid var(--c-primary);
}
.choice__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
}
.choice__text {
  font-size: 12.5px;
  color: var(--c-muted);
}

.code-input {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.code-input__cell {
  width: 68px;
  height: 76px;
  padding: 0;
  border: 2px solid #e3e0d8;
  border-radius: 16px;
  background: #fff;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: var(--d-ink);
  outline: none;
}
.code-input__cell--filled {
  border-color: var(--d-ink);
}
.code-input__cell:focus, .code-input__cell--active {
  border: 3px solid var(--d-accent);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--d-faint);
}
.divider::before, .divider::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #e8e5dd;
}
.divider--owner {
  color: var(--c-faint);
}
.divider--owner::before, .divider--owner::after {
  background: var(--c-line);
}

.doc-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 22px;
  background: #fff;
}
.doc-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.doc-card__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc-card__name {
  font-size: 15px;
  font-weight: 600;
}
.doc-card__number {
  font-size: 13px;
  color: var(--d-muted);
}
.doc-card__badge {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.doc-card__badge--ok {
  background: var(--d-ok-bg);
  color: var(--d-ok-text);
}
.doc-card__badge--neutral {
  background: var(--d-soft);
  color: #4b5160;
}
.doc-card__note {
  font-size: 12.5px;
  color: var(--d-muted);
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
}
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 41, 0.32);
}
.drawer__panel {
  position: relative;
  width: 520px;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 41, 0.18);
}
.drawer__head {
  padding: 22px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #eef0f3;
}
.drawer__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer__title {
  font-size: 20px;
  font-weight: 700;
}
.drawer__subtitle {
  font-size: 12.5px;
  color: var(--c-muted);
}
.drawer__body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.drawer__section {
  padding-top: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.drawer__footer {
  padding: 16px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eef0f3;
}

.face-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.face-checks__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.face-checks__date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-success);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}
@media (max-width: 1100px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.facts__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.facts__label {
  font-size: 12.5px;
  color: var(--c-muted);
}
.facts__value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
}
.facts__value--link {
  color: var(--c-primary);
}
.facts__sub {
  font-size: 12.5px;
  color: var(--c-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.field__required {
  color: var(--c-danger);
}
.field__control {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c-field);
  border-radius: var(--radius-m);
  background: #fff;
  font-size: 14px;
  color: var(--c-ink);
}
.field__control:focus-within, .field__control--focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 1px var(--c-primary);
}
.field__control--muted {
  background: var(--c-surface-2);
}
.field__control--textarea {
  height: auto;
  min-height: 64px;
  padding: 10px 12px;
  resize: vertical;
  outline: none;
}
.field__input {
  flex-grow: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
}
.field__input::placeholder {
  color: var(--c-faint);
}
.field__input--code {
  letter-spacing: 0.4em;
}
.field__prefix {
  color: var(--c-muted);
}
.field__icon {
  color: var(--c-muted);
}
.field__hint {
  font-size: 12px;
  color: var(--c-muted);
}
.field--large {
  gap: 8px;
}
.field--large .field__label {
  font-size: 14px;
}
.field--large .field__control {
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 16px;
}
.field--touch {
  gap: 10px;
}
.field--touch .field__label {
  font-size: 14px;
}
.field--touch .field__control {
  height: 60px;
  padding: 0 16px;
  gap: 10px;
  border-width: 2px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 500;
}
.field--touch .field__control:focus-within {
  box-shadow: none;
}
.field--driver .field__label {
  color: #3a3f47;
}
.field--driver .field__control {
  border-color: var(--d-ink);
  border-radius: 16px;
}
.field--driver .field__prefix {
  color: var(--d-muted);
}
.field--search {
  width: 360px;
  max-width: 100%;
}

.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-chips__item {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-field);
  border-radius: 17px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-text);
}
.filter-chips__item--active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}
.filter-chips__item--warning {
  color: var(--c-warning);
}
.filter-chips__item--danger {
  color: var(--c-danger);
}

.form-grid {
  display: grid;
  gap: 12px;
}
.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-grid--vu {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 600px) {
  .form-grid--2, .form-grid--3, .form-grid--vu {
    grid-template-columns: 1fr;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.gallery--tight {
  gap: 6px;
}

.hero {
  margin: 8px 16px 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 28px;
  background: var(--d-ink);
  color: #fff;
}
.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero__meta {
  font-size: 13px;
  color: var(--d-on-dark);
}
.hero__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.hero__accent {
  color: var(--d-accent);
}

.icon-button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.icon-button--round {
  border-radius: 50%;
}
.icon-button--soft {
  background: var(--d-bg);
}
.icon-button--muted {
  background: var(--c-line-soft);
}
.icon-button--dark {
  background: var(--d-dark-2);
  color: #fff;
}
.icon-button--primary {
  background: var(--c-primary);
  color: #fff;
}
.icon-button--large {
  width: 52px;
  height: 52px;
}
.icon-button--small {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs {
  width: 14px;
  height: 14px;
}
.icon--s {
  width: 16px;
  height: 16px;
}
.icon--m {
  width: 18px;
  height: 18px;
}
.icon--l {
  width: 22px;
  height: 22px;
}
.icon--xl {
  width: 28px;
  height: 28px;
}
.icon--bold {
  stroke-width: 2.4;
}
.icon--heavy {
  stroke-width: 3;
}

.intro {
  padding: 28px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intro__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.intro__text {
  font-size: 15px;
  line-height: 1.45;
  color: #4b5160;
}
.intro__link {
  color: inherit;
  font-weight: 600;
}
.intro--center {
  padding: 44px 24px 0;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.intro--center .intro__title {
  font-family: var(--font-base);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.intro--center .intro__text {
  margin-top: -8px;
  color: var(--d-muted);
}
.intro--plain {
  padding: 20px 24px 0;
}
.intro--plain .intro__title {
  font-family: var(--font-base);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.intro--plain .intro__text {
  color: var(--d-muted);
}
.intro--on-dark {
  padding: 22px 24px 0;
  gap: 6px;
  text-align: center;
}
.intro--on-dark .intro__title {
  font-size: 24px;
}
.intro--on-dark .intro__text {
  font-size: 14.5px;
  color: var(--d-on-dark);
}
.intro--owner .intro__text {
  color: var(--c-muted);
}

.kpi {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.kpi__label {
  font-size: 12.5px;
  color: var(--c-muted);
}
.kpi__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.kpi__value {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.kpi__value--success {
  color: var(--c-success);
}
.kpi__value--warning {
  color: var(--c-warning-strong);
}
.kpi__value--danger {
  color: var(--c-danger);
}
.kpi__note {
  font-size: 13px;
  color: var(--c-muted);
}
.kpi__note--success {
  color: var(--c-success);
  font-weight: 600;
}
.kpi__note--warning {
  color: var(--c-warning-strong);
  font-weight: 600;
}
.kpi__note--danger {
  color: var(--c-danger);
  font-weight: 600;
}
.kpi--compact {
  padding: 14px;
  gap: 4px;
}
.kpi--compact .kpi__value {
  font-size: 28px;
}

.kv {
  display: flex;
  flex-direction: column;
}
.kv__row {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 14px;
}
.kv__row:last-child {
  border-bottom: none;
}
.kv__key {
  color: var(--c-muted);
}
.kv__value {
  font-weight: 500;
  text-align: right;
  text-decoration: none;
}
.kv__value--link {
  font-weight: 600;
}
.kv--driver .kv__row {
  padding: 12px 0;
  border-bottom-color: var(--d-line);
  font-size: 14.5px;
}
.kv--driver .kv__key {
  color: var(--d-muted);
}
.kv--driver .kv__value {
  font-weight: 600;
}
.kv--owner-mobile .kv__row {
  padding: 10px 0;
}
.kv--sand .kv__row {
  border-bottom-color: #e6e2d8;
}
.kv--sand .kv__key {
  color: var(--d-muted);
}
.kv--sand .kv__value {
  font-weight: 600;
}

.legal {
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  color: var(--d-faint);
}
.legal__link {
  color: var(--d-muted);
}

.legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--d-muted);
}
.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.legend__swatch--work {
  background: var(--d-accent);
}
.legend__swatch--off {
  background: var(--d-soft);
}

.log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.log__item {
  display: flex;
  gap: 10px;
}
.log__time {
  width: 44px;
  flex-shrink: 0;
  color: var(--c-muted);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.logo__mark {
  width: 32px;
  height: 32px;
  padding: 7px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  border-radius: 8px;
  background: var(--c-ink);
}
.logo__cell {
  border-radius: 2px;
}
.logo__cell--filled {
  background: var(--c-brand);
}
.logo__text {
  display: flex;
  flex-direction: column;
}
.logo__name {
  font-size: 17px;
  font-weight: 700;
}
.logo__tagline {
  font-size: 12px;
  color: var(--c-muted);
}
.logo--large {
  flex-direction: column;
  gap: 14px;
}
.logo--large .logo__mark {
  width: 64px;
  height: 64px;
  padding: 15px;
  gap: 4px;
  border-radius: 18px;
}
.logo--large .logo__cell {
  border-radius: 3px;
}
.logo--driver .logo__mark {
  background: var(--d-ink);
}
.logo--driver .logo__cell--filled {
  background: var(--d-accent);
}

.menu {
  padding: 4px 16px;
  border-radius: 22px;
  background: #fff;
}
.menu__item {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--d-line);
  color: inherit;
  text-decoration: none;
}
.menu__item:last-child {
  border-bottom: none;
}
.menu__text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  font-weight: 500;
}
.menu__hint {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--d-muted);
}
.menu__chevron {
  color: var(--d-faint);
}

.meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meter__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.meter__name {
  font-weight: 500;
}
.meter__value {
  color: var(--c-muted);
}
.meter--large .meter__head {
  font-size: 14px;
}

.note {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: var(--c-surface-2);
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-text);
}
.note__icon {
  color: var(--c-primary);
}
.note__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.note__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}
.note__text {
  font-size: 12.5px;
  color: var(--c-muted);
}
.note--info {
  background: var(--c-primary-soft);
  color: var(--c-primary-hover);
}
.note--driver {
  border-radius: 16px;
  background: var(--d-bg);
  color: #4b5160;
}

.odometer {
  position: relative;
  width: 250px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #2e343d;
  border-radius: 18px;
  background: #0e1013;
}
.odometer__unit {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6e7683;
}
.odometer__digits {
  display: flex;
  gap: 4px;
}
.odometer__digit {
  width: 30px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #1c2026;
  color: #7cf0b2;
  font-size: 30px;
  font-weight: 700;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.org-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.org-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.org-card__titles {
  min-width: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.org-card__name {
  font-size: 16px;
  font-weight: 600;
}
.org-card__meta {
  font-size: 12.5px;
  color: var(--c-muted);
}
.org-card__stats {
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}
.org-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.org-card__stat-value {
  font-size: 20px;
  font-weight: 700;
}
.org-card__stat-label {
  font-size: 12.5px;
  color: var(--c-muted);
}

.page-head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.page-head__text {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-head__meta {
  font-size: 12.5px;
  color: var(--c-muted);
}
.page-head__tags {
  display: flex;
  gap: 6px;
}
.page-head__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.page-head__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-head--center {
  align-items: center;
}

.pager {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef0f3;
}
.pager__info {
  font-size: 12.5px;
  color: var(--c-muted);
}
.pager__actions {
  display: flex;
  gap: 6px;
}

.panel {
  background: #fff;
  border-radius: 24px;
  padding: 18px;
}
.panel--list {
  padding: 4px 16px;
}
.panel--compact {
  border-radius: 22px;
  padding: 16px;
}
.panel--sand {
  background: var(--d-bg);
  border-radius: 22px;
}
.panel--row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.person__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.person__name {
  font-size: 17px;
  font-weight: 700;
}
.person__role {
  font-size: 13px;
  color: var(--d-muted);
}
.person__role--ok {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--d-ok-text);
}
.person__role--owner {
  color: var(--c-muted);
}
.person--divided {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--d-line);
}
.person--compact {
  gap: 12px;
}
.person--compact .person__name {
  font-size: 15px;
}

.photo {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 14px;
  background: #d5dbe3;
}
.photo__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: #b9c1cb;
}
.photo__art {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 70px;
  transform: translate(-50%, -50%);
}
.photo__art--mirrored {
  transform: translate(-50%, -50%) scaleX(-1);
}
.photo__label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 41, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.photo__check {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--d-ok);
  color: #fff;
}
.photo__damage {
  position: absolute;
  right: 30px;
  top: 58px;
  width: 34px;
  height: 34px;
  border: 3px solid #f59e0b;
  border-radius: 50%;
}
.photo__screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14171b;
}
.photo__digits {
  padding: 8px 12px;
  border-radius: var(--radius-s);
  background: #1c2026;
  color: #7cf0b2;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.photo--medium {
  height: 128px;
  border-radius: 18px;
}
.photo--thumb {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
}
.photo--thumb .photo__art {
  width: 64px;
  height: 38px;
}
.photo--card-thumb {
  width: 96px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
}
.photo--card-thumb .photo__art {
  width: 92px;
  height: 54px;
}
.photo--mini {
  height: 58px;
  border-radius: var(--radius-s);
}
.photo--mini .photo__art {
  width: 92%;
  height: 58px;
}
.photo--mini .photo__label {
  left: 4px;
  bottom: 3px;
  padding: 0;
  background: none;
  font-size: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.photo--dark {
  background: #14171b;
}
.photo--empty {
  height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #cfcabe;
  border-radius: 18px;
  background: transparent;
  color: var(--d-ink);
  text-decoration: none;
}
.photo--next {
  border-color: var(--d-ink);
  background: #fff;
}
.photo__title {
  font-size: 14px;
  font-weight: 600;
}
.photo__hint {
  font-size: 12px;
  color: var(--d-muted);
}

.pill {
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pill--accent {
  background: rgba(255, 201, 60, 0.16);
  color: var(--d-accent);
}
.pill--go {
  background: rgba(61, 220, 132, 0.16);
  color: var(--d-go);
}
.pill--dark {
  background: var(--d-dark-2);
  color: #fff;
}
.pill--ok {
  background: var(--d-ok-bg);
  color: var(--d-ok-text);
}
.pill--glass {
  background: rgba(18, 20, 23, 0.72);
  color: #fff;
}
.pill--small {
  padding: 4px 10px;
  font-size: 12px;
}

.plan {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.plan__titles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan__name {
  font-size: 22px;
  font-weight: 700;
}
.plan__terms {
  font-size: 14px;
  color: var(--c-text);
}
.plan__actions {
  display: flex;
  gap: 10px;
}
.plan__limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

.plate {
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1.5px solid var(--c-ink);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--c-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plate--large {
  height: 30px;
  padding: 0 8px;
  border-width: 2px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.profile-head {
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.profile-head__photo {
  position: relative;
}
.profile-head__edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--d-bg);
  border-radius: 50%;
  background: var(--d-ink);
  color: var(--d-accent);
}
.profile-head__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.profile-head__name {
  font-size: 20px;
  font-weight: 700;
}
.profile-head__meta {
  font-size: 13.5px;
  color: var(--d-muted);
}

.profile {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile__body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile__name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile__meta {
  font-size: 14px;
  color: var(--c-text);
}
.profile__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #eef0f3;
}
.progress__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--c-primary);
}
.progress__fill--success {
  background: var(--c-success-dot);
}
.progress__fill--accent {
  background: var(--d-accent);
}
.progress__fill--driver-ok {
  background: var(--d-ok);
}
.progress__fill--neutral {
  background: #d6d2c6;
}
.progress--thick {
  height: 8px;
  border-radius: 4px;
}
.progress--on-dark {
  background: var(--d-dark-3);
}
.progress--driver {
  background: var(--d-soft);
}

.report {
  display: flex;
  align-items: center;
  gap: 12px;
}
.report__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--c-danger-bg);
  color: var(--c-danger);
}
.report__body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.report__title {
  font-size: 14.5px;
  font-weight: 600;
}
.report__text {
  font-size: 12.5px;
  color: var(--d-muted);
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.qr-card__title {
  font-size: 14px;
  font-weight: 600;
}
.qr-card__text {
  font-size: 12.5px;
  color: var(--c-muted);
}

.qr {
  display: inline-flex;
  padding: 8px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
}
.qr__img {
  width: 168px;
  height: 168px;
  image-rendering: pixelated;
}
.qr--plain {
  padding: 0;
  border: none;
  border-radius: 0;
}
.qr--large {
  padding: 18px;
  border: 2px solid var(--d-ink);
  border-radius: 28px;
}
.qr--large .qr__img {
  width: 270px;
  height: 270px;
}
.qr--login .qr__img {
  width: 160px;
  height: 160px;
}

.radio-card {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--c-field);
  border-radius: 12px;
  cursor: pointer;
}
.radio-card:has(:checked), .radio-card--checked {
  padding: 11px 13px;
  border: 2px solid var(--c-primary);
  background: var(--c-primary-tint);
}
.radio-card__input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--c-primary);
}
.radio-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.radio-card__title {
  font-size: 14px;
  font-weight: 600;
}
.radio-card__text {
  font-size: 12.5px;
  color: var(--c-muted);
}

.segmented {
  padding: 3px;
  display: inline-flex;
  gap: 2px;
  border-radius: var(--radius-m);
  background: #e9ecf0;
}
.segmented__item {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text);
}
.segmented__item--active {
  background: #fff;
  font-weight: 600;
  color: var(--c-ink);
  box-shadow: 0 1px 2px rgba(15, 23, 41, 0.08);
}
.segmented--block {
  display: flex;
  padding: 4px;
  border-radius: 12px;
}
.segmented--block .segmented__item {
  flex: 1 1 0;
  height: 40px;
  font-size: 14px;
}
.segmented--small .segmented__item {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.select {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--c-field);
  border-radius: var(--radius-m);
  background: #fff;
  font-size: 14px;
  color: var(--c-ink);
  white-space: nowrap;
}
.select:hover {
  border-color: var(--c-faint);
}
.select__icon {
  color: var(--c-muted);
}
.select__value {
  font-weight: 600;
}
.select--placeholder {
  color: var(--c-muted);
}
.select--block {
  display: flex;
  width: 100%;
}

.select-pill {
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.setting {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--c-line-soft);
}
.setting:last-child {
  border-bottom: none;
}
.setting__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.setting__title {
  font-size: 14px;
  font-weight: 500;
}
.setting__hint {
  font-size: 12.5px;
  color: var(--c-muted);
}
.setting--boxed {
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: var(--c-surface-2);
}
.setting--boxed .setting__title {
  font-size: 15px;
  font-weight: 600;
}
.setting--driver {
  border-bottom-color: var(--d-line);
}
.setting--driver .setting__title {
  font-size: 15px;
}
.setting--driver .setting__hint {
  color: var(--d-muted);
}

.shift {
  padding: 20px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 0 0 36px 36px;
  background: var(--d-ink);
  color: #fff;
}
.shift__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shift__meta {
  font-size: 13px;
  color: var(--d-on-dark);
}
.shift__ring {
  position: relative;
  width: 220px;
  height: 220px;
}
.shift__ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.shift__ring-track, .shift__ring-value {
  fill: none;
  stroke-width: 14;
}
.shift__ring-track {
  stroke: var(--d-dark-3);
}
.shift__ring-value {
  stroke: var(--d-accent);
  stroke-linecap: round;
  stroke-dasharray: 603;
}
.shift__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.shift__caption {
  font-size: 13px;
  color: var(--d-on-dark);
}
.shift__time {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sidebar {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--c-surface);
  border-right: 1px solid var(--c-line);
}
.sidebar__logo {
  padding: 0 8px;
}
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar__link {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-m);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
}
.sidebar__link:hover {
  background: var(--c-hover);
  color: var(--c-ink);
}
.sidebar__link--active, .sidebar__link--active:hover {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: 600;
}
.sidebar__count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
}
.sidebar__count--alert {
  color: var(--c-danger);
}
.sidebar__spacer {
  flex-grow: 1;
}
.sidebar__user {
  padding: 10px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eef0f3;
  color: var(--c-ink);
  text-decoration: none;
}
.sidebar__user--active {
  border-top-color: transparent;
  border-radius: var(--radius-m);
  background: var(--c-primary-soft);
}
.sidebar__user-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sidebar__user-name {
  font-size: 14px;
  font-weight: 600;
}
.sidebar__user-role {
  font-size: 12px;
  color: var(--c-muted);
}

.signature {
  padding-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.signature__hash {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--c-muted);
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spec__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.spec__key {
  font-size: 12.5px;
  color: var(--c-muted);
}
.spec__value {
  font-size: 13.5px;
  font-weight: 500;
  text-align: right;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stamp {
  width: 372px;
  max-width: 100%;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid var(--w-stamp-line);
  border-radius: 6px;
  color: var(--w-stamp);
}
@media (max-width: 600px) {
  .stamp {
    width: 100%;
    gap: 5px;
  }
}
.stamp__head {
  padding-bottom: 6px;
  border-bottom: 1px solid #9fb0ee;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.stamp__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .stamp__row {
    font-size: 12.5px;
  }
}
.stamp__value {
  font-weight: 600;
  text-align: right;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 8px;
}
.stats--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stats__value {
  font-size: 26px;
  font-weight: 700;
}
.stats__value--success {
  color: var(--c-success);
}
.stats__value--display {
  font-family: var(--font-display);
  font-size: 24px;
}
.stats__value--go {
  color: var(--d-ok);
}
.stats__label {
  font-size: 12.5px;
  color: var(--c-muted);
}

.status {
  height: 24px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  background: var(--c-line-soft);
  color: var(--c-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status__dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-faint);
}
.status--success {
  background: var(--c-success-bg);
  color: var(--c-success);
}
.status--success .status__dot {
  background: var(--c-success-dot);
}
.status--warning {
  background: var(--c-warning-bg);
  color: var(--c-warning);
}
.status--warning .status__dot {
  background: var(--c-warning-dot);
}
.status--danger {
  background: var(--c-danger-bg);
  color: var(--c-danger);
}
.status--danger .status__dot {
  background: var(--c-danger-dot);
}
.status--info {
  background: var(--c-primary-soft);
  color: var(--c-primary-hover);
}
.status--info .status__dot {
  background: var(--c-primary);
}
.status--dark {
  background: var(--c-ink);
  color: #fff;
}
.status--owner {
  background: #f3e8ff;
  color: #6b21a8;
}
.status--manager {
  background: #e0f2f1;
  color: #0f5f58;
}
.status--medic {
  background: var(--c-success-bg);
  color: var(--c-success);
}
.status--tech {
  background: var(--c-warning-bg);
  color: var(--c-warning);
}
.status--small {
  height: 20px;
  padding: 0 7px;
}
.status--large {
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
}

.stepper {
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper__bar {
  flex: 1 1 0;
  height: 6px;
  border-radius: 3px;
  background: #dad6cc;
}
.stepper__bar--done {
  background: var(--d-ink);
}
.stepper__bar--accent {
  background: var(--d-accent);
}
.stepper__label {
  margin-left: 6px;
  font-size: 13px;
  color: var(--d-muted);
}
.stepper--dark .stepper__label {
  color: var(--d-on-dark);
}

.switch {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 13px;
  background: #c5cbd4;
}
.switch__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: left 0.15s;
}
.switch--on {
  background: var(--c-primary);
}
.switch--on .switch__knob {
  left: 21px;
}
.switch--success.switch--on {
  background: var(--d-ok);
}
.switch--large {
  width: 52px;
  height: 30px;
  border-radius: 15px;
}
.switch--large .switch__knob {
  width: 24px;
  height: 24px;
}
.switch--large.switch--on .switch__knob {
  left: 25px;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tabbar__item {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-radius: 18px;
  color: var(--d-muted);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}
.tabbar__item--active {
  background: var(--d-accent);
  color: var(--d-ink);
}
.tabbar--floating {
  margin: 0 16px 20px;
  padding: 6px;
  gap: 4px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-float);
}
.tabbar--owner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px 22px;
  background: #fff;
  border-top: 1px solid var(--c-line);
}
.tabbar--owner .tabbar__item {
  padding: 6px 0;
  border-radius: 0;
  color: var(--c-muted);
}
.tabbar--owner .tabbar__item--active {
  background: none;
  color: var(--c-primary);
}

.table {
  display: flex;
  flex-direction: column;
  --table-cols: repeat(4, minmax(0, 1fr));
  --table-gap: 16px;
}
.table__row {
  min-height: 56px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: var(--table-cols);
  gap: var(--table-gap);
  align-items: center;
  border-bottom: 1px solid var(--c-line-soft);
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.table__row--head {
  min-height: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  background: var(--c-surface-2);
  border-bottom-color: #eef0f3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.table__row--link:hover {
  background: #fafbfc;
}
.table__row--highlight {
  background: #fffcf5;
}
.table__cell {
  min-width: 0;
}
.table__cell--right {
  text-align: right;
}
.table__cell--truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.table__cell--strong {
  font-weight: 600;
}
.table__cell--muted {
  color: var(--c-muted);
}
.table__cell--success {
  color: var(--c-success);
  font-weight: 600;
}
.table__cell--warning {
  color: var(--c-warning);
}
.table__cell--danger {
  color: var(--c-danger);
}
.table__cell--plate {
  font-weight: 600;
  letter-spacing: 0.03em;
}
.table__stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.table__inline {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.table__primary {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.table__primary--link {
  color: var(--c-primary);
}
.table__secondary {
  font-size: 12px;
  color: var(--c-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.table__secondary--success {
  color: var(--c-success);
  font-weight: 600;
}
.table__secondary--warning {
  color: var(--c-warning);
  font-weight: 600;
}
.table__secondary--danger {
  color: var(--c-danger);
  font-weight: 600;
}
.table__stages {
  display: flex;
  align-items: center;
  gap: 6px;
}
.table--waybills {
  --table-cols: 1.3fr 2.4fr 1.5fr 0.9fr 1.3fr 1fr 1.1fr;
}
.table--drivers {
  --table-cols: 2.3fr 1.6fr 2fr 1.3fr;
}
.table--vehicles {
  --table-cols: 1.1fr 1.4fr 1.6fr 1.7fr 1.2fr 1fr;
}
.table--orgs {
  --table-cols: 2.4fr 1fr 1fr 1fr 1.2fr;
}
.table--payments {
  --table-cols: 1fr 2fr 1fr 1fr 1fr;
}
.table--team {
  --table-cols: 2fr 1.4fr 2fr 1fr;
}
.table--list {
  --table-cols: minmax(0, 1fr) auto;
}
.table--journal {
  --table-cols: 1.2fr 0.8fr 2fr 1.1fr 1.1fr 1.7fr 1.7fr 1.2fr;
  --table-gap: 14px;
}
.table--journal .table__row {
  min-height: 46px;
  font-size: 13.5px;
}
.table--journal .table__row--head {
  min-height: 0;
  font-size: 12px;
}
.table--inset .table__row {
  padding-left: 0;
  padding-right: 0;
}
.table--dense .table__row {
  min-height: 42px;
}

.tabs {
  padding: 0 16px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid #eef0f3;
}
.tabs__item {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-text);
}
.tabs__item:hover {
  color: var(--c-ink);
}
.tabs__item--active {
  font-weight: 600;
  color: var(--c-ink);
  box-shadow: inset 0 -2px 0 var(--c-primary);
}
.tabs__item--warning {
  color: var(--c-warning);
}

.tasks {
  display: flex;
  flex-direction: column;
}
.tasks__item {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--c-line-soft);
  color: inherit;
  text-decoration: none;
}
.tasks__item:last-child {
  border-bottom: none;
}
.tasks__badge {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-m);
  font-size: 14px;
  font-weight: 700;
}
.tasks__badge--warning {
  background: var(--c-warning-bg);
  color: var(--c-warning);
}
.tasks__badge--danger {
  background: var(--c-danger-bg);
  color: var(--c-danger);
}
.tasks__badge--neutral {
  background: var(--c-line-soft);
  color: var(--c-text);
}
.tasks__body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.tasks__title {
  font-size: 14px;
  font-weight: 600;
}
.tasks__text {
  font-size: 12.5px;
  color: var(--c-muted);
}
.tasks__chevron {
  color: var(--c-faint);
}

.tile {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.tile__icon {
  display: block;
}
.tile__icon--blue {
  color: var(--c-primary);
}
.tile__icon--green {
  color: var(--d-ok);
}
.tile__title {
  font-size: 14px;
  font-weight: 600;
}
.tile__text {
  font-size: 12.5px;
  color: var(--d-muted);
}
.tile__label {
  font-size: 12.5px;
  color: var(--d-muted);
}
.tile__value {
  font-size: 15px;
  font-weight: 700;
}
.tile__value--plate {
  letter-spacing: 0.03em;
}
.tile--data {
  gap: 4px;
  padding: 16px;
}

.timeline {
  display: flex;
  flex-direction: column;
}
.timeline__item {
  display: flex;
  gap: 16px;
}
.timeline__item:last-child .timeline__line {
  display: none;
}
.timeline__rail {
  width: 32px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline__marker {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.timeline__marker--done {
  background: var(--c-success-dot);
  color: #fff;
}
.timeline__marker--current {
  border: 2px solid var(--c-primary);
  background: #fff;
  color: var(--c-primary);
}
.timeline__marker--pending {
  border: 2px dashed #c5cbd4;
  color: var(--c-faint);
}
.timeline__line {
  width: 2px;
  flex-grow: 1;
  min-height: 14px;
  background: var(--c-success-line);
}
.timeline__line--pending {
  background: var(--c-line);
}
.timeline__body {
  flex-grow: 1;
  min-width: 0;
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.timeline__title {
  font-size: 15px;
  font-weight: 600;
}
.timeline__time {
  font-size: 14px;
  color: var(--c-text);
  white-space: nowrap;
}
.timeline__text {
  font-size: 14px;
  color: var(--c-text);
}
.timeline__progress {
  margin-top: 4px;
}
.timeline--compact .timeline__item {
  gap: 12px;
}
.timeline--compact .timeline__rail {
  width: 26px;
}
.timeline--compact .timeline__marker {
  width: 26px;
  height: 26px;
  font-size: 12px;
}
.timeline--compact .timeline__body {
  padding-bottom: 14px;
  gap: 2px;
}
.timeline--compact .timeline__title {
  font-size: 14px;
}
.timeline--compact .timeline__time {
  font-size: 13px;
  color: var(--c-muted);
}
.timeline--compact .timeline__text {
  font-size: 12.5px;
  color: var(--c-muted);
}
.timeline--dark .timeline__item {
  gap: 14px;
}
.timeline--dark .timeline__rail {
  width: 36px;
}
.timeline--dark .timeline__marker {
  width: 36px;
  height: 36px;
  font-size: 15px;
}
.timeline--dark .timeline__marker--done {
  background: var(--d-go);
  color: var(--d-ink);
}
.timeline--dark .timeline__marker--current {
  border: none;
  background: var(--d-accent);
  color: var(--d-ink);
}
.timeline--dark .timeline__marker--pending {
  border-color: #3a404a;
  color: var(--d-muted);
}
.timeline--dark .timeline__line {
  min-height: 16px;
  background: var(--d-go);
}
.timeline--dark .timeline__line--pending {
  background: var(--d-dark-3);
}
.timeline--dark .timeline__body {
  padding: 7px 0 6px;
  gap: 3px;
}
.timeline--dark .timeline__time {
  color: var(--d-on-dark);
}
.timeline--dark .timeline__text {
  font-size: 13px;
  color: var(--d-on-dark);
}
.timeline--dark .timeline__title--muted {
  color: var(--d-on-dark);
}

.trips {
  display: flex;
  flex-direction: column;
}
.trips__item {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--d-line);
  color: inherit;
  text-decoration: none;
}
.trips__item:last-child {
  border-bottom: none;
}
.trips__date {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--d-bg);
}
.trips__day {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}
.trips__weekday {
  font-size: 10.5px;
  color: var(--d-muted);
}
.trips__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trips__number {
  font-size: 15px;
  font-weight: 600;
}
.trips__meta {
  font-size: 13px;
  color: var(--d-muted);
}
.trips__chevron {
  color: var(--d-faint);
}

.vehicle {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.vehicle__body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vehicle__name {
  font-size: 15px;
  font-weight: 600;
}
.vehicle__plate {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.vehicle__note {
  font-size: 12.5px;
  color: var(--c-muted);
}
.vehicle__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.vehicle__aside-label {
  font-size: 12px;
  color: var(--d-muted);
}
.vehicle__aside-value {
  font-size: 14px;
  font-weight: 700;
}

.waybill-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.waybill-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.waybill-card__number {
  font-size: 15px;
  font-weight: 700;
}
.waybill-card__driver {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.waybill-card__name {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.waybill-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--c-muted);
}

.waybill {
  width: 100%;
  max-width: 812px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  color: var(--w-text);
}
@media (max-width: 600px) {
  .waybill {
    border-radius: var(--radius-s);
  }
}
.waybill__header {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--w-line);
  font-size: 19px;
}
@media (max-width: 600px) {
  .waybill__header {
    padding: 16px;
    gap: 6px;
    font-size: 17px;
  }
}
.waybill__title {
  font-weight: 600;
}
.waybill__type {
  color: var(--w-muted);
}
.waybill__status {
  margin-left: 4px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #e7f6ea;
  color: #22923a;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .waybill__status {
    margin-left: 0;
    padding: 3px 8px;
    font-size: 13.5px;
  }
}
.waybill__body {
  padding: 20px 24px 8px;
}
@media (max-width: 600px) {
  .waybill__body {
    padding: 8px 16px 4px;
  }
}
.waybill__top {
  padding-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 600px) {
  .waybill__top {
    flex-direction: column-reverse;
    gap: 0;
    padding-bottom: 8px;
  }
}
.waybill__fields {
  flex-grow: 1;
  min-width: 0;
  width: 100%;
}
.waybill__qr {
  width: 164px;
  height: 164px;
  flex-shrink: 0;
  image-rendering: pixelated;
}
@media (max-width: 600px) {
  .waybill__qr {
    width: 104px;
    height: 104px;
    margin: 10px 0 4px auto;
  }
}
.waybill__group {
  padding: 16px 0;
  border-top: 1px solid var(--w-line);
}
@media (max-width: 600px) {
  .waybill__group {
    padding: 8px 0;
  }
}
.waybill__row {
  padding: 6px 0;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 12px;
  font-size: 16px;
  line-height: 1.35;
}
@media (max-width: 600px) {
  .waybill__row {
    padding: 8px 0;
    grid-template-columns: 1fr;
    gap: 2px;
    border-bottom: 1px solid #f0f1f3;
  }
  .waybill__row:last-child {
    border-bottom: none;
  }
}
.waybill__key {
  color: var(--w-muted);
}
@media (max-width: 600px) {
  .waybill__key {
    font-size: 12.5px;
  }
}
.waybill__value {
  margin: 0;
}
@media (max-width: 600px) {
  .waybill__value {
    font-size: 15.5px;
    font-weight: 500;
  }
}
.waybill__section {
  padding: 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--w-line);
}
@media (max-width: 600px) {
  .waybill__section {
    padding: 18px 0;
    flex-direction: column;
    gap: 12px;
  }
}
.waybill__section-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 600px) {
  .waybill__section-main {
    gap: 12px;
  }
}
.waybill__section-title {
  font-size: 19px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .waybill__section-title {
    font-size: 17px;
  }
}
.waybill__dates {
  display: flex;
  gap: 72px;
}
@media (max-width: 600px) {
  .waybill__dates {
    gap: 40px;
  }
}
.waybill__date {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 600px) {
  .waybill__date {
    gap: 5px;
  }
}
.waybill__caption {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w-muted);
}
.waybill__date-value {
  font-size: 16px;
}
.waybill__date-value--empty {
  color: #9aa0ab;
}
@media (max-width: 600px) {
  .waybill__date-value {
    font-size: 15.5px;
  }
}
.waybill__signer {
  font-size: 15px;
  font-style: italic;
  color: var(--w-muted);
}
@media (max-width: 600px) {
  .waybill__signer {
    font-size: 14px;
  }
}
