:root {
  color-scheme: light;
  --bg: #f6fbff;
  --bg-2: #eefaf6;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --field: rgba(255, 255, 255, 0.9);
  --text: #113240;
  --muted: #587181;
  --line: rgba(55, 111, 130, 0.18);
  --line-strong: rgba(25, 139, 152, 0.32);
  --teal: #00a99d;
  --sky: #2c7be5;
  --amber: #f59e0b;
  --rose: #e84a5f;
  --green: #16a36c;
  --violet: #7058e8;
  --ink: #052c34;
  --shadow: 0 22px 56px rgba(24, 91, 115, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(0, 169, 157, 0.14), transparent 36%),
    linear-gradient(245deg, rgba(112, 88, 232, 0.12), transparent 42%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 54%, #f7f8ff);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(44, 123, 229, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 169, 157, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 84%);
}

.bio-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.62;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(49, 125, 153, 0.16);
  background: rgba(248, 253, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.top-actions,
.panel-heading,
.button-row,
.summary-strip,
.home-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 169, 157, 0.46);
  border-radius: 12px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(145deg, rgba(0, 169, 157, 0.2), rgba(44, 123, 229, 0.14));
  box-shadow: 0 14px 30px rgba(31, 115, 148, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.brand-mark::after {
  position: absolute;
  inset: 5px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9px;
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
}

.brand-orbit {
  stroke-width: 1.1;
}

.brand-link {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3.2;
}

.brand-target {
  stroke-width: 2.3;
}

.brand-core {
  stroke-width: 1.2;
}

.brand-spark {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.inline-action,
.community-link a {
  color: #007d78;
  text-decoration: none;
}

.nav-links a {
  position: relative;
  min-width: 86px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 169, 157, 0.11);
  color: #006b69;
}

.top-actions {
  justify-content: flex-end;
  gap: 10px;
}

.status-pill {
  min-width: 128px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
  white-space: nowrap;
}

.status-pill.ok {
  border-color: rgba(22, 163, 108, 0.34);
  color: var(--green);
}

.status-pill.bad {
  border-color: rgba(232, 74, 95, 0.34);
  color: var(--rose);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.view-section {
  animation: sectionIn 0.44s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-view {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
}

.home-stage {
  width: 100%;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.network-showcase {
  width: min(980px, 100%);
  height: 300px;
  min-height: 240px;
}

.network-showcase svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.network-cluster path {
  fill: none;
  stroke-width: 2;
  animation: networkBreath 5.6s ease-in-out infinite;
}

.network-cluster circle {
  animation: nodePulse 3.8s ease-in-out infinite;
}

.cluster-left circle:nth-of-type(odd),
.cluster-right circle:nth-of-type(even) {
}

.cluster-left circle:nth-of-type(3n),
.cluster-right circle:nth-of-type(3n) {
}

.target-node {
  fill: var(--rose) !important;
  stroke-width: 3;
  animation: targetPulse 2.2s ease-in-out infinite !important;
}

.discovery-link {
  fill: none;
  stroke-width: 18;
  stroke-linecap: round;
  opacity: 0.16;
}

.discovery-trace {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 22 22;
  animation: linkFlow 2.2s linear infinite;
}

.signal-dot {
  offset-path: path("M252 172 C365 98 528 285 744 186");
  animation: signalTravel 3s ease-in-out infinite;
}

.signal-dot circle {
  fill: var(--amber);
}

.home-copy {
  max-width: 860px;
}

.section-kicker {
  margin: 0 0 8px;
  color: #008b86;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 1.08;
}

h1 {
  font-size: 3.2rem;
}

.home-copy h1 {
  font-size: 4.4rem;
  font-weight: 950;
}

h2 {
  font-size: 1.42rem;
}

h3 {
  font-size: 1.04rem;
}

.home-copy p:not(.section-kicker),
.section-intro p {
  color: var(--muted);
  line-height: 1.62;
}

.home-copy p:not(.section-kicker) {
  max-width: 820px;
  margin: 14px auto 0;
  font-size: 1.08rem;
}

.home-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.hero-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  min-height: 52px;
  overflow: hidden;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.38), transparent 76%);
  transform: translateX(-130%);
}

.hero-button:hover {
  transform: translateY(-3px);
}

.hero-button:hover::after {
  animation: buttonSweep 0.8s ease;
}

.primary-link {
  background: linear-gradient(135deg, #00b8a9, #2c7be5);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(44, 123, 229, 0.24);
}

.secondary-link {
  border: 1px solid rgba(0, 169, 157, 0.42);
  background: rgba(255, 255, 255, 0.72);
  color: #006b69;
}

.section-intro {
  margin-bottom: 18px;
  padding: 22px 0 4px;
}

.section-intro h1 {
  max-width: 900px;
  font-size: 2.4rem;
}

.section-intro p:not(.section-kicker) {
  max-width: 820px;
  margin: 12px 0 0;
}

.workbench-grid,
.support-grid,
.doc-grid {
  display: grid;
  gap: 18px;
}

.workbench-grid {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  margin-bottom: 18px;
}

.prediction-panel {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.support-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
}

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

.panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, rgba(0, 169, 157, 0.08), transparent 26%);
  opacity: 0.7;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel-heading {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.form-grid,
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.explainer-grid p,
.doc-grid p,
.about-copy p,
.method-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field span {
  color: #274a59;
  font-size: 0.9rem;
  font-weight: 750;
}

.label-with-help {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
}

.tooltip-help {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(0, 169, 157, 0.34);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 169, 157, 0.12), rgba(44, 123, 229, 0.1));
  color: #007873;
  cursor: help;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  outline: none;
}

.tooltip-help::before,
.tooltip-help::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 50;
}

.tooltip-help::before {
  bottom: calc(100% + 5px);
  width: 10px;
  height: 10px;
  content: "";
  background: rgba(255, 255, 255, 0.98);
  border-right: 1px solid rgba(55, 111, 130, 0.16);
  border-bottom: 1px solid rgba(55, 111, 130, 0.16);
  transform: translateX(-50%) translateY(4px) rotate(45deg);
}

.tooltip-help::after {
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: min(330px, calc(100vw - 36px));
  padding: 10px 12px;
  border: 1px solid rgba(55, 111, 130, 0.18);
  border-radius: 8px;
  content: attr(data-tooltip);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 42px rgba(24, 91, 115, 0.18);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.46;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.tooltip-help:hover,
.tooltip-help:focus-visible {
  border-color: rgba(44, 123, 229, 0.5);
  color: var(--sky);
}

.tooltip-help:hover::before,
.tooltip-help:hover::after,
.tooltip-help:focus-visible::before,
.tooltip-help:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tooltip-help:hover::before,
.tooltip-help:focus-visible::before {
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(63, 112, 134, 0.22);
  border-radius: 8px;
  outline: none;
  background: var(--field);
  color: var(--text);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 156px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 169, 157, 0.62);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.13);
}

small,
.muted {
  color: var(--muted);
  line-height: 1.5;
}

.upload-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 13px;
  border: 1px dashed rgba(0, 169, 157, 0.4);
  border-radius: 10px;
  background: rgba(234, 255, 252, 0.76);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.upload-card:hover {
  border-color: rgba(0, 169, 157, 0.74);
  background: rgba(222, 251, 248, 0.94);
}

.upload-card input {
  display: none;
}

.upload-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(44, 123, 229, 0.24);
  border-radius: 8px;
  background: rgba(44, 123, 229, 0.1);
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
}

.upload-card strong,
.upload-card small {
  display: block;
}

.upload-card strong {
  margin-bottom: 2px;
}

.file-name {
  min-height: 18px;
  margin: 7px 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.pathway-controls {
  display: grid;
  gap: 12px;
  margin: 2px 0 18px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch span {
  position: relative;
  width: 44px;
  height: 24px;
  border: 1px solid rgba(72, 116, 132, 0.3);
  border-radius: 999px;
  background: rgba(220, 235, 240, 0.95);
}

.switch span::after {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
  transition: transform 0.18s ease, background 0.18s ease;
}

.switch input:checked + span {
  border-color: rgba(0, 169, 157, 0.62);
  background: rgba(0, 169, 157, 0.16);
}

.switch input:checked + span::after {
  transform: translateX(18px);
  background: var(--teal);
}

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

.choice-grid.is-muted {
  opacity: 0.55;
}

.check-card {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(63, 112, 134, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.check-card input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--teal);
}

.check-card span {
  color: #22485b;
  font-size: 0.86rem;
  font-weight: 800;
}

.check-card small {
  font-size: 0.72rem;
}

.check-card:has(input:checked) {
  border-color: rgba(0, 169, 157, 0.56);
  background: rgba(220, 251, 247, 0.72);
}

.check-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

button::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32), transparent 76%);
  transform: translateX(-130%);
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
}

button:hover:not(:disabled)::after {
  animation: buttonSweep 0.75s ease;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button.is-loading {
  color: transparent;
}

button.is-loading::before {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: var(--ink);
  border-radius: 50%;
  content: "";
  animation: spin 0.75s linear infinite;
}

.secondary-button.is-loading::before,
.ghost-button.is-loading::before {
  border-color: rgba(0, 169, 157, 0.2);
  border-top-color: var(--teal);
}

.primary-button,
.secondary-button,
.ghost-button {
  padding: 0 16px;
}

.primary-button {
  background: linear-gradient(135deg, #00b8a9, #2c7be5);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(44, 123, 229, 0.2);
}

.secondary-button {
  border: 1px solid rgba(0, 169, 157, 0.34);
  background: rgba(0, 169, 157, 0.08);
  color: #007873;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.ghost-button.compact {
  min-width: 76px;
}

.button-row {
  flex-wrap: wrap;
  gap: 10px;
}

.community-link {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.community-link a,
.inline-action {
  display: inline-flex;
  margin-left: 6px;
  color: var(--teal);
  font-weight: 850;
}

.message {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.message.ok {
  color: var(--green);
}

.message.error {
  color: var(--rose);
}

.results-panel {
  width: 100%;
  min-height: 520px;
  scroll-margin-top: 96px;
  transform-origin: top center;
}

.results-panel.is-revealed {
  animation: resultReveal 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.results-panel.is-revealed .results-content {
  animation: resultContentRise 0.66s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.empty-state {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.empty-state p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.empty-visual {
  position: relative;
  width: 190px;
  height: 132px;
  margin-bottom: 8px;
}

.node,
.edge {
  position: absolute;
  display: block;
}

.node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 22px rgba(0, 169, 157, 0.32);
}

.node-a {
  left: 20px;
  top: 62px;
}

.node-b {
  left: 92px;
  top: 18px;
  background: var(--amber);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.32);
}

.node-c {
  right: 22px;
  bottom: 24px;
  background: var(--sky);
  box-shadow: 0 0 22px rgba(44, 123, 229, 0.32);
}

.edge {
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(0, 169, 157, 0.16), rgba(44, 123, 229, 0.76));
}

.edge-a {
  left: 36px;
  top: 70px;
  width: 78px;
  transform: rotate(-30deg);
}

.edge-b {
  left: 106px;
  top: 35px;
  width: 76px;
  transform: rotate(42deg);
}

.results-content {
  display: grid;
  gap: 14px;
}

.summary-strip {
  flex-wrap: wrap;
  gap: 8px;
}

.summary-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 169, 157, 0.28);
  border-radius: 999px;
  background: rgba(221, 252, 248, 0.74);
  color: #006b69;
  font-size: 0.83rem;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 11px;
  border-bottom: 1px solid rgba(63, 112, 134, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(233, 247, 251, 0.92);
  color: #34576b;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

td {
  color: #173a48;
  font-size: 0.92rem;
}

tbody tr {
  animation: rowIn 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--row, 0) * 38ms);
}

tbody tr:hover td {
  background: rgba(0, 169, 157, 0.055);
}

tr:last-child td {
  border-bottom: 0;
}

.gene-tag,
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(44, 123, 229, 0.1);
  color: #1958a8;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.label-tag.valid {
  background: rgba(22, 163, 108, 0.12);
  color: var(--green);
}

.label-tag .label-tooltip {
  width: 16px;
  height: 16px;
  border-color: rgba(22, 163, 108, 0.36);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  font-size: 0.68rem;
}

.label-tag.oog,
.label-tag.error,
.label-tag.invalid {
  background: rgba(232, 74, 95, 0.12);
  color: var(--rose);
}

.score-cell {
  min-width: 142px;
}

.score-number {
  display: block;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.score-bar {
  display: block;
  width: 116px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(63, 112, 134, 0.16);
}

.score-bar span {
  display: block;
  width: var(--score-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--amber));
  transform-origin: left center;
  animation: scoreFill 0.76s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pathway-details {
  max-width: 340px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.about-panel {
  display: grid;
  gap: 22px;
}

.framework-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
}

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

.about-copy {
  display: grid;
  gap: 8px;
}

.contact-box {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(63, 112, 134, 0.14);
}

.contact-box a {
  color: var(--teal);
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 12px;
}

.status-list div {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(63, 112, 134, 0.12);
}

.status-list div:last-child {
  border-bottom: 0;
}

.status-list dt {
  color: #274a59;
  font-size: 0.82rem;
  font-weight: 850;
}

.status-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pathway-status {
  padding: 12px;
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 8px;
  background: rgba(255, 247, 220, 0.84);
  color: #8a5800;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

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

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .workbench-grid,
  .support-grid,
  .doc-grid,
  .explainer-grid {
    grid-template-columns: 1fr;
  }

  .results-panel {
    min-height: auto;
  }

  .empty-state {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 12px 10px;
  }

  .page-shell {
    width: min(100% - 20px, 1240px);
  }

  .home-view {
    min-height: auto;
    padding: 10px 0 32px;
  }

  .home-stage {
    gap: 10px;
  }

  .network-showcase {
    height: 220px;
    min-height: 190px;
  }

  .home-copy h1 {
    font-size: 3rem;
  }

  .home-copy p:not(.section-kicker) {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .home-actions {
    margin-top: 12px;
  }

  h1,
  .section-intro h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.24rem;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-card {
    align-items: flex-start;
  }

  .button-row,
  .button-row button,
  .hero-button,
  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .top-actions {
    width: 100%;
  }
}

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

  .bio-canvas {
    display: none;
  }
}

@keyframes sectionIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes networkBreath {
  0%,
  100% {
    opacity: 0.58;
  }
  50% {
    opacity: 0.92;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes targetPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes linkFlow {
  to {
    stroke-dashoffset: -88;
  }
}

@keyframes signalTravel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes buttonSweep {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resultContentRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scoreFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
