:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:#f5f7fa}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.muted{color:#7a8494;font-size:12px}.page{width:100%;min-height:100vh;padding:24px}.topbar{display:flex;align-items:center;justify-content:space-between;width:min(1440px,100%);margin:0 auto 20px;padding:18px 22px;border:1px solid #e1e6ed;border-radius:14px;background:#fff;box-shadow:0 3px 12px #1720330a}.brand{font-size:21px;font-weight:800;letter-spacing:-.02em}.topbar .subtitle{margin-top:3px}.page>.panel{width:min(1440px,100%);margin:0 auto}.panel{padding:22px;border:1px solid #e1e6ed;border-radius:14px;background:#fff;box-shadow:0 3px 12px #1720330a}.panel>section{margin-top:30px}.panel>section:first-of-type{margin-top:20px}.panelHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.panelTitle{display:flex;align-items:center;gap:9px;min-width:0}.panelTitle strong{font-size:15px}.liveDot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 4px #16a34a1a}.primaryButton,.secondaryButton{min-height:40px;padding:9px 16px;border-radius:8px;font-weight:600}.primaryButton{width:100%;border:0;background:#172033;color:#fff}.primaryButton:hover{background:#222d43}.secondaryButton{border:1px solid #d5dbe4;background:#fff;color:#30394a}.secondaryButton:hover{background:#f7f8fa}.loginPage{display:flex;align-items:center;justify-content:center;min-height:100vh}.loginCard{width:min(420px,100%);padding:36px;background:#fff;border:1px solid #e1e6ed;border-radius:16px;box-shadow:0 12px 35px #17203314}.logo{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:20px;border-radius:12px;background:#172033;color:#fff;font-weight:800;letter-spacing:.04em}.loginCard h1{margin:0;font-size:28px;line-height:1.2}.loginCard form{display:flex;flex-direction:column;gap:18px;margin-top:28px}.loginCard label{display:flex;flex-direction:column;gap:7px;color:#30394a;font-size:14px;font-weight:600}.loginCard input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfd6df;border-radius:8px;outline:none;background:#fff;color:#172033}.loginCard input:focus{border-color:#4c6fff;box-shadow:0 0 0 3px #4c6fff1f}.error{padding:10px 12px;border:1px solid #f0caca;border-radius:8px;background:#fff4f4;color:#b42318;font-size:13px}.securityNote{margin:22px 0 0;color:#7a8494;font-size:12px;line-height:1.6}.dashboardGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboardCard{min-width:0;padding:18px;border:1px solid #e3e7ed;border-radius:11px;background:#fff}.dashboardCard:hover{border-color:#cbd3df}.cardHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cardHeader strong{min-width:0;color:#30394a;font-size:13px}.metricValue{margin-top:18px;color:#172033;font-size:27px;font-weight:750;letter-spacing:-.03em}.statusBadge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:24px;padding:3px 8px;border:1px solid #d9dee6;border-radius:999px;background:#f7f8fa;color:#596273;font-size:10px;font-weight:750;letter-spacing:.04em}.statusBadge.healthy,.statusBadge.resolved,.statusBadge.completed{border-color:#b7e3c4;background:#effaf2;color:#16803c}.statusBadge.degraded,.statusBadge.warning,.statusBadge.in_progress,.statusBadge.active{border-color:#f1d59b;background:#fff8e8;color:#9a6700}.statusBadge.down,.statusBadge.error,.statusBadge.open,.statusBadge.delayed,.statusBadge.critical{border-color:#f0c4c4;background:#fff2f2;color:#b42318}.statusBadge.low{border-color:#d9dee6;background:#f7f8fa;color:#596273}.statusBadge.medium{border-color:#f1d59b;background:#fff8e8;color:#9a6700}.statusBadge.high{border-color:#f0c4c4;background:#fff2f2;color:#b42318}.incidentList{display:flex;flex-direction:column;overflow:hidden;border:1px solid #e3e7ed;border-radius:11px}.incidentRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:15px 17px;border-bottom:1px solid #edf0f4}.incidentRow:last-child{border-bottom:0}.incidentRow:hover{background:#fafbfc}.incidentRow>div:first-child{min-width:0}.incidentRow>div:first-child>div{margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#30394a;font-size:13px}.incidentRow>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:7px}.routeList{display:flex;flex-direction:column;gap:10px}.routeRow{position:relative;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:18px;min-width:0;padding:16px 17px 22px;border:1px solid #e3e7ed;border-radius:11px;background:#fff}.routeRow:hover{border-color:#cbd3df}.routeRow>div:first-child{min-width:0}.routeRow>div:first-child>div{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#596273;font-size:12px}.routeRow>div:nth-child(2){text-align:right}.routeProgress{position:absolute;right:17px;bottom:9px;left:17px;height:3px;overflow:hidden;border-radius:99px;background:#edf0f4}.routeProgressBar{height:100%;border-radius:inherit;background:#4c6fff;transition:width .25s ease}.routeDetails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.routeDetails>div{min-width:0;padding:13px;border:1px solid #e3e7ed;border-radius:9px;background:#fafbfc}.routeDetails .muted{display:block;margin-bottom:5px}.routeDetails strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#30394a;font-size:12px}.route-map{position:relative;width:100%;min-height:460px;overflow:hidden;border:1px solid #dfe4eb;border-radius:12px;background:#e9eef3}.route-map-background{position:absolute;inset:0;background:linear-gradient(25deg,transparent 0 48%,rgba(255,255,255,.65) 49% 51%,transparent 52%),linear-gradient(110deg,transparent 0 45%,rgba(255,255,255,.55) 46% 48%,transparent 49%),linear-gradient(155deg,transparent 0 62%,rgba(255,255,255,.45) 63% 65%,transparent 66%)}.route-road{position:absolute;height:18px;border:1px solid #d2d9e1;border-radius:999px;background:#f8fafc;opacity:.9}.road-a{width:110%;left:-5%;top:46%;transform:rotate(-12deg)}.road-b{width:80%;left:8%;top:63%;transform:rotate(18deg)}.road-c{width:75%;left:30%;top:30%;transform:rotate(72deg)}.road-d{width:70%;left:15%;top:52%;transform:rotate(-55deg)}.route-map-header{position:absolute;z-index:5;top:14px;left:16px;display:flex;flex-direction:column;gap:3px;padding:9px 12px;border:1px solid rgba(210,217,225,.9);border-radius:8px;background:#fffffff0}.route-map-header strong{color:#172033;font-size:13px}.route-map-header span{color:#7a8494;font-size:10px}.route-svg{position:absolute;inset:0;width:100%;height:100%}.route-shadow{fill:none;stroke:#1e293b40;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}.route-path{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 1}.route-stop{position:absolute;z-index:4;width:40px;height:40px;padding:0;transform:translate(-50%,-50%);border:0;border-radius:50%;background:transparent;cursor:pointer}.stop-number{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:3px;border:3px solid #ffffff;border-radius:50%;color:#fff;font-size:12px;font-weight:800;box-shadow:0 2px 8px #0f172a40}.route-stop:hover .stop-number{transform:scale(1.08)}.route-stop.selected{filter:drop-shadow(0 0 8px rgba(37,99,235,.55))}.route-stop.active .stop-number{animation:routeStopPulse 1.6s infinite}@keyframes routeStopPulse{0%,to{box-shadow:0 0 #38bdf873,0 2px 8px #0f172a40}50%{box-shadow:0 0 0 10px #38bdf800,0 2px 8px #0f172a40}}.selected-stop{position:absolute;z-index:5;top:14px;right:14px;display:flex;align-items:center;gap:16px;max-width:300px;padding:10px 12px;border:1px solid rgba(210,217,225,.9);border-radius:8px;background:#fffffff0;box-shadow:0 2px 8px #0f172a14}.selected-stop>div{display:flex;flex-direction:column;gap:3px;min-width:0}.selected-stop small{color:#7a8494;font-size:9px;font-weight:700}.selected-stop strong{overflow:hidden;color:#30394a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.stop-status{flex-shrink:0;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800}.stop-status.completed{color:#16803c;background:#effaf2}.stop-status.active{color:#0369a1;background:#e0f2fe}.stop-status.pending{color:#9a6700;background:#fff8e8}.route-legend{position:absolute;z-index:5;right:14px;bottom:14px;display:flex;flex-wrap:wrap;gap:12px;padding:9px 12px;border:1px solid rgba(210,217,225,.9);border-radius:8px;background:#fffffff0;font-size:11px}.route-legend span{display:flex;align-items:center;gap:5px}.route-legend i{width:8px;height:8px;border-radius:50%}.route-legend .completed{background:#22c55e}.route-legend .active{background:#38bdf8}.route-legend .pending{background:#f59e0b}@media(max-width:700px){.route-map{min-height:390px}.selected-stop{inset:auto 10px 58px;max-width:none}.route-legend{right:10px;bottom:10px;left:10px}}.modalOverlay{position:fixed;z-index:1000;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#10182885}.modal{width:min(900px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:22px;border:1px solid #e1e6ed;border-radius:14px;background:#fff;box-shadow:0 24px 70px #10182833}.mapContainer{width:100%;height:430px;overflow:hidden;border:1px solid #dfe4eb;border-radius:10px;background:#eef2f6}.mapPlaceholder{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;gap:7px;text-align:center}@media(max-width:1100px){.dashboardGrid,.routeDetails{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.page{padding:12px}.topbar,.panel{padding:15px}.dashboardGrid{grid-template-columns:1fr}.incidentRow{grid-template-columns:1fr;gap:10px}.incidentRow>div:last-child{justify-content:flex-start}.routeRow{grid-template-columns:1fr;gap:10px}.routeRow>div:nth-child(2){text-align:left}.routeRow .secondaryButton{width:100%}.routeDetails{grid-template-columns:1fr}.modalOverlay{padding:10px}.modal{max-height:calc(100vh - 20px);padding:15px}.mapContainer{height:320px}}@media(max-width:480px){.topbar{align-items:flex-start;gap:12px}.topbar .secondaryButton{flex-shrink:0}.brand{font-size:18px}.panelHeader{align-items:flex-start}.loginCard{padding:26px 20px}}
