
:root{--rm-green:#198b47;--rm-lime:#91cf43;--rm-dark:#0f1813;--rm-soft:#f3f7f3;--rm-line:#d9e3db;--rm-orange:#ef7b2d}
.gg-admin-main:has(.route-map-shell){width:min(1680px,calc(100% - 22px))}
.route-map-titlebar{align-items:center}.route-map-topbar{display:flex;justify-content:space-between;gap:12px;align-items:end;background:#fff;border:1px solid var(--rm-line);border-radius:13px;padding:10px 12px;margin-bottom:10px}.route-date-nav,.route-map-tools{display:flex;gap:7px;align-items:end;flex-wrap:wrap}.route-date-nav>a,.route-map-tools button{height:38px;border:1px solid #ced8d0;border-radius:8px;background:#fff;color:#314138;text-decoration:none;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;cursor:pointer}.route-date-nav>a:not(.today){font-size:23px;width:38px;padding:0}.route-date-nav .today{background:#eef7eb;color:#35792c}.route-date-nav label,.route-map-tools label{display:grid;gap:3px;font-size:8px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#718078}.route-date-nav input,.route-map-tools select{height:38px;border:1px solid #cfd9d1;border-radius:8px;padding:0 9px;background:#fff;color:#213027;font:inherit;font-size:10px;text-transform:none;letter-spacing:0}.route-map-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:10px}.route-map-stats>div{background:linear-gradient(145deg,#fff,#f5f8f5);border:1px solid var(--rm-line);border-radius:12px;padding:11px 12px}.route-map-stats span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:#6e7c73;font-weight:900}.route-map-stats strong{display:block;margin-top:4px;color:#17462a;font-size:21px}.route-map-stats small{display:block;margin-top:3px;color:#87928b;font-size:7.5px}
.route-map-layout{display:grid;grid-template-columns:370px minmax(0,1fr);gap:10px;min-height:650px}.route-stop-panel,.route-map-card{background:#fff;border:1px solid var(--rm-line);border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(20,50,29,.05)}.route-stop-panel{display:flex;flex-direction:column;min-height:0}.route-stop-head{display:flex;justify-content:space-between;gap:10px;padding:14px 14px 11px;border-bottom:1px solid #e5ebe6}.route-stop-head h2{margin:0;font-size:17px}.route-stop-head p{margin:3px 0 0;font-size:9px;color:#78847b}.route-health{height:24px;padding:0 8px;display:inline-flex;align-items:center;border-radius:99px;background:#eef3ee;color:#647067;font-size:7.5px;font-weight:900;text-transform:uppercase;white-space:nowrap}.route-health.good{background:#e3f3df;color:#3d7c32}.route-health.warn{background:#fff0d8;color:#9a621d}.route-savings{margin:10px 11px 0;padding:10px;border-radius:9px;background:linear-gradient(135deg,#17492b,#16733b);color:#fff;font-size:9px;line-height:1.4}.route-savings strong{color:#a8e55e}.route-stop-list{flex:1;overflow:auto;padding:8px;min-height:0;max-height:555px}.route-loading{padding:30px 12px;text-align:center;color:#77847a;font-size:10px}.rm-stop{display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:start;padding:10px 8px;border-bottom:1px solid #edf0ed;cursor:pointer}.rm-stop:hover{background:#f5f9f4}.rm-stop-num{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#1a8d48;color:#fff;font-size:10px;font-weight:900;box-shadow:0 3px 10px rgba(23,113,56,.2)}.rm-stop.completed .rm-stop-num{background:#698b62}.rm-stop.unmapped .rm-stop-num{background:#a77c38}.rm-stop h3{font-size:11px;margin:0 0 2px}.rm-stop p{font-size:8px;line-height:1.3;color:#67746c;margin:0}.rm-stop-meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.rm-stop-meta span{padding:3px 5px;border-radius:5px;background:#eef4ee;color:#56705a;font-size:7px;font-weight:800}.rm-stop-price{text-align:right}.rm-stop-price b{display:block;color:#1a8648;font-size:11px}.rm-stop-price small{display:block;margin-top:2px;color:#7e8a82;font-size:7px}.route-stop-footer{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;border-top:1px solid #e4eae5}.route-stop-footer .ga-btn{justify-content:center;text-align:center}.route-stop-footer button:disabled{opacity:.45;cursor:not-allowed}
.route-map-card{position:relative}.route-map-layerbar{position:absolute;z-index:600;top:12px;left:12px;display:flex;gap:4px;padding:4px;background:rgba(12,24,16,.88);border-radius:9px;box-shadow:0 6px 20px rgba(0,0,0,.18)}.route-map-layerbar button{border:0;border-radius:6px;padding:7px 10px;background:transparent;color:#cbd7ce;font-size:8px;font-weight:900;cursor:pointer}.route-map-layerbar button.active{background:#fff;color:#21402a}.route-map-layerbar span{display:flex;align-items:center;padding:0 8px;color:#9eda56;font-size:7px;font-weight:900;text-transform:uppercase}.route-map-card #route-live-map{height:610px;background:#dce7dc}.route-map-legend{height:39px;display:flex;gap:14px;align-items:center;padding:0 13px;color:#718077;font-size:8px}.route-map-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px;vertical-align:-1px}.route-map-legend i.base{background:#ef7b2d}.route-map-legend i.planned{background:#198b47}.route-map-legend i.done{background:#70856f}.rm-number-icon{background:transparent!important;border:0!important}.rm-marker{width:30px;height:30px;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);background:#168d48;border:3px solid white;box-shadow:0 3px 12px rgba(0,0,0,.28);display:grid;place-items:center}.rm-marker span{transform:rotate(45deg);font-size:10px;font-weight:900;color:#fff}.rm-marker.done{background:#698b62}.rm-marker.base{background:#ef7b2d}.route-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.route-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.route-quick-grid a{border:1px solid #dce4dd;border-radius:9px;padding:11px;text-decoration:none;color:#314238;font-size:9px;font-weight:900;background:#f8faf8}.route-quick-grid a:hover{border-color:#89bd76;background:#f1f8ee}.route-warning-list{margin:0;padding-left:18px;color:#8b5f25;font-size:9px;line-height:1.55}.route-map-modal{position:fixed;inset:0;z-index:7000;background:rgba(6,17,10,.68);display:grid;place-items:center;padding:18px}.route-map-modal[hidden]{display:none}.route-map-modal-card{position:relative;width:min(600px,100%);background:#fff;border-radius:14px;padding:21px}.route-map-modal-card h2{margin:0 0 5px}.route-map-modal-card>p{margin:0 0 15px;color:#6e7a72;font-size:10px;line-height:1.45}.route-map-modal-card .route-close{position:absolute;right:11px;top:11px}.route-toast{position:fixed;z-index:8000;right:22px;bottom:22px;max-width:380px;padding:12px 15px;border-radius:9px;background:#176f3c;color:#fff;font-size:10px;font-weight:900;box-shadow:0 13px 35px rgba(0,0,0,.2)}.route-toast.bad{background:#9d342d}.route-toast[hidden]{display:none}
@media print{.gg-admin-top,.gg-admin-head,.route-map-topbar,.route-map-layerbar,.route-stop-footer,.route-admin-grid{display:none!important}.gg-admin-main{width:100%!important;margin:0!important}.route-map-layout{grid-template-columns:330px 1fr;min-height:auto}.route-map-card #route-live-map{height:720px}.route-stop-list{max-height:none;overflow:visible}.route-map-shell{padding:0}.route-map-stats{grid-template-columns:repeat(6,1fr)}}
@media(max-width:1100px){.route-map-layout{grid-template-columns:320px 1fr}.route-map-stats{grid-template-columns:repeat(3,1fr)}.route-map-card #route-live-map{height:560px}}@media(max-width:780px){.route-map-topbar{align-items:flex-start;flex-direction:column}.route-map-layout{grid-template-columns:1fr}.route-stop-list{max-height:360px}.route-map-card #route-live-map{height:500px}.route-admin-grid{grid-template-columns:1fr}.route-quick-grid{grid-template-columns:1fr 1fr}.route-map-stats{grid-template-columns:1fr 1fr}}
