/* cov_map.css - coverage map page, shared by the LAN shell (index.html)
   and the public shell (public.html). */
html, body { height: 100%; margin: 0; font: 13px/1.5 sans-serif; }
body { display: flex; flex-direction: column; }
/* Top bar as the dashboard's and map.dmrgw.org's (.dnav in
   sfr-mesh-map/html/map.css, dark theme colours), so the sites read as one
   (LGO 2026-11-24). Logo and the dashboard link for now. */
.dnav { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 6px 12px;
        background: #16202f; border-bottom: 1px solid #27374d; box-shadow: 0 1px 3px rgba(0,0,0,.35);
        font: 14px/1.5 "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
              "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif; z-index: 1002; }
.dnav-brand { display: inline-flex; align-items: center; }
.dnav-logo { display: block; height: 38px; width: auto; }
.dnav-tabs { display: flex; gap: 2px; overflow-x: auto; flex: 1; }
.dnav-tabs a { color: rgba(255,255,255,.75); padding: 5px 10px; border-radius: 6px; white-space: nowrap;
               text-decoration: none; }
.dnav-tabs a:hover { color: #fff; background: rgba(255,255,255,.08); }
.dnav-tabs a.on { color: #fff; background: rgba(45,212,191,.16); box-shadow: inset 0 -2px 0 #2dd4bf; }
.dnav-sys { color: #fff; font-weight: bold; white-space: nowrap; }
.dnav-sys small { font-weight: normal; opacity: .7; }
.dnav-tools { display: flex; gap: 6px; align-items: center; }
.dnav-tool { background: #1b273a; color: #fff; border: 1px solid #27374d; border-radius: 6px; padding: 3px 10px;
             cursor: pointer; white-space: nowrap; font: inherit; }
.dnav-tool:hover { border-color: #2dd4bf; }
@media (max-width: 767px) { .dnav-logo { height: 26px; } .dnav-tabs { font-size: 13px; } }
/* Map on the left, side pane on the right (LGO 2026-11-24: the station
   card on the map was too big; switches and details live in the pane). */
#wrap { display: flex; flex: 1; min-height: 0; }
#map { flex: 1; min-width: 0; }
#side { width: 300px; overflow-y: auto; border-left: 1px solid #ccc; background: #fff;
        padding: 8px 12px; box-sizing: border-box; }
@media (max-width: 700px) {
  #wrap { flex-direction: column; }
  #side { width: auto; height: 42%; border-left: none; border-top: 1px solid #ccc; }
}
/* White page behind the tiles: the "white" base map shows only this. */
#map.leaflet-container { background: #fff; }
#side section { padding: 6px 0 8px; border-bottom: 1px solid #eee; }
#side section:last-child { border-bottom: none; }
#side h2 { font-size: 13px; margin: 0 0 4px; }
#side label { display: block; cursor: pointer; }
#side table { border-collapse: collapse; width: 100%; }
#side th { text-align: left; font-weight: normal; color: #555; padding: 1px 8px 1px 0;
           white-space: nowrap; vertical-align: top; }
#side td { padding: 1px 0; }
#side small { color: #555; }
.site-tip { font: bold 12px/1.3 sans-serif; }
.sw { display: inline-block; width: 14px; height: 10px; margin-right: 6px; vertical-align: middle; }
/* Legend band rows with their own checkbox (LGO 2026-11-25). */
#side label.band { display: block; cursor: pointer; }
#side label.band input { margin: 0 6px 0 0; vertical-align: middle; }
/* Centre-on-antenna button under the zoom buttons (LGO 2026-11-25). */
.leaflet-bar a.ctl-center { font-size: 20px; line-height: 30px; font-weight: bold; }
.leaflet-bar input.ctl-zoom { display: block; width: 30px; height: 26px; box-sizing: border-box; border: 0; border-top: 1px solid #ccc;
  padding: 0; text-align: center; font-size: 13px; background: #fff; -moz-appearance: textfield; }
.leaflet-bar input.ctl-zoom::-webkit-inner-spin-button, .leaflet-bar input.ctl-zoom::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* Station list with overlay boxes (public, LGO 2026-11-27). */
#side .st-row { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#side .st-row input { margin: 0 4px 0 0; vertical-align: middle; }
#side .st-row .sw { border: 1px solid #ccc; box-sizing: border-box; }
#side .multi-msg small { color: #b00; }
#side h3.st-band { font-size: 12px; margin: 8px 0 2px; color: #333; }
#side h3.st-band .st-dot { margin-right: 4px; }
