/**
 * SignalTerrain Cyber Live — Product Recovery shell styles
 * Dense, calm, professional — no hacker theatrics.
 */

.st-live-app {
  --st-ink: #1c1f24;
  --st-muted: #5c6570;
  --st-line: #d5d8de;
  --st-bg: #f4f5f7;
  --st-panel: #ffffff;
  --st-accent: #2f5d50;
  --st-imm: #7a2e2e;
  --st-high: #7a5a1e;
  max-width: 72rem;
  margin: 0 auto;
  color: var(--st-ink);
  font-family: "IBM Plex Sans", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.st-live-app .st-cyber-peers a[href*="teaching"],
.st-live-app .st-cyber-peers a[href*="brief.html"],
.st-live-app .st-cyber-peers a[href*="explorer"],
.st-live-app .st-cyber-peers a[href*="advisor"],
.st-live-app .st-cyber-peers a[href*="knowledge"] {
  opacity: 0.55;
  font-size: 0.85em;
}

.st-live-shell {
  display: grid;
  grid-template-columns: minmax(10rem, 12.5rem) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
}

.st-live-nav {
  position: sticky;
  top: 0.5rem;
  background: var(--st-panel);
  border: 1px solid var(--st-line);
  border-radius: 6px;
  padding: 0.5rem 0;
}

.st-live-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-live-nav a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: var(--st-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
}

.st-live-nav a:hover {
  color: var(--st-ink);
  background: #f0f2f4;
}

.st-live-nav a[aria-current="page"] {
  color: var(--st-ink);
  border-left-color: var(--st-accent);
  background: #eef3f1;
}

.st-live-main {
  min-width: 0;
  background: var(--st-panel);
  border: 1px solid var(--st-line);
  border-radius: 6px;
  padding: 1rem 1.15rem 1.35rem;
  min-height: 24rem;
}

.st-live-brief {
  border-bottom: 1px solid var(--st-line);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.st-live-brief__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-accent);
  font-weight: 600;
}

.st-live-brief__title {
  margin: 0.25rem 0 0;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.st-live-brief__meta {
  margin: 0.35rem 0 0;
  color: var(--st-muted);
  font-size: 0.85rem;
}

.st-live-brief__list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.st-live-brief__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
  border-top: 1px solid #eceef1;
  font-size: 0.98rem;
}

.st-live-brief__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: var(--st-accent);
}

.st-live-brief__rec {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  background: #eef3f1;
  border-left: 3px solid var(--st-accent);
  font-size: 0.92rem;
}

.st-live-trust {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--st-line);
  padding: 0.12rem 0.35rem;
  vertical-align: middle;
}

.st-live-card {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--st-line);
}

.st-live-card h3 {
  font-size: 1.02rem;
  margin: 0.3rem 0;
  font-weight: 600;
}

.st-live-card h3 a {
  color: inherit;
  text-decoration: none;
}

.st-live-card h3 a:hover {
  text-decoration: underline;
}

.st-live-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.st-live-band {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--st-line);
  padding: 0.1rem 0.35rem;
  color: var(--st-muted);
  font-weight: 600;
}

.st-live-band--immediate {
  color: var(--st-imm);
  border-color: #e0b4b4;
  background: #faf0f0;
}

.st-live-band--high {
  color: var(--st-high);
  border-color: #e0d0a0;
  background: #faf6ea;
}

.st-live-band--monitor {
  color: #2f5348;
  border-color: #b0c4bc;
  background: #eef4f1;
}

.st-live-meta {
  list-style: none;
  padding: 0;
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: var(--st-muted);
}

.st-live-meta li {
  margin: 0.2rem 0;
}

.st-live-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.st-live-lead {
  margin: 0 0 0.85rem;
  color: var(--st-muted);
  font-size: 0.92rem;
}

.st-health-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.st-health-table th,
.st-health-table td {
  border-top: 1px solid var(--st-line);
  padding: 0.5rem 0.35rem;
  text-align: left;
  vertical-align: top;
}

.st-live-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.st-live-stat {
  border: 1px solid var(--st-line);
  border-radius: 4px;
  padding: 0.55rem 0.65rem;
  background: #fafbfc;
}

.st-live-stat strong {
  display: block;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.st-live-stat span {
  font-size: 0.75rem;
  color: var(--st-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.st-ws-form {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  max-width: 36rem;
}

.st-ws-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--st-muted);
}

.st-ws-form input,
.st-ws-form select {
  font: inherit;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--st-line);
  border-radius: 4px;
  color: var(--st-ink);
  background: #fff;
}

.st-detail-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.st-detail-block {
  border-top: 1px solid var(--st-line);
  padding-top: 0.65rem;
}

.st-detail-block h2 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-muted);
  font-weight: 600;
}

.st-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--st-muted);
}

.st-live-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--st-line);
  font-size: 0.84rem;
  color: var(--st-muted);
}

.st-live-noise-toggle {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  cursor: pointer;
  color: var(--st-ink);
}

.st-live-action {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--st-line);
  padding: 0.1rem 0.35rem;
  color: var(--st-muted);
  font-weight: 600;
}

.st-live-action--urgent {
  color: var(--st-imm);
  border-color: #e0b4b4;
  background: #faf0f0;
}

.st-live-action--soon {
  color: var(--st-high);
  border-color: #e0d0a0;
  background: #faf6ea;
}

.st-live-action--quiet {
  color: #6a7280;
  background: #f3f4f6;
}

.st-live-card--noise {
  opacity: 0.72;
}

.st-briefing-pack {
  border-top: 1px solid var(--st-line);
  padding: 1rem 0 0.5rem;
  margin-top: 0.75rem;
}

.st-briefing-pack h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.st-briefing-pack h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-muted);
  font-weight: 600;
}

.st-timeline {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.st-timeline li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid #eceef1;
  font-size: 0.9rem;
}

.st-timeline time {
  color: var(--st-muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
}

.st-live-trends-snip {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--st-line);
}

.st-loading {
  padding: 1.5rem;
  color: var(--st-muted);
}

@media (max-width: 800px) {
  .st-live-shell {
    grid-template-columns: 1fr;
  }

  .st-live-nav {
    position: static;
  }

  .st-live-nav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .st-live-nav ul::-webkit-scrollbar {
    display: none;
  }

  .st-live-nav a {
    border-left: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .st-live-nav a[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--st-accent);
  }

  .st-live-nav a {
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
  }
}

.st-live-trust-strip {
  margin: 0.75rem 0 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  background: #f8f9fb;
  font-size: 0.88rem;
  color: var(--st-muted);
}

.st-live-trust-strip p {
  margin: 0.25rem 0;
}

.st-live-brief__question {
  margin: 0.25rem 0 0.65rem;
  color: var(--st-muted);
  font-size: 1.02rem;
}

.st-live-brief__why {
  color: var(--st-muted);
  font-size: 0.92em;
}

.st-live-band-block {
  margin: 1.25rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--st-line);
}

.st-live-band-block__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.st-live-band-block__why {
  margin: 0 0 0.75rem;
  color: var(--st-muted);
  font-size: 0.9rem;
}

.st-live-lowpri {
  margin-top: 1.25rem;
  padding: 0.75rem 0.85rem;
  background: #f8f9fb;
  border: 1px solid var(--st-line);
  border-radius: 6px;
}
