:root{--ink:#0f172a;--muted:#475569;--line:#e2e8f0;--bg:#f4f6f8;--card:#fff;--teal:#0f766e;--teal-d:#115e59;
--amber:#b45309;--red:#b91c1c;--blue:#1d4ed8}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--bg)}
h1,h2,h3{margin:0}
button,input,select{font:inherit}
button{cursor:pointer;border:none;border-radius:12px;min-height:44px;padding:0 16px;font-weight:600;background:var(--teal);color:#fff}
button.ghost{background:#fff;color:var(--ink);border:1px solid #cbd5e1}
button.danger{background:var(--red)}
button:disabled{opacity:.5;cursor:default}
.card{background:var(--card);border-radius:18px;padding:16px}
.muted{color:var(--muted)}
.pill{display:inline-block;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:600}
.ok{background:#ccfbf1;color:#115e59}.late{background:#ffedd5;color:#9a3412}.bad{background:#fee2e2;color:#991b1b}
.info{background:#dbeafe;color:#1e40af}.grey{background:#e2e8f0;color:#334155}
.map{border-radius:18px;overflow:hidden;background:#e2e8f0}
.busicon{background:var(--amber);color:#fff;border:3px solid #fff;border-radius:50%;width:34px!important;height:34px!important;
display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;box-shadow:0 2px 8px rgba(15,23,42,.35)}
.leaflet-tooltip.tip-amber{background:#f59e0b;color:#0f172a;border-color:#d97706;font-weight:700}
.leaflet-tooltip-right.tip-amber::before{border-right-color:#d97706}
@keyframes flash{0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,.9)}50%{box-shadow:0 0 0 14px rgba(245,158,11,0)}}
.busicon.flash{animation:flash .9s ease-out 3}
.stopicon{background:#fff;border:4px solid var(--ink);border-radius:50%}
