/* One horizontal loading-to-road scene; height does not grow with load count. */
.ml-pro .ml-journey-section{background:var(--bg);padding-top:50px}
.ml-pro .ml-journey-section .ml-section-heading{margin-bottom:20px}
.ml-pro .ml-journey-section .ml-load-tools{margin-bottom:9px;scroll-margin-top:95px}
.ml-pro .ml-journey-section .ml-load-count{margin:0 0 15px;font-size:11px}
.ml-journey{--scene-height:620px;--intro-width:900px;--card-width:306px;--card-gap:28px;position:relative;border:1px solid var(--border);border-radius:9px;background:white;box-shadow:0 12px 40px #071a4f08;overflow:hidden}
.ml-journey-topbar{min-height:48px;padding:10px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--navy);color:white}
.ml-journey-topbar>div{display:flex;align-items:center;gap:9px;font:600 10px/1.5 Poppins,sans-serif;letter-spacing:1.3px}
.ml-live-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px #f5b50015}
.ml-pro .ml-journey .ml-road-view{background:transparent;color:var(--gold2);border:0;border-radius:0;padding:5px 0;font-size:11px;font-weight:500}
.ml-journey-stage{height:var(--scene-height);position:relative;background:linear-gradient(180deg,#f7faff 0%,#e4ecfe 61%,#c8d7df 76%,#a8b5be 100%)}
.ml-journey-viewport{height:100%;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:var(--gold) var(--navy);overscroll-behavior-x:contain;position:relative;touch-action:pan-x pan-y;scroll-behavior:auto}
.ml-journey-viewport:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.ml-journey-viewport::-webkit-scrollbar{height:5px}.ml-journey-viewport::-webkit-scrollbar-track{background:var(--navy)}.ml-journey-viewport::-webkit-scrollbar-thumb{background:var(--gold)}
.ml-journey-world{position:relative;min-width:100%;width:max-content;height:100%;padding:0 36vw 0 var(--intro-width);box-sizing:content-box}
.ml-highway{position:absolute;z-index:0;left:0;right:0;bottom:0;height:171px;overflow:hidden;background:linear-gradient(180deg,#344556,#243347 45%,#1a263b);border-top:6px solid #bdc7cf;border-bottom:12px solid #0d1d38;box-shadow:0 -1px 0 #9fb0bd,0 -10px 30px #071a4f0a}
.ml-highway::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(8deg,transparent 0 3px,#ffffff03 3px 4px),repeating-linear-gradient(91deg,transparent 0 5px,#030d1808 5px 6px);pointer-events:none}
.ml-highway::after{content:'';position:absolute;top:12px;left:0;right:0;height:2px;background:#eef3f5ba;box-shadow:0 129px 0 #eef3f580}
.ml-highway-lane{position:absolute;left:0;right:0;top:100px;height:5px;background:repeating-linear-gradient(90deg,var(--gold) 0 66px,transparent 66px 125px);transform:skewX(-25deg)}
.ml-highway-near{position:absolute;left:0;right:0;bottom:0;height:9px;background:repeating-linear-gradient(90deg,#d1d9df 0 80px,var(--navy2) 80px 160px)}
.ml-loading-caption{position:absolute;z-index:2;top:42px;left:38px;width:min(430px,calc(var(--intro-width) - 70px));color:var(--navy)}
.ml-loading-caption>p{font-size:9px;letter-spacing:1.6px;font-weight:600;margin:0 0 15px}
.ml-pro .ml-loading-caption h3{font-size:clamp(25px,3vw,39px);line-height:1.55;font-weight:700;letter-spacing:-.6px;margin:0 0 12px;color:var(--navy)}
.ml-loading-caption>span{display:block;color:var(--muted);font-size:12px;line-height:1.8}
.ml-loading-caption>button{background:transparent;border:0;border-bottom:1px solid var(--blue);color:var(--blue);padding:5px 0;font-family:inherit;font-size:11px;margin-top:18px;cursor:pointer}
.ml-machine-scene{position:absolute;inset:0 auto 0 0;width:var(--intro-width);height:100%;pointer-events:none;overflow:visible;z-index:3}
.ml-drive-truck{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;overflow:hidden;filter:drop-shadow(0 6px 3px #07101c35)}
.ml-journey-instruction{position:absolute;z-index:6;pointer-events:none;right:22px;bottom:27px;color:#c7d9f8;font-size:9px;letter-spacing:.4px;display:flex;gap:12px;align-items:center}
.ml-journey-instruction span{font-size:24px;color:var(--gold)}
.ml-pro .ml-journey #ml-load-results{position:relative;padding-top:31px;z-index:4;min-height:0;min-width:var(--card-width);width:max-content}
.ml-pro .ml-journey .ml-loads-grid{display:flex;gap:var(--card-gap);align-items:stretch;grid-template-columns:none;width:max-content;padding:0;margin:0}
.ml-pro .ml-journey .ml-load-card{position:relative;left:auto;right:auto;top:auto;margin:0;flex:0 0 var(--card-width);width:var(--card-width);height:340px;min-height:0;padding:17px 18px 15px;box-sizing:border-box;display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid #bacde6;border-top:3px solid var(--navy2);border-radius:5px;box-shadow:0 6px 16px #071a4f0c;transform:none;opacity:1;text-align:left;transition:border-color .25s,box-shadow .25s;scroll-margin-inline:24px;overflow:visible}
.ml-pro .ml-journey .ml-load-card::before{display:none}
.ml-pro .ml-journey .ml-load-card::after{content:'';position:absolute;left:28px;top:100%;height:85px;width:5px;background:linear-gradient(90deg,#75899e,#d2dce7 55%,#6f8396);box-shadow:5px 1px 5px #071a4f0b;z-index:-1}
.ml-pro .ml-journey .ml-load-card[data-current=true]{border-top-color:var(--gold);box-shadow:0 5px 20px #071a4f15}
.ml-pro .ml-journey .ml-load-card:hover{transform:none;box-shadow:0 5px 20px #071a4f15}
.ml-pro .ml-journey .ml-load-card:focus-within{outline:2px solid var(--blue);outline-offset:3px}
.ml-load-card-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.ml-pro .ml-journey .ml-load-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--bg2);padding:0 0 10px;margin:0 0 12px}
.ml-pro .ml-journey .ml-load-road-number{position:static;margin:0;padding:0;color:var(--blue);font-size:10px;font-weight:600;white-space:nowrap;letter-spacing:.4px;background:none;border:0}
.ml-pro .ml-journey .ml-load-vehicle{font-size:9px;line-height:1.5;text-align:right;max-width:165px;overflow-wrap:anywhere;color:var(--muted);background:none;border:0;padding:0}
.ml-pro .ml-journey .ml-load-route{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);gap:9px;align-items:start;min-height:52px;font-size:17px;line-height:1.6;margin:0 0 11px;font-weight:700;overflow-wrap:anywhere;color:var(--navy)}
.ml-pro .ml-journey .ml-load-route small{display:block;font-size:8px;line-height:1.6;font-weight:400;color:var(--muted);margin-bottom:3px}
.ml-pro .ml-journey .ml-load-route i{font-size:18px;color:var(--gold);font-style:normal;padding-top:17px}
.ml-pro .ml-journey .ml-load-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px;padding:0;border:0;background:none}
.ml-pro .ml-journey .ml-load-details>div{min-width:0;padding:0;border:0}.ml-pro .ml-journey .ml-load-details dt{font-size:8px;color:var(--muted);margin-bottom:4px}.ml-pro .ml-journey .ml-load-details dd{font-size:11px;line-height:1.7;margin:0;font-weight:500;color:var(--text);overflow-wrap:anywhere}
.ml-pro .ml-journey .ml-load-quote{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:8px 0;margin:0;border-top:1px solid var(--bg2);background:none}
.ml-pro .ml-journey .ml-load-quote span{font-size:9px;color:var(--muted)}.ml-pro .ml-journey .ml-load-quote strong{font-size:11px;line-height:1.7;font-weight:600;text-align:right;max-width:180px;overflow-wrap:anywhere}
.ml-pro .ml-journey .ml-location-links{display:flex;flex-wrap:wrap;gap:5px 10px;margin:0 0 9px;padding:0}.ml-pro .ml-journey .ml-location-link{font-size:8px;padding:0;line-height:1.5;background:none;border:0;border-radius:0;color:var(--blue);text-underline-offset:3px;text-decoration:underline}
.ml-pro .ml-journey .ml-load-actions{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:10px;padding:0;border:0;flex-shrink:0}
.ml-pro .ml-journey .ml-load-actions .ml-btn{padding:9px 10px;font-size:10px;line-height:1.5;min-height:36px;border-radius:3px;white-space:normal}
.ml-pro .ml-journey .ml-load-share{background:var(--bg);color:var(--navy);border:1px solid var(--border)}
.ml-pro .ml-journey .ml-load-message{max-width:var(--card-width);width:var(--card-width);padding:23px;background:white;border:1px solid var(--border);border-radius:5px;font-size:13px;line-height:1.9;color:var(--navy);margin:0;box-sizing:border-box}
.ml-journey-controls{display:flex;align-items:center;gap:22px;padding:15px 22px;background:white;border-top:1px solid var(--border);min-height:81px;box-sizing:border-box}
.ml-journey-buttons{display:flex;gap:6px;flex-shrink:0}.ml-journey-buttons button{border:1px solid var(--border);background:white;color:var(--navy);border-radius:4px;min-width:36px;min-height:36px;padding:7px 10px;font-family:inherit;font-weight:600;font-size:12px;line-height:1.5;cursor:pointer}.ml-journey-buttons button:first-child{background:var(--navy);border-color:var(--navy);color:white;min-width:78px;font-size:11px}.ml-journey-buttons button:disabled{opacity:.35;cursor:default}
.ml-journey-track{flex:1;min-width:0}.ml-journey-track label{display:block;font-size:10px;font-weight:600;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px}.ml-journey-track input{display:block;width:100%;height:14px;margin:0;accent-color:var(--blue);cursor:pointer}
#ml-journey-position{font-size:10px;font-family:Poppins,sans-serif;font-weight:600;color:var(--muted);white-space:nowrap;min-width:45px;text-align:right}
.ml-pro .ml-journey-section .ml-road-note{font-size:10px;line-height:1.9;color:var(--muted);margin:12px 0 20px}
.ml-journey button:focus-visible,.ml-journey input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.ml-journey-no-loads .ml-journey-world{padding:0;width:100%;box-sizing:border-box}
.ml-pro .ml-journey.ml-journey-no-loads #ml-load-results{position:absolute;left:24px;top:225px;padding:0;min-width:0;max-width:calc(100% - 48px)}
.ml-pro .ml-journey.ml-journey-no-loads .ml-load-message{max-width:100%;font-size:11px;padding:15px}
/* The same live cards become a simple list, without duplicate content. */
.ml-journey.ml-journey-list .ml-journey-stage{height:auto;background:var(--bg)}
.ml-journey.ml-journey-list .ml-journey-viewport{height:auto;overflow:visible}
.ml-journey.ml-journey-list .ml-journey-world{height:auto;width:auto;min-width:0;padding:20px;box-sizing:border-box}
.ml-journey.ml-journey-list .ml-highway,.ml-journey.ml-journey-list .ml-machine-scene,.ml-journey.ml-journey-list .ml-drive-truck,.ml-journey.ml-journey-list .ml-loading-caption,.ml-journey.ml-journey-list .ml-journey-instruction,.ml-journey.ml-journey-list .ml-journey-controls{display:none}
.ml-pro .ml-journey.ml-journey-list #ml-load-results{padding:0;width:auto;min-width:0}
.ml-pro .ml-journey.ml-journey-list.ml-journey-no-loads #ml-load-results{position:relative;left:auto;top:auto;max-width:100%}
.ml-pro .ml-journey.ml-journey-list .ml-loads-grid{display:grid;width:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ml-pro .ml-journey.ml-journey-list .ml-load-card{width:auto;height:auto;min-height:320px}
.ml-pro .ml-journey.ml-journey-list .ml-load-card::after{display:none}
@media(max-width:900px){.ml-pro .ml-journey.ml-journey-list .ml-loads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .ml-pro .ml-journey-section{padding:38px 14px}.ml-journey{--scene-height:570px;--card-width:284px;--card-gap:22px;border-radius:6px}
 .ml-journey-topbar{padding:10px 14px;min-height:45px}.ml-journey-topbar>div{font-size:8px;letter-spacing:1px}.ml-pro .ml-journey .ml-road-view{font-size:10px}
 .ml-loading-caption{top:38px;left:23px;width:calc(var(--intro-width) - 50px)}.ml-loading-caption>p{font-size:8px;letter-spacing:1px}.ml-pro .ml-loading-caption h3{font-size:29px}.ml-loading-caption>span{font-size:11px;max-width:280px}
 .ml-pro .ml-journey #ml-load-results{padding-top:25px}.ml-pro .ml-journey .ml-load-card{padding:15px;height:340px}.ml-pro .ml-journey .ml-load-card::after{height:63px}
 .ml-journey-controls{flex-wrap:wrap;gap:10px 12px;padding:12px 14px;min-height:98px}.ml-journey-buttons{order:2;gap:6px}.ml-journey-buttons button{min-height:36px}.ml-journey-track{flex-basis:100%;order:1}.ml-journey-track label{font-size:10px}.ml-journey-track input{height:15px}#ml-journey-position{order:3;margin-left:auto;font-size:10px}
 .ml-journey-instruction{right:18px;bottom:25px;font-size:8px}.ml-journey-instruction span{font-size:20px}
 .ml-journey.ml-journey-list .ml-journey-world{padding:13px}.ml-pro .ml-journey.ml-journey-list .ml-loads-grid{grid-template-columns:1fr;gap:13px}.ml-pro .ml-journey.ml-journey-list .ml-load-card{min-height:300px}
}
@media(prefers-reduced-motion:reduce){.ml-pro .ml-journey *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
