/* Main stops map only; the network editor and JSON map keep their contracts. */
/* The network workspace owns the whole area beside the application rail. */
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .content>.topbar{display:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .content{padding:0!important;gap:0!important;border:0!important;border-radius:0!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-card{margin:0!important;border:0!important;border-radius:0!important}
@media(min-width:901px){
 html:has(body.is-authenticated #appView.full-map-mode.stops-map-modern-mode),
 body.is-authenticated:has(#appView.full-map-mode.stops-map-modern-mode){overflow:hidden!important;scrollbar-gutter:auto!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode{position:fixed!important;inset:var(--tasman-site-header-height,64px) 0 0!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;box-sizing:border-box}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .app-layout{height:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-sizing:border-box;gap:0!important;overflow:hidden!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .content{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-card{display:flex!important;flex:1 1 0!important;min-height:0!important;padding:0!important;overflow:hidden!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-wrap{flex:1 1 0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-wrap,
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-wrap>table,
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-wrap>table>tbody,
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-wrap>table>tbody>tr,
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .table-wrap>table>tbody>tr>td.map-workspace-cell{display:block!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;box-sizing:border-box;overflow:hidden!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;height:100%!important;min-height:0!important;margin:0!important;box-sizing:border-box}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-shell{grid-template-rows:minmax(0,1fr)!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-viewport,
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-info{height:100%!important;min-height:0!important;max-height:none!important;box-sizing:border-box}
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .stops-map-info{overflow:auto!important}
}
@media(min-width:1101px){
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode{inset:0 0 0 var(--tm-rail-width,104px)!important}
}

/* Flat, edge-to-edge network frame; workspace rows are not table records. */
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode{
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map{
 padding:0!important;margin:0!important;gap:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;transform:none!important;
}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map :is(.stops-map-controls-toolbar,.stops-map-shell,.stops-map-viewport,.stops-map-info){
 border-radius:0!important;box-shadow:none!important;filter:none!important;transform:none!important;transition:none!important;
}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-shell{
 gap:0!important;
}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode #gridBody>tr,
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode #gridBody>tr>td.map-workspace-cell{
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;transform:none!important;
}


body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;background:var(--tm-panel,#fff)!important;font-family:var(--tt-font,Rubik,system-ui,sans-serif)}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:0!important;min-width:0!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-controls-toolbar{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-start!important;gap:2px!important;padding:8px!important;margin:0!important;border:1px solid var(--tm-border,#cfd5d3)!important;border-radius:0!important;background:var(--tm-panel,#fff)!important;box-shadow:none!important;position:relative!important;z-index:5!important;overflow:visible!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-search{position:relative;flex:0 1 300px!important;width:300px!important;min-width:min(100%,200px)!important;max-width:300px!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-search input{box-sizing:border-box;min-height:36px!important;height:36px!important;width:100%;border:1px solid var(--tm-border,#cfd5d3)!important;border-radius:6px!important;background:var(--tm-panel,#fff)!important;color:var(--tm-black,#080f0f)!important;font:inherit!important;font-size:12px!important;padding:6px 8px!important;box-shadow:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions{display:contents!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:1 0 auto!important;width:auto!important;min-width:32px!important;min-height:36px!important;height:36px!important;padding:5px 6px!important;margin:0!important;gap:4px!important;border:1px solid var(--tm-border,#cfd5d3)!important;border-radius:6px!important;background:var(--tm-panel-2,#f6f7f5)!important;color:var(--tm-black,#080f0f)!important;font-family:inherit!important;font-size:12px!important;box-shadow:none!important;transform:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button.active{background:var(--tm-yellow,#ffba08)!important;border-color:var(--tm-yellow,#ffba08)!important;color:var(--tm-black,#080f0f)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button svg{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button span{font:inherit!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button:is([data-map-action=minus],[data-map-action=plus]){width:32px!important;flex:0 0 32px!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button:is([data-map-action=minus],[data-map-action=plus]) span{display:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility{position:relative;flex:0 0 124px;width:124px;max-width:100%;box-sizing:border-box}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility>summary{display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:36px;padding:6px;list-style:none;border:1px solid var(--tm-border,#cfd5d3);border-radius:6px;background:var(--tm-panel-2,#f6f7f5);color:var(--tm-black,#080f0f);cursor:pointer;font-size:12px;font-weight:500}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility>summary::-webkit-details-marker{display:none}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility>summary::after{content:"⌄"}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility[open]>summary{background:var(--tm-yellow,#ffba08);border-color:var(--tm-yellow,#ffba08)}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-filters{position:absolute;z-index:30;right:0;top:calc(100% + 5px);display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;width:240px!important;max-width:calc(100vw - 24px)!important;padding:8px!important;border:1px solid var(--tm-border,#cfd5d3);border-top:3px solid var(--tm-yellow,#ffba08);border-radius:6px;background:var(--tm-panel,#fff);box-shadow:0 6px 18px #080f0f26;box-sizing:border-box}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility:not([open])>.stops-map-filters{display:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-filter-toggle{display:flex!important;align-items:center;gap:6px!important;min-height:36px!important;margin:0!important;padding:6px!important;border:1px solid var(--tm-border,#cfd5d3)!important;border-radius:6px!important;background:var(--tm-panel-2,#f6f7f5)!important;color:var(--tm-black,#080f0f)!important;white-space:normal!important;font:inherit!important;font-size:12px!important;font-weight:500!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-filter-toggle input{width:16px!important;height:16px!important;margin:0!important;accent-color:var(--tm-yellow,#ffba08)}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-results{z-index:40!important;max-height:min(380px,55vh);overflow:auto;left:0!important;right:0!important;top:calc(100% + 4px)!important;width:100%!important;box-sizing:border-box;padding:4px!important;border:1px solid var(--tm-border,#cfd5d3)!important;border-top:3px solid var(--tm-yellow,#ffba08)!important;border-radius:6px!important;background:var(--tm-panel,#fff)!important;box-shadow:0 6px 18px #080f0f26!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-results:empty{display:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-search-result{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;width:100%;padding:8px!important;border:0!important;border-bottom:1px solid var(--tm-border,#cfd5d3)!important;border-radius:0!important;background:var(--tm-panel,#fff)!important;color:var(--tm-black,#080f0f)!important;font-family:inherit!important;font-size:12px!important;text-align:left!important;white-space:normal!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-search-result:hover{background:var(--tm-panel-2,#f6f7f5)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-search-result span{min-width:0;overflow-wrap:anywhere}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-info{padding:0!important;border:1px solid var(--tm-border,#cfd5d3)!important;border-radius:0!important;border-top-width:1px!important;background:var(--tm-panel,#fff)!important;box-shadow:none!important;font-family:inherit}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-panel-head{position:sticky;top:0;z-index:4;min-height:48px!important;padding:6px 10px!important;border-bottom:1px solid var(--tm-border,#cfd5d3)!important;background:var(--tm-panel,#fff)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-panel-head>strong{font-size:12px!important;font-weight:500!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-close{width:36px!important;height:36px!important;min-width:36px!important;border:1px solid var(--tm-border,#cfd5d3)!important;border-radius:6px!important;background:var(--tm-panel-2,#f6f7f5)!important;color:var(--tm-black,#080f0f)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-stop-card{margin:0!important;padding:10px!important;border:0!important;border-bottom:1px solid var(--tm-border,#cfd5d3)!important;border-radius:0!important;background:var(--tm-panel,#fff)!important;box-shadow:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-title{align-items:flex-start!important;gap:8px!important;white-space:normal!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-title span{flex:0 0 auto;border-radius:4px!important;padding:4px 6px!important;background:var(--tm-yellow,#ffba08)!important;color:var(--tm-black,#080f0f)!important;font-size:11px!important;font-weight:500!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-title strong{flex:1;min-width:0;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map :is(.map-info-location,.map-info-coordinates){white-space:normal!important;font-size:11px!important;font-style:normal!important;line-height:1.5!important;color:var(--tm-muted,#66706e)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-grid{gap:0!important;padding:0!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-grid>.map-info-row{grid-template-columns:minmax(80px,32%) minmax(0,1fr)!important;gap:8px!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid var(--tm-border,#cfd5d3)!important;border-radius:0!important;background:var(--tm-panel,#fff)!important;box-shadow:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-row span{color:var(--tm-black,#080f0f)!important;font-size:12px!important;font-weight:600!important;letter-spacing:normal!important;text-transform:none!important;white-space:normal!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .map-info-row strong{color:var(--tm-black,#080f0f)!important;font-size:12px!important;font-weight:500!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.45!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map :is(input,button,summary):focus-visible{outline:2px solid var(--tm-blue,#0496ff)!important;outline-offset:1px}

@media(max-width:900px){
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-shell{grid-template-columns:minmax(0,1fr)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-viewport{height:clamp(320px,55dvh,520px)!important;min-height:320px!important;max-height:none!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-info{height:auto!important;min-height:220px!important;max-height:480px!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-search{flex-basis:100%!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button{flex:1 0 auto!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-visibility{position:static}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-filters{left:8px;right:auto}
}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button:not(.active):not(:disabled):hover{background:color-mix(in srgb,var(--tm-blue,#0496ff) 12%,var(--tm-panel,#fff))!important;border-color:var(--tm-blue,#0496ff)!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-actions>button.active:not(:disabled):hover{background:color-mix(in srgb,var(--tm-yellow,#ffba08) 90%,var(--tm-black,#080f0f))!important}
body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map :is(.stops-map-visibility>summary,.map-info-close):hover{background:color-mix(in srgb,var(--tm-blue,#0496ff) 10%,var(--tm-panel,#fff))!important;border-color:var(--tm-blue,#0496ff)!important}

/* All matches remain scrollable; only the visible rows occupy DOM nodes. */
.stops-map-results.stops-map-results-virtual{overflow:hidden!important;max-height:none!important}
.stops-map-results .map-search-count{padding:5px 7px;border-bottom:1px solid var(--tm-border,#cfd5d3);font-size:11px;font-weight:600;color:var(--tm-muted,#66706e)}
.stops-map-search-viewport{position:relative;overflow:auto;max-height:min(312px,calc(55vh - 40px));overscroll-behavior:contain}
.stops-map-search-spacer{position:relative;min-width:0}
.stops-map-results .stops-map-search-viewport .map-search-result{position:absolute!important;left:0;right:0;box-sizing:border-box!important;height:52px!important;min-height:52px!important;max-height:52px!important;padding:6px 8px!important;margin:0!important;display:grid!important;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:center;text-align:left;white-space:normal!important;overflow:hidden}
.stops-map-results .stops-map-search-viewport .map-search-result span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:36px;line-height:18px!important}
.stops-map-results .stops-map-search-viewport .map-search-result[aria-selected=true]{background:var(--tm-yellow,#ffba08)!important;color:var(--tm-black,#080f0f)!important}
@media(max-width:900px){
 body.is-authenticated #appView.full-map-mode.stops-map-modern-mode .editor-stops-map .stops-map-search{flex:0 1 300px!important;max-width:100%!important;width:300px!important}
}
