:root {
  color-scheme: light;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --surface-3: #edf1f5;
  --text: #172033;
  --muted: #687386;
  --border: #dce2ea;
  --primary: #148f86;
  --primary-hover: #0d766f;
  --primary-soft: #e2f5f2;
  --danger: #c53b48;
  --danger-soft: #fbeaec;
  --warning: #a66a04;
  --warning-soft: #fff2d5;
  --success: #16785c;
  --nav-bg: #ffffff;
  --nav-text: #263449;
  --nav-muted: #6d7b8f;
  --nav-border: #dce2ea;
  --nav-hover: #eef3f5;
  --nav-active: #e2f5f2;
  --nav-active-text: #0d716a;
  --nav-toggle-bg: #ffffff;
  --shadow: 0 12px 34px rgb(19 31 50 / 9%);
  --radius: 14px;
  --sidebar-width: 260px;
  --sidebar-collapsed: 78px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d121b;
  --surface: #151c27;
  --surface-2: #192230;
  --surface-3: #222d3c;
  --text: #eef3fa;
  --muted: #9aa8ba;
  --border: #2a3544;
  --primary: #35b9ad;
  --primary-hover: #53cbbf;
  --primary-soft: #123d3c;
  --danger: #ed7580;
  --danger-soft: #442329;
  --warning: #f0b94f;
  --warning-soft: #3c311b;
  --success: #58c59f;
  --nav-bg: #101b2d;
  --nav-text: #d8e1ef;
  --nav-muted: #8da0bb;
  --nav-border: rgb(255 255 255 / 8%);
  --nav-hover: rgb(255 255 255 / 7%);
  --nav-active: rgb(53 185 173 / 16%);
  --nav-active-text: #ffffff;
  --nav-toggle-bg: #1b2a40;
  --shadow: 0 12px 34px rgb(0 0 0 / 28%);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 38%, transparent); outline-offset: 2px; }
[hidden] { display: none !important; }

.loading-screen, .login-screen { min-height: 100vh; display: grid; place-items: center; }
.loading-screen { grid-template-columns: auto auto; gap: 16px; align-content: center; background: var(--nav-bg); color: var(--nav-text); }
.loading-screen div:last-child { display: grid; gap: 3px; }
.loading-screen span { color: var(--nav-muted); font-size: .85rem; }
.login-screen { position: relative; padding: 28px; overflow: hidden; background: radial-gradient(circle at 75% 20%, rgb(38 181 167 / 30%), transparent 28%), linear-gradient(135deg, #0b1423, #17283f); }
.login-screen::after { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgb(255 255 255 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 8%) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to bottom right, black, transparent 70%); }
.login-card { z-index: 1; width: min(520px, 100%); padding: clamp(28px, 5vw, 52px); border: 1px solid rgb(255 255 255 / 12%); border-radius: 24px; background: rgb(12 22 37 / 86%); box-shadow: 0 32px 80px rgb(0 0 0 / 35%); color: #f7fbff; backdrop-filter: blur(18px); }
.login-card h1 { max-width: 430px; margin: 12px 0; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.02; letter-spacing: -.045em; }
.login-card p:not(.eyebrow) { color: #b9c6d8; font-size: 1.05rem; line-height: 1.6; }
.login-card small { display: block; margin-top: 20px; color: #91a1b7; line-height: 1.5; }
.eyebrow { margin: 28px 0 0; color: #5dd1c6; font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; display: block; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px rgb(38 181 167 / 26%); }
.brand-mark--large { width: 66px; height: 66px; border-radius: 19px; }

.app { min-height: 100vh; }
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; color: var(--nav-text); border-right: 1px solid var(--nav-border); background: var(--nav-bg); transition: width .2s ease, transform .2s ease; }
.sidebar__header { min-height: 72px; padding: 14px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--nav-border); }
.brand { min-width: 0; display: flex; flex: 1; align-items: center; gap: 11px; color: var(--nav-text); text-decoration: none; }
.brand__text { white-space: nowrap; font-weight: 550; }
.brand__text b { color: var(--primary); }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 11px; color: var(--text); background: transparent; cursor: pointer; }
.icon-button:hover { background: var(--surface-3); }
.sidebar .icon-button { color: var(--nav-muted); }
.sidebar .icon-button:hover { color: var(--nav-active-text); background: var(--nav-hover); }
.sidebar__mobile-close, .mobile-menu { display: none; }
.nav { flex: 1; padding: 14px 10px; overflow: auto; }
.nav__section { margin: 18px 10px 7px; color: var(--nav-muted); font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.nav__link { min-height: 44px; margin: 3px 0; padding: 0 12px; display: flex; align-items: center; gap: 13px; border-radius: 11px; color: var(--nav-text); text-decoration: none; white-space: nowrap; overflow: hidden; }
.nav__link i { width: 20px; flex: 0 0 20px; text-align: center; color: var(--nav-muted); }
.nav__link:hover { color: var(--nav-active-text); background: var(--nav-hover); }
.nav__link.active { color: var(--nav-active-text); background: var(--nav-active); box-shadow: inset 3px 0 var(--primary); }
.nav__link.active i { color: var(--primary); }
.sidebar__footer { padding: 12px; border-top: 1px solid var(--nav-border); }
.version-link { min-height: 38px; padding: 8px 11px; display: flex; align-items: center; color: var(--nav-muted); font-size: .76rem; text-decoration: none; white-space: nowrap; overflow: hidden; }
.app__body { min-height: 100vh; margin-left: var(--sidebar-width); display: flex; flex-direction: column; transition: margin-left .2s ease; }
.app.sidebar-collapsed .sidebar { width: var(--sidebar-collapsed); }
.app.sidebar-collapsed .app__body { margin-left: var(--sidebar-collapsed); }
.app.sidebar-collapsed .brand__text, .app.sidebar-collapsed .nav__link span, .app.sidebar-collapsed .nav__section, .app.sidebar-collapsed .version-link span { display: none; }
.app.sidebar-collapsed .sidebar__header { padding-inline: 10px; }
.app.sidebar-collapsed .sidebar__collapse { position: absolute; right: -16px; top: 56px; width: 32px; height: 32px; border: 1px solid var(--nav-border); background: var(--nav-toggle-bg); box-shadow: 0 4px 12px rgb(0 0 0 / 18%); }
.app.sidebar-collapsed .sidebar__collapse i { transform: rotate(180deg); }
.app.sidebar-collapsed .nav__link { justify-content: center; padding-inline: 0; }
.app.sidebar-collapsed .nav__link i { color: inherit; }
.sidebar__resizer { position: absolute; z-index: 2; top: 0; right: -5px; bottom: 0; width: 10px; cursor: col-resize; touch-action: none; }
.sidebar__resizer::after { position: absolute; top: 0; right: 4px; bottom: 0; width: 2px; content: ""; background: transparent; transition: background .15s ease; }
.sidebar__resizer:hover::after, .sidebar__resizer:focus-visible::after, .app.sidebar-resizing .sidebar__resizer::after { background: var(--primary); }
.app.sidebar-resizing .sidebar, .app.sidebar-resizing .app__body { transition: none; }
.app.sidebar-resizing { cursor: col-resize; user-select: none; }
.app.sidebar-collapsed .sidebar__resizer { display: none; }

.topbar { position: sticky; z-index: 30; top: 0; height: 72px; padding: 0 clamp(18px, 3vw, 34px); display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); }
.breadcrumbs { flex: 1; min-width: 0; color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs strong { color: var(--text); }
.global-search { position: relative; width: min(460px, 42vw); min-width: 220px; }
.global-search > i { position: absolute; z-index: 1; left: 13px; top: 50%; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.global-search > input { width: 100%; height: 42px; padding: 0 42px 0 38px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface); }
.global-search > input:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--primary) 18%, transparent); }
.global-search > button { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; }
.global-search > button:hover { color: var(--text); background: var(--surface-3); }
.global-search__results { position: absolute; z-index: 60; top: calc(100% + 9px); right: 0; left: 0; max-height: min(70vh, 520px); padding: 7px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 22px 60px rgb(0 0 0 / 24%); overflow-y: auto; }
.global-search__heading { padding: 7px 9px; color: var(--muted); font-size: .67rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.global-search__result { width: 100%; padding: 10px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; border: 0; border-radius: 10px; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.global-search__result:hover, .global-search__result:focus-visible { background: var(--primary-soft); outline: 0; }
.global-search__result > i:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--surface-3); }
.global-search__thumbnail { width: 34px; height: 34px; display: block; border-radius: 9px; background: var(--surface-3); object-fit: cover; }
.global-search__result > i:last-child { color: var(--muted); font-size: .7rem; }
.global-search__result strong, .global-search__result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.global-search__result small { margin-top: 2px; color: var(--muted); }
.global-search__empty { padding: 24px 12px; color: var(--muted); text-align: center; font-size: .8rem; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.user-chip { height: 44px; padding: 4px 9px 4px 5px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 13px; color: var(--text); background: var(--surface); cursor: pointer; }
.user-chip img, .avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-3); object-fit: cover; }
.user-chip i { color: var(--muted); font-size: .7rem; }
.main { width: 100%; max-width: 1580px; margin: 0 auto; padding: clamp(22px, 3vw, 38px); flex: 1; }
.footer { padding: 18px 30px 28px; color: var(--muted); font-size: .76rem; text-align: center; }

.page-header { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.page-header h1 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -.035em; }
.page-header p { margin: 7px 0 0; color: var(--muted); }
.page-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.button { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--border); border-radius: 11px; color: var(--text); background: var(--surface); font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.button:hover { border-color: color-mix(in srgb, var(--primary) 42%, var(--border)); transform: translateY(-1px); }
.button--primary { border-color: var(--primary); color: white; background: var(--primary); }
.button--primary:hover { background: var(--primary-hover); }
.button--danger { border-color: transparent; color: var(--danger); background: var(--danger-soft); }
.button--ghost { border-color: transparent; background: transparent; }
.button--large { min-height: 52px; margin-top: 18px; padding-inline: 22px; }
.button--small { min-height: 34px; padding-inline: 11px; font-size: .82rem; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 14px; }
.metric { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.metric__icon { width: 40px; height: 40px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.metric strong { display: block; font-size: 1.65rem; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: .82rem; }
.content-grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr); gap: 20px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.panel__header { min-height: 62px; padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); }
.panel__header h2, .panel__header h3 { margin: 0; font-size: 1rem; }
.panel__body { padding: 20px; }
.empty-state { min-height: 180px; padding: 28px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.empty-state > i { margin-bottom: 12px; font-size: 2rem; color: var(--border); }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: var(--surface-2); font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--primary-soft) 34%, transparent); }
.actions-cell { position: sticky; right: 0; z-index: 2; width: 1%; white-space: nowrap; background: var(--surface); box-shadow: -10px 0 16px rgb(0 0 0 / 2%); }
.truncate { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: help; }
.part-reference { min-width: 160px; max-width: 360px; white-space: normal; overflow-wrap: anywhere; }
.part-reference summary { cursor: pointer; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.clickable-row { cursor: pointer; }
.clickable-row:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.subtle { color: var(--muted); font-size: .82rem; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; color: var(--muted); background: var(--surface-3); font-size: .72rem; font-weight: 700; }
.badge--success { color: var(--success); background: color-mix(in srgb, var(--primary-soft) 72%, var(--surface)); }
.badge--warning { color: var(--warning); background: var(--warning-soft); }
.badge--danger { color: var(--danger); background: var(--danger-soft); }

.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.vehicle-card { position: relative; min-height: 220px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.vehicle-card__image { position: relative; height: 122px; display: grid; place-items: center; color: color-mix(in srgb, var(--muted) 45%, transparent); background: linear-gradient(135deg, var(--surface-3), var(--surface-2)); overflow: hidden; }
.vehicle-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vehicle-card__image i { font-size: 2.4rem; }
.vehicle-card__body { padding: 16px; }
.vehicle-card h3 { margin: 0 0 5px; font-size: 1.02rem; }
.vehicle-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.vehicle-card a::after { content: ""; position: absolute; inset: 0; }

.tabs { margin-bottom: 20px; display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab { min-height: 46px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; white-space: nowrap; cursor: pointer; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.detail-hero { margin-bottom: 20px; padding: 22px; display: flex; align-items: center; gap: 18px; border-radius: var(--radius); color: white; background: linear-gradient(135deg, #15243a, #163d47); }
.detail-hero__media { position: relative; width: 76px; height: 76px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 12%); border-radius: 16px; color: #4ed0c5; background: rgb(255 255 255 / 9%); font-size: 1.6rem; overflow: hidden; }
.detail-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-hero h1 { margin: 0; font-size: 1.55rem; }
.detail-hero p { margin: 5px 0 0; color: #b8c8d9; }

.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 15px; }
.field { grid-column: span 6; min-width: 0; }
.field--third { grid-column: span 4; }
.field--quarter { grid-column: span 3; }
.field--full { grid-column: 1 / -1; }
.field label { margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; font-weight: 700; }
.field-help { min-height: 18px; margin: 5px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--surface); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.catalog-create-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: stretch; }
.catalog-create-row .button { min-height: 43px; white-space: nowrap; }
.expense-detail__toolbar { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.expense-metrics { margin-bottom: 20px; }
.expense-metrics .metric strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.expense-detail-grid { margin-bottom: 20px; }
.expense-tasks-panel { margin-bottom: 20px; }
.expense-task-group + .expense-task-group { margin-top: 12px; }
.expense-task { padding: 13px 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 11px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); }
.expense-task--subtask { margin: 7px 0 0 34px; position: relative; background: var(--surface); }
.expense-task--subtask::before { content: ""; position: absolute; right: 100%; top: 20px; width: 24px; border-top: 1px solid var(--border); }
.expense-task__check input { width: 19px; height: 19px; accent-color: var(--primary); }
.expense-task__body p { margin: 5px 0; color: var(--muted); white-space: pre-wrap; }
.expense-task__body small { color: var(--muted); }
.expense-task.is-completed .expense-task__body strong { color: var(--muted); text-decoration: line-through; }
.expense-task__actions { display: flex; gap: 4px; }
.form-actions { margin-top: 22px; padding-top: 18px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--border); }
.checkbox { display: flex; align-items: center; gap: 9px; }
.checkbox input { width: 18px; height: 18px; }

.dialog { width: min(860px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 1px solid var(--border); border-radius: 18px; color: var(--text); background: var(--surface); box-shadow: 0 30px 90px rgb(0 0 0 / 35%); overflow: auto; }
.dialog::backdrop { background: rgb(4 10 18 / 68%); backdrop-filter: blur(4px); }
.dialog__header { position: sticky; z-index: 5; top: 0; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--surface); }
.dialog__header h2 { margin: 0; font-size: 1.1rem; }
.dialog__body { padding: 22px; }
.dialog__footer { position: sticky; bottom: 0; padding: 15px 22px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--border); background: var(--surface); }

.image-uploader { padding: 14px; border: 1px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); border-radius: 13px; background: var(--surface-2); }
.image-uploader__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.image-uploader__hint { margin: 9px 0 0; color: var(--muted); font-size: .72rem; }
.image-uploader__previews { margin-top: 13px; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.image-preview { position: relative; min-height: 112px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); overflow: hidden; }
.image-preview__open { position: relative; width: 100%; height: 95px; padding: 0; display: block; border: 0; background: var(--surface-3); cursor: zoom-in; overflow: hidden; }
.image-preview__open img { width: 100%; height: 95px; display: block; object-fit: cover; transition: filter .18s ease, transform .18s ease; }
.image-preview__open > span { position: absolute; right: 8px; bottom: 8px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: white; background: rgb(4 12 20 / 72%); opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.image-preview__open:hover img, .image-preview__open:focus-visible img { filter: brightness(.82); transform: scale(1.025); }
.image-preview__open:hover > span, .image-preview__open:focus-visible > span { opacity: 1; transform: none; }
.image-preview__open:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 52%, transparent); outline-offset: -3px; }
.image-preview__file { min-height: 95px; padding: 14px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; font-size: .68rem; word-break: break-word; }
.image-preview__file i { font-size: 1.8rem; }
.image-preview > button[data-remove] { position: absolute; z-index: 2; top: 5px; right: 5px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: white; background: rgb(18 25 35 / 78%); cursor: pointer; }
.file-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 11px; }
.file-tile { position: relative; min-height: 130px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); overflow: hidden; }
.file-tile__preview { position: relative; width: 100%; min-height: 95px; padding: 0; display: block; border: 0; color: var(--muted); background: var(--surface-3); cursor: pointer; overflow: hidden; }
.file-tile__preview img { width: 100%; height: 108px; display: block; object-fit: cover; transition: transform .18s ease, filter .18s ease; }
.file-tile__preview:hover img, .file-tile__preview:focus-visible img { filter: brightness(.82); transform: scale(1.025); }
.file-tile__preview:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 52%, transparent); outline-offset: -3px; }
.file-tile__zoom { position: absolute; right: 8px; bottom: 8px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 28%); border-radius: 9px; color: white; background: rgb(4 12 20 / 72%); opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.file-tile__preview:hover .file-tile__zoom, .file-tile__preview:focus-visible .file-tile__zoom { opacity: 1; transform: none; }
.file-tile__label { padding: 9px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-tile--cover { border-color: color-mix(in srgb, var(--primary) 70%, var(--border)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 12%, transparent); }
.file-tile__cover-label { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; color: var(--primary); background: var(--primary-soft); font-size: .6rem; font-weight: 750; }
.file-tile__actions { position: absolute; z-index: 3; top: 6px; right: 6px; display: flex; gap: 5px; }

.cover-editors { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.cover-editor-panel { min-width: 0; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.cover-editor-panel h3 { margin: 0 0 5px; font-size: .92rem; }
.cover-editor-panel > p { min-height: 34px; margin: 0 0 12px; }
.cover-editor { display: grid; gap: 14px; }
.cover-editor__source { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; line-height: 0; background: #030a10; overflow: hidden; touch-action: none; }
.cover-editor__source > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 38vh; user-select: none; -webkit-user-drag: none; }
.cover-editor__selection { position: absolute; border: 3px solid #5ad4c9; background: rgb(3 10 16 / 12%); box-shadow: 0 0 0 9999px rgb(3 10 16 / 64%), inset 0 0 0 1px rgb(255 255 255 / 58%); cursor: grab; touch-action: none; }
.cover-editor__selection::before, .cover-editor__selection::after { position: absolute; content: ""; pointer-events: none; }
.cover-editor__selection::before { inset: 33.333% 0 auto; border-top: 1px solid rgb(255 255 255 / 50%); box-shadow: 0 calc(var(--crop-height, 0px) / 3) 0 rgb(255 255 255 / 50%); }
.cover-editor__selection::after { inset: 0 auto 0 33.333%; border-left: 1px solid rgb(255 255 255 / 50%); box-shadow: calc(var(--crop-width, 0px) / 3) 0 0 rgb(255 255 255 / 50%); }
.cover-editor__selection.is-dragging { cursor: grabbing; }
.cover-editor__preview { display: grid; justify-items: center; gap: 7px; color: var(--muted); font-size: .72rem; }
.cover-editor__preview > div { width: min(360px, 100%); aspect-ratio: 280 / 122; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-3); overflow: hidden; }
.cover-editor__preview--square > div { width: min(150px, 52%); aspect-ratio: 1; border-radius: 16px; }
.cover-editor__preview img { width: 100%; height: 100%; display: block; object-fit: cover; }

body.attachment-viewer-open { overflow: hidden; }
.attachment-viewer-backdrop { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--text); background: rgb(1 7 13 / 88%); overflow: hidden; }
.attachment-viewer-backdrop[open] { display: grid; place-items: center; }
.attachment-viewer-backdrop::backdrop { background: rgb(1 7 13 / 88%); backdrop-filter: blur(12px); }
.attachment-viewer { width: 100%; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: var(--text); background: var(--surface); overflow: hidden; }
.attachment-viewer > header { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .8rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.attachment-viewer > header > div:first-child { min-width: 0; flex: 1; }
.attachment-viewer > header strong, .attachment-viewer > header span { display: block; }
.attachment-viewer > header strong { overflow: hidden; max-width: min(56vw, 720px); text-overflow: ellipsis; white-space: nowrap; }
.attachment-viewer > header [data-attachment-counter] { margin-top: .1rem; color: var(--muted); font-size: .65rem; }
.attachment-viewer-tools { display: flex; flex: 0 0 auto; align-items: center; gap: .3rem; }
.attachment-viewer-tools button, .attachment-viewer-tools a, .attachment-viewer-nav { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 9px; color: var(--muted); background: var(--surface-3); cursor: pointer; text-decoration: none; }
.attachment-viewer-tools button:hover, .attachment-viewer-tools button:focus-visible, .attachment-viewer-tools a:hover, .attachment-viewer-tools a:focus-visible, .attachment-viewer-nav:hover, .attachment-viewer-nav:focus-visible { color: var(--primary); border-color: var(--primary); outline: 0; }
.attachment-viewer-tools [data-zoom="reset"] { width: 54px; font-size: .63rem; font-weight: 760; }
.attachment-viewer-tools [data-attachment-close] { color: white; border-color: color-mix(in srgb, var(--danger) 55%, var(--border)); background: color-mix(in srgb, var(--danger) 20%, var(--surface-3)); font-size: 1rem; }
.attachment-viewer-tools [data-attachment-close]:hover, .attachment-viewer-tools [data-attachment-close]:focus-visible { color: white; border-color: var(--danger); background: color-mix(in srgb, var(--danger) 36%, var(--surface-3)); }
.attachment-viewer-tools button:disabled { cursor: default; opacity: .32; }
.attachment-viewer-body { position: relative; min-height: 0; overflow: hidden; background: #030a10; }
.attachment-viewer-stage { width: 100%; height: 100%; min-width: 0; min-height: 0; box-sizing: border-box; padding: clamp(.5rem, 2vw, 1.5rem); display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; touch-action: none; scrollbar-color: rgb(139 213 226 / 42%) rgb(255 255 255 / 4%); }
.attachment-viewer-stage.is-zoomed { place-items: start; cursor: grab; }
.attachment-viewer-stage.is-panning { cursor: grabbing; user-select: none; }
.attachment-viewer-canvas { display: grid; min-width: 0; min-height: 0; place-items: center; }
.attachment-viewer-canvas > img { width: auto; height: auto; max-width: none; max-height: none; opacity: 0; object-fit: fill; transition: opacity .12s ease-out; user-select: none; -webkit-user-drag: none; }
.attachment-viewer-canvas > img.is-ready { opacity: 1; }
.attachment-viewer-nav { position: absolute; z-index: 2; top: 50%; margin: 0; color: #eafaff; border-color: rgb(255 255 255 / 18%); background: rgb(12 31 44 / 84%); transform: translateY(-50%); }
.attachment-viewer-nav.previous { left: .75rem; }
.attachment-viewer-nav.next { right: .75rem; }
.attachment-viewer-nav:disabled { visibility: hidden; }
.attachment-viewer > footer { padding: .45rem .8rem; color: var(--muted); border-top: 1px solid var(--border); background: var(--surface-2); font-size: .62rem; text-align: center; }

.timeline { position: relative; display: grid; gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 5px; bottom: 5px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 48px; }
.timeline-item::before { content: ""; position: absolute; z-index: 1; left: 10px; top: 19px; width: 14px; height: 14px; border: 4px solid var(--surface); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px var(--border); }
.timeline-card { padding: 17px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.timeline-card h3 { margin: 0 0 4px; font-size: .96rem; }
.timeline-card p { margin: 8px 0; color: var(--muted); }

.update-notice { position: fixed; z-index: 95; right: 18px; bottom: 18px; width: min(560px, calc(100vw - 36px)); padding: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid color-mix(in srgb, var(--primary) 52%, var(--border)); border-radius: 15px; color: var(--text); background: var(--surface); box-shadow: 0 20px 55px rgb(0 0 0 / 22%); animation: toast-in .22s ease; }
.update-notice__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); font-size: 1.1rem; }
.update-notice__content { min-width: 0; }
.update-notice__content strong { display: block; }
.update-notice__content p { margin: 3px 0 5px; color: var(--muted); font-size: .8rem; }
.update-notice__version { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; text-decoration: none; }
.update-notice + .toast-region { bottom: 112px; }

.toast-region { position: fixed; z-index: 100; right: 18px; bottom: 18px; width: min(390px, calc(100vw - 36px)); display: grid; gap: 9px; }
.toast { padding: 14px 16px; display: flex; gap: 11px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); animation: toast-in .2s ease; }
.toast--error { border-left: 4px solid var(--danger); }
.toast--success { border-left: 4px solid var(--success); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.skeleton { min-height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.ts-wrapper, .ts-dropdown { --bs-body-bg: var(--surface); --bs-body-color: var(--text); --bs-secondary-bg: var(--surface-2); --bs-secondary-color: var(--muted); --bs-tertiary-bg: var(--primary-soft); --bs-border-color: var(--border); --bs-border-color-translucent: var(--border); --bs-border-radius: 10px; --bs-border-width: 1px; }
.ts-wrapper { width: 100%; }
.ts-control { min-height: 43px; border: 1px solid var(--border) !important; border-radius: 10px !important; color: var(--text) !important; background: var(--surface) !important; box-shadow: none !important; }
.ts-control > input { width: auto !important; color: var(--text) !important; }
.ts-wrapper.single.has-items:not(.dropdown-active) .ts-control > input { position: absolute !important; left: -10000px !important; width: 1px !important; opacity: 0; }
.ts-wrapper.multi.has-items:not(.dropdown-active) .ts-control > input { position: absolute !important; left: -10000px !important; width: 1px !important; opacity: 0; }
.ts-wrapper.multi .ts-control > div { padding: 5px 8px; border-radius: 7px; color: var(--text); background: var(--primary-soft); }
.ts-wrapper.multi .ts-control > div .remove { margin-left: 7px; color: var(--muted); border-left-color: var(--border); }
.ts-dropdown { z-index: 80; border-color: var(--border); color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.ts-dropdown.ts-dropdown--above { margin-top: 0; margin-bottom: 4px; border-radius: 10px; }
.ts-dropdown .active { color: var(--text); background: var(--primary-soft); }

@media (max-width: 1120px) {
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .attachment-viewer > header { align-items: flex-start; gap: .45rem; padding: .55rem; }
  .attachment-viewer > header strong { max-width: 42vw; font-size: .72rem; }
  .attachment-viewer-tools { gap: .18rem; }
  .attachment-viewer-tools button, .attachment-viewer-tools a { width: 34px; height: 34px; }
  .attachment-viewer-tools [data-zoom="reset"] { width: 48px; }
  .attachment-viewer-nav { top: auto; bottom: .75rem; transform: none; }
  .attachment-viewer > footer { padding-inline: 3.8rem; }
  .sidebar { width: min(86vw, 310px); transform: translateX(-105%); box-shadow: 20px 0 70px rgb(0 0 0 / 35%); }
  .app.sidebar-mobile-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; z-index: 35; inset: 0; visibility: hidden; opacity: 0; background: rgb(4 9 16 / 64%); transition: opacity .2s, visibility .2s; }
  .app.sidebar-mobile-open .sidebar-scrim { visibility: visible; opacity: 1; }
  .sidebar__collapse { display: none; }
  .sidebar__resizer { display: none; }
  .sidebar__mobile-close, .mobile-menu { display: inline-grid; }
  .app__body, .app.sidebar-collapsed .app__body { margin-left: 0; }
  .app.sidebar-collapsed .sidebar { width: min(86vw, 310px); }
  .app.sidebar-collapsed .brand__text, .app.sidebar-collapsed .nav__link span, .app.sidebar-collapsed .nav__section, .app.sidebar-collapsed .version-link span { display: initial; }
  .app.sidebar-collapsed .nav__link { justify-content: flex-start; padding-inline: 12px; }
  .topbar { height: 64px; padding-inline: 12px; }
  .breadcrumbs { display: none; }
  .global-search { width: auto; min-width: 0; flex: 1; }
  .global-search__results { position: fixed; top: 61px; right: 10px; left: 10px; max-height: 72vh; }
  .user-chip span, .user-chip > i { display: none; }
  .main { padding: 20px 14px 28px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 15px; }
  .metric:last-child { grid-column: 1 / -1; }
  .field, .field--third, .field--quarter { grid-column: 1 / -1; }
  .dialog__body { padding: 17px; }
  .cover-editors { grid-template-columns: 1fr; }
  .cover-editor-panel > p { min-height: 0; }
  .expense-detail__toolbar { align-items: stretch; flex-direction: column; }
  .expense-detail__toolbar .button { justify-content: center; }
  .expense-task { grid-template-columns: auto minmax(0, 1fr); }
  .expense-task__actions { grid-column: 2; }
  .expense-task--subtask { margin-left: 18px; }
  .update-notice { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .update-notice .button { grid-column: 1 / -1; width: 100%; }
  .update-notice + .toast-region { bottom: 166px; }
  .table-wrap table[data-mobile-cards] thead { display: none; }
  .table-wrap table[data-mobile-cards], .table-wrap table[data-mobile-cards] tbody, .table-wrap table[data-mobile-cards] tr, .table-wrap table[data-mobile-cards] td { display: block; width: 100%; }
  .table-wrap table[data-mobile-cards] tr { margin: 10px; width: calc(100% - 20px); border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
  .table-wrap table[data-mobile-cards] td { padding: 9px 13px 9px 44%; border: 0; position: relative; }
  .table-wrap table[data-mobile-cards] td::before { content: attr(data-label); position: absolute; left: 13px; width: 39%; color: var(--muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; }
  .table-wrap table[data-mobile-cards] .actions-cell { position: static; padding-left: 13px; background: var(--surface-2); }
  .table-wrap table[data-mobile-cards] .actions-cell::before { display: none; }
}

@media (max-width: 430px) {
  .attachment-viewer > header strong { max-width: 32vw; }
  .attachment-viewer-tools [data-zoom="out"], .attachment-viewer-tools [data-zoom="in"] { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric:last-child { grid-column: auto; }
  .vehicle-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.vehicle-toolbar { margin-bottom: 16px; padding: 12px 14px; display: flex; align-items: end; gap: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.vehicle-toolbar .field { margin: 0; min-width: 0; }
.vehicle-toolbar__company { flex: 1 1 260px; }
.vehicle-toolbar__sort { flex: 0 1 200px; }
.vehicle-toolbar__direction { flex: 0 0 136px; }
.vehicle-toolbar .page-actions { flex: 0 0 auto; width: auto; flex-wrap: nowrap; gap: 6px; }
.vehicle-toolbar__actions .button { flex: 0 0 auto; min-height: 42px; padding: 9px 12px; white-space: nowrap; }
.table-sort { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; color: inherit; background: transparent; font: inherit; text-transform: inherit; cursor: pointer; }
.table-sort:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.vehicle-table td { min-width: 120px; overflow-wrap: anywhere; }
.vehicle-table th.actions-cell { background: var(--surface-2); }
.vehicle-table tbody tr:hover .actions-cell { background: var(--surface); }
.form-error { margin-bottom: 18px; padding: 16px; border: 1px solid var(--danger); border-radius: 10px; color: var(--text); background: var(--danger-soft); }
dialog .toast-region { bottom: 18px; pointer-events: none; }
@media (max-width: 760px) {
  .vehicle-toolbar { flex-wrap: wrap; }
  .vehicle-toolbar__company { flex-basis: 100%; }
  .vehicle-toolbar__sort { flex: 1 1 150px; }
  .vehicle-toolbar__direction { flex-basis: 136px; }
  .vehicle-toolbar .page-actions { flex-wrap: wrap; }
  .vehicle-table td { min-width: 0; }
}

/* Columnas personales y odómetro de la ficha. */
.column-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding: 0; margin: 20px 0; border: 0; }
.column-options label { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--text); cursor: pointer; }
.column-options input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--primary); }
.detail-hero { flex-wrap: wrap; color: var(--text); background: linear-gradient(120deg, var(--surface-2), var(--primary-soft)); border: 1px solid var(--border); }
.detail-hero p { color: var(--muted); }
.detail-hero__media { color: var(--primary); border-color: var(--border); background: var(--surface-3); }
.odometer { margin-left: auto; padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: inset 0 1px 0 var(--surface-2), var(--shadow); }
.odometer__label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.odometer__label i { color: var(--primary); }
.odometer__reading { flex-wrap: wrap; margin: 9px 0 6px; display: flex; align-items: baseline; gap: 7px; }
.odometer__digits { min-width: 0; display: flex; gap: 3px; }
.odometer__digit { position: relative; display: grid; place-items: center; width: 27px; height: 38px; border: 1px solid var(--border); border-radius: 4px; font: 700 1.5rem ui-monospace, Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--text); background: linear-gradient(var(--surface-3), var(--surface) 48%, var(--surface-2) 52%, var(--surface-3)); box-shadow: inset 0 2px 4px color-mix(in srgb, var(--text) 12%, transparent); }
.odometer__digit::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid color-mix(in srgb, var(--border) 65%, transparent); }
.odometer__decimal { color: var(--muted); font: 700 .9rem ui-monospace, Consolas, monospace; }
.odometer__unit { color: var(--primary); font-weight: 750; font-size: .85rem; }
.odometer__caption { color: var(--muted); font-size: .68rem; }
@media (max-width: 760px) {
  .odometer { margin-left: 0; width: 100%; }
  .odometer__digit { width: clamp(20px, 5vw, 27px); }
}

.vehicle-general-layout { align-items: start; }
.vehicle-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 9px; margin: 0; }
.vehicle-details__item { min-width: 0; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); }
.vehicle-details dt { margin-bottom: 6px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .025em; }
.vehicle-details dd { margin: 0; color: var(--text); font-size: .9rem; font-weight: 650; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.45; }
.vehicle-details__item--wide { grid-column: 1 / -1; }
.detail-order-list { list-style: none; margin: 15px 0; padding: 0; display: grid; gap: 5px; }
.detail-order-list li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); }
.detail-order-list li > span { flex: 1; font-size: .88rem; font-weight: 600; }
.detail-order-list .is-dragging { border-color: var(--primary); background: var(--primary-soft); box-shadow: var(--shadow); }
.detail-order-handle { touch-action: none; cursor: grab; }
.detail-order-handle:active { cursor: grabbing; }
.vehicle-presence { position: fixed; z-index: 32; top: 85px; right: 20px; max-width: min(340px, calc(100vw - 40px)); display: flex; gap: 12px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.vehicle-presence > i { color: var(--primary); padding-top: 3px; }
.vehicle-presence strong { display: block; font-size: .74rem; }
.vehicle-presence span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
@media (max-width: 480px) { .vehicle-details { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vehicle-presence { top: 78px; right: 12px; max-width: calc(100vw - 24px); } }

.column-order-choice { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 7px 0; color: var(--text); font-size: .88rem; font-weight: 600; }
.column-order-choice input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--primary); }
.column-order-choice span { overflow-wrap: anywhere; }

@media (min-width: 761px) and (max-width: 1100px) {
  .vehicle-toolbar { flex-wrap: wrap; }
  .vehicle-toolbar__company { flex: 1 1 240px; }
  .vehicle-toolbar__sort { flex: 1 1 170px; }
}

.vehicle-toolbar__company .ts-control { height: 42px; flex-wrap: nowrap; overflow-x: auto; }
.vehicle-toolbar__company .ts-control > .item { flex: 0 0 auto; white-space: nowrap; }
