/* Coral Easy Operations 3.19.0 — simplified admin workflow + tracking state motion */

/* ---------- Admin: menu + submenu ---------- */
body.admin-body .easy-admin-nav{display:grid!important;gap:8px!important;padding:12px!important}
body.admin-body .easy-admin-nav>.admin-nav-home{min-height:48px!important;display:flex!important;align-items:center!important;gap:11px!important;padding:0 14px!important;border-radius:13px!important;font-size:.94rem!important;font-weight:850!important}
body.admin-body .admin-nav-group{margin:0!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important;overflow:hidden!important}
body.admin-body .admin-nav-group>summary{list-style:none;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:50px!important;padding:0 14px!important;cursor:pointer!important;color:inherit!important;font-size:.93rem!important;font-weight:900!important}
body.admin-body .admin-nav-group>summary::-webkit-details-marker{display:none}
body.admin-body .admin-nav-group>summary span{display:flex!important;align-items:center!important;gap:10px!important;color:inherit!important}
body.admin-body .admin-nav-group>summary>i{font-style:normal!important;transition:transform .22s ease!important}
body.admin-body .admin-nav-group[open]>summary>i{transform:rotate(180deg)}
body.admin-body .admin-subnav{display:grid!important;gap:3px!important;padding:0 8px 9px 39px!important;animation:easySubmenuIn .2s ease both}
body.admin-body .admin-subnav a{min-height:38px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:7px 10px!important;border-radius:10px!important;font-size:.84rem!important;font-weight:780!important;line-height:1.25!important}
body.admin-body .admin-subnav a.active{background:rgba(255,255,255,.1)!important;box-shadow:inset 3px 0 0 var(--accent)!important}
@keyframes easySubmenuIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}

/* ---------- Admin: clearer forms ---------- */
body.admin-body .easy-shipment-builder{display:grid!important;gap:18px!important}
body.admin-body .easy-shipment-builder .form-section{animation:easyCardIn .42s cubic-bezier(.2,.8,.2,1) both}
body.admin-body .easy-shipment-builder .form-section:nth-child(2){animation-delay:.04s}
body.admin-body .easy-shipment-builder .form-section:nth-child(3){animation-delay:.08s}
body.admin-body .easy-shipment-builder .form-section:nth-child(4){animation-delay:.12s}
@keyframes easyCardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
body.admin-body .easy-route-quick-row{grid-template-columns:1.15fr 1fr 1fr!important}
body.admin-body .easy-route-note{display:flex;align-items:flex-start;gap:11px;margin:14px 0;padding:12px 14px;border:1px solid #bfe7d0;border-radius:13px;background:#effaf4;color:#245b3f}
body.admin-body .easy-route-note b{flex:0 0 auto;color:#17653f!important}.easy-route-note span{font-size:.86rem;line-height:1.5}
body.admin-body .easy-route-location-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.admin-body .easy-location-card{padding:16px!important;border-radius:16px!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
body.admin-body .easy-location-card:focus-within{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 45%,#d7e3e8)!important;box-shadow:0 16px 34px rgba(10,40,54,.1)!important}
body.admin-body .easy-location-main{grid-template-columns:1fr 1fr!important;gap:10px!important}
body.admin-body .easy-location-main .full{grid-column:1/-1!important}
body.admin-body .easy-location-main label,body.admin-body .easy-movement-grid label{font-size:.82rem!important;font-weight:850!important}
body.admin-body .easy-location-main :is(input,select),body.admin-body .easy-movement-grid :is(input,select){min-height:48px!important;font-size:15px!important;border-radius:11px!important}
body.admin-body .easy-copy-origin{width:100%;margin-top:10px;padding:10px 12px;border:1px dashed color-mix(in srgb,var(--primary) 32%,#cad9e0);border-radius:11px;background:color-mix(in srgb,var(--primary) 4%,#fff);color:var(--primary);font-weight:850;cursor:pointer}
body.admin-body .easy-advanced,body.admin-body .easy-inline-details,body.admin-body .easy-create-notify{margin-top:14px;border:1px solid var(--line,#d8e3e8);border-radius:13px;background:#fbfcfd;overflow:hidden}
body.admin-body .easy-advanced>summary,body.admin-body .easy-inline-details>summary,body.admin-body .easy-create-notify>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 13px;cursor:pointer;color:var(--primary);font-size:.85rem;font-weight:900}
body.admin-body .easy-advanced>summary::-webkit-details-marker,body.admin-body .easy-inline-details>summary::-webkit-details-marker,body.admin-body .easy-create-notify>summary::-webkit-details-marker{display:none}
body.admin-body .easy-advanced>summary small,body.admin-body .easy-inline-details>summary small,body.admin-body .easy-create-notify>summary small{font-size:.68rem!important;font-weight:800!important;color:#6f8290!important}
body.admin-body .easy-advanced[open]>summary,body.admin-body .easy-inline-details[open]>summary{border-bottom:1px solid var(--line,#d8e3e8);background:#f5f8fa}
body.admin-body .easy-advanced>.admin-form-grid,body.admin-body .easy-advanced>.location-fields,body.admin-body .easy-advanced>.route-verification-control{margin:0!important;padding:14px!important}
body.admin-body .easy-advanced>.location-tools{margin:0 14px 14px!important}
body.admin-body .easy-map-workspace{margin-top:14px!important;border-radius:16px!important;overflow:hidden!important}
body.admin-body .easy-map-workspace .admin-street-map{min-height:330px!important}
body.admin-body .easy-map-toolbar{padding:11px 13px!important}
body.admin-body .easy-map-toolbar .location-map-focus button{font-size:.72rem!important}
body.admin-body .easy-party-grid>div{padding:16px!important;border-radius:14px!important}
body.admin-body .easy-party-grid label{font-size:.82rem!important}
body.admin-body .easy-party-grid :is(input,textarea){font-size:15px!important}
body.admin-body .easy-full-details{padding:0!important;overflow:hidden!important}
body.admin-body .easy-full-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;cursor:pointer;background:linear-gradient(135deg,#fff,#f6f9fb)}
body.admin-body .easy-full-details>summary::-webkit-details-marker{display:none}
body.admin-body .easy-full-details>summary span{display:grid;gap:3px}.easy-full-details>summary b{font-size:1.05rem!important}.easy-full-details>summary small{font-size:.8rem!important}.easy-full-details>summary em,.easy-create-notify>summary em{font-style:normal;font-weight:900;color:var(--accent)}
body.admin-body .easy-full-details[open]>summary{border-bottom:1px solid var(--line,#d8e3e8)}
body.admin-body .easy-full-details>form{padding:16px!important}

/* ---------- Admin: movement update is the primary task ---------- */
body.admin-body .easy-movement-workspace{position:relative;overflow:hidden!important;border:1px solid #cbe8d6!important;box-shadow:0 18px 44px rgba(19,105,67,.10)!important}
body.admin-body .easy-movement-workspace::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#169454}
body.admin-body .easy-movement-workspace>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}
body.admin-body .easy-movement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
body.admin-body .easy-movement-grid .full{grid-column:1/-1}
body.admin-body .event-location-status-card{display:flex;align-items:center;gap:11px;margin:14px 0;padding:12px 13px;border:1px solid #c9e6d4;border-radius:13px;background:#f1fbf5}
body.admin-body .event-location-status-card>div{display:grid;gap:2px;min-width:0;flex:1}.event-location-status-card b{font-size:.84rem!important;color:#195c3d!important}.event-location-status-card small{font-size:.76rem!important;color:#527363!important}
body.admin-body .event-location-pulse{width:11px;height:11px;border-radius:50%;background:#169454;box-shadow:0 0 0 6px rgba(22,148,84,.12);animation:easyGreenPulse 1.8s ease-in-out infinite}
@keyframes easyGreenPulse{50%{box-shadow:0 0 0 11px rgba(22,148,84,0)}}
body.admin-body .easy-remarks{display:grid;gap:7px;margin-top:12px;font-size:.82rem!important;font-weight:850!important}.easy-remarks textarea{font-size:15px!important}
body.admin-body .easy-movement-options{display:flex;flex-wrap:wrap;gap:10px 18px;margin:14px 0}
body.admin-body .easy-record-movement{min-height:50px!important;padding-inline:20px!important;font-size:.92rem!important}
body.admin-body .easy-status-preview.tone-success{background:#e9f9f0!important;color:#137745!important}.easy-status-preview.tone-danger{background:#fff0f1!important;color:#b42332!important}.easy-status-preview.tone-primary{background:#eef5fa!important;color:#245a7c!important}
body.admin-body .easy-movement-workspace.is-danger{border-color:#f1b5bb!important;box-shadow:0 18px 44px rgba(174,43,58,.11)!important}.easy-movement-workspace.is-danger::before{background:#cc3242!important}.easy-movement-workspace.is-danger .event-location-status-card{border-color:#f0c7cc;background:#fff5f6}.easy-movement-workspace.is-danger .event-location-pulse{background:#cc3242;box-shadow:0 0 0 6px rgba(204,50,66,.12)}

/* ---------- Toast popups ---------- */
body.admin-body .admin-toast-stack{position:fixed;z-index:99999;top:82px;right:18px;width:min(430px,calc(100vw - 30px));display:grid;gap:10px;pointer-events:none}
body.admin-body .admin-toast{pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:start;padding:14px;border:1px solid;border-radius:15px;background:#fff;box-shadow:0 20px 54px rgba(5,30,45,.2);animation:easyToastIn .34s cubic-bezier(.2,.8,.2,1) both}
body.admin-body .admin-toast.success{border-color:#b9e3ca;background:#f3fcf7}.admin-toast.error{border-color:#f0bcc2;background:#fff6f7}
body.admin-body .admin-toast-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-weight:950;background:#159353;color:#fff}.admin-toast.error .admin-toast-icon{background:#c83142}
body.admin-body .admin-toast b{font-size:.9rem!important}.admin-toast p{margin:3px 0 0!important;font-size:.78rem!important;line-height:1.45!important}.admin-toast button{border:0;background:transparent;font-size:22px;line-height:1;color:#627785;cursor:pointer}.admin-toast.is-leaving{animation:easyToastOut .25s ease both}
@keyframes easyToastIn{from{opacity:0;transform:translateX(24px) scale(.97)}to{opacity:1;transform:none}}@keyframes easyToastOut{to{opacity:0;transform:translateX(30px)}}

/* ---------- Tracking: normal movement green, holds/exceptions red ---------- */
.tracking-result .track29-progress-card[data-operational-state="created"] .horizontal-route-fill,
.tracking-result .track29-progress-card[data-operational-state="picked_up"] .horizontal-route-fill,
.tracking-result .track29-progress-card[data-operational-state="in_transit"] .horizontal-route-fill,
.tracking-result .track29-progress-card[data-operational-state="clearance"] .horizontal-route-fill,
.tracking-result .track29-progress-card[data-operational-state="out_for_delivery"] .horizontal-route-fill,
.tracking-result .track29-progress-card[data-operational-state="delivered"] .horizontal-route-fill{background:linear-gradient(90deg,#0f8f4f,#18a861,#35bf72)!important;box-shadow:0 0 22px rgba(24,168,97,.24)!important}
.tracking-result .track29-progress-card[data-operational-state="created"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="picked_up"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="in_transit"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="clearance"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="out_for_delivery"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="delivered"] .horizontal-route-vehicle{background:#118f50!important;box-shadow:0 0 0 8px rgba(17,143,80,.09),0 10px 24px rgba(17,143,80,.25)!important}
.tracking-result .horizontal-route-stage.complete .horizontal-stage-node{background:#168f51!important;border-color:#fff!important}
.tracking-result .horizontal-route-stage.current.tone-success .horizontal-stage-node{background:#16a05a!important;color:#fff!important;box-shadow:0 0 0 8px rgba(22,160,90,.13),0 10px 25px rgba(22,160,90,.26)!important}
.tracking-result .horizontal-route-stage.current.tone-success .horizontal-stage-copy{border-color:#a9dfbf!important;background:#f0fbf5!important}
.tracking-result .horizontal-route-stage.current.tone-success .track293-stage-title span{background:#158f51!important;color:#fff!important}
.tracking-result .horizontal-route-live{background:#f0fbf5!important;border-color:#b6e3c8!important}.tracking-result .horizontal-route-live>i{background:#159653!important;box-shadow:0 0 0 7px rgba(21,150,83,.13)!important}
.tracking-result .track29-progress-card[data-operational-state="on_hold"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="delayed"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="exception"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="returned"] .horizontal-route-vehicle,
.tracking-result .track29-progress-card[data-operational-state="cancelled"] .horizontal-route-vehicle{background:#cb3342!important;box-shadow:0 0 0 8px rgba(203,51,66,.1),0 10px 24px rgba(203,51,66,.26)!important;animation:easyHoldPulse 1.55s ease-in-out infinite!important}
.tracking-result .horizontal-route-stage.current.tone-danger .horizontal-stage-node{background:#cb3342!important;color:#fff!important;box-shadow:0 0 0 8px rgba(203,51,66,.13),0 10px 25px rgba(203,51,66,.25)!important}
.tracking-result .horizontal-route-stage.current.tone-danger .horizontal-stage-copy{border-color:#efb7bd!important;background:#fff4f5!important}.tracking-result .horizontal-route-stage.current.tone-danger .track293-stage-title span{background:#c92f40!important;color:#fff!important}
.tracking-result .track29-edge-summary.tone-success .track29-edge-item.status{border-top-color:#159653!important}.tracking-result .track29-edge-summary.tone-success .track29-edge-item.status h1{color:#147747!important}
.tracking-result .track29-edge-summary.tone-danger .track29-edge-item.status{border-top-color:#c92f40!important}.tracking-result .track29-edge-summary.tone-danger .track29-edge-item.status h1{color:#a32634!important}
.tracking-result .track28-history-list article.tone-success>i{background:#159653!important;box-shadow:0 0 0 5px rgba(21,150,83,.11)!important}.tracking-result .track28-history-list article.tone-danger>i{background:#c92f40!important;box-shadow:0 0 0 5px rgba(201,47,64,.11)!important}
.tracking-result.shipment-live-updated .track29-edge-summary{animation:easyLiveFlash .75s ease}
@keyframes easyHoldPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1px) scale(1.055)}}@keyframes easyLiveFlash{50%{filter:brightness(1.025);transform:translateY(-1px)}}

@media(max-width:1180px){body.admin-body .easy-route-location-grid{grid-template-columns:1fr!important}body.admin-body .easy-route-quick-row{grid-template-columns:1fr 1fr!important}body.admin-body .easy-movement-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:720px){body.admin-body .easy-route-quick-row,body.admin-body .easy-movement-grid,body.admin-body .easy-location-main{grid-template-columns:1fr!important}body.admin-body .easy-movement-grid .full{grid-column:auto}body.admin-body .event-location-status-card{align-items:flex-start;flex-wrap:wrap}.event-location-status-card button{width:100%}.easy-map-workspace .admin-street-map{min-height:280px!important}body.admin-body .admin-toast-stack{top:70px;right:10px;width:calc(100vw - 20px)}}
@media(prefers-reduced-motion:reduce){body.admin-body .easy-shipment-builder .form-section,body.admin-body .admin-toast,.tracking-result .horizontal-route-fill::after,.tracking-result .horizontal-route-vehicle,.tracking-result .horizontal-stage-node,.event-location-pulse{animation:none!important;transition:none!important}}

/* ---------- Dedicated fast movement selector ---------- */
body.admin-body .easy-movement-picker{max-width:1120px;margin-inline:auto;padding:18px!important}
body.admin-body .easy-movement-picker>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:15px}
body.admin-body .easy-movement-picker>header h3{margin:3px 0 4px!important;font-size:1.18rem!important}
body.admin-body .easy-movement-picker>header p{margin:0!important;font-size:.82rem!important;color:#607581!important}
body.admin-body .easy-movement-search label,body.admin-body .easy-movement-select-form label{display:grid;gap:7px;font-size:.82rem!important;font-weight:850!important}
body.admin-body .easy-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center}
body.admin-body .easy-search-row input,body.admin-body .easy-movement-select-form select{min-height:49px!important;font-size:15px!important}
body.admin-body .easy-movement-select-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:15px;padding:15px;border-radius:15px;background:#f2faf6;border:1px solid #cbe7d6}
body.admin-body .easy-continue-movement{min-height:49px!important;white-space:nowrap}
body.admin-body .easy-recent-movements{margin-top:19px;padding-top:17px;border-top:1px solid var(--line,#d9e4e9)}
body.admin-body .easy-recent-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px}.easy-recent-title b{font-size:.93rem!important}.easy-recent-title small{font-size:.76rem!important;color:#71828d!important}
body.admin-body .easy-recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.admin-body .easy-recent-shipment{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:76px;padding:11px 12px;border:1px solid #d8e4e9;border-radius:13px;background:#fff;color:inherit;text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
body.admin-body .easy-recent-shipment:hover{transform:translateY(-2px);border-color:#a9cbb8;box-shadow:0 10px 28px rgba(11,48,39,.08)}
body.admin-body .easy-recent-shipment>span:nth-child(2){display:grid;min-width:0;gap:1px}.easy-recent-shipment b{font-size:.86rem!important}.easy-recent-shipment small{font-size:.74rem!important;color:#60747f!important}.easy-recent-shipment em{font-style:normal;font-size:.72rem!important;color:#71828b!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body .easy-recent-shipment>strong{font-size:.71rem!important;padding:5px 8px;border-radius:999px;white-space:nowrap}.easy-recent-shipment.tone-success>strong{color:#137747;background:#eaf9f0}.easy-recent-shipment.tone-danger>strong{color:#ae2939;background:#fff0f2}.easy-recent-shipment.tone-primary>strong{color:#245a7c;background:#edf5fa}
body.admin-body .easy-recent-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#eef6f2;color:#137747}.easy-recent-shipment.tone-danger .easy-recent-icon{background:#fff0f2;color:#b52c3b}
body.admin-body .easy-picker-empty{padding:36px 16px!important}
@media(max-width:760px){body.admin-body .easy-search-row,body.admin-body .easy-movement-select-form,body.admin-body .easy-recent-grid{grid-template-columns:1fr!important}body.admin-body .easy-search-row .admin-button,body.admin-body .easy-continue-movement{width:100%}.easy-recent-title{align-items:flex-start!important;flex-direction:column}.easy-recent-shipment{grid-template-columns:auto minmax(0,1fr)!important}.easy-recent-shipment>strong{grid-column:2}}

/* Status-aware public route map: normal movement stays green; holds/exceptions turn red. */
.tracking-result[data-status="created"] .real-route-marker.current>span,
.tracking-result[data-status="picked_up"] .real-route-marker.current>span,
.tracking-result[data-status="in_transit"] .real-route-marker.current>span,
.tracking-result[data-status="clearance"] .real-route-marker.current>span,
.tracking-result[data-status="out_for_delivery"] .real-route-marker.current>span,
.tracking-result[data-status="delivered"] .real-route-marker.current>span{background:#159653!important;box-shadow:0 0 0 0 rgba(21,150,83,.34)!important}
.tracking-result[data-status="created"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="picked_up"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="in_transit"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="clearance"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="out_for_delivery"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="delivered"] .track28-map-legend :is(.completed,.remaining,.current){background:#159653!important}
.tracking-result[data-status="on_hold"] .real-route-marker.current>span,
.tracking-result[data-status="delayed"] .real-route-marker.current>span,
.tracking-result[data-status="exception"] .real-route-marker.current>span,
.tracking-result[data-status="returned"] .real-route-marker.current>span,
.tracking-result[data-status="cancelled"] .real-route-marker.current>span{background:#c92f40!important;box-shadow:0 0 0 0 rgba(201,47,64,.34)!important}
.tracking-result[data-status="on_hold"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="delayed"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="exception"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="returned"] .track28-map-legend :is(.completed,.remaining,.current),
.tracking-result[data-status="cancelled"] .track28-map-legend :is(.completed,.remaining,.current){background:#c92f40!important}

/* New shipment: current location is automatic; manual override stays out of the normal flow. */
body.admin-body .easy-create-current-override{min-width:0;border:1px solid #cbe7d6;border-radius:16px;background:#f2faf6;overflow:hidden;align-self:start}
body.admin-body .easy-create-current-override>summary{list-style:none;min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;cursor:pointer;color:#1e5f40}
body.admin-body .easy-create-current-override>summary::-webkit-details-marker{display:none}
body.admin-body .easy-create-current-override>summary span{display:grid;gap:4px}.easy-create-current-override>summary b{font-size:.9rem!important}.easy-create-current-override>summary small{font-size:.75rem!important;line-height:1.45!important;color:#597565!important}.easy-create-current-override>summary em{font-style:normal;padding:6px 9px;border-radius:999px;background:#e0f3e8;color:#157244;font-size:.71rem;font-weight:900}
body.admin-body .easy-create-current-override[open]>summary{border-bottom:1px solid #cbe7d6}
body.admin-body .easy-create-current-override>.easy-location-card{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}


/* Final usability pass: make the everyday movement action obvious without removing advanced tools. */
body.admin-body .easy-movement-link{border-color:#b9dfc8!important;background:#eefaf3!important;color:#147648!important;font-weight:900!important}
body.admin-body .easy-movement-link:hover{background:#e4f7ec!important;border-color:#89cda6!important}
body.admin-body .admin-quick-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}

/* V3.22.3 general shipment corrections: keep the stable v3.19 layout and
   expose one automatic movement map without introducing another design layer. */
body.admin-body .easy-event-map-workspace{margin:14px 0 16px;border:1px solid #d9e5ea;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(10,40,54,.06)}
body.admin-body .easy-event-map-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #e7eef1;background:#f8fbfc}
body.admin-body .easy-event-map-head>div{display:grid;gap:2px;min-width:0}
body.admin-body .easy-event-map-head b{font-size:.92rem;color:#183646}
body.admin-body .easy-event-map-head small{font-size:.76rem;color:#687f8a}
body.admin-body .easy-event-map-head strong{font-size:.72rem;padding:6px 9px;border-radius:999px;background:#edf5f8;color:#315d72;white-space:nowrap}
body.admin-body .easy-event-map-head strong[data-tone="ready"]{background:#e8f8ef;color:#137747}
body.admin-body .easy-event-map-head strong[data-tone="estimated"],body.admin-body .easy-event-map-head strong[data-tone="warning"]{background:#fff6e8;color:#8c5a16}
body.admin-body .easy-event-street-map{display:block;width:100%;height:300px;min-height:300px;background:#e7eef1}
body.admin-body .easy-event-map-workspace .map-route-legend{margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0}
/* Operational status contract: normal journey states stay green; hold/problem states stay red. */
body.admin-body .status.tone-success,body.admin-body .easy-status-preview.tone-success{background:#e8f8ef!important;color:#137747!important;border-color:#b9e4ca!important}
body.admin-body .status.tone-danger,body.admin-body .easy-status-preview.tone-danger{background:#fff0f2!important;color:#ae2939!important;border-color:#efc0c6!important}
body.admin-body .admin-timeline article.tone-success>i,body.admin-body .admin-record-movement-list article.tone-success>i{background:#159653!important;box-shadow:0 0 0 5px rgba(21,150,83,.11)!important}
body.admin-body .admin-timeline article.tone-danger>i,body.admin-body .admin-record-movement-list article.tone-danger>i{background:#c92f40!important;box-shadow:0 0 0 5px rgba(201,47,64,.11)!important}
@media(max-width:720px){body.admin-body .easy-event-map-head{align-items:flex-start;flex-direction:column}body.admin-body .easy-event-map-head strong{white-space:normal}body.admin-body .easy-event-street-map{height:270px;min-height:270px}}

/* V3.22.5 — never substitute a schematic diagram for the real admin map. */
body.admin-body .admin-map-runtime-error{min-height:300px;display:grid;place-content:center;gap:6px;text-align:center;padding:28px;background:#f7fafb;color:#183646}
body.admin-body .admin-map-runtime-error b{font-size:1rem}
body.admin-body .admin-map-runtime-error span{max-width:520px;color:#6b808b;font-size:.8rem}
