:root {
  --atlas-navy: #102a43;
  --atlas-blue: #2563eb;
  --atlas-blue-soft: #eef5ff;
  --atlas-teal: #0891b2;
  --atlas-yellow: #b45309;
  --atlas-yellow-soft: #fff7e6;
  --atlas-grey: #64748b;
  --atlas-grey-soft: #f1f5f9;
  --atlas-risk: #b42318;
  --atlas-focus: #93c5fd;
  --atlas-surface: rgba(255, 255, 255, .92);
  --atlas-surface-strong: #ffffff;
  --atlas-hairline: rgba(148, 163, 184, .32);
  --atlas-shadow-soft: 0 18px 48px rgba(16, 42, 67, .075);
  --atlas-shadow-lift: 0 24px 64px rgba(16, 42, 67, .12);
  --atlas-radius-xl: 22px;
}

body {
  background:
    radial-gradient(circle at 7% 0%, rgba(37, 99, 235, .085), transparent 28rem),
    radial-gradient(circle at 94% 8%, rgba(8, 145, 178, .10), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #f7fafc 42%, #f4f8fa 100%);
}

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--atlas-focus);
  outline-offset: 3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom-color: rgba(203, 213, 225, .82);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 34px rgba(16, 42, 67, .055);
  backdrop-filter: blur(18px);
}

.button,
.view-toggle,
.atlas-nav > a,
.searchbox,
.atlas-query-panel button {
  min-height: 44px;
}

.button {
  border: 1px solid rgba(8, 145, 178, .26);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #0891b2 0%, #0f766e 100%);
  box-shadow: 0 10px 22px rgba(8, 145, 178, .16);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(8, 145, 178, .22);
}

.button.secondary {
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 18px rgba(16, 42, 67, .055);
}

.atlas-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0 14px;
}

.atlas-brand {
  display: inline-flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.atlas-brand strong {
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1;
  letter-spacing: -.035em;
  text-shadow: 0 10px 28px rgba(16, 42, 67, .08);
}

.atlas-brand strong > span {
  display: inline;
  margin: 0 0 0 7px;
  color: var(--atlas-teal);
  font-size: .48em;
  letter-spacing: -.02em;
  vertical-align: .08em;
}

.atlas-brand span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.atlas-brand .atlas-expansion {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 760;
}

.atlas-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.nav-utility {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  padding: 7px 12px;
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16, 42, 67, .045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.nav-utility:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  background: #f8fbff;
  color: var(--atlas-blue);
}

.nav-utility.release-candidate {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.view-toggle {
  border: 1px solid #9cb9cc;
  border-radius: 999px;
  background: #fff;
  padding: 7px 12px;
  color: var(--atlas-navy);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.view-toggle[aria-pressed="true"] {
  background: var(--atlas-navy);
  color: #fff;
}

.atlas-release-strip {
  border-top: 1px solid var(--line);
  background: rgba(245, 248, 249, .88);
  backdrop-filter: blur(12px);
}

.atlas-release-strip .wrap {
  display: block;
  padding: 8px 0;
}

.release-summary-menu {
  color: #4e5d66;
  font-size: 11px;
}

.release-summary-menu summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.release-summary-menu summary::-webkit-details-marker {
  display: none;
}

.release-summary-menu summary::after {
  content: "Details";
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  padding: 2px 7px;
  color: var(--atlas-navy);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.release-summary-menu[open] summary::after {
  content: "Hide";
}

.release-summary-menu summary > span {
  border-right: 1px solid #cbd7dc;
  padding-right: 8px;
  color: #4e5d66;
  font-size: 11px;
  font-weight: 760;
}

.release-summary-menu summary > span:last-of-type {
  border-right: 0;
}

.release-summary-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.release-summary-details span {
  border: 1px solid #d8e5eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  padding: 3px 8px;
  color: #475569;
  font-size: 11px;
}

.atlas-nav {
  position: relative;
  align-items: center;
  gap: 8px;
}

.benchmark-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.benchmark-route-grid > a {
  min-height: 270px;
}

.vcc-official-source-card {
  margin: 18px 0;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fbff, #eff6ff);
  padding: 20px;
}

.vcc-official-source-card > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.vcc-official-source-card > div span,
.vcc-official-source-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.vcc-official-source-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.vcc-official-source-card dl > div {
  min-width: 0;
  border: 1px solid rgba(191, 219, 254, .8);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  padding: 12px;
}

.vcc-official-source-card dd {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
}

.release-dependency-graph {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  border: 1px solid #dbe6ee;
  border-radius: 18px;
  background: #f8fafc;
  padding: 20px;
}

.release-dependency-root {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  border: 1px solid #93c5fd;
  border-radius: 14px;
  background: #eff6ff;
  padding: 14px;
  text-align: center;
}

.release-dependency-root::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 19px;
  background: #93c5fd;
  content: "";
}

.release-dependency-root span,
.release-dependency-branches span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.release-dependency-root small,
.release-dependency-branches small {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 5px;
  color: var(--muted);
}

.release-dependency-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.release-dependency-branches > div {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.atlas-nav > a {
  border-radius: 999px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

.atlas-nav > a:hover {
  transform: translateY(-1px);
  background: #f8fbff;
}

.audit-menu {
  margin: 0;
  border: 0;
  background: transparent;
  position: relative;
}

.audit-menu summary {
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 780;
  list-style: none;
  cursor: pointer;
}

.audit-menu summary::-webkit-details-marker {
  display: none;
}

.audit-menu[open] summary {
  border-color: #93c5fd;
  background: #f8fbff;
}

.audit-menu .audit-links {
  position: absolute;
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 230px;
  gap: 4px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(16, 42, 67, .12);
}

.audit-menu .audit-links a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--atlas-navy);
  font-size: 13px;
}

.atlas-ceiling-strip {
  border-top: 1px solid #e7edf3;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
}

.atlas-ceiling-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  font-size: 12px;
}

.atlas-ceiling-strip strong {
  color: var(--atlas-navy);
}

.atlas-ceiling-strip span {
  border: 1px solid #dbe6ee;
  border-radius: 999px;
  background: #f8fafc;
  padding: 3px 8px;
  color: #475569;
  font-weight: 720;
}

.atlas-ceiling-strip a {
  margin-left: auto;
  font-weight: 780;
}

.atlas-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 26px;
  border: 1px solid #cbdce6;
  border-radius: var(--atlas-radius-xl);
  background:
    radial-gradient(circle at 7% 14%, rgba(255, 255, 255, .78), transparent 18%),
    radial-gradient(circle at 92% 8%, rgba(71, 153, 161, .19), transparent 34%),
    linear-gradient(145deg, #fff 0%, #f3f9fb 62%, #edf7f5 100%);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--atlas-shadow-soft);
}

.atlas-hero::after,
.workbench-product-hero::after {
  content: "";
  position: absolute;
  inset: auto 26px 22px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(37, 99, 235, .15), transparent 62%);
  pointer-events: none;
}

.atlas-hero > *,
.workbench-product-hero > * {
  position: relative;
  z-index: 1;
}

.atlas-hero h2 {
  max-width: 780px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: .98;
  letter-spacing: -.052em;
  color: var(--atlas-navy);
}

.atlas-hero .lede {
  max-width: 740px;
  font-size: 18px;
}

.workbench-product-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 20px;
  align-items: stretch;
  border: 1px solid var(--atlas-hairline);
  border-radius: var(--atlas-radius-xl);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, .78), transparent 20%),
    radial-gradient(circle at 86% 12%, rgba(22, 119, 111, .18), transparent 30%),
    radial-gradient(circle at 8% 100%, rgba(47, 111, 165, .13), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f3f8fb 58%, #edf7f5 100%);
  padding: clamp(22px, 4.5vw, 46px);
  box-shadow: var(--atlas-shadow-soft);
}

.workbench-hero-copy h2 {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--atlas-navy);
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: .98;
  letter-spacing: -.052em;
}

.workbench-hero-copy .lede {
  max-width: 780px;
  color: #334b5b;
  font-size: 18px;
}

.evidence-ceiling {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 11px;
  align-items: center;
  max-width: 890px;
  margin: 18px 0;
  border: 1px solid #d8c38f;
  border-radius: 999px;
  background: rgba(255, 247, 230, .92);
  padding: 9px 12px;
  color: #60430c;
  font-size: 13px;
}

.evidence-ceiling strong {
  color: #3c2a07;
}

.evidence-ceiling a {
  margin-left: auto;
  color: #4f3a8b;
  font-weight: 780;
}

.evidence-ceiling-home {
  border-color: #cbd5e1;
  background: rgba(255, 255, 255, .88);
  color: #334155;
}

.ceiling-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  padding: 3px 8px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 780;
}

.ceiling-badge.locked {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

.project-panel,
.workbench-panel,
.rail-card {
  border: 1px solid var(--atlas-hairline);
  border-radius: 18px;
  background: var(--atlas-surface);
  box-shadow: var(--atlas-shadow-soft);
  backdrop-filter: blur(10px);
}

.project-panel {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.project-panel h3 {
  margin: 0 0 8px;
  color: var(--atlas-navy);
  font-size: 28px;
  letter-spacing: -.035em;
}

.project-id-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 10px;
}

.project-id-row code {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  padding: 4px 8px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 820;
}

.project-id-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
}

.project-meta-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 4px;
}

.project-meta-list div {
  border-left: 3px solid #bfdbfe;
  border-radius: 10px;
  background: rgba(248, 251, 255, .86);
  padding: 8px 10px;
}

.project-meta-list span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.project-meta-list strong {
  display: block;
  margin-top: 3px;
  color: var(--atlas-navy);
  font-size: 13px;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.project-metrics div {
  border: 1px solid rgba(216, 229, 235, .86);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f7fbfc);
  padding: 12px;
  box-shadow: 0 8px 20px rgba(16, 42, 67, .04);
}

.project-metrics span,
.rail-status-list span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.project-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--atlas-navy);
  font-size: 25px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.workbench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.workbench-main,
.workbench-context-rail {
  display: grid;
  gap: 16px;
}

.workbench-context-rail {
  position: sticky;
  top: 14px;
}

.workbench-panel,
.rail-card {
  padding: clamp(18px, 3vw, 24px);
}

.section-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 2px 0 0;
}

.text-link {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 780;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.status-chip.observed {
  background: #e5f2fb;
  color: #215f8d;
}

.status-chip.pending {
  background: var(--atlas-yellow-soft);
  color: #76500c;
}

.status-chip.locked {
  background: #edf0f1;
  color: #56646b;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
}

.quick-action-grid.action-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-action-card {
  display: flex;
  min-height: 184px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .055);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow: var(--atlas-shadow-lift);
}

.quick-action-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eff6ff;
  padding: 3px 8px;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 880;
  letter-spacing: .06em;
}

.quick-action-card strong {
  display: block;
  margin-top: 16px;
  color: var(--atlas-navy);
  font-size: 18px;
  line-height: 1.15;
}

.quick-action-card small {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.quick-action-card.primary {
  border-color: rgba(8, 145, 178, .35);
  background:
    radial-gradient(circle at 90% 0%, rgba(8, 145, 178, .14), transparent 7rem),
    linear-gradient(145deg, #ffffff 0%, #eef8f6 100%);
}

.quick-action-card.disabled {
  border-color: #d8e1e7;
  background: #f8fafc;
}

.quick-action-card.disabled span {
  background: #e2e8f0;
  color: #64748b;
}

.quick-action-registry-link {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
}

.quick-action-registry-link a {
  font-weight: 820;
}

.gene-list-box span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--atlas-navy);
}

.gene-list-box textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid #b8c9d0;
  border-radius: 12px;
  background: #fbfdfe;
  padding: 12px;
  font: inherit;
}

.quick-action-stack {
  display: grid;
  align-content: start;
  gap: 9px;
}

.evidence-funnel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.evidence-funnel-step {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(200, 219, 229, .92);
  border-radius: 16px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .052);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.evidence-funnel-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--atlas-blue);
  font-size: 20px;
  font-weight: 900;
}

.evidence-funnel-step:hover {
  transform: translateY(-2px);
  border-color: #83b0cb;
  box-shadow: var(--atlas-shadow-lift);
}

.evidence-funnel-step strong {
  color: var(--atlas-navy);
  font-size: clamp(30px, 4.8vw, 46px);
  line-height: .9;
}

.evidence-funnel-step span {
  color: #253f50;
  font-weight: 760;
}

.evidence-funnel-step small {
  color: var(--muted);
}

.evidence-funnel-step.observed {
  border-top: 6px solid var(--atlas-blue);
  background: linear-gradient(180deg, #fff, #eef6fb);
}

.evidence-funnel-step.context {
  border-top: 6px solid var(--atlas-teal);
  background: linear-gradient(180deg, #fff, #eef8f6);
}

.evidence-funnel-step.locked {
  border-top: 6px solid #aab5ba;
  background: linear-gradient(180deg, #fff, #f1f4f5);
}

.fidelity-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.fidelity-step {
  position: relative;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.fidelity-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  right: -11px;
  width: 12px;
  height: 2px;
  background: #b7cad4;
}

.fidelity-step summary {
  cursor: pointer;
  list-style: none;
}

.fidelity-step summary::-webkit-details-marker {
  display: none;
}

.fidelity-step summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--atlas-grey-soft);
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 850;
}

.fidelity-step summary strong {
  display: block;
  margin-top: 9px;
  color: var(--atlas-navy);
}

.fidelity-step p {
  margin-bottom: 0;
  color: #526570;
  font-size: 13px;
}

.fidelity-step.supported {
  border-top: 5px solid var(--atlas-blue);
}

.fidelity-step.supported summary span {
  background: #e5f2fb;
}

.fidelity-step.partial {
  border-top: 5px solid var(--atlas-teal);
}

.fidelity-step.partial summary span {
  background: #e3f3f0;
}

.fidelity-step.locked {
  border-top: 5px solid #aab5ba;
  background: var(--atlas-grey-soft);
}

.fidelity-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 68px repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.fidelity-timeline .fidelity-step {
  color: inherit;
  text-decoration: none;
}

.fidelity-timeline .fidelity-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--atlas-grey-soft);
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 850;
}

.fidelity-timeline .fidelity-step strong,
.fidelity-timeline .fidelity-step em {
  display: block;
  margin-top: 8px;
}

.fidelity-timeline .fidelity-step em {
  color: var(--atlas-blue);
  font-style: normal;
  font-weight: 850;
}

.fidelity-timeline .fidelity-step.supported span { background: #e5f2fb; }
.fidelity-timeline .fidelity-step.partial span { background: #e3f3f0; }
.fidelity-timeline .fidelity-step.locked span { background: #e2e8f0; }

.fidelity-break {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
}

.fidelity-break small {
  display: block;
  margin-top: -18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fidelity-break-note {
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  margin: 14px 0 0;
  padding: 12px 14px;
  color: #1e3a5f;
  font-size: 13px;
}

.fidelity-break-note strong {
  color: #1d4ed8;
}

.table-scroll {
  overflow-x: auto;
}

.capability-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.capability-matrix th,
.capability-matrix td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.capability-matrix thead th {
  color: var(--atlas-navy);
  font-size: 11px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.capability-matrix tbody th {
  color: var(--atlas-navy);
}

.rail-status-list,
.readiness-stack {
  display: grid;
  gap: 10px;
}

.rail-status-list div,
.readiness-row {
  border: 1px solid #d8e5eb;
  border-radius: 12px;
  background: #f8fbfc;
  padding: 11px;
}

.rail-status-list strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--atlas-navy);
}

.rail-status-list small,
.readiness-row small,
.rail-note {
  color: var(--muted);
}

.readiness-row {
  border-left: 5px solid #aab5ba;
}

.readiness-row.ready {
  border-left-color: var(--atlas-blue);
  background: #f2f8fc;
}

.readiness-row.locked {
  background: var(--atlas-grey-soft);
}

.readiness-row span {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 850;
}

.readiness-row strong {
  display: block;
  font-size: 12px;
}

.rail-note {
  font-size: 12px;
}

.rail-checklist {
  margin: 12px 0 0;
  padding-left: 18px;
}

.rail-checklist li {
  margin: 6px 0;
}

.atlas-query-panel {
  border: 1px solid rgba(47, 111, 165, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .91);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(23, 50, 77, .08);
}

.atlas-query-panel textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid #b9c6ca;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.atlas-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.atlas-task-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--atlas-hairline);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(8, 145, 178, .08), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  padding: 20px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 42, 67, .058);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.atlas-task-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--atlas-blue);
}

.atlas-task-card:hover {
  border-color: #94b8ce;
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--atlas-shadow-lift);
}

.atlas-task-card.primary-task {
  min-height: 210px;
  box-shadow: 0 16px 38px rgba(16, 42, 67, .07);
}

.atlas-task-card.primary-task::before {
  width: 46px;
  background: var(--atlas-teal);
}

.task-tier-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 14px;
  margin-top: 16px;
}

.task-tier {
  border: 1px solid var(--atlas-hairline);
  border-radius: 17px;
  background: rgba(255, 255, 255, .90);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(16, 42, 67, .052);
  backdrop-filter: blur(10px);
}

.task-tier a {
  display: grid;
  gap: 2px;
  border-top: 1px solid #e5edf2;
  padding: 11px 0;
  color: inherit;
  text-decoration: none;
}

.task-tier a:first-of-type { border-top: 0; }

.task-tier a strong { color: var(--atlas-navy); }

.task-tier a span {
  color: var(--muted);
  font-size: 13px;
}

.governance-tier { background: #f8fafc; }

.example-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.example-pills a {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  padding: 7px 12px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.research-funnel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.research-funnel > div,
.research-funnel > a {
  position: relative;
  min-height: 112px;
  border: 1px solid #b9d2df;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #eef7fa);
  padding: 16px;
}

.research-funnel > div:not(:last-child)::after,
.research-funnel > a:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 40%;
  right: -18px;
  color: var(--atlas-blue);
  font-weight: 800;
}

.research-funnel strong,
.research-funnel span,
.research-funnel small {
  display: block;
}

.research-funnel strong {
  color: var(--atlas-navy);
  font-size: clamp(24px, 4vw, 38px);
}

.research-funnel span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.research-funnel small {
  margin-top: 10px;
  color: #475569;
  font-size: 12px;
}

.research-funnel .locked {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.evidence-ladder-brand > a {
  min-height: 148px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.evidence-ladder-brand > a:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 16px 34px rgba(16, 42, 67, .08);
}

.evidence-ladder-brand .genes,
.evidence-ladder-brand .perturbations {
  grid-column: span 2;
}

.evidence-ladder-brand .hypotheses,
.evidence-ladder-brand .context,
.evidence-ladder-brand .locked {
  min-height: 128px;
}

.evidence-ladder-brand .genes strong {
  font-size: clamp(34px, 6vw, 54px);
}

.evidence-ladder-brand .perturbations strong {
  font-size: clamp(30px, 5vw, 48px);
}

.visual-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.visual-funnel .evidence-funnel-step {
  width: min(100%, var(--funnel-w, 100%));
  min-height: 82px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.visual-funnel .evidence-funnel-step::after {
  display: none;
}

.visual-funnel .evidence-funnel-step strong {
  font-size: clamp(28px, 4.6vw, 42px);
}

.funnel-conversion {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.research-funnel.lifecycle {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.research-funnel.lifecycle strong {
  font-size: 18px;
}

.lifecycle-count-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.lifecycle-count-rail > div {
  position: relative;
  border: 1px solid #d8e5eb;
  border-radius: 14px;
  background: #f8fafc;
  padding: 15px;
  color: #475569;
}

.lifecycle-count-rail > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 44%;
  right: -17px;
  color: #94a3b8;
  font-weight: 900;
}

.lifecycle-count-rail .active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.lifecycle-count-rail strong,
.lifecycle-count-rail span,
.lifecycle-count-rail small {
  display: block;
}

.lifecycle-count-rail strong {
  font-size: 12px;
  letter-spacing: .05em;
}

.lifecycle-count-rail span {
  margin: 6px 0 2px;
  color: var(--atlas-navy);
  font-size: 34px;
  font-weight: 850;
}

.object-identity,
.repro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 16px;
}

.object-state,
.repro-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .035em;
}

.object-state.draft,
.repro-badge.pending {
  background: var(--atlas-yellow-soft);
  color: #76500c;
}

.repro-badge.pass {
  background: #e7f5f2;
  color: #12645d;
}

.repro-badge.partial {
  background: #f3eefc;
  color: #5f359f;
}

.plain-result {
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--atlas-blue);
  border-radius: 0 16px 16px 0;
  background:
    linear-gradient(145deg, #f8fbff 0%, var(--atlas-blue-soft) 100%);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .075);
}

.plain-result p {
  max-width: 920px;
  font-size: 18px;
  color: #314758;
}

.atlas-status-bar {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--atlas-hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, .90);
  padding: 11px 13px;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .045);
  backdrop-filter: blur(10px);
}

.atlas-status-bar strong {
  color: var(--atlas-navy);
}

.benchmark-figure-suite {
  display: grid;
  gap: 16px;
  border: 1px solid var(--atlas-hairline);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, .09), transparent 30%),
    linear-gradient(145deg, #fff, #f4f9fb);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--atlas-shadow-soft);
}

.benchmark-figure-suite > div:first-child p:not(.eyebrow) {
  max-width: 900px;
  color: #475569;
}

.benchmark-figure-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--atlas-hairline);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--atlas-shadow-soft);
}

.benchmark-figure-card img {
  display: block;
  width: 100%;
  height: auto;
}

.benchmark-figure-card figcaption {
  border-top: 1px solid #e2e8f0;
  padding: 11px 14px;
  color: #475569;
  font-size: 13px;
}

.vcc-readiness {
  display: grid;
  gap: 18px;
  margin: 0 0 46px;
  border: 1px solid #cddde6;
  border-radius: 24px;
  background:
    radial-gradient(circle at 96% 4%, rgba(15, 118, 110, .11), transparent 28rem),
    radial-gradient(circle at 5% 2%, rgba(37, 99, 235, .08), transparent 22rem),
    linear-gradient(145deg, #fbfdff, #f7fbfa);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--atlas-shadow-lift);
}

.vcc-readiness .section-head {
  margin-bottom: 0;
}

.vcc-readiness .section-head p:not(.eyebrow) {
  max-width: 900px;
  color: #52697c;
}

.vcc-launch-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.vcc-launch-strip > div {
  display: grid;
  gap: 6px;
  min-height: 116px;
  border: 1px solid rgba(193, 211, 220, .92);
  border-radius: 15px;
  background: rgba(255, 255, 255, .84);
  padding: 14px;
}

.vcc-launch-strip span,
.vcc-layer-head span {
  color: #64798c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vcc-launch-strip strong {
  color: var(--atlas-navy);
  font-size: 18px;
}

.vcc-launch-strip small {
  color: #718295;
  line-height: 1.4;
}

.vcc-layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vcc-layer-card {
  border: 1px solid #d7e3e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  padding: 18px;
}

.vcc-layer-card > p {
  margin: 8px 0 15px;
  color: #5b7082;
  font-size: 13px;
}

.vcc-layer-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.vcc-layer-head h3 {
  margin: 3px 0 0;
  color: var(--atlas-navy);
}

.vcc-layer-head > strong {
  border: 1px solid #c7d7e1;
  border-radius: 999px;
  background: #f7fafc;
  padding: 5px 8px;
  color: #52697c;
  font-size: 10px;
  white-space: nowrap;
}

.vcc-check-list {
  display: grid;
  gap: 7px;
}

.vcc-check-row {
  display: grid;
  grid-template-columns: 72px minmax(150px, .9fr) minmax(180px, 1.15fr);
  gap: 9px;
  align-items: start;
  border-top: 1px solid #e5edf1;
  padding-top: 9px;
}

.vcc-check-row > div {
  display: grid;
  gap: 3px;
}

.vcc-check-row strong {
  color: #27445c;
  font-size: 12px;
}

.vcc-check-row small,
.vcc-check-row p {
  margin: 0;
  color: #6b7d8e;
  font-size: 10px;
  line-height: 1.45;
}

.vcc-check-status {
  display: inline-flex;
  justify-content: center;
  border: 1px solid;
  border-radius: 999px;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 850;
}

.vcc-check-status.available {
  border-color: #9fcfc7;
  background: #eff9f7;
  color: #176c64;
}

.vcc-check-status.partial {
  border-color: #e0c98f;
  background: #fff9e9;
  color: #7a5917;
}

.vcc-check-status.missing {
  border-color: #e2b9b1;
  background: #fff5f3;
  color: #97483d;
}

.vcc-source-note {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(240px, .8fr);
  gap: 16px;
  align-items: start;
  border: 1px solid #cddde6;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  padding: 16px;
}

.vcc-source-note strong {
  color: var(--atlas-navy);
}

.vcc-source-note p {
  margin: 6px 0 0;
  color: #5b7082;
  font-size: 13px;
  line-height: 1.55;
}

.vcc-source-note .external-evidence-links {
  margin-top: 0;
}

.vcc-execution-board {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 94% 0, rgba(37, 99, 235, .09), transparent 23rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,251,255,.94));
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: var(--atlas-shadow-soft);
}

.vcc-execution-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.vcc-execution-head > div {
  max-width: 920px;
}

.vcc-execution-head span,
.vcc-scale-audit > div span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.vcc-execution-head h3 {
  margin: 4px 0 5px;
  color: var(--atlas-navy);
  font-size: clamp(19px, 2.5vw, 27px);
}

.vcc-execution-head p {
  margin: 0;
  color: #52697c;
  line-height: 1.55;
}

.vcc-execution-head > strong {
  flex: none;
  border: 1px solid #b9cdeb;
  border-radius: 999px;
  background: #eff6ff;
  padding: 7px 10px;
  color: #1d4ed8;
  font-size: 10px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.vcc-execution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 13px;
}

.vcc-scoreboard-wrap {
  overflow-x: auto;
  border: 1px solid #d7e3e9;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
}

.vcc-scoreboard {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.vcc-scoreboard caption {
  caption-side: bottom;
  padding: 9px 11px;
  color: #718295;
  font-size: 10px;
  text-align: left;
}

.vcc-scoreboard th,
.vcc-scoreboard td {
  border-bottom: 1px solid #e6edf2;
  padding: 10px 9px;
  color: #40566a;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.vcc-scoreboard thead th {
  background: #f7fafc;
  color: #64748b;
  font-size: 9px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.vcc-scoreboard th:first-child {
  text-align: left;
}

.vcc-scoreboard tbody th {
  display: grid;
  gap: 2px;
  min-width: 150px;
  color: var(--atlas-navy);
}

.vcc-scoreboard tbody th small {
  color: #7b8b99;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.vcc-scoreboard tbody tr:last-child th,
.vcc-scoreboard tbody tr:last-child td {
  border-bottom: 0;
}

.vcc-scale-audit {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid #d7e3e9;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  padding: 14px;
}

.vcc-scale-audit > div {
  display: grid;
  gap: 3px;
  margin-bottom: 2px;
}

.vcc-scale-audit > div strong {
  color: var(--atlas-navy);
  font-size: 13px;
}

.vcc-scale-row {
  display: grid;
  grid-template-columns: 36px minmax(80px, 1fr) 48px;
  gap: 7px;
  align-items: center;
}

.vcc-scale-row span,
.vcc-scale-row strong {
  color: #52697c;
  font-size: 10px;
}

.vcc-scale-row strong {
  text-align: right;
}

.vcc-scale-row i {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
}

.vcc-scale-row i b {
  display: block;
  width: var(--vcc-scale);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0f766e);
}

.vcc-scale-audit p,
.vcc-execution-foot p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.vcc-execution-foot {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.vcc-execution-foot .external-evidence-links {
  justify-content: flex-end;
  margin-top: 0;
}

.results-command-panel {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 2%, rgba(37, 99, 235, .10), transparent 22rem),
    radial-gradient(circle at 88% 4%, rgba(15, 118, 110, .12), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,251,255,.94));
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--atlas-shadow-lift);
}

.results-command-panel .section-head {
  margin-bottom: 0;
}

.results-command-panel .section-head p:not(.eyebrow) {
  max-width: 880px;
  color: #475569;
}

.release-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.release-proof-strip span {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(203, 213, 225, .86);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  padding: 11px 13px;
  box-shadow: 0 10px 22px rgba(16, 42, 67, .04);
}

.release-proof-strip strong {
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.release-proof-strip code {
  overflow-wrap: anywhere;
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 760;
}

.results-console-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr;
  gap: 14px;
  align-items: stretch;
}

.results-console-card {
  border: 1px solid rgba(203, 213, 225, .82);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  padding: clamp(15px, 2.2vw, 20px);
  box-shadow: var(--atlas-shadow-soft);
}

.results-console-card h3 {
  margin: 4px 0 14px;
  color: var(--atlas-navy);
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -.025em;
}

.proof-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.proof-counter {
  display: grid;
  gap: 5px;
  min-height: 130px;
  align-content: start;
  border: 1px solid rgba(216, 229, 235, .95);
  border-radius: 18px;
  background:
    linear-gradient(145deg, #ffffff, #f8fbff);
  padding: 13px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.proof-counter:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 145, 178, .36);
  box-shadow: var(--atlas-shadow-lift);
}

.proof-counter span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.proof-counter strong {
  color: var(--atlas-navy);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.055em;
}

.proof-counter small {
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.proof-counter.locked {
  border-color: #fecaca;
  background: linear-gradient(145deg, #fff, #fff7f7);
}

.proof-counter.locked strong {
  color: #b42318;
}

.evidence-meter-list {
  display: grid;
  gap: 12px;
}

.evidence-meter-row {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 16px;
  background: #fff;
  padding: 11px 12px;
}

.evidence-meter-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.evidence-meter-row span {
  color: #475569;
  font-size: 13px;
}

.evidence-meter-row strong {
  color: var(--atlas-navy);
  font-size: 13px;
}

.evidence-meter-row i {
  position: relative;
  display: block;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e2e8f0;
}

.evidence-meter-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--meter);
  border-radius: inherit;
  background: var(--meter-tone, var(--atlas-blue));
}

.evidence-meter-row.observed { --meter-tone: var(--atlas-blue); }
.evidence-meter-row.context { --meter-tone: var(--atlas-teal); }
.evidence-meter-row.locked { --meter-tone: #b42318; background: #fff7f7; border-color: #fecaca; }

.console-footnote {
  margin: 14px 0 0;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  background: #fff7ed;
  padding: 11px 13px;
  color: #7c2d12;
  font-size: 13px;
}

.verification-route-list {
  display: grid;
  gap: 9px;
}

.verification-route-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  border: 1px solid rgba(216, 229, 235, .96);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.verification-route-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 14px 30px rgba(16, 42, 67, .075);
}

.verification-route-list span {
  grid-row: span 2;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--atlas-blue-soft);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
}

.verification-route-list strong {
  color: var(--atlas-navy);
}

.verification-route-list small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.candidate-evidence-matrix-preview {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 3% 12%, rgba(37, 99, 235, .10), transparent 24rem),
    radial-gradient(circle at 94% 4%, rgba(180, 83, 9, .10), transparent 20rem),
    linear-gradient(145deg, #ffffff, #f8fbff);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--atlas-shadow-lift);
}

.candidate-evidence-matrix-preview .section-head {
  margin-bottom: 0;
}

.candidate-evidence-matrix-preview .section-head p:not(.eyebrow) {
  max-width: 940px;
  color: #475569;
}

.candidate-matrix-summary,
.candidate-matrix-legend,
.matrix-route-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.candidate-matrix-summary span,
.candidate-matrix-legend span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(203, 213, 225, .86);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  padding: 7px 11px;
  color: #475569;
  font-size: 12px;
}

.candidate-matrix-summary strong {
  color: var(--atlas-navy);
  font-size: 15px;
}

.candidate-matrix-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--legend-tone);
  box-shadow: 0 0 0 3px var(--legend-soft);
}

.candidate-matrix-legend .state-supported { --legend-tone: #0f766e; --legend-soft: rgba(15, 118, 110, .14); }
.candidate-matrix-legend .state-partial { --legend-tone: #0891b2; --legend-soft: rgba(8, 145, 178, .15); }
.candidate-matrix-legend .state-conflicted { --legend-tone: #f59e0b; --legend-soft: rgba(245, 158, 11, .18); }
.candidate-matrix-legend .state-caution { --legend-tone: #b45309; --legend-soft: rgba(180, 83, 9, .16); }
.candidate-matrix-legend .state-locked { --legend-tone: #b42318; --legend-soft: rgba(180, 35, 24, .14); }

.candidate-matrix-scroll {
  overflow-x: auto;
  border: 1px solid rgba(216, 229, 235, .94);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--atlas-shadow-soft);
}

.candidate-matrix-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.candidate-matrix-table caption {
  caption-side: bottom;
  padding: 10px 14px 13px;
  color: #64748b;
  font-size: 12px;
  text-align: left;
}

.candidate-matrix-table th,
.candidate-matrix-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 9px;
  vertical-align: middle;
  text-align: left;
}

.candidate-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fbff;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.candidate-matrix-table tbody tr:nth-child(even) {
  background: rgba(248, 251, 255, .72);
}

.candidate-matrix-table tbody tr:hover {
  background: #f0fdfa;
}

.candidate-matrix-table tbody tr:last-child th,
.candidate-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.candidate-matrix-table th a {
  color: var(--atlas-navy);
  font-weight: 900;
  text-decoration: none;
}

.candidate-matrix-table th a:hover {
  color: var(--atlas-blue);
  text-decoration: underline;
}

.candidate-action-pill {
  display: inline-flex;
  max-width: 230px;
  align-items: center;
  border: 1px solid #d8e5eb;
  border-radius: 999px;
  background: #fff;
  padding: 5px 9px;
  color: #334155;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
}

.candidate-action-pill.action-hold_pending_external_audit {
  border-color: #fecaca;
  background: #fff7f7;
  color: #991b1b;
}

.candidate-matrix-cell {
  display: inline-flex;
  min-width: 66px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--matrix-border);
  border-radius: 999px;
  background: var(--matrix-bg);
  color: var(--matrix-fg);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.candidate-matrix-cell i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--matrix-dot);
}

.candidate-matrix-cell.state-supported {
  --matrix-border: #99f6e4;
  --matrix-bg: #ecfdf5;
  --matrix-fg: #065f46;
  --matrix-dot: #0f766e;
}

.candidate-matrix-cell.state-partial {
  --matrix-border: #bae6fd;
  --matrix-bg: #eff6ff;
  --matrix-fg: #075985;
  --matrix-dot: #0891b2;
}

.candidate-matrix-cell.state-conflicted {
  --matrix-border: #fde68a;
  --matrix-bg: #fffbeb;
  --matrix-fg: #92400e;
  --matrix-dot: #f59e0b;
}

.candidate-matrix-cell.state-caution {
  --matrix-border: #fed7aa;
  --matrix-bg: #fff7ed;
  --matrix-fg: #9a3412;
  --matrix-dot: #b45309;
}

.candidate-matrix-cell.state-missing,
.candidate-matrix-cell.state-locked {
  --matrix-border: #fecaca;
  --matrix-bg: #fff7f7;
  --matrix-fg: #991b1b;
  --matrix-dot: #b42318;
}

.matrix-route-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.matrix-route-strip a {
  border: 1px solid rgba(216, 229, 235, .96);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  padding: 13px 15px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16, 42, 67, .045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.matrix-route-strip a:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .34);
  box-shadow: var(--atlas-shadow-lift);
}

.matrix-route-strip strong,
.matrix-route-strip span {
  display: block;
}

.matrix-route-strip strong {
  color: var(--atlas-navy);
}

.matrix-route-strip span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.result-snapshot-section {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(153, 214, 207, .72);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 184, 166, .12), transparent 28%),
    radial-gradient(circle at 95% 0%, rgba(37, 99, 235, .10), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(241, 250, 249, .92));
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--atlas-shadow-lift);
}

.result-snapshot-section .section-head {
  margin-bottom: 0;
}

.result-snapshot-section .section-head p:not(.eyebrow) {
  max-width: 900px;
  color: #475569;
}

.result-snapshot-card {
  border-color: rgba(153, 214, 207, .76);
}

.snapshot-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.snapshot-kpi-strip a {
  border: 1px solid rgba(216, 229, 235, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  padding: 13px 15px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .045);
}

.snapshot-kpi-strip strong,
.snapshot-kpi-strip span {
  display: block;
}

.snapshot-kpi-strip strong {
  color: var(--atlas-navy);
}

.snapshot-kpi-strip span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.candidate-visual-dashboard {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  border: 1px solid rgba(153, 214, 207, .72);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, .12), transparent 30%),
    linear-gradient(145deg, #ffffff, #f5fbfb);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--atlas-shadow-lift);
}

.candidate-visual-dashboard .section-head {
  margin-bottom: 0;
}

.candidate-visual-dashboard .section-head p:not(.eyebrow) {
  max-width: 860px;
  color: #475569;
}

.candidate-visual-kpis,
.candidate-viz-grid {
  display: grid;
  gap: 12px;
}

.candidate-visual-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.candidate-visual-kpis div {
  border: 1px solid rgba(216, 229, 235, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
  padding: 13px 15px;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .04);
}

.candidate-visual-kpis strong,
.candidate-visual-kpis span {
  display: block;
}

.candidate-visual-kpis strong {
  color: var(--atlas-navy);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.04em;
}

.candidate-visual-kpis span {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.candidate-viz-grid {
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.4fr);
  align-items: stretch;
}

.candidate-viz-card {
  margin: 0;
  border: 1px solid rgba(216, 229, 235, .9);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  padding: 16px;
  box-shadow: var(--atlas-shadow-soft);
}

.candidate-viz-card figcaption {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.candidate-viz-card figcaption strong {
  color: var(--atlas-navy);
  font-size: 16px;
}

.candidate-viz-card figcaption span {
  color: #64748b;
  font-size: 12px;
}

.candidate-action-bars {
  display: grid;
  gap: 10px;
}

.candidate-action-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px auto;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #f8fafc;
  padding: 9px 10px;
  color: var(--atlas-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}

.candidate-action-bar i {
  display: block;
  height: 13px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--candidate-action-color, #2563eb) var(--bar-w), #e2e8f0 var(--bar-w));
}

.candidate-action-bar strong {
  min-width: 18px;
  text-align: right;
}

.candidate-action-bar:hover,
.candidate-action-bar.is-active {
  border-color: rgba(37, 99, 235, .36);
  background: #eff6ff;
}

.candidate-heatmap-card {
  overflow: hidden;
}

.candidate-heatmap-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}

.candidate-heatmap-tile {
  --tile-tone: #38bdf8;
  --tile-bg: #f0f9ff;
  display: grid;
  gap: 7px;
  min-height: 104px;
  border: 1px solid rgba(203, 213, 225, .86);
  border-left: 5px solid var(--candidate-action-color, #2563eb);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .92)),
    var(--tile-bg);
  padding: 10px;
  color: var(--atlas-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(16, 42, 67, .04);
  transition: transform .16s ease, opacity .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.candidate-heatmap-tile:hover,
.candidate-heatmap-tile.is-active {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .55);
  box-shadow: var(--atlas-shadow-soft);
}

.candidate-heatmap-tile.filtered-out {
  opacity: .28;
  filter: grayscale(.34);
}

.candidate-heatmap-tile.source-conflicted {
  --tile-tone: #f59e0b;
  --tile-bg: #fff7ed;
}

.candidate-heatmap-tile.source-partial {
  --tile-tone: #38bdf8;
  --tile-bg: #f0f9ff;
}

.candidate-heatmap-tile.source-full {
  --tile-tone: #0f766e;
  --tile-bg: #ecfdf5;
}

.candidate-heatmap-tile.source-missing {
  --tile-tone: #94a3b8;
  --tile-bg: #f8fafc;
}

.candidate-heatmap-tile.dependency-caution {
  outline: 2px dashed rgba(180, 83, 9, .55);
  outline-offset: -5px;
}

.candidate-tile-gene {
  color: var(--atlas-navy);
  font-size: 14px;
  font-weight: 860;
}

.candidate-tile-bars {
  display: grid;
  gap: 5px;
}

.tile-bar {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
}

.tile-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.tile-bar.agreement b {
  width: var(--agreement);
  background: var(--tile-tone);
}

.tile-bar.expression b {
  width: var(--expression);
  background: #7c3aed;
}

.tile-dot.screen {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 2px #fff;
}

.candidate-heatmap-tile.screen-assessed .tile-dot.screen {
  background: #0891b2;
}

.candidate-heatmap-tile small {
  color: #64748b;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.25;
}

.candidate-heatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 14px;
  color: #475569;
  font-size: 12px;
}

.candidate-heatmap-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch,
.legend-dot,
.legend-line,
.legend-border {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 5px;
}

.legend-swatch.conflicted { background: #f59e0b; }
.legend-swatch.partial { background: #38bdf8; }
.legend-swatch.full { background: #0f766e; }
.legend-line.expression { height: 6px; border-radius: 999px; background: #7c3aed; }
.legend-dot.assessed { width: 12px; height: 12px; border-radius: 50%; background: #0891b2; }
.legend-border.caution { border: 2px dashed #b45309; background: #fff7ed; }

.action-verify-expression { --candidate-action-color: #2563eb; }
.action-computational-replication { --candidate-action-color: #0891b2; }
.action-risk-context-review { --candidate-action-color: #b45309; }
.action-muscle-context-assay { --candidate-action-color: #0f766e; }
.action-provisional-hold-external-report-not-yet-audited { --candidate-action-color: #7c3aed; }

.candidate-visual-note {
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
  padding: 12px 14px;
  color: #475569;
  font-size: 13px;
}

.candidate-visual-note strong {
  color: var(--atlas-navy);
}

.candidate-mini-card-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, .36);
  border-radius: 21px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .025), transparent 42%),
    rgba(255, 255, 255, .88);
  padding: 16px;
}

.candidate-mini-card-intro,
.candidate-mini-card-head {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
}

.candidate-mini-card-intro h3,
.candidate-mini-card-head h3 {
  margin: 0;
  color: var(--atlas-navy);
  letter-spacing: -.025em;
}

.candidate-mini-card-intro p:not(.eyebrow),
.candidate-mini-card-head p {
  max-width: 760px;
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
}

.candidate-mini-card-status {
  flex: 0 0 auto;
  border: 1px solid rgba(153, 214, 207, .8);
  border-radius: 999px;
  background: #ecfeff;
  padding: 7px 11px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 780;
}

.candidate-mini-card-stack {
  display: grid;
}

.candidate-mini-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(203, 213, 225, .82);
  border-left: 6px solid var(--candidate-action-color, #2563eb);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(125, 211, 252, .12), transparent 32%),
    #fff;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(16, 42, 67, .055);
}

.candidate-mini-card[hidden] {
  display: none;
}

.candidate-mini-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.candidate-mini-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr);
  gap: 14px;
}

.candidate-mini-card-main,
.candidate-mini-card-side,
.candidate-gap-callout,
.candidate-next-step,
.candidate-mini-boundary {
  border-radius: 16px;
}

.candidate-mini-card-main,
.candidate-mini-card-side {
  border: 1px solid rgba(226, 232, 240, .95);
  background: #f8fafc;
  padding: 14px;
}

.candidate-mini-card h4 {
  margin: 0 0 10px;
  color: var(--atlas-navy);
}

.candidate-evidence-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.candidate-evidence-step {
  position: relative;
  min-height: 104px;
  border: 1px solid rgba(203, 213, 225, .8);
  border-radius: 14px;
  background: #fff;
  padding: 11px;
}

.candidate-evidence-step::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px rgba(148, 163, 184, .55);
}

.candidate-evidence-step span,
.candidate-evidence-step strong {
  display: block;
}

.candidate-evidence-step span {
  color: #64748b;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.candidate-evidence-step strong {
  margin-top: 6px;
  color: var(--atlas-navy);
  font-size: 12px;
  line-height: 1.35;
}

.candidate-evidence-step.state-present {
  border-color: rgba(13, 148, 136, .24);
  background: #f0fdfa;
}

.candidate-evidence-step.state-present::before {
  background: #0f766e;
}

.candidate-evidence-step.state-partial {
  border-color: rgba(37, 99, 235, .22);
  background: #eff6ff;
}

.candidate-evidence-step.state-partial::before {
  background: #2563eb;
}

.candidate-evidence-step.state-caution {
  border-color: rgba(245, 158, 11, .32);
  background: #fffbeb;
}

.candidate-evidence-step.state-caution::before {
  background: #f59e0b;
}

.candidate-evidence-step.state-not-assessed {
  border-style: dashed;
  background: #f8fafc;
}

.candidate-mini-card-side dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.candidate-mini-card-side div {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.candidate-mini-card-side dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 780;
}

.candidate-mini-card-side dd {
  margin: 0;
  color: var(--atlas-navy);
  font-size: 13px;
  font-weight: 740;
}

.candidate-gap-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(251, 191, 36, .45);
  background: #fffbeb;
  padding: 12px 14px;
}

.candidate-gap-callout span {
  border-radius: 999px;
  background: #92400e;
  padding: 5px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.candidate-gap-callout p,
.candidate-next-step p,
.candidate-mini-boundary {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.candidate-gap-callout strong,
.candidate-next-step strong {
  color: var(--atlas-navy);
}

.candidate-next-step {
  border: 1px solid rgba(125, 211, 252, .52);
  background: #f0f9ff;
  padding: 12px 14px;
}

.candidate-next-step p {
  margin-top: 4px;
}

.candidate-mini-boundary {
  border: 1px solid rgba(191, 219, 254, .85);
  background: #eff6ff;
  padding: 10px 12px;
}

.atlas-decision {
  display: grid;
  gap: 18px;
}

.card,
.search-panel,
.table-wrap,
details {
  border-color: var(--atlas-hairline);
  box-shadow: 0 10px 26px rgba(16, 42, 67, .048);
}

.card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .94) 100%);
  border-radius: 16px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(16, 42, 67, .075);
}

.search-panel,
.atlas-query-panel,
.gene-filter-panel,
.candidate-filter-panel {
  border-color: var(--atlas-hairline);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--atlas-shadow-soft);
  backdrop-filter: blur(10px);
}

.searchbox,
.filter-input,
select,
textarea {
  border-color: rgba(148, 163, 184, .62);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.searchbox:focus,
.filter-input:focus,
select:focus,
textarea:focus {
  border-color: #60a5fa;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, .22);
}

.table-wrap {
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
}

.data-table caption,
.data-table th {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef6f8 100%);
}

.data-table tbody tr {
  transition: background .12s ease;
}

details {
  border-radius: 14px;
}

summary {
  border-radius: 14px;
}

details[open] summary {
  border-bottom: 1px solid var(--atlas-hairline);
  background: #f8fbff;
}

.decision-hero {
  border: 1px solid #b9d2df;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #eef7fa);
  padding: clamp(20px, 4vw, 34px);
}

.decision-action {
  margin: 4px 0 10px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--atlas-navy);
}

.decision-summary {
  max-width: 900px;
  font-size: 17px;
  color: #3d515d;
}

.decision-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.decision-metric {
  border: 1px solid rgba(47, 111, 165, .16);
  border-radius: 9px;
  background: rgba(255, 255, 255, .85);
  padding: 10px;
}

.decision-metric span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.decision-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.evidence-ladder {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.ladder-step {
  min-height: 92px;
  border: 1px solid var(--line);
  border-top-width: 5px;
  border-radius: 9px;
  background: #fff;
  padding: 10px;
}

.ladder-step.supported { border-top-color: var(--atlas-blue); }
.ladder-step.mixed { border-top-color: var(--atlas-yellow); background: var(--atlas-yellow-soft); }
.ladder-step.missing { border-top-color: #aab5ba; background: var(--atlas-grey-soft); }
.ladder-step.risk { border-color: var(--atlas-risk); }

.ladder-step span,
.rationale-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ladder-step strong {
  display: block;
  margin-top: 5px;
}

.rationale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rationale-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 16px;
}

.rationale-card.next {
  border-color: #9bcac3;
  box-shadow: inset 0 4px 0 var(--atlas-teal);
}

.atlas-workbench {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
}

.compare-panel {
  padding: 16px;
}

.compare-panel h3 {
  margin-top: 0;
}

.default-compare-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.decision-compare-panel {
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.compare-visual-dashboard {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--atlas-hairline);
  background:
    radial-gradient(circle at 8% 4%, rgba(37, 99, 235, .10), transparent 30%),
    linear-gradient(145deg, #ffffff, #f4fafc);
  padding: clamp(16px, 3vw, 24px);
}

.compare-visual-dashboard .section-head {
  margin-bottom: 0;
}

.compare-visual-dashboard .section-head p:not(.eyebrow) {
  max-width: 780px;
  color: #475569;
}

.compare-visual-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.compare-visual-kpis div {
  border: 1px solid rgba(216, 229, 235, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  padding: 11px 12px;
  box-shadow: 0 10px 22px rgba(16, 42, 67, .04);
}

.compare-visual-kpis strong,
.compare-visual-kpis span {
  display: block;
}

.compare-visual-kpis strong {
  color: var(--atlas-navy);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -.04em;
}

.compare-visual-kpis span {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.compare-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 12px;
}

.compare-contrast-card {
  margin: 0;
  border: 1px solid rgba(216, 229, 235, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  padding: 14px;
  box-shadow: var(--atlas-shadow-soft);
}

.compare-contrast-card figcaption {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.compare-contrast-card figcaption strong {
  color: var(--atlas-navy);
}

.compare-contrast-card figcaption span {
  color: #64748b;
  font-size: 12px;
}

.compare-visual-matrix {
  display: grid;
  gap: 9px;
}

.compare-gene-contrast {
  display: grid;
  grid-template-columns: minmax(150px, .5fr) minmax(0, 1.5fr);
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(203, 213, 225, .88);
  border-left: 5px solid var(--candidate-action-color, #2563eb);
  border-radius: 15px;
  background: #f8fafc;
  padding: 10px;
}

.compare-gene-label {
  display: grid;
  align-content: center;
  gap: 4px;
}

.compare-gene-label a,
.compare-gene-label strong {
  color: var(--atlas-navy);
  font-size: 15px;
  font-weight: 860;
  text-decoration: none;
}

.compare-gene-label span {
  color: #64748b;
  font-size: 12px;
  font-weight: 740;
  line-height: 1.3;
}

.compare-status-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.compare-status-cell {
  min-height: 62px;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 11px;
  background: #fff;
  padding: 8px;
}

.compare-status-cell small,
.compare-status-cell strong {
  display: block;
}

.compare-status-cell small {
  color: #64748b;
  font-size: 10px;
  font-weight: 840;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.compare-status-cell strong {
  margin-top: 4px;
  color: var(--atlas-navy);
  font-size: 11px;
  line-height: 1.25;
}

.compare-status-cell.supported {
  border-color: rgba(13, 148, 136, .28);
  background: #f0fdfa;
  box-shadow: inset 0 4px 0 #0f766e;
}

.compare-status-cell.mixed {
  border-color: rgba(37, 99, 235, .24);
  background: #eff6ff;
  box-shadow: inset 0 4px 0 #2563eb;
}

.compare-status-cell.missing {
  border-color: rgba(148, 163, 184, .56);
  border-style: dashed;
  background: #f8fafc;
  box-shadow: inset 0 4px 0 #94a3b8;
}

.compare-status-cell.risk {
  border-color: rgba(245, 158, 11, .36);
  background: #fffbeb;
  box-shadow: inset 0 4px 0 #b45309;
}

.compare-gap-bars {
  display: grid;
  gap: 9px;
}

.compare-gap-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px auto;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(203, 213, 225, .88);
  border-radius: 12px;
  background: #f8fafc;
  padding: 9px;
}

.compare-gap-bar span {
  color: #475569;
  font-size: 12px;
  line-height: 1.3;
}

.compare-gap-bar span strong {
  display: block;
  color: var(--atlas-navy);
}

.compare-gap-bar i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #2563eb var(--gap-w), #e2e8f0 var(--gap-w));
}

.compare-gap-bar b {
  color: var(--atlas-navy);
  font-size: 13px;
  text-align: right;
}

.compare-boundary-note {
  margin: 0;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  padding: 11px 13px;
  color: #475569;
  font-size: 13px;
}

.compare-boundary-note strong {
  color: var(--atlas-navy);
}

.workbench-controls {
  position: sticky;
  top: 12px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 17px;
}

.workbench-controls textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid #b9c6ca;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

.workbench-controls label {
  display: block;
  margin-top: 12px;
  font-weight: 700;
}

.workbench-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.button.small {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.evidence-heat {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 760;
}

.evidence-heat.supported { background: #e2f0fa; color: #245c86; }
.evidence-heat.mixed { background: #fff0c9; color: #7e520b; }
.evidence-heat.missing { background: #edf0f1; color: #66747b; }
.evidence-heat.risk { box-shadow: inset 0 0 0 1px var(--atlas-risk); }

.planner-output {
  display: grid;
  gap: 13px;
}

.reviewer-tour-section {
  display: grid;
  gap: 18px;
  margin: 20px 0 26px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: var(--atlas-radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 118, 110, .12), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(248,251,255,.94));
  box-shadow: var(--atlas-shadow-soft);
  padding: clamp(18px, 3vw, 28px);
}

.reviewer-tour-section.compact {
  margin-top: 18px;
}

.reviewer-tour-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  gap: 18px;
  align-items: start;
}

.reviewer-tour-head h2 {
  margin: 4px 0 8px;
}

.reviewer-tour-boundary {
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: #fff7ed;
  padding: 14px 16px;
}

.reviewer-tour-boundary strong,
.reviewer-tour-boundary span {
  display: block;
}

.reviewer-tour-boundary strong {
  color: #b45309;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.reviewer-tour-boundary span {
  margin-top: 5px;
  color: #7c2d12;
  font-size: 13px;
}

.reviewer-tour-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.reviewer-tour-step {
  position: relative;
  min-height: 168px;
  border: 1px solid #d8e5eb;
  border-top: 5px solid var(--atlas-teal);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.reviewer-tour-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 14px;
  height: 2px;
  background: #cbd5e1;
}

.reviewer-tour-step:last-child::after {
  display: none;
}

.reviewer-tour-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--atlas-shadow-lift);
}

.reviewer-tour-step span,
.reviewer-tour-step small,
.reviewer-tour-step em {
  display: block;
}

.reviewer-tour-step span {
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.reviewer-tour-step strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--atlas-navy);
  font-size: 17px;
  line-height: 1.15;
}

.reviewer-tour-step small {
  color: #0f766e;
  font-weight: 800;
}

.reviewer-tour-step em {
  margin-top: 9px;
  color: #475569;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.reviewer-tour-step.step-5 {
  border-top-color: #dc2626;
  background: #fff7f7;
}

.reviewer-example-section {
  margin: 20px 0 26px;
}

.reviewer-example-grid,
.reviewer-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reviewer-boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reviewer-example-card {
  border: 1px solid #d8e5eb;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--atlas-shadow-soft);
}

.reviewer-example-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.reviewer-example-card h3 {
  margin: 6px 0;
  color: var(--atlas-navy);
  font-size: clamp(30px, 5vw, 52px);
  line-height: .95;
  letter-spacing: -.05em;
}

.reviewer-example-card p {
  min-height: 64px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quality-grid .card h3 {
  margin: .35rem 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.quality-grid .card p {
  margin: 0;
  color: var(--muted);
}

.planner-visual-builder,
.planner-generated-visual {
  display: grid;
  gap: 17px;
  margin: 18px 0 22px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: var(--atlas-radius-xl);
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .12), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,251,255,.94));
  box-shadow: var(--atlas-shadow-soft);
  padding: clamp(18px, 3vw, 28px);
}

.planner-builder-head,
.planner-generated-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  gap: 18px;
  align-items: start;
}

.planner-builder-head h2,
.planner-generated-head h2 {
  margin: 4px 0 8px;
}

.planner-builder-boundary,
.planner-preview-boundary {
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: #eff6ff;
  padding: 14px 16px;
}

.planner-builder-boundary strong,
.planner-builder-boundary span,
.planner-preview-boundary strong,
.planner-preview-boundary span {
  display: block;
}

.planner-builder-boundary strong,
.planner-preview-boundary strong {
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.planner-builder-boundary span,
.planner-preview-boundary span {
  margin-top: 5px;
  color: #1e3a8a;
  font-size: 13px;
}

.planner-builder-kpis,
.planner-preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.planner-builder-kpis div,
.planner-preview-metric {
  border: 1px solid rgba(148, 163, 184, .32);
  border-top: 5px solid var(--atlas-teal);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.planner-preview-metric.action { border-top-color: var(--atlas-blue); }
.planner-preview-metric.ceiling { border-top-color: #16a34a; }
.planner-preview-metric.agreement { border-top-color: var(--atlas-teal); }
.planner-preview-metric.muscle { border-top-color: #22c55e; }
.planner-preview-metric.caution { border-top-color: #dc2626; }

.planner-builder-kpis span,
.planner-builder-kpis small,
.planner-preview-metric span,
.planner-preview-metric small {
  display: block;
}

.planner-builder-kpis span,
.planner-preview-metric span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.planner-builder-kpis strong,
.planner-preview-metric strong {
  display: block;
  margin: 7px 0 4px;
  color: var(--atlas-navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.04em;
}

.planner-builder-kpis small,
.planner-preview-metric small {
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.planner-flow,
.planner-generated-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.planner-flow-step,
.planner-generated-step {
  position: relative;
  min-height: 116px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.planner-flow-step::after,
.planner-generated-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 14px;
  height: 2px;
  background: #cbd5e1;
}

.planner-flow-step:last-child::after,
.planner-generated-step:last-child::after {
  display: none;
}

.planner-flow-step strong,
.planner-generated-step strong {
  display: block;
  color: var(--atlas-navy);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
}

.planner-flow-step span,
.planner-generated-step span {
  display: block;
  margin: 8px 0 4px;
  color: #0f172a;
  font-weight: 850;
}

.planner-flow-step small {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.planner-flow-step.ready,
.planner-generated-step.ready {
  border-top: 5px solid #16a34a;
}

.planner-flow-step.current,
.planner-generated-step.current,
.planner-generated-step.hold {
  border-top: 5px solid var(--atlas-yellow);
}

.planner-flow-step.locked,
.planner-generated-step.locked {
  border-top: 5px solid #dc2626;
  background: #fff7f7;
}

.planner-action-map {
  display: grid;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
}

.planner-action-map h3 {
  margin: 0 0 4px;
}

.planner-action-lane {
  display: grid;
  gap: 7px;
}

.planner-action-lane div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
  font-size: 13px;
}

.planner-action-lane div span,
.planner-action-lane small {
  color: #64748b;
}

.planner-action-lane i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.planner-action-lane i::before {
  content: "";
  display: block;
  width: var(--lane-w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--atlas-teal), var(--atlas-blue));
}

.planner-action-lane.hold_pending_external_audit i::before {
  background: linear-gradient(90deg, #f59e0b, #b45309);
}

.planner-generated-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.planner-preview-panel {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.planner-preview-panel h3 {
  margin-top: 0;
}

.planner-preview-fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding: 9px 0;
}

.planner-preview-fact span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.planner-preview-fact strong {
  color: var(--atlas-navy);
  text-align: right;
}

.planner-preview-gaps ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planner-preview-gaps li {
  display: grid;
  gap: 6px;
}

.planner-preview-gaps li span {
  color: #334155;
  font-size: 13px;
  font-weight: 780;
}

.planner-preview-gaps li i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #fee2e2;
}

.planner-preview-gaps li i::before {
  content: "";
  display: block;
  width: var(--gap-w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #dc2626);
}

.planner-card-index {
  margin-top: 22px;
}

.study-card-groups {
  display: grid;
  gap: 12px;
}

.study-card-group {
  border: 1px solid #d8e5eb;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.planner-step {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 16px;
}

.planner-step h3 {
  margin-top: 0;
}

.study-card-grid,
.readiness-grid,
.module-grid {
  display: grid;
  gap: 12px;
}

.study-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.study-card-item,
.readiness-card,
.module-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  padding: 16px;
}

.study-card-item span,
.readiness-card span,
.module-card > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.study-card-item p {
  margin-bottom: 0;
}

.study-card-object-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}

.study-card-gene-title {
  margin: 2px 0 10px;
  color: var(--atlas-navy);
  font-size: clamp(42px, 8vw, 86px);
  line-height: .9;
  letter-spacing: -.06em;
}

.muted-pill {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.registration-meter {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 16px 0;
}

.registration-meter div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.registration-meter span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.registration-meter strong {
  color: var(--atlas-navy);
}

.registration-meter i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.registration-meter i::before {
  content: "";
  display: block;
  width: var(--complete);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--atlas-teal), var(--atlas-blue));
}

.missing-field-panel {
  max-width: 620px;
  border: 1px solid #f1d49a;
  border-radius: 12px;
  background: #fffaf0;
  padding: 12px 14px;
}

.missing-fields {
  margin: 8px 0 0;
  padding-left: 18px;
}

.missing-fields li {
  margin: 3px 0;
}

.study-card-sidecar {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid #d8e5eb;
  border-radius: 15px;
  background: rgba(255, 255, 255, .93);
  padding: 16px;
}

.study-card-sidecar span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.study-card-sidecar strong {
  display: block;
  margin-top: 3px;
  color: var(--atlas-navy);
  font-size: 13px;
}

.sidecar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.study-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  border: 1px solid #d8e5eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  padding: 8px;
  backdrop-filter: blur(10px);
}

.study-tabs a {
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.study-tabs a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.study-card-visual-dashboard {
  display: grid;
  gap: 18px;
  margin: 18px 0 24px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: var(--atlas-radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 145, 178, .12), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,251,255,.94));
  box-shadow: var(--atlas-shadow-soft);
  padding: clamp(18px, 3vw, 28px);
}

.study-card-visual-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  gap: 18px;
  align-items: start;
}

.study-card-visual-head h2 {
  margin: 4px 0 8px;
}

.study-card-visual-boundary {
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: #eff6ff;
  padding: 14px 16px;
}

.study-card-visual-boundary strong,
.study-card-visual-boundary span {
  display: block;
}

.study-card-visual-boundary strong {
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.study-card-visual-boundary span {
  margin-top: 5px;
  color: #1e3a8a;
  font-size: 13px;
}

.study-snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.study-snapshot-metric {
  min-height: 118px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.study-snapshot-metric span,
.study-snapshot-metric small {
  display: block;
}

.study-snapshot-metric span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.study-snapshot-metric strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--atlas-navy);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.04em;
}

.study-snapshot-metric small {
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.study-snapshot-metric.registration { border-top: 5px solid var(--atlas-yellow); }
.study-snapshot-metric.assessed { border-top: 5px solid var(--atlas-blue); }
.study-snapshot-metric.agreement { border-top: 5px solid var(--atlas-teal); }
.study-snapshot-metric.expression { border-top: 5px solid #16a34a; }
.study-snapshot-metric.caution { border-top: 5px solid #dc2626; }

.study-card-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 14px;
}

.study-visual-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 20px;
  background: rgba(255, 255, 255, .95);
  padding: 18px;
}

.study-visual-panel h3 {
  margin: 0 0 14px;
  padding-right: 36px;
  color: var(--atlas-navy);
}

.panel-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.study-evidence-route {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.study-evidence-route li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-left-width: 6px;
  border-radius: 15px;
  background: #fff;
  padding: 10px 12px;
}

.study-evidence-route li strong {
  grid-row: span 2;
  color: var(--atlas-navy);
  font-size: 18px;
  letter-spacing: -.03em;
}

.study-evidence-route li span {
  color: #0f172a;
  font-weight: 800;
}

.study-evidence-route li small {
  color: #64748b;
}

.study-evidence-route li.supported { border-left-color: #16a34a; }
.study-evidence-route li.current { border-left-color: var(--atlas-yellow); }
.study-evidence-route li.missing { border-left-color: #dc2626; background: #fff7f7; }
.study-evidence-route li.neutral { border-left-color: #94a3b8; }

.study-mini-bar {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.study-mini-bar div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
  font-size: 13px;
}

.study-mini-bar span {
  color: #64748b;
  font-weight: 800;
}

.study-mini-bar i {
  display: block;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.study-mini-bar i::before {
  content: "";
  display: block;
  width: var(--bar-w, 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--atlas-teal), var(--atlas-blue));
}

.study-mini-bar i.expression::before {
  background: linear-gradient(90deg, #22c55e, #0f766e);
}

.study-mini-bar i.prior::before {
  width: 100%;
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.study-mini-bar i.prior.up::before {
  background: linear-gradient(90deg, #ef4444, #b91c1c);
}

.study-mini-bar i.prior.down::before {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.study-mini-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.study-mini-facts div,
.study-design-route div {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 11px;
}

.study-mini-facts span,
.study-design-route span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.study-mini-facts strong {
  display: block;
  margin-top: 5px;
  color: var(--atlas-navy);
  font-size: 13px;
}

.study-design-route {
  display: grid;
  gap: 10px;
}

.study-design-route p {
  margin: 6px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.registration-gap-map ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.registration-gap-map li {
  display: grid;
  gap: 6px;
}

.registration-gap-map li span {
  color: #334155;
  font-size: 13px;
  font-weight: 780;
}

.registration-gap-map li i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #fee2e2;
}

.registration-gap-map li i::before {
  content: "";
  display: block;
  width: var(--gap-w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #dc2626);
}

.registration-gap-map li.complete i {
  background: #dcfce7;
}

.registration-gap-map li.complete i::before {
  background: linear-gradient(90deg, #22c55e, #0f766e);
}

.study-boundary-note {
  margin: 14px 0 0;
  border-radius: 14px;
  background: #f1f5f9;
  padding: 11px 12px;
  color: #475569;
  font-size: 12px;
}

.readiness-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.readiness-card {
  border-top-width: 5px;
}

.readiness-card.ready { border-top-color: var(--atlas-blue); }
.readiness-card.partial { border-top-color: var(--atlas-yellow); }
.readiness-card.locked { border-top-color: #aab5ba; background: var(--atlas-grey-soft); }

.readiness-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--atlas-navy);
  font-size: 32px;
}

.readiness-card small {
  color: var(--muted);
}

.module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card {
  border-top-width: 5px;
}

.module-card.active { border-top-color: var(--atlas-teal); }
.module-card.scaffold { border-top-color: var(--atlas-yellow); background: var(--atlas-yellow-soft); }
.module-card.locked { border-top-color: #aab5ba; background: var(--atlas-grey-soft); }

.evidence-matrix td {
  vertical-align: top;
}

.recommended-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.download-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.download-tabs a {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  padding: 6px 11px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
}

.download-tabs a[aria-current="page"] {
  border-color: var(--atlas-navy);
  background: var(--atlas-navy);
  color: #fff;
}

.core-downloads .download-card {
  min-height: 250px;
  border-radius: 14px;
}

.core-downloads .download-card.featured {
  border-color: #93c5fd;
  box-shadow: inset 0 4px 0 var(--atlas-blue), 0 16px 32px rgba(16, 42, 67, .06);
}

.download-facts {
  display: grid;
  gap: 6px;
  margin: 14px 0;
}

.download-facts div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 5px;
}

.download-facts div:last-child {
  border-bottom: 0;
}

.download-facts dt {
  color: #64748b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.download-facts dd {
  margin: 0;
  color: var(--atlas-navy);
  font-size: 12px;
  font-weight: 760;
}

.compact-downloads {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.release-identity-detail {
  margin: 18px 0 28px;
}

.identity-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.identity-card code {
  white-space: normal;
}

.legacy-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 2px 7px;
  color: #475569;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
}

.gene-filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  margin: 14px 0 10px;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe5ee;
  border-radius: 999px;
  background: #f8fafc;
  padding: 3px 8px;
  color: #334155;
  font-size: 11px;
  font-weight: 780;
  white-space: nowrap;
}

.badge-chip.action {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.badge-chip.evidence {
  border-color: #bae6fd;
  background: #ecfeff;
  color: #0e7490;
}

.badge-chip.state {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.badge-chip.gap {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: #5b21b6;
}

.gene-index-table td:last-child {
  min-width: 150px;
}

.gap-cell summary {
  cursor: pointer;
  list-style: none;
}

.gap-cell summary::-webkit-details-marker {
  display: none;
}

.gap-detail {
  margin-top: 8px;
  color: #475569;
  font-size: 13px;
}

.compare-summary {
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
  padding: 16px;
}

.compare-summary h3 {
  margin-top: 0;
  color: var(--atlas-navy);
}

.dmd-status-grid,
.dmd-result-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-row,
.dmd-result-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-row .searchbox {
  flex: 1 1 360px;
}

.dmd-gene-result {
  margin: 18px 0 30px;
}

.dmd-result-head {
  justify-content: space-between;
}

.dmd-result-head h3 {
  margin-top: 0;
}

.direction-up {
  color: #166554;
  font-weight: 750;
}

.direction-down {
  color: #9b4136;
  font-weight: 750;
}

.beta-gate {
  border: 1px solid #dfbd79;
  border-radius: 12px;
  background: var(--atlas-yellow-soft);
  padding: 16px;
}

.audit-only { display: none !important; }
.audit-view .audit-only { display: initial !important; }
.audit-view div.audit-only,
.audit-view section.audit-only,
.audit-view details.audit-only { display: block !important; }
.audit-view tr.audit-only { display: table-row !important; }
.audit-view th.audit-only,
.audit-view td.audit-only { display: table-cell !important; }
.research-only { display: initial; }
.audit-view .research-only { display: none !important; }

.atlas-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}

@media (max-width: 980px) {
  .vcc-launch-strip,
  .vcc-layer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcc-execution-grid,
  .vcc-execution-foot { grid-template-columns: 1fr; }
  .vcc-execution-foot .external-evidence-links { justify-content: flex-start; }
  .vcc-source-note { grid-template-columns: 1fr; }
  .vcc-check-row { grid-template-columns: 72px minmax(0, 1fr); }
  .vcc-check-row > p { grid-column: 2; }
  .workbench-product-hero,
  .workbench-layout,
  .task-tier-grid,
  .study-card-object-hero,
  .identity-card-grid { grid-template-columns: 1fr; }
  .workbench-context-rail { position: static; }
  .study-card-sidecar { position: static; }
  .visual-funnel { display: flex; }
  .evidence-funnel,
  .fidelity-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-proof-strip,
  .results-console-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-card { grid-column: 1 / -1; }
  .matrix-route-strip { grid-template-columns: 1fr; }
  .snapshot-kpi-strip { grid-template-columns: 1fr; }
  .candidate-viz-grid { grid-template-columns: 1fr; }
  .compare-visual-grid { grid-template-columns: 1fr; }
  .compare-visual-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-gene-contrast { grid-template-columns: 1fr; }
  .compare-status-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviewer-tour-head,
  .reviewer-boundary-grid { grid-template-columns: 1fr; }
  .reviewer-tour-flow,
  .reviewer-example-grid,
  .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviewer-tour-step::after { display: none; }
  .planner-builder-head,
  .planner-generated-head,
  .planner-generated-grid { grid-template-columns: 1fr; }
  .planner-builder-kpis,
  .planner-preview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner-flow,
  .planner-generated-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-action-grid.action-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner-flow-step::after,
  .planner-generated-step::after { display: none; }
  .study-card-visual-head,
  .study-card-visual-grid { grid-template-columns: 1fr; }
  .study-snapshot-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-heatmap-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .candidate-mini-card-grid { grid-template-columns: 1fr; }
  .candidate-evidence-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-funnel-step::after,
  .fidelity-step::after { display: none; }
  .atlas-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .readiness-grid,
  .module-grid,
  .dmd-status-grid,
  .dmd-result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-workbench { grid-template-columns: 1fr; }
  .workbench-controls { position: static; }
  .research-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lifecycle-count-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-funnel > div::after { display: none; }
  .research-funnel > a::after { display: none; }
  .lifecycle-count-rail > div::after { display: none; }
  .evidence-ladder-brand .genes,
  .evidence-ladder-brand .perturbations { grid-column: span 1; }
  .gene-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .vcc-launch-strip,
  .vcc-layer-grid { grid-template-columns: 1fr; }
  .vcc-check-row { grid-template-columns: 1fr; }
  .vcc-check-row > p { grid-column: auto; }
  .vcc-check-status { justify-self: start; }
  .vcc-execution-head { display: grid; }
  .vcc-execution-head > strong { justify-self: start; }
  .atlas-topbar,
  .atlas-hero,
  .quick-action-grid,
  .atlas-footer { grid-template-columns: 1fr; }
  .project-metrics,
  .release-proof-strip,
  .results-console-grid,
  .proof-counter-grid,
  .matrix-route-strip,
  .candidate-visual-kpis,
  .compare-visual-kpis,
  .evidence-funnel,
  .fidelity-rail,
  .lifecycle-count-rail { grid-template-columns: 1fr; }
  .visual-funnel { display: flex; }
  .section-head { flex-direction: column; }
  .evidence-ceiling { border-radius: 14px; }
  .evidence-ceiling a { margin-left: 0; }
  .atlas-controls { justify-content: flex-start; }
  .audit-menu .audit-links { left: 0; right: auto; }
  .atlas-ceiling-strip a { margin-left: 0; }
  .atlas-task-grid,
  .rationale-grid,
  .readiness-grid,
  .module-grid,
  .study-card-grid,
  .dmd-status-grid,
  .dmd-result-metrics { grid-template-columns: 1fr; }
  .research-funnel,
  .research-funnel.lifecycle { grid-template-columns: 1fr; }
  .decision-metrics,
  .evidence-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-heatmap-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-action-bar { grid-template-columns: 1fr; }
  .compare-status-strip,
  .compare-gap-bar { grid-template-columns: 1fr; }
  .reviewer-tour-flow,
  .reviewer-example-grid,
  .quality-grid { grid-template-columns: 1fr; }
  .planner-builder-kpis,
  .planner-preview-metrics,
  .planner-flow,
  .planner-generated-flow { grid-template-columns: 1fr; }
  .quick-action-grid.action-card-grid { grid-template-columns: 1fr; }
  .study-snapshot-metrics,
  .study-mini-facts { grid-template-columns: 1fr; }
  .candidate-mini-card-intro,
  .candidate-mini-card-head { flex-direction: column; }
  .candidate-mini-card-links { justify-content: flex-start; }
  .candidate-evidence-ladder,
  .candidate-mini-card-side div,
  .candidate-gap-callout { grid-template-columns: 1fr; }
  .search-row,
  .dmd-result-head { align-items: stretch; flex-direction: column; }
  .gene-filter-panel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .nav-utility:hover,
  .atlas-nav > a:hover,
  .atlas-task-card:hover,
  .proof-counter:hover,
  .verification-route-list a:hover,
  .matrix-route-strip a:hover,
  .evidence-funnel-step:hover,
  .card:hover {
    transform: none;
  }
}

/* Perturbation Lab */
.perturbation-lab {
  --sim-teal: #126f68;
  --sim-teal-soft: #e7f6f3;
  --sim-navy: #17324d;
  --sim-amber: #a46612;
  --sim-amber-soft: #fff5db;
  --sim-red: #9b4136;
  --sim-red-soft: #fff0ed;
}

.perturbation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .75fr);
  gap: 30px;
  align-items: center;
  margin: 28px 0;
  border: 1px solid #cfe3df;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 210, 120, .28), transparent 24%),
    linear-gradient(135deg, #f5fbfa 0%, #ffffff 55%, #f7f3ff 100%);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 0 18px 48px rgba(23, 50, 77, .08);
}

.perturbation-hero h2 {
  max-width: 780px;
  color: var(--sim-navy);
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.perturbation-hero-status {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid rgba(23, 50, 77, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.perturbation-hero-status p {
  margin: 5px 0 0;
  color: #526578;
  font-size: 14px;
}

.sim-status,
.sim-result-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 780;
}

.sim-status.ready,
.sim-result-badge.ready {
  border-color: #9bd2c8;
  background: var(--sim-teal-soft);
  color: var(--sim-teal);
}

.sim-status.bounded,
.sim-result-badge.bounded {
  border-color: #edcc8c;
  background: var(--sim-amber-soft);
  color: var(--sim-amber);
}

.sim-status.locked,
.sim-result-badge.locked {
  border-color: #efb8ae;
  background: var(--sim-red-soft);
  color: var(--sim-red);
}

.sim-result-badge.limited {
  border-color: #c9b9ed;
  background: #f5f1ff;
  color: #6542a6;
}

.sim-level-rail {
  margin: 34px 0;
}

.sim-level-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.sim-level-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.sim-level-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #cbd5e1;
  content: "";
}

.sim-level-card.ready::before { background: var(--sim-teal); }
.sim-level-card.limited::before { background: #7958b5; }
.sim-level-card.bounded::before { background: var(--sim-amber); }
.sim-level-card.locked::before { background: #b97165; }

.sim-level-card span {
  color: #5f7184;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sim-level-card strong {
  color: var(--sim-navy);
  line-height: 1.25;
}

.sim-level-card small {
  align-self: end;
  color: #64748b;
  line-height: 1.4;
}

.external-evidence-deck {
  margin: 40px 0;
  border: 1px solid #d5e3e8;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(18, 111, 104, .08), transparent 24rem),
    linear-gradient(145deg, #fbfdfe, #fff);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 16px 42px rgba(23, 50, 77, .07);
}

.external-evidence-deck .section-head {
  margin-bottom: 18px;
}

.external-evidence-deck .section-head p:not(.eyebrow) {
  max-width: 860px;
  color: #5a6f82;
}

.external-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.external-evidence-card {
  display: grid;
  gap: 14px;
  min-height: 244px;
  border: 1px solid #dbe5eb;
  border-radius: 16px;
  background: #fff;
  padding: 19px;
}

.external-evidence-card.direct {
  border-color: #b9ded8;
  background: linear-gradient(155deg, #f3fbf9, #fff);
}

.external-evidence-card.context {
  border-color: #c7d9ef;
  background: linear-gradient(155deg, #f4f8fe, #fff);
}

.external-evidence-card.orthogonal {
  border-color: #dfd2ef;
  background: linear-gradient(155deg, #faf7ff, #fff);
}

.external-evidence-card.trajectory,
.selected-external-card.trajectory {
  border-color: #b9d8d2;
  background: linear-gradient(155deg, #f2faf8, #fff);
}

.external-evidence-card.calibration,
.selected-external-card.calibration {
  border-color: #d7cbea;
  background: linear-gradient(155deg, #faf7ff, #fff);
}

.external-evidence-card > div:first-child {
  display: grid;
  gap: 5px;
}

.external-evidence-card > div:first-child span {
  color: #61768a;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.external-evidence-card > div:first-child strong {
  color: var(--sim-navy);
  font-size: 18px;
}

.external-evidence-card p {
  margin: 0;
  color: #566b7e;
  font-size: 13px;
  line-height: 1.55;
}

.external-evidence-card dl,
.selected-external-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.external-evidence-card dl div,
.selected-external-card dl div {
  border: 1px solid rgba(203, 213, 225, .86);
  border-radius: 11px;
  background: rgba(255, 255, 255, .8);
  padding: 9px 10px;
}

.external-evidence-card dt,
.selected-external-card dt {
  color: #718397;
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.external-evidence-card dd,
.selected-external-card dd {
  margin: 3px 0 0;
  color: var(--sim-navy);
  font-size: 17px;
  font-weight: 820;
}

.external-state {
  display: inline-flex;
  width: fit-content;
  align-self: end;
  border: 1px solid;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
}

.external-state.direct {
  border-color: #9bd2c8;
  background: var(--sim-teal-soft);
  color: var(--sim-teal);
}

.external-state.context {
  border-color: #b8cce8;
  background: #f1f6fd;
  color: #285f92;
}

.external-state.orthogonal {
  border-color: #d4c2e9;
  background: #f8f4fd;
  color: #6d4b94;
}

.external-state.trajectory {
  border-color: #a8d2ca;
  background: #f0faf8;
  color: #176c64;
}

.external-state.calibration {
  border-color: #d2c1e7;
  background: #f8f4fd;
  color: #6b4b92;
}

.external-evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.external-evidence-links a {
  border: 1px solid #cbdbe4;
  border-radius: 999px;
  background: #fff;
  padding: 8px 11px;
  color: #315a75;
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

.external-evidence-links a:hover,
.external-evidence-links a:focus-visible {
  border-color: var(--sim-teal);
  color: var(--sim-teal);
}

.lab-console {
  display: grid;
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.75fr);
  overflow: hidden;
  margin: 38px 0;
  border: 1px solid #cbdce6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(23, 50, 77, .10);
}

.lab-controls {
  border-right: 1px solid #d8e4eb;
  background: linear-gradient(180deg, #f4f9fb 0%, #f8f7fc 100%);
  padding: 26px;
}

.lab-controls h2 {
  margin: 0 0 20px;
  color: var(--sim-navy);
}

.lab-mode-fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  border: 0;
  padding: 0;
}

.lab-mode-fieldset legend {
  margin-bottom: 8px;
  color: #4b6073;
  font-size: 13px;
  font-weight: 750;
}

.lab-mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  border: 1px solid #cad8e1;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  padding: 10px 12px;
  color: #233d55;
  text-align: left;
  cursor: pointer;
}

.lab-mode strong {
  font-size: 13px;
}

.lab-mode span {
  color: #708091;
  font-size: 11px;
}

.lab-mode:hover,
.lab-mode:focus-visible {
  border-color: #76aaa3;
  box-shadow: 0 0 0 3px rgba(18, 111, 104, .10);
}

.lab-mode.active {
  border-color: var(--sim-teal);
  background: var(--sim-teal-soft);
  box-shadow: inset 3px 0 0 var(--sim-teal);
}

.lab-mode.locked:not(.active) {
  background: #f8f5f5;
  color: #76564f;
}

.lab-select {
  width: 100%;
  min-height: 46px;
  margin: 7px 0 18px;
  border: 1px solid #b9ccd7;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  color: #243d53;
  font: inherit;
}

.lab-control-note {
  margin: 4px 0 0;
  color: #687b8e;
  font-size: 12px;
  line-height: 1.55;
}

.lab-results {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
}

.lab-result-head {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}

.lab-result-head h2 {
  margin: 3px 0 10px;
  color: var(--sim-navy);
}

.lab-result-head p:not(.eyebrow) {
  max-width: 780px;
  color: #566a7d;
  line-height: 1.6;
}

.lab-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 30px;
}

.lab-metric {
  display: grid;
  gap: 7px;
  min-height: 118px;
  border: 1px solid #dbe5eb;
  border-radius: 14px;
  background: #fbfdfe;
  padding: 15px;
}

.lab-metric span {
  color: #637689;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.lab-metric strong {
  color: var(--sim-navy);
  font-size: 18px;
}

.lab-metric small {
  color: #748596;
  line-height: 1.4;
}

.lab-metric.ready { border-color: #b9ded8; background: #f4fbf9; }
.lab-metric.bounded { border-color: #ead29d; background: #fffbf0; }
.lab-metric.limited { border-color: #d8ccef; background: #fbf9ff; }
.lab-metric.locked { border-color: #ebccc6; background: #fff8f6; }

.lab-formula {
  display: grid;
  gap: 8px;
  margin: -6px 0 30px;
  border: 1px solid #ddca9c;
  border-radius: 14px;
  background: linear-gradient(90deg, #fffaf0, #fff);
  padding: 18px;
}

.lab-formula span {
  color: #795f27;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lab-formula strong {
  color: #4f4120;
  font-size: 20px;
}

.lab-formula em {
  color: var(--sim-red);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.lab-formula small {
  color: #796d54;
}

.selected-external-evidence {
  margin: 4px 0 30px;
  border-top: 1px solid #e1e8ed;
  border-bottom: 1px solid #e1e8ed;
  padding: 24px 0;
}

.selected-external-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.selected-external-card {
  display: grid;
  gap: 12px;
  border: 1px solid #d9e4ea;
  border-radius: 14px;
  background: #fbfdfe;
  padding: 15px;
}

.selected-external-card.context {
  border-color: #bfd4ea;
  background: #f7faff;
}

.selected-external-card.caution {
  border-color: #efd29c;
  background: #fffaf0;
}

.selected-external-card.missing {
  border-color: #d8dde3;
  background: #fafafa;
}

.selected-external-card.orthogonal {
  border-color: #d9cbea;
  background: #fbf9ff;
}

.selected-external-card > div:first-child {
  display: grid;
  gap: 4px;
}

.selected-external-card > div:first-child span {
  color: #687c90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.selected-external-card > div:first-child strong {
  color: var(--sim-navy);
  font-size: 16px;
}

.selected-external-card p,
.selected-external-card > small {
  margin: 0;
  color: #65788b;
  font-size: 12px;
  line-height: 1.5;
}

.correction-effect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.correction-effect {
  display: grid;
  gap: 3px;
  border: 1px solid #e2d9ed;
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
  padding: 9px;
}

.correction-effect span {
  color: #76648d;
  font-size: 10px;
  font-weight: 760;
}

.correction-effect strong {
  color: #45345c;
  font-size: 13px;
}

.correction-effect small {
  color: #7a7186;
  font-size: 10px;
}

.trajectory-time-grid {
  display: grid;
  gap: 7px;
}

.trajectory-timepoint {
  display: grid;
  grid-template-columns: 32px minmax(70px, 1fr) 54px;
  gap: 8px;
  align-items: center;
  color: #55716d;
  font-size: 11px;
}

.trajectory-timepoint i {
  position: relative;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #dcebe8;
}

.trajectory-timepoint i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--trajectory-width);
  border-radius: inherit;
  background: linear-gradient(90deg, #2d857c, #67b7ad);
  content: "";
}

.trajectory-timepoint strong {
  color: #285f59;
  font-size: 11px;
  text-align: right;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head.compact h3 {
  margin: 2px 0 0;
  color: var(--sim-navy);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.program-card {
  display: grid;
  gap: 9px;
  min-height: 156px;
  border: 1px solid #dbe4ea;
  border-radius: 14px;
  background: #fff;
  padding: 15px;
}

.program-card > div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.program-card span {
  color: #385065;
  font-size: 13px;
  font-weight: 760;
}

.program-card strong {
  color: var(--sim-navy);
  font-size: 20px;
}

.program-card i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9eff3;
}

.program-card i::after {
  display: block;
  width: var(--program-width);
  height: 100%;
  border-radius: inherit;
  background: var(--program-color, var(--sim-teal));
  content: "";
}

.program-card.teal { --program-color: #16867b; }
.program-card.amber { --program-color: #ca8a25; }
.program-card.coral { --program-color: #c25c4f; }
.program-card.violet { --program-color: #7652ad; }
.program-card.blue { --program-color: #377aab; }
.program-card.slate { --program-color: #617285; }

.program-card small {
  color: #6d7f90;
}

.program-card p {
  margin: 0;
  color: #4d6174;
  font-size: 12px;
  line-height: 1.45;
}

.program-empty {
  grid-column: 1 / -1;
  border: 1px dashed #d4b1aa;
  border-radius: 14px;
  background: #fff9f7;
  padding: 24px;
}

.program-empty strong { color: var(--sim-red); }
.program-empty p { margin-bottom: 0; color: #6f5a55; }

.signature-section {
  margin-top: 30px;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signature-card {
  display: grid;
  gap: 10px;
  border: 1px solid #dbe5eb;
  border-radius: 14px;
  background: #fbfdfe;
  padding: 15px;
}

.signature-card > span {
  color: #3e5569;
  font-size: 13px;
  font-weight: 760;
}

.signature-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.signature-card small {
  color: #748596;
  line-height: 1.4;
}

.gene-chip {
  display: inline-flex;
  border: 1px solid #c9d9e2;
  border-radius: 999px;
  background: #fff;
  padding: 4px 7px;
  color: #38556d;
  font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.gene-chip.empty {
  border-style: dashed;
  color: #8a6b65;
  font-family: inherit;
}

.lab-boundary {
  margin-top: 26px;
  border-left: 4px solid var(--sim-amber);
  background: #fffaf0;
  padding: 15px 18px;
}

.lab-boundary strong { color: #72541e; }
.lab-boundary p { margin: 5px 0; color: #685d47; }

.unlock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0;
}

.unlock-grid .section-head {
  grid-column: 1 / -1;
}

.unlock-grid article {
  display: grid;
  gap: 8px;
  min-height: 190px;
  border: 1px solid #e1d9d7;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff, #fbf7f6);
  padding: 20px;
}

.unlock-grid article > span {
  color: var(--sim-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.unlock-grid article strong {
  color: var(--sim-navy);
}

.unlock-grid article p {
  margin: 0;
  color: #657688;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .sim-level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .external-evidence-grid { grid-template-columns: 1fr; }
  .lab-console { grid-template-columns: 1fr; }
  .lab-controls { border-right: 0; border-bottom: 1px solid #d8e4eb; }
  .lab-mode-fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unlock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .benchmark-route-grid,
  .vcc-official-source-card dl,
  .release-dependency-branches {
    grid-template-columns: 1fr;
  }
  .perturbation-hero { grid-template-columns: 1fr; }
  .sim-level-grid,
  .selected-external-grid,
  .lab-mode-fieldset,
  .lab-metric-grid,
  .program-grid,
  .signature-grid,
  .unlock-grid { grid-template-columns: 1fr; }
  .correction-effect-grid { grid-template-columns: 1fr; }
  .lab-result-head { flex-direction: column; }
  .sim-level-card { min-height: auto; }
}
