/* GEOSINT HQ · situation-map chrome, shared by index + archive.
   The map canvas itself is drawn by assets/geomap.js. */
html:not(.js) .sitmap-sec { display: none; }
.sitmap-sec { padding-top: 0; }
.sitmap { border: 1px solid var(--blue-line-soft); background: var(--panel); }
.sm-head {
  display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--blue-line-soft);
  background: var(--panel-deep);
}
.sm-title {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--blue);
}
.sm-legend {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--dim);
}
.sm-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sm-legend i {
  font-style: normal; width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.sm-legend .lg-red i { background: var(--t-red); }
.sm-legend .lg-amber i { background: var(--t-amber); }
.sm-legend .lg-green i { background: var(--t-green); }
.sm-legend .lg-cyan i { background: var(--t-cyan); }
.sm-legend .lg-violet i, .sm-legend .lg-choke i {
  background: var(--t-violet); border-radius: 0; transform: rotate(45deg);
  width: 6px; height: 6px;
}
.sm-stamp {
  margin-left: auto; display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--dim); white-space: nowrap;
}
.sm-stamp .js-utc { color: var(--blue); }
.sm-body { position: relative; padding: 8px 10px 2px; }
.sm-body canvas { display: block; width: 100%; }
.sm-tip {
  position: absolute; pointer-events: none; z-index: 3;
  transform: translate(-50%, -150%);
  background: rgba(10, 15, 20, 0.94);
  border: 1px solid var(--blue-line);
  padding: 6px 11px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; color: var(--ink); white-space: nowrap;
}
.sm-ctl {
  position: absolute; top: 16px; right: 18px; z-index: 4;
  display: flex; flex-direction: column;
  border: 1px solid var(--blue-line);
  background: rgba(10, 15, 20, 0.88);
}
.sm-ctl button {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  border-bottom: 1px solid var(--blue-line-soft);
  color: var(--blue); font-family: var(--mono); font-size: 14px; line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.sm-ctl button:last-child { border-bottom: none; }
.sm-ctl button:hover { background: var(--blue-fill); color: var(--blue-glow); }
.sm-foot {
  display: flex; align-items: baseline; gap: 12px 18px; flex-wrap: wrap;
  padding: 11px 18px 13px;
  border-top: 1px solid var(--blue-line-soft);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--dim);
  text-transform: uppercase;
}
.sm-foot strong { color: var(--blue); font-weight: 600; }
.sm-coords {
  margin-left: auto; color: var(--blue); letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

@media (max-width: 699px) {
  .sm-legend { display: none; }
  .sm-stamp .sm-asof { display: none; }
  .sm-foot .sm-hint { display: none; }
  .sm-body { padding: 6px 6px 0; }
  .sm-foot { padding: 10px 14px 12px; }
}

/* Touch: 44px zoom targets; no cursor, so no coords readout */
@media (pointer: coarse) {
  .sm-ctl { top: 12px; right: 12px; }
  .sm-ctl button { width: 44px; height: 44px; font-size: 18px; }
  .sm-coords { display: none; }
}
