/* Single seamless INTRANEX navigation surface on every page. */
:root{--intranex-nav-solid:#081a38;--intranex-nav-top:var(--intranex-nav-solid);--intranex-nav-side:var(--intranex-nav-solid);--intranex-compact-control-height:29px;--intranex-compact-control-radius:8px;--intranex-compact-action-font-size:12px;--intranex-compact-control-font-size:12px;--intranex-compact-control-font-weight:800;--intranex-compact-control-line-height:1.15;--intranex-compact-control-padding-inline:9px}
[data-intranex-nav="top"],[data-intranex-nav="side"]{border:0!important;background-color:var(--intranex-nav-solid)!important;background-image:none!important;box-shadow:none!important}
[data-intranex-nav="top"]{color:#f3f8ff}
[data-intranex-nav="side"]{color:#d9e7f6}
[data-intranex-nav="top"] .title{border-left:0!important}
[data-intranex-nav="top"] .title::before,[data-intranex-nav="top"] .title::after{display:none!important;content:none!important}
[data-intranex-nav="side"]>header{border-bottom:0!important;box-shadow:none!important}
[data-intranex-nav] .brand,[data-intranex-nav] .main-nav a,[data-intranex-nav] .user small,[data-intranex-nav] small,[data-intranex-nav="side"]>p{color:#d9e7f6}
[data-intranex-nav="top"]>a,[data-intranex-nav="side"] nav a{color:#e6f0fc}
[data-intranex-nav="top"] .login-button{background:#ffffff16;border:1px solid #ffffff40;color:#fff}
[data-intranex-nav="top"] .login-button:hover{background:#ffffff28}
[data-intranex-nav="top"] .switch{background:#ffffff12;border:1px solid #ffffff24}
[data-intranex-nav="top"] .switch button{color:#d9e7f6}
[data-intranex-nav="top"] .switch button.on{background:#edf5ff;color:#153a65}
[data-intranex-nav="side"]>a{color:#d9e7f6}
[data-intranex-nav] a:focus-visible,[data-intranex-nav] button:focus-visible{outline:2px solid #bbdcff;outline-offset:3px}
[data-intranex-nav="side"] .intranexDepartmentNav>:is(a,button):focus-visible{outline-offset:-3px}
[data-intranex-nav="top"] .simulationLink{color:#73531b}

/* One flat press response for every native or semantic action in INTRANEX. */
:where(button,a[href],input[type="button"],input[type="submit"],input[type="reset"],input[type="image"],[role="button"],summary){--intranex-press-ready:1;-webkit-tap-highlight-color:transparent;touch-action:manipulation;box-shadow:none!important}
:where(button,a[href],input[type="button"],input[type="submit"],input[type="reset"],input[type="image"],[role="button"],summary)[data-intranex-rest-paint="ready"]:is(:hover,:focus):not(:active):not(:disabled):not([aria-disabled="true"]):not([aria-current="page"]):not(:where([data-intranex-nav="side"] .intranexDepartmentNav>a)){background:var(--intranex-rest-background)!important;color:var(--intranex-rest-color)!important;border-color:var(--intranex-rest-border-color)!important;box-shadow:var(--intranex-rest-box-shadow)!important;transform:var(--intranex-rest-transform)!important;filter:var(--intranex-rest-filter)!important}
:where(button,a[href],input[type="button"],input[type="submit"],input[type="reset"],input[type="image"],[role="button"],summary):active:not([data-intranex-press-surface="row"]):not(:disabled):not([aria-disabled="true"]){translate:0 1px;scale:.99;filter:none;box-shadow:none!important}
[data-intranex-nav="side"] .intranexDepartmentNav>a:hover:not(:focus):not(:active):not([aria-current="page"]){color:#fff!important;background:rgba(255,255,255,.06)!important;background-image:none!important;box-shadow:none!important}
[data-intranex-nav="side"] .intranexDepartmentNav>a:focus:not(:active):not([aria-current="page"]){color:#fff!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
[data-intranex-nav="side"] .intranexDepartmentNav>a[aria-current="page"]{color:#fff!important;background:linear-gradient(90deg,#2466df,#2466df33)!important;box-shadow:none!important}
@media(prefers-reduced-motion:reduce){:where(button,a[href],input[type="button"],input[type="submit"],input[type="reset"],input[type="image"],[role="button"],summary):active:not([data-intranex-press-surface="row"]):not(:disabled):not([aria-disabled="true"]){translate:0;scale:1;filter:none;box-shadow:none!important}}

/* Mandatory flat paint contract for ordinary working cards and card-like rows. */
.intranexFlatCard{background-image:none!important;box-shadow:none!important;filter:none!important;transform:none!important}
.intranexFlatCard:is(:hover,:focus,:focus-within){background-image:none!important;box-shadow:none!important;filter:none!important;transform:none!important}
.intranexFlatCard :where(input,select,textarea,button,[role="button"],fieldset,section,article,label){box-shadow:none!important;filter:none!important}
.intranexFlatCard :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea,button,[role="button"],fieldset,section,article,label){background-image:none!important}

/*
 * One complete compact control contract for ordinary working-area actions. The
 * approved Cards/List switch is the source of truth: 29 px on pointer layouts
 * and 40 px where a finger-safe target is required.  The contract includes
 * toolbars, filters, row/card/register actions and pagination.  Deliberately
 * large primary actions and special square icon controls remain explicit
 * component variants rather than accidental local height or typography
 * overrides.
 */
:is([class*="Toolbar"],[class*="toolbar"],[class*="Filters"],[class*="filters"],[class*="Tools"],[class*="tools"],[class*="RowActions"],[class*="rowActions"],[class*="CardActions"],[class*="cardActions"],[class*="RegisterActions"],[class*="registerActions"],[class*="RecordActions"],[class*="recordActions"],[class*="Pager"],[class*="pager"])
  :is(button,input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]),select,a[role="button"]):not(.chiefHeroAction){box-sizing:border-box!important;height:var(--intranex-compact-control-height)!important;min-height:var(--intranex-compact-control-height)!important;margin-block:0!important;padding-block:5px!important;border-radius:var(--intranex-compact-control-radius)!important;line-height:1.15!important}
:is([class*="Toolbar"],[class*="toolbar"],[class*="Filters"],[class*="filters"],[class*="Tools"],[class*="tools"],[class*="RowActions"],[class*="rowActions"],[class*="CardActions"],[class*="cardActions"],[class*="RegisterActions"],[class*="registerActions"],[class*="RecordActions"],[class*="recordActions"],[class*="Pager"],[class*="pager"])
  :is(button,a[role="button"]):not(.chiefHeroAction){padding-inline:var(--intranex-compact-control-padding-inline)!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
:is([class*="Toolbar"],[class*="toolbar"],[class*="Filters"],[class*="filters"],[class*="Tools"],[class*="tools"],[class*="RowActions"],[class*="rowActions"],[class*="CardActions"],[class*="cardActions"],[class*="RegisterActions"],[class*="registerActions"],[class*="RecordActions"],[class*="recordActions"],[class*="Pager"],[class*="pager"])
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]),select){padding-inline:var(--intranex-compact-control-padding-inline)!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
.operationsWeekNavigation>button{box-sizing:border-box!important;height:var(--intranex-compact-control-height)!important;min-height:var(--intranex-compact-control-height)!important;padding-block:5px!important;border-radius:var(--intranex-compact-control-radius)!important;line-height:1.15!important}
.operationsControlTools .operationsFleetScope>div{box-sizing:border-box!important;height:var(--intranex-compact-control-height)!important;min-height:var(--intranex-compact-control-height)!important;padding:0!important;border-radius:var(--intranex-compact-control-radius)!important}
.intranexCompactControl:not(.chiefHeroAction){box-sizing:border-box!important;height:var(--intranex-compact-control-height)!important;min-height:var(--intranex-compact-control-height)!important;margin-block:0!important;padding-block:5px!important;border-radius:var(--intranex-compact-control-radius)!important;line-height:var(--intranex-compact-control-line-height)!important}
.intranexCompactControl:not(.chiefHeroAction):is(button,a,[role="button"]){display:inline-flex!important;align-items:center!important;justify-content:center!important}
.intranexCompactControl[hidden]:not(.chiefHeroAction):is(button,a,[role="button"]){display:none!important}
.intranexCompactControl:not(.chiefHeroAction):is(button,a,[role="button"]){padding-inline:var(--intranex-compact-control-padding-inline)!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:var(--intranex-compact-action-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
.intranexCompactControl.intranexCompactControl.intranexCompactControl:not(.chiefHeroAction):is(button,a,[role="button"]){font-size:var(--intranex-compact-action-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
.intranexCompactControl:not(.chiefHeroAction):is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]),select){padding-inline:var(--intranex-compact-control-padding-inline)!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
.businessServiceOverview>header button,.businessServiceEmpty button,.businessServiceHeaderActions button,#businessServiceHistoryDialog>form>footer button,.accountingDocumentLinkHeaderActions button{box-sizing:border-box!important;height:var(--intranex-compact-control-height)!important;min-height:var(--intranex-compact-control-height)!important;margin:0!important;padding:5px var(--intranex-compact-control-padding-inline)!important;border-radius:var(--intranex-compact-control-radius)!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}

/* One complete compact geometry and paint model for every Cards/List view switch. */
.intranexViewSwitch.intranexViewSwitch{display:grid!important;grid-template-columns:repeat(2,minmax(98px,1fr))!important;align-items:stretch!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important}
.intranexViewSwitch.intranexViewSwitch>button{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:100%!important;min-width:98px!important;min-height:var(--intranex-compact-control-height)!important;height:var(--intranex-compact-control-height)!important;margin:0!important;padding:5px var(--intranex-compact-control-padding-inline)!important;border:1px solid #b9cbea!important;border-radius:var(--intranex-compact-control-radius)!important;color:#2859ad!important;background:#f5f8ff!important;background-image:none!important;box-shadow:none!important;font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important;transition:transform .08s ease!important}
.intranexViewSwitch.intranexViewSwitch>button[aria-pressed="true"],.intranexViewSwitch.intranexViewSwitch>button:hover:not(:disabled){border-color:#b9cbea!important;color:#2859ad!important;background:#f5f8ff!important;background-image:none!important;box-shadow:none!important;outline:0!important}
.intranexViewSwitch.intranexViewSwitch>button:active:not(:disabled){transform:translateY(1px) scale(.99)!important}
.intranexModeSwitch>button[aria-pressed="true"]{outline:0!important}
.intranexModeSwitch>button[aria-pressed="true"]{border-color:var(--intranex-action,#2867ef)!important;background:var(--intranex-action,#2867ef)!important;color:#fff!important}
.intranexViewSwitch>button:focus-visible,.intranexModeSwitch>button:focus-visible{outline:2px solid #487ac2!important;outline-offset:2px!important}
html[data-intranex-theme="dark"] .intranexViewSwitch.intranexViewSwitch>button{border-color:#405675!important;color:#b9d3ff!important;background:#13243a!important}
html[data-intranex-theme="dark"] .intranexViewSwitch.intranexViewSwitch>button[aria-pressed="true"],html[data-intranex-theme="dark"] .intranexViewSwitch.intranexViewSwitch>button:hover:not(:disabled){border-color:#405675!important;color:#b9d3ff!important;background:#13243a!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1180px){:root{--intranex-compact-control-height:40px}.intranexViewSwitch.intranexViewSwitch{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.intranexViewSwitch.intranexViewSwitch>button{min-width:0!important;padding-block:9px!important;padding-inline:var(--intranex-compact-control-padding-inline)!important}}
html[data-intranex-segment-count="2"] .intranexViewSwitch{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-intranex-segment-count="2"] .intranexViewSwitch>button{min-width:0!important}

/* Accounting trip dossiers use the shared workspace-dialog geometry. */
.accountingRouteHistoryDialog{width:min(var(--intranex-dialog-width,1440px),calc(100vw - 32px))!important}
.accountingRouteHistoryDialog.is-preparing{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.accountingRouteHistoryDialog.is-preparing::backdrop{opacity:0!important}
.accountingRouteHistoryDialog[data-render-ready="true"]{visibility:visible;opacity:1}
.accountingRouteHistoryDialog>form{height:inherit;max-height:inherit;min-height:0}
.accountingTripStandaloneFacts{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:18px;scrollbar-gutter:stable}
.accountingTripDossierWorkspace{flex:1 1 auto;min-height:0}
.accountingTripDossierFacts,.accountingTripDossierDocuments{overscroll-behavior:contain;scrollbar-gutter:stable}
.accountingRouteHistoryDialog>form>footer button,.tripDossierUpload button{min-height:var(--intranex-compact-control-height)!important;height:var(--intranex-compact-control-height)!important;border-radius:var(--intranex-compact-control-radius)!important;padding:0 var(--intranex-compact-control-padding-inline)!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
.accountingTripDialogActions button{min-height:var(--intranex-compact-control-height)!important;height:var(--intranex-compact-control-height)!important;border-radius:var(--intranex-compact-control-radius)!important;padding:0 var(--intranex-compact-control-padding-inline)!important;font-size:var(--intranex-compact-control-font-size)!important;font-weight:var(--intranex-compact-control-font-weight)!important;line-height:var(--intranex-compact-control-line-height)!important}
@media(max-width:839px){.accountingRouteHistoryDialog>form{height:inherit}.accountingTripDossierWorkspace{flex:1 1 auto}}

.accountingTripCorrectionDialog{width:min(var(--intranex-dialog-width,1440px),calc(100vw - 32px))!important}
.accountingTripCorrectionDialog>form{display:flex;height:inherit;max-height:inherit;min-height:0;flex-direction:column;padding:0!important;overflow:hidden!important}
.accountingTripCorrectionDialog>form>header{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line)}
.accountingTripCorrectionDialog>form>header h2,.accountingTripCorrectionDialog>form>header p{margin:3px 0 0}.accountingTripCorrectionDialog>form>header p{color:var(--muted);font-size:11px}
.accountingTripCorrectionBody{display:grid;flex:1 1 auto;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:16px;min-height:0;padding:16px 22px;overflow:auto}
.accountingTripCorrectionBody>section{align-content:start;min-width:0}.accountingTripCorrectionBody h3{margin:0 0 10px}
.accountingTripCorrectionGrid,.accountingTripCorrectionStop>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.accountingTripCorrectionGrid label,.accountingTripCorrectionStop label{display:grid;gap:5px;margin:0;color:var(--muted);font-size:10px;font-weight:800}.accountingTripCorrectionGrid .wide,.accountingTripCorrectionStop .wide{grid-column:1/-1}
.accountingTripCorrectionGrid input,.accountingTripCorrectionGrid textarea,.accountingTripCorrectionStop input{width:100%;box-sizing:border-box}
.accountingTripCorrectionStops{display:grid;gap:10px}.accountingTripCorrectionStop{margin:0;padding:12px;border:1px solid var(--line);border-radius:11px}.accountingTripCorrectionStop legend{padding:0 6px;color:var(--ink);font-weight:900}
.accountingTripCorrectionDialog>form>footer{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:9px;padding:12px 22px;border-top:1px solid var(--line);background:var(--panel)}.accountingTripCorrectionDialog>form>footer p{flex:1;margin:0;color:#a13d4d;font-size:10px}
@media(max-width:839px){.accountingTripCorrectionDialog>form{height:inherit}.accountingTripCorrectionBody{grid-template-columns:1fr;overflow:auto}.accountingTripCorrectionDialog>form>footer{position:sticky;bottom:0;flex-wrap:wrap}.accountingTripCorrectionDialog>form>footer p{flex-basis:100%}}
@media(max-width:520px){.accountingTripCorrectionGrid,.accountingTripCorrectionStop>div{grid-template-columns:1fr}.accountingTripCorrectionGrid .wide,.accountingTripCorrectionStop .wide{grid-column:1}}
.accountingSelfBillingDialog>form{display:flex;max-height:inherit;min-height:0;flex-direction:column;padding:0!important;overflow:hidden!important}
.accountingSelfBillingDialog>form>header{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line)}
.accountingSelfBillingDialog>form>header h2,.accountingSelfBillingDialog>form>header p{margin:3px 0 0}.accountingSelfBillingDialog>form>header p{color:var(--muted);font-size:11px}
.accountingSelfBillingReference{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;margin:14px 22px 0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);background-image:none;box-shadow:none}.accountingSelfBillingReference span{color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.06em}.accountingSelfBillingReference strong{grid-column:2;grid-row:1/3;align-self:center;color:var(--ink);font-size:14px}.accountingSelfBillingReference small{color:var(--muted);font-size:10px}.accountingSelfBillingReference.missing{border-color:#e6aab2}.accountingSelfBillingReference.missing strong{color:#a52c3b}
.accountingSelfBillingFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px 22px;overflow:auto}
.accountingSelfBillingFields label{display:grid;gap:5px;margin:0;color:var(--muted);font-size:10px;font-weight:800}.accountingSelfBillingFields .wide{grid-column:1/-1}
.accountingSelfBillingFields :is(input,select,textarea){box-sizing:border-box;width:100%;box-shadow:none;background-image:none}
.accountingSelfBillingDialog>form>footer{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px;padding:12px 22px;border-top:1px solid var(--line);background:var(--panel)}.accountingSelfBillingDialog>form>footer p{flex:1;margin:0;color:#a13d4d;font-size:10px}
.accountingSelfBillingDialog>form>footer button{background-image:none;box-shadow:none}
@media(max-width:620px){.accountingSelfBillingDialog>form{min-height:100%}.accountingSelfBillingReference{grid-template-columns:1fr;margin:12px 14px 0}.accountingSelfBillingReference strong{grid-column:1;grid-row:2}.accountingSelfBillingFields{grid-template-columns:1fr}.accountingSelfBillingFields .wide{grid-column:1}.accountingSelfBillingDialog>form>footer{position:sticky;bottom:0}.accountingSelfBillingDialog>form>footer p{flex-basis:100%}}
/* Shared compact empty state for internal registers. It occupies only the
   space needed for the message and its next action. */
:where(.intranexEmptyState,.operationsEmpty,.fleetDispositionEmpty,.countryDispatchEmpty,.countryMileageStopsEmpty,.personalDashboardEmpty){box-sizing:border-box;min-height:0;margin:0;padding:16px 18px;color:var(--intranex-muted,#667895);font-size:11px;line-height:1.45;text-align:center}
:where(.intranexEmptyState,.operationsEmpty,.fleetDispositionEmpty,.countryDispatchEmpty,.countryMileageStopsEmpty,.personalDashboardEmpty)>:is(a,button){margin-top:10px}
.intranexCompactControl.intranexCompactControl.intranexCompactControl.intranexCompactControl.intranexCompactControl.intranexCompactControl.intranexCompactControl.intranexCompactControl[data-intranex-control-adornment="suffix"]{padding-inline-end:72px!important}
