/* Groups map (owner, read-only). Map and list side by side from 900px; the list goes under the map on a phone. */
.gm-page { max-width: 1240px; }
.gm-sub { font-size: 13px; color: var(--text-secondary); margin: 0 0 10px; }
.gm-controls { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 10px; font-size: 13.5px; }
.gm-seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.gm-seg button { border: 0; min-height: 34px; padding: 0 11px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.gm-seg button + button { border-left: 1px solid var(--border); }
.gm-seg button.on { background: var(--accent-bg); color: var(--accent-text); font-weight: 600; }
.gm-check { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; }
.gm-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
#gm-map { height: 58vh; min-height: 320px; border: 1px solid var(--border-strong); border-radius: 12px; }
.gm-side { min-width: 0; }
.gm-panel { border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; background: #fff; margin: 0 0 10px; }
.gm-panel h2 { font-size: 17px; margin: 0; }
.gm-panel .gm-close { float: right; border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.gm-meta { font-size: 13px; color: var(--text-secondary); margin: 2px 0 6px; }
.gm-groups { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.gm-groups li { padding: 6px 0; border-top: 1px solid var(--border); }
.gm-groups li.dim { opacity: .55; }
.gm-groups small { color: var(--text-secondary); }
.gm-status { font-size: 12px; font-weight: 600; border: 1px solid currentColor; border-radius: 999px; padding: 0 7px; }
.st-active { color: #3B6D11; } .st-on_hold { color: #9a5b00; } .st-off, .st-not_relevant { color: #5f5b50; } .st-retired { color: #A32D2D; }
.gm-nogroup { color: #A32D2D; font-weight: 700; font-size: 12px; }
.gm-section { border-top: 1px solid var(--border); }
.gm-section > summary { cursor: pointer; padding: 9px 2px; font-size: 14.5px; }
.gm-section > summary small { color: var(--text-secondary); font-weight: 400; margin-left: 6px; }
.gm-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; border: 1px solid rgba(0,0,0,.2); }
.gm-sublist { list-style: none; margin: 0 0 8px; padding: 0; }
.gm-sublist li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 4px 2px; font-size: 13.5px; }
.gm-sublist button { border: 0; background: transparent; font: inherit; color: var(--accent-text); cursor: pointer; padding: 4px 0; text-align: left; }
.gm-approx { font-size: 11.5px; color: var(--text-secondary); font-style: italic; }
.gm-cust { font-size: 12px; color: var(--text-secondary); }
.gm-legend { background: #fff; padding: 6px 8px; border-radius: 8px; font-size: 12px; line-height: 1.5; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.gm-legend div { white-space: nowrap; }
.gm-label { background: transparent; border: 0; box-shadow: none; font-size: 11px; font-weight: 600; color: #1b2420; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.gm-label::before { display: none; }
@media (min-width: 900px) {
  .gm-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  #gm-map { height: 72vh; }
  .gm-side { max-height: 72vh; overflow-y: auto; }
}
