/* InfraTrunk V28 palette; map-first spatial workspace. */
[data-view=map] .m44-masthead{background:#1748d8;color:#fff;padding:18px 24px}[data-view=map] h1{font-size:26px!important;line-height:1.2!important;margin:4px 0!important;color:#fff!important}[data-view=map] .m44-masthead p{margin:5px 0;color:#fff}[data-view=map] .module-content{max-width:none;padding:14px 20px 24px;background:#f5f1e8}.m44-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#fff;padding:12px;border:1px solid #d7dce8;border-radius:9px;margin-bottom:12px}.m44-toolbar label{font-size:12px;font-weight:700;display:grid;gap:4px;flex:1;min-width:125px}.m44-toolbar input,.m44-toolbar select{width:100%;min-height:40px;border:1px solid #bac5d8;border-radius:5px;padding:7px;color:#0b1b3a;background:#fff}.m44-toolbar button,.m44-btn{min-height:40px;border:1px solid #1748d8;border-radius:6px;background:#fff;color:#082b73;padding:8px 12px;cursor:pointer;font-weight:700}.m44-btn.primary{background:#1748d8;color:#fff}.m44-btn:disabled{opacity:.5;cursor:default}.m44-body{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start}.m44-sidebar{max-height:770px;overflow:auto;background:#fff;border:1px solid #d7dce8;border-radius:9px;padding:12px}.m44-sidebar h2{font-size:17px!important;margin:0 0 7px}.m44-sidebar details{border-bottom:1px solid #d7dce8;padding:6px 0}.m44-sidebar summary{cursor:pointer;font-weight:700;font-size:13px;min-height:38px;padding:9px 0;color:#082b73}.m44-layer{padding:7px 0;border-top:1px solid #eef1f6}.m44-layer label{display:flex;gap:8px;align-items:start;font-size:12px;font-weight:700;cursor:pointer}.m44-layer input{margin-top:3px;flex-shrink:0}.m44-layer small{display:block;font-size:10px;line-height:1.4;color:#596780;margin:3px 0 0 24px;overflow-wrap:anywhere}.m44-layer a{font-size:10px;color:#1748d8;margin-left:24px}.m44-layer[data-state=error] small{color:#9b2518}.m44-layer[data-state=loaded] small{color:#126348}.m44-note{font-size:12px;line-height:1.45;color:#536078;margin:7px 0}.m44-warning{background:#fff3eb;border-left:3px solid #e64c3a;padding:10px;font-size:12px}.m44-mapwrap{min-width:0;background:#fff;border:1px solid #d7dce8;border-radius:9px;overflow:hidden}.m44-mapbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #d7dce8;font-size:12px}.m44-mapbar label{display:flex;align-items:center;gap:5px}.m44-mapbar select{padding:6px;background:#fff;border:1px solid #bac5d8}.m44-mapbar button{padding:6px 10px}.m44-mapbar input[type=range]{width:90px}#m44-map{height:600px;position:relative;overflow:hidden;background:#eef2f6;touch-action:none;outline-offset:-4px}#m44-map:fullscreen{height:100vh;width:100vw}#m44-map:focus-visible{outline:3px solid #e64c3a}.gm-tiles,.gm-vectors{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}.gm-tiles img{position:absolute;width:256px;height:256px;max-width:none!important;top:0;left:0;user-select:none}.gm-vectors{z-index:2}.gm-feature{cursor:pointer}.gm-feature:hover{stroke-width:4;opacity:1!important}.gm-grid{stroke:#b9c7d6;stroke-opacity:.28;stroke-width:1;pointer-events:none}.gm-tools{position:absolute;top:13px;right:13px;z-index:4;display:grid;gap:5px}.gm-tools button{width:40px;height:40px;background:#fff;border:1px solid #7c91b3;border-radius:6px;color:#082b73;font-size:24px}.gm-grid-label,.gm-attribution,.gm-scale{position:absolute;z-index:3;background:rgba(255,255,255,.91);color:#26334f;font-size:10px;pointer-events:none;padding:4px 8px}.gm-grid-label{top:8px;left:9px;max-width:calc(100% - 70px)}.gm-attribution{bottom:0;right:0;max-width:100%;font-size:9px}.gm-scale{bottom:28px;left:10px;border-bottom:2px solid #082b73}.m44-status{padding:8px 12px;font-size:12px;background:#eaf0ff;color:#082b73;min-height:34px;overflow-wrap:anywhere}.m44-bottom{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1.2fr);gap:12px;margin-top:12px}.m44-card{background:white;border:1px solid #d7dce8;border-radius:9px;padding:14px;min-width:0}.m44-card h2{font-size:17px!important;color:#082b73;margin:0 0 8px}.m44-card h3{font-size:15px;color:#082b73;margin:10px 0}.m44-results{list-style:none;margin:5px 0;padding:0;max-height:400px;overflow:auto}.m44-results li{border-bottom:1px solid #e3e7ef}.m44-results button{width:100%;text-align:left;background:#fff;color:#0b1b3a;border:0;padding:10px 4px;cursor:pointer}.m44-results strong{font-size:13px;display:block}.m44-results small{font-size:11px;display:block;color:#536078;margin-top:3px}.m44-results button:hover,.m44-results button:focus-visible{background:#eaf0ff}.m44-results button[aria-pressed=true]{border-left:3px solid #1748d8;padding-left:8px;background:#eaf0ff}.m44-badge{display:inline-block;background:#eaf0ff;color:#082b73;padding:4px 7px;border-radius:4px;font-size:10px;margin:3px 3px 3px 0}.m44-badge.warning{background:#fff1e9;color:#913822}.m44-props{display:grid;grid-template-columns:100px minmax(0,1fr);gap:6px 9px;font-size:12px}.m44-props dt{font-weight:700;color:#536078}.m44-props dd{margin:0;overflow-wrap:anywhere}.m44-props a{color:#1748d8}.m44-sources-table{border-collapse:collapse;width:100%;font-size:11px}.m44-sources-table th,.m44-sources-table td{text-align:left;border-bottom:1px solid #d7dce8;padding:9px 5px;vertical-align:top;overflow-wrap:anywhere}.m44-sources-table th{background:#eaf0ff;color:#082b73}.m44-tablewrap{overflow:auto}.m44-actions{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0}.m44-mini-map{height:210px;position:relative;overflow:hidden;background:#eef2f6;touch-action:none;border:1px solid #d7dce8;border-radius:6px}.m44-mini-map .gm-grid-label{font-size:9px}.m44-link-panel{padding:14px;border:1px solid #d7dce8;border-radius:8px;margin:10px 0;grid-column:1/-1;background:#fff}.m44-link-panel h4{color:#082b73;margin:0 0 7px}.m44-legend{display:flex;gap:10px;flex-wrap:wrap;padding:8px 12px;font-size:11px}.m44-swatch{display:inline-block;width:18px;height:10px;border:2px solid #1748d8;vertical-align:middle;margin-right:3px}.m44-swatch.referral{border-style:dashed;background:#f6e3d9}.m44-swatch.point{width:8px;height:8px;border-radius:100%}.m44-toggle-small{display:none}.m44-import{display:grid;gap:9px}.m44-import label{font-size:12px;font-weight:bold;display:grid;gap:4px}.m44-import input,.m44-import select{max-width:100%;padding:8px;border:1px solid #bac5d8;border-radius:4px}.m44-import details{padding:8px 0}.m44-import summary{font-size:12px;font-weight:bold;cursor:pointer}
@media(min-width:1700px){#m44-map{height:700px}.m44-sidebar{max-height:890px}}
@media(max-width:1000px){.m44-body{grid-template-columns:240px minmax(0,1fr)}#m44-map{height:540px}.m44-bottom{grid-template-columns:1fr}}
@media(max-width:720px){[data-view=map] .module-content{padding:8px}.m44-body{grid-template-columns:1fr}.m44-sidebar{max-height:420px}.m44-sidebar:not(.show-mobile){display:none}.m44-toggle-small{display:block}.m44-bottom{grid-template-columns:1fr}.m44-toolbar{padding:8px;gap:7px}.m44-toolbar label{min-width:42%;font-size:11px}.m44-toolbar .m44-btn{font-size:11px;flex:1}.m44-mapbar{font-size:11px;gap:6px}#m44-map{height:430px}.gm-attribution{font-size:8px}.m44-card{padding:11px}.m44-props{grid-template-columns:90px minmax(0,1fr)}.m44-actions .m44-btn{font-size:11px}.m44-results{max-height:280px}}
@media print{.m44-toolbar,.m44-sidebar,.gm-tools{display:none}.m44-body,.m44-bottom{display:block}#m44-map{height:150mm}}

[data-view=map] .module-content{padding:14px 20px 24px!important}.m44-sidebar>label{display:flex;align-items:flex-start;gap:7px;margin:10px 0}.m44-sidebar>label input{margin:0;flex:0 0 auto}.m44-masthead{min-height:0!important} @media(max-width:720px){[data-view=map] .module-content{padding:8px!important}}

.m44-layer-swatch{display:inline-block;width:13px;height:10px;border:2px solid;vertical-align:baseline;margin-right:5px;border-radius:1px}

/* v44.1 project-information hover bubbles. Scoped to map components only. */
.gm-project-bubble[hidden]{display:none!important}
.gm-project-bubble{position:absolute;z-index:8;box-sizing:border-box;width:330px;max-width:calc(100% - 20px);max-height:calc(100% - 20px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;background:#fff;color:#0b1b3a;border:1px solid #bac5d8;border-top:4px solid #1748d8;border-radius:9px;box-shadow:0 6px 24px rgba(8,43,115,.22);padding:13px 15px;font:12px/1.4 Arial,Helvetica,sans-serif;pointer-events:auto;cursor:auto;overflow-wrap:anywhere}
.gm-project-bubble strong.gm-bubble-title{display:block;font-size:16px;line-height:1.2;color:#082b73;font-weight:700;margin:0 0 8px}
.gm-project-bubble .gm-bubble-geometry{font-size:10px;color:#082b73;background:#eaf0ff;padding:5px 7px;margin:0 0 10px;border-radius:4px}
.gm-project-bubble .gm-bubble-fields{display:grid;grid-template-columns:95px minmax(0,1fr);gap:6px 8px;margin:0 0 10px;font-size:12px}
.gm-project-bubble dt{font-weight:700;color:#536078}.gm-project-bubble dd{margin:0;color:#0b1b3a}
.gm-project-bubble .gm-bubble-source,.gm-project-bubble .gm-bubble-note,.gm-project-bubble .gm-bubble-hint{font-size:10px;line-height:1.4;margin:6px 0 0;color:#536078}
.gm-project-bubble .gm-bubble-source{border-top:1px solid #d7dce8;padding-top:8px}.gm-project-bubble .gm-bubble-hint{color:#082b73;font-weight:700}
.gm-feature.gm-hovered{stroke-width:4;opacity:1!important}.gm-feature:focus-visible{outline:none;stroke-width:4;stroke:#e64c3a}
@media print{.gm-project-bubble{display:none!important}}

/* Narrow screens must keep long source-state options and import fields usable. */
@media(max-width:720px){
 .m44-mapbar>label{flex:1 1 100%;min-width:0;max-width:100%}
 .m44-mapbar select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%}
 .m44-import{grid-template-columns:minmax(0,1fr)}
 .m44-import>label{min-width:0;max-width:100%}
 .m44-import input,.m44-import select,.m44-import button{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
}
@media(max-width:720px){
 .m44-tablewrap{min-width:0;max-width:100%;overflow-x:auto}
 .m44-sources-table{min-width:720px}
}
