:root{font-family:system-ui,sans-serif;color:#163238;background:#f2f6f6}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;background:#087453;color:white;border:0;border-radius:8px;padding:11px 16px}button:disabled{opacity:.5;cursor:wait}input,select{width:100%;border:1px solid #b9cccf;border-radius:7px;background:white;padding:11px;color:#163238}label{display:grid;gap:6px;font-size:14px;margin:13px 0}h1{font-size:30px;margin:8px 0 20px}h2{font-size:20px}p{line-height:1.5}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:#062d24;color:#f5fafb;padding:28px 18px}aside strong{font-size:23px}aside p{color:#acd0d4;font-size:13px}nav{display:grid;gap:8px;margin-top:32px}nav button{text-align:left;background:transparent}nav button.active{background:#087453}main{padding:30px;max-width:1450px;width:100%}header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}small,.muted{color:#567278}.card{background:white;padding:23px;border:1px solid #dae4e5;border-radius:13px;margin-bottom:18px}.auth{max-width:480px;margin:8vh auto;padding:25px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.stats{display:flex;gap:18px;flex-wrap:wrap}.stats .card{flex:1;min-width:150px}.stats b{display:block;font-size:36px}.tag{display:inline-block;border-radius:20px;padding:5px 12px;background:#e1f3ef;font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.secondary{background:#e6eeee;color:#163238}.notice{font-size:13px;padding:12px 16px;border-radius:8px;background:#e8f0f2;margin-bottom:20px}.error{color:#aa2635;background:#fff1f2;padding:12px;border-radius:8px}.success{color:#07674f}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:12px;border-bottom:1px solid #e2eaea}.scroll{overflow-x:auto}form button{margin-top:8px}.cols{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.full{grid-column:1/-1}#message:empty{display:none}#message{margin-bottom:16px}a{color:#087453}@media(max-width:750px){.shell{display:block}aside{padding:15px}nav{margin-top:12px;display:flex;overflow-x:auto}nav button{white-space:nowrap}main{padding:18px}.cols{grid-template-columns:1fr}header{align-items:flex-start}.auth{margin:20px auto}}

aside strong{font-size:20px;color:#e4c566}.auth>strong{color:#087453}

.trip-dialog{width:min(700px,95vw);max-height:90vh;overflow:auto;border:1px solid #b9cccf;border-radius:13px;padding:24px;color:#163238}.trip-dialog::backdrop{background:#062d2480}.calendar{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.calendar-day{background:white;border:1px solid #dae4e5;border-radius:10px;padding:14px}.calendar-trip{background:#e1f3ef;border-radius:6px;margin-top:10px;padding:10px;overflow-wrap:anywhere}
.cols>label{align-content:start;align-self:start}.cols>label:has(select[name=driver_id]){grid-column:1/-1}.cols .actions{margin-top:4px}

/* MYCARGO2 identity; same application and permissions. */
:root{--brand-primary:#185abd;--brand-dark:#102441;--brand-accent:#9fc7ff;background:#f3f6fb;color:#172f50}button,nav button.active{background:var(--brand-primary)}aside{background:var(--brand-dark)}aside strong{color:var(--brand-accent);font-size:18px;overflow-wrap:anywhere}aside p{color:#c5d8ed}.auth>strong,a{color:var(--brand-primary)}nav button{background:transparent}.secondary{background:#e6edf7;color:#172f50}:focus-visible{outline:3px solid #d48100;outline-offset:3px}.auth>strong{display:block;font-size:18px;line-height:1.6}button{min-height:44px}.trip-dialog::backdrop{background:#10244180}

.product-brand span{display:block;font-size:12px;font-weight:500;line-height:1.8;letter-spacing:.03em}.product-brand{line-height:1.4}
.landing{background:#f4f5ef;color:#152e28}.landing-nav,.landing-main,.landing-footer{max-width:1200px;margin:auto;padding:28px}.landing-nav{display:flex;justify-content:space-between;align-items:center;gap:20px}.landing a{color:inherit}.landing .landing-button{display:inline-block;background:#175c47;color:#fff;padding:14px 22px;border-radius:8px;text-decoration:none;font-weight:700}.landing-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:center;padding:65px 0 80px}.landing-hero h1{font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-1.5px}.landing-lead{font-size:20px;line-height:1.6}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:#876b25}.landing-example{background:#fff;padding:30px;border:1px solid #d3dbc9;border-top:5px solid #bd9c47;border-radius:14px;box-shadow:0 20px 50px #153d2310}.landing-example dl{display:grid;grid-template-columns:1fr auto;gap:16px}.landing-example dd{margin:0;font-weight:700}.example-total{border-top:1px solid #ddd;padding-top:20px;display:flex;justify-content:space-between;gap:15px}.landing-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:35px 0 70px}.landing-steps b{font-size:28px;color:#a68530}.landing p{line-height:1.65}.landing-access{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:35px 0}.landing-contact{padding:45px 0}.landing-footer{border-top:1px solid #d3dbc9}.landing .product-brand{text-decoration:none}.landing .actions{align-items:center;gap:24px}#expense-results strong{overflow-wrap:anywhere}@media(max-width:760px){.landing-hero,.landing-steps,.landing-access{grid-template-columns:1fr;gap:24px}.landing-hero{padding:25px 0 45px}.landing-nav,.landing-main,.landing-footer{padding:20px}.landing-nav{flex-wrap:wrap}.landing-example{padding:20px}}
.landing-example,.landing-example strong{color:#152e28}.landing-example p{color:#425e53;font-size:16px}.landing-example small{color:#53665a}.landing-example strong{font-size:inherit}.landing-hero>div{min-width:0}.landing-example{min-width:0}

.language-picker{margin:0;min-width:120px;font-size:12px}.language-picker select{padding:9px}.finance-stats .card{min-width:185px}.finance-stats b{font-size:24px;overflow-wrap:anywhere}.finance-row{padding:18px 0;border-bottom:1px solid #dae4e5;display:flex;align-items:center;justify-content:space-between;gap:16px}.rate-form{align-items:center}.rate-form input{max-width:180px}summary{cursor:pointer;font-weight:600}article p{overflow-wrap:anywhere}@media(max-width:650px){.finance-row{display:block}.stats{display:grid;grid-template-columns:1fr 1fr}.finance-stats .card{min-width:0;padding:14px}.finance-stats b{font-size:18px}}

/* Shared cabinet identity: sidebar and sign-in. */
.cabinet-brand{display:flex;align-items:center;gap:10px;margin:0 0 24px;min-width:0}
.cabinet-brand>img{width:46px;height:46px;flex:0 0 46px;border-radius:10px}
.cabinet-brand-copy{min-width:0}.cabinet-brand-copy strong{display:block;font-size:13px;line-height:1.35;letter-spacing:-.25px;white-space:nowrap;color:#f6f8fc;overflow-wrap:normal}
.cabinet-brand-copy strong span{color:#d3b565}.cabinet-brand-copy small{display:block;margin-top:5px;font-size:8px;font-weight:700;letter-spacing:1.1px;color:#b9cbe1;white-space:nowrap}
.auth .cabinet-brand{margin:20px 0}.auth .cabinet-brand-copy strong{font-size:18px;color:#102441}.auth .cabinet-brand-copy small{font-size:9px;color:#60748d}
@media(max-width:750px){.cabinet-brand{margin-bottom:18px}.cabinet-brand-copy strong{font-size:17px}.cabinet-brand-copy small{font-size:9px}}

/* Aligned header controls; accessible language label stays available. */
.cabinet-toolbar{margin-top:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cabinet-toolbar .language-picker{position:relative;display:block;margin:0;font-size:0;min-width:150px}
.cabinet-toolbar .language-picker select,.cabinet-toolbar>button{height:44px;min-height:44px;margin:0;border:1px solid #ccd7e5;border-radius:9px;background:#fff;color:#233e61;font-size:14px;font-weight:600;line-height:20px;padding:11px 14px;box-shadow:0 1px 2px #10244105}
.cabinet-toolbar .language-picker select{padding-right:30px;cursor:pointer}
.cabinet-toolbar>button:hover{background:#edf3fc;border-color:#a8bddb}
@media(max-width:600px){.shell main>header{flex-wrap:wrap;gap:16px}.cabinet-toolbar{width:100%;display:grid;grid-template-columns:minmax(130px,1fr) auto auto;gap:8px}.cabinet-toolbar .language-picker{min-width:0}.cabinet-toolbar>button{padding-inline:12px}}
@media(max-width:360px){.cabinet-toolbar{grid-template-columns:1fr 1fr}.cabinet-toolbar .language-picker{grid-column:1/-1}}

.cabinet-toolbar>.install-app,.auth>.install-app{background:#185abd;border:1px solid #185abd;color:white}.cabinet-toolbar>.install-app:hover{background:#124b9f;border-color:#124b9f}.install-app[hidden]{display:none}.auth>.install-app{margin:12px 0 4px;width:100%}.install-dialog{width:min(560px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #ccd7e5;border-radius:16px;padding:26px;color:#172f50;box-shadow:0 20px 70px #10244130}.install-dialog::backdrop{background:#10244180}.install-dialog h2{font-size:21px;margin:0 0 12px}.install-dialog section{border-top:1px solid #e2e9f2;padding:14px 0 0;margin-top:16px}.install-dialog h3{font-size:15px;margin:0}.install-dialog p{font-size:14px;line-height:1.6}.install-dialog form{display:flex;justify-content:flex-end}@media(max-width:600px){.cabinet-toolbar{grid-template-columns:1fr 1fr}.cabinet-toolbar .install-app{grid-column:1/-1}.cabinet-toolbar .language-picker{grid-column:1/-1}}

/* Desktop menu scrolls independently; contain wheel/touch scroll at its edges. */
@media(min-width:751px){
 .shell{grid-template-columns:230px minmax(0,1fr)}
 .shell>aside{position:sticky;top:0;align-self:start;height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#647e9e #102441}
 .shell>main{min-width:0}
}
#estimate-map{height:420px;border:1px solid #d4dfea;border-radius:12px;margin-bottom:16px;z-index:0}#estimate-form .actions{align-items:center;gap:12px;flex-wrap:wrap}#estimate-form .cols{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}#estimate-routes .selected-route{background:#195abe;color:white;border-color:#195abe}.estimate-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:22px}.estimate-summary strong{display:block;font-size:1.35rem;margin-top:8px}#estimate-points{overflow-wrap:anywhere;margin-top:12px}#estimate-form textarea{min-height:80px;width:100%}@media(max-width:600px){#estimate-map{height:320px}}
.operations-map{height:420px;border:1px solid #d4dfea;border-radius:12px;z-index:0;margin:20px 0}#ocr-result textarea{width:100%;min-height:260px;font-family:inherit}#gps-list .card .actions{flex-wrap:wrap;gap:12px}@media(max-width:600px){.operations-map{height:320px}}
input.inline-checkbox{display:inline-block;width:auto;min-height:0;margin-right:8px;vertical-align:middle}

/* Shared company editor: compact fields and consistent action alignment. */
.shared-company-dialog{width:min(780px,95vw);padding:20px 24px;color:#172f50}
.shared-company-dialog h2{margin:0 0 10px}.shared-company-dialog>p{font-size:14px;margin:0 0 16px}
.shared-company-dialog .cols>label{margin:7px 0;gap:4px}
.shared-company-dialog .actions{align-items:stretch;gap:8px;margin-top:16px}
.shared-company-dialog .actions button{margin:0;line-height:1.3}
.shared-company-dialog [role=status]:empty{display:none}
@media(max-width:600px){.shared-company-dialog{padding:18px;max-height:92dvh}.shared-company-dialog .actions{display:grid;grid-template-columns:1fr}.shared-company-dialog .cols{grid-template-columns:1fr}}

#estimate-addresses{display:grid;gap:16px;margin:16px 0}.estimate-address-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end}.estimate-address-row label{min-width:0}.estimate-address-row input{min-width:0;width:100%;max-width:100%}.address-search-results{grid-column:1/-1;display:grid;gap:8px}.address-result{text-align:left;white-space:normal;overflow-wrap:anywhere}.estimate-address-row .actions{margin:0}#estimate-points{overflow-wrap:anywhere}@media(max-width:600px){.estimate-address-row{grid-template-columns:minmax(0,1fr)}.estimate-address-row .actions{justify-content:flex-start}.address-search-results{grid-column:1}}


 [data-fc-stash],#owner-sso-bar{display:none!important}html[data-fc-app=prayer] #app>.account-banner{display:none!important}.fc-entry{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;flex:0 0 auto!important;box-sizing:border-box;min-height:40px;width:auto!important;min-width:100px;max-width:100%;margin:0 0 0 auto!important;padding:8px 16px!important;border:1px solid currentColor;border-radius:10px;background:transparent;color:inherit;font:600 14px/1.3 system-ui;text-decoration:none;cursor:pointer;white-space:nowrap}
 .fc-dialog,[data-fc-dialog]{box-sizing:border-box!important;width:min(440px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;margin:auto!important;padding:32px!important;border:1px solid var(--fc-border,#c4d2ca)!important;border-radius:18px!important;background:var(--fc-bg,#f8fbf8)!important;color:var(--fc-fg,#193e2d)!important;box-shadow:0 22px 80px #0005;font:15px/1.5 system-ui;text-align:left}
 .fc-dialog:not([open]),[data-fc-dialog]:not([open]){display:none!important}.fc-dialog[open],[data-fc-dialog][open]{display:block!important}
 .fc-dialog::backdrop,[data-fc-dialog]::backdrop{background:#020a10b3;backdrop-filter:blur(6px)}
 .fc-dialog h1,.fc-dialog h2,[data-fc-dialog] h1,[data-fc-dialog] h2{font-size:25px!important;line-height:1.25;margin:8px 0 20px!important}.fc-eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin:8px 40px 18px 0;opacity:.75}.fc-close{position:absolute!important;inset:12px 12px auto auto!important;box-sizing:border-box!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:inherit!important;font:26px/1 system-ui!important;cursor:pointer}
 .fc-dialog form{display:grid;gap:12px}.fc-dialog form label{display:block;margin:0}.fc-dialog form input:not([type=checkbox]):not([type=hidden]){box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #8b9c9290;border-radius:9px;padding:10px 12px;font:inherit;background:var(--fc-input,#fff);color:inherit}.fc-dialog form label:has(input[type=checkbox]){display:flex;gap:8px;align-items:center;font-size:13px}.fc-dialog form input[type=checkbox]{width:auto;flex:0 0 auto}
 .fc-dialog button:not(.fc-close),[data-fc-dialog] button:not(.fc-close){max-width:100%;min-height:40px;box-sizing:border-box;cursor:pointer}.fc-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:24px}.fc-actions button{padding:8px 12px;border:1px solid #8b9c9290;border-radius:9px;background:transparent;color:inherit;font:600 13px/1.3 system-ui}.fc-actions .fc-danger{color:#b32d50}.fc-status{opacity:.8;overflow-wrap:anywhere;white-space:pre-line}.fc-brand-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.fc-brand-row .brand{margin:0!important}.fc-login-form>button[type=submit]{width:100%;margin-top:12px}.fc-dialog :focus-visible,[data-fc-dialog] :focus-visible,.fc-entry:focus-visible{outline:3px solid #548eb9;outline-offset:3px}
 @media(max-width:600px),(pointer:coarse){.fc-entry,.fc-dialog button:not(.fc-close),[data-fc-dialog] button:not(.fc-close){min-height:44px}.fc-dialog,[data-fc-dialog]{padding:28px 22px!important}.fc-close{height:44px!important;width:44px!important;min-width:44px!important}.fc-entry{margin-left:0!important}}
 
[data-fc-theme=dark]{--fc-bg:#15222c;--fc-fg:#edf3f6;--fc-border:#354751;--fc-input:#283849}

.fc-auth-submit{width:100%!important;margin-top:14px!important}.fc-auth-modes{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:20px}.fc-auth-modes button{width:auto!important;min-width:0!important;padding:5px 0!important;background:transparent!important;border:0!important;color:inherit!important;font:600 12px/1.3 system-ui!important}.fc-auth-modes button.primary{text-decoration:underline}.fc-dialog:has(form[hidden]) .fc-auth-modes,[data-fc-dialog]:has(form[hidden]) .fc-auth-modes{display:none}.fc-dialog .row:empty,[data-fc-dialog] .row:empty{display:none}

.fc-dialog [hidden],[data-fc-dialog] [hidden]{display:none!important}

html[data-fc-app=prayer] .fc-dialog section.card{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important}.fc-extras{margin-top:22px}.fc-extras>summary{cursor:pointer;font-size:13px;opacity:.8}.fc-extras>section,.fc-extras>button{margin-top:16px!important}

html[data-fc-app=road] .accountForm>.accountButtons{display:flex;flex-direction:column;align-items:stretch}html[data-fc-app=road] .accountForm>.accountButtons>button[type=button]{border:0;background:transparent;align-self:center;font-size:12px;width:auto}.fc-auth-submit{text-align:center!important;justify-content:center!important}

dialog.roadAccount:not([open]){display:none!important}

/* Shared family installation entry, matching each product's existing palette. */
.family-install-entry,.family-install-native{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:150px;min-width:0;max-width:100%;height:40px;min-height:40px;margin:0;border:1px solid var(--family-install-edge,#00bbd7);border-radius:9px;padding:3px 10px;background:var(--family-install-bg,#d9fbff);color:var(--family-install-ink,#10516b);font:700 14px/16px system-ui,-apple-system,sans-serif;text-align:center;text-decoration:none;white-space:normal}
.family-install-entry:focus-visible{outline:3px solid #6551dd;outline-offset:2px}.family-install-help{box-sizing:border-box;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #9bcbdd;border-radius:16px;padding:24px;background:#f7fbff;color:#1e2b46;box-shadow:0 20px 70px #17274433;font:15px/1.5 system-ui,sans-serif}.family-install-help::backdrop{background:#17274466;backdrop-filter:blur(4px)}.family-install-help h2{margin:0 0 16px;font-size:23px}.family-install-help p{color:#52677b}.family-install-help>button{height:40px;min-height:40px;padding:4px 18px;border:1px solid #00bbd7;border-radius:9px;background:#d9fbff;color:#10516b;font:700 14px/16px system-ui,sans-serif}
@media(max-width:600px),(pointer:coarse){.family-install-entry,.family-install-native,.family-install-help>button{height:44px;min-height:44px}}
@media(max-width:480px){header:has(>.family-install-entry),header:has(>.family-install-native){flex-wrap:wrap;gap:4px}header>.family-install-entry,header>.family-install-native,header>.fc-entry,header>#account-button{flex:1 1 130px;max-width:100%;margin:0!important}header:has(>.family-install-entry)>.brand,header:has(>.family-install-native)>.brand{flex-basis:100%;margin-bottom:8px}header .row:has(>.family-install-entry){display:flex;gap:4px;flex-wrap:wrap;min-width:0}header .row>.family-install-entry,header .row>.fc-entry{flex:1 1 120px;width:150px;min-width:0}}
