:root {
  --bg: #0b0d11;
  --bg-elev: #12151c;
  --bg-soft: #181c26;
  --line: #2a3140;
  --ink: #e9ecf2;
  --muted: #9aa3b2;
  --faint: #6b7383;
  --gold: #d4af37;
  --gold-dim: rgba(212, 175, 55, 0.16);
  --silicon: #f07178;
  --silicon-dim: rgba(240, 113, 120, 0.14);
  --os: #56c2e8;
  --os-dim: rgba(86, 194, 232, 0.14);
  --data: #4ecb8d;
  --data-dim: rgba(78, 203, 141, 0.14);
  --orch: #b388ff;
  --orch-dim: rgba(179, 136, 255, 0.14);
  --dist: #ffb454;
  --dist-dim: rgba(255, 180, 84, 0.14);
  --use: #7aa2ff;
  --use-dim: rgba(122, 162, 255, 0.14);
  --serif: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 12% -8%, rgba(212, 175, 55, 0.1), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(179, 136, 255, 0.08), transparent 50%),
    radial-gradient(800px 400px at 50% 100%, rgba(86, 194, 232, 0.05), transparent 45%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}

/* Password gate: hide site until unlocked */
html:not(.is-unlocked) body > *:not(#source-gate) {
  display: none !important;
}
html:not(.is-unlocked) body {
  overflow: hidden;
}

#source-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(700px 380px at 85% 80%, rgba(179, 136, 255, 0.12), transparent 50%),
    #0b0d11;
}
.gate-shell { width: min(440px, 100%); }
.gate-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(24, 28, 38, 0.96), rgba(14, 16, 22, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 32px 28px 28px;
}
.gate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.gate-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.gate-brand em {
  font-style: normal;
  color: var(--gold);
}
.gate-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.gate-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.gate-lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.gate-form { display: grid; gap: 10px; }
.gate-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.gate-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0d11;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  letter-spacing: 0.18em;
  padding: 14px 16px;
  outline: none;
}
.gate-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.gate-error {
  margin: 0;
  color: #f07178;
  font-size: 13px;
  font-weight: 600;
}
.gate-submit {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #e0c04a, #d4af37);
  color: #14120a;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  margin-top: 4px;
}
.gate-submit:hover { filter: brightness(1.05); }
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.gate-shake .gate-card {
  animation: gateShake 0.35s ease;
}

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #e8c84a; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px 8px;
  border-bottom: 0;
  background: rgba(11, 13, 17, 0.92);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand span { font-size: 14px; }
.brand em {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #14120a;
}
.btn--primary:hover { color: #14120a; filter: brightness(1.05); }

.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
}
.toc {
  position: sticky;
  top: 57px;
  align-self: start;
  max-height: calc(100vh - 57px);
  overflow: auto;
  padding: 24px 16px 40px 20px;
  border-right: 1px solid var(--line);
  font-size: 13px;
}
.toc h2 {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--faint);
  font-weight: 700;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc li { margin: 0 0 8px; }
.toc a {
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover { color: var(--ink); }
.toc .toc-star { margin-right: 4px; }

.doc {
  padding: 28px 28px 80px;
  min-width: 0;
}
.cover {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(900px 280px at 10% -10%, var(--gold-dim), transparent 60%),
    radial-gradient(700px 240px at 90% 0%, var(--orch-dim), transparent 55%),
    var(--bg-elev);
  padding: 32px 28px;
  margin-bottom: 28px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.cover h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cover .lede {
  margin: 0 0 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}
.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.meta div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
}
.meta dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.meta dd {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}
.legend-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg-elev);
}
.legend-item p { margin: 0; font-size: 13px; color: var(--muted); }
.legend-item strong { display: block; color: var(--ink); margin-bottom: 2px; }

.star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}
.star--mind { color: var(--gold); }
.star--silicon { color: var(--silicon); }
.star--os { color: var(--os); }
.star--data { color: var(--data); }
.star--orch { color: var(--orch); }
.star--dist { color: var(--dist); }
.star--use { color: var(--use); }

.hl {
  border-left: 3px solid var(--line);
  padding: 10px 14px;
  margin: 14px 0;
  border-radius: 0 10px 10px 0;
  background: var(--bg-soft);
}
.hl--mind { border-left-color: var(--gold); background: var(--gold-dim); }
.hl--silicon { border-left-color: var(--silicon); background: var(--silicon-dim); }
.hl--os { border-left-color: var(--os); background: var(--os-dim); }
.hl--data { border-left-color: var(--data); background: var(--data-dim); }
.hl--orch { border-left-color: var(--orch); background: var(--orch-dim); }
.hl--dist { border-left-color: var(--dist); background: var(--dist-dim); }
.hl--use { border-left-color: var(--use); background: var(--use-dim); }
.hl .title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
}
.hl p { margin: 0; font-size: 14px; color: var(--muted); }

section {
  margin: 0 0 36px;
  scroll-margin-top: 72px;
}
section > h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
}
section > h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}
section > p, .prose p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 72ch;
}
section > p strong, .prose strong { color: var(--ink); }

.flow {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 20px;
  background: var(--bg-elev);
}
.flow-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.flow-row:last-child { border-bottom: 0; }
.flow-row .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  padding-top: 3px;
}
.flow-row .label {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.flow-row .sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.flow-row--mind { background: linear-gradient(90deg, var(--gold-dim), transparent 55%); }
.flow-row--silicon { background: linear-gradient(90deg, var(--silicon-dim), transparent 55%); }
.flow-row--os { background: linear-gradient(90deg, var(--os-dim), transparent 55%); }
.flow-row--data { background: linear-gradient(90deg, var(--data-dim), transparent 55%); }
.flow-row--orch { background: linear-gradient(90deg, var(--orch-dim), transparent 55%); }
.flow-row--dist { background: linear-gradient(90deg, var(--dist-dim), transparent 55%); }
.flow-row--use { background: linear-gradient(90deg, var(--use-dim), transparent 55%); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0 18px;
}
th, td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--bg-elev);
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td { color: var(--muted); }
td strong { color: var(--ink); font-weight: 650; }

.claims {
  counter-reset: claim;
}
.claim {
  counter-increment: claim;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 10px;
  background: var(--bg-elev);
}
.claim::before {
  content: "Claim " counter(claim);
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.claim p { margin: 0; color: var(--muted); font-size: 14px; }

.footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.catalog-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
}
.catalog-bar p { margin: 0; font-size: 13px; color: var(--muted); }
.catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stat-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink);
  background: rgba(0,0,0,0.18);
}
.stat-chip strong { color: var(--gold); }

.div-grid, .prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}
.div-card, .prod-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg-elev);
  color: inherit;
  text-decoration: none;
  display: block;
  min-height: 100%;
}
.div-card:hover, .prod-card:hover { border-color: var(--gold); }
.div-card .k, .prod-card .k {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}
.div-card h4, .prod-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink);
}
.div-card p, .prod-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  max-width: none;
}

.stage-list { margin: 12px 0 18px; }
.stage {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 8px;
  background: var(--bg-elev);
}
.stage .when {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
}
.stage .body .label {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.stage .body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  max-width: none;
}
.stage.is-now { border-color: var(--os); background: var(--os-dim); }
.stage.is-next { border-color: var(--orch); background: var(--orch-dim); }
.stage.is-later { border-color: var(--line); }

.funnel {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 140px 1fr 70px;
  gap: 10px;
  align-items: center;
}
.funnel-row .name { font-size: 13px; font-weight: 650; color: var(--ink); }
.funnel-bar {
  height: 28px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.funnel-bar > span {
  display: block;
  height: 100%;
  background: var(--use);
}
.funnel-row:nth-child(1) .funnel-bar > span { background: var(--os); width: 28%; }
.funnel-row:nth-child(2) .funnel-bar > span { background: var(--orch); width: 42%; }
.funnel-row:nth-child(3) .funnel-bar > span { background: var(--use); width: 58%; }
.funnel-row:nth-child(4) .funnel-bar > span { background: var(--dist); width: 78%; }
.funnel-row:nth-child(5) .funnel-bar > span { background: var(--gold); width: 100%; }
.funnel-row .qty { font-family: var(--mono); font-size: 11px; color: var(--faint); text-align: right; }

.diagram-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 18px;
}
.diagram-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 22px;
}
.diagram-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(24, 28, 38, 0.95), rgba(14, 16, 22, 0.98));
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.diagram-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}
.diagram-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.diagram-card__head h3 {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.diagram-card__head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  max-width: none;
}
.diagram-card__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.diagram-card__body {
  padding: 12px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(212, 175, 55, 0.06), transparent 60%),
    #0b0d11;
}
.diagram-card__body object,
.diagram-card__body img,
.diagram-card__body iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  border: 0;
  border-radius: 10px;
  background: #0b0d11;
}
.diagram-card.live .diagram-card__head {
  border-left: 3px solid var(--os);
}

.page-hero {
  margin: 0 0 8px;
  padding: 8px 0 4px;
}
.page-hero h1 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
.page-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}
body.view-diagrams-page .doc {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 96px;
}
body.view-diagrams-page .diagram-grid {
  margin-top: 28px;
  gap: 20px;
}
@media print {
  .diagram-toolbar, .diagram-card__actions { display: none !important; }
  .diagram-card { break-inside: avoid; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .toc {
    position: relative;
    top: 0;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .doc { padding: 20px 16px 64px; }
  .topbar { padding: 10px 12px; }
}

@media print {
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }
  :root {
    --bg: #fff;
    --bg-elev: #f7f7f8;
    --bg-soft: #f3f4f6;
    --line: #ccc;
    --ink: #111;
    --muted: #333;
    --faint: #555;
  }
  .topbar, .toc, .skip, .no-print { display: none !important; }
  .shell { display: block; max-width: none; }
  .doc { padding: 0; }
  .cover, .legend-item, .flow, .claim, .hl, .meta div {
    break-inside: avoid;
  }
  a { color: inherit; text-decoration: none; }
  .btn { display: none; }
}

/* View tabs: Document | Diagrams */
.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 20px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.96);
  position: sticky;
  top: 57px;
  z-index: 45;
  overflow: visible;
}
.view-tabs a,
.view-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
}
.view-tabs a:hover,
.view-tabs button:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.view-tabs a.is-active,
.view-tabs button.is-active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.jump-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.18);
}
.jump-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.jump-links a.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.view-tabs + .jump-links {
  margin: 0;
  padding: 8px 20px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.92);
}

body.view-diagrams .shell { display: none; }
body.view-diagrams #diagrams-only { display: block; }
#diagrams-only {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}
#diagrams-only .diagram-grid { margin-top: 18px; }

body.view-anatomy-page .anatomy-doc {
  max-width: 1280px;
}
.anatomy-frame {
  margin: 8px 0 28px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #f3efe6;
}
.anatomy-frame img {
  display: block;
  width: 100%;
  min-width: 960px;
  height: auto;
  background: #f3efe6;
}
.anatomy-notes {
  max-width: 720px;
}
.anatomy-notes h2 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.anatomy-notes ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
}
.anatomy-notes li {
  margin: 0 0 8px;
  line-height: 1.45;
}
.jump-links a.is-active {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--ink);
}
.diagram-section-title {
  margin: 36px 0 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media print {
  .anatomy-frame { overflow: visible; border: 0; }
  .anatomy-frame img { min-width: 0; }
  @page { size: landscape; }
}

@media print {
  .view-tabs { display: none !important; }
  body.view-diagrams .shell { display: grid !important; }
  #diagrams-only { display: none !important; }
}
