/* Travelnation Cars — shared interface, 2026-11-02.
 * Polish guided by unslop, Damir Sokolovsky (@heydamir), CC BY 4.0.
 * https://github.com/heydamir/unslop — see .docs/UNSLOP.md.
 * Loaded after component styles. Keep structural rules, data and semantic colors.
 */
:root {
  --bg: #fff;
  --bg-alt: #f6f7f7;
  --card: #fff;
  --fg: #192224;
  --fg-soft: #4d585b;
  --fg-mute: #657174;
  --line: #dfe4e4;
  --accent: #0f766e;
  --accent-ink: #0b5c55;
  --brand: #0f766e;
  --radius: 16px;
  --shadow: 0 2px 8px rgb(25 34 36 / 5%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sp: 24px;
}
body { font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4, strong, b { font-weight: 600; }
h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.015em; }
h3, h4 { letter-spacing: 0; }
button, input, select, textarea { font-family: inherit; }
button, .btn { touch-action: manipulation; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tag, .answer-label, .section-label, dl.specs dt, table th,
table.data thead th, footer.site h2 {
  text-transform: none; letter-spacing: 0; font-weight: 500;
}
.tag, .answer-label, .section-label { font-size: 13px; }
.tag { color: var(--fg-mute); margin-bottom: 8px; }
.note { color: var(--fg-mute); }
header.site { background: var(--card); backdrop-filter: none; }
.bar { min-height: 64px; gap: 12px; }
.logo { font-weight: 600; letter-spacing: -.015em; }
.nav a { font-size: 14px; padding: 8px 12px; }
.langs summary { border-radius: 8px; background: var(--card); }
.langs nav { padding: 8px; }
.btn, .btn.sm {
  gap: 8px; padding: 10px 16px; min-height: 44px; border-radius: 8px;
  font-size: 15px; line-height: 1.4; font-weight: 500; box-shadow: none;
  transition: color 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease);
}
.btn.primary { box-shadow: none; }
.btn.primary:hover { background: var(--accent-ink); filter: none; }
.btn:active { transform: none; }
.btn.ghost:hover { background: var(--bg-alt); border-color: #a5b8b5; }
.cta { gap: 12px; margin-top: 24px; }
.hero { padding: 48px 0 32px; }
.hero h1 { max-width: 24ch; margin-bottom: 24px; }
.hero .lead { max-width: 62ch; font-size: 19px; line-height: 1.6; margin-bottom: 24px; }
.hero .cta a[href^="mailto:"] { border-color: transparent; background: transparent; color: var(--fg-soft); }
.badges { gap: 8px 24px; margin-bottom: 0; }
.badges li { padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 400; }
.badges li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 3px 0; border-radius: 50%; background: var(--accent); }
.band { padding-block: 48px; }
.band.cars { padding-top: 24px; }
.sub { font-size: 16px; margin-top: 0; }
/* Separate the home facts heading from the summary above it. */
.answer + .facts-heading { margin-block-start: 32px; }
.card, .carousel .card { border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.card, .hero.car { --accent: var(--brand) !important; }
.carousel { margin: 24px 0 16px; }
.carousel .card { transition: border-color 140ms var(--ease); }
.carousel .card:hover { translate: none; border-color: #a5b8b5; box-shadow: none; }
.card-art, .carousel .card-art.photo { background: #f5f7f7; text-shadow: none; }
.carousel .card-art.photo::before { display: none; }
.carousel .card-art.photo img { transition: none; }
.carousel .card:hover .card-art.photo img { scale: none; }
.card-body, .carousel .card-body { padding: 24px; }
.card-body .tag { color: var(--accent-ink); font-size: 12px; line-height: 1.5; }
.card-body h3, .carousel .card-body h3 { font-size: 22px; margin-bottom: 12px; }
.price strong { font-size: 26px; letter-spacing: -.02em; }
.price span, .price-sub { font-size: 14px; }
.price-sub { margin: 8px 0 20px; }
.price strong, .price-big strong, td, dd, .money { font-variant-numeric: tabular-nums; }
dl.specs { padding-block: 16px; gap: 12px 16px; }
dl.specs dt { font-size: 12px; }
dl.specs dd { font-size: 14px; font-weight: 500; }
.carousel-arrow { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; backdrop-filter: none; box-shadow: var(--shadow); transition: color 140ms var(--ease), background-color 140ms var(--ease); }
.carousel-arrow:hover:not(:disabled), .carousel-arrow:active:not(:disabled) { scale: none; }
.carousel-arrow:hover:not(:disabled)::before { translate: none; }
.carousel-arrow[data-direction="-1"] { left: calc(var(--gut) - 22px); }
.carousel-arrow[data-direction="1"] { right: max(var(--sp), calc(var(--gut) - 22px)); }
.tile, .grid li, .other-cars, .answer { padding: 24px; }
.tile { transition: border-color 140ms var(--ease); }
.tile:hover { transform: none; }
.grid, .tiles { gap: 16px; margin-top: 24px; }
.num { width: 28px; height: 28px; border-radius: 6px; background: var(--bg-alt); color: var(--accent-ink); font-weight: 500; }
.qa { padding-block: 24px; }
.qa h2 { font-weight: 600; }
table.data th, table.data td { padding: 12px 16px; }
footer.site { padding: 48px 0 24px; }
footer.site h2 { font-size: 14px; font-weight: 600; }
.rv-form { gap: 16px; }
.dot::before { transition: background-color 140ms var(--ease); }

/* Working screens: neutral surfaces, compact navigation, content first. */
.has-sidebar { --sidebar-width: 248px; --sidebar-rail-width: 64px; background: var(--bg-alt); font-size: 15px; }
.has-sidebar.nav-collapsed { --sidebar-width: var(--sidebar-rail-width); }
.has-sidebar > header.site .bar { padding-block: 8px; }
.has-sidebar .logo-txt { font-size: 16px; }
.has-sidebar .logo-mark { width: 28px; }
.nav-drawer-head { padding: 16px; gap: 8px; border-bottom: 0; }
.nav-drawer-title { font-size: 13px; font-weight: 500; }
.nav-toggle-btn { border-radius: 8px; width: 36px; height: 36px; }
.nav-toggle-btn[aria-expanded="true"] { background: var(--bg-alt); color: var(--fg-soft); border-color: var(--line); }
.nav-drawer-label { margin: 16px 24px 8px; font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.nav-drawer-link { min-height: 36px; margin: 2px 12px; padding: 8px 12px; border-radius: 8px; gap: 8px; font-size: 14px; line-height: 20px; }
.nav-drawer-link svg, .nav-toggle-btn svg, .vehicles-icon-btn svg { width: 18px; height: 18px; stroke-width: 1.5; }
.nav-drawer-link.active { background: #edf3f2; font-weight: 500; }
.nav-drawer-link.active::before { width: 2px; top: 8px; bottom: 8px; }
.nav-drawer-footer { padding-top: 24px; }
.nav-drawer-footer .nav-drawer-link { font-size: 13px; padding-top: 12px; }
.nav-collapsed .nav-drawer-link { margin-inline: 12px; }
.has-sidebar h1, .stats-head h1, .vehicles-page h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.has-sidebar h2 { font-weight: 600; }
.has-sidebar .tag { color: var(--fg-mute); }
.vehicles-page, .workshop { padding: 32px; }
.vehicles-heading, .vehicles-filters { margin-bottom: 24px; gap: 16px; }
.vehicles-heading-actions, .clients-actions { gap: 8px; }
.vehicles-page .note, .vehicles-definition, .workshop .w-lead { font-size: 13px; line-height: 1.6; }
.vehicles-scopes, .vehicles-history-tabs, .m-tabs, .chart-mode-tabs { gap: 4px; padding: 4px; border-radius: 10px; background: #e9eded; }
.vehicles-scope, .vehicles-history-tabs [role="tab"], .m-tabs button, .chart-mode-tab {
  min-height: 36px; padding: 8px 12px; border: 1px solid transparent; border-radius: 6px;
  background: transparent; color: var(--fg-soft); font-size: 13px; line-height: 18px; font-weight: 500;
}
.vehicles-scope[aria-pressed="true"], .vehicles-history-tabs [aria-selected="true"], .m-tabs button[aria-selected="true"], .chart-mode-tab.active {
  background: var(--card); color: var(--accent-ink); border-color: var(--line); box-shadow: none;
}
.vehicles-kpis, .m-kpis, .w-stats { gap: 16px; margin: 0 0 24px; }
.vehicles-kpi, .vehicle-card, .vehicles-panel, .rental-car, .w-stats article { padding: 24px; border-color: var(--line); border-radius: 16px; box-shadow: none; }
.vehicles-kpi-result { background: var(--card); border-top: 2px solid var(--accent); }
.vehicles-kpi-label { font-size: 13px; }
.vehicles-kpi strong, .vehicles-page:not(.rental-page) .vehicles-kpi strong, .rental-page .vehicles-kpi strong, .m-kpis strong { font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; letter-spacing: -.02em; margin: 8px 0; }
.vehicles-kpi small { font-size: 12px; }
.vehicles-cars { gap: 24px; margin: 16px 0 32px; }
.vehicle-card-head { gap: 16px; margin-bottom: 24px; }
.vehicle-card h3 { font-size: 20px; }
.vehicle-card-link { font-size: 13px; }
.vehicle-card dl { gap: 16px; }
.vehicle-card dt { font-size: 12px; }
.vehicle-card dd, .rental-car dd { font-size: 22px; font-weight: 600; margin-top: 4px; }
.vehicle-card-main { gap: 16px; }
.vehicle-recovery { gap: 8px; }
.recovery-fill { stroke: var(--accent); }
.recovery-value { font-weight: 600; }
.vehicle-recovery-info h4 { font-size: 12px; }
.vehicle-recovery-info small { font-size: 11px; }
.vehicle-card-footer { gap: 16px; margin-top: 24px; padding-top: 16px; }
.vehicle-card .vehicle-card-footer .vehicle-card-foot { font-size: 12px; }
.vehicle-card-actions { gap: 8px; flex-wrap: wrap; }
.vehicle-card-actions .btn { font-size: 13px; font-weight: 500; padding: 8px 12px; min-height: 36px; }
.vehicle-card-actions .vehicle-add-expense { background: var(--card); color: var(--fg-soft); border-color: var(--line); }
.vehicle-card-actions .vehicle-add-expense:hover { background: var(--bg-alt); border-color: #a5b8b5; }
.vehicle-card-actions .vehicle-add-income { background: var(--accent); border-color: var(--accent); }
.vehicle-card-actions .vehicle-add-income:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.vehicles-panel h2, .vehicles-section-head h2 { font-size: 18px; }
.vehicles-breakdown-total, .equipment-card-total, .equipment-summary strong, .kristina-grid .money { font-size: 28px; font-weight: 600; }
.equipment-card-categories { gap: 16px; margin-top: 8px; }
.equipment-card-categories strong, .rental-recovery strong { font-weight: 600; }
.equipment-dashboard { gap: 8px; box-shadow: none; }
.equipment-dashboard:hover { box-shadow: none; }
.vehicles-table, .m-table, .m-journal .m-table, .w-table table { font-size: 13px; }
.vehicles-table th, .vehicles-table td, .m-table th, .m-table td { padding: 12px 16px; }
.vehicles-table th, .m-table th { background: var(--bg-alt); font-size: 12px; font-weight: 500; color: var(--fg-mute); }
.vehicles-source-link, .vehicles-source-local { font-size: 11px; margin-top: 4px; }
.vehicles-kind, .m-badge, .rental-badge { font-size: 12px; border-radius: 6px; padding: 4px 8px; }
.vehicles-icon-btn { width: 36px; height: 36px; padding: 8px; }
.vehicles-field, .m-filters label, .m-form-grid label { font-size: 13px; font-weight: 500; gap: 8px; }
.vehicles-field input, .vehicles-field select, .vehicles-field textarea,
.m-filters input, .m-filters select, .m-form-grid input, .m-journal-filters input, .m-journal-filters select,
.m-profit-controls select, .range-picker select, .chart-year select, .w-filter input {
  border-color: #bdc8c8; border-radius: 8px; min-height: 40px; padding: 8px 12px; color: var(--fg); font-size: 14px;
}
/* Retain room for the shared select chevron. */
.has-sidebar select:not([multiple]) { padding-right: 36px; }
.m-panel-head, .m-balance-grid, .m-form-grid { gap: 24px; }
.m-panel-head { margin-bottom: 24px; }
.m-tabs { margin-block: 24px; }
.m-table .m-group td, .m-profit-table .m-group th, .m-profit-table tbody .m-group td { background: #eef1f1; color: var(--fg-soft); font-weight: 600; }
.m-table .m-total td, .m-profit-table .m-total th, .m-profit-table .m-year-total { background: #f1f6f4; font-weight: 600; }
.m-table-wrap { border-color: var(--line); border-radius: 12px; margin-block: 16px; }
.m-balance-grid h3 { font-size: 16px; }
.m-callout { padding: 16px; margin-block: 16px; border-radius: 12px; }
.m-chart { gap: 16px; margin-block: 24px; }
.m-chart-track { height: 8px; }
.m-methods summary { font-weight: 500; }
.rental-page section { margin-bottom: 24px; }
.rental-car dl > div { padding-block: 12px; }
.rental-car h3 { font-size: 20px; }
.rental-car small { font-size: 12px; }
.rental-bar { background: var(--accent); }
.rental-track.external .rental-bar { background: #3c7194; }
.rental-track.external .rental-track-label { color: #305e7c; }
.rental-month b { font-weight: 600; }
.w-total { padding: 24px; border-radius: 16px; margin-block: 24px; border-left: 2px solid var(--accent); }
.w-total strong { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; letter-spacing: -.02em; margin-block: 8px; }
.w-stats strong { margin-top: 8px; font-weight: 600; }
.w-table { padding: 24px; border-radius: 16px; overflow: auto; }
.w-table th:first-child, .w-table td:first-child { min-width: 200px; max-width: 320px; white-space: normal; }
.w-table th:nth-child(n+3):nth-child(-n+7), .w-table td:nth-child(n+3):nth-child(-n+7) { text-align: right; }
.w-filter { margin-block: 24px; }
.w-tool-name { color: var(--accent-ink); text-decoration: underline; text-decoration-color: #b8cdca; text-underline-offset: 4px; }
.clients-head { padding: 32px 8px 24px; }
.board-wrap { padding-inline: 32px; }
.board { gap: 16px; }
.client-column { box-shadow: none; background: #eef1f1; border-color: var(--line); border-radius: 12px; }
.client-column-head { padding: 16px; }
.client-column-head h3 { font-size: 14px; font-weight: 600; }
.client-column-cards { padding: 12px; gap: 12px; }
.client-card { background: var(--card); border-radius: 8px; box-shadow: none; transition: border-color 140ms var(--ease); }
.client-card:hover { transform: none; box-shadow: none; border-color: #a5b8b5; }
.client-card-cover { height: 4px; }
.client-card-body { padding: 12px; }
.client-card-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.client-card-meta, .client-card-notes { font-size: 12px; }
.client-card-meta { gap: 4px; }
.add-card-btn { margin: 0 12px 12px; min-height: 36px; padding: 8px; }
.cover-ocean { background: #5d94a6; } .cover-sunset { background: #bf8966; }
.cover-violet { background: #9b8aa5; } .cover-emerald { background: #6a9989; }
.cover-blue { background: #7295ba; } .cover-graphite { background: #737f88; }
.cover-warm { background: #b98998; }
.cover-swatch { width: 32px; height: 32px; border-radius: 8px; }
.modal, .vehicles-dialog, #rental-dialog, #m-edit, #m-balance-dialog, #k-contract-dialog, #k-income-dialog {
  padding: 24px; border-radius: 16px; border-color: var(--line); box-shadow: 0 16px 48px rgb(25 34 36 / 16%); color: var(--fg);
}
.vehicles-dialog h2, .modal h2 { font-size: 22px; }
.vehicles-dialog input:not([type="checkbox"]):not([type="hidden"]), .vehicles-dialog select, .vehicles-dialog textarea {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 8px 12px;
  border: 1px solid #bdc8c8; border-radius: 8px; background-color: var(--card); color: var(--fg); font: inherit;
}
.vehicles-form-actions, .modal-actions, .modal-actions-right, .rental-form-actions { gap: 8px; margin-top: 24px; }
.vehicles-dialog::backdrop { background: rgb(25 34 36 / 40%); backdrop-filter: none; }

/* Analytics: figures first, one shared period control, quiet supporting panels. */
.stats-head { padding: 32px 0 24px; background: var(--card); }
.has-sidebar .stats-head .wrap, .stats-page > .wrap { max-width: 1440px; padding-inline: 32px; }
.stats-head .wrap { gap: 24px; align-items: end; }
.stats-head h1 { margin-bottom: 8px; }
.stats-actions { gap: 8px; }
.stats-site-tabs { padding-top: 16px; gap: 16px; }
.stats-site-tab { padding: 12px 0; font-size: 14px; font-weight: 500; border-bottom-width: 2px; }
.stats-dashboard { gap: 24px; padding-block: 24px 48px; }
.stats-dashboard-content { gap: 24px; }
.stats-grid { gap: 0; margin: 16px 0 0; border: 1px solid var(--line); background: var(--card); border-radius: 12px; overflow: hidden; }
.stat-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 24px; box-shadow: none; }
.stat-card strong { font-size: 32px; font-weight: 600; color: var(--fg); letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat-card:first-child strong { color: var(--accent-ink); }
.stat-card span { font-size: 13px; }
.stat-card small { font-size: 12px; margin-top: 8px; }
.analytics-panel { border-radius: 12px; padding: 24px; box-shadow: none; }
.analytics-panel h2, .stats-dashboard section > h2, .panel-title h2 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.analytics-columns { gap: 16px; }
.charts-toolbar { padding: 12px 16px; border-radius: 12px; gap: 12px; }
.chart-year { font-size: 13px; font-weight: 500; gap: 8px; }
.daily-visitors-panel { grid-template-columns: minmax(200px, .32fr) minmax(0, 1fr); gap: 32px; border-left-width: 2px; }
.daily-visitors-summary h2 { font-size: 20px; margin: 0; }
.daily-visitors-summary h2 strong { font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.daily-visitors-summary .note { font-size: 13px; margin-top: 8px; }
.daily-visitors-chart { min-height: 156px; gap: 4px; }
.daily-visitor-day { grid-template-rows: 128px 24px; }
.daily-visitor-day > div { height: 128px; border-bottom: 1px solid var(--line); }
.daily-visitor-day i { background: var(--accent); border-radius: 3px 3px 0 0; }
#whatsapp-clicks-chart { min-height: 124px; }
#whatsapp-clicks-chart .daily-visitor-day { grid-template-rows: 96px 24px; }
#whatsapp-clicks-chart .daily-visitor-day > div { height: 96px; }
.daily-visitor-day time, .trend-day time, .chart-date-label, .hours-chart span { font-size: 11px; font-variant-numeric: tabular-nums; }
.whatsapp-tab { font-size: 12px; font-weight: 500; padding: 8px 12px; min-height: 36px; border-radius: 8px; }
.whatsapp-tab.active { background: #edf3f2; color: var(--accent-ink); border-color: #a5b8b5; }
.legend { font-size: 12px; }
.trend-bars .views, .legend .views { background: #9fbbc6; }
.dimension-row { gap: 12px; margin-block: 12px; }
.dimension-row > div { height: 6px; }
.dimension-row strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.dimension-row > span { font-size: 13px; }
.funnel-step { gap: 12px; margin-block: 16px; }
.funnel-step i { height: 6px; }
.funnel-step > span { border-radius: 6px; font-weight: 500; }
.insights-panel { background: var(--card); border-left: 2px solid var(--accent); }
.car-analytics dt { font-size: 11px; }
.car-analytics dd { font-size: 14px; font-weight: 600; }
.stats-page table { font-size: 13px; }
.stats-page th { font-size: 12px; font-weight: 500; text-transform: none; }
.stats-page td, .stats-page th { padding: 12px; }
#stats-coverage { border-left-width: 2px; padding: 16px; font-size: 13px; background: #eef1f1; }
#stats-legacy { padding: 16px 24px; background: transparent; }
#stats-legacy summary { font-size: 14px; font-weight: 500; }
.login-card { padding: 32px; max-width: 400px; border-radius: 16px; box-shadow: none; }
.login-card h1 { font-size: 24px; }
.login-card input { min-height: 44px; border-radius: 8px; }

/* The Telegram catalog uses the same materials and controls. */
.miniapp { --ink: var(--fg); --soft: var(--fg-mute); --green: var(--accent); }
.miniapp .hero { background: var(--card); color: var(--fg); padding: calc(32px + env(safe-area-inset-top)) 24px 24px; border-radius: 0; border-bottom: 2px solid var(--accent); }
.miniapp .eyebrow { font-size: 12px; letter-spacing: 0; font-weight: 500; opacity: 1; color: var(--fg-mute); text-transform: none; }
.miniapp .hero h1 { font-size: 32px; margin: 16px 0; }
.miniapp .perks { gap: 8px 16px; margin-top: 24px; }
.miniapp .perks span { background: none; border: 0; border-radius: 0; padding: 0; color: var(--fg-soft); }
.miniapp .catalog, .miniapp .details { padding: 24px 16px 0; }
.miniapp .cars { gap: 16px; }
.miniapp .card-body { padding: 16px; }
.miniapp .price { font-size: 24px; font-weight: 600; }
.miniapp .actions a, .miniapp .actions button, .miniapp .submit { border-radius: 8px; font-weight: 500; min-height: 44px; }
.miniapp label { font-weight: 500; margin: 16px 0; }
.miniapp dialog { border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 16px 48px rgb(25 34 36 / 16%); }

@media (min-width: 760px) {
  .stats-grid .stat-card:nth-child(4n) { border-right: 0; }
  .stats-grid .stat-card:nth-last-child(-n+4) { border-bottom: 0; }
}
@media (max-width: 1100px) {
  .daily-visitors-panel { grid-template-columns: 1fr; gap: 24px; }
  .vehicle-card, .vehicles-panel { padding: 20px; }
}
@media (pointer: coarse), (max-width: 700px) {
  .btn, .btn.sm, .nav-drawer-link, .nav-toggle-btn, .vehicles-scope,
  .vehicles-history-tabs [role="tab"], .chart-mode-tab, .whatsapp-tab, .m-tabs button,
  .vehicle-card-actions .btn, .vehicles-icon-btn, .cover-swatch, .add-card-btn { min-height: 44px; }
  .nav-toggle-btn, .vehicles-icon-btn, .cover-swatch { min-width: 44px; }
  .has-sidebar input, .has-sidebar select, .has-sidebar textarea { font-size: 16px; }
}
@media (max-width: 700px) {
  :root { --sp: 20px; }
  .hero { padding: 32px 0 24px; }
  .hero h1 { margin-bottom: 20px; font-size: 32px; }
  .hero .lead { font-size: 17px; line-height: 1.6; margin-bottom: 20px; }
  .hero .cta { gap: 8px; }
  .band { padding-block: 32px; }
  .card-body, .carousel .card-body, .tile, .grid li, .other-cars, .answer { padding: 20px; }
  .card-body h3 { font-size: 21px; }
  .has-sidebar { --sidebar-rail-width: 56px; }
  .has-sidebar .logo-txt { font-size: 14px; }
  .has-sidebar .logo-mark { width: 24px; }
  .has-sidebar > header.site .bar { padding-inline: 16px; gap: 8px; }
  .has-sidebar > header.site .btn { font-size: 12px; padding-inline: 8px; }
  .nav-collapsed .nav-drawer-link { margin-inline: 4px; }
  .nav-collapsed .nav-drawer-head { padding-inline: 4px; }
  .nav-drawer-head { padding-block: 12px; }
  .vehicles-page, .workshop { padding: 24px 16px; }
  .has-sidebar .stats-head .wrap, .stats-page > .wrap { padding-inline: 16px; }
  .has-sidebar h1, .stats-head h1, .vehicles-page h1 { font-size: 26px; }
  .vehicles-kpi, .vehicle-card, .vehicles-panel, .rental-car, .w-total, .w-table, .w-stats article, .analytics-panel { padding: 16px; }
  .vehicle-card-head { flex-wrap: nowrap; margin-bottom: 20px; }
  .vehicle-card-head > div { flex-basis: auto; }
  .vehicle-card-head img { margin: 0; }
  .vehicle-card h3 { font-size: 18px; }
  .vehicle-card-main { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
  .vehicle-card dd { font-size: 20px; }
  .vehicle-recovery-info h4 { font-size: 11px; }
  .vehicle-recovery-info small { font-size: 11px; }
  .vehicle-card-actions { width: 100%; margin-left: 0; }
  .vehicle-card-actions .btn { flex: 1; white-space: normal; font-size: 12px; }
  .vehicles-history-tabs { flex-wrap: wrap; }
  .vehicles-history-tabs [role="tab"] { padding-inline: 12px; flex: 1 1 auto; }
  .vehicles-dialog, .modal, #rental-dialog, #m-edit, #m-balance-dialog, #k-contract-dialog, #k-income-dialog { padding: 20px; }
  .vehicles-form-grid, .m-form-grid { grid-template-columns: 1fr; }
  .clients-head { padding: 24px 0; }
  .clients-head-inner, .board-wrap { padding-inline: 16px; }
  .client-column { flex-basis: min(280px, calc(100vw - 104px)); width: min(280px, calc(100vw - 104px)); }
  .stats-head { padding: 24px 0; }
  .stats-grid { margin-top: 12px; }
  .stat-card { padding: 16px; }
  .stat-card strong { font-size: 28px; }
  .stat-card:nth-child(2n) { border-right: 0; }
  .stat-card:nth-last-child(-n+2) { border-bottom: 0; }
  .stats-actions .btn { font-size: 13px; }
  .daily-visitors-chart { min-height: 140px; }
  .daily-visitor-day { grid-template-rows: 112px 24px; }
  .daily-visitor-day > div { height: 112px; }
  .charts-toolbar { padding: 8px; }
  .chart-mode-tabs { width: 100%; }
  .chart-mode-tab { flex: 1; padding-inline: 8px; white-space: normal; font-size: 12px; }
  .chart-year { margin: 0 8px 8px; }
  #stats-legacy { padding: 12px 16px; }
}
@media (max-width: 420px) {
  .has-sidebar .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { padding: 12px; }
  .stat-card small { font-size: 11px; }
  .stat-card strong { font-size: 24px; }
  .stats-site-tabs { gap: 12px; }
  .stats-site-tab { font-size: 13px; }
  .vehicle-card-main { grid-template-columns: minmax(0, 1fr); }
  .vehicle-recovery { max-width: 160px; margin: 8px auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
