/* ============================================================
   Coulomb Shearing - Site Stylesheet
   ============================================================ */

:root {
  --bg:          #0a0e1a;
  --surface:     #111827;
  --surface2:    #1a2235;
  --border:      #1e3050;
  --accent:      #4a9eff;
  --accent2:     #7cc4ff;
  --text:        #d0dff0;
  --text-muted:  #6b8ab0;
  --pass:        #22c55e;
  --fail:        #ef4444;
  --pending:     #f59e0b;
  --insuff:      #94a3b8;
  --sidebar-w:   220px;
  --header-h:    56px;
  --font-mono:   'Courier New', Courier, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); text-decoration: underline; }

/* ── Top header (branding only) ── */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.site-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-title:hover { color: var(--accent2); text-decoration: none; }

/* ── Body layout: sidebar + main ── */
.site-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* ── Left sidebar navigation ── */
.site-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Top-level nav links */
.nav-link {
  display: block;
  padding: 0.55rem 1.5rem;
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface2);
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(74,158,255,0.08);
}

/* Submenu group */
.nav-group { display: flex; flex-direction: column; }

.nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.5rem;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color 0.15s, background 0.15s;
}

.nav-group-toggle:hover {
  color: var(--text);
  background: var(--surface2);
}

.nav-group-toggle.active {
  color: var(--accent2);
}

.nav-arrow { font-size: 0.75rem; color: var(--text-muted); }

/* Children */
.nav-children {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.15);
}

.nav-children.open { display: flex; }

.nav-child {
  display: block;
  padding: 0.45rem 1.5rem 0.45rem 2.4rem;
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.84rem;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.15s, background 0.15s;
}

.nav-child:hover {
  color: var(--text);
  background: var(--surface2);
  text-decoration: none;
}

.nav-child.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(74,158,255,0.08);
}

/* ── Main content area ── */
main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
}

/* ── Hero (home page) ── */
.hero {
  background: linear-gradient(160deg, #0d1525 0%, #0a0e1a 60%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 3rem 4rem;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--accent2);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  max-width: 680px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); color: #fff; text-decoration: none; }
.btn-secondary { border: 1px solid var(--border); color: var(--text-muted); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Card grid (home page) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.8rem;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--accent); }
.card h3 { color: var(--accent); margin-bottom: 0.6rem; font-size: 1rem; }
.card p  { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.8rem; }

/* ── Standard page content ── */
.page-content {
  max-width: 780px;
  padding: 3.5rem 3rem;
}

.page-content h1 { font-size: 1.9rem; color: var(--accent2); margin-bottom: 1.5rem; }
.page-content h2 { font-size: 1.3rem; color: var(--accent); margin: 2.5rem 0 0.8rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.page-content h3 { font-size: 1.05rem; color: var(--text); margin: 1.8rem 0 0.5rem; }
.page-content p  { margin-bottom: 1.1rem; }
.page-content ul, .page-content ol { margin: 0.5rem 0 1rem 1.5rem; }
.page-content li { margin-bottom: 0.4rem; }

/* Learn page audience badge */
.audience-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 3px;
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.badge-hs   { background: rgba(34,197,94,0.15);  color: var(--pass);    border: 1px solid var(--pass); }
.badge-ug   { background: rgba(74,158,255,0.15); color: var(--accent);  border: 1px solid var(--accent); }
.badge-ms   { background: rgba(245,158,11,0.15); color: var(--pending); border: 1px solid var(--pending); }
.badge-phd  { background: rgba(239,68,68,0.15);  color: var(--fail);    border: 1px solid var(--fail); }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.8rem 3rem;
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  flex-shrink: 0;
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

/* ── Explorer page ── */
.explorer-layout {
  padding: 2.5rem 3rem;
}

.explorer-controls {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
}

.control-group { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; min-width: 220px; }
.control-group label {
  font-family: sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

select, input[type="text"] {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  padding: 0.55rem 0.8rem;
  font-size: 0.95rem;
  font-family: Georgia, serif;
  width: 100%;
}

select:focus, input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 0.15rem;
}

.toggle-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }

/* Object detail */
.object-detail { display: none; }
.object-detail.visible { display: block; }

.detail-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}

.detail-header h2 { font-size: 1.5rem; color: var(--accent2); margin-bottom: 0.3rem; }
.detail-header .object-type { color: var(--text-muted); font-family: sans-serif; font-size: 0.88rem; margin-bottom: 1rem; }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.meta-item label {
  display: block;
  font-family: sans-serif;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.meta-item .value { font-family: var(--font-mono); font-size: 0.88rem; }

/* Outcome badge */
.outcome-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  font-family: sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcome-PASS             { background: rgba(34,197,94,0.15);  color: var(--pass);    border: 1px solid var(--pass); }
.outcome-FAIL             { background: rgba(239,68,68,0.15);  color: var(--fail);    border: 1px solid var(--fail); }
.outcome-PENDING          { background: rgba(245,158,11,0.15); color: var(--pending); border: 1px solid var(--pending); }
.outcome-DATA_INSUFFICIENT { background: rgba(148,163,184,0.15); color: var(--insuff); border: 1px solid var(--insuff); }

/* Collapsible sections */
.detail-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.detail-section-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.detail-section-header h3 {
  color: var(--accent);
  font-size: 0.95rem;
  font-family: sans-serif;
  font-weight: 600;
}

.detail-section-header .chevron { color: var(--text-muted); transition: transform 0.2s; }
.detail-section-header.open .chevron { transform: rotate(180deg); }

.detail-section-body { padding: 1.5rem; display: none; }
.detail-section-body.open { display: block; }

/* Input table */
.input-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.input-table th {
  text-align: left;
  font-family: sans-serif;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--border);
}
.input-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(30,48,80,0.5);
  vertical-align: top;
}
.input-table tr:last-child td { border-bottom: none; }
.input-table .sym { font-family: var(--font-mono); color: var(--accent2); }
.input-table .val { font-family: var(--font-mono); }
.input-table .required { color: var(--pass); font-size: 0.7rem; font-family: sans-serif; }

/* Source blocks */
.source-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 0.84rem;
}

.source-block .source-title {
  font-family: sans-serif;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.source-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.source-row span { color: var(--text-muted); font-size: 0.8rem; }
.source-row .source-val { color: var(--text); }

/* Identifiers */
.id-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
}

.id-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem;
}

.id-item .id-label {
  font-family: sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.id-item .id-value { font-family: var(--font-mono); font-size: 0.86rem; }
.id-item .id-value.missing { color: var(--text-muted); font-style: italic; }

/* Sky viewer */
.sky-embed {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Completeness bar */
.completeness-bar {
  background: var(--border);
  border-radius: 3px;
  height: 6px;
  width: 100px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.completeness-fill { height: 100%; background: var(--accent); border-radius: 3px; }

/* States */
.state-msg {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-family: sans-serif;
}
.state-msg.error { color: var(--fail); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-sidebar {
    display: none;  /* on mobile, sidebar hidden - could add a hamburger later */
  }

  .hero { padding: 3rem 1.5rem 2.5rem; }
  .card-grid { padding: 2rem 1.5rem; }
  .page-content { padding: 2rem 1.5rem; }
  .explorer-layout { padding: 1.5rem; }
}

/* ============================================================
   Mobile navigation - hamburger menu for portrait mode
   ============================================================ */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  /* Show hamburger button in header */
  .nav-toggle {
    display: block;
  }

  /* Sidebar becomes a full-width overlay drawer */
  .site-sidebar {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 260px;
    height: calc(100vh - var(--header-h));
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,0.4);
  }

  .site-sidebar.open {
    transform: translateX(0);
  }

  /* Backdrop */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(0,0,0,0.55);
    z-index: 199;
  }

  .nav-backdrop.open {
    display: block;
  }

  /* Main content takes full width */
  .site-layout {
    flex-direction: column;
  }

  main {
    width: 100%;
  }

  .hero { padding: 2.5rem 1.5rem 2rem; }
  .card-grid { padding: 1.5rem; gap: 1rem; }
  .page-content { padding: 2rem 1.5rem; }
  .explorer-layout { padding: 1.5rem 1rem; }
}

/* ============================================================
   Explorer page - scientific object display
   ============================================================ */

/* Tab strip */
.tab-strip {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
  overflow-x: auto;
  flex-shrink: 0;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.2rem;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; padding: 1.5rem; }
.tab-panel.active { display: block; }

/* Overview grid */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* Data card (reusable panel within tabs) */
.data-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.data-card-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}

.data-card-body { padding: 1rem; }

/* Key-value rows inside data cards */
.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(30,48,80,0.4);
  font-size: 0.88rem;
}

.kv-row:last-child { border-bottom: none; }
.kv-key { color: var(--text-muted); font-family: sans-serif; font-size: 0.8rem; flex-shrink: 0; }
.kv-val { font-family: var(--font-mono); text-align: right; color: var(--text); }
.kv-val.missing { color: var(--text-muted); font-style: italic; font-family: Georgia, serif; }

/* Sky viewer */
.sky-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #050810;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.sky-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.sky-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.85rem;
  flex-direction: column;
  gap: 0.5rem;
}

/* Input rows - scientific inputs table */
.input-entry {
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.input-entry-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 1rem;
  flex-wrap: wrap;
}

.input-symbol {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent2);
  flex-shrink: 0;
}

.input-meaning {
  color: var(--text);
  font-size: 0.88rem;
  flex: 1;
}

.eligibility-tag {
  font-family: sans-serif;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pass);
  border: 1px solid var(--pass);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  flex-shrink: 0;
}

.input-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.input-value-cell {
  padding: 0.7rem 1rem;
  border-right: 1px solid var(--border);
}

.input-value-cell:last-child { border-right: none; }

.input-value-label {
  font-family: sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.input-value-data {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text);
}

.input-value-data.missing {
  color: var(--text-muted);
  font-style: italic;
  font-family: Georgia, serif;
}

.conversion-chain {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 0.6rem 1rem;
}

/* Source ledger entries */
.source-ledger {
  border-top: 1px solid var(--border);
}

.source-entry {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(30,48,80,0.4);
  font-size: 0.83rem;
}

.source-entry:last-child { border-bottom: none; }

.source-entry-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.source-tier {
  font-family: sans-serif;
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.tier-1 { background: rgba(34,197,94,0.15); color: var(--pass); border: 1px solid var(--pass); }
.tier-2 { background: rgba(245,158,11,0.15); color: var(--pending); border: 1px solid var(--pending); }
.tier-3 { background: rgba(148,163,184,0.15); color: var(--insuff); border: 1px solid var(--insuff); }

.source-selected {
  font-family: sans-serif;
  font-size: 0.68rem;
  color: var(--pass);
  border: 1px solid var(--pass);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
}

.source-provenance {
  color: var(--text-muted);
  font-family: sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
}

.source-value-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.source-value-item { font-size: 0.8rem; }
.source-value-item .svl { color: var(--text-muted); font-family: sans-serif; font-size: 0.72rem; }
.source-value-item .svv { font-family: var(--font-mono); color: var(--text); }

/* Species outcomes */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.species-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1rem;
}

.species-card.window-open { border-color: rgba(34,197,94,0.5); }
.species-card.window-closed { border-color: rgba(239,68,68,0.3); }

.species-name {
  font-family: sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.window-status {
  font-size: 0.72rem;
  font-family: sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.window-open-badge { background: rgba(34,197,94,0.15); color: var(--pass); }
.window-closed-badge { background: rgba(239,68,68,0.15); color: var(--fail); }

/* P1-P5 observable predictions */
.prediction-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(30,48,80,0.4);
}

.prediction-row:last-child { border-bottom: none; }

.prediction-label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent2);
  flex-shrink: 0;
  width: 2.5rem;
}

.prediction-content { flex: 1; }
.prediction-name { font-size: 0.88rem; font-weight: bold; color: var(--text); margin-bottom: 0.2rem; }
.prediction-desc { font-size: 0.83rem; color: var(--text-muted); }

.prediction-outcome {
  flex-shrink: 0;
}

/* Completeness ring/bar */
.completeness-display {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.completeness-pct {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent);
}

.completeness-detail {
  font-family: sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
}
