@font-face{font-family:Aptos;src:url('/assets/fonts/aptos-regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Aptos;src:url('/assets/fonts/aptos-bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
/* WMC administration design tokens and shared workspaces. Screen-only rules never alter exports. */
:root{--wd-ink:#172421;--wd-muted:#66736f;--wd-gold:#ad8030;--wd-gold-soft:#fbf3e2;--wd-border:#dfe5e1;--wd-bg:#f4f7f6;--wd-nav:#092a23;--wd-side:204px;--wd-top:66px;--wd-radius:10px}
.wmc-design,.wmc-design-embed{font-family:Aptos,sans-serif!important;color:var(--wd-ink);background:var(--wd-bg);font-size:14px}
.wmc-design *,.wmc-design-embed *{box-sizing:border-box}
.wmc-design a:focus-visible,.wmc-design button:focus-visible,.wmc-design input:focus-visible,.wmc-design select:focus-visible,.wmc-design summary:focus-visible{outline:3px solid #1676b5!important;outline-offset:2px}
.wmc-design button,.wmc-design select,.wmc-design input,.wmc-design textarea{font:inherit}
.wmc-design button,.wmc-design summary,.wmc-design select{cursor:pointer}
.wmc-design button:disabled{cursor:default;opacity:.5}
.wd-sidebar{position:fixed;inset:0 auto 0 0;width:var(--wd-side);z-index:90;background:var(--wd-nav);color:#ecf4ef;display:flex;flex-direction:column;padding:17px 12px;gap:15px}
.wd-brand{display:block;height:90px;overflow:hidden;background:#092a23;border-radius:6px}.wd-brand img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.wd-sidebar nav{display:flex;flex-direction:column;gap:5px;min-height:0;overflow:auto;scrollbar-width:thin}
.wd-sidebar a,.wd-sidebar summary{color:inherit;text-decoration:none;font-size:13px;line-height:1.2}
.wd-sidebar nav>a,.wd-nav-group>summary{min-height:38px;padding:10px 12px;border-radius:7px;display:flex;align-items:center;gap:11px;font-weight:600;list-style:none}
.wd-nav-group>summary::-webkit-details-marker{display:none}.wd-nav-group>summary:after{content:'⌄';margin-left:auto;font-size:15px}.wd-nav-group[open]>summary:after{transform:rotate(180deg)}
.wd-sidebar svg{width:19px;height:19px;flex:0 0 19px}.wd-nav-group>a{display:block;padding:8px 10px 8px 42px;border-radius:5px;font-size:12px}
.wd-sidebar a:hover,.wd-nav-group>summary:hover{background:#ffffff12}.wd-sidebar .is-current:not(.wd-brand){background:var(--wd-gold)!important;color:white!important}
.wd-sidebar-foot{margin-top:auto;display:grid;gap:10px;border-top:1px solid #ffffff28;padding:13px 10px 0}.wd-sidebar-foot form{margin:0}.wd-sidebar-foot button{border:0;background:none;color:#f4b8b0;padding:0;display:flex;align-items:center;gap:10px;font-size:12px}
.wd-topbar{position:fixed;left:var(--wd-side);right:0;top:0;z-index:80;height:var(--wd-top);display:flex;align-items:center;gap:18px;padding:12px 22px;background:#fff;border-bottom:1px solid var(--wd-border)}
.wd-topbar h1{font-size:23px!important;font-weight:750;margin:0!important;letter-spacing:-.04em;white-space:nowrap;max-width:34%;overflow:hidden;text-overflow:ellipsis}.wd-date{font-size:11px;color:var(--wd-muted);white-space:nowrap}
.wd-global-search{margin-left:auto;display:flex;width:min(340px,30vw);border:1px solid var(--wd-border);border-radius:7px;overflow:hidden;align-items:center}.wd-global-search input{min-width:0;width:100%;border:0!important;background:transparent!important;padding:10px!important;font-size:12px!important;min-height:36px!important}.wd-global-search button{display:flex;border:0;background:#fff;padding:8px}.wd-global-search svg{width:17px;height:17px}
.wd-profile{display:flex;gap:9px;align-items:center;margin-left:auto;white-space:nowrap}.wd-global-search+.wd-profile{margin-left:0}.wd-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--wd-gold);color:#fff;font-size:17px}.wd-profile strong{font-size:12px;display:block}.wd-profile small{display:block;font-size:10px;color:var(--wd-muted)}.wd-menu-toggle{display:none}
/* Remove only duplicate legacy framing, retaining its menu nodes and event listeners for routing. */
.wmc-design #admin-root .admin-sidebar,.wmc-design #wmc-tool-navigation,.wmc-design>.commerce-top,.wmc-design>.app-brand-bar,.wmc-design>header:not(.wd-topbar),.wmc-design>footer,.wmc-design .wmc-site-footer,.wmc-design .wmc-project-credit{display:none!important}
.wmc-design #admin-root .admin-app{display:block!important;background:transparent!important;min-height:0!important}
.wmc-design #admin-root .admin-workspace,.wmc-design>main,.wmc-design>.commerce-shell,.wmc-design>.app-shell{margin:var(--wd-top) 0 0 var(--wd-side)!important;padding:18px 20px!important;max-width:none!important;width:calc(100% - var(--wd-side))!important;min-height:0!important}
.wmc-design .admin-heading{padding:0!important;min-height:0!important;margin:0 0 10px!important;align-items:center!important}.wmc-design .admin-heading h1,.wmc-design .admin-eyebrow{display:none!important}.wmc-design .admin-heading-actions{margin-left:auto}.wmc-design .commerce-heading{margin:0 0 14px;padding:0;gap:12px}.wmc-design .commerce-heading h1,.wmc-design .dispatch-heading h1{font-size:23px;margin:0 0 5px;letter-spacing:-.03em}.wmc-design .commerce-heading p,.wmc-design .dispatch-heading p{font-size:12px;margin:3px 0;color:var(--wd-muted)}
.wmc-design :is(.admin-settings,.admin-form,.admin-detail,.vehicle-record-card,.personnel-driver-card,.commerce-record,.wmc-suite-report,.dispatch-schedule,.dispatch-queue){border-color:var(--wd-border)!important;border-radius:var(--wd-radius)!important;box-shadow:none!important;background:#fff}
.wmc-design :is(input,select,textarea){border-color:#cfd9d3;border-radius:6px!important;min-height:36px;font-size:13px!important;padding:8px 10px;max-width:100%}.wmc-design input[type=checkbox],.wmc-design input[type=radio]{min-height:0}
.wmc-design :is(.admin-gold,.commerce-button:not(.secondary),.dispatch-button.is-gold,.wmc-suite-button){background:var(--wd-gold)!important;color:white!important;border-color:var(--wd-gold)!important;border-radius:6px!important}
.wmc-design table{font-size:12px!important;width:100%;border-collapse:collapse}.wmc-design table th{font-size:11px!important;color:var(--wd-muted);background:#f4f7f6}.wmc-design table td,.wmc-design table th{padding:10px 12px!important;border-bottom:1px solid #edf0ee;vertical-align:middle}.wmc-design table button{font-size:12px!important}
.wmc-design .admin-booking-layout{display:block!important}.wmc-design .admin-list{gap:0!important}.wmc-design .admin-booking{padding:11px 12px!important;border-radius:0!important;min-height:54px!important}.wmc-design .admin-booking strong{font-size:13px!important}.wmc-design .admin-booking span,.wmc-design .admin-booking small{font-size:12px!important}
.wmc-design .personnel-driver-card,.wmc-design .vehicle-record-card{padding:12px!important;margin-bottom:6px!important}.wmc-design .personnel-driver-card strong,.wmc-design .vehicle-record-card strong{font-size:13px!important}.wmc-design .admin-detail h2{font-size:22px!important;margin:12px 0!important}
.wmc-design .admin-message,.wmc-design .admin-error{padding:9px 12px!important;margin-bottom:10px!important;font-size:12px!important;border-radius:6px}
.wmc-design .admin-booking-modal,.wmc-design .wd-dialog{border:1px solid var(--wd-border)!important;border-radius:12px!important;max-width:calc(100vw - 40px)!important;max-height:calc(100dvh - 30px)!important;background:white;padding:18px!important}
.wmc-design dialog::backdrop{background:#092a2370;backdrop-filter:blur(2px)}.wmc-design .booking-detail-shell{padding:0!important}.wmc-design .booking-sheet-summary{gap:8px!important}.wmc-design .booking-sheet-right{min-width:0}
.wmc-design .wmc-suite-controls{padding:10px 0;gap:10px}.wmc-design .wmc-suite-reports{gap:10px}.wmc-design .wmc-suite-report{padding:14px}.wmc-design .wmc-suite-report h3{font-size:15px}
.wmc-design .dispatch-controls{gap:10px;margin:10px 0}.wmc-design .dispatch-summary{gap:10px}.wmc-design .dispatch-heading{margin-bottom:8px}.wmc-design .dispatch-note{font-size:11px;margin:8px 0}
.wd-pager,.wd-mini-pager{display:flex;align-items:center;gap:6px;justify-content:flex-end;padding:8px 4px;background:#fff;font-size:11px;color:var(--wd-muted);border-top:1px solid var(--wd-border);flex-shrink:0}.wd-pager>span,.wd-mini-pager>span{margin-right:auto}.wd-pager button,.wd-mini-pager button{border:1px solid var(--wd-border);border-radius:5px;background:white;min-height:29px;min-width:29px;padding:4px 8px;color:var(--wd-ink)}
.wd-page-hidden,.wd-step-hidden{display:none!important}.wd-form-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}.wd-form-tabs button{padding:8px 12px;border:1px solid var(--wd-border);background:#fff;border-radius:6px}.wd-form-tabs [aria-current=step]{background:var(--wd-gold);color:white}
/* Overview: fixed viewport grid with independent paginated datasets. */
.wd-overview{font-size:13px;min-height:0}.wd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.wd-metric{display:flex;align-items:center;text-align:left;padding:14px;border:1px solid var(--wd-border);background:#fff;border-radius:9px;gap:12px;color:var(--wd-ink)}.wd-metric-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:var(--wd-gold-soft);color:var(--wd-gold)}.wd-metric-icon svg{width:24px;height:24px}.wd-metric span{font-size:11px}.wd-metric strong{display:block;font-size:28px;margin-top:3px;letter-spacing:-.04em}
.wd-overview-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);grid-template-rows:minmax(240px,1.35fr) minmax(188px,1fr);gap:12px;height:calc(100dvh - var(--wd-top) - 164px)}
.wd-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--wd-border);border-radius:9px;padding:10px 12px;min-height:0;min-width:0;overflow:hidden}.wd-card-head{display:flex;align-items:center;gap:8px;min-height:31px;margin-bottom:7px;flex:0 0 auto}.wd-card-head h2{font-size:15px;letter-spacing:-.02em;margin:0 auto 0 0;display:flex;align-items:center;gap:8px;white-space:nowrap}.wd-card-head h2 svg{width:21px;height:21px}.wd-card-head a,.wd-card-head select{font-size:10px!important;padding:6px!important;min-height:28px!important;white-space:nowrap;max-width:150px}.wd-card a{color:#8a6323;text-decoration:none}.wd-card a:hover{text-decoration:underline}.wd-map{flex:1;min-height:155px;background:#e9efec;border-radius:5px;position:relative}.wd-map-status{font-size:10px;color:var(--wd-muted);margin:6px 0 0;min-height:12px}.wd-map-popup{font-family:Aptos,sans-serif;font-size:12px;color:var(--wd-ink);min-width:160px}.wd-map-popup p{font-size:11px;margin:5px 0}
.wd-attention-items{min-height:0;display:flex;flex-direction:column;gap:7px;flex:1}.wd-issue{display:flex;align-items:center;gap:8px;padding:8px;background:#fffcf4;border:1px solid #ede6d7;border-radius:7px;min-height:44px}.wd-issue>svg{width:20px;height:20px;color:var(--wd-gold);flex:0 0 20px}.wd-issue>div{min-width:0;flex:1}.wd-issue strong{font-size:12px;display:block}.wd-issue small{font-size:10px;display:block;color:var(--wd-muted);margin-top:2px}.wd-issue .wd-action{padding:7px 10px;background:var(--wd-gold);color:#fff;border-radius:5px;font-size:11px}.wd-issue.is-urgent{background:#fff0f1;border-color:#edc5c8}.wd-issue.is-urgent .wd-action{background:#c92c3c}.wd-resource-summary{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 0 0;font-size:10px;margin-top:auto;color:var(--wd-muted);border-top:1px solid var(--wd-border)}
.wd-table-area{flex:1;min-height:0;overflow:hidden}.wmc-design .wd-table{table-layout:fixed;font-size:11px!important}.wmc-design .wd-table th,.wmc-design .wd-table td{padding:7px!important;font-size:11px!important;line-height:1.3}.wd-table strong,.wd-table span,.wd-table small,.wd-table a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wd-table small{font-size:10px;color:var(--wd-muted);margin-top:3px}.wd-table th:first-child{width:62px}.wd-activity .wd-table th:last-child{width:94px}.wd-dispatch .wd-table th:last-child{width:125px}.wd-badge{display:inline-block!important;border-radius:5px;padding:3px 6px;font-size:10px!important;background:#edf2f9;color:#38577a;max-width:100%;margin:1px 0;text-transform:capitalize}.wd-badge.good{background:#e4f8ed;color:#126640}.wd-badge.warn{background:#fff0d4;color:#895b0b}.wd-empty,.wd-error{padding:10px 4px;margin:0;font-size:12px;color:var(--wd-muted)}.wd-error{color:#9f3037}.wd-full-log{font-size:11px;padding:6px}.wd-log-dialog{width:min(800px,95vw);border:1px solid var(--wd-border);border-radius:12px;padding:18px;max-height:90dvh}.wd-log-row{border-top:1px solid var(--wd-border);padding:12px 0}.wd-log-row p{font-size:12px;margin:5px 0}.wd-muted{color:var(--wd-muted);font-size:12px}
@media(min-width:1180px) and (min-height:720px){.wmc-design{height:100dvh;margin:0;overflow:hidden}.wmc-design #admin-root .admin-workspace,.wmc-design>main,.wmc-design>.commerce-shell,.wmc-design>.app-shell{height:calc(100dvh - var(--wd-top));overflow:auto;scrollbar-width:thin}.wmc-design #admin-root .admin-workspace:has(.wd-overview){overflow:hidden;padding-top:10px!important}.wmc-design .admin-heading:has(+.wd-overview){margin:0!important;height:0!important}.wmc-design .admin-list,.wmc-design .commerce-records{min-height:0}}
@media(max-height:819px) and (min-width:1180px){.wd-metric{padding:10px}.wd-metric strong{font-size:24px}.wd-overview-grid{height:calc(100dvh - var(--wd-top) - 139px);grid-template-rows:minmax(225px,1.2fr) minmax(180px,1fr)}.wd-card{padding:8px 10px}.wd-issue{padding:6px;min-height:38px}.wd-issue small{display:none}.wd-table th,.wd-table td{padding:5px!important}.wd-card-head h2{font-size:14px}}
@media(max-width:1270px){:root{--wd-side:185px}.wd-date{display:none}.wd-topbar{padding:12px 16px}.wd-card-head{flex-wrap:wrap}.wd-card-head a{margin-left:auto}.wd-metric{gap:8px;padding:10px}.wd-metric strong{font-size:24px}.wd-issue strong{font-size:11px}}
@media(max-width:1179px){.wmc-design{overflow:auto}.wd-overview-grid{height:auto;grid-template-rows:330px 275px}.wd-topbar h1{font-size:19px!important}.wd-global-search{width:250px}.wd-table-area{overflow:auto}.wd-overview-grid .wd-attention{overflow:auto}.wmc-design #admin-root .admin-workspace,.wmc-design>main{padding:14px!important}.wd-sidebar{width:180px}:root{--wd-side:180px}}
@media(max-width:800px){:root{--wd-side:0px;--wd-top:60px}.wd-sidebar{width:230px;transform:translateX(-100%);transition:transform .15s}.wd-nav-open .wd-sidebar{transform:translateX(0);box-shadow:0 0 0 100vw #0006}.wd-menu-toggle{display:block;border:1px solid var(--wd-border);background:white;border-radius:5px;padding:5px 9px;font-size:18px}.wd-topbar{gap:10px;padding:9px 12px}.wd-topbar h1{max-width:55%;font-size:19px!important}.wd-global-search{display:none}.wd-profile{margin-left:auto}.wd-profile strong{max-width:90px;overflow:hidden;text-overflow:ellipsis}.wd-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wd-metric strong{font-size:23px}.wd-overview-grid{display:flex;flex-direction:column}.wd-fleet{height:350px}.wd-attention{min-height:230px}.wd-dispatch,.wd-activity{min-height:275px}.wd-card-head{flex-wrap:wrap}.wmc-design dialog{max-width:100vw!important;width:100%!important;margin:0!important}.wmc-design table{min-width:560px}.wmc-design .wd-table{min-width:0}.wmc-design .admin-booking-modal{padding:10px!important}.wd-sidebar nav{overflow:auto}}
@media print{.wd-sidebar,.wd-topbar,.wd-pager,.wd-mini-pager,.wd-form-tabs{display:none!important}.wmc-design{height:auto!important;overflow:visible!important;background:white!important}.wmc-design #admin-root .admin-workspace,.wmc-design>main{margin:0!important;width:100%!important;height:auto!important;overflow:visible!important}.wd-page-hidden,.wd-step-hidden{display:revert!important}.wmc-design .wd-overview-grid{height:auto!important;display:block}.wd-card{break-inside:avoid;margin-bottom:12px;overflow:visible}.wd-map{height:240px}.wd-table-area{overflow:visible}}
.wd-driver-photo{width:52px;height:52px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--wd-border);float:left;margin:0 10px 8px 0}
.wmc-design .wd-topbar #wmc-global-alert{position:static!important;inset:auto!important;transform:none!important;box-shadow:none!important;border:1px solid var(--wd-border)!important;background:#fff!important;color:var(--wd-ink)!important;border-radius:6px!important;min-height:34px!important;padding:7px 9px!important;font-size:11px!important;margin-left:0!important}.wmc-design .wd-topbar #wmc-global-alert[hidden]{display:none!important}
.wd-booking-tabs{display:flex;gap:6px;border-bottom:1px solid var(--wd-border);padding:10px 0;margin-bottom:10px;flex-wrap:wrap}.wd-booking-tabs button{padding:8px 14px;border:1px solid var(--wd-border);border-radius:6px;background:#fff;color:var(--wd-muted);font-size:12px}.wd-booking-tabs [aria-current=page]{background:var(--wd-gold-soft);border-color:var(--wd-gold);color:#76500f}.wd-booking-hidden{display:none!important}.wd-booking-single .booking-map-layout,.wd-booking-single .booking-sheet-main-grid{display:block!important}.wd-booking-single .booking-map-column{width:auto!important;max-width:none!important}.wd-booking-single .booking-sheet-main{width:auto!important;max-width:none!important}.wd-booking-documents{padding:18px;background:#fff;border:1px solid var(--wd-border);border-radius:8px}.wd-booking-documents h2{font-size:18px}.wd-booking-documents p{font-size:13px;color:var(--wd-muted)}.wd-booking-documents button{padding:9px 14px;margin-right:8px;border:1px solid var(--wd-border);border-radius:6px;background:#fff}.wmc-design .admin-allocations .allocation-vehicle-group{max-width:none;grid-template-columns:repeat(3,minmax(150px,1fr))!important}.wmc-design .allocation-plan select{min-width:0;width:100%}
@media(max-width:800px){.wmc-design .admin-allocations .allocation-vehicle-group{grid-template-columns:1fr!important}.wd-booking-tabs button{padding:7px 10px}}
@media print{.wd-booking-tabs,.wd-booking-documents{display:none!important}.wd-booking-hidden{display:revert!important}}
.wmc-design .wd-action-bar{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap}.wmc-design .wd-action-bar button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px!important;white-space:nowrap;border-radius:6px!important}.wmc-design .wd-action-bar svg{width:16px!important;height:16px!important;flex:0 0 16px}.wmc-design .wd-action-label{font-size:11px;font-weight:600;color:inherit}
.wmc-design button[hidden]{display:none!important}.wd-row-exports{position:relative;flex:0 0 auto}.wd-row-exports>summary{padding:7px 9px;list-style:none;cursor:pointer;border:1px solid var(--wd-border);border-radius:6px;background:white;font-size:11px;white-space:nowrap}.wd-row-exports>summary:after{content:' ▾'}.wd-row-exports>.wmc-export-toolbar{display:none!important}.wd-row-exports[open]>.wmc-export-toolbar{display:flex!important;position:absolute;right:0;top:100%;z-index:40;min-width:330px;padding:8px;background:#fff;border:1px solid var(--wd-border);border-radius:7px;box-shadow:0 8px 24px #092a2320}.wd-row-exports[open]{z-index:41}.wd-row-exports .wd-action-label{font-size:11px}.wmc-design .dispatch-reminder-delete{color:#b12b3a;border-color:#ddb8bd}
@media print{.wd-row-exports{display:none!important}}

/* The legacy suite is injected after this stylesheet. Scope the new shell more
   precisely so its width and heading spacing cannot be restored by that suite. */
html body.wmc-design #admin-root .admin-workspace{
 width:calc(100% - var(--wd-side))!important;
 margin:var(--wd-top) 0 0 var(--wd-side)!important;
 max-width:none!important;min-width:0!important;
 padding:14px 20px!important;box-sizing:border-box!important;
}
html body.wmc-design #admin-root .admin-heading{
 padding:0!important;margin:0 0 10px!important;min-height:0!important;
}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview)>.admin-heading{
 display:flex!important;flex:0 0 auto!important;height:auto!important;
 margin:0!important;padding:0!important;justify-content:flex-end;gap:8px!important;
}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview)>.admin-heading>div:first-child,
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview) .admin-topline{
 display:none!important;
}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview)>.admin-heading>[data-wmc-export-toolbar]{
 margin:0!important;max-width:100%;flex-wrap:wrap!important;
}
.wd-metric>div{min-width:0}.wd-metric strong{overflow-wrap:anywhere}
@media(min-width:1180px) and (min-height:600px){
 html:has(body.wmc-design #admin-root .wd-overview){overflow:hidden}
 html body.wmc-design{height:100dvh;overflow:hidden}
 html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview){
  height:calc(100dvh - var(--wd-top))!important;
  display:flex!important;flex-direction:column;gap:10px;overflow:hidden!important;
 }
 html body.wmc-design #admin-root .admin-workspace>.wd-overview{
  display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;
  flex:1;min-height:0;min-width:0;
 }
 html body.wmc-design #admin-root .wd-metrics{margin:0;min-width:0}
 html body.wmc-design #admin-root .wd-overview-grid{
  height:auto!important;min-height:0;
  grid-template-rows:minmax(0,1.2fr) minmax(0,1fr);
 }
 html body.wmc-design #admin-root .wd-map{min-height:80px}
}
@media(max-width:1179px){
 html body.wmc-design #admin-root .admin-workspace{padding:14px!important}
}
@media print{
 html body.wmc-design #admin-root .admin-workspace{
  margin:0!important;width:100%!important;height:auto!important;overflow:visible!important;
 }
}

/* Public site furniture is not part of the authenticated admin workspace. */
html body.wmc-design>.wmc-shared-footer{display:none!important}
/* Anchor the alert count to its own button, rather than the viewport corner. */
html body.wmc-design .wd-topbar #wmc-global-alert{position:relative!important}
/* Keep the dashboard action row from squeezing the metric cards. */
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview)>.admin-heading>.admin-heading-actions:empty{display:none!important}
/* A record's extra export menu must not be squeezed into the ranking column. */
html body.wmc-design #admin-root .personnel-driver-card>.wd-row-exports,
html body.wmc-design #admin-root .vehicle-record-card>.wd-row-exports{
 grid-column:1/-1;justify-self:end;width:max-content;max-width:100%;
}
html body.wmc-design .wd-row-exports[open]{width:100%;max-width:100%}
html body.wmc-design .wd-row-exports[open]>.wmc-export-toolbar{
 position:static;min-width:0;max-width:100%;flex-wrap:wrap!important;
}
/* Override the legacy public-footer ID rule, which also uses !important. */
html body.wmc-design #wmc-shared-footer{display:none!important}
/* Reserve enough height for all four activity rows and their pagination.
   Reduce cell spacing on compact desktops rather than clipping a row. */
@media(min-width:1180px) and (min-height:600px){
 html body.wmc-design #admin-root .wd-overview-grid{
  grid-template-rows:minmax(0,1.2fr) minmax(260px,1fr);
 }
 html body.wmc-design #admin-root .wd-table th,
 html body.wmc-design #admin-root .wd-table td{
  padding:3px!important;line-height:1.3!important;
 }
 html body.wmc-design #admin-root .wd-table th{white-space:nowrap}
 html body.wmc-design #admin-root .wd-mini-pager{padding:2px 4px;min-height:34px}
}
@media(min-width:1180px) and (min-height:600px) and (max-height:819px){
 html body.wmc-design #admin-root .wd-overview-grid{
  grid-template-rows:minmax(0,1.2fr) minmax(230px,1fr);
 }
 html body.wmc-design #admin-root .wd-table th,
 html body.wmc-design #admin-root .wd-table td{
  padding:2px!important;font-size:10px!important;line-height:1.2!important;
 }
 html body.wmc-design #admin-root .wd-table .wd-badge{
  padding:2px 4px;font-size:9px!important;line-height:1.2;
 }
}
@media(min-width:1180px) and (min-height:600px) and (max-height:700px){
 html body.wmc-design #admin-root .wd-map{min-height:60px}
 html body.wmc-design #admin-root .wd-card-head{margin-bottom:4px}
 html body.wmc-design #admin-root .wd-map-status{font-size:9px;line-height:11px;min-height:11px;margin-top:3px}
}
/* Overview refinement. Existing record screens and export controls keep their styling. */
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview)>.admin-heading{
 display:none!important;
}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview){
 background:#f4f6f3!important;
}
html body.wmc-design #admin-root .wd-overview .wd-metrics{gap:12px}
html body.wmc-design #admin-root .wd-overview .wd-metric{
 background:linear-gradient(145deg,#fff,#fcfdfb);border:1px solid #dfe6df;
 border-radius:12px;padding:15px 16px;gap:13px;
 box-shadow:0 2px 6px #142d2105;transition:border-color .15s,box-shadow .15s;
}
html body.wmc-design #admin-root .wd-overview .wd-metric:hover{
 border-color:#baa56e;box-shadow:0 3px 12px #142d210d;
}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon{
 width:42px;height:42px;flex-basis:42px;border-radius:12px;
 background:#f7f0df;color:#987028;
}
html body.wmc-design #admin-root .wd-overview .wd-metric:nth-child(3) .wd-metric-icon{
 background:#e9f2ed;color:#285b45;
}
html body.wmc-design #admin-root .wd-overview .wd-metric>div>span{
 color:#65726a;font-size:11px;font-weight:600;line-height:1.4;
}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{
 color:#1c3027;font-size:30px;font-weight:700;line-height:1.15;
 margin-top:6px;letter-spacing:-.035em;font-variant-numeric:tabular-nums;
}
html body.wmc-design #admin-root .wd-overview .wd-card{
 border:1px solid #dfe6df;border-radius:12px;box-shadow:0 2px 6px #142d2105;
 background:#fff;padding:12px;
}
html body.wmc-design #admin-root .wd-overview .wd-card-head{
 gap:8px;min-height:32px;margin-bottom:9px;
}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{
 font:700 14px/1.25 Aptos,sans-serif;letter-spacing:-.02em;
 text-transform:none!important;color:#243a2e;
}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2 svg{
 width:19px;height:19px;color:#617a69;
}
html body.wmc-design #admin-root .wd-overview .wd-card-head select{
 border:1px solid #dde4dc;background:#f8faf7;color:#4d6053;
 border-radius:7px!important;font-size:10px!important;
}
html body.wmc-design #admin-root .wd-overview .wd-card-head>a{
 color:#8e6b2d;font-weight:600;
}
html body.wmc-design #admin-root .wd-overview .wd-map{
 border-radius:8px;background:#edf2ec;overflow:hidden;
}
html body.wmc-design #admin-root .wd-overview .wd-map-status{
 color:#687462;font-size:10px;line-height:1.3;margin-top:6px;
}
html body.wmc-design #admin-root .wd-overview .wd-attention-items{gap:9px}
html body.wmc-design #admin-root .wd-overview .wd-issue{
 padding:10px;background:#fcfbf7;border:1px solid #eee9db;border-radius:9px;
 border-left:3px solid #c2a05a;min-height:56px;gap:9px;
}
html body.wmc-design #admin-root .wd-overview .wd-issue strong{
 color:#384334;font-size:12px;line-height:1.35;font-weight:600;
}
html body.wmc-design #admin-root .wd-overview .wd-issue small{
 color:#687462;font-size:10px;line-height:1.4;
}
html body.wmc-design #admin-root .wd-overview .wd-issue .wd-action{
 border:1px solid #d6c497;color:#7a5c24;background:#fffdf6;
 border-radius:6px;font-weight:600;padding:6px 10px;
}
html body.wmc-design #admin-root .wd-overview .wd-issue .wd-action:hover{
 background:#f5edd9;border-color:#b79a55;
}
html body.wmc-design #admin-root .wd-overview .wd-issue.is-urgent{
 background:#fff4f4;border-color:#e7c2c6;border-left-color:#bd3949;
}
html body.wmc-design #admin-root .wd-overview .wd-issue.is-urgent .wd-action{
 color:#a32839;border-color:#d3a5ad;background:#fff;
}
html body.wmc-design #admin-root .wd-overview .wd-resource-summary{
 border-top:1px solid #edf0ea;padding-top:10px;align-items:center;gap:12px;
}
html body.wmc-design #admin-root .wd-overview .wd-resource-stat{
 display:inline-flex;align-items:center;gap:5px;color:#687462;white-space:nowrap;
}
html body.wmc-design #admin-root .wd-overview .wd-resource-stat svg{
 width:14px;height:14px;color:#879383;
}
html body.wmc-design #admin-root .wd-overview .wd-resource-stat strong{
 color:#334c3b;font-size:12px;font-variant-numeric:tabular-nums;
}
html body.wmc-design #admin-root .wd-overview .wd-table th{
 color:#65705f;background:#f5f7f3;font-weight:600;
 text-transform:none!important;border-bottom:1px solid #e8ede5;
}
html body.wmc-design #admin-root .wd-overview .wd-table td{
 border-bottom:1px solid #eef1eb;color:#43513f;
}
html body.wmc-design #admin-root .wd-overview .wd-table tbody tr:hover{background:#fafbf7}
html body.wmc-design #admin-root .wd-overview .wd-table a{font-weight:600;color:#846326}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager{
 background:transparent;border-color:#edf0e8;font-size:10px;color:#687462;
}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager button{
 border-color:#e1e7dc;background:#fff;border-radius:6px;color:#526d57;
}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager button:disabled{opacity:.35}
html body.wmc-design #admin-root .wd-overview .wd-table-area.is-empty{
 display:flex;align-items:center;justify-content:center;
}
html body.wmc-design #admin-root .wd-overview-empty{
 text-align:center;display:flex;flex-direction:column;align-items:center;
 justify-content:center;padding:12px;max-width:100%;gap:7px;
}
html body.wmc-design #admin-root .wd-overview-empty-icon{
 display:grid;place-items:center;width:44px;height:44px;border-radius:13px;
 background:#f0f4ed;color:#8a9b82;margin-bottom:3px;flex:0 0 auto;
}
html body.wmc-design #admin-root .wd-overview-empty-icon svg{width:23px;height:23px}
html body.wmc-design #admin-root .wd-overview-empty h3{
 font:600 14px/1.3 Aptos,sans-serif;letter-spacing:-.01em;
 color:#53684f;margin:0;text-transform:none;
}
html body.wmc-design #admin-root .wd-overview-empty p{
 font-size:11px;line-height:1.45;color:#6b7865;margin:0;
}
@media(min-width:1180px) and (min-height:600px){
 html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview){
  padding:16px 20px!important;
 }
}
@media(min-width:1180px) and (min-height:600px) and (max-height:819px){
 html body.wmc-design #admin-root .wd-overview .wd-metric{padding:11px 13px}
 html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:26px;margin-top:4px}
 html body.wmc-design #admin-root .wd-overview .wd-card{padding:9px 10px}
 html body.wmc-design #admin-root .wd-overview .wd-card-head{margin-bottom:6px}
 html body.wmc-design #admin-root .wd-overview .wd-issue{padding:7px 8px;min-height:43px}
 html body.wmc-design #admin-root .wd-overview .wd-attention-items{gap:6px}
 html body.wmc-design #admin-root .wd-overview .wd-issue small{display:none}
}
@media(min-width:1180px) and (min-height:600px) and (max-height:700px){
 html body.wmc-design #admin-root .wd-overview .wd-card-head{margin-bottom:4px}
 html body.wmc-design #admin-root .wd-overview .wd-map-status{
  font-size:9px;line-height:11px;min-height:11px;margin-top:3px;
 }
}
@media(max-width:800px){
 html body.wmc-design #admin-root .wd-overview .wd-metric{padding:11px;gap:9px}
 html body.wmc-design #admin-root .wd-overview .wd-metric-icon{width:32px;height:32px;flex-basis:32px}
 html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:25px}
 html body.wmc-design #admin-root .wd-overview .wd-card{padding:10px}
}
@media(prefers-reduced-motion:reduce){
 html body.wmc-design #admin-root .wd-overview .wd-metric{transition:none}
}
/* Keep every exception reachable when a short desktop viewport cannot show all rows. */
html body.wmc-design #admin-root .wd-overview .wd-attention-items{
 overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
}
html body.wmc-design #admin-root .wd-overview .wd-issue{flex-shrink:0}
html body.wmc-design #admin-root .wd-overview .wd-time-window{
 display:inline-flex;align-items:center;padding:4px 7px;border-radius:5px;
 background:#edf3e9;color:#536c48;font-size:10px;font-weight:600;
 line-height:1.4;white-space:nowrap;
}
html body.wmc-design #admin-root .wd-overview .wd-dispatch .wd-table th:first-child{width:84px}
html body.wmc-design #admin-root .wd-overview .wd-dispatch .wd-table td:first-child small{white-space:nowrap;font-variant-numeric:tabular-nums}
/* Overview repairs: actual identity portraits, readable linked records and dated history. */
html body.wmc-design .wd-profile{min-width:0;flex-shrink:1}
html body.wmc-design .wd-profile strong{max-width:225px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.wmc-design .wd-avatar.wd-admin-photo{
 position:relative;width:38px;height:38px;flex:0 0 38px;overflow:hidden;
 border:1px solid #dce4da;background:#edf2e9;color:#6a7c62;
}
html body.wmc-design .wd-admin-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html body.wmc-design .wd-admin-photo>svg{width:23px;height:23px}
html body.wmc-design .wd-admin-photo.has-portrait>svg{visibility:hidden}
html body.wmc-design #admin-root .wd-dispatch-records,
html body.wmc-design #admin-root .wd-activity-records{list-style:none;padding:0;margin:0;width:100%}
html body.wmc-design #admin-root .wd-dispatch-records>li,
html body.wmc-design #admin-root .wd-activity-records>li{margin:0;padding:0;list-style:none}
html body.wmc-design #admin-root .wd-dispatch-record{
 display:grid;grid-template-columns:88px minmax(0,1.6fr) minmax(0,1fr) 88px;
 align-items:center;gap:9px;height:76px;padding:8px 7px;color:#31432d;
 border-bottom:1px solid #e7ede2;text-decoration:none;background:#fff;
}
html body.wmc-design #admin-root .wd-dispatch-record:hover,
html body.wmc-design #admin-root .wd-activity-record:hover{background:#f5f8f0;text-decoration:none}
html body.wmc-design #admin-root .wd-dispatch-record>*{min-width:0}
html body.wmc-design #admin-root .wd-pickup{display:flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-pickup strong{font-size:16px;font-weight:700;line-height:1.2;color:#233c2c}
html body.wmc-design #admin-root .wd-pickup>span{font-size:10px;white-space:nowrap;color:#62745a;line-height:1.3}
html body.wmc-design #admin-root .wd-dispatch-customer,
html body.wmc-design #admin-root .wd-dispatch-allocation{display:flex;flex-direction:column;gap:3px;min-width:0}
html body.wmc-design #admin-root .wd-dispatch-customer strong,
html body.wmc-design #admin-root .wd-dispatch-allocation strong{
 font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html body.wmc-design #admin-root .wd-dispatch-reference{font:600 10px/1.3 Aptos,sans-serif;color:#85642b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-dispatch-route{font-size:10px;line-height:1.3;color:#6d7a65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-dispatch-allocation>span:not(.wd-badge){font-size:11px;color:#65765b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-dispatch-status{display:flex;align-items:flex-start;flex-direction:column;gap:4px}
html body.wmc-design #admin-root .wd-dispatch-status .wd-badge{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:9px!important;line-height:1.3;padding:3px 5px}
html body.wmc-design #admin-root .wd-activity-record{
 display:grid;grid-template-columns:28px minmax(0,1fr) 72px;gap:9px;
 align-items:center;height:64px;padding:6px 2px;border-bottom:1px solid #e9eee4;
 color:#384c30;text-decoration:none;
}
html body.wmc-design #admin-root .wd-event-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eff4e9;color:#6c805f}
html body.wmc-design #admin-root .wd-event-icon svg{width:16px;height:16px}
html body.wmc-design #admin-root .wd-event-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
html body.wmc-design #admin-root .wd-event-copy strong{font-size:11px;font-weight:600;line-height:1.3;color:#34472e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-event-reference{font:600 10px/1.3 Aptos,sans-serif;color:#85642b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-event-copy small{font-size:10px;line-height:1.3;color:#697a5d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-event-time{display:flex;flex-direction:column;gap:4px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-event-time strong{font-size:11px;font-weight:600;color:#415537}
html body.wmc-design #admin-root .wd-event-time small{font-size:10px;color:#6b7b60}
html body.wmc-design #admin-root .wd-dispatch-record:focus-visible,
html body.wmc-design #admin-root .wd-activity-record:focus-visible{outline-offset:-3px}
@media(max-width:1270px){
 html body.wmc-design .wd-date{display:none}
 html body.wmc-design .wd-global-search{flex:1;min-width:130px;max-width:320px}
 html body.wmc-design #admin-root .wd-dispatch-record{grid-template-columns:80px minmax(0,1fr) 95px 75px;gap:6px;padding-inline:4px}
}
@media(max-width:800px){
 html body.wmc-design .wd-profile strong{max-width:145px;font-size:11px}
 html body.wmc-design .wd-profile small{font-size:9px}
 html body.wmc-design #admin-root .wd-dispatch-record{grid-template-columns:78px minmax(0,1fr) 78px;gap:7px}
 html body.wmc-design #admin-root .wd-dispatch-status{display:flex}
 html body.wmc-design #admin-root .wd-event-time{font-size:10px}
}

html body.wmc-design .wd-nav-subgroup{margin:0 0 4px 33px;border-left:1px solid #ffffff24;padding-left:8px}
html body.wmc-design .wd-nav-subgroup>summary{display:flex;align-items:center;gap:8px;padding:8px 9px;color:#dbe6dd;font-size:12px;font-weight:600;cursor:pointer;list-style:none;border-radius:5px}
html body.wmc-design .wd-nav-subgroup>summary::-webkit-details-marker{display:none}
html body.wmc-design .wd-nav-subgroup>summary:after{content:'⌄';margin-left:auto}
html body.wmc-design .wd-nav-subgroup[open]>summary:after{transform:rotate(180deg)}
html body.wmc-design .wd-nav-subgroup>a{display:block;font-size:11px;line-height:1.4;padding:7px 9px 7px 16px;border-radius:5px;color:#cad8cc}
html body.wmc-design .wd-nav-subgroup>summary:hover{background:#ffffff12}
@media(max-width:800px){
 html body.wmc-design #admin-root .wd-dispatch-record{grid-template-columns:78px minmax(0,1fr);height:136px;align-content:center;row-gap:7px}
 html body.wmc-design #admin-root .wd-pickup{grid-column:1;grid-row:1/4;align-self:start;padding-top:2px}
 html body.wmc-design #admin-root .wd-dispatch-customer{grid-column:2;grid-row:1}
 html body.wmc-design #admin-root .wd-dispatch-allocation{grid-column:2;grid-row:2}
 html body.wmc-design #admin-root .wd-dispatch-status{grid-column:2;grid-row:3;flex-direction:row;flex-wrap:wrap}
}
html body.wmc-design .wd-sidebar nav{scrollbar-width:none;gap:3px;overscroll-behavior:contain}
html body.wmc-design .wd-sidebar nav::-webkit-scrollbar{display:none;width:0;height:0}
html body.wmc-design .wd-sidebar{gap:12px}
html body.wmc-design .wd-sidebar nav>a,
html body.wmc-design .wd-nav-group>summary{min-height:36px;padding-top:9px;padding-bottom:9px}
/* Compact icon shortcuts retain accessible names and native tooltips. */
html body.wmc-design #admin-root .wd-overview .wd-icon-link{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;
 width:30px;height:30px;min-width:30px;min-height:30px!important;padding:6px!important;
 border:1px solid #e0e7db;border-radius:7px;background:#fff;color:#6b785e;
 text-decoration:none;vertical-align:middle;
}
html body.wmc-design #admin-root .wd-overview .wd-icon-link svg{width:16px;height:16px;flex:0 0 16px}
html body.wmc-design #admin-root .wd-overview .wd-icon-link:hover{background:#f2f6ec;border-color:#b6c5aa;color:#3c5b2e;text-decoration:none}
@media(min-width:1180px){
 html body.wmc-design #admin-root .wd-overview-grid{
  grid-template-columns:minmax(0,.68fr) minmax(0,.68fr) minmax(0,1fr);
  grid-template-areas:'map map dispatch' 'attention activity dispatch';
 }
 html body.wmc-design #admin-root .wd-overview-grid>.wd-fleet{grid-area:map}
 html body.wmc-design #admin-root .wd-overview-grid>.wd-dispatch{grid-area:dispatch}
 html body.wmc-design #admin-root .wd-overview-grid>.wd-attention{grid-area:attention}
 html body.wmc-design #admin-root .wd-overview-grid>.wd-activity{grid-area:activity}
 html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue small{display:block}
 html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue{padding:8px 7px;gap:7px;min-height:48px}
 html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue strong{font-size:11px}
 html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue .wd-action{padding:6px 7px;font-size:10px}
 html body.wmc-design #admin-root .wd-overview .wd-dispatch-allocation strong{
  white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 }
 html body.wmc-design #admin-root .wd-overview .wd-dispatch-record{grid-template-columns:80px minmax(0,1.4fr) minmax(0,1fr) 75px;gap:7px;padding-inline:4px}
}
/* Driver popup: a single compact layout, with Google's close control retained. */
html body.wmc-design,html body.wmc-design *,html body.wmc-design-embed,html body.wmc-design-embed *{font-family:Aptos!important}
html body.wmc-design #admin-root .wd-map-popup{box-sizing:border-box;width:300px;max-width:calc(100vw - 56px);min-width:0;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px 10px;font:12px/1.4 Aptos,sans-serif;color:#62666b;background:#fff}
html body.wmc-design #admin-root .wd-map-popup p{margin:0;font-size:11px;line-height:1.4;white-space:normal}
html body.wmc-design #admin-root .wd-map-person{display:flex;align-items:center;gap:9px;min-width:0;align-self:start}
html body.wmc-design #admin-root .wd-map-avatar{position:relative;display:grid;place-items:center;overflow:hidden;width:38px;height:38px;flex:0 0 38px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #d5b15a;background:#f2f2f1;color:#73777c}
html body.wmc-design #admin-root .wd-map-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;float:none;margin:0}
html body.wmc-design #admin-root .wd-map-avatar>svg{width:22px;height:22px}
html body.wmc-design #admin-root .wd-map-avatar.has-photo>svg{visibility:hidden}
html body.wmc-design #admin-root .wd-map-identity{display:flex;flex-direction:column;gap:3px;min-width:0}
html body.wmc-design #admin-root .wd-map-identity>strong{font-size:13px;line-height:1.2;color:#1c2026;font-weight:700;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-location-state{font-size:10px;line-height:1.2;color:#946f2a}
html body.wmc-design #admin-root .wd-location-state.is-current{color:#357b57}
html body.wmc-design #admin-root .wd-location-state.is-current:before{content:'';display:inline-block;width:5px;height:5px;margin-right:4px;border-radius:50%;background:#39845c;vertical-align:middle}
html body.wmc-design #admin-root .wd-map-registration{align-self:flex-start;background:#f9edc4;border:1px solid #e7cf83;border-radius:4px;padding:2px 5px;font-size:9px;font-weight:700;letter-spacing:.04em;color:#282a2f}
html body.wmc-design #admin-root .wd-map-speed{grid-column:2;grid-row:1;display:flex;align-items:center;align-self:start;gap:5px;padding:2px 19px 0 0;border:0;background:none;border-radius:0;text-align:right;min-width:0}
html body.wmc-design #admin-root .wd-map-speed>svg{width:14px;height:14px;color:#a98536;flex:none}
html body.wmc-design #admin-root .wd-map-speed>span,html body.wmc-design #admin-root .wd-map-speed-values>small{display:none}
html body.wmc-design #admin-root .wd-map-speed-values{display:flex;flex-direction:column;align-items:flex-end}
html body.wmc-design #admin-root .wd-map-speed-values>strong{font-size:16px;line-height:1.2;color:#20252b;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
html body.wmc-design #admin-root .wd-map-job{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;padding:9px 0;border-top:1px solid #eeeae1;border-bottom:1px solid #eeeae1;min-width:0}
html body.wmc-design #admin-root .wd-map-job svg{width:12px;height:12px;flex:none;color:#ad8736}
html body.wmc-design #admin-root .wd-map-booking,html body.wmc-design #admin-root .wd-map-stage,html body.wmc-design #admin-root .wd-map-eta{display:flex;align-items:center;gap:5px;min-width:0;font-size:10px;line-height:1.35;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-map-booking{font-weight:700;color:#927027;text-decoration:none;flex-basis:100%}
html body.wmc-design #admin-root .wd-map-booking:hover{text-decoration:underline}
html body.wmc-design #admin-root .wd-map-stage{color:#444a52;justify-content:flex-start}
html body.wmc-design #admin-root .wd-map-eta{color:#70757c;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-map-location{grid-column:1/-1;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px;padding:0 0 0 20px;min-width:0}
html body.wmc-design #admin-root .wd-map-location>svg{position:absolute;left:0;top:1px;width:13px;height:15px;color:#aa8437}
html body.wmc-design #admin-root .wd-map-location .wd-map-address{grid-column:1/-1;font-size:12px;line-height:1.4;color:#30363d;font-weight:600;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-map-location .wd-map-coordinates{font-size:10px;color:#737981;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-map-location .wd-map-accuracy{font-size:10px;color:#737981;white-space:nowrap}
html body.wmc-design #admin-root .wd-map-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 28px 28px;gap:6px;align-items:center;padding-top:9px;border-top:1px solid #eeeae1}
html body.wmc-design #admin-root .wd-map-actions .wd-map-updated{display:flex;align-items:flex-start;gap:4px;font-size:9px;line-height:1.4;color:#787d83;font-variant-numeric:tabular-nums;min-width:0}
html body.wmc-design #admin-root .wd-map-updated>svg{width:11px;height:11px;flex:none;margin-top:1px;color:#999083}
html body.wmc-design #admin-root .wd-map-actions .wd-icon-link{display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;box-sizing:border-box;padding:5px;border:1px solid #e5dfd3;background:#faf9f6;border-radius:7px;color:#8d7139}
html body.wmc-design #admin-root .wd-map-actions .wd-icon-link:hover{background:#f3e8c9;border-color:#cfa74b}
html body.wmc-design #admin-root .wd-map-actions .wd-icon-link:focus-visible{outline:2px solid #9a762c;outline-offset:2px}
html body.wmc-design #admin-root .wd-map .gm-style-iw-c:has(.wd-map-popup){padding:0!important;border-radius:14px!important;max-height:none!important;box-shadow:0 8px 28px #15202b29,0 1px 4px #15202b1a!important}
html body.wmc-design #admin-root .wd-map .gm-style-iw-c:has(.wd-map-popup) .gm-style-iw-chr{position:absolute;right:3px;top:4px;z-index:1}
html body.wmc-design #admin-root .wd-map .gm-style-iw-c:has(.wd-map-popup) .gm-ui-hover-effect{width:28px!important;height:28px!important}
html body.wmc-design #admin-root .wd-map .gm-style-iw-c:has(.wd-map-popup) .gm-ui-hover-effect>span{margin:6px!important;width:16px!important;height:16px!important}
html body.wmc-design #admin-root .wd-map .gm-style-iw-d:has(.wd-map-popup){max-height:min(var(--wd-info-height,280px),calc(100dvh - 160px))!important;overflow:auto!important;scrollbar-width:thin}
@media(max-width:420px){html body.wmc-design #admin-root .wd-map-popup{width:280px;padding:12px;gap:9px 8px}html body.wmc-design #admin-root .wd-map-speed-values>strong{font-size:14px}}
@media print{html body.wmc-design #admin-root .wd-overview .wd-icon-link{display:none!important}}
html body.wmc-design #admin-root .wd-live-records{list-style:none;padding:0;margin:0}
html body.wmc-design #admin-root .wd-live-record{display:grid;grid-template-columns:68px minmax(0,1.3fr) minmax(0,1fr);gap:7px;align-items:center;min-height:72px;padding:7px 3px;box-sizing:border-box;border-bottom:1px solid #edf0e8;text-decoration:none;color:var(--wd-ink)}
html body.wmc-design #admin-root .wd-live-record:hover{background:#f3f7ef;text-decoration:none}
html body.wmc-design #admin-root .wd-live-record>span,html body.wmc-design #admin-root .wd-live-record>time{display:flex;flex-direction:column;gap:3px;min-width:0}
html body.wmc-design #admin-root .wd-live-record strong{font-size:11px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.wmc-design #admin-root .wd-live-time strong{font-size:14px;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-live-record small{font-size:9px;line-height:1.3;color:#6d7a65}
html body.wmc-design #admin-root .wd-live-reference{font-size:9px;color:#876329;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.wmc-design #admin-root .wd-live-stage{color:#397348!important}
html body.wmc-design #admin-root .wd-live-registration{font-size:10px;font-weight:700;color:#5f512b}
@media(min-width:1180px){
 html body.wmc-design #admin-root .wd-overview-grid{grid-template-areas:'map map live' 'attention activity dispatch'}
 html body.wmc-design #admin-root .wd-overview-grid>.wd-live{grid-area:live}
}
@media(min-width:801px) and (max-width:1179px){html body.wmc-design #admin-root .wd-overview-grid{grid-template-rows:330px 275px 275px}}
@media(max-width:800px){html body.wmc-design #admin-root .wd-live{min-height:230px}html body.wmc-design #admin-root .wd-live-record{grid-template-columns:68px minmax(0,1fr);min-height:110px}html body.wmc-design #admin-root .wd-live-assigned{grid-column:2}}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue .wd-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:64px;min-width:64px;height:30px;min-height:30px;padding:4px 6px;line-height:1;white-space:nowrap;flex:0 0 64px}

html body.wmc-design .wd-sidebar{background:#000;color:#f3f3f0}
html body.wmc-design .wd-brand{height:90px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 4px;background:#000;border-radius:0}
html body.wmc-design .wd-brand img{width:100%;height:52px;object-fit:contain;object-position:center}
html body.wmc-design .wd-brand-company{font-size:9px;font-weight:700;letter-spacing:2.2px;line-height:1.1;color:#eee;white-space:nowrap}
html body.wmc-design .wd-brand-coaches{font-size:8px;font-weight:700;letter-spacing:3px;line-height:1.1;color:#d5ac51;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-duty-alert small{display:block!important;font-size:10px;color:#8f3030;line-height:1.3}

/* Live journeys: compact information rows in the existing equal-size overview card. */
html body.wmc-design #admin-root .wd-live-records{display:grid;gap:8px;padding:2px 0}
html body.wmc-design #admin-root .wd-live-record{grid-template-columns:64px minmax(0,1fr) minmax(94px,.65fr);gap:12px;min-height:88px;padding:10px;border:1px solid #ede9df;border-radius:9px;background:linear-gradient(110deg,#fcfbf8,#fff 70%);color:#2d333a;transition:background .15s,border-color .15s}
html body.wmc-design #admin-root .wd-live-record:hover{background:#faf7ed;border-color:#d5bb76;text-decoration:none}
html body.wmc-design #admin-root .wd-live-record:focus-visible{outline:2px solid #ad8734;outline-offset:-2px}
html body.wmc-design #admin-root .wd-live-time{align-items:center;justify-content:center;align-self:stretch;padding-right:10px;border-right:1px solid #e8e3d8;gap:5px}
html body.wmc-design #admin-root .wd-live-time strong{font-size:18px;color:#252a30;font-weight:700;line-height:1.1}
html body.wmc-design #admin-root .wd-live-time small{font-size:9px;color:#7b7f84;white-space:nowrap}
html body.wmc-design #admin-root .wd-live-copy{gap:4px}
html body.wmc-design #admin-root .wd-live-copy>strong{font-size:12px;color:#252a30}
html body.wmc-design #admin-root .wd-live-reference{font-size:9px;color:#95712b;letter-spacing:.02em}
html body.wmc-design #admin-root .wd-live-route{font-size:10px;color:#666d75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-live-stage{align-self:flex-start;max-width:100%;box-sizing:border-box;font-size:9px!important;color:#397451!important;background:#edf5ef;border:1px solid #dceadf;padding:2px 6px;border-radius:4px;white-space:normal}
html body.wmc-design #admin-root .wd-live-assigned{gap:7px;padding-left:3px}
html body.wmc-design #admin-root .wd-live-assigned>strong{display:flex;align-items:center;gap:5px;font-size:11px;white-space:normal;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-live-assigned svg{width:13px;height:13px;flex:none;color:#a3833c}
html body.wmc-design #admin-root .wd-live-registration{display:flex;align-items:center;gap:5px;align-self:flex-start;max-width:100%;box-sizing:border-box;color:#5d4a22;background:#f8f0d9;border-radius:4px;padding:3px 5px;font-size:10px;font-weight:700;overflow-wrap:anywhere}
@media(max-width:800px){html body.wmc-design #admin-root .wd-live-record{grid-template-columns:62px minmax(0,1fr);min-height:116px}html body.wmc-design #admin-root .wd-live-time{grid-row:1/3}html body.wmc-design #admin-root .wd-live-assigned{grid-column:2;flex-direction:row;flex-wrap:wrap;align-items:center;padding-left:0}}
@media(prefers-reduced-motion:reduce){html body.wmc-design #admin-root .wd-live-record{transition:none}}

/* Floating inspector is independent of Google's restricted InfoWindow height. */
html body.wmc-design #admin-root .wd-map-popup.wd-driver-panel{position:fixed;inset:auto;margin:0;z-index:220;border:1px solid #e5dfd2;border-radius:14px;box-shadow:0 10px 32px #18232b30;color:#62666b;overflow:visible;max-height:none}
html body.wmc-design #admin-root .wd-driver-panel-close{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#747a80;font:22px/1 Aptos!important;cursor:pointer}
html body.wmc-design #admin-root .wd-driver-panel-close:hover{background:#f3f1ea;color:#272c32}
html body.wmc-design #admin-root .wd-driver-panel-close:focus-visible{outline:2px solid #a98535;outline-offset:-2px}
html body.wmc-design .wd-sidebar a.wd-brand,html body.wmc-design .wd-sidebar a.wd-brand:is(.is-current,:hover,:focus){background:#000!important;color:#f3f3f0!important}

html body.wmc-design #admin-root .wd-live-record{min-height:110px;grid-template-columns:64px minmax(0,1fr) minmax(104px,.58fr);gap:13px;padding:12px;background:#fdfcf9}
html body.wmc-design #admin-root .wd-live-copy{gap:5px}
html body.wmc-design #admin-root .wd-live-route{display:flex;flex-direction:column;gap:3px;white-space:normal;overflow:visible;line-height:1.35;color:#515a64;font-size:11px}
html body.wmc-design #admin-root .wd-live-route>span{display:block;white-space:normal;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-live-route-start{color:#303840;font-weight:600}
html body.wmc-design #admin-root .wd-live-route-end{color:#6d747d}
@media(max-width:800px){html body.wmc-design #admin-root .wd-live-record{grid-template-columns:62px minmax(0,1fr);min-height:132px}}

/* Service labels use a secondary line in the existing booking identity column. */
html body.wmc-design .wmc-service-label{display:block!important;min-width:0;max-width:100%;padding:3px 0 0;color:#8d6b28;font:600 10px/1.35 Aptos!important;white-space:normal;overflow-wrap:anywhere}
html body.wmc-design .wmc-service-label[data-review="true"]{color:#8b7450}
html body.wmc-design #admin-root .wd-live-record{min-height:126px}
html body.wmc-design #admin-root .booking-card-reference:has(>.wmc-service-label){overflow:visible!important;white-space:normal!important}

html body.wmc-design #admin-root :is(.wd-live-reference,.wd-dispatch-reference):has(>.wmc-service-label){overflow:visible;white-space:normal}

/* Every matching service remains visible; tags wrap instead of becoming a +N count. */
html body.wmc-design .wmc-service-label{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px;white-space:normal!important}
html body.wmc-design .wmc-service-label>span{display:inline-block!important;max-width:100%;box-sizing:border-box;padding:2px 5px;border-radius:4px;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3;font-size:9px;font-weight:600;text-transform:none}
html body.wmc-design .wmc-journey-tag{background:#edf0f2;color:#58616b;border:1px solid #dfe4e8}
html body.wmc-design .wmc-service-tag{background:#f8f0db;color:#856526;border:1px solid #e9d9ac}
html body.wmc-design .wmc-service-review{background:#fff4dc;color:#946527;border:1px solid #eed5a4}

/* Booking summaries reserve a full-width row for every matching service tag. */
html body.wmc-design #admin-root .wd-overview .wd-dispatch-record{height:auto;min-height:120px;box-sizing:border-box;align-items:start;align-content:start;grid-template-columns:72px minmax(0,1.4fr) minmax(100px,.85fr) 76px;gap:8px 12px;padding:11px 5px 12px;border-bottom:1px solid #e7e8e3}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-customer{gap:4px}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-customer strong{font-size:12px;color:#252d34}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-route{display:flex;flex-direction:column;gap:3px;white-space:normal;overflow:visible;font-size:11px;line-height:1.35;color:#56616c}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-route>span{display:block;overflow-wrap:anywhere;white-space:normal}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-route-start{font-weight:600;color:#303941}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-allocation{padding-top:2px;gap:5px}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-status{align-items:flex-end;padding-top:2px}
html body.wmc-design #admin-root .wd-overview :is(.wd-dispatch-record,.wd-live-record)>.wmc-service-label{grid-column:1/-1;grid-row:auto;padding:7px 0 0;border-top:1px solid #f0eee8;gap:4px;align-self:start}
html body.wmc-design #admin-root .wd-overview .wd-live-record{height:auto;min-height:136px;align-items:start;align-content:start}
@media(max-width:800px){html body.wmc-design #admin-root .wd-overview .wd-dispatch-record{grid-template-columns:64px minmax(0,1fr);height:auto;min-height:164px;padding:10px 3px;gap:7px 10px}html body.wmc-design #admin-root .wd-overview .wd-dispatch-status{grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap}html body.wmc-design #admin-root .wd-overview .wd-dispatch-record>.wmc-service-label{grid-column:1/-1;grid-row:4}}

html body.wmc-design #admin-root .wd-event-icon{width:30px;height:30px;box-sizing:border-box;border:1px solid #e9e1ce;border-radius:8px;background:#f7f3e9;color:#9a7933}
html body.wmc-design #admin-root .wd-event-icon svg{width:16px;height:16px;stroke-width:1.7}

/* Overview audit: retain the compact grid while making warnings and drilldowns usable. */
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue small{display:block!important;font-size:10px;line-height:1.35;white-space:normal;color:#616970;margin-top:3px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue[hidden]{display:none!important}
html body.wmc-design #admin-root .wd-overview .wd-attention-items{min-height:0;overflow:hidden}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-mini-pager[hidden]{display:none!important}
html body.wmc-design .wd-data-notice{font-size:11px;line-height:1.35;padding:6px 8px;margin:0 0 6px;border-radius:5px;color:#8b5919;background:#fff3dd}
html body.wmc-design .wd-data-notice[hidden]{display:none!important}
html body.wmc-design .wd-metric-dialog{max-height:90dvh;display:flex;flex-direction:column;gap:12px}
html body.wmc-design .wd-metric-dialog:not([open]){display:none}
html body.wmc-design .wd-metric-dialog .wd-card-head h2{font-size:18px}
html body.wmc-design .wd-metric-dialog .wd-card-head button{margin-left:auto}
html body.wmc-design .wd-metric-results{min-height:0;overflow:auto;display:grid;gap:0}
html body.wmc-design .wd-metric-result{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:6px 12px;border-bottom:1px solid #e4e7e4;padding:12px 3px;color:#27342d;text-decoration:none;font-size:12px}
html body.wmc-design .wd-metric-result>strong:first-child{color:#876329;overflow-wrap:anywhere}
html body.wmc-design .wd-metric-result>time{font-variant-numeric:tabular-nums;grid-column:1/3;font-size:11px;color:#59645e}
html body.wmc-design .wd-metric-result:hover{background:#fbf7ef}
html body.wmc-design .wd-metric-dialog .wd-mini-pager{margin-top:auto}
@media(max-width:800px){html body.wmc-design .wd-metric-dialog{width:calc(100vw - 20px)!important;margin:auto!important;max-height:calc(100dvh - 24px);padding:14px}html body.wmc-design .wd-metric-result{grid-template-columns:minmax(0,1fr) auto}html body.wmc-design .wd-metric-result>span:not(.wd-badge){grid-column:1/-1}html body.wmc-design .wd-metric-result>time{grid-column:1/-1}}

/* Bounded alert action: document disclosures never cover the record link. */
#wmc-admin-notifications .wmc-alert-item-heading{display:flex;align-items:center;gap:10px;min-width:0}
#wmc-admin-notifications .wmc-alert-item-copy{flex:1;min-width:0}
#wmc-admin-notifications .wmc-alert-card-link{position:relative;inset:auto;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:36px;padding:6px 10px;border:1px solid #d6c69c;border-radius:8px;background:#fffaf0;color:#625020;text-decoration:none;font-size:12px;line-height:1.2}
#wmc-admin-notifications .wmc-alert-card-link:hover{background:#f5e9cb}
#wmc-admin-notifications .wmc-alert-card-link svg{width:16px;height:16px}
#wmc-admin-notifications .wmc-alert-item{cursor:default}
.wmc-record-load-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wmc-record-load-notice button{font:inherit;cursor:pointer;padding:7px 12px;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit}

/* Overview compact presentation — 29 October 2026. No booking or API changes. */
@media screen {
html body.wmc-design #admin-root .wd-overview{
 --wd-ink:#252b31;--wd-muted:#697178;--wd-border:#e2e5e4;
 color:var(--wd-ink);font-family:Aptos,sans-serif;font-size:13px;
}
html body.wmc-design #admin-root .wd-overview .wd-metrics{gap:10px}
html body.wmc-design #admin-root .wd-overview .wd-metric{
 min-height:70px;padding:10px 14px;gap:11px;border-radius:10px;
 border-color:#e2e5e4;box-shadow:0 1px 2px #17242103;
 transition:background-color 140ms ease,border-color 140ms ease;
}
html body.wmc-design #admin-root .wd-overview .wd-metric:hover{transform:none;background:#fffdf8;border-color:#d7c79f}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon{width:34px;height:34px;flex-basis:34px;border-radius:9px;background:#faf3e2;color:#9a772e}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon svg{width:20px;height:20px}
html body.wmc-design #admin-root .wd-overview .wd-metric:nth-child(3) .wd-metric-icon{background:#f4f1e9;color:#9a772e}
html body.wmc-design #admin-root .wd-overview .wd-metric>div>span{font-size:12px;line-height:1.2;color:#697178;font-weight:400}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:25px;line-height:1.05;margin-top:4px;letter-spacing:-.025em;color:#252b31}
html body.wmc-design #admin-root .wd-overview .wd-card{padding:10px 12px;border-radius:10px;border-color:#e2e5e4;box-shadow:0 1px 3px #17242103;min-width:0;min-height:0}
html body.wmc-design #admin-root .wd-overview .wd-card-head{min-height:30px;margin-bottom:6px;gap:8px;flex-wrap:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{font-size:14px;font-weight:700;color:#30363b;letter-spacing:-.01em;min-width:0}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2 svg{width:17px;height:17px;color:#8e7a4d;flex:none}
html body.wmc-design #admin-root .wd-overview .wd-card-head select{font-size:11px!important;max-width:130px;padding:5px 7px!important;color:#697178;background:#fafbf9;border-color:#e5e7e3}
html body.wmc-design #admin-root .wd-overview .wd-icon-link{width:30px;height:30px;min-width:30px;min-height:30px;border-radius:7px;border-color:#e7e5de;background:#fff;color:#9a7b37;flex:none}
html body.wmc-design #admin-root .wd-overview .wd-icon-link:hover{background:#faf3e2;border-color:#cfb676;color:#846424}
html body.wmc-design #admin-root .wd-overview .wd-time-window{font-size:10px;padding:3px 6px;background:#f5f5f1;color:#737363;border-radius:4px;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-map{border-radius:7px;min-height:180px;overflow:hidden;background:#f0f2ef}
html body.wmc-design #admin-root .wd-overview .wd-map-status{font-size:11px;line-height:1.25;margin:5px 0 0;color:#747c80}
html body.wmc-design #admin-root .wd-overview .wd-table-area{min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#d7d9d3 transparent}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager{min-height:30px;padding:5px 0 0;margin-top:5px;border-top:1px solid #eef0ed;gap:5px;font-size:11px;color:#747b80}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager button{width:28px;min-width:28px;height:28px;min-height:28px;border-radius:6px;padding:3px;background:#fff;border:1px solid #e6e8e4;color:#8f7336}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager button:disabled{opacity:.35}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record){
 grid-template-columns:64px minmax(0,1fr) 108px;align-items:start;align-content:start;
 gap:6px 10px;min-height:112px;height:auto;padding:9px 8px;box-sizing:border-box;
 border:1px solid #eeeae0;border-radius:8px;background:#fffdfa;color:#30363b;
 text-decoration:none;transition:background-color 140ms ease,border-color 140ms ease;
}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record):hover{background:#fcf7eb;border-color:#d7c18a;text-decoration:none}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-records,.wd-dispatch-records){display:grid;gap:7px;padding:0;margin:0;list-style:none}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup){grid-column:1;grid-row:1;display:flex;align-items:flex-start;justify-content:flex-start;align-self:stretch;gap:4px;padding:1px 7px 0 0;border-right:1px solid #eee9dc;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup) strong{font-size:17px;line-height:1.15;font-weight:700;color:#30363b;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time small,.wd-pickup>span){font-size:10px;line-height:1.2;white-space:nowrap;color:#747b80}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy,.wd-dispatch-customer){grid-column:2;grid-row:1;gap:3px;min-width:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy>strong,.wd-dispatch-customer>strong){font-size:13px;line-height:1.2;color:#30363b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-reference,.wd-dispatch-reference){font:600 11px/1.2 Aptos,sans-serif;letter-spacing:0;color:#94712c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-route,.wd-dispatch-route){display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.25;min-width:0;color:#737b82;white-space:normal}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-route,.wd-dispatch-route)>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;display:block;min-width:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-route-start,.wd-dispatch-route-start){font-weight:600;color:#424a51}
html body.wmc-design #admin-root .wd-overview .wd-live-stage{font-size:10px!important;line-height:1.2;padding:2px 5px;max-width:100%;white-space:normal;background:#f1f5f1;color:#4c715b!important;border-color:#e1e9e2}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:3;grid-row:1;gap:5px;min-width:0;padding:1px 0 0;align-items:flex-start}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation)>strong{font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal;color:#424a51}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-registration,.wd-dispatch-allocation>span:not(.wd-badge)){font-size:11px;line-height:1.2;color:#6b592e;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-live-registration{padding:3px 5px;background:#f7f0dc}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-status{grid-column:3;grid-row:2;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px;padding:0}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-status .wd-badge{font-size:10px!important;padding:2px 5px;line-height:1.2}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{
 grid-column:1/-1;grid-row:auto;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 justify-content:flex-start;align-items:center;gap:4px;padding:5px 0 0;border-top:1px solid #f0ede5;margin:0;
}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-record>.wmc-service-label{grid-row:3}
html body.wmc-design #admin-root .wd-overview .wmc-service-label>span{font-size:10px;line-height:1.15;padding:2px 5px;border-radius:4px;font-weight:400}
html body.wmc-design #admin-root .wd-overview .wd-attention-items{gap:6px;flex:1;overflow:hidden;min-height:0}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue{padding:7px 8px;gap:8px;min-height:54px;background:#fffdf7;border:1px solid #eee5cf;border-left:2px solid #c7a45c;border-radius:7px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue>svg{width:17px;height:17px;flex:0 0 17px;color:#ad8b45}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue strong{font-size:12px;line-height:1.25;color:#4b4a41}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue small{font-size:11px!important;line-height:1.25;margin-top:3px;color:#75776f}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue .wd-action{width:50px;min-width:50px;flex-basis:50px;height:30px;padding:5px;font-size:11px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue.is-urgent{background:#fff4f3;border-color:#e7c1bc}
html body.wmc-design #admin-root .wd-overview .wd-resource-summary{font-size:11px;padding-top:6px;gap:8px;align-items:center;color:#747b80;border-color:#eef0ed}
html body.wmc-design #admin-root .wd-overview .wd-resource-stat{gap:5px;color:#747b80}
html body.wmc-design #admin-root .wd-overview .wd-resource-stat strong{color:#424a51}
html body.wmc-design #admin-root .wd-overview .wd-activity-record{height:64px;grid-template-columns:28px minmax(0,1fr) 80px;gap:9px;padding:6px 2px;color:#424a51;border-color:#eef0ed}
html body.wmc-design #admin-root .wd-overview .wd-event-icon{background:#faf4e5;color:#a18649;border:1px solid #f0e6cd;border-radius:7px;width:28px;height:28px}
html body.wmc-design #admin-root .wd-overview .wd-event-copy strong{font-size:12px;line-height:1.2;color:#424a51}
html body.wmc-design #admin-root .wd-overview .wd-event-reference{font:600 11px/1.2 Aptos,sans-serif;color:#94712c}
html body.wmc-design #admin-root .wd-overview .wd-event-copy small{font-size:11px;line-height:1.2;color:#747b80}
html body.wmc-design #admin-root .wd-overview .wd-event-time{gap:3px}
html body.wmc-design #admin-root .wd-overview .wd-event-time strong{font-size:12px;color:#424a51}
html body.wmc-design #admin-root .wd-overview .wd-event-time small{font-size:11px;color:#747b80}
html body.wmc-design #admin-root .wd-overview .wd-overview-empty{padding:12px;gap:5px;background:#fafbf9;border:1px dashed #e5e8e2;border-radius:8px}
html body.wmc-design #admin-root .wd-overview .wd-overview-empty-icon{width:34px;height:34px;background:#f5f1e6}
html body.wmc-design #admin-root .wd-overview .wd-overview-empty h3{font-size:14px;margin:0;color:#525a60}
html body.wmc-design #admin-root .wd-overview .wd-overview-empty p{font-size:12px;margin:0;color:#7a8186}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-popup{width:286px;padding:11px;gap:7px 8px;border-radius:10px;font-size:12px;line-height:1.3}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-avatar{width:32px;height:32px;flex-basis:32px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-person{gap:8px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-identity{gap:3px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-identity>strong{font-size:13px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed-values>strong{font-size:15px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-job{padding:6px 0;gap:5px 8px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-actions{padding-top:6px;gap:5px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-location .wd-map-address{font-size:12px;line-height:1.3}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-actions .wd-map-updated{font-size:10px}
}
@media screen and (min-width:1024px){
html:has(body.wmc-design #admin-root .wd-overview){height:100dvh;overflow:hidden}
html body.wmc-design:has(#admin-root .wd-overview){height:100dvh;overflow:hidden}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview){height:calc(100dvh - var(--wd-top))!important;padding:10px 14px!important;gap:0;display:flex!important;flex-direction:column;overflow:hidden!important;min-height:0}
html body.wmc-design #admin-root .admin-workspace>.wd-overview{display:grid;grid-template-rows:70px minmax(0,1fr);flex:1;min-height:0;min-width:0}
html body.wmc-design #admin-root .admin-workspace>.wd-overview{gap:10px}
html body.wmc-design #admin-root .wd-overview .wd-overview-grid{
 display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
 grid-template-rows:minmax(0,1fr) minmax(0,1fr) 222px;gap:10px;min-height:0;height:auto!important;
 grid-template-areas:none;
}
html body.wmc-design #admin-root .wd-overview-grid>.wd-fleet{grid-area:1/1/3/8}
html body.wmc-design #admin-root .wd-overview-grid>.wd-live{grid-area:1/8/2/13}
html body.wmc-design #admin-root .wd-overview-grid>.wd-dispatch{grid-area:2/8/3/13}
html body.wmc-design #admin-root .wd-overview-grid>.wd-attention{grid-area:3/1/4/5}
html body.wmc-design #admin-root .wd-overview-grid>.wd-activity{grid-area:3/5/4/13}
html body.wmc-design #admin-root .wd-overview .wd-map{min-height:80px}
}
@media screen and (min-width:1024px) and (max-height:819px){
html body.wmc-design #admin-root .admin-workspace>.wd-overview{grid-template-rows:60px minmax(0,1fr);gap:8px}
html body.wmc-design #admin-root .wd-overview .wd-metric{min-height:60px;padding:8px 12px}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:23px;margin-top:2px}
html body.wmc-design #admin-root .wd-overview .wd-overview-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,1.15fr) minmax(0,1fr);gap:8px}
html body.wmc-design #admin-root .wd-overview-grid>.wd-fleet{grid-area:1/1/2/8}
html body.wmc-design #admin-root .wd-overview-grid>.wd-live{grid-area:1/8/2/13}
html body.wmc-design #admin-root .wd-overview-grid>.wd-attention{grid-area:2/1/3/4}
html body.wmc-design #admin-root .wd-overview-grid>.wd-activity{grid-area:2/4/3/8}
html body.wmc-design #admin-root .wd-overview-grid>.wd-dispatch{grid-area:2/8/3/13}
html body.wmc-design #admin-root .wd-overview .wd-card{padding:7px 9px}
html body.wmc-design #admin-root .wd-overview .wd-card-head{min-height:28px;margin-bottom:4px;gap:5px}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{font-size:13px;gap:5px}
html body.wmc-design #admin-root .wd-overview .wd-card-head select{max-width:104px;font-size:10px!important;padding:4px!important}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue{min-height:48px;padding:6px;flex-wrap:wrap}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue .wd-action{margin-left:auto}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager{min-height:28px;margin-top:3px;padding-top:3px}
html body.wmc-design #admin-root .wd-overview .wd-activity-record{grid-template-columns:22px minmax(0,1fr) 70px;gap:5px}
html body.wmc-design #admin-root .wd-overview .wd-event-icon{width:22px;height:24px}
html body.wmc-design #admin-root .wd-overview .wd-event-copy strong{font-size:11px}
html body.wmc-design #admin-root .wd-overview .wd-event-reference{font-size:10px}
html body.wmc-design #admin-root .wd-overview .wd-event-time small{font-size:10px}
html body.wmc-design #admin-root .wd-overview .wd-resource-summary{gap:5px}
html body.wmc-design #admin-root .wd-overview .wd-map{min-height:0}
}
@media screen and (max-width:1023px){
html:has(body.wmc-design #admin-root .wd-overview){overflow:auto}
html body.wmc-design:has(#admin-root .wd-overview){height:auto;overflow:auto}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview){height:auto!important;overflow:visible!important;padding:12px!important;display:block!important}
html body.wmc-design #admin-root .admin-workspace>.wd-overview{display:block}
html body.wmc-design #admin-root .wd-overview .wd-metrics{margin-bottom:10px}
html body.wmc-design #admin-root .wd-overview .wd-overview-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:none;height:auto!important;gap:10px}
html body.wmc-design #admin-root .wd-overview-grid>.wd-card{grid-area:auto;height:auto;min-height:0}
html body.wmc-design #admin-root .wd-overview-grid>.wd-fleet{order:0;height:340px}
html body.wmc-design #admin-root .wd-overview-grid>.wd-live{order:1;min-height:200px}
html body.wmc-design #admin-root .wd-overview-grid>.wd-dispatch{order:2;min-height:200px}
html body.wmc-design #admin-root .wd-overview-grid>.wd-attention{order:3;min-height:180px}
html body.wmc-design #admin-root .wd-overview-grid>.wd-activity{order:4;min-height:240px}
html body.wmc-design #admin-root .wd-overview .wd-table-area{overflow:visible;flex:none;min-height:120px}
html body.wmc-design #admin-root .wd-overview .wd-attention-items{min-height:70px}
}
@media screen and (max-width:800px){
html body.wmc-design #admin-root .wd-overview .wd-metric{padding:10px;gap:8px;min-height:70px}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon{width:28px;height:28px;flex-basis:28px}
html body.wmc-design #admin-root .wd-overview .wd-metric>div>span{font-size:11px}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:23px}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record){grid-template-columns:60px minmax(0,1fr);gap:6px 9px;padding:9px;min-height:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup){grid-column:1;grid-row:1/3}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy,.wd-dispatch-customer){grid-column:2;grid-row:1}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:2;grid-row:2;flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px 8px}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-status{grid-column:2;grid-row:3}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{grid-column:1/-1;grid-row:auto}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{font-size:14px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-popup{width:270px;max-width:calc(100vw - 32px)}
}
@media screen and (prefers-reduced-motion:reduce){
html body.wmc-design #admin-root .wd-overview :is(.wd-metric,.wd-live-record,.wd-dispatch-record){transition:none}
}

/* Refined Overview finish. All rules are screen-only and scoped to Overview. */
@media screen {
html body.wmc-design:has(#admin-root .wd-overview){background:#f2f3f0}
html body.wmc-design #admin-root .wd-overview{--wd-ink:#22272b;--wd-muted:#707775;--wd-border:#e4e6df}
html body.wmc-design #admin-root .wd-overview .wd-metric{border-radius:11px;background:linear-gradient(125deg,#fff 72%,#fbfaf5);border-color:#e2e5de;box-shadow:0 2px 5px #17242103;padding:9px 13px;gap:10px;min-height:64px}
html body.wmc-design #admin-root .wd-overview .wd-metric>div{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px;min-width:0}
html body.wmc-design #admin-root .wd-overview .wd-metric>div>span{font-size:12px;line-height:1.3;max-width:125px;color:#686e6b}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{margin:0;font-size:27px;line-height:1.1;letter-spacing:-.04em;color:#262b29;white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon{width:32px;height:32px;flex-basis:32px;background:#f7f0de;border-radius:9px;color:#a1813b}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon svg{width:19px;height:19px}
html body.wmc-design #admin-root .wd-overview .wd-card{border-radius:12px;border-color:#e2e5de;box-shadow:0 2px 8px #17242104;padding:10px 11px;background:#fff}
html body.wmc-design #admin-root .wd-overview .wd-card-head{min-height:28px;margin-bottom:7px;gap:8px}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{font-size:14px;color:#343a36;font-weight:700;letter-spacing:-.015em}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2 svg{width:16px;height:16px;color:#a58a4a}
html body.wmc-design #admin-root .wd-overview .wd-card-head select{background:#f8f9f5;border-color:#eceee7;color:#69736a;border-radius:7px!important}
html body.wmc-design #admin-root .wd-overview .wd-icon-link{background:#fff;border:1px solid #ece9df;border-radius:8px;color:#a18646;width:29px;height:29px;min-width:29px;min-height:29px}
html body.wmc-design #admin-root .wd-overview .wd-icon-link:hover{background:#f8f1df;border-color:#d4bd86}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record){border:1px solid #eeeae0;border-left:3px solid #c4a259;border-radius:8px;background:#fcfbf7;padding:8px;gap:5px 9px;min-height:108px;grid-template-columns:62px minmax(0,1fr) 104px}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-record{border-left-color:#d8dcd2;background:#fdfefd}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record):hover{background:#f9f6ed;border-color:#d9c694}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup){padding:2px 7px 0 0;gap:4px;border-right-color:#e9e5d8}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup) strong{font-size:20px;font-weight:700;line-height:1.1;letter-spacing:-.035em}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy,.wd-dispatch-customer){gap:3px}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy>strong,.wd-dispatch-customer>strong){font-size:13px;line-height:1.15;font-weight:700}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-reference,.wd-dispatch-reference){font:600 11px/1.15 Aptos,sans-serif;color:#92702b}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-route,.wd-dispatch-route){gap:2px;line-height:1.2;font-size:11px;color:#747d74}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-route-start,.wd-dispatch-route-start){color:#555f55}
html body.wmc-design #admin-root .wd-overview .wd-live-stage{background:#edf4ec;border:0;color:#52724f!important;padding:3px 5px;line-height:1.1}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation){gap:6px;padding-top:2px}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation)>strong{font-size:12px;line-height:1.2;color:#50594e}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-registration,.wd-dispatch-allocation>span:not(.wd-badge)){display:inline-flex;align-items:center;align-self:flex-start;gap:4px;padding:4px 6px;border-radius:5px;background:#282c28;color:#edcf88;font-size:10px;letter-spacing:.025em;font-weight:700;line-height:1.1}
html body.wmc-design #admin-root .wd-overview .wd-live-registration svg{color:#d2b466;width:12px;height:12px}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{padding:5px 0 0;gap:4px;border-top-color:#eeeade}
html body.wmc-design #admin-root .wd-overview .wmc-service-label>span{background:#f3f0e5;border:1px solid #eae3cf;color:#82714b;font-size:10px;line-height:1.15;padding:2px 5px;font-weight:400}
html body.wmc-design #admin-root .wd-overview .wmc-service-label>.wmc-journey-tag{background:#eef0e9;border-color:#e2e6d9;color:#65705c}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager{padding:5px 0 0;border-top-color:#eef0e9;color:#858c82;font-size:11px;min-height:29px}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager button{border-color:#e6e9de;background:#fafbf7;color:#8e7b4e;border-radius:7px;width:27px;min-width:27px;height:27px;min-height:27px}
html body.wmc-design #admin-root .wd-overview .wd-mini-pager button:disabled{opacity:.3}
html body.wmc-design #admin-root .wd-overview .wd-time-window{font-size:10px;letter-spacing:0;background:#f4f2e8;color:#95815a;padding:4px 6px;border-radius:5px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue{border:1px solid #eee5cf;border-left:3px solid #c4a259;background:#fdfbf4;border-radius:8px;gap:7px;padding:8px;min-height:52px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue strong{font-size:12px;font-weight:700;color:#5f5d4c}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue small{font-size:11px!important;line-height:1.25;color:#8a8877}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue .wd-action{border-radius:6px;background:#fffdf7;border-color:#ddceaa;color:#947538}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue.is-urgent{border-color:#e8c9c1;border-left-color:#ba675b;background:#fff6f3}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue.is-urgent .wd-action{background:#b35e51;color:#fff}
html body.wmc-design #admin-root .wd-overview .wd-resource-summary{font-size:11px;color:#848b7e}
html body.wmc-design #admin-root .wd-overview .wd-resource-stat svg{width:14px;height:14px;color:#9b9c84}
html body.wmc-design #admin-root .wd-overview .wd-activity-record{gap:8px;border-bottom:1px solid #f0f1eb;transition:background-color 140ms ease;border-radius:5px}
html body.wmc-design #admin-root .wd-overview .wd-activity-record:hover{background:#faf8f0;text-decoration:none}
html body.wmc-design #admin-root .wd-overview .wd-event-icon{background:#f8f3e3;color:#a78a46;border:1px solid #efe6cd;border-radius:8px}
html body.wmc-design #admin-root .wd-overview .wd-event-copy strong{font-size:12px;letter-spacing:-.01em;color:#515b4e;font-weight:700}
html body.wmc-design #admin-root .wd-overview .wd-event-reference{color:#a0833d}
html body.wmc-design #admin-root .wd-overview .wd-event-time strong{color:#6f7b63}
html body.wmc-design #admin-root .wd-overview .wd-map{border-radius:8px;background:#eff1e8}
html body.wmc-design #admin-root .wd-overview .wd-map-status{font-size:10px;line-height:1.2;color:#8c9487;min-height:12px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-driver-panel{border-radius:12px;box-shadow:0 12px 32px #17242122,0 2px 6px #1724210a;border-color:#e8e3d5}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-registration{background:#292d28;border:0;color:#edcf88;padding:3px 5px}
html body.wmc-design #admin-root .wd-overview .wd-overview-panels{display:none}
}
@media screen and (min-width:1024px){
html body.wmc-design #admin-root .admin-workspace>.wd-overview{grid-template-rows:64px minmax(0,1fr);gap:10px}
}
@media screen and (min-width:1024px) and (max-height:819px){
html body.wmc-design #admin-root .admin-workspace>.wd-overview{grid-template-rows:58px minmax(0,1fr);gap:8px}
html body.wmc-design #admin-root .wd-overview .wd-metric{min-height:58px;padding:8px 11px;gap:8px}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:25px}
html body.wmc-design #admin-root .wd-overview .wd-card{padding:8px 10px}
html body.wmc-design #admin-root .wd-overview .wd-card-head{margin-bottom:5px;min-height:27px}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{font-size:13px}
html body.wmc-design #admin-root .wd-overview .wd-activity-record{grid-template-columns:22px minmax(0,1fr) 70px;gap:6px}
html body.wmc-design #admin-root .wd-overview .wd-event-copy strong{font-size:11px}
html body.wmc-design #admin-root .wd-overview .wd-event-reference{font-size:10px}
html body.wmc-design #admin-root .wd-overview .wd-event-time small{font-size:10px}
}
@media screen and (min-width:1024px) and (max-width:1270px){
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record){grid-template-columns:56px minmax(0,1fr) 88px;gap:5px 7px;padding:7px}
html body.wmc-design #admin-root .wd-overview .wd-metric{padding:8px;gap:7px}
html body.wmc-design #admin-root .wd-overview .wd-metric>div>span{font-size:11px}
html body.wmc-design #admin-root .wd-overview .wd-metric strong{font-size:23px}
html body.wmc-design #admin-root .wd-overview .wd-metric-icon{width:27px;height:27px;flex-basis:27px}
}
@media screen and (max-width:1023px){
html:has(body.wmc-design #admin-root .wd-overview.has-overview-panels){height:100dvh;overflow:hidden}
html body.wmc-design:has(#admin-root .wd-overview.has-overview-panels){height:100dvh;overflow:hidden}
html body.wmc-design #admin-root .admin-workspace:has(>.wd-overview.has-overview-panels){height:calc(100dvh - var(--wd-top))!important;overflow:hidden!important;display:flex!important;flex-direction:column;padding:10px!important;min-height:0}
html body.wmc-design #admin-root .admin-workspace>.wd-overview.has-overview-panels{display:grid;grid-template-rows:auto 36px minmax(0,1fr);flex:1;min-height:0;gap:8px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-metrics{margin:0;gap:7px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-metric{min-height:58px;padding:8px;gap:7px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-metric strong{font-size:23px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-metric>div>span{font-size:11px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-metric>div{flex-direction:column;align-items:flex-start;gap:3px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-overview-panels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#e8e9e2;border-radius:9px;padding:3px}
html body.wmc-design #admin-root .wd-overview .wd-overview-panels button{font:600 11px Aptos,sans-serif;line-height:1;min-width:0;min-height:30px;padding:5px 2px;border:0;border-radius:6px;background:transparent;color:#737c6c;white-space:nowrap;cursor:pointer}
html body.wmc-design #admin-root .wd-overview .wd-overview-panels button[aria-pressed=true]{background:#fff;color:#90702d;box-shadow:0 1px 3px #17242112}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-overview-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100%!important;min-height:0;gap:0}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-overview-grid>.wd-card{display:none;grid-area:1/1;height:100%;min-height:0;order:0}
html body.wmc-design #admin-root .wd-overview.has-overview-panels[data-overview-panel=map] .wd-fleet,
html body.wmc-design #admin-root .wd-overview.has-overview-panels[data-overview-panel=live] .wd-live,
html body.wmc-design #admin-root .wd-overview.has-overview-panels[data-overview-panel=dispatch] .wd-dispatch,
html body.wmc-design #admin-root .wd-overview.has-overview-panels[data-overview-panel=attention] .wd-attention,
html body.wmc-design #admin-root .wd-overview.has-overview-panels[data-overview-panel=activity] .wd-activity{display:flex}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-table-area{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-map{min-height:0}
html body.wmc-design #admin-root .wd-overview.has-overview-panels .wd-attention-items{min-height:0}
}
@media screen and (max-width:800px){
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-record,.wd-dispatch-record){grid-template-columns:60px minmax(0,1fr);gap:6px 9px;padding:8px;min-height:0}
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:2;grid-row:2;flex-direction:row;flex-wrap:wrap;align-items:center}
}
@media screen and (prefers-reduced-motion:reduce){
html body.wmc-design #admin-root .wd-overview .wd-activity-record{transition:none}
}

/* Compact booking summaries: use shared grid rows, rather than stacked blocks. */
@media screen and (min-width:801px){
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-record,.wd-dispatch-record){min-height:0;height:auto;grid-template-rows:auto auto auto auto;padding:7px 8px;row-gap:3px;align-items:start}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-copy,.wd-dispatch-customer){display:contents}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-copy,.wd-dispatch-customer)>strong{grid-column:2;grid-row:1;line-height:1.15}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-reference,.wd-dispatch-reference){grid-column:2;grid-row:2;font:600 11px/1.15 Aptos,sans-serif}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-route,.wd-dispatch-route){grid-column:2;grid-row:3;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25;font-size:11px}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-route,.wd-dispatch-route)>span{display:inline;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-time,.wd-pickup){grid-column:1;grid-row:1/4;padding-top:1px;gap:3px}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:3;grid-row:1/3;gap:4px;padding-top:0}
html body.wmc-design #admin-root .wd-overview .wd-live .wd-live-stage{grid-column:3;grid-row:3;justify-self:start;align-self:start;line-height:1.15;font-size:10px!important;margin:0;padding:2px 4px}
html body.wmc-design #admin-root .wd-overview .wd-dispatch .wd-dispatch-status{grid-column:3;grid-row:3;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:3px;padding:0}
html body.wmc-design #admin-root .wd-overview .wd-dispatch .wd-dispatch-status .wd-badge{padding:2px 4px;font-size:10px!important;line-height:1.15;margin:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{grid-column:1/-1;grid-row:4;gap:3px;padding-top:4px;line-height:1.15}
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch) .wmc-service-label>span{padding:2px 4px;font-size:10px;line-height:1.15}
}

/* Keep record counts and navigation next to the card title, never in a distant footer. */
@media screen {
html body.wmc-design #admin-root .wd-overview .wd-card-head{flex-wrap:wrap;gap:5px 8px;align-items:center}
html body.wmc-design #admin-root .wd-overview .wd-card-head h2{flex:0 1 auto;margin-right:auto}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-mini-pager{display:inline-flex;flex:0 0 auto;align-items:center;gap:3px;padding:0;margin:0;border:0;min-height:27px;font-size:10px;color:#858c82;max-width:100%}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-mini-pager[hidden]{display:none!important}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-mini-pager>span{margin-right:5px;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-mini-pager :is(button,.wd-icon-link){width:25px;min-width:25px;height:25px;min-height:25px;border-radius:6px;padding:3px}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-resource-summary{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 1 auto;padding:0;margin:0;border:0;font-size:10px;max-width:100%}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-resource-summary .wd-resource-stat{gap:4px;font-size:10px;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-card-head>.wd-resource-summary .wd-icon-link{width:25px;min-width:25px;height:25px;min-height:25px;padding:3px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-card-head{align-content:flex-start}
html body.wmc-design #admin-root .wd-overview .wd-activity .wd-card-head>select{max-width:112px}
}

/* Approved Overview: compact records, exact issues, and controls at the top. */
@media screen {
html body.wmc-design #admin-root .wd-overview :is(.wd-live,.wd-dispatch){container-type:inline-size}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record){display:grid;grid-template-columns:128px minmax(0,1fr) 146px;grid-template-rows:auto auto;align-content:start;align-items:start;padding:7px 8px;gap:4px 9px;min-height:0;height:auto;overflow:visible}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup){grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:1px 7px 0 0;border-right:1px solid #e9e5d8;min-width:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup)>time{font:600 11px/1.3 Aptos,sans-serif;color:#404742;white-space:nowrap;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup)>span{font:600 10px/1.3 Aptos,sans-serif;color:#95732f;white-space:nowrap;overflow:visible}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy,.wd-dispatch-customer){grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px 6px;min-width:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy,.wd-dispatch-customer)>.wd-booking-customer-name{grid-column:1;grid-row:1;font:700 13px/1.25 Aptos,sans-serif;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview .wd-booking-counts{grid-column:2;grid-row:1;display:flex;align-items:center;gap:7px;color:#6c766a;min-width:0}
html body.wmc-design #admin-root .wd-overview .wd-booking-count{display:inline-flex;align-items:center;gap:2px;white-space:nowrap;font:600 11px/1.3 Aptos,sans-serif}
html body.wmc-design #admin-root .wd-overview .wd-booking-count svg{width:13px;height:13px;flex:none;stroke-width:1.7}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-route,.wd-dispatch-route){grid-column:1/-1;grid-row:2;display:block;font:400 11px/1.3 Aptos,sans-serif;color:#6c756e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:3;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 5px;padding:0;min-width:0;align-items:start}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation)>.wd-booking-driver{grid-column:1;grid-row:1;font:600 11px/1.25 Aptos,sans-serif;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.5em}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation)>.wd-booking-vehicle{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding:0;background:none;color:inherit;border-radius:0;min-width:0}
html body.wmc-design #admin-root .wd-overview .wd-booking-vehicle-group{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
html body.wmc-design #admin-root .wd-overview .wd-booking-plate{display:inline-block;background:#f4ce40;color:#171a17;border:1px solid #ddba32;border-radius:3px;padding:2px 5px;font:700 12px/1.15 Aptos,sans-serif;letter-spacing:.035em;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-booking-vehicle-type{color:#737a72;font:400 10px/1.15 Aptos,sans-serif;text-align:right;white-space:nowrap;margin:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation)>.wd-dispatch-status{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:flex-start;gap:3px;background:none;color:inherit;padding:0;border-radius:0;white-space:normal;max-width:100%}
html body.wmc-design #admin-root .wd-overview .wd-dispatch-status .wd-badge{font:600 9px/1.15 Aptos,sans-serif!important;padding:2px 4px;white-space:normal;max-width:100%;overflow-wrap:anywhere}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{grid-column:1/-1;grid-row:2;display:flex!important;gap:3px 6px;flex-direction:row!important;flex-wrap:wrap!important;align-items:center;border-top:1px solid #efebdf;padding-top:4px;margin:0}
html body.wmc-design #admin-root .wd-overview .wmc-service-label>span{background:none;border:0;border-radius:0;padding:0;font:400 10px/1.3 Aptos,sans-serif;color:#83714e}
html body.wmc-design #admin-root .wd-overview .wmc-service-label>span+span:before{content:'·';margin-right:6px;color:#b4ad97}
html body.wmc-design #admin-root .wd-overview .wd-table-area{overflow:auto;scrollbar-width:thin}
html body.wmc-design #admin-root .wd-overview .wd-card-head .wd-time-window{background:none;padding:0;font-size:10px}
html body.wmc-design #admin-root .wd-overview .wd-attention-items{display:flex;flex-direction:column;gap:4px;overflow:hidden}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;flex:none;min-height:42px;height:42px;box-sizing:border-box;gap:7px;padding:5px 7px;text-decoration:none;flex-wrap:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue[hidden]{display:none!important}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue>div{display:flex;flex-direction:column;min-width:0;gap:2px}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue strong{font:600 11px/1.25 Aptos,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue small{font:400 11px/1.25 Aptos,sans-serif!important;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue>.wd-badge{justify-self:end;white-space:nowrap;font:600 10px/1.2 Aptos,sans-serif;padding:3px 5px;background:#f3ead1;color:#92702f;border:0}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue.is-urgent>.wd-badge{background:#f6ded8;color:#a34b3d}
html body.wmc-design #admin-root .wd-overview .wd-attention .wd-issue:hover{border-color:#cfb16e;background:#fbf5e5}
html body.wmc-design #admin-root .wd-overview .wd-activity-record{display:grid;grid-template-columns:24px minmax(90px,1.15fr) minmax(115px,1fr) minmax(70px,.8fr) 118px;grid-template-rows:auto;align-items:center;height:40px;min-height:40px;box-sizing:border-box;gap:8px;padding:5px 2px;overflow:hidden}
html body.wmc-design #admin-root .wd-overview .wd-event-icon{grid-column:1;grid-row:1;width:24px;height:24px}
html body.wmc-design #admin-root .wd-overview .wd-event-copy{display:contents}
html body.wmc-design #admin-root .wd-overview .wd-event-copy>strong{grid-column:2;grid-row:1;font:600 11px/1.3 Aptos,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview .wd-event-reference{grid-column:3;grid-row:1;font:600 10px/1.3 Aptos,sans-serif;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-event-copy>small{grid-column:4;grid-row:1;font:400 11px/1.3 Aptos,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview .wd-event-time{grid-column:5;grid-row:1;display:flex;flex-direction:row-reverse;justify-content:flex-start;gap:5px;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview .wd-event-time :is(strong,small){font:400 10px/1.3 Aptos,sans-serif}
html body.wmc-design #admin-root .wd-overview :is(a,button,select):focus-visible{outline:2px solid #ac8638;outline-offset:2px}
html body.wmc-design #admin-root .wd-overview .wd-card{container-type:inline-size}
/* Floating driver details remain attached to the existing marker controls. */
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-popup{width:286px;max-width:calc(100vw - 24px);padding:10px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:6px 7px;font:400 11px/1.3 Aptos,sans-serif}
html body.wmc-design #admin-root:has(.wd-overview) :is(.wd-map-person,.wd-map-identity){display:contents}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-avatar{grid-column:1;grid-row:1/3;width:30px;height:30px;min-width:30px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-identity>strong{grid-column:2;grid-row:1;font:700 12px/1.2 Aptos,sans-serif;padding-right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.wmc-design #admin-root:has(.wd-overview) .wd-location-state{grid-column:2;grid-row:2;font-size:9px;margin:0}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-registration{grid-column:3;grid-row:1;justify-self:end;background:#f4ce40;color:#171a17;font:700 11px/1.2 Aptos,sans-serif;border:0;padding:2px 4px;margin-right:18px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed{grid-column:3;grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:3px;padding:0;border:0;background:none}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed>span{display:none}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed svg{width:12px;height:12px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed-values{display:block;text-align:right}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed-values>strong{font:600 12px/1.2 Aptos,sans-serif}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-speed-values>small{display:none}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-job{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;gap:4px 7px;padding:5px 0;border-top:1px solid #ece8dc;border-bottom:0;font-size:10px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-job svg{width:12px;height:12px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-booking{font:600 10px/1.3 Aptos,sans-serif}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-stage{font:400 10px/1.3 Aptos,sans-serif}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-eta{font:400 10px/1.3 Aptos,sans-serif;margin:0}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-location{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:13px minmax(0,1fr) auto;gap:3px 5px;padding:0;border:0}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-location>svg{width:13px;height:13px;grid-column:1;grid-row:1}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-address{grid-column:2/-1;grid-row:1;font:400 11px/1.3 Aptos,sans-serif!important;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-coordinates{grid-column:2;grid-row:2;font:400 9px/1.3 Aptos,sans-serif;margin:0}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-accuracy{grid-column:3;grid-row:2;font:400 9px/1.3 Aptos,sans-serif;margin:0}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-actions{grid-column:1/-1;grid-row:5;display:flex;align-items:center;gap:4px;padding:5px 0 0;border-top:1px solid #ece8dc}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-actions .wd-map-updated{font:400 9px/1.3 Aptos,sans-serif;margin:0 auto 0 0;gap:3px;display:flex;align-items:center}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-updated svg{width:11px;height:11px}
html body.wmc-design #admin-root:has(.wd-overview) .wd-map-actions .wd-icon-link{width:23px;min-width:23px;height:23px;min-height:23px;padding:3px}
}
@media screen and (min-width:1024px) and (min-height:820px){
html body.wmc-design #admin-root .wd-overview-grid>.wd-fleet{grid-area:1/1/3/7}
html body.wmc-design #admin-root .wd-overview-grid>.wd-live{grid-area:1/7/2/13}
html body.wmc-design #admin-root .wd-overview-grid>.wd-dispatch{grid-area:2/7/3/13}
html body.wmc-design #admin-root .wd-overview-grid>.wd-attention{grid-area:3/1/4/6}
html body.wmc-design #admin-root .wd-overview-grid>.wd-activity{grid-area:3/6/4/13}
}
@media screen and (min-width:1024px) and (max-height:819px){
html body.wmc-design #admin-root .wd-overview-grid>.wd-fleet{grid-area:1/1/2/7}
html body.wmc-design #admin-root .wd-overview-grid>.wd-live{grid-area:1/7/2/13}
html body.wmc-design #admin-root .wd-overview-grid>.wd-attention{grid-area:2/1/3/5}
html body.wmc-design #admin-root .wd-overview-grid>.wd-activity{grid-area:2/5/3/9}
html body.wmc-design #admin-root .wd-overview-grid>.wd-dispatch{grid-area:2/9/3/13}
}
@media screen and (max-width:800px){
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-record,.wd-dispatch-record){grid-template-columns:minmax(0,1fr) 146px;grid-template-rows:auto auto auto;gap:6px 8px}
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-time,.wd-pickup){grid-column:1;grid-row:1;border:0;padding:0}
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:2;grid-row:1;display:grid;align-items:start}
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-copy,.wd-dispatch-customer){grid-column:1/-1;grid-row:2;display:grid}
html body.wmc-design #admin-root .wd-overview.has-overview-panels :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{grid-row:3}
}
@media screen {
@container (max-width:480px){
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record){grid-template-columns:minmax(0,1fr) 146px;grid-template-rows:auto auto auto}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-time,.wd-pickup){grid-column:1;grid-row:1;border:0;padding:0}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-copy,.wd-dispatch-customer){grid-column:1/-1;grid-row:2;display:grid}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-assigned,.wd-dispatch-allocation){grid-column:2;grid-row:1;display:grid}
html body.wmc-design #admin-root .wd-overview :is(.wd-live-record,.wd-dispatch-record)>.wmc-service-label{grid-row:3}
html body.wmc-design #admin-root .wd-overview .wd-activity-record{grid-template-columns:22px minmax(0,1fr) 106px;grid-template-rows:auto auto;gap:2px 6px;height:40px}
html body.wmc-design #admin-root .wd-overview .wd-event-icon{grid-column:1;grid-row:1/3}
html body.wmc-design #admin-root .wd-overview .wd-event-copy>strong{grid-column:2;grid-row:1}
html body.wmc-design #admin-root .wd-overview .wd-event-reference{grid-column:2;grid-row:2}
html body.wmc-design #admin-root .wd-overview .wd-event-copy>small{grid-column:3;grid-row:1;text-align:right}
html body.wmc-design #admin-root .wd-overview .wd-event-time{grid-column:3;grid-row:2;gap:3px}
html body.wmc-design #admin-root .wd-overview .wd-event-time :is(strong,small){font-size:9px}
}
}

/* Restore the approved row layout. Dedicated classes isolate legacy card rules. */
@media screen {
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card{border:1px solid #dfcd9f;border-radius:9px;box-shadow:none;background:#fff;padding:8px 10px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card-head{min-height:30px;margin:0 0 7px;padding:0 0 6px;border-bottom:1px solid #eee9dc}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card-head h2{font:700 14px/1.2 Aptos,sans-serif;color:#202a36}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{display:grid;grid-template-columns:116px minmax(0,1fr) 176px;grid-template-rows:auto auto auto;align-content:start;align-items:start;gap:4px 10px;min-height:0;height:auto;padding:6px 0;border:0;border-radius:0;background:#fff;color:#26313a;text-decoration:none}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row:hover{background:#fffdf6}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-time{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;gap:4px;padding:0 9px 0 0;border-right:1px solid #e8e4d9;min-width:0;font-variant-numeric:tabular-nums}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-time>time{display:flex;flex-direction:column;gap:3px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-time strong{font:700 21px/1 Aptos,sans-serif;letter-spacing:-.03em;color:#222b36}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-time small{font:400 11px/1.3 Aptos,sans-serif;color:#68778b}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-time>.wd-job-reference{display:block;grid-area:auto;font:500 10px/1.3 Aptos,sans-serif;letter-spacing:0;color:#68778b;white-space:nowrap;overflow:visible}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;grid-column:2;grid-row:1/3;gap:5px 7px;min-width:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-copy>.wd-booking-customer-name{grid-column:1;grid-row:1;display:block;margin:0;font:700 13px/1.3 Aptos,sans-serif;color:#202a36;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-copy>.wd-booking-counts{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;align-items:center;gap:7px;min-width:0;color:#26313a}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-booking-count{display:inline-flex;align-items:center;gap:3px;font:400 11px/1.3 Aptos,sans-serif;white-space:nowrap}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-booking-count svg{width:15px;height:15px;flex:none}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-route{grid-column:1/-1;grid-row:2;display:block;min-width:0;color:#3e4852;font:400 12px/1.3 Aptos,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-assigned{grid-column:3;grid-row:1/4;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:7px 8px;padding:0 0 0 9px;border-left:1px solid #e8e4d9;min-width:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-assigned>.wd-booking-driver{grid-column:1;grid-row:1;display:block;font:600 12px/1.25 Aptos,sans-serif;color:#202a36;margin:0;white-space:normal;overflow-wrap:normal;max-height:none;-webkit-line-clamp:unset}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-assigned>.wd-booking-vehicle{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;padding:0;margin:0;background:none;border:0;color:inherit;gap:3px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-booking-vehicle-group{display:flex;flex-direction:column;align-items:flex-end;gap:4px;background:none;padding:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-booking-plate{display:block;padding:2px 5px;border:1px solid #b29730;border-radius:3px;background:#f7d83e;color:#151a18;font:700 13px/1.15 Aptos,sans-serif;letter-spacing:.025em;white-space:nowrap;box-shadow:inset 0 1px 1px #fff9}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-booking-vehicle-type{font:400 11px/1.2 Aptos,sans-serif;color:#68778b;white-space:nowrap;margin:0;padding:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-state{grid-column:1/-1;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;background:none;border:0;padding:0;margin:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status{display:inline-flex;align-items:center;gap:4px;padding:0;background:none;border:0;font:400 11px/1.2 Aptos,sans-serif;white-space:normal;color:#677b91}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status:before{content:'';width:7px;height:7px;background:#a6bdd0;border-radius:50%;flex:none}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status:is(.is-paid,.is-live){color:#17912f}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status:is(.is-paid,.is-live):before{background:#1bb83d}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status.is-unpaid{color:#ab7925}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status.is-unpaid:before{background:#c79839}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row>.wmc-service-label{grid-column:2;grid-row:3;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:3px 6px;align-items:center;margin:0;padding:0;border:0;font:400 10px/1.3 Aptos,sans-serif;color:#68778b}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row>.wmc-service-label>span{background:none;border:0;border-radius:0;padding:0;margin:0;font:400 10px/1.3 Aptos,sans-serif;color:#68778b}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-single-record .wd-table-area{flex:0 0 auto;min-height:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue{display:grid;grid-template-columns:20px minmax(180px,1.05fr) minmax(140px,1.5fr) 76px;grid-template-rows:auto;align-items:center;gap:10px;height:34px;min-height:34px;flex:none;padding:5px 3px;border:0;border-bottom:1px solid #eceef0;background:#fff;border-radius:0;text-decoration:none}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue>div{display:contents}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue>svg{grid-column:1;grid-row:1;color:#34404d;width:18px;height:18px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue strong{grid-column:2;grid-row:1;font:500 12px/1.3 Aptos,sans-serif;color:#26313a}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention-code{color:#9a8551;font-size:11px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue small{grid-column:3;grid-row:1;font:400 12px/1.3 Aptos,sans-serif!important;color:#435064;margin:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue>.wd-badge{grid-column:4;grid-row:1;justify-self:end;padding:3px 6px;font:400 11px/1.3 Aptos,sans-serif;color:#ad731f;background:#fff7e9;border:0;border-radius:4px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention-items{gap:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity-record{grid-template-columns:22px minmax(140px,1.2fr) minmax(130px,1fr) minmax(125px,1fr) 124px;grid-template-rows:auto;height:34px;min-height:34px;padding:5px 3px;gap:10px;background:#fff;border:0;border-bottom:1px solid #eceef0;border-radius:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy{display:contents}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-icon{grid-column:1;grid-row:1;width:19px;height:19px;color:#34404d;background:none;border:0;border-radius:0;padding:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy>strong{grid-column:2;grid-row:1;font:500 12px/1.3 Aptos,sans-serif;color:#26313a}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-reference{grid-column:3;grid-row:1;font:500 11px/1.3 Aptos,sans-serif;color:#66778d}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy>small{grid-column:4;grid-row:1;font:400 12px/1.3 Aptos,sans-serif;color:#435064;text-align:left}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-time{grid-column:5;grid-row:1;display:flex;flex-direction:row-reverse;justify-content:flex-start;gap:5px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-time :is(strong,small){font:400 11px/1.3 Aptos,sans-serif}
}
@media screen and (min-width:1024px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,1fr) minmax(0,1fr) 152px 152px;gap:10px;align-content:start}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-fleet{grid-area:1/1/3/7}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-live{grid-area:1/7/2/13}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-dispatch{grid-area:2/7/3/13}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-live,.wd-dispatch).wd-single-record{align-self:start;height:auto;max-height:100%}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention{grid-area:3/1/4/13}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity{grid-area:4/1/5/13}
}
@media screen and (min-width:1024px) and (max-height:819px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid{grid-template-rows:minmax(0,1fr) minmax(0,1fr) 119px 119px;gap:8px}
}
@media screen and (max-width:1023px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid>.wd-card{height:100%;align-self:stretch}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-single-record .wd-table-area{flex:1}
}
@media screen {
@container (max-width:480px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{grid-template-columns:minmax(0,1fr) 176px;grid-template-rows:auto auto auto;gap:7px 8px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-time{grid-column:1;grid-row:1;border:0;padding:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-assigned{grid-column:2;grid-row:1;border:0;padding:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-copy{grid-column:1/-1;grid-row:2}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row>.wmc-service-label{grid-column:1/-1;grid-row:3}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue{grid-template-columns:18px minmax(0,1fr) 65px;grid-template-rows:auto auto;height:44px;min-height:44px;gap:2px 6px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue>svg{grid-column:1;grid-row:1/3}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue strong{grid-column:2;grid-row:1}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue small{grid-column:2;grid-row:2}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue>.wd-badge{grid-column:3;grid-row:1/3}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity-record{grid-template-columns:20px minmax(0,1fr) 110px;grid-template-rows:auto auto;height:44px;min-height:44px;gap:2px 6px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-icon{grid-column:1;grid-row:1/3}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy>strong{grid-column:2;grid-row:1}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-reference{grid-column:2;grid-row:2}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy>small{grid-column:3;grid-row:1;text-align:right}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-time{grid-column:3;grid-row:2;gap:3px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-time :is(strong,small){font-size:9px}
}
}

/* Restore compact panel placement and prevent empty-state clipping. */
@media screen {
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card-head{min-height:28px;margin-bottom:5px;padding-bottom:5px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card .wd-table-area{flex:1 1 0%;min-height:0;min-width:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention-items{flex:1 1 0%;min-height:0;min-width:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-single-record .wd-table-area{flex:0 0 auto;min-height:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card .wd-overview-empty{display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;justify-items:start;gap:4px 9px;width:100%;min-height:0;height:auto;padding:9px 3px;border:0;border-radius:0;background:none;text-align:left}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card .wd-overview-empty-icon{grid-column:1;grid-row:1/3;width:22px;height:22px;background:none;border:0;padding:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card .wd-overview-empty h3{grid-column:2;grid-row:1;font:600 12px/1.3 Aptos,sans-serif;margin:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card .wd-overview-empty p{grid-column:2;grid-row:2;font:400 11px/1.3 Aptos,sans-serif;margin:0;white-space:normal;max-width:none}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{grid-template-columns:116px minmax(0,1fr) 208px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue{box-sizing:border-box;grid-template-columns:18px minmax(140px,1.15fr) minmax(110px,1fr) 64px;gap:7px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity-record{box-sizing:border-box;grid-template-columns:18px minmax(0,1.1fr) 116px minmax(0,1fr) 112px;gap:7px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy>strong{font-size:11px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-copy>small{font-size:11px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-event-time :is(strong,small){font-size:10px}
}
@media screen and (min-width:1024px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,1fr) minmax(0,1fr) 166px;gap:10px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-fleet{grid-area:1/1/3/7}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-live{grid-area:1/7/2/13}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-dispatch{grid-area:2/7/3/13}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-live,.wd-dispatch).wd-single-record{min-height:116px;max-height:none;align-self:start}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention{grid-area:3/1/4/7}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity{grid-area:3/7/4/13}
}
@media screen and (min-width:1024px) and (max-height:819px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid{grid-template-rows:minmax(0,1fr) minmax(0,1fr) 156px;gap:8px}
}
@media screen {
@container (max-width:480px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{grid-template-columns:minmax(0,1fr) 176px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue{grid-template-columns:18px minmax(0,1fr) 65px;gap:2px 6px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity-record{grid-template-columns:20px minmax(0,1fr) 110px;gap:2px 6px}
}
}

/* One agreed colour for reference values and directory IDs across WMC admin. */
@media screen {
html body.wmc-design :is(.wd-job-reference,.wd-live-reference,.wd-dispatch-reference,.wd-event-reference,.wd-attention-code,.wd-map-booking,.booking-card-reference,.booking-row-reference,.booking-detail-reference,.booking-header-reference strong,.personnel-booking-reference,.wmc-directory-code,.wmc-directory-reference,.directory-code,.personnel-directory-code,.wmc-record-code,.customer-unique-code,.driver-unique-code,.supplier-unique-code,.vehicle-unique-code,.saved-reference strong,.commerce-reference button,.wd-metric-result>strong:first-child){color:#9a8551!important}
}

/* Booking panels retain equal dimensions regardless of record count. */
@media screen and (min-width:1024px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid>:is(.wd-live,.wd-dispatch),
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-overview-grid>:is(.wd-live,.wd-dispatch).wd-single-record{align-self:stretch;justify-self:stretch;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;box-sizing:border-box}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-live,.wd-dispatch) .wd-table-area,
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-live,.wd-dispatch).wd-single-record .wd-table-area{flex:1 1 0%;min-height:0;min-width:0}
}

/* WMC Alerts: compact gold controls and a viewport-bounded dialog. */
@media screen {
html body.wmc-design #wmc-global-alert{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px!important;min-width:42px!important;height:42px!important;padding:9px!important;border:1px solid #e4d8bc!important;border-radius:10px!important;background:#fffaf0!important;color:#9a8551!important;box-shadow:0 1px 3px #2c241008}
html body.wmc-design #wmc-global-alert:hover{background:#f8efd9!important;border-color:#c5aa6a!important}
html body.wmc-design #wmc-global-alert>svg{width:22px;height:22px;color:#9a8551;stroke-width:1.8}
html body.wmc-design #wmc-global-alert>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.wmc-design #wmc-global-alert>b{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;display:grid;place-items:center;box-sizing:border-box;padding:0 3px;border:2px solid #fff;border-radius:10px;background:#ce344a;color:#fff;font:700 10px/1 Aptos,sans-serif;box-shadow:none}
html body.wmc-design #wmc-global-alert:focus-visible{outline:2px solid #9a8551;outline-offset:3px}
html body.wmc-design #wmc-admin-notifications[open]{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto 30px;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:9px 8px;width:min(640px,calc(100vw - 32px))!important;height:min(620px,calc(100dvh - 32px))!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;max-width:calc(100vw - 32px)!important;margin:auto!important;padding:18px!important;box-sizing:border-box;border:1px solid #ddcfaa!important;border-radius:14px!important;background:#fff;color:#29333d;font:400 12px/1.4 Aptos,sans-serif;box-shadow:0 20px 60px #17242130;overflow:hidden!important}
html body.wmc-design #wmc-admin-notifications::backdrop{background:#17202966;backdrop-filter:blur(3px)}
html body.wmc-design #wmc-admin-notifications .wmc-alert-heading{display:contents!important;position:static;margin:0;padding:0;border:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-emblem{grid-column:1;grid-row:1;align-self:center;display:grid;place-items:center;width:32px;height:36px;margin:0;background:#fbf4e4;color:#9a8551;border:1px solid #ede0bd;border-radius:9px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-emblem svg{width:21px;height:21px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-title-block{grid-column:2;grid-row:1;min-width:0;align-self:center}
html body.wmc-design #wmc-admin-notifications .wmc-alert-eyebrow{display:none}
html body.wmc-design #wmc-admin-notifications h2{font:700 19px/1.2 Aptos,sans-serif;color:#25313a;margin:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-subtitle{font:400 11px/1.3 Aptos,sans-serif;color:#788188;margin:3px 0 0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-close{grid-column:4;grid-row:1;align-self:center;width:30px;min-width:30px;height:30px;padding:5px;border:1px solid #e8e5db;border-radius:7px;background:#fbfbf8;color:#73786f}
html body.wmc-design #wmc-admin-notifications>.wmc-export-toolbar{grid-column:3;grid-row:1;display:flex;align-self:center;justify-content:flex-end;gap:4px;margin:0;padding:0;border:0}
html body.wmc-design #wmc-admin-notifications .wmc-export-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:0;font-size:0!important;color:#9a8551!important;border:1px solid #e4dcc7!important;border-radius:7px!important;background:#fff!important;box-shadow:none}
html body.wmc-design #wmc-admin-notifications .wmc-export-icon svg{width:16px;height:16px;min-width:16px}
html body.wmc-design #wmc-admin-notifications .wmc-export-icon .wd-action-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.wmc-design #wmc-admin-notifications .wmc-export-icon:hover{background:#faf3e3!important;border-color:#cbb47b!important}
html body.wmc-design #wmc-admin-notifications .wmc-alert-tools{grid-column:1/-1;grid-row:2;display:grid;gap:8px;min-width:0;padding:5px 0 0;margin:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;margin:0;border:1px solid #e9e5d8;border-radius:8px;background:#f7f7f2}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:30px;padding:5px 6px;border:0;border-radius:5px;background:transparent;color:#69747c;font:600 11px/1.2 Aptos,sans-serif;box-shadow:none}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button[aria-pressed=true]{background:#ae8c42;color:#fff;box-shadow:0 1px 3px #5c491c12}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filter-count{min-width:15px;padding:2px 4px;border-radius:4px;background:#eaece6;color:inherit;font:600 10px/1 Aptos,sans-serif}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button[aria-pressed=true] .wmc-alert-filter-count{background:#ffffff33;color:#fff}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button:nth-child(2)[aria-pressed=true]{background:#bd4251}
html body.wmc-design #wmc-admin-notifications .wmc-alert-search-wrap{position:relative;margin:0;min-width:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-search{height:35px;min-height:35px;width:100%;padding:7px 10px 7px 33px;border:1px solid #e3e6df;border-radius:7px;box-sizing:border-box;background:#fff;color:#29333d;font:400 12px/1.3 Aptos,sans-serif}
html body.wmc-design #wmc-admin-notifications .wmc-alert-search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#9a8551;width:15px;height:15px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-search-icon svg{width:15px;height:15px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-connection{grid-column:1/-1;grid-row:3;margin:0;padding:5px 8px;font-size:11px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-connection[hidden]{display:none!important}
html body.wmc-design #wmc-admin-notifications .wmc-alert-list{grid-column:1/-1;grid-row:4;position:static;display:flex;flex-direction:column;gap:7px;min-height:0;max-height:none!important;margin:0;padding:1px 5px 1px 0;list-style:none;background:#fff;border:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#d5c8a6 transparent}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item{flex:none;margin:0;padding:9px 10px;border:1px solid #e7e8df;border-left:3px solid #ccb478;border-radius:8px;background:#fff;box-shadow:none}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item[data-kind=sos]{border-left-color:#c34a57;background:#fffafa}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-heading{display:grid;grid-template-columns:26px minmax(0,1fr) 28px;gap:8px;align-items:center}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-icon{display:grid;place-items:center;width:26px;height:28px;padding:0;margin:0;border:1px solid #eae2cb;border-radius:7px;background:#fbf7eb;color:#a38647}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-icon svg{width:16px;height:16px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item[data-kind=sos] .wmc-alert-item-icon{background:#fff0f2;border-color:#f1ccd2;color:#bd4251}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-copy{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;min-width:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item h3{margin:0;color:#29333d;font:600 12px/1.35 Aptos,sans-serif;overflow-wrap:anywhere}
html body.wmc-design #wmc-admin-notifications .wd-reference-code{color:#9a8551!important}
html body.wmc-design #wmc-admin-notifications .wmc-alert-kind{padding:2px 5px;border:0;border-radius:4px;background:#f1f2ed;color:#858a7d;font:400 9px/1.2 Aptos,sans-serif;white-space:nowrap}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link{display:grid;place-items:center;width:28px;min-width:28px;height:28px;padding:4px;border:1px solid #e5dcc5;border-radius:6px;box-sizing:border-box;background:#fffdf7;color:#9a8551}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link svg{width:15px;height:15px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-summary{margin:6px 0 0 34px;color:#6d7880;font:400 11px/1.4 Aptos,sans-serif}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more{margin:6px 0 0 34px;padding:0;border:0;background:none}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more summary{color:#9a8551;font:600 11px/1.35 Aptos,sans-serif;padding:0;cursor:pointer}
html body.wmc-design #wmc-admin-notifications .wmc-alert-issues{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none}
html body.wmc-design #wmc-admin-notifications .wmc-alert-issue{display:flex;align-items:center;gap:7px;margin:0;padding:3px 0;border:0;color:#4b565e;font:400 11px/1.35 Aptos,sans-serif}
html body.wmc-design #wmc-admin-notifications .wmc-alert-issue-badge{order:2;margin-left:auto;padding:2px 5px;border-radius:4px;background:#fbf2da;color:#9b772e;font-size:9px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-issue-badge[data-kind=Expired]{background:#fcecee;color:#b04450}
html body.wmc-design #wmc-admin-notifications .wmc-alert-footer{grid-column:1/-1;grid-row:5;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:25px;margin:0;padding:8px 0 0;border-top:1px solid #eeeadf;color:#8a9086;font:400 10px/1.3 Aptos,sans-serif}
html body.wmc-design #wmc-admin-notifications .wmc-alert-updated{font-size:10px;color:#858d83}
html body.wmc-design #wmc-admin-notifications .wmc-alert-sound{padding:3px 6px;border:1px solid #e7dfca;border-radius:5px;background:#fbf7ed;color:#9a8551;font-size:10px}
html body.wmc-design #wmc-admin-notifications :is(button,a,input):focus-visible{outline:2px solid #b69348;outline-offset:2px}
}
@media screen and (max-width:600px){
html body.wmc-design #wmc-admin-notifications[open]{grid-template-columns:30px minmax(0,1fr) 30px;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;gap:8px;padding:14px!important}
html body.wmc-design #wmc-admin-notifications .wmc-alert-close{grid-column:3}
html body.wmc-design #wmc-admin-notifications>.wmc-export-toolbar{grid-column:1/-1;grid-row:2;justify-content:flex-end}
html body.wmc-design #wmc-admin-notifications .wmc-alert-tools{grid-row:3}
html body.wmc-design #wmc-admin-notifications .wmc-alert-connection{grid-row:4}
html body.wmc-design #wmc-admin-notifications .wmc-alert-list{grid-row:5}
html body.wmc-design #wmc-admin-notifications .wmc-alert-footer{grid-row:6}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button{font-size:10px;gap:3px;padding:5px 3px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filter-count{font-size:9px;min-width:13px;padding:2px 3px}
}
@media screen {
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{grid-template-columns:116px minmax(0,1fr) 224px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-assigned>.wd-booking-driver{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:none}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status.is-awaiting{color:#a77b20}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-job-status.is-awaiting:before{background:#d3a03e}
@container (max-width:480px){
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{grid-template-columns:minmax(0,1fr) 176px}
}
}

@media screen {
html body.wmc-design #wmc-admin-notifications :is(.wmc-alert-subtitle,.wmc-alert-sound,.wmc-alert-more summary){text-transform:capitalize}
html body.wmc-design #admin-root .wd-overview .wd-time-window{text-transform:capitalize}
}

/* Flat Alerts list: one compact line per record, details expand underneath. */
@media screen {
html body.wmc-design #wmc-admin-notifications[open]{gap:7px 8px;padding:16px!important;border-color:#e2e6df!important;box-shadow:0 18px 50px #17242126}
html body.wmc-design #wmc-admin-notifications .wmc-alert-emblem{width:26px;height:30px;background:none;border:0;border-radius:0}
html body.wmc-design #wmc-admin-notifications h2{font-size:18px;line-height:1.15}
html body.wmc-design #wmc-admin-notifications .wmc-alert-subtitle{font-size:11px;line-height:1.25;margin-top:2px}
html body.wmc-design #wmc-admin-notifications>.wmc-export-toolbar{gap:3px}
html body.wmc-design #wmc-admin-notifications .wmc-export-icon{border:0!important;background:transparent!important;border-radius:5px!important}
html body.wmc-design #wmc-admin-notifications .wmc-export-icon:hover{background:#f5f0e4!important}
html body.wmc-design #wmc-admin-notifications .wmc-alert-tools{gap:7px;padding-top:3px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters{padding:2px;border-color:#e6e9e2;background:#f5f6f2;border-radius:6px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button{min-height:27px;padding:4px 6px;border-radius:4px;color:#6c767d}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button[aria-pressed=true]{background:#fff;color:#9a8551;box-shadow:0 1px 3px #2430220d}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button[aria-pressed=true] .wmc-alert-filter-count{background:#f0e7d0;color:#967a3e}
html body.wmc-design #wmc-admin-notifications .wmc-alert-filters button:nth-child(2)[aria-pressed=true]{color:#b44854;background:#fff}
html body.wmc-design #wmc-admin-notifications .wmc-alert-search{height:32px;min-height:32px;border-color:#e5e8e1;border-radius:5px;font-size:11px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-list{gap:0;padding:0 3px 0 0;background:#fff}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item{display:grid;grid-template-columns:18px minmax(0,1fr) auto 24px;grid-template-rows:auto auto;align-items:center;gap:0 8px;flex:none;min-height:0;max-height:none;height:auto;padding:3px 4px;margin:0;border:0;border-bottom:1px solid #eceee8;border-radius:0;box-sizing:border-box;background:#fff;box-shadow:none}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item:hover{background:#fcfbf7}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-heading{display:contents}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-icon{grid-column:1;grid-row:1;display:grid;place-items:center;width:18px;height:22px;background:none;border:0;border-radius:0;color:#858368}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-icon svg{width:16px;height:16px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-copy{grid-column:2;grid-row:1;display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item h3{min-width:0;margin:0;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.wmc-design #wmc-admin-notifications .wmc-alert-kind{flex:none;margin:0;padding:0;background:none;border:0;color:#9a9f95;font-size:9px;line-height:1.2}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link{grid-column:4;grid-row:1;width:24px;min-width:24px;height:24px;margin:0;padding:4px;border:0;border-radius:4px;background:none;color:#9a8551}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link:hover{background:#f4eddd}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link svg{width:14px;height:14px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more{grid-column:3;grid-row:1;min-width:0;margin:0;padding:0;background:none;border:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more summary{margin:0;padding:0;color:#9a8551;font-size:10px;line-height:1.3;white-space:nowrap}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more[open]{grid-column:2/-1;grid-row:2;margin:5px 0 7px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more[open] summary{margin-bottom:5px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-issues{gap:2px;margin:0;padding:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-issue{padding:3px 0;font-size:11px;border:0}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-summary{grid-column:2/-1;grid-row:2;min-width:0;margin:2px 0 4px;padding:0;color:#758089;font-size:11px;line-height:1.35}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item[data-kind=sos]{background:#fff8f9;border-bottom-color:#f0d9dd}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item[data-kind=sos] .wmc-alert-item-icon{background:none;border:0;color:#bd4251}
html body.wmc-design #wmc-admin-notifications .wmc-alert-footer{min-height:22px;padding-top:6px;border-color:#eef0e9}
html body.wmc-design #wmc-admin-notifications .wmc-alert-sound{padding:0;border:0;border-radius:0;background:none;color:#7e8878}
html body.wmc-design :is(.wd-elapsed-clock,.wmc-elapsed-clock){font-variant-numeric:tabular-nums;white-space:nowrap}
}
@media screen and (max-width:480px){
html body.wmc-design #wmc-admin-notifications .wmc-alert-item{grid-template-columns:18px minmax(0,1fr) 28px;gap:2px 6px;padding:5px 2px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-card-link{grid-column:3;grid-row:1;width:28px;min-width:28px;height:28px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more{grid-column:2/-1;grid-row:2;margin:1px 0 3px}
html body.wmc-design #wmc-admin-notifications .wmc-alert-more[open]{grid-column:2/-1;grid-row:2}
html body.wmc-design #wmc-admin-notifications .wmc-alert-item-summary{grid-column:2/-1;grid-row:2}
}

/* Full-word durations wrap inside their existing cards. */
@media screen{html body.wmc-design :is(.wd-elapsed-clock,.wmc-elapsed-clock){white-space:normal;overflow-wrap:anywhere}}

/* Compact navigation and SOS priority, 31 October 2026. */
@media screen {
 html body.wmc-design #wmc-design-nav .wd-nav-group>summary:after,
 html body.wmc-design #wmc-design-nav .wd-nav-subgroup>summary:after {content:none!important}
 html body.wmc-design #wmc-design-nav summary {display:flex;align-items:center;gap:9px;min-height:36px}
 html body.wmc-design #wmc-design-nav .wd-nav-chevron {width:14px;height:14px;flex:0 0 14px;margin-left:auto;transition:transform .16s ease}
 html body.wmc-design #wmc-design-nav details[open]>summary>.wd-nav-chevron {transform:rotate(90deg)}
 html body.wmc-design #wmc-design-nav a:focus-visible,
 html body.wmc-design #wmc-design-nav summary:focus-visible {outline:2px solid #b58b30;outline-offset:-2px;border-radius:6px}
 html body.wmc-design #wmc-design-nav .wd-sos-link {display:flex;align-items:center;gap:9px;margin:3px 0 7px;padding:9px 12px;border:1px solid #e6a3a8;border-radius:7px;background:#fff1f2;color:#b42332;font-weight:700;font-size:13px;text-decoration:none}
 html body.wmc-design #wmc-design-nav .wd-sos-link svg {width:18px;height:18px;flex:0 0 18px}
 html body.wmc-design #wmc-design-nav .wd-sos-link.has-active-sos {background:#b42332;color:#fff;border-color:#b42332}
 html body.wmc-design .wd-topbar #wmc-global-alert.has-sos {color:#fff!important;background:#b42332!important;border-color:#b42332!important;box-shadow:0 0 0 3px #b4233226!important}
 html body.wmc-design .wd-topbar #wmc-global-alert.has-sos svg {color:#fff!important;stroke:currentColor!important}
 html body.wmc-design .wd-overview .wd-issue.wd-sos-critical {background:#fff1f2!important;border-left:3px solid #b42332!important;color:#961b28!important}
 html body.wmc-design .wd-overview .wd-sos-critical .wd-badge {background:#b42332!important;color:#fff!important;border-color:#b42332!important}
 html body.wmc-design #wmc-admin-notifications .wmc-alert-item[data-kind="sos"] {border-left:3px solid #b42332!important;background:#fff1f2!important}
 html body.wmc-design #wmc-admin-notifications .wmc-alert-item[data-kind="sos"] h3 {color:#961b28!important}
 html body.wmc-design .wd-overview .wd-sos-priority {padding:3px 6px;border-radius:4px;background:#b42332;color:#fff!important;font-size:11px;font-weight:700;white-space:nowrap;text-decoration:none}
 html body.wmc-design .wd-overview .wd-sos-priority[hidden] {display:none!important}
}
@media screen and (prefers-reduced-motion:reduce) {
 html body.wmc-design #wmc-design-nav .wd-nav-chevron {transition:none}
}

/* Three-entry minimum: keep rows compact without changing card widths. */
@media screen {
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{padding:4px 0;row-gap:2px;border-bottom:1px solid #eceef0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-job-time,.wd-job-time>time,.wd-job-copy,.wd-job-assigned,.wd-booking-vehicle-group){row-gap:2px}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-attention-items,.wd-activity-records){gap:0}
}

/* Paginated card bodies: three fitted rows, never an internal scrollbar. */
@media screen {
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-live,.wd-dispatch,.wd-activity,.wd-attention),
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card .wd-table-area,
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention-items{overflow:hidden!important}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout :is(.wd-live-records,.wd-dispatch-records,.wd-activity-records,.wd-attention-items){display:grid;grid-template-rows:repeat(3,minmax(0,1fr));grid-auto-rows:0;gap:0;min-height:0;height:100%;margin:0;padding:0;list-style:none;overflow:hidden}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity-records>li{min-height:0;margin:0;padding:0;overflow:hidden}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-activity-record,
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-attention .wd-issue{height:100%;min-height:0;max-height:100%;padding-top:2px;padding-bottom:2px;box-sizing:border-box}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-card a.wd-booking-row{height:100%;min-height:0;max-height:100%;padding-top:2px;padding-bottom:2px;box-sizing:border-box}
}

/* Keep the final booking entry free of a crossing divider; duty duration gets its own line. */
@media screen {
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-live .wd-booking-row:last-child{border-bottom:0}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-duty-alert .wd-duty-start,
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-duty-alert .wd-duty-duration{display:block;line-height:1.25}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-duty-alert .wd-duty-start{white-space:nowrap}
html body.wmc-design #admin-root .wd-overview.wd-approved-layout .wd-duty-alert .wd-duty-duration{white-space:normal}
}
