.toll-live-shell {
    position: relative;
    left: 50%;
    width: 100vw;
    margin: -2rem 0 -4rem -50vw;
    background: #dfe8df;
}
.toll-live-map { width: 100%; height: calc(100vh - 76px); min-height: 680px; border: 0; }
.toll-live-map .leaflet-tile-pane { filter: saturate(.72) hue-rotate(12deg) contrast(.92) brightness(1.04); }
.toll-live-map .leaflet-control-attribution { font-size: 9px; opacity: .65; }
.toll-panel {
    position: absolute; top: 22px; left: 22px; z-index: 700;
    display: flex; width: 360px; max-height: calc(100% - 44px); flex-direction: column; gap: 10px;
    padding: 14px; overflow: auto; overscroll-behavior: contain;
    border: 1px solid rgba(255,255,255,.72); border-radius: 28px;
    background: rgba(244,245,239,.92); box-shadow: 0 24px 60px rgba(12,53,40,.20);
    backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.toll-brand { display: flex; align-items: center; gap: 10px; padding: 4px 4px 8px; }
.toll-brand-mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #0c3528; color: #d7ff55; font-size: 18px; }
.toll-brand h1 { margin: 0; color: #10211b; font-size: 1.05rem; font-weight: 900; letter-spacing: -.035em; }
.toll-brand p { margin: 2px 0 0; color: #66776f; font-size: .68rem; font-weight: 700; }
.toll-card { padding: 10px; border: 1px solid #dbe2da; border-radius: 18px; background: rgba(255,255,255,.88); }
.toll-search { position: relative; }
.toll-search span { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); pointer-events: none; }
.toll-search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1px solid #dbe2da; border-radius: 14px; outline: 0; background: #f4f5ef; color: #10211b; font-size: .85rem; font-weight: 700; }
.toll-search input:focus { border-color: #164f3b; box-shadow: 0 0 0 3px rgba(22,79,59,.10); }
.toll-control-label { margin: 0 0 7px 2px; color: #718078; font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.toll-segment { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.toll-segment.two { grid-template-columns: repeat(2,1fr); }
.toll-control { min-height: 39px; padding: 7px 8px; border: 0; border-radius: 11px; background: #edf0eb; color: #53655c; font-size: .69rem; font-weight: 850; transition: .18s ease; }
.toll-control:hover { background: #e0e7df; }
.toll-control.active { background: #164f3b; color: #fff; box-shadow: 0 7px 16px rgba(22,79,59,.16); }
.toll-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.toll-stat { padding: 10px 8px; border-radius: 13px; background: #edf0eb; text-align: center; }
.toll-stat strong { display: block; color: #10211b; font-size: 1.12rem; font-weight: 900; letter-spacing: -.035em; }
.toll-stat span { color: #718078; font-size: .57rem; font-weight: 850; text-transform: uppercase; }
.toll-range-head { display: flex; justify-content: space-between; margin-bottom: 5px; color: #53655c; font-size: .66rem; font-weight: 800; }
.toll-range input { width: 100%; accent-color: #164f3b; }
.toll-results { display: grid; gap: 5px; max-height: 210px; overflow: auto; }
.toll-result { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 9px 10px; border: 0; border-radius: 12px; background: #f4f5ef; color: #10211b; text-align: left; }
.toll-result:hover { background: #e8eee7; }
.toll-result-name { overflow: hidden; font-size: .72rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.toll-result-meta { margin-top: 2px; color: #718078; font-size: .59rem; }
.toll-result-count { align-self: center; padding: 5px 7px; border-radius: 9px; background: #164f3b; color: #fff; font-size: .67rem; font-weight: 900; }
.toll-status { position: absolute; top: 22px; right: 22px; z-index: 650; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.88); color: #33483e; box-shadow: 0 12px 30px rgba(12,53,40,.12); backdrop-filter: blur(14px); font-size: .68rem; font-weight: 850; }
.toll-status::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: #45b649; box-shadow: 0 0 0 5px rgba(69,182,73,.13); }
.toll-marker { background: none; border: 0; }
.toll-pin { display: grid; min-width: var(--size); height: var(--size); padding: 0 5px; place-items: center; border: 2px solid rgba(255,255,255,.95); border-radius: 14px 14px 14px 4px; background: var(--color); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb,var(--color) 30%,transparent); transform: rotate(-45deg); }
.toll-pin span { transform: rotate(45deg); font-size: 10px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.toll-popup { width: 330px; color: #10211b; }
.toll-popup-head { margin-bottom: 10px; }
.toll-popup-head > strong { display:block; margin-bottom:8px; font-size:1rem; font-weight:900; letter-spacing:-.02em; }
.toll-popup-road { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:7px; padding:7px 9px; border-radius:11px; background:#edf0eb; }
.toll-popup-road strong { max-width:190px; font-size:.65rem; line-height:1.2; }
.toll-popup-road button { min-height:29px; padding:5px 8px; border:0; border-radius:9px; background:#d7ff55; color:#0c3528; font-size:.61rem; font-weight:900; }
.toll-mini-road { position:relative; height:64px; margin:10px 0 12px; overflow:hidden; border-radius:14px; background:linear-gradient(180deg,#e5eaed 0 49%,#dce3e6 49% 100%); border-top:1px solid #cad5da; border-bottom:1px solid #eef3f4; }
.toll-mini-divider { position:absolute; top:50%; right:0; left:0; border-top:2px dashed rgba(255,255,255,.85); }
.toll-mini-lane { position:absolute; top:8px; right:10px; left:10px; display:flex; justify-content:space-around; font-size:18px; filter:grayscale(1); }
.toll-mini-lane.reverse { top:36px; justify-content:center; transform:scaleX(-1); }
.toll-popup-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:7px; }
.toll-popup-stat { padding:11px; border-radius:14px; background:linear-gradient(145deg,#e9eff0,#fff); box-shadow:inset 0 1px 0 #fff; }
.toll-popup-stat span { display:block; color:#718078; font-size:.56rem; font-weight:800; text-transform:uppercase; }
.toll-popup-stat strong { font-size:1.05rem; font-weight:900; }
.toll-popup-directions { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:8px; }
.toll-popup-directions .toll-popup-stat { min-width:0; padding:9px; }
.toll-popup-directions .toll-popup-stat span { min-height:22px; line-height:1.1; text-transform:none; }
.toll-popup-directions .total { background:linear-gradient(145deg,#e2ebe6,#fff); }
.toll-popup-meta { display:flex; justify-content:space-between; gap:8px; margin-top:10px; padding-top:9px; border-top:1px solid #dbe2da; color:#718078; font-size:.58rem; }
.toll-popup-meta strong { color:#40534b; }
.toll-road-leaflet-popup .leaflet-popup-content-wrapper { border:1px solid rgba(255,255,255,.8); border-radius:25px; background:rgba(246,249,250,.96); box-shadow:0 24px 58px rgba(23,42,53,.22); backdrop-filter:blur(20px); }
.toll-road-leaflet-popup .leaflet-popup-content { width:390px !important; margin:0; }
.toll-road-leaflet-popup .leaflet-popup-tip { background:#f6f9fa; }
.toll-road-leaflet-popup .leaflet-popup-close-button { top:9px !important; right:10px !important; width:28px !important; height:28px !important; border-radius:50%; color:#66776f !important; font-size:21px !important; }
.toll-road-popup { padding:18px; color:#152638; }
.toll-road-title { padding-right:28px; font-size:1.05rem; font-weight:900; letter-spacing:-.025em; }
.toll-road-subtitle { margin-top:3px; padding-bottom:13px; border-bottom:1px solid #dbe3e7; color:#65778a; font-size:.67rem; }
.toll-road-section { margin-top:10px; padding:12px; border:1px solid #dfe7ea; border-radius:18px; background:linear-gradient(145deg,#f1f6f8,#fff); }
.toll-road-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; color:#64768a; font-size:.64rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.toll-road-section-head strong { color:#152638; font-size:.8rem; }
.toll-road-directions { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.toll-road-directions > div { padding:8px; border-radius:12px; background:rgba(255,255,255,.76); }
.toll-road-directions span { display:block; overflow:hidden; color:#65778a; font-size:.58rem; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.toll-road-directions strong { display:block; margin-top:3px; font-size:.82rem; }
.toll-road-popup small { color:#65778a; font-size:.58rem; }
.toll-road-split { position:relative; height:20px; margin-top:8px; overflow:hidden; border-radius:999px; background:#3fd1e6; }
.toll-road-split i { position:absolute; inset:0 auto 0 0; display:block; border-right:2px solid #fff; background:#39dbb0; }
.toll-vehicle-row + .toll-vehicle-row { margin-top:10px; }
.toll-vehicle-row > div:first-child { display:flex; justify-content:space-between; margin-bottom:5px; color:#40546a; font-size:.65rem; font-weight:850; }
.toll-vehicle-bar { position:relative; height:31px; overflow:hidden; border:1px solid #d8e2e6; border-radius:999px; background:linear-gradient(180deg,#edf3f5,#dce6e9); }
.toll-vehicle-bar i { position:absolute; inset:0 auto 0 0; display:block; border-radius:999px; }
.toll-vehicle-bar b { position:absolute; inset:0; display:flex; align-items:center; padding-left:14px; overflow:hidden; filter:grayscale(1); font-size:12px; letter-spacing:10px; white-space:nowrap; }
.toll-vehicle-bar.light i { background:#39dbb0; }
.toll-vehicle-bar.heavy i { min-width:42px; background:#ff9c2f; }

@media(max-width:480px){
    .toll-road-leaflet-popup .leaflet-popup-content { width:min(340px,calc(100vw - 42px)) !important; }
    .toll-road-popup { padding:14px; }
    .toll-road-directions { grid-template-columns:1fr; }
}
.toll-classes { display:grid; grid-template-columns:repeat(2,1fr); gap:5px; margin-top:8px; }
.toll-class { display:flex; justify-content:space-between; padding:6px 8px; border-radius:8px; background:#f4f5ef; color:#53655c; font-size:.61rem; }

@media(max-width:767.98px){
    .toll-live-shell { margin-top:-1rem; margin-bottom:-2.5rem; }
    .toll-live-map { height:calc(100dvh - 70px); min-height:620px; }
    .toll-panel { top:10px; right:10px; left:10px; width:auto; max-height:44%; padding:10px; border-radius:22px; }
    .toll-brand { padding-bottom:3px; }
    .toll-brand-mark { width:34px; height:34px; font-size:14px; }
    .toll-brand h1 { font-size:.9rem; }
    .toll-brand p, .toll-results { display:none; }
    .toll-card { padding:7px; border-radius:14px; }
    .toll-search input { height:40px; }
    .toll-control-label { display:none; }
    .toll-control { min-height:34px; padding:5px; font-size:.62rem; }
    .toll-stats { display:none; }
    .toll-range-head { margin-bottom:0; }
    .toll-status { top:auto; right:10px; bottom:12px; padding:8px 10px; }
    .leaflet-top.leaflet-left { top:45% !important; }
}
