/* Independent Fuhrpark application shell. */
.fleet-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "header" "main"; }
.fleet-shell .main { grid-column: 1 / -1; min-width: 0; }
.fleet-shell-header { flex-wrap: wrap; height: auto; min-height: 92px; gap: 1rem; padding: .5rem clamp(1rem, 2.2vw, 2rem); border-top: 3px solid var(--brand-yellow); background: var(--surface); box-shadow: 0 4px 20px #030D1608; }
.fleet-shell-header .header-title { display: flex; align-items: center; gap: 1.25rem; flex: 1 1 auto; min-width: 0; }
.brand-logo-surface { flex: 0 0 auto; width: 208px; max-width: 100%; padding: 7px 8px; background: #FFFFFF; border: 1px solid #DFE8F0; border-radius: 8px; color-scheme: light; }
html.light .fleet-brand .brand-logo-surface { border-color: transparent; }
.brand-logo { display: block; width: 100%; height: auto; }
.fleet-brand-title { display: block; padding-left: 1.25rem; border-left: 1px solid var(--border); font-size: calc(1rem * var(--fleet-font-scale, 1)); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.fleet-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .65rem; min-width: 0; }
.fleet-header-actions > .icon-btn { width: 44px; min-height: 44px; flex: 0 0 44px; border: 1px solid var(--border); background: var(--surface2); }
.fleet-shell .user-menu { min-width: 0; max-width: 100%; padding: 0; }
.fleet-shell .user-menu > .btn { display: flex; align-items: center; gap: .5rem; min-height: 44px; min-width: 0; max-width: 100%; }
.fleet-shell .user-menu > .btn > span:not(.avatar) { min-width: 0; max-width: 20ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fleet-shell .avatar { flex-shrink: 0; }
.fleet-shell .dropdown { width: max-content; max-width: calc(100vw - 32px); background: var(--surface); }
.fleet-shell .dropdown button { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 44px; text-align: left; white-space: normal; overflow-wrap: anywhere; background: none; border: 0; border-radius: var(--radius-sm); color: inherit; padding: .65rem 1rem; cursor: pointer; font: inherit; }
.fleet-shell .dropdown button:hover { background: var(--surface3); }
.fleet-font-settings { width:280px; max-width:100%; padding:.85rem 1rem; border-bottom:1px solid var(--border); }
.fleet-font-settings label { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; font-weight:600; }
.fleet-font-settings output { font-variant-numeric:tabular-nums; color:var(--accent); }
.fleet-font-settings input[type=range] { display:block; width:100%; min-height:44px; padding:0; accent-color:var(--accent); cursor:pointer; }
.fleet-font-settings p { margin:.2rem 0 0; font-size:calc(12px * var(--fleet-font-scale, 1)); color:var(--muted); overflow-wrap:anywhere; }
input:not(:where([type=checkbox], [type=radio], [type=color], [type=range])), select { height:auto; min-height:calc(44px * var(--fleet-font-scale, 1)); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.login-brand { width: 100%; max-width: 300px; margin: 0 auto 1.75rem; padding: 14px; }
.login-card { background: var(--surface); border-color: var(--border-soft); border-top: 3px solid var(--brand-yellow); }
.login-card h1 { font-size: calc(1.6rem * var(--fleet-font-scale, 1)); letter-spacing: -.035em; margin-bottom: .4rem; }
.login-form label { display: grid; gap: .4rem; text-align: left; color: var(--muted); font-size: calc(.85rem * var(--fleet-font-scale, 1)); }
.login-form .btn { justify-content: center; min-height: 46px; margin-top: .5rem; }
.login-card > .btn { margin-top: .5rem; }
.fleet-management { width: min(620px, 100%); }
.fleet-management fieldset { border: 0; padding: 0; min-width: 0; }
.fleet-management-form { display: grid; gap: .7rem; margin-bottom: 1.4rem; }
.fleet-management label { display: grid; gap: .4rem; margin: .6rem 0; }
.fleet-management input, .fleet-management select { width: 100%; min-width: 0; }
.fleet-management-actions, .fleet-management-row { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.fleet-management-row { border-bottom: 1px solid var(--border); padding: .75rem 0; }
.fleet-management-row > span { min-width: 0; overflow-wrap: anywhere; }
.fleet-management-row small { display: block; color: var(--muted); }
.fleet-management-group { padding-top: 1rem; }
.fleet-messages-toggle { display: flex; align-items: center; gap: .35rem; min-height: 44px; }
.fleet-message-count { border-radius: 999px; padding: .05rem .4rem; background: var(--brand-yellow); color: #142B40; }
.fleet-message { padding: 1rem 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.fleet-message-unread { border-left: 3px solid var(--accent); padding-left: .75rem; }
.fleet-message h3 { margin-top: .3rem; }
@media (max-width: 900px) {
  .fleet-shell-header .header-title { flex-basis: 100%; }
  .fleet-header-actions { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .fleet-shell-header { gap: .75rem; padding: .75rem 1rem; }
  .fleet-shell-header .header-title { gap: .8rem; }
  .fleet-brand .brand-logo-surface { width: 192px; max-width: 58%; padding: 7px; }
  .fleet-brand-title { padding-left: .8rem; font-size: calc(.85rem * var(--fleet-font-scale, 1)); }
  .fleet-header-actions { gap: .5rem; }
  .fleet-messages-toggle > span { display: none; }
  .fleet-shell .user-menu { margin-left: auto; max-width: calc(100% - 116px); }
  .fleet-shell .user-menu > .btn { padding-inline: .65rem; }
  .login-card { padding: 1.75rem 1.25rem; }
}

/* Dashboard and persistent area navigation; shared Todo assets stay untouched. */
/* Only paint properties change on interaction; layouts remain stationary. */
:where(.fleet-area-menu button, .dropdown button, .fleet-hint, .fleet-stats > button, .fc-event, .fc-day-targets button, .fc-hour-slot) { transition: background-color var(--motion), border-color var(--motion), color var(--motion), box-shadow var(--motion); }
:where(.glass, .fleet-card, .fleet-panel, .fleet-stats, .fleet-dashboard-card, .fleet-workspace, .fleet-calendar, .fleet-dashboard-assistant) { transition: background-color var(--motion), border-color var(--motion), color var(--motion), box-shadow var(--motion); }
.btn:active:enabled { box-shadow: inset 0 0 0 1px var(--accent); }
.fleet-workspace { border-color: var(--border-soft); }
.drawer.glass { background: var(--surface); border-left: 1px solid var(--border); }
.drawer-overlay { background: #030D1680; backdrop-filter: blur(4px); }
.drawer header { gap: 1rem; }
.drawer header h2 { min-width: 0; overflow-wrap: anywhere; }
.drawer label { display: grid; gap: .4rem; margin-bottom: .9rem; }
@media (prefers-reduced-motion: reduce) {
  :root { --motion: 0s; }
  .fleet-shell, .app-header { transition: none; }
  .drawer-overlay, .drawer { animation: none; }
}
.fleet-shell .fleet-view { display:grid; grid-template-columns:calc(220px * var(--fleet-font-scale, 1)) minmax(0,1fr); gap:28px; max-width:1440px; padding:24px; }
.fleet-content { min-width:0; }
.fleet-shell .fleet-navigation { position:sticky; top:24px; align-self:start; padding-right:16px; border-right:1px solid var(--border-soft); }
.fleet-shell #fleet-area-toggle { display:none; }
.fleet-shell .fleet-area-menu { position:static; width:auto; max-width:none; border:0; border-radius:0; padding:0; box-shadow:none; background:none; }
.fleet-shell .fleet-area-menu button { display:flex; align-items:center; gap:12px; padding:12px 14px; margin:4px 0; min-height:48px; font-size:calc(17px * var(--fleet-font-scale, 1)); font-weight:600; line-height:1.4; }
.fleet-shell .fleet-area-menu button > span { min-width:0; overflow-wrap:anywhere; }
.fleet-shell .fleet-area-menu .fleet-nav-icon { width:21px; height:21px; flex-basis:21px; }
.fleet-icon-defs { position:absolute; width:0; height:0; overflow:hidden; pointer-events:none; }
.fleet-nav-icon { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.fleet-nav-section { display:block; padding:22px 14px 8px; font-size:calc(12px * var(--fleet-font-scale, 1)); line-height:1.4; letter-spacing:.06em; font-weight:600; text-transform:uppercase; color:var(--muted); }
.fleet-area-menu > div:first-child .fleet-nav-section { padding-top:4px; }
.fleet-shell .fleet-area-menu button.active { background:var(--accent-soft); box-shadow:inset 3px 0 var(--brand-blue); color:var(--accent); }
.fleet-shell .fleet-page-heading { margin:0 0 20px; min-height:48px; }
.fleet-updated { font-size:calc(12px * var(--fleet-font-scale, 1)); margin:6px 0 0; }
.fleet-shell .fleet-dashboard { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.fleet-shell .fleet-stats { grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; gap:0; padding:12px 0; background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--radius-lg); box-shadow:var(--shadow-card); }
.fleet-shell .fleet-stats > button { gap:6px; border:0; border-radius:0; padding:6px 22px; background:none; transform:none; }
.fleet-shell .fleet-stats > button + button { border-left:1px solid var(--border); }
.fleet-shell .fleet-stats strong { font-size:calc(26px * var(--fleet-font-scale, 1)); }
.fleet-shell .fleet-stats small { display:none; }
.fleet-shell .fleet-dashboard-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:24px; }
.fleet-shell .fleet-dashboard-card { border:1px solid var(--border-soft); border-radius:var(--radius-lg); padding:20px; box-shadow:var(--shadow-card); }
.fleet-shell .fleet-dashboard-card h2 { font-size:calc(18px * var(--fleet-font-scale, 1)); }
.fleet-shell .fleet-dashboard-card .fleet-hint { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 12px; border:0; border-bottom:1px solid var(--border); border-radius:0; background:none; padding:10px 0; margin:0; overflow-wrap:anywhere; }
.fleet-shell .fleet-dashboard-card .fleet-hint > span:not(.fleet-hint-action) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fleet-shell .fleet-dashboard-card .fleet-hint > span:not(.fleet-hint-action) { grid-column:1 / -1; }
.fleet-shell .fleet-dashboard-card .fleet-hint > small { grid-column:1; }
.fleet-shell .fleet-dashboard-card .fleet-hint > .fleet-hint-action { grid-column:2; }
.fleet-card-footer { display:flex; align-items:center; gap:8px 24px; flex-wrap:wrap; }
.fleet-card-footer .btn { font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-shell .fleet-reading-notices > summary { min-height:32px; padding:6px 0; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-shell .fleet-dashboard-card .fleet-hint-urgent { border-left:0; }
.fleet-shell .fleet-hint-urgent small { color:var(--danger); }
.fleet-shell .fleet-dashboard-card .fleet-hint:hover { background:var(--surface2); }
.fleet-shell .fleet-dashboard-card .fleet-status { background:none; color:var(--muted); padding:0; }
.fleet-shell .fleet-text-link { background:none; border:0; padding:10px 0; color:var(--accent); text-align:left; white-space:normal; }
.fleet-shell .fleet-dashboard-costs, .fleet-shell .fleet-dashboard-assistant { grid-column:1 / -1; }
.fleet-shell .fleet-dashboard-costs { padding:16px 20px; }
.fleet-shell .fleet-dashboard-costs .fleet-heading p { margin:5px 0 0; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-shell .fleet-payment-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:10px 0; }
.fleet-payment-totals dt { color:var(--muted); font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-payment-totals dd { margin:6px 0 0; font-size:calc(20px * var(--fleet-font-scale, 1)); font-weight:600; overflow-wrap:anywhere; }
.fleet-cost-switch { display:flex; gap:12px; border:1px solid var(--border); border-radius:var(--radius-sm); padding:0 10px; margin:0; min-width:0; }
.fleet-cost-switch legend { font-size:calc(11px * var(--fleet-font-scale, 1)); color:var(--muted); }
.fleet-shell .fleet-cost-switch label { display:flex; flex-direction:row; gap:6px; align-items:center; min-height:40px; cursor:pointer; }
.fleet-shell .fleet-cost-switch input { width:18px; height:18px; min-height:18px; padding:0; accent-color:var(--accent); }
.fleet-cost-footer { display:flex; justify-content:space-between; align-items:start; gap:16px; }
.fleet-cost-footer details { flex:1; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-cost-footer p { line-height:1.6; max-width:620px; }
.fleet-reading-notices { font-size:calc(13px * var(--fleet-font-scale, 1)); }
.fleet-shell .fleet-dashboard-assistant { background:var(--accent-soft); border:1px solid var(--border-soft); border-radius:var(--radius-md); padding:16px; }
.fleet-shell .fleet-dashboard-assistant form { display:flex; align-items:center; gap:12px; }
.fleet-shell .fleet-dashboard-assistant label { margin:0; font-size:calc(13px * var(--fleet-font-scale, 1)); white-space:nowrap; }
.fleet-shell .fleet-dashboard-assistant input { flex:1; width:0; }
.fleet-shell .fleet-pool-link { justify-self:start; margin-top:-16px; }

/* Desktop fleet table and focused vehicle workspace. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.fleet-vehicle-list .fleet-list-heading { margin:0 0 12px; }
.fleet-vehicle-list .fleet-list-heading p { margin:0; font-size:calc(13px * var(--fleet-font-scale, 1)); }
.fleet-vehicle-list .fleet-filters { margin:0 0 20px; gap:12px; padding:16px; border:1px solid var(--border-soft); border-radius:var(--radius-md); background:var(--surface); }
.fleet-vehicle-list .fleet-filters > label:first-child { flex:2 1 220px; }
.fleet-vehicle-list .fleet-filters > label { font-size:calc(12px * var(--fleet-font-scale, 1)); flex:1 1 130px; }
.fleet-vehicle-list .fleet-filters .fleet-checkbox { flex:0 1 auto; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-table-wrap { max-width:100%; overflow:auto; border:1px solid var(--border-soft); border-radius:var(--radius-lg); background:var(--surface); box-shadow:var(--shadow-card); }
.fleet-vehicle-table { width:100%; border-collapse:collapse; font-size:calc(13px * var(--fleet-font-scale, 1)); }
.fleet-vehicle-table th { text-align:left; color:var(--muted); font-weight:500; font-size:calc(11px * var(--fleet-font-scale, 1)); letter-spacing:.02em; background:var(--surface2); }
.fleet-vehicle-table td, .fleet-vehicle-table th { padding:16px; border-bottom:1px solid var(--border-soft); vertical-align:middle; }
.fleet-vehicle-table tr:last-child td { border-bottom:0; }
.fleet-vehicle-table td:first-child { min-width:130px; }
.fleet-vehicle-table td:last-child { text-align:right; }
.fleet-vehicle-table strong, .fleet-vehicle-table small { display:block; }
.fleet-vehicle-table small { color:var(--muted); font-size:calc(11px * var(--fleet-font-scale, 1)); margin-top:5px; }
.fleet-vehicle-table .fleet-warning { color:var(--warn); }
.fleet-vehicle-table .btn { white-space:nowrap; padding:.45rem .65rem; }
.fleet-vehicle-table tbody tr:hover { background:var(--accent-soft); }
.fleet-file-breadcrumb { display:flex; align-items:center; gap:10px; margin-bottom:12px; color:var(--muted); font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-file-breadcrumb .btn { min-height:32px; padding:0; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-file-heading p { margin:6px 0 0; font-size:calc(13px * var(--fleet-font-scale, 1)); }
.fleet-file-actions { gap:8px; margin:16px 0; }
.fleet-file-more { position:relative; margin-left:auto; }
.fleet-file-more > summary { min-height:44px; padding:10px 12px; font-size:calc(12px * var(--fleet-font-scale, 1)); color:var(--muted); }
.fleet-file-more > div { position:absolute; top:100%; right:0; z-index:10; padding:8px; border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface); box-shadow:var(--shadow-float); }
.fleet-panel .fc-file-tabs { gap:0; margin:20px 0; padding:0; border-bottom:1px solid var(--border); }
.fleet-panel .fc-file-tabs .btn { min-height:44px; padding:10px 14px; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; color:var(--muted); }
.fleet-panel .fc-file-tabs .btn[aria-pressed="true"] { border-bottom-color:var(--primary); color:var(--accent); font-weight:600; }
.fleet-panel .fc-file-tabs .btn:hover { background:var(--accent-soft); }
.fleet-panel .fleet-details { gap:16px 24px; }
.fleet-panel .fleet-details dt { font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-panel .fleet-details dd { margin-top:6px; font-size:calc(14px * var(--fleet-font-scale, 1)); }
.fleet-panel .fleet-schedule, .fleet-panel .fleet-administration { margin:16px 0 0; padding:16px 0 0; border:0; }
.fleet-panel .fleet-admin-section { margin-top:20px; }
.fleet-booking-workspace { padding:0; border:0; border-radius:0; background:none; margin:0; }
.fleet-workspace-toolbar { margin-bottom:16px; }
.fleet-workspace-toolbar label { max-width:360px; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-booking-workspace .fleet-calendar { margin:0; }
.fc-help { font-size:calc(12px * var(--fleet-font-scale, 1)); color:var(--muted); }
.fc-help > summary { min-height:32px; padding:6px 0; }
.fc-help .fc-note { margin-top:4px; }
.fleet-cost-overview-page { margin-top:24px; padding-top:20px; border-top:1px solid var(--border-soft); }
.fleet-cost-overview-page .fleet-heading p { margin:8px 0 0; font-size:calc(12px * var(--fleet-font-scale, 1)); }
.fleet-cost-overview-page .fleet-payment-totals { margin:24px 0 16px; }
.fleet-cost-overview-page .fleet-payment-totals > div { padding:16px; border:1px solid var(--border-soft); border-radius:var(--radius-md); background:var(--surface2); }
.fleet-cost-explanation { max-width:80ch; font-size:calc(12px * var(--fleet-font-scale, 1)); line-height:1.7; }
.fleet-recent-payments { margin-top:28px; }
.fleet-recent-payments h3 { margin:0 0 12px; font-size:calc(16px * var(--fleet-font-scale, 1)); }
.fleet-payment-list { list-style:none; padding:0; margin:0; }
.fleet-payment-list button { display:flex; align-items:center; gap:16px; width:100%; min-height:72px; text-align:left; padding:14px 0; border:0; border-bottom:1px solid var(--border-soft); background:none; color:var(--text); cursor:pointer; font:inherit; transition:background-color var(--motion); }
.fleet-payment-list button:hover { background:var(--accent-soft); }
.fleet-payment-list button > span:first-child { flex:1; min-width:0; overflow-wrap:anywhere; }
.fleet-payment-list button > span:nth-child(2) { text-align:right; }
.fleet-payment-list strong, .fleet-payment-list small { display:block; }
.fleet-payment-list small { color:var(--muted); font-size:calc(12px * var(--fleet-font-scale, 1)); margin-top:5px; }
.fleet-payment-open { color:var(--accent); }
@media (min-width:1001px) {
  .fleet-vehicle-list .fleet-cards { display:none; }
}
@media (min-width:1200px) {
  .fleet-panel .fleet-details { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:1000px) {
  .fleet-table-wrap { display:none; }
  .fleet-vehicle-list .fleet-cards { grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr)); }
}
@media (max-width:640px) {
  .fleet-file-heading { align-items:flex-start; }
  .fleet-file-heading h2 { font-size:calc(18px * var(--fleet-font-scale, 1)); }
  .fleet-file-heading > .btn { font-size:calc(12px * var(--fleet-font-scale, 1)); padding:.4rem .6rem; }
  .fleet-file-more { margin-left:0; }
  .fleet-panel .fc-file-tabs .btn { padding-inline:10px; font-size:calc(12px * var(--fleet-font-scale, 1)); }
  .fleet-workspace-toolbar label { max-width:none; }
}
@media (max-width:1100px) and (min-width:801px) {
  .fleet-shell .fleet-view { gap:20px; grid-template-columns:calc(200px * var(--fleet-font-scale, 1)) minmax(0,1fr); padding:24px 16px; }
  .fleet-shell .fleet-dashboard-grid { gap:16px; }
  .fleet-shell .fleet-dashboard-card .fleet-hint { grid-template-columns:minmax(0,1fr); }
  .fleet-shell .fleet-dashboard-card .fleet-hint > .fleet-hint-action { grid-column:1; }
}
@media (max-width:800px) {
  .fleet-shell .fleet-view { display:block; padding:16px 12px; }
  .fleet-shell .fleet-navigation { position:relative; top:0; margin-bottom:20px; z-index:40; padding-right:0; border-right:0; }
  .fleet-nav-section { display:none; }
  .fleet-shell #fleet-area-toggle { display:flex; width:100%; }
  .fleet-shell .fleet-area-menu { position:absolute; top:calc(100% + 6px); left:0; right:0; width:100%; padding:6px; background:var(--surface); box-shadow:var(--shadow-float); border:1px solid var(--border); border-radius:var(--radius-md); max-height:min(65vh, calc(100dvh - 260px)); overflow:auto; }
  .fleet-shell .fleet-page-heading { flex-direction:row; align-items:center; gap:16px; }
  .fleet-shell .fleet-page-heading > .btn { width:auto; }
  .fleet-shell .fleet-page-heading h1 { font-size:calc(24px * var(--fleet-font-scale, 1)); }
  .fleet-shell .fleet-dashboard-grid { display:contents; }
  .fleet-shell .fleet-stats { order:3; }
  .fleet-shell .fleet-dashboard-card:nth-child(1) { order:1; }
  .fleet-shell .fleet-dashboard-card:nth-child(2) { order:2; }
  .fleet-shell .fleet-dashboard-costs { order:4; }
  .fleet-shell .fleet-dashboard-assistant { order:5; }
  .fleet-shell .fleet-pool-link { order:3; margin-top:-12px; }
  .fleet-shell .fleet-dashboard-card { padding:16px; }
  .fleet-shell .fleet-stats > button { padding:6px 12px; }
  .fleet-shell .fleet-dashboard-card .fleet-hint { grid-template-columns:minmax(0,1fr); }
  .fleet-shell .fleet-dashboard-card .fleet-hint > .fleet-hint-action { grid-column:1; }
  .fleet-shell .fleet-payment-totals { grid-template-columns:1fr; gap:12px; }
  .fleet-payment-totals > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
  .fleet-payment-totals dd { font-size:calc(17px * var(--fleet-font-scale, 1)); text-align:right; }
  .fleet-shell .fleet-dashboard-assistant form { flex-wrap:wrap; }
  .fleet-shell .fleet-dashboard-assistant label { flex-basis:100%; }
  .fleet-cost-footer { flex-direction:column; gap:0; }
}
/* Let the document own scrolling so long dashboards and focused sections stay visible. */
.fleet-shell .main { overflow:visible; min-height:0; }
@media (min-width:901px) { .fleet-shell .fleet-navigation { top:112px; } }
@media (min-width:801px) and (max-width:900px) { .fleet-shell .fleet-navigation { top:184px; } }
html, body { height:auto; min-height:100%; overflow-x:clip; }

.fleet-content [tabindex="-1"] { scroll-margin-top:112px; }
@media (max-width:900px) { .fleet-content [tabindex="-1"] { scroll-margin-top:184px; } }
