/* map.css — Phase 5 US footprint view */

.kpi-row-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.chart-lg { height: 560px; }

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}
.lg-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: middle;
}
.lg-dot.lg-ring {
  box-shadow: 0 0 0 2px #dc2626;
  background: #ffffff !important;
  border-color: #dc2626;
}
.lg-lbl {
  color: var(--text);
  font-weight: 500;
}

#site-table td,
#site-table th {
  font-size: 12.5px;
  padding: 7px 10px;
}
#site-table td.c-size {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.st-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 11px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.st-pill.operational  { background: #dcfce7; color: #15803d; }
.st-pill.jv           { background: #dbeafe; color: #1d4ed8; }
.st-pill.divesting    { background: #fee2e2; color: #b91c1c; }

td.fn-h2        { color: #0891b2; font-weight: 600; }
td.fn-mfg       { color: #1d4ed8; font-weight: 600; }
td.fn-rd        { color: #d97706; font-weight: 600; }
td.fn-svc       { color: #64748b; font-weight: 600; }

/* Forward Pipeline panel */
.pipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 6px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .pipe-grid { grid-template-columns: 1fr; }
}
.pipe-col {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pipe-col.pipe-active { border-top: 3px solid #15803d; }
.pipe-col.pipe-pause  { border-top: 3px solid #d97706; }
.pipe-col.pipe-dead   { border-top: 3px solid #64748b; }

.pipe-hdr {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.pipe-active .pipe-hdr { color: #15803d; }
.pipe-pause  .pipe-hdr { color: #b45309; }
.pipe-dead   .pipe-hdr { color: #475569; }

.pipe-item {
  font-size: 12.5px;
  color: var(--text);
}
.pipe-name {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}
.pipe-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  font-style: italic;
}
.pipe-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
}

/* DOE four-question grid */
.doe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .doe-grid { grid-template-columns: 1fr; }
}
.doe-cell {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fafbfc;
}
.doe-q {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text);
  margin-bottom: 6px;
}
.doe-a {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
