/* Screen presentation only. No layout sizing, application behavior, or document-print rules. */
@media screen{
:root{--cf-ui-canvas:#f0f8fc;--cf-ui-canvas-image:radial-gradient(circle at 84% 4%,#0e68a512,#0000 26rem),radial-gradient(circle at 12% 88%,#65b92e0d,#0000 24rem);--cf-ui-surface:#fff;--cf-ui-field:#f7fbfe;--cf-ui-soft:#edf5fc;--cf-ui-stripe:#f8fbfe;--cf-ui-border:#d4e2ee;--cf-ui-text:#193349;--cf-ui-muted:#526980;--cf-ui-accent:#075fc9;--cf-ui-focus:#1674d7;--cf-ui-shadow:0 3px 16px #1b3d6208;--cf-ui-popover-shadow:0 14px 36px #16324f22,0 2px 7px #16324f0c}
body{background-color:var(--cf-ui-canvas)!important}
iframe[title^='Mesačný pracovný výkaz']{background:var(--cf-ui-canvas)!important}
iframe.cf-work-day-open[title^='Mesačný pracovný výkaz']{background:var(--cf-ui-surface)!important}
.app-shell{background-color:var(--cf-ui-canvas)!important;background-image:var(--cf-ui-canvas-image)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app-header,.app-sidebar,.app-mobile-nav{background:var(--cf-ui-surface)!important;border-color:var(--cf-ui-border)!important}
.app-header{box-shadow:0 1px 0 #16324f08,0 4px 18px #16324f04}
.app-sidebar{box-shadow:1px 0 0 #16324f04}
.app-sidebar a{border-radius:14px!important}
.app-content :is(h1,h2,h3),.cf-helper-grid h3{letter-spacing:-.025em}
[data-slot=card-title]:not(.record-sheet *):not(.report-paper *){letter-spacing:-.025em;font-weight:650}
[data-slot=card]:not(.record-sheet *):not(.report-paper *){border-radius:20px!important;box-shadow:var(--cf-ui-shadow)!important}
[data-slot=card]:not([class*="bg-amber"]):not([class*="bg-red"]):not([class*="bg-green"]):not([class*="bg-emerald"]):not([class*="bg-blue"]):not([class*="bg-primary"]):not(.record-sheet *):not(.report-paper *){background-color:var(--cf-ui-surface)!important;border-color:var(--cf-ui-border)!important}
.cf-fleet-assets>form,.cf-service-panel,.monthly-closure,.day-list,.cf-merge-provenance{border-radius:18px!important;border-color:var(--cf-ui-border)!important}
.monthly-closure{background:var(--cf-ui-surface)!important;box-shadow:var(--cf-ui-shadow)}
.staff-row{border-radius:14px!important;background:var(--cf-ui-surface)!important;border-color:var(--cf-ui-border)!important}
:is(.app-content,[data-slot=dialog-content]) button[data-slot=button],.day-editor button,.cf-fleet-assets button,.cf-service-panel button,.cf-merge-dialog button{border-radius:12px;font-weight:600;letter-spacing:-.01em}
:is(.app-content,[data-slot=dialog-content]) button[data-slot=button][class~="bg-background"]:not([class*="text-red"]):not([class*="text-amber"]):not([class*="text-destructive"]):where(:not(.record-status-filters > button,fieldset[aria-label="Druh vozidla"] > button)),.day-editor .actions button:not(.primary),.cf-merge-dialog button:not(.cf-merge-primary){background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;box-shadow:0 1px 1px #16324f04!important}
:is(.app-content,[data-slot=dialog-content],[data-slot=card]) button[data-slot=button]:is([class~="bg-primary"],[class~="bg-[#0e68a5]"]):where(:not([aria-pressed]):not([aria-haspopup]):not([role=tab]):not(.cf-archive-filters button):not([data-cf-ios-primary])),button.primary:not([data-cf-ios-primary]),.cf-merge-primary,.cf-fleet-assets form button[type=submit],.cf-service-panel button[type=submit]{border-radius:999px!important;background:linear-gradient(180deg,#0b70dc,#075fc9)!important;color:#fff!important;border-color:#075fc9!important;font-weight:600!important;box-shadow:inset 0 1px 0 #ffffff30,0 3px 9px #075fc920!important}
 :is(.app-content,[data-slot=dialog-content],[data-slot=card]) :is([data-slot=input],[data-slot=textarea],[data-slot=native-select]),.toolbar :is(input,select),.day-editor :is(input,textarea,select):not([type=checkbox]):not([type=radio]),.cf-fleet-assets :is(input,textarea,select):not([type=checkbox]),.cf-service-panel input:not([type=checkbox]),select[data-cf-select]{border-radius:12px!important;border-color:var(--cf-ui-border)!important;background-color:var(--cf-ui-field)!important;color:var(--cf-ui-text)!important;caret-color:var(--cf-ui-accent)}
:is(.app-content,[data-slot=dialog-content],.day-editor,.cf-fleet-assets,.cf-service-panel) :is(input,select,textarea):focus-visible{outline:2px solid var(--cf-ui-focus);outline-offset:2px}
:is(.app-content,.day-editor,#app) input:is([type=checkbox],[type=radio]){accent-color:var(--cf-ui-accent)}
.cf-unified-dropdown{border-radius:16px!important;border-color:var(--cf-ui-border)!important;background:var(--cf-ui-surface)!important;box-shadow:var(--cf-ui-popover-shadow)!important}
.cf-unified-search{border-radius:10px!important;background:var(--cf-ui-field)!important;border-color:var(--cf-ui-border)!important;color:var(--cf-ui-text)!important}
.cf-unified-option{border-radius:9px!important}
.cf-unified-option[aria-selected=true]{background:var(--cf-ui-soft)!important;color:var(--cf-ui-accent)!important}
.cf-unified-heading,.cf-unified-status,.cf-unified-empty,.cf-unified-group{color:var(--cf-ui-muted)!important}
[data-slot=tabs-list]{border-radius:14px!important;background:var(--cf-ui-soft)!important;border-color:var(--cf-ui-border)!important}
[data-slot=tabs-trigger]{border-radius:10px!important;font-weight:600!important}
.closure-filters button,.kind-buttons button{border-radius:11px!important;font-weight:600!important;border-color:var(--cf-ui-border)!important}
.closure-filters button:not(.active):not([aria-pressed=true]),.kind-buttons button:not([aria-pressed=true]){background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important}
.closure-filters button.active,.closure-filters button[aria-pressed=true],.kind-buttons button[aria-pressed=true]{background:#0b65c9!important;border-color:#0b65c9!important;color:#fff!important}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) thead{background:transparent!important}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) th{background:var(--cf-ui-soft)!important;color:var(--cf-ui-muted)!important;font-weight:600!important;letter-spacing:.015em;border-color:var(--cf-ui-border)!important}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) :is(tr,td){border-color:var(--cf-ui-border)!important}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) tbody tr:nth-child(even):not([class*="bg-"]):not(.cf-mileage-detail):not(.suspicious){background-color:var(--cf-ui-stripe)}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) thead tr:first-child th:first-child{border-top-left-radius:14px}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) thead tr:first-child th:last-child{border-top-right-radius:14px}
.app-content [data-slot=badge]{border-radius:999px;font-weight:600}
[data-slot=dialog-content]:not(.record-sheet):not(.report-paper),dialog:not(.record-sheet):not(.report-paper){background-color:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;box-shadow:0 24px 70px #10283c30!important}
.driver-entry-dialog [data-slot=dialog-footer],.day-editor .actions,.cf-merge-dialog footer{background-color:var(--cf-ui-surface)!important;border-color:var(--cf-ui-border)!important}
[data-slot=dialog-overlay]{background-color:#10263e70!important}
dialog::backdrop{background-color:#10263e70}
.cf-helper-grid{background-color:var(--cf-ui-surface)!important}
.cf-helper-text-guide{border-radius:14px!important;border-color:var(--cf-ui-border)!important}
.leaflet-control-zoom{border-radius:12px!important;border-color:var(--cf-ui-border)!important;box-shadow:var(--cf-ui-shadow)!important}
.leaflet-control-zoom a{background-color:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
.leaflet-control-zoom a.leaflet-disabled,.leaflet-control-zoom a[aria-disabled=true]{color:var(--cf-ui-muted)!important;opacity:.5;cursor:default}
.leaflet-control-zoom a:first-child{border-radius:11px 11px 0 0}
.leaflet-control-zoom a:last-child{border-radius:0 0 11px 11px}
}
@media screen and (min-width:640px){[data-slot=dialog-content]:not(.record-sheet):not(.report-paper),dialog:not(.record-sheet):not(.report-paper){border-radius:24px!important}}
@media screen and (max-width:639px){.driver-entry-dialog,.admin-entry-dialog,.day-editor,.cf-merge-dialog{border-radius:0!important}[data-slot=dialog-content]:not(.driver-entry-dialog):not(.admin-entry-dialog):not(.day-editor):not(.cf-merge-dialog){border-radius:20px!important}}
@media screen and (hover:hover) and (pointer:fine){
.staff-row:hover{background:var(--cf-ui-soft)!important}
.cf-unified-option:hover:not(:disabled){background:var(--cf-ui-soft)!important}
:is(.app-content,#app) table:not(.print-table):not(.record-sheet table):not(.report-paper table) tbody tr:hover:not([class*="bg-"]):not(.cf-mileage-detail):not(.suspicious){background-color:var(--cf-ui-soft)}
.leaflet-control-zoom a:hover{background-color:var(--cf-ui-soft)!important}
}
@media screen and (prefers-color-scheme:dark){
:root{--cf-ui-canvas:#101923;--cf-ui-canvas-image:none;--cf-ui-surface:#192635;--cf-ui-field:#12202f;--cf-ui-soft:#223348;--cf-ui-stripe:#1c2b3b;--cf-ui-border:#354a60;--cf-ui-text:#e7eff7;--cf-ui-muted:#b2c4d5;--cf-ui-accent:#9acaff;--cf-ui-focus:#85c2ff;--cf-ui-shadow:0 3px 18px #00000012;--cf-ui-popover-shadow:0 16px 40px #0005,0 2px 8px #0003}
:is(.app-content,[data-slot=dialog-content],[data-slot=card]) button[data-slot=button]:is([class~="bg-primary"],[class~="bg-[#0e68a5]"]):where(:not([aria-pressed]):not([aria-haspopup]):not([role=tab]):not(.cf-archive-filters button):not([data-cf-ios-primary])),button.primary:not([data-cf-ios-primary]),.cf-merge-primary,.cf-fleet-assets form button[type=submit],.cf-service-panel button[type=submit]{background:linear-gradient(180deg,#116dd3,#0959b8)!important;border-color:#1673d6!important}
}
@media(prefers-reduced-motion:reduce){button[data-slot=button],button.primary,.cf-unified-option{transition:none!important}}
@media screen{
.driver-entry-dialog fieldset,.driver-entry-dialog .border:not(button):not(input):not(select):not(textarea){border-color:var(--cf-ui-border)!important}
.resume-card{border-radius:24px!important;border-color:#2a72ad!important;background:linear-gradient(125deg,#0b5fb6,#084a80)!important;box-shadow:0 5px 18px #075fc918!important}
.resume-card button[data-slot=button][class~="bg-white"]{border-radius:999px!important;background:#fff!important;color:#0757a8!important;border-color:#fff!important;font-weight:600!important;box-shadow:0 2px 7px #00376925!important}
.app-content :is(button[aria-label^="Pokračovať vo výkaze"],button[aria-label^="Vyplniť pracovný výkaz"]){border-radius:20px!important;border-color:#2a72ad!important;background:linear-gradient(125deg,#0b5fb6,#084a80)!important;color:#fff!important;box-shadow:0 5px 18px #075fc918!important}
.app-content :is(button[aria-label^="Pokračovať vo výkaze"],button[aria-label^="Vyplniť pracovný výkaz"])>span:last-child{background:#00000018!important;color:#fff!important;border-radius:12px!important}
}
@media screen{
#app .actions button,#app .header>button{border-radius:12px;font-weight:600;letter-spacing:-.01em}
#app .actions button:not(.primary),#app .header>button{background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
}
@media screen{
:root{--background:var(--cf-ui-canvas);--foreground:var(--cf-ui-text);--card:var(--cf-ui-surface);--card-foreground:var(--cf-ui-text);--popover:var(--cf-ui-surface);--popover-foreground:var(--cf-ui-text);--border:var(--cf-ui-border);--input:var(--cf-ui-border);--muted:var(--cf-ui-soft);--muted-foreground:var(--cf-ui-muted);--secondary:var(--cf-ui-soft);--secondary-foreground:var(--cf-ui-text);--accent:var(--cf-ui-soft);--accent-foreground:var(--cf-ui-text);--primary:#075fc9;--primary-foreground:#fff;--ring:var(--cf-ui-focus)}
[data-slot=alert-dialog-content]{border-color:var(--cf-ui-border)!important;background:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;box-shadow:0 24px 70px #10283c30!important}
[data-slot=alert-dialog-overlay]{background:#10263e70!important}
}
@media screen and (min-width:640px){[data-slot=alert-dialog-content]{border-radius:24px!important}}
@media screen and (max-width:639px){[data-slot=alert-dialog-content]{border-radius:20px!important}}
@media screen{
.app-content button[data-slot=button][class~="bg-background"][class~="text-red-600"]{background:var(--cf-ui-surface)!important}
}
/* Final hierarchy refinements: only screen styling, with disabled behavior retained. */
@media screen{
:root{--cf-ui-primary-fill:linear-gradient(180deg,#0b70dc,#075fc9);--cf-ui-primary-border:#075fc9}
.day-editor .vehicle-actions button:first-child,
.cf-trip-form [data-slot=dialog-footer] button:is([class~="bg-amber-600"],[class~="bg-[#0e68a5]"]){border-radius:999px!important;background:var(--cf-ui-primary-fill)!important;color:#fff!important;border-color:var(--cf-ui-primary-border)!important;font-weight:600!important;letter-spacing:-.012em;box-shadow:inset 0 1px 0 #ffffff30,0 3px 9px #075fc920!important}
.cf-trip-form [data-slot=dialog-footer] button:is([class~="bg-amber-600"],[class~="bg-[#0e68a5]"]):disabled,
button[data-cf-ios-primary]:disabled,.day-editor button.primary:disabled{background:var(--cf-ui-soft)!important;color:var(--cf-ui-muted)!important;border-color:var(--cf-ui-border)!important;box-shadow:none!important;opacity:1!important}
.app-content :is([class~="border-slate-200"],[class~="border-blue-100"]):not(.record-sheet *):not(.report-paper *){border-color:var(--cf-ui-border)!important}
.app-content [aria-label="Postup vyplnenia stazky"] button[class~="ring-blue-200"]{--tw-ring-color:var(--cf-ui-border)!important;background-color:var(--cf-ui-soft)!important}
}
@media screen and (prefers-color-scheme:dark){:root{--cf-ui-primary-fill:linear-gradient(180deg,#116dd3,#0959b8);--cf-ui-primary-border:#1673d6}}
/* Shared chrome for notifications, game menus and map panels; artwork is untouched. */
@media screen{
.notification-panel,.cargo-hub-card,.cargo-hub-card-body{background:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
.notification-panel,.cargo-hub-card{border-radius:20px!important;box-shadow:var(--cf-ui-shadow)!important}
.cargo-hub-picker{background:var(--cf-ui-canvas)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
.cargo-hub-header h2,.cargo-hub-card-body h3{color:var(--cf-ui-text)!important}
.cargo-hub-header p,.cargo-hub-note,.cargo-hub-card-body p{color:var(--cf-ui-muted)!important}
.cargo-hub-card-body>span{border-radius:999px!important;background:var(--cf-ui-primary-fill)!important;color:#fff!important;border-color:var(--cf-ui-primary-border)!important;box-shadow:inset 0 1px 0 #ffffff30!important}
.cargo-hub-picker button[aria-label^="Zavrieť"],dialog[aria-labelledby="cargo-game-title"] button:not([class~="bg-[#0e68a5]"]){border-radius:12px!important;background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
:is(dialog[aria-labelledby="cargo-game-title"],dialog[aria-label="CargoRun"]){border-radius:0!important}
:is(dialog[aria-labelledby="cargo-game-title"],dialog[aria-label="CargoRun"]) h2{color:var(--cf-ui-text)!important}
dialog[aria-labelledby="cargo-game-title"]>div>p:first-of-type{color:var(--cf-ui-muted)!important}
dialog[aria-labelledby="cargo-game-title"] section:is([aria-label="Ako hrať CargoFlappy"],[aria-label="Top 10 hráčov"]){background:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;border-radius:18px!important}
dialog[aria-labelledby="cargo-game-title"] section:is([aria-label="Ako hrať CargoFlappy"],[aria-label="Top 10 hráčov"]) :is(h3,p){color:var(--cf-ui-text)!important}
dialog[aria-labelledby="cargo-game-title"] button[class~="bg-[#0e68a5]"]{background:var(--cf-ui-primary-fill)!important;color:#fff!important;border-color:var(--cf-ui-primary-border)!important;border-radius:999px!important;font-weight:600!important}
dialog[aria-labelledby="cargo-game-title"] button[aria-pressed=true]{background:var(--cf-ui-primary-fill)!important;color:#fff!important;border-color:var(--cf-ui-primary-border)!important}
body:has(.map-content),body:has(>main>.road){font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--cf-ui-text);background-image:none!important}
body:has(.map-content) :is(#notice,section[aria-label="Zoznam vozidiel"],.vehicle,.vehicle-summary,.history-panel,.leaflet-popup-content-wrapper,.leaflet-popup-tip){background:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
body:has(.map-content) :is(.vehicle-summary strong,.vehicle h2,.history-panel h2){color:var(--cf-ui-text)!important}
body:has(.map-content) :is(.hint,label,.vehicle-km,.cf-map-legend,.cf-cluster-hint){color:var(--cf-ui-muted)!important}
body:has(.map-content) :is(input,select){background:var(--cf-ui-field)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;border-radius:12px!important}
body:has(.map-content) :is(button.secondary,.vehicle-summary:hover){background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
body:has(.map-content) button:not(.secondary):not(.vehicle-summary):not(.cf-cluster-choice):not(:disabled){background:var(--cf-ui-primary-fill)!important;color:#fff!important;border-color:var(--cf-ui-primary-border)!important;border-radius:999px!important}
body:has(.map-content) :is(#notice,.history-panel,section[aria-label="Zoznam vozidiel"]){border-radius:18px!important;box-shadow:var(--cf-ui-shadow)!important}
body:has(.map-content) .record-map-banner{background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
body:has(>main>.road) :is(.stats,#overlay>article,#ranking){background:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
body:has(>main>.road) :is(.stats strong,#overlay h2,#overlay p){color:var(--cf-ui-text)!important}
body:has(>main>.road) :is(.stats,.note,footer>span,small){color:var(--cf-ui-muted)!important}
body:has(>main>.road) :is(button,.playback,header>a){border-radius:12px!important;background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important}
body:has(>main>.road) #start:not(:disabled){border-radius:999px!important;background:var(--cf-ui-primary-fill)!important;color:#fff!important;border-color:var(--cf-ui-primary-border)!important}
body:has(>main>.road) #start:disabled{background:var(--cf-ui-soft)!important;color:var(--cf-ui-muted)!important;opacity:1!important}
body:has(>main>.road) #overlay>article{border-radius:22px!important;box-shadow:var(--cf-ui-popover-shadow)!important}
}
@media screen{
dialog[aria-labelledby="cargo-game-title"] ol :is(li,li span,li strong),body:has(>main>.road) #ranking :is(h3,li,li span,li strong){color:var(--cf-ui-text)!important}
dialog[aria-labelledby="cargo-game-title"] ol li:first-child,dialog[aria-labelledby="cargo-game-title"] ol li:first-child :is(span,strong),body:has(>main>.road) #ranking li:first-child,body:has(>main>.road) #ranking li:first-child :is(span,strong){color:var(--cf-ui-accent)!important}
body:has(>main>.road) :is(button,.playback,header>a){font-family:inherit!important}
body:has(.map-content) .cf-cluster-choice{background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-radius:12px!important}
}
@media screen{
.app-content aside:has(>a[href="/servis-a-terminy"]){display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.app-content aside:has(>a[href="/servis-a-terminy"])>strong{flex:1 1 240px;min-width:0}
.app-content aside>a[href="/servis-a-terminy"]{display:inline-flex;align-items:center;justify-content:center;flex:none;margin-left:0!important;border-radius:12px!important;background:var(--cf-ui-soft)!important;color:var(--cf-ui-accent)!important;border-color:var(--cf-ui-border)!important}
}
@media screen{
.driver-entry-dialog [data-slot=dialog-footer] button[data-slot=button][class~="bg-[#0e68a5]"]:disabled,.cf-fleet-assets form button[type=submit]:disabled,.cf-service-panel button[type=submit]:disabled{background:var(--cf-ui-soft)!important;color:var(--cf-ui-muted)!important;border-color:var(--cf-ui-border)!important;box-shadow:none!important;opacity:1!important}
}

@media screen{
.app-header button[aria-label="Používateľský účet"]>div:first-child{min-width:0;max-width:min(240px,18vw)}
.app-header button[aria-label="Používateľský účet"]>div:first-child>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-header button[aria-label="Používateľský účet"]>div:first-child>div:first-child{display:block}
}
@media screen and (min-width:640px) and (max-width:1023px){.app-header a[href="/"]>div[class~="border-l"]{display:none!important}}

@media screen{[data-slot=card-header]:not(.record-sheet *):not(.report-paper *),[data-slot=card-footer]:not(.record-sheet *):not(.report-paper *){border-color:var(--cf-ui-border)!important}dialog[aria-labelledby="cargo-game-title"] ol li,body:has(>main>.road) #ranking li{border-color:var(--cf-ui-border)!important}}
/* iOS-style selection markers, painted without changing navigation layout or behavior. */
@media screen{
:root{--cf-ui-nav-selected:#e2effc}
.app-mobile-nav a>span:first-child{position:relative;isolation:isolate}
.app-mobile-nav a>span:first-child>svg{position:relative;z-index:1}
.app-mobile-nav a[class~="text-[#0e68a5]"]{color:var(--cf-ui-accent)!important}
.app-mobile-nav a[class~="text-[#0e68a5]"]>span:first-child::before{content:"";position:absolute;left:50%;top:50%;width:44px;height:26px;transform:translate(-50%,-50%);border-radius:999px;background:var(--cf-ui-nav-selected);pointer-events:none;z-index:0}
.app-sidebar a[class~="bg-blue-50"]{background:var(--cf-ui-nav-selected)!important;color:var(--cf-ui-accent)!important;font-weight:600}
}
@media screen and (prefers-color-scheme:dark){:root{--cf-ui-nav-selected:#243c53}}
@media screen and (hover:hover) and (pointer:fine){.app-sidebar a:hover:not([class~="bg-blue-50"]){background:var(--cf-ui-soft)!important}}
/* Native temporal inputs: horizontal padding belongs to a clipped, fixed-size outer box. */
@media screen{
.cf-native-temporal{display:block;position:relative;box-sizing:border-box;min-width:0;max-width:100%;overflow:hidden;padding-block:0!important;background:var(--cf-ui-field)!important;border-color:var(--cf-ui-border)!important;color:var(--cf-ui-text)!important}
.cf-native-temporal:focus-within{outline:2px solid var(--cf-ui-focus);outline-offset:2px}
.cf-native-temporal:has(>input:disabled){opacity:.5}
.cf-native-temporal:has(>input[aria-invalid="true"]){border-color:#c32c37!important}
:is(.app-content,[data-slot=dialog-content],[data-slot=card]) .cf-native-temporal>input[data-slot=input]{-webkit-appearance:none!important;appearance:none!important;display:block!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;max-inline-size:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;block-size:100%!important;min-block-size:0!important;max-block-size:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:inherit!important;line-height:normal!important}
.cf-native-temporal>input:disabled{opacity:1!important}
.cf-native-temporal>input::-webkit-date-and-time-value{min-width:0;text-align:left;min-height:1.5em;line-height:normal}
.cf-native-temporal>input::-webkit-datetime-edit{min-width:0;padding:0}
.toolbar .month-control,.day-editor .time-control{padding-inline:9px!important;background:var(--cf-ui-field)!important;border-color:var(--cf-ui-border)!important}
#app .toolbar .month-control>input[type=month],.day-editor .shift-editor .time-control>input[type=time]{padding:0!important;margin:0!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;max-inline-size:100%!important;box-sizing:border-box!important;-webkit-appearance:none!important;appearance:none!important;background:transparent!important}
body:has(.map-content) .cf-map-temporal-control{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:46px;margin:8px 0 16px;padding:0 7px;border:1px solid var(--cf-ui-border);border-radius:12px;overflow:hidden;background:var(--cf-ui-field)}
body:has(.map-content) .cf-map-temporal-control:focus-within{outline:2px solid var(--cf-ui-focus);outline-offset:2px}
body:has(.map-content) .history-fields .cf-map-temporal-control>input{box-sizing:border-box!important;display:block;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;outline:none!important;background:transparent!important;-webkit-appearance:none!important;appearance:none!important}
}
@media screen{.cf-native-temporal{border-radius:12px!important}}
@media screen{
:root{--cf-ui-award-bg:#fff9e6;--cf-ui-award-fg:#5a430b;--cf-ui-award-border:#e4d293}
body:has(>main>.road) .champion{background:var(--cf-ui-award-bg)!important;color:var(--cf-ui-award-fg)!important;border-color:var(--cf-ui-award-border)!important}
body:has(>main>.road) .champion :is(strong,span){color:var(--cf-ui-award-fg)!important}
body:has(>main>.road) #result-summary>div{background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important}
body:has(>main>.road) #result-summary span{color:var(--cf-ui-muted)!important}
body:has(>main>.road) #result-summary strong{color:var(--cf-ui-text)!important}
dialog[aria-labelledby="cargo-game-title"] section[aria-label="Ako hrať CargoFlappy"] [class~="bg-amber-50"]{background:var(--cf-ui-award-bg)!important;color:var(--cf-ui-award-fg)!important;border-color:var(--cf-ui-award-border)!important}
dialog[aria-labelledby="cargo-game-title"] section[aria-label="Ako hrať CargoFlappy"] [class~="bg-amber-50"] :is(p,h3){color:var(--cf-ui-award-fg)!important}
}
@media screen and (prefers-color-scheme:dark){:root{--cf-ui-award-bg:#3a321b;--cf-ui-award-fg:#f5dc94;--cf-ui-award-border:#6a5730}}

/* Native controls keep their complete hit area; vertical padding centers the line box on iOS. */
@media screen{
.cf-native-temporal{--cf-temporal-inner-height:30px}
.cf-native-temporal[class~="h-9"]{--cf-temporal-inner-height:34px}
.cf-native-temporal[class~="h-10"]{--cf-temporal-inner-height:38px}
.cf-native-temporal[class~="h-11"]{--cf-temporal-inner-height:42px}
.cf-native-temporal[class~="h-12"]{--cf-temporal-inner-height:46px}
.cf-native-temporal[class~="h-14"]{--cf-temporal-inner-height:54px}
.time-control,.month-control,.cf-map-temporal-control{--cf-temporal-inner-height:44px}
.day-editor .shift-editor .time-control,.toolbar .month-control{height:46px!important;min-height:46px!important;max-height:46px!important}
:is(.app-content,[data-slot=dialog-content],[data-slot=card]) .cf-native-temporal>input[data-slot=input],.day-editor .shift-editor .time-control>input[type=time],#app .day-editor .shift-editor .time-control>input[type=time],.toolbar .month-control>input[type=month],#app .toolbar .month-control>input[type=month],body:has(.map-content) .history-fields .cf-map-temporal-control>input{height:100%!important;min-height:0!important;max-height:100%!important;text-align:left!important;line-height:1.5em!important;padding-inline:0!important;padding-block:max(0px,calc((var(--cf-temporal-inner-height) - 1.5em)/2))!important}
:is(.cf-native-temporal,.cf-map-temporal-control,.time-control,.month-control)>input::-webkit-date-and-time-value{display:block;height:auto;min-height:1.5em;line-height:1.5em;text-align:left;margin:0}
:is(.cf-native-temporal,.cf-map-temporal-control,.time-control,.month-control)>input::-webkit-datetime-edit{display:inline-flex;align-items:center;justify-content:flex-start;height:1.5em;padding:0}
:is(.cf-native-temporal,.cf-map-temporal-control,.time-control,.month-control)>input::-webkit-datetime-edit-fields-wrapper{display:inline-flex;align-items:center;justify-content:flex-start;padding:0}
}

/* Closed multi-selects use the same field palette as month and sort controls. */
@media screen{
.app-content .cf-fuel-vehicle-picker>summary{background:var(--cf-ui-field)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;border-radius:12px!important}
.app-content .cf-fuel-vehicle-picker>summary:focus-visible{outline:2px solid var(--cf-ui-focus);outline-offset:2px}
.app-content .cf-fuel-vehicle-panel{background:var(--cf-ui-surface)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;border-radius:16px!important;box-shadow:var(--cf-ui-popover-shadow)!important}
.app-content .cf-fuel-vehicle-panel input[type=search]{background:var(--cf-ui-field)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;border-radius:12px!important}
.app-content .cf-fuel-vehicle-actions button{background:var(--cf-ui-soft)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;border-radius:12px!important}
.app-content .cf-fuel-vehicle-options label{color:var(--cf-ui-text)!important}
.app-content .cf-fuel-vehicle-options label:has(input:checked){background:var(--cf-ui-soft)!important}
.app-content .cf-fuel-vehicle-panel small,.app-content .cf-fuel-vehicle-options>p{color:var(--cf-ui-muted)!important}
}
@media screen and (hover:hover) and (pointer:fine){.app-content .cf-fuel-vehicle-options label:hover{background:var(--cf-ui-soft)!important}}

/* Header identity: preserve the role and truncate only an unusually long name. */
@media screen{
.app-header button[aria-label="Používateľský účet"]>div:first-child>div:first-child{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.app-header .cf-header-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-header button[aria-label="Používateľský účet"]>div:first-child>div:first-child>[data-slot=badge]{flex:0 0 auto;font-size:11px!important;line-height:14px!important;padding:1px 6px!important}
/* Embedded reports share the surrounding canvas instead of painting a rectangular patch. */
html.embedded-report,html.embedded-report>body{background:transparent!important}
iframe[title^="Mesačný pracovný výkaz"]:not(.cf-work-day-open){background:transparent!important}
html.embedded-report #app{padding-inline:2px}
#app>.toolbar label{grid-template-rows:18px 46px;row-gap:6px}
#app>.toolbar label>span{line-height:18px}
#app>.toolbar select{height:46px!important;min-height:46px!important;max-height:46px!important}
#app>.header>button{display:inline-flex;align-items:center;justify-content:center;height:46px;min-height:46px;padding:9px 14px;border-radius:12px!important;background:var(--cf-ui-field)!important;color:var(--cf-ui-text)!important;border-color:var(--cf-ui-border)!important;line-height:20px}
/* Predictable review actions, preserving their labels, colours and handlers. */
.cf-check-body article>div:first-child{flex:1 1 auto}
.cf-check-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;width:280px;max-width:280px}
.cf-check-actions>:is(button,a){min-height:44px;min-width:0;border-radius:12px!important}
.cf-check-actions>:nth-child(3){grid-column:2}
.cf-check-actions>a{background:var(--cf-ui-field)!important;color:var(--cf-ui-accent)!important;border-color:var(--cf-ui-border)!important}
/* Map cluster rows are selection choices, not primary action buttons. */
body:has(.map-content) .cf-cluster-popup>.cf-cluster-choices>.cf-cluster-choice{background:var(--cf-ui-field)!important;color:var(--cf-ui-text)!important;border-top-color:var(--cf-ui-border)!important;border-right-color:var(--cf-ui-border)!important;border-bottom-color:var(--cf-ui-border)!important;border-radius:12px!important}
body:has(.map-content) .cf-cluster-choice>strong,body:has(.map-content) .cf-cluster-popup>strong{color:var(--cf-ui-text)!important;font-size:14px!important;font-weight:650!important}
body:has(.map-content) .cf-cluster-choice>span{color:var(--cf-ui-muted)!important;font-size:12px!important;font-weight:500}
}
@media screen and (min-width:1000px){html.embedded-report #app>.header>button{right:2px;top:24px}html.embedded-report #app>.toolbar{right:96px}}
@media screen and (min-width:1200px){.cf-check-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;width:auto;max-width:none}.cf-check-actions>:is(button,a){flex:0 0 auto;white-space:nowrap}}
@media screen and (max-width:700px){.cf-check-actions{width:100%;max-width:none}}
@media screen{body:has(.map-content) .leaflet-popup-content strong{color:var(--cf-ui-text)!important}}
@media screen{body:has(.map-content) .leaflet-popup-content a:not(.leaflet-popup-close-button){color:var(--cf-ui-accent)!important}}
@media screen{body:has(.map-content) .cf-cluster-popup{display:flex;flex-direction:column;height:100%;min-height:0}body:has(.map-content) .cf-cluster-popup>strong,body:has(.map-content) .cf-cluster-popup>.cf-cluster-zoom{flex:0 0 auto}body:has(.map-content) .cf-cluster-popup>.cf-cluster-choices{flex:1 1 auto;min-height:0}}
@media screen and (max-width:600px){body:has(.map-content) .cf-cluster-popup>strong{padding-left:32px}body:has(.map-content) .cf-cluster-popup>.cf-cluster-zoom{margin-left:32px!important;width:calc(100% - 32px)!important}}

/* Archive status selector and navigation: one clear selection in each group. */
@media screen {
  .cf-archive-filters > .record-status-filters.record-status-filters {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px !important;
    padding: 4px !important;
    background: var(--cf-segment-track);
    border: 1px solid var(--cf-ui-border);
    border-radius: 14px;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button {
    min-width: 0;
    min-height: 44px !important;
    height: auto !important;
    padding: 6px 8px;
    white-space: normal;
    line-height: 1.25;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: var(--cf-ui-text) !important;
    box-shadow: none !important;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button[class~="bg-[#0e68a5]"] {
    background: var(--cf-segment-selected) !important;
    color: var(--cf-ui-accent) !important;
    border-color: transparent !important;
    box-shadow: 0 1px 3px #07182930 !important;
    font-weight: 700;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button:focus-visible,
  .app-mobile-nav a:focus-visible {
    outline: 2px solid var(--cf-ui-accent);
    outline-offset: -2px;
  }
  .app-mobile-nav a {
    min-width: 0;
    min-height: 44px !important;
    justify-content: center;
    border-radius: 12px;
  }
  .app-mobile-nav a[class~="text-[#0e68a5]"] {
    background: var(--cf-ui-nav-selected);
    font-weight: 700;
  }
  .app-mobile-nav a[class~="text-[#0e68a5]"] > span:first-child::before {
    content: none;
  }
  .cf-check-actions > a {
    color: var(--cf-ui-text) !important;
  }
}
@media screen and (max-width: 640px) {
  .cf-archive-filters > .record-status-filters.record-status-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen {
  :root {
    --cf-segment-track: #e8edf3;
    --cf-segment-selected: #fff;
  }
  .app-sidebar a[class~="bg-blue-50"] {
    border-radius: 12px;
  }
  .cf-check-actions > a {
    background: var(--cf-ui-soft) !important;
  }
  :is(.driver-entry-dialog [data-slot="dialog-footer"],.day-editor .actions) button {
    min-height: 44px;
  }
  .driver-entry-dialog [data-slot="dialog-footer"] button:is([class~="bg-[#0e68a5]"],[class~="bg-amber-600"]):not(:disabled),
  .day-editor .actions button.primary:not(:disabled),
  .app-content button[class~="min-h-9"][class~="bg-[#0e68a5]"][class~="sm:flex-none"]:has(span):not(:disabled) {
    background: #095fbf !important;
    border-color: #095fbf !important;
    color: white !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 0 #ffffff25 !important;
  }
  .day-editor .actions button:not(.primary),
  .driver-entry-dialog [data-slot="dialog-footer"] button[class~="sm:inline-flex"]:not([class~="bg-[#0e68a5]"]) {
    background: var(--cf-ui-soft) !important;
    color: var(--cf-ui-text) !important;
    border-color: var(--cf-ui-border) !important;
    border-radius: 12px !important;
  }
}
@media screen and (prefers-color-scheme: dark) {
  :root {
    --cf-segment-track: #111d2b;
    --cf-segment-selected: #29415c;
  }
}

@media screen {
  .cf-archive-filters > .record-status-filters.record-status-filters {
    box-shadow: inset 0 1px 2px #12243814;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button:not([class~="bg-[#0e68a5]"]) {
    border-inline-end-color: var(--cf-ui-border) !important;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button:last-child {
    border-inline-end-color: transparent !important;
  }
  #app > .header > button,
  button[aria-label="Načítať aktuálne km z Volva"],
  .map-content #refresh {
    border-radius: 12px !important;
    background: var(--cf-ui-soft) !important;
    color: var(--cf-ui-text) !important;
    border-color: var(--cf-ui-border) !important;
    box-shadow: none !important;
  }
  #app > .header > button:disabled,
  button[aria-label="Načítať aktuálne km z Volva"]:disabled,
  .map-content #refresh:disabled {
    color: var(--cf-ui-muted) !important;
    opacity: .75;
  }
  button[data-slot="button"][class~="bg-destructive/10"]:not(:disabled),
  .cf-driver-access .cf-driver-access-danger:not(:disabled) {
    background: #b32036 !important;
    border-color: #b32036 !important;
    color: #fff !important;
    border-radius: 12px !important;
  }
  .cf-check-body article + article {
    border-top-color: var(--cf-ui-border);
  }
  .cf-check-actions > a {
    box-shadow: inset 0 1px 0 #ffffff26;
  }
}
@media screen and (max-width: 640px) {
  .cf-archive-filters > .record-status-filters.record-status-filters button:nth-child(2) {
    border-inline-end-color: transparent !important;
  }
}

/* Keep filter tracks independent of the selected label and reset button. */
@media screen {
  .cf-archive-filters > .record-status-filters.record-status-filters button {
    font-weight: 700;
    min-inline-size: 0;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .cf-archive-filters.cf-archive-filters {
    grid-template-columns: minmax(0, 1fr) 260px !important;
  }
}
@media screen and (min-width: 1280px) {
  .cf-archive-filters.cf-archive-filters {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 46%) !important;
  }
}

/* Draw short dividers inside the segmented track. */
@media screen {
  .cf-archive-filters > .record-status-filters.record-status-filters {
    gap: 2px !important;
    padding: 3px !important;
    border-radius: 12px;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button {
    position: relative;
    border: 1px solid transparent !important;
    border-inline-end-color: transparent !important;
    border-radius: 8px !important;
  }
  .cf-archive-filters > .record-status-filters.record-status-filters button:not([class~="bg-[#0e68a5]"]):not(:last-child)::after {
    content: "";
    position: absolute;
    inset-block: 10px;
    inset-inline-end: -2px;
    width: 1px;
    background: var(--cf-ui-border);
    pointer-events: none;
  }
}
@media screen and (max-width: 640px) {
  .cf-archive-filters > .record-status-filters.record-status-filters button:nth-child(2)::after {
    content: none;
  }
}

@media screen {
  .app-mobile-nav a[class~="text-[#0e68a5]"] {
    position: relative;
    isolation: isolate;
    background: transparent;
  }
  .app-mobile-nav a[class~="text-[#0e68a5]"]::before {
    content: "";
    position: absolute;
    inset: 0 2px;
    border-radius: 11px;
    background: var(--cf-ui-nav-selected);
    z-index: -1;
    pointer-events: none;
  }
  .app-mobile-nav a {
    padding: 4px 2px;
    line-height: 1.2;
  }
}

@media screen and (max-width: 1023px) {
  .app-mobile-nav:has(> a[href="/administracia"]) {
    display: flex;
  }
  .app-mobile-nav:has(> a[href="/administracia"]) > a {
    flex: 1 1 auto;
    min-inline-size: 44px;
    padding-inline: 6px;
    text-align: center;
  }
}

@media screen {
  .app-header button[aria-label="Používateľský účet"] .cf-header-name + [data-slot="badge"] {
    background: var(--cf-ui-nav-selected) !important;
    color: var(--cf-ui-accent) !important;
    box-shadow: none !important;
    border-color: transparent !important;
  }
  .app-content div:has(> .cf-admin-tile) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    border: 1px solid var(--cf-ui-border);
    border-radius: 16px;
    background: var(--cf-ui-surface);
  }
  .app-content div:has(> .cf-admin-tile) > .cf-admin-tile {
    min-height: 70px !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .app-content div:has(> .cf-admin-tile) > .cf-admin-tile + .cf-admin-tile {
    border-top: 1px solid var(--cf-ui-border) !important;
  }
  .app-content div:has(> .cf-admin-tile) > .cf-admin-tile:first-child {
    border-radius: 15px 15px 0 0 !important;
  }
  .app-content div:has(> .cf-admin-tile) > .cf-admin-tile:last-child {
    border-radius: 0 0 15px 15px !important;
  }
  .app-content div:has(> .cf-admin-tile) > .cf-admin-tile:focus-visible {
    outline: 2px solid var(--cf-ui-focus);
    outline-offset: -3px;
  }
  .driver-entry-dialog [data-slot="dialog-header"],
  .day-editor .day-editor-header {
    border-bottom: 1px solid var(--cf-ui-border);
  }
  .driver-entry-dialog [data-slot="dialog-header"] button,
  .day-editor .day-editor-header button {
    min-width: 44px;
    min-height: 44px;
  }
}
@media screen and (hover: hover) {
  .app-content div:has(> .cf-admin-tile) > .cf-admin-tile:hover {
    background: var(--cf-ui-soft) !important;
  }
}

@media screen {
  .driver-entry-dialog [data-slot="dialog-header"],
  .day-editor .day-editor-header {
    background: var(--cf-ui-surface) !important;
    color: var(--cf-ui-text);
    border-color: var(--cf-ui-border) !important;
  }
  .driver-entry-dialog [data-slot="dialog-header"] button[aria-label="Zavrieť"],
  .day-editor .day-editor-header button {
    border-radius: 12px !important;
    background: var(--cf-ui-soft) !important;
    color: var(--cf-ui-text) !important;
  }
  .driver-entry-dialog [data-slot="dialog-footer"],
  .day-editor .actions {
    border-top: 1px solid var(--cf-ui-border);
  }
  #app .cf-report-status {
    border-inline-start: 3px solid var(--cf-ui-accent);
    background: var(--cf-ui-soft);
    color: var(--cf-ui-text);
    padding: 8px 12px;
    border-radius: 8px;
  }
}

@media screen {
  .monthly-closure > .closure-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--cf-ui-border);
    border-radius: 12px;
    background: var(--cf-segment-track);
    box-shadow: inset 0 1px 2px #12243814;
  }
  .monthly-closure > .closure-filters.closure-filters > button {
    position: relative;
    min-width: 0;
    min-height: 44px;
    padding: 6px 5px;
    white-space: normal;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--cf-ui-text) !important;
    box-shadow: none !important;
    font-weight: 700 !important;
  }
  .monthly-closure > .closure-filters.closure-filters > button[aria-pressed="true"] {
    background: var(--cf-segment-selected) !important;
    color: var(--cf-ui-accent) !important;
    box-shadow: 0 1px 3px #07182930 !important;
  }
  .monthly-closure > .closure-filters > button[aria-pressed="false"]:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-block: 10px;
    inset-inline-end: -2px;
    width: 1px;
    background: var(--cf-ui-border);
    pointer-events: none;
  }
}
@media screen and (max-width: 640px) {
  .monthly-closure > .closure-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .monthly-closure > .closure-filters > button:first-child {
    grid-column: 1 / -1;
  }
  .monthly-closure > .closure-filters > button:is(:first-child,:nth-child(3))::after {
    content: none !important;
  }
}

/* Match the typography and tap targets of both status selectors. */
@media screen {
  .cf-archive-filters > .record-status-filters.record-status-filters > button[data-slot="button"],
  .monthly-closure > .closure-filters.closure-filters > button {
    font-size: 13px !important;
    line-height: 16px !important;
    font-weight: 700 !important;
    min-height: 44px !important;
    padding: 6px 8px !important;
  }
}

@media screen {
  .app-content .fuel-overview-list,
  .app-content .cf-mileage-metrics + [data-slot="card"] {
    border: 1px solid var(--cf-ui-border) !important;
    border-radius: 16px !important;
    background: var(--cf-ui-surface) !important;
  }
  .app-content .fuel-overview-heading,
  .app-content .cf-mileage-metrics + [data-slot="card"] thead th {
    background: var(--cf-ui-soft) !important;
    color: var(--cf-ui-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px;
    text-transform: none !important;
    letter-spacing: 0;
  }
  .app-content .fuel-overview-summary,
  .app-content .cf-mileage-metrics + [data-slot="card"] tbody td {
    font-size: 14px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
  }
  .app-content .fuel-overview-summary > span:first-child > strong,
  .app-content .cf-mileage-metrics + [data-slot="card"] tbody td:first-child button {
    font-size: 14px;
    font-weight: 700;
  }
  .app-content .fuel-detail-toggle {
    color: var(--cf-ui-accent) !important;
  }
}
@media screen and (min-width: 768px) {
  .app-content .fuel-overview-heading > span:nth-child(n + 2),
  .app-content .fuel-overview-summary > span:nth-child(n + 2) {
    text-align: end;
    justify-self: stretch;
  }
}

/* The embedded map shares the gradient of the surrounding application. */
@media screen {
  html:has(> body.embedded #map),
  html > body.embedded:has(#map) {
    background: transparent !important;
  }
}

@media screen {
  .app-content .cf-mileage-toggle {
    min-height: 44px;
    gap: 8px;
  }
  .app-content .cf-mileage-toggle > span,
  .app-content .fuel-detail-toggle > svg {
    color: var(--cf-ui-accent) !important;
    transition: transform 150ms ease;
  }
  .app-content .cf-mileage-toggle > span {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: var(--cf-ui-soft);
    font-size: 0;
  }
  .app-content .cf-mileage-toggle > span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .app-content .cf-mileage-toggle[aria-expanded="true"] > span,
  .app-content .fuel-overview-row details[open] .fuel-detail-toggle > svg {
    transform: rotate(180deg);
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  .app-content .cf-mileage-toggle > span,
  .app-content .fuel-detail-toggle > svg {
    transition: none;
  }
}

@media screen {
  .app-content .cf-mileage-metrics + [data-slot="card"] :is(table, thead, th) {
    border-radius: 0 !important;
  }
  .app-content .cf-mileage-toggle > span {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: transparent;
  }
}

@media screen {
  .app-content fieldset[aria-label="Druh vozidla"]:has(+ label) {
    display: inline-grid;
  }
  .app-content fieldset[aria-label="Druh vozidla"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 270px);
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--cf-ui-border);
    border-radius: 12px;
    background: var(--cf-segment-track);
    box-shadow: inset 0 1px 2px #12243814;
  }
  .app-content fieldset[aria-label="Druh vozidla"] > button[data-slot="button"][aria-pressed] {
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: 6px 8px;
    white-space: normal;
    font-size: 13px;
    line-height: 16px;
    font-weight: 700;
    border-radius: 8px !important;
    border-color: transparent !important;
    background: transparent !important;
    color: var(--cf-ui-text) !important;
    box-shadow: none !important;
  }
  .app-content fieldset[aria-label="Druh vozidla"] > button[data-slot="button"][aria-pressed="true"] {
    background: var(--cf-segment-selected) !important;
    color: var(--cf-ui-accent) !important;
    box-shadow: 0 1px 3px #07182930 !important;
  }
}

/* Shared page-title rhythm, scoped to screen headings. */
@media screen {
  .app-content h1[class~="sm:text-3xl"],
  .app-content [data-cf-integrated-map] > div > h1,
  html.embedded-report #app > .header > div > h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    color: var(--cf-ui-text) !important;
  }
  .app-content h1[class~="sm:text-3xl"] + p,
  html.embedded-report #app > .header > div > h1 + p {
    margin-top: 4px;
    font-size: 14px;
    line-height: 20px;
    color: var(--cf-ui-muted) !important;
  }
  .app-content [data-cf-integrated-map] > div:first-child {
    margin-bottom: 16px !important;
  }
}

@media screen and (min-width: 768px) {
  .app-content h1[class~="sm:text-3xl"],
  .app-content [data-cf-integrated-map] > div > h1,
  html.embedded-report #app > .header > div > h1 {
    font-size: 28px !important;
  }
}
@media screen and (max-width: 767px) and (pointer: coarse) {
  html.cf-keyboard-open .app-mobile-nav,
  html.cf-keyboard-open .cf-record-actions,
  html.cf-keyboard-open .driver-entry-dialog [data-slot="dialog-footer"] {
    display: none !important;
  }
}

@media screen and (max-width: 767px) and (pointer: coarse) {
  html.cf-keyboard-open .day-editor .actions {
    display: none !important;
  }
}

@media screen {
  html.cf-keyboard-open .day-editor .actions {
    display: none !important;
  }
  .app-content .cf-archive-filters > .record-status-filters.record-status-filters > button[data-slot="button"] {
    border-color: transparent !important;
    border-inline-end-color: transparent !important;
  }
  .app-content .cf-archive-filters > .record-status-filters.record-status-filters > button[data-slot="button"]::after {
    border: 0 !important;
    border-radius: 0 !important;
  }
}

@media screen {
  .app-content .cf-fleet-assets > header > button {
    min-height: 44px;
    border-radius: 999px !important;
    background: var(--cf-ui-primary-fill) !important;
    color: #fff !important;
    border-color: var(--cf-ui-primary-border) !important;
    box-shadow: inset 0 1px 0 #ffffff30, 0 3px 9px #075fc920 !important;
  }
  .app-content .cf-fleet-assets > header > button:focus-visible {
    outline: 2px solid var(--cf-ui-focus);
    outline-offset: 2px;
  }
}

@media screen {
  .app-content .fuel-overview-list > [data-slot="card-header"],
  .app-content .cf-mileage-metrics + [data-slot="card"] > [data-slot="card-header"] {
    display: grid;
    gap: 3px;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--cf-ui-border) !important;
  }
  .app-content .cf-fuel-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 8px 16px;
  }
  .app-content .cf-fuel-toolbar > fieldset {
    margin: 0;
  }
  .app-content .cf-fuel-toolbar > :not(fieldset) {
    min-width: min(100%, 170px);
  }
  .app-content .cf-fuel-toolbar + .fuel-overview-list {
    margin-top: 12px;
  }
  .app-content :is(.cf-fuel-filters,.cf-fuel-metrics,.cf-mileage-metrics) {
    gap: 12px;
  }
}
@media screen and (max-width: 640px) {
  .app-content .fuel-overview-list > [data-slot="card-header"],
  .app-content .cf-mileage-metrics + [data-slot="card"] > [data-slot="card-header"] {
    padding: 10px 12px !important;
  }
}

@media screen and (max-width: 767px) {
  .app-content .cf-data-checks:not([open]):has(+ .cf-archive-attention:not([open])),
  .app-content .cf-data-checks:not([open]) + .cf-archive-attention:not([open]) {
    display: inline-block !important;
    box-sizing: border-box;
    vertical-align: top;
    min-width: 0;
    margin: 0 0 8px !important;
  }

  .app-content .cf-data-checks:not([open]):has(+ .cf-archive-attention:not([open])) {
    width: calc(52% - 4px);
    margin-inline-end: 8px !important;
  }

  .app-content .cf-data-checks:not([open]) + .cf-archive-attention:not([open]) {
    width: calc(48% - 4px);
    padding: 0 !important;
  }

  .app-content .cf-data-checks:not([open]):has(+ .cf-archive-attention:not([open])) > summary,
  .app-content .cf-data-checks:not([open]) + .cf-archive-attention:not([open]) > summary {
    min-height: 52px !important;
    padding: 6px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .app-content .cf-data-checks:not([open]) + .cf-archive-attention:not([open]) > summary {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: 2px 5px;
  }

  .app-content .cf-data-checks:not([open]) + .cf-archive-attention:not([open]) > summary span {
    grid-column: 2;
    margin: 0 !important;
    font-size: 11px !important;
    overflow-wrap: anywhere;
  }
}

@media screen and (max-width: 767px) {
  .app-content .cf-archive-attention[open] > div > div > div { min-width: 0; }
  .app-content .cf-archive-attention[open] [data-slot="button"] {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
