/* Export is part of the title row: it never subtracts a row from the map. */
.route-compact .route-intro{align-items:center;gap:12px;min-height:48px;margin-bottom:14px;flex-wrap:wrap}
.route-intro .route-export-actions{margin:0 0 0 auto;border:0;padding:0;background:transparent;gap:8px;border-radius:0}
.route-intro .route-export-actions .route-btn{min-height:44px;background:#fff;padding:10px 14px;font-size:13px}
.route-intro #routeExportStatus{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.route-compact .route-page{padding-top:14px;padding-bottom:14px}
.route-compact .route-map-card .map-head{padding:10px 14px;min-height:64px;gap:10px;flex-wrap:wrap}
.route-compact .map-head h2{font-size:17px;white-space:nowrap}
.route-map-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto}
.route-map-card .route-map-toggle{position:static;box-shadow:none;flex-shrink:0;padding:2px}
.route-map-card .route-map-toggle button{min-height:40px;padding:8px 10px}
.route-map-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:1px solid #d9e2eb;border-radius:9px;background:#fff;color:#335570;cursor:pointer}
.route-map-icon:hover,.route-map-icon[aria-expanded=true]{background:#eaf1f6;border-color:#b6c9d8}
.route-map-card .map-caption{flex:none;max-height:120px;overflow:auto}
.route-map-card #routeNetwork{position:absolute;left:16px;right:16px;top:76px;z-index:500;margin:0;box-shadow:0 3px 14px #142f4520;max-height:110px;overflow:auto;pointer-events:none}
@media(min-width:1100px){
 .route-compact .route-layout{grid-template-columns:260px minmax(0,1fr) 300px;height:max(500px,calc(100dvh - var(--route-workspace-offset,220px)));min-height:500px}
 .route-compact .route-map-card{min-width:0;height:100%;display:flex;flex-direction:column}
 .route-compact .route-map{height:auto;flex:1;min-height:340px}
}
@media(min-width:1700px){.route-compact .route-layout{grid-template-columns:275px minmax(0,1fr) 320px}}
@media(min-width:761px) and (max-width:1099px){.route-compact .route-map{height:clamp(440px,65dvh,760px)}}
@media(max-width:760px){.route-compact .route-intro{display:flex;gap:8px}.route-intro .route-export-actions{gap:6px}.route-intro .route-export-actions .route-btn{font-size:12px;padding:9px 10px}.route-compact .route-map{height:clamp(380px,65dvh,680px)}.route-compact .route-map-card .map-head{padding:10px 12px}.route-map-tools{gap:4px}.route-map-card .map-caption{max-height:100px}}
body.route-map-expanded{overflow:hidden}
.route-compact.route-map-expanded #routeMapWorkspace{display:flex!important;position:fixed;inset:12px;z-index:2100;height:auto;min-width:0;flex-direction:column;box-shadow:0 0 0 30px #102236c9,0 16px 60px #07182840}
.route-compact.route-map-expanded #routeMap{height:auto;min-height:0;flex:1}
.route-compact.route-map-expanded #routeMapWorkspace .map-head{flex:none}
@media(max-width:760px){.route-compact.route-map-expanded #routeMapWorkspace{inset:6px;border-radius:14px}}
@media print{.route-map-tools{display:none!important}}
