/* Shared satellite schematic map — arma hub + /desk/map */
.sat-section {
  margin-bottom: 1.5rem;
}

.sat-island-status {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--panel, #111822);
  border: 1px solid var(--border, #243447);
  border-radius: 6px;
  font-size: 0.78rem;
}

.sat-island-status .stat-block {
  min-width: 0;
}

.sat-island-status .stat-label {
  color: var(--muted, #64748b);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.sat-island-status .stat-value {
  color: var(--text, #c8d6e5);
  font-family: ui-monospace, monospace;
  line-height: 1.35;
}

.sat-island-status .stat-value.heat-high { color: #ff6b6b; }
.sat-island-status .stat-value.heat-mid { color: #fbbf24; }
.sat-island-status .stat-value.heat-low { color: #4ade80; }

.sat-island-feed {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: var(--muted, #94a3b8);
  line-height: 1.4;
}

.sat-island-feed li {
  padding: 0.15rem 0;
}

.sat-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 0;
  border: 1px solid var(--border, #243447);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg, #070a0f);
}

@media (max-width: 900px) {
  .sat-layout { grid-template-columns: 1fr; }
}

.sat-map-wrap {
  position: relative;
  padding: 0.75rem;
  min-height: 380px;
}

.sat-map-wrap canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: radial-gradient(ellipse at 40% 35%, #121a24 0%, #080c12 70%);
  border: 1px solid var(--border, #243447);
  border-radius: 4px;
  cursor: crosshair;
  display: block;
}

.sat-hud {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--muted, #64748b);
  pointer-events: none;
  max-width: 460px;
  line-height: 1.4;
  background: rgba(8, 12, 18, 0.72);
  padding: 0.35rem 0.5rem;
  border-radius: 3px;
}

.sat-aside {
  border-left: 1px solid var(--border, #243447);
  background: var(--panel, #0f141c);
  padding: 0.85rem 1rem;
  overflow-y: auto;
  max-height: 620px;
}

.sat-aside h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sat, #ffd166);
  margin: 0 0 0.65rem;
}

.sat-meta { color: var(--muted, #64748b); font-size: 0.78rem; line-height: 1.45; }

.sat-zone-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: #1e293b;
  font-size: 0.72rem;
  margin: 0.2rem 0.2rem 0 0;
}

.sat-ctrl {
  display: block;
  font-size: 0.72rem;
  color: var(--muted, #64748b);
  margin: 0.55rem 0 0.2rem;
}

.sat-ctrl-val { float: right; color: var(--accent, #7ec8ff); font-family: ui-monospace, monospace; }

.sat-aside input[type=range] { width: 100%; accent-color: #2563eb; }

.sat-aside button {
  background: #2563eb;
  color: white;
  border: 0;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.82rem;
  margin-top: 0.65rem;
  width: 100%;
}

.sat-aside button:disabled { opacity: 0.45; cursor: not-allowed; }

.sat-cooldown {
  background: #422006;
  border: 1px solid #92400e;
  color: #fcd34d;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  font-size: 0.78rem;
  margin: 0.65rem 0;
}

.sat-cooldown.ready {
  background: #052e16;
  border-color: #166534;
  color: #86efac;
}

.sat-scan-bar {
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
  overflow: hidden;
  margin: 0.45rem 0;
}

.sat-scan-bar > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #7ec8ff);
  transition: width 0.2s linear;
}

.sat-grid-pre {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  line-height: 1.2;
  background: #0a0e14;
  border: 1px solid var(--border, #243447);
  padding: 0.65rem;
  margin: 0.65rem 0;
  white-space: pre;
  color: #94a3b8;
}

.sat-findings { list-style: none; padding: 0; margin: 0.65rem 0; }
.sat-findings li {
  font-size: 0.78rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid #1e293b;
}
.sat-findings .conf-high { color: #4ade80; }
.sat-findings .conf-moderate { color: #fbbf24; }
.sat-findings .conf-low { color: #94a3b8; }

.sat-order-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--accent, #7ec8ff);
  text-decoration: none;
}
.sat-order-link:hover { text-decoration: underline; }

.sat-poi-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--panel, #111822);
  border: 1px solid var(--border, #243447);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 0.72rem;
}

.sat-poi-legend label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted, #94a3b8);
  cursor: pointer;
  user-select: none;
}

.sat-poi-legend input { accent-color: #2563eb; }

.sat-poi-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sat-page-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border, #243447);
  background: var(--panel, #0f141c);
}

.sat-page-head h1 {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #7ec8ff);
  margin: 0;
}

.sat-snapshot-meta {
  color: var(--muted, #64748b);
  font-size: 0.75rem;
}
