:root{--blue:#0869b5;--blue-dark:#07528e;--blue-soft:#e9f3fb;--navy:#152538;--text:#233247;--muted:#718096;--line:#e2e9f0;--bg:#f4f7fa;--green:#18a96b;--green-soft:#e9f8f1;--red:#dc4b57;--red-soft:#feeff0;--violet:#7657d6;--shadow:0 4px 18px rgba(37,59,82,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button,select{cursor:pointer}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);z-index:1100;display:flex;flex-direction:column}.logo-wrap{height:89px;border-bottom:1px solid var(--line);padding:16px 22px 11px;display:flex;flex-direction:column;align-items:flex-start}.logo-wrap img{width:105px;height:42px;object-fit:cover}.logo-wrap span{font-size:8px;font-weight:800;color:#7d8fa0;letter-spacing:.18em;margin:4px 0 0 2px}.sidebar nav{padding:25px 14px;display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;height:46px;padding:0 13px;border-radius:8px;color:#637387;text-decoration:none;font-weight:650;font-size:13px;transition:.2s}.nav-item svg{width:20px}.nav-item:hover{background:#f2f6f9;color:var(--blue)}.nav-item.active{background:var(--blue-soft);color:var(--blue)}.nav-item i{font-style:normal;background:var(--red-soft);color:var(--red);font-size:10px;padding:2px 6px;border-radius:99px;margin-left:auto}.sidebar-foot{margin-top:auto;padding:17px 18px;border-top:1px solid var(--line);color:#91a0ae;font-size:10px}.service{display:flex;gap:9px;align-items:center;margin-bottom:14px}.service>span{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.service div{display:flex;flex-direction:column}.service b{font-size:11px;color:#35465a}.service small{font-size:9px}.main-area{margin-left:236px;width:calc(100% - 236px)}
.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1000}.breadcrumb{display:flex;flex-direction:column}.breadcrumb span{font-size:9px;color:var(--blue);font-weight:800;letter-spacing:.14em}.breadcrumb b{font-size:14px;margin-top:2px}.top-actions{display:flex;align-items:center;gap:16px}.sync{display:flex;align-items:center;gap:9px;padding-right:17px;border-right:1px solid var(--line)}.sync>i{width:8px;height:8px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px var(--green-soft)}.sync span,.account div{display:flex;flex-direction:column}.sync b,.account b{font-size:11px}.sync small,.account small{font-size:9px;color:var(--muted)}.refresh,.mobile-menu{width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#617286;padding:9px}.refresh svg,.mobile-menu svg{width:18px}.refresh:hover{background:var(--blue-soft);color:var(--blue)}.account{display:flex;align-items:center;gap:9px}.account>span{width:35px;height:35px;border-radius:9px;background:linear-gradient(135deg,var(--blue),#3097d7);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800}.mobile-menu{display:none}main{max-width:1600px;margin:auto;padding:29px 32px 55px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:23px}.page-heading p{margin:0;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.13em}.page-heading h1{margin:4px 0 2px;font-size:29px;line-height:1.2;letter-spacing:-.025em;color:var(--navy)}.page-heading>div>span{color:var(--muted);font-size:13px}.heading-actions{display:flex;gap:9px}.heading-actions button{height:39px;border-radius:7px;padding:0 14px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750}.heading-actions svg{width:16px}.secondary{background:#fff;border:1px solid var(--line);color:#506176}.primary{background:var(--blue);border:1px solid var(--blue);color:#fff;box-shadow:0 4px 12px rgba(8,105,181,.2)}.primary:hover{background:var(--blue-dark)}
.card,.metric{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:15px}.metric{padding:17px 18px;min-height:151px}.metric-top{display:flex;align-items:center;justify-content:space-between}.metric-icon{width:36px;height:36px;border-radius:8px;display:grid;place-items:center}.metric-icon svg{width:19px}.metric-icon.blue{background:var(--blue-soft);color:var(--blue)}.metric-icon.green{background:var(--green-soft);color:var(--green)}.metric-icon.red{background:var(--red-soft);color:var(--red)}.metric-icon.violet{background:#f0edfc;color:var(--violet)}.trend{font-size:9px;font-weight:750;padding:4px 7px;border-radius:5px}.trend.up,.trend.down{color:var(--green);background:var(--green-soft)}.trend.neutral{color:var(--violet);background:#f0edfc}.metric p{font-size:11px;color:#6f7f91;margin:15px 0 2px;font-weight:650}.metric strong{font-size:29px;color:var(--navy);letter-spacing:-.025em}.metric small{display:block;color:#8796a5;font-size:10px;margin-top:3px}.metric small b{color:#506277}
.network-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:15px;height:590px}.map-card{display:flex;flex-direction:column;overflow:hidden}.card-heading{min-height:69px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.card-heading h2{font-size:14px;margin:0;color:var(--navy)}.card-heading p{font-size:10px;color:var(--muted);margin:3px 0 0}.map-legend{display:flex;gap:15px}.map-legend span{font-size:10px;color:#718194;display:flex;align-items:center;gap:6px}.map-legend i{width:7px;height:7px;border-radius:50%}.green-dot{background:var(--green)}.red-dot{background:var(--red)}.filters{padding:10px 12px;background:#fbfcfd;border-bottom:1px solid var(--line);display:flex;gap:8px;align-items:center}.filters label{height:43px;min-width:125px;border:1px solid #dce4eb;border-radius:7px;background:#fff;padding:5px 9px;display:flex;flex-direction:column}.filters label>span{font-size:7px;color:#8796a5;font-weight:800;letter-spacing:.1em}.filters select{border:0;background:transparent;color:#3c4d61;font-size:10px;font-weight:650;outline:0;padding:0}.filters .search{min-width:210px;flex:1;flex-direction:row;align-items:center;gap:8px}.search svg{width:17px;color:#8b99a7}.search input{width:100%;border:0;outline:0;font-size:11px;color:var(--text)}.clear-btn{border:0;background:transparent;color:var(--blue);font-size:10px;font-weight:700;padding:8px}#map{flex:1;background:#eaf0f4}.leaflet-container{font-family:inherit}.leaflet-control-zoom a{color:#536679!important;border-color:#e0e7ed!important}.leaflet-control-attribution{font-size:8px!important}.leaflet-popup-content-wrapper{border-radius:8px;box-shadow:0 8px 25px rgba(30,50,70,.15)}.map-popup b{font-size:11px}.map-popup span{display:block;color:#718096;font-size:10px;margin:4px 0 8px}.map-popup button{border:0;background:transparent;color:var(--blue);padding:0;font-weight:750;font-size:10px}.node-pin{width:18px;height:18px;border-radius:50%;background:var(--green);border:3px solid #fff;box-shadow:0 2px 7px rgba(17,45,62,.45),0 0 0 1px rgba(24,169,107,.4)}.node-pin.inactive{background:var(--red);box-shadow:0 2px 7px rgba(17,45,62,.45),0 0 0 1px rgba(220,75,87,.45)}.node-pin.selected{transform:scale(1.35);box-shadow:0 0 0 5px rgba(8,105,181,.18)}
.operations{overflow:hidden;display:flex;flex-direction:column}.period{font-size:9px;color:#738498;background:#f3f6f8;border-radius:5px;padding:5px 7px}.availability{display:flex;align-items:center;padding:19px 18px;border-bottom:1px solid var(--line);gap:17px}.donut{width:102px;height:102px;border-radius:50%;background:conic-gradient(var(--blue) 0 89%,#e7edf2 89%);display:grid;place-items:center;position:relative;flex:none}.donut:after{content:"";position:absolute;width:72px;height:72px;background:#fff;border-radius:50%}.donut>div{z-index:1;display:flex;flex-direction:column;align-items:center}.donut strong{font-size:19px;color:var(--navy)}.donut span{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}.availability-copy{display:flex;flex-direction:column}.availability-copy b{font-size:10px;color:var(--green)}.availability-copy span{font-size:10px;color:var(--muted);margin-top:5px}.incidents-title{display:flex;justify-content:space-between;align-items:flex-end;padding:15px 18px 7px}.incidents-title>div{display:flex;align-items:center;gap:8px}.incidents-title h3{margin:0;font-size:12px}.incidents-title span{font-size:8px;background:var(--red-soft);color:var(--red);padding:3px 6px;border-radius:99px;font-weight:700}.incidents-title button{border:0;background:transparent;color:var(--blue);font-size:9px;font-weight:750}.issue-list{padding:0 9px 10px;overflow:auto}.issue{padding:11px 10px;border-bottom:1px solid #edf1f4;cursor:pointer;border-radius:7px}.issue:hover{background:#f6f9fb}.issue-top{display:flex;justify-content:space-between}.issue-id{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:800;color:var(--navy)}.issue-id i{width:6px;height:6px;border-radius:50%;background:var(--red)}.issue time{font-size:8px;color:#8998a7}.issue p{font-size:10px;color:#475a6e;margin:4px 0 3px}.issue small{font-size:8px;color:#8a98a7}.empty-issues{padding:30px;text-align:center;color:var(--muted);font-size:11px}
.analytics-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:15px;margin-top:15px}.analytics-card{min-height:250px}.province-bars{padding:19px 20px;display:grid;grid-template-columns:repeat(6,1fr);gap:15px;height:178px}.province-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.province-bar .bar-track{width:24px;height:105px;background:#edf2f6;border-radius:5px;display:flex;align-items:flex-end;overflow:hidden}.province-bar .bar-fill{width:100%;background:linear-gradient(180deg,#3194d2,var(--blue));border-radius:5px;min-height:7px}.province-bar b{font-size:9px;color:#405368}.province-bar small{font-size:8px;color:#91a0ad}.type-distribution{padding:17px 20px}.type-row{display:grid;grid-template-columns:1fr auto;gap:7px;margin-bottom:13px}.type-row span,.type-row b{font-size:9px}.type-row b{color:#425568}.type-track{grid-column:1/-1;height:6px;background:#edf2f5;border-radius:5px;overflow:hidden}.type-track i{display:block;height:100%;background:var(--blue);border-radius:5px}.maintenance{padding:18px}.maintenance>div:not(.progress){display:flex;flex-direction:column;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:13px}.maintenance span{font-size:9px;color:var(--muted)}.maintenance b{font-size:18px;color:var(--navy);margin:3px 0}.maintenance small{font-size:8px;color:var(--green)}.progress{height:6px;background:#eaf0f4;border-radius:5px;overflow:hidden}.progress i{display:block;height:100%;background:var(--green);border-radius:5px}
.fleet-table{margin-top:15px;overflow:hidden}.table-title>span{font-size:9px;color:var(--muted);background:#f3f6f8;padding:5px 8px;border-radius:5px}.table-scroll{overflow:auto;max-height:390px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:8px;letter-spacing:.08em;color:#8998a7;background:#f8fafb;padding:11px 18px;border-bottom:1px solid var(--line)}td{padding:12px 18px;border-bottom:1px solid #edf1f4;font-size:10px;color:#637486;cursor:pointer}tbody tr:hover{background:#f7fafc}td:first-child{font-weight:800;color:var(--blue)}td small{font-size:8px;color:#98a5b2}.status-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:99px;background:var(--green-soft);color:var(--green);font-size:8px;font-weight:750}.status-chip:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.status-chip.off{background:var(--red-soft);color:var(--red)}.signal-bars{display:flex;align-items:flex-end;gap:2px;height:13px}.signal-bars i{width:3px;background:var(--green);border-radius:1px}.signal-bars i:nth-child(1){height:4px}.signal-bars i:nth-child(2){height:7px}.signal-bars i:nth-child(3){height:10px}.signal-bars i:nth-child(4){height:13px}.signal-bars i.dim{background:#dce4ea}
.drawer-backdrop{position:fixed;inset:0;background:rgba(14,31,48,.35);z-index:1998;opacity:0;pointer-events:none;transition:.25s}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer{position:fixed;inset:0 0 0 auto;width:min(410px,94vw);background:#fff;z-index:1999;padding:35px 29px;box-shadow:-15px 0 40px rgba(21,37,56,.16);transform:translateX(105%);transition:.3s;overflow:auto}.drawer.open{transform:none}.drawer-close{position:absolute;right:20px;top:18px;border:1px solid var(--line);background:#fff;width:33px;height:33px;border-radius:7px;color:#718096;font-size:20px}.drawer-label{font-size:9px;color:var(--blue);letter-spacing:.14em;font-weight:800}.drawer h2{font-size:25px;color:var(--navy);margin:6px 0 10px}.drawer-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:99px;font-size:9px;font-weight:800;margin-bottom:23px}.drawer-status:before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}.drawer-status.active{color:var(--green);background:var(--green-soft)}.drawer-status.inactive{color:var(--red);background:var(--red-soft)}.drawer-location{display:flex;gap:12px;align-items:center;padding:15px;background:#f6f9fb;border:1px solid var(--line);border-radius:9px;margin-bottom:13px}.drawer-location svg{width:23px;color:var(--blue)}.drawer-location div{display:flex;flex-direction:column}.drawer-location b{font-size:11px}.drawer-location small{font-size:9px;color:var(--muted)}.drawer dl{border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:0}.drawer dl div{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line)}.drawer dl div:last-child{border:0}.drawer dt,.drawer dd{font-size:9px}.drawer dt{color:var(--muted)}.drawer dd{margin:0;font-weight:700}.history{margin-top:25px}.history h3{font-size:12px}.history-line{display:flex;gap:11px;padding:9px 0}.history-line i{width:7px;height:7px;background:var(--green);border-radius:50%;margin-top:3px}.history-line.muted i{background:#a9b5bf}.history-line span{display:flex;flex-direction:column}.history-line b{font-size:9px}.history-line small{font-size:8px;color:var(--muted)}.toast{position:fixed;z-index:3000;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#153e2c;color:#fff;padding:11px 16px;border-radius:7px;box-shadow:0 8px 25px rgba(0,0,0,.18);font-size:10px;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast span{color:#62e7a6;margin-right:7px}
@media(max-width:1150px){.metrics{grid-template-columns:repeat(2,1fr)}.network-grid{grid-template-columns:1fr;height:auto}.map-card{height:620px}.operations{height:480px}.analytics-grid{grid-template-columns:1fr 1fr}.analytics-grid .wide{grid-column:1/-1}.filters{flex-wrap:wrap}.filters .search{flex-basis:100%}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none;box-shadow:10px 0 35px rgba(20,40,60,.16)}.main-area{margin-left:0;width:100%}.mobile-menu{display:block}.breadcrumb{display:none}.topbar{height:62px;padding:0 16px}.sync,.account div{display:none}main{padding:21px 15px 40px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.heading-actions .secondary{display:none}.heading-actions .primary{font-size:0;width:40px;padding:0;justify-content:center}.heading-actions .primary svg{width:18px}.metrics{gap:9px}.metric{min-height:139px;padding:14px}.network-grid{gap:10px}.map-card{height:720px}.filters{display:grid;grid-template-columns:1fr 1fr}.filters .search{grid-column:1/-1;min-width:0}.filters label{min-width:0}.clear-btn{grid-column:1/-1}.analytics-grid{grid-template-columns:1fr;gap:10px}.analytics-grid .wide{grid-column:auto}.province-bars{gap:8px;padding:18px 10px}.map-legend{display:none}.fleet-table{margin-top:10px}.account>span{display:grid}.top-actions{gap:8px}}
@media(max-width:440px){.metrics{grid-template-columns:1fr 1fr}.metric{min-height:130px}.metric strong{font-size:25px}.metric small{font-size:8px}.province-bars{grid-template-columns:repeat(3,1fr);height:auto}.province-bar .bar-track{height:75px}.page-heading>div>span{max-width:250px;display:block}}
