/* Scoped CLMAS demo2 map/account/resize rules; the approved HFPM CSS is left intact. */
.leaflet-baseMap-pane { filter: saturate(.75) brightness(1); }
.landsd-credit, .map3d-credit { box-sizing: border-box; width: 176px; padding: 4px 6px; background: #fff; color: #374151; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.landsd-credit img, .map3d-credit img { display: block; width: 156px; height: 32px; object-fit: contain; }
.landsd-credit span, .map3d-credit span { display: block; }
.landsd-credit a, .map3d-credit a { color: #374151; }
.map-mode { display: flex; flex-direction: row; gap: 4px; }
.map-mode .mc-btn { flex: 1; width: auto; min-width: 64px; justify-content: center; }
#map3d { position: fixed; top: var(--header-height); right: 0; bottom: var(--sheet-height); left: 0; z-index: 1; overflow: hidden; background: #e4eff5; }
#map3d[hidden] { display: none; }
#map3dViewport { position: absolute; inset: 0; }
.map3d-host { position: absolute; inset: 0; }
#map3dViewport canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.map-3d-active #theMap { visibility: hidden; }
.map-3d-active #mapNote { display: none; }
.map3d-markers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.map3d-site { position: absolute; top: 0; left: 0; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; pointer-events: auto; cursor: pointer; }
.map3d-site::after { content: ''; display: block; box-sizing: border-box; width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; background: #64748b; box-shadow: 0 0 0 1px #263238, 0 2px 4px #00000040; }
.map3d-site.normal::after { background: #22c55e; }
.map3d-site.unavailable::after { background: #fff; }
.map3d-site.selected::after, .map3d-site:focus-visible::after { outline: 3px solid #2563eb; outline-offset: 3px; }
.map3d-credit { position: absolute; left: 10px; bottom: 10px; }
#map3dStatus { position: absolute; bottom: 10px; right: 10px; max-width: min(230px, calc(100% - 206px)); margin: 0; padding: 5px 7px; background: #fff; color: #374151; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
#map3dStatus:empty { display: none; }
html { font-size: calc(16px * var(--font-scale, 1)); }
.account-control { position: relative; min-width: 0; }
.account-trigger { display: flex; align-items: center; gap: 5px; max-width: 160px; min-height: 34px; padding: 5px 7px; color: inherit; background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 13px; }
.account-trigger:hover, .account-trigger[aria-expanded="true"] { background: #f3f4f6; border-color: #e5e7eb; }
.account-trigger .operator-name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-panel { position: fixed; top: calc(var(--header-height) + 8px); right: max(12px, env(safe-area-inset-right)); width: calc(248px * var(--font-scale, 1)); max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--header-height) - 16px); overflow: auto; padding: 8px; background: #fff; color: #374151; border: 1px solid #dce3e5; border-radius: 6px; box-shadow: 0 6px 20px #00000020; }
.font-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px; font-size: 13px; }
.font-setting select { min-width: 84px; padding: 5px; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; color: inherit; font-size: inherit; }
.account-logout { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; padding: 8px; border: 0; border-top: 1px solid #e5e7eb; background: #fff; color: inherit; cursor: pointer; text-align: left; font-size: 13px; }
.account-logout:hover { background: #f3f4f6; }
.font-enlarged .sc { overflow-wrap: anywhere; }
.font-enlarged .sc-head { flex-wrap: wrap; }
.font-enlarged #ovCards .ov-sub { white-space: normal; overflow: visible; }
.font-enlarged .crow { flex-wrap: wrap; }
.detail-resizer { display: none; }
@media (min-width: 1101px) {
  .detail-panel:not(.analysis-expanded) { width: var(--detail-width, 520px); transition-property: transform; }
  .detail-resizer:not([hidden]) { display: block; position: absolute; z-index: 1; left: -8px; top: 0; bottom: 0; width: 16px; cursor: col-resize; touch-action: none; }
  .detail-resizer::after { content: ''; position: absolute; left: 6px; top: 50%; width: 4px; height: 40px; margin-top: -20px; border-radius: 2px; background: #8b9b9f; }
  .detail-resizer:hover::after, .detail-resizer:focus-visible::after { background: #2563eb; }
  .detail-resizer:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
  .detail-resizing *, .detail-resizing { cursor: col-resize !important; user-select: none !important; }
}
[hidden]{display:none!important}
