:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #666;
  --red: #c0392b;
  --orange: #d35400;
  --yellow: #b8860b;
  --blue: #1a5490;
  --green: #2c5f2d;
  --border: #e0e0e0;
  --card-bg: #fafafa;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --fg: #f0f0f0;
    --muted: #aaa;
    --card-bg: #2a2a2a;
    --border: #333;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  padding-bottom: max(env(safe-area-inset-bottom), 16px);
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: white;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  padding-top: env(safe-area-inset-top);
  height: calc(56px + env(safe-area-inset-top));
}
.topbar h1 {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .back,
.topbar .search-icon {
  color: white;
  text-decoration: none;
  text-align: center;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 44px;
}

/* HOME PAGE */
.home-header {
  background: linear-gradient(160deg, #8e1d12 0%, var(--red) 100%);
  color: white;
  padding: 24px 16px 20px;
  padding-top: calc(24px + env(safe-area-inset-top));
}
.home-header h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
}
.home-header .subtitle {
  font-size: 14px;
  opacity: 0.85;
  margin: 0 0 16px;
}
.home-search-wrap {
  position: relative;
}
.home-search-wrap input[type="search"] {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 17px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
  -webkit-appearance: none;
  appearance: none;
}
.home-search-wrap::before {
  content: "🔍";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}
.home-search-wrap input:focus {
  outline: 3px solid white;
}

/* CARDS */
.cards {
  padding: 12px 0;
}
.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  margin: 8px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 6px solid var(--red);
  border-radius: 12px;
  color: var(--fg);
  text-decoration: none;
  min-height: 80px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s, box-shadow 0.1s;
}
.card:active { transform: scale(0.98); }
.card.urgent { border-left-color: var(--red); }
.card.orange { border-left-color: var(--orange); }
.card.yellow { border-left-color: var(--yellow); }
.card.blue { border-left-color: var(--blue); }
.card.teal { border-left-color: #0d7a6e; }
.card-icon { font-size: 28px; flex-shrink: 0; width: 40px; text-align: center; }
.card-text { flex: 1; min-width: 0; }
.card .title { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.card .sub { font-size: 13px; color: var(--muted); line-height: 1.3; }
.card .arrow { color: var(--muted); font-size: 20px; flex-shrink: 0; }

/* EMERGENCY BLOCK */
.emergency-block {
  margin: 8px 12px;
  border-radius: 12px;
  overflow: hidden;
}
.tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.tel-btn.secondary {
  background: #b03020;
  font-weight: 600;
  font-size: 15px;
}

/* FOOTER STRIP */
.footer-strip {
  margin: 12px 12px 0;
  padding: 14px 16px;
  background: #fff8dc;
  border: 1.5px solid var(--yellow);
  border-radius: 12px;
  font-size: 14px;
  color: #4a3a00;
  line-height: 1.4;
}
@media (prefers-color-scheme: dark) {
  .footer-strip { background: #2a2500; color: #e0c040; border-color: #6b5c00; }
}
.footer-strip strong { display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.last-updated {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 16px;
}

/* DOC PAGES */
.doc-page .doc {
  padding: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.doc h1 { font-size: 22px; color: var(--red); margin: 0 0 16px; }
.doc h2 { font-size: 19px; color: var(--red); margin: 28px 0 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.doc h2:first-child { border-top: none; }
.doc h3 { font-size: 16px; color: var(--orange); margin: 20px 0 8px; }
.doc h4 { font-size: 15px; color: var(--blue); margin: 16px 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--fg); }
.doc em { color: var(--muted); }
.doc blockquote {
  border-left: 4px solid var(--orange);
  margin: 12px 0;
  padding: 10px 14px;
  background: var(--card-bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.doc code {
  background: var(--card-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: "SF Mono", Menlo, monospace;
}
.doc hr { border: none; border-top: 2px solid var(--border); margin: 20px 0; }
.doc mark { background: #fff59d; padding: 2px 4px; border-radius: 3px; color: #1a1a1a; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc th { background: var(--red); color: white; padding: 8px 10px; text-align: left; }
.doc td { padding: 7px 10px; border-bottom: 1px solid var(--border); }
.doc tr:nth-child(even) td { background: var(--card-bg); }

/* INLINE SEARCH ON DOC PAGES */
.search-inline {
  position: sticky;
  top: calc(56px + env(safe-area-inset-top));
  z-index: 50;
  background: var(--bg);
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
}
.search-inline input {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--fg);
  -webkit-appearance: none;
  appearance: none;
}
.search-inline input:focus { border-color: var(--red); outline: none; }
.search-highlight { background: #fff59d; border-radius: 2px; }

/* SEARCH PAGE */
.search-page {
  padding: 16px;
}
.search-page .search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.search-page input[type="search"] {
  flex: 1;
  padding: 12px 14px;
  font-size: 17px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--fg);
  -webkit-appearance: none;
  appearance: none;
}
.search-page input:focus { border-color: var(--red); outline: none; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.chip {
  padding: 7px 14px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.chip:active { background: var(--border); }
.result-count { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.result-item {
  display: block;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
}
.result-item:active { background: var(--border); }
.result-heading { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.result-source { font-size: 12px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; }
.result-snippet { font-size: 14px; color: var(--fg); line-height: 1.4; }
.result-snippet mark { background: #fff59d; padding: 1px 3px; border-radius: 2px; color: #1a1a1a; }
.no-results { text-align: center; color: var(--muted); padding: 40px 20px; }
.no-results .hint { font-size: 14px; margin-top: 8px; }

/* INFOGRAPHIC PAGE */
.infographic-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
}
@media (max-width: 480px) {
  .infographic-wrapper .page {
    transform-origin: top left;
    transform: scale(0.45);
    width: 222%;
    margin-bottom: -55%;
  }
}

/* PDF LINK */
.pdf-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 12px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  min-height: 56px;
}

/* INSIDE PCD DASHBOARD */
body.inside-pcd-home {
  --pcd-bg: #06111f;
  --pcd-bg-deep: #030914;
  --pcd-panel: rgba(8, 22, 38, 0.88);
  --pcd-panel-strong: rgba(12, 30, 50, 0.94);
  --pcd-border: rgba(114, 209, 255, 0.16);
  --pcd-text: #eff7ff;
  --pcd-muted: #9fb0c7;
  --pcd-cyan: #24d9ea;
  --pcd-cyan-soft: #0d6178;
  --pcd-pink: #ff5d9e;
  --pcd-purple: #8e4de8;
  --pcd-orange: #ff9f43;
  --pcd-green: #2fe081;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 42% 12%, rgba(35, 145, 209, 0.22), transparent 24rem),
    linear-gradient(135deg, #05101f 0%, #020813 58%, #07182a 100%);
  color: var(--pcd-text);
  font-size: 14px;
  line-height: 1.35;
}

.inside-pcd-home a {
  color: inherit;
  text-decoration: none;
}

.pcd-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
}

.pcd-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 12px 14px;
  background:
    linear-gradient(180deg, rgba(5, 15, 29, 0.98), rgba(4, 12, 24, 0.94)),
    linear-gradient(90deg, rgba(36, 217, 234, 0.08), transparent);
  border-right: 1px solid rgba(114, 209, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10;
}

.pcd-brand {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(36, 217, 234, 0.75);
  position: relative;
  box-shadow: inset 0 0 16px rgba(36, 217, 234, 0.22), 0 0 20px rgba(36, 217, 234, 0.14);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--pcd-cyan);
}

.brand-mark::before {
  width: 8px;
  height: 8px;
  top: 2px;
  left: 4px;
}

.brand-mark::after {
  width: 6px;
  height: 6px;
  right: 3px;
  bottom: 5px;
  background: #77e8ff;
}

.brand-mark span {
  width: 5px;
  height: 5px;
  left: 13px;
  bottom: 3px;
  background: #a855f7;
}

.pcd-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.pcd-brand small {
  display: block;
  margin-top: 4px;
  color: var(--pcd-muted);
  font-size: 9px;
  line-height: 1.2;
}

.pcd-side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcd-side-nav a {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #d8e7f7;
  font-size: 12px;
}

.pcd-side-nav a span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 235, 255, 0.3);
  border-radius: 5px;
  color: var(--pcd-cyan);
  font-size: 9px;
  font-weight: 800;
}

.pcd-side-nav a.active,
.pcd-side-nav a:hover {
  background: linear-gradient(90deg, rgba(18, 190, 215, 0.28), rgba(10, 70, 98, 0.55));
  color: #ffffff;
}

.pcd-mode-card {
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--pcd-border);
  border-radius: 8px;
  background: rgba(12, 27, 45, 0.78);
}

.mode-row {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #c5d7e9;
}

.mini-switch input {
  position: absolute;
  opacity: 0;
}

.mini-switch span {
  display: block;
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: rgba(36, 217, 234, 0.2);
  border: 1px solid rgba(36, 217, 234, 0.45);
  position: relative;
}

.mini-switch span::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 1px;
  top: 0;
  border-radius: 50%;
  background: var(--pcd-cyan);
}

.pcd-mode-card p {
  margin: 10px 0 0;
  padding: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pcd-muted);
  font-size: 10px;
  line-height: 1.35;
}

.pcd-dashboard {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 6px;
  padding: 4px;
}

.pcd-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pcd-border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 25, 43, 0.95), rgba(3, 10, 22, 0.92)),
    rgba(6, 17, 31, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 14px 40px rgba(0, 0, 0, 0.22);
}

.pcd-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(36, 217, 234, 0.08), transparent 34%, rgba(255, 93, 158, 0.06));
}

.pcd-hero-panel {
  grid-column: span 6;
  min-height: 458px;
  padding: 60px 26px 28px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(360px, 52%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #8defff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.pcd-hero-panel h1 {
  margin: 0;
  max-width: 430px;
  font-size: clamp(30px, 2.7vw, 39px);
  line-height: 1.2;
  letter-spacing: 0;
}

.pcd-hero-panel p {
  color: #c3d3e5;
}

.hero-copy > p:not(.eyebrow) {
  margin: 18px 0 22px;
  max-width: 390px;
  font-size: 14px;
}

.hero-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.quiet-button,
.wide-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 12px;
}

.primary-action {
  background: linear-gradient(135deg, #1de0f2, #0da9c1);
  color: #04202b;
  box-shadow: 0 10px 28px rgba(36, 217, 234, 0.22);
}

.secondary-action,
.quiet-button,
.wide-link {
  border: 1px solid rgba(36, 217, 234, 0.46);
  color: #d9faff;
  background: rgba(9, 28, 48, 0.7);
}

.hero-person {
  position: absolute;
  right: -4px;
  top: 8px;
  bottom: 0;
  width: 48%;
  min-width: 330px;
  pointer-events: none;
}

.person-glow {
  position: absolute;
  inset: 20px 20px 8px 0;
  border-radius: 40% 40% 8px 8px;
  background: linear-gradient(90deg, transparent, rgba(40, 155, 239, 0.13), rgba(255, 93, 158, 0.08));
  filter: blur(1px);
}

.head-model {
  position: absolute;
  top: 4px;
  left: 34%;
  width: 126px;
  height: 154px;
  border-radius: 49% 48% 43% 43%;
  background:
    radial-gradient(circle at 52% 46%, rgba(36, 217, 234, 0.25), transparent 24px),
    linear-gradient(145deg, rgba(57, 145, 232, 0.42), rgba(7, 29, 57, 0.42));
  border: 1px solid rgba(113, 201, 255, 0.35);
  box-shadow: inset 0 0 38px rgba(91, 176, 255, 0.48), 0 0 42px rgba(28, 135, 210, 0.18);
}

.head-model::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 52px;
  width: 38px;
  height: 72px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 117, 172, 0.9), rgba(252, 104, 143, 0.5));
  transform: rotate(10deg);
  box-shadow: 0 0 18px rgba(255, 93, 158, 0.5);
}

.sinus-glow,
.ear-glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 93, 158, 0.78);
  box-shadow: 0 0 20px rgba(255, 93, 158, 0.74);
}

.sinus-glow {
  width: 32px;
  height: 20px;
  top: 56px;
  left: 38px;
}

.ear-glow {
  width: 30px;
  height: 30px;
  top: 67px;
  right: 18px;
}

.airway-line {
  position: absolute;
  width: 18px;
  height: 170px;
  left: 58px;
  top: 112px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 123, 163, 0.95), rgba(255, 123, 163, 0.45));
  box-shadow: 0 0 20px rgba(255, 93, 158, 0.45);
}

.torso-model {
  position: absolute;
  left: 17%;
  top: 166px;
  width: 290px;
  height: 260px;
  border-radius: 34% 34% 16% 16%;
  background:
    linear-gradient(90deg, rgba(72, 161, 241, 0.18), rgba(12, 56, 102, 0.26) 50%, rgba(72, 161, 241, 0.12)),
    linear-gradient(180deg, rgba(38, 108, 180, 0.18), rgba(4, 16, 29, 0.22));
  border: 1px solid rgba(113, 201, 255, 0.24);
  box-shadow: inset 0 0 40px rgba(74, 171, 255, 0.18);
}

.trachea {
  position: absolute;
  top: 0;
  left: 136px;
  width: 18px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9ab9, #ff6d97);
  box-shadow: 0 0 20px rgba(255, 93, 158, 0.42);
}

.trachea::before,
.trachea::after {
  content: "";
  position: absolute;
  bottom: -42px;
  width: 13px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9ab9, rgba(255, 93, 158, 0.42));
  transform-origin: top;
}

.trachea::before {
  left: -30px;
  transform: rotate(33deg);
}

.trachea::after {
  right: -30px;
  transform: rotate(-33deg);
}

.lung {
  position: absolute;
  top: 58px;
  width: 96px;
  height: 134px;
  border-radius: 52% 44% 48% 44%;
  background:
    radial-gradient(circle at 54% 42%, rgba(255, 187, 213, 0.5), transparent 34px),
    linear-gradient(145deg, rgba(255, 111, 157, 0.78), rgba(255, 93, 158, 0.22));
  border: 1px solid rgba(255, 164, 196, 0.32);
  box-shadow: 0 0 24px rgba(255, 93, 158, 0.32);
}

.lung-left { left: 53px; transform: rotate(-9deg); }
.lung-right { right: 53px; transform: rotate(9deg); }

.heart {
  position: absolute;
  top: 104px;
  left: 151px;
  width: 46px;
  height: 56px;
  border-radius: 50% 46% 48% 50%;
  background: linear-gradient(145deg, #ff5d7c, #b9234d);
  transform: rotate(-17deg);
  box-shadow: 0 0 20px rgba(255, 93, 123, 0.45);
}

.mucus-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pcd-orange);
  box-shadow: 0 0 14px rgba(255, 159, 67, 0.8);
}

.dot-one { top: 138px; left: 72px; }
.dot-two { top: 170px; left: 105px; }
.dot-three { top: 164px; right: 76px; }

.hero-badge {
  position: absolute;
  top: 66px;
  right: 34px;
  z-index: 3;
  padding: 15px 16px;
  border: 1px solid rgba(125, 205, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 28, 48, 0.72);
  color: #b8c9dc;
  font-size: 12px;
  line-height: 1.35;
}

.hero-stat-row {
  position: absolute;
  left: 26px;
  right: 100px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  z-index: 3;
}

.hero-stat-row article {
  min-height: 76px;
  padding: 14px 14px 12px 58px;
  border: 1px solid rgba(114, 209, 255, 0.12);
  border-radius: 8px;
  background: rgba(15, 35, 58, 0.72);
  position: relative;
}

.hero-stat-row strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.hero-stat-row p {
  margin: 0;
  color: #aabbd0;
  font-size: 11px;
  line-height: 1.35;
}

.stat-icon {
  position: absolute;
  left: 18px;
  top: 23px;
  width: 24px;
  height: 30px;
}

.dna-icon {
  border-left: 2px solid var(--pcd-cyan);
  border-right: 2px solid var(--pcd-cyan);
  border-radius: 50%;
}

.dna-icon::before,
.dna-icon::after,
.lungs-icon::before,
.lungs-icon::after,
.support-icon::before,
.support-icon::after {
  content: "";
  position: absolute;
}

.dna-icon::before,
.dna-icon::after {
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--pcd-cyan);
  transform: rotate(-25deg);
}

.dna-icon::before { top: 7px; }
.dna-icon::after { bottom: 7px; transform: rotate(25deg); }

.lungs-icon::before,
.lungs-icon::after {
  width: 15px;
  height: 24px;
  top: 3px;
  border-radius: 50% 45% 50% 45%;
  background: rgba(36, 217, 234, 0.35);
  border: 1px solid var(--pcd-cyan);
}

.lungs-icon::before { left: 0; transform: rotate(-10deg); }
.lungs-icon::after { right: 0; transform: rotate(10deg); }

.support-icon::before {
  width: 20px;
  height: 20px;
  left: 2px;
  top: 0;
  border-radius: 50%;
  background: rgba(36, 217, 234, 0.3);
  box-shadow: -12px 12px 0 rgba(36, 217, 234, 0.18), 12px 12px 0 rgba(36, 217, 234, 0.18);
}

.pcd-body-panel,
.pcd-cilia-panel {
  grid-column: span 6;
  min-height: 458px;
  padding: 22px;
}

.panel-heading,
.section-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h2,
.section-title h2,
.pcd-explainer-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.panel-heading p,
.section-title span {
  display: block;
  margin-top: 5px;
  color: var(--pcd-muted);
  font-size: 12px;
}

.condition-toggle {
  flex: 0 0 auto;
  display: flex;
  gap: 4px;
  width: 184px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(3, 9, 20, 0.62);
  border: 1px solid rgba(114, 209, 255, 0.18);
}

.condition-toggle button {
  flex: 1;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e9f6ff;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.condition-toggle button.active {
  background: linear-gradient(135deg, #20dbe9, #119dbe);
  color: #03121c;
}

.condition-toggle.purple button.active {
  background: linear-gradient(135deg, #9b55ea, #6d2ab0);
  color: #ffffff;
}

.body-map {
  position: relative;
  z-index: 2;
  min-height: 330px;
  margin-top: 10px;
}

.body-figure {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 176px;
  height: 352px;
  transform: translateX(-50%);
  opacity: 0.96;
}

.body-head,
.body-neck,
.body-chest,
.body-pelvis,
.body-arm,
.body-leg {
  position: absolute;
  background: linear-gradient(145deg, rgba(65, 162, 242, 0.32), rgba(13, 52, 93, 0.22));
  border: 1px solid rgba(120, 202, 255, 0.24);
  box-shadow: inset 0 0 26px rgba(82, 176, 255, 0.22);
}

.body-head {
  left: 61px;
  top: 0;
  width: 54px;
  height: 64px;
  border-radius: 50% 50% 43% 43%;
}

.body-neck {
  left: 74px;
  top: 60px;
  width: 28px;
  height: 30px;
  border-radius: 10px;
}

.body-chest {
  left: 37px;
  top: 84px;
  width: 102px;
  height: 146px;
  border-radius: 42% 42% 18% 18%;
}

.body-pelvis {
  left: 48px;
  top: 220px;
  width: 80px;
  height: 52px;
  border-radius: 22px 22px 34px 34px;
}

.body-arm {
  top: 98px;
  width: 24px;
  height: 164px;
  border-radius: 999px;
  transform-origin: top center;
}

.arm-left { left: 15px; transform: rotate(13deg); }
.arm-right { right: 15px; transform: rotate(-13deg); }

.body-leg {
  top: 264px;
  width: 26px;
  height: 94px;
  border-radius: 999px;
}

.leg-left { left: 58px; }
.leg-right { right: 58px; }

.body-airway {
  position: absolute;
  left: 48px;
  top: 3px;
  width: 8px;
  height: 56px;
  border-radius: 999px;
  background: #ff89b4;
  box-shadow: 0 0 16px rgba(255, 93, 158, 0.55);
}

.body-airway::before,
.body-airway::after {
  content: "";
  position: absolute;
  bottom: -31px;
  width: 7px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 111, 157, 0.85);
  transform-origin: top;
}

.body-airway::before {
  left: -17px;
  transform: rotate(30deg);
}

.body-airway::after {
  right: -17px;
  transform: rotate(-30deg);
}

.body-lung {
  position: absolute;
  top: 53px;
  width: 38px;
  height: 58px;
  border-radius: 53% 45% 50% 44%;
  background: rgba(255, 93, 158, 0.43);
  border: 1px solid rgba(255, 157, 193, 0.35);
  box-shadow: 0 0 18px rgba(255, 93, 158, 0.28);
}

.body-lung.left { left: 20px; transform: rotate(-8deg); }
.body-lung.right { right: 20px; transform: rotate(8deg); }

.body-heart {
  position: absolute;
  top: 83px;
  left: 54px;
  width: 26px;
  height: 30px;
  border-radius: 50%;
  background: #ff526f;
  box-shadow: 0 0 18px rgba(255, 82, 111, 0.55);
}

.body-organ {
  position: absolute;
  left: 35px;
  top: 124px;
  width: 40px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 159, 67, 0.6);
  box-shadow: 0 0 16px rgba(255, 159, 67, 0.3);
}

.body-callout {
  position: absolute;
  z-index: 3;
  width: min(194px, 32%);
  min-height: 70px;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(114, 209, 255, 0.15);
  border-radius: 8px;
  background: rgba(10, 25, 44, 0.72);
}

.body-callout::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, rgba(36, 217, 234, 0.8), transparent);
}

.body-callout.left::after {
  left: 100%;
}

.body-callout.right::after {
  right: 100%;
  transform: rotate(180deg);
}

.body-callout.left { left: 4px; }
.body-callout.right { right: 4px; }
.body-callout.top { top: 26px; }
.body-callout.mid { top: 116px; }
.body-callout.low { top: 206px; }

.body-callout strong,
.body-callout small {
  grid-column: 2;
}

.body-callout strong {
  display: block;
  color: #ffffff;
  font-size: 12px;
}

.body-callout small {
  color: #bac9da;
  font-size: 10px;
  line-height: 1.3;
}

.callout-thumb {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(36, 217, 234, 0.45);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 93, 158, 0.65), transparent 16px),
    radial-gradient(circle at 58% 62%, rgba(36, 217, 234, 0.4), transparent 22px),
    rgba(6, 18, 35, 0.96);
}

.ear-thumb {
  background:
    radial-gradient(ellipse at 48% 50%, rgba(255, 169, 120, 0.8), transparent 18px),
    radial-gradient(circle at 50% 50%, rgba(255, 93, 158, 0.24), transparent 26px),
    #081526;
}

.lung-thumb,
.airway-thumb {
  background:
    radial-gradient(ellipse at 36% 54%, rgba(255, 93, 158, 0.72), transparent 15px),
    radial-gradient(ellipse at 64% 54%, rgba(255, 93, 158, 0.72), transparent 15px),
    radial-gradient(circle at 50% 28%, rgba(36, 217, 234, 0.38), transparent 14px),
    #081526;
}

.bodydev-thumb,
.fertility-thumb {
  background:
    radial-gradient(circle at 50% 36%, rgba(36, 217, 234, 0.52), transparent 16px),
    radial-gradient(circle at 44% 64%, rgba(255, 93, 158, 0.58), transparent 13px),
    #081526;
}

.body-toolbar {
  position: absolute;
  left: 70px;
  right: 42px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quiet-button {
  min-height: 38px;
  padding: 0 13px;
  color: #d8f8ff;
  background: rgba(5, 15, 28, 0.72);
}

.zoom-control {
  flex: 0 1 230px;
  min-height: 38px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(114, 209, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 15, 28, 0.72);
  color: #dcefff;
  font-size: 11px;
}

.inside-pcd-home input[type="range"] {
  width: 100%;
  accent-color: var(--pcd-cyan);
}

.pcd-tour-panel {
  grid-column: span 6;
  min-height: 235px;
  padding: 18px;
}

.tour-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.tour-card {
  min-height: 142px;
  border: 1px solid rgba(114, 209, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 93, 158, 0.25), rgba(6, 17, 31, 0.68)),
    repeating-linear-gradient(110deg, rgba(255, 156, 196, 0.2) 0 5px, rgba(255, 255, 255, 0.02) 5px 10px);
}

.tour-card.green {
  background:
    linear-gradient(180deg, rgba(47, 224, 129, 0.24), rgba(6, 17, 31, 0.72)),
    radial-gradient(circle at 75% 35%, rgba(177, 223, 71, 0.8), transparent 5px),
    radial-gradient(circle at 58% 48%, rgba(177, 223, 71, 0.65), transparent 4px),
    radial-gradient(circle at 43% 65%, rgba(177, 223, 71, 0.55), transparent 5px);
}

.tour-card.blue {
  background:
    linear-gradient(180deg, rgba(36, 217, 234, 0.22), rgba(6, 17, 31, 0.72)),
    radial-gradient(circle at 70% 44%, rgba(67, 182, 255, 0.82), transparent 6px),
    radial-gradient(circle at 50% 56%, rgba(67, 182, 255, 0.58), transparent 5px);
}

.tour-card.purple {
  background:
    linear-gradient(180deg, rgba(142, 77, 232, 0.34), rgba(6, 17, 31, 0.72)),
    radial-gradient(ellipse at 50% 64%, rgba(255, 93, 158, 0.45), transparent 42px);
}

.tour-card.photo {
  background:
    linear-gradient(180deg, rgba(31, 94, 70, 0.28), rgba(6, 17, 31, 0.78)),
    linear-gradient(135deg, rgba(80, 144, 104, 0.7), transparent 52%),
    radial-gradient(circle at 70% 46%, rgba(255, 206, 166, 0.7), transparent 18px);
}

.tour-card.active {
  outline: 2px solid var(--pcd-cyan);
}

.tour-card span {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.tour-card strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.tour-progress {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
  margin: 4px 40px 0;
}

.tour-progress span {
  height: 8px;
  border-radius: 999px;
  background: #5d7188;
}

.tour-progress span.active {
  background: var(--pcd-cyan);
}

.pcd-cilia-panel {
  min-height: 295px;
}

.cilia-lab-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 210px;
  gap: 0;
  margin-top: 14px;
  border: 1px solid rgba(255, 126, 182, 0.42);
  border-radius: 8px;
  overflow: hidden;
}

.cilia-card {
  min-height: 188px;
  position: relative;
  padding: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(61, 40, 115, 0.72), rgba(12, 28, 48, 0.62));
}

.cilia-card.pcd {
  background: linear-gradient(145deg, rgba(93, 30, 79, 0.76), rgba(31, 21, 49, 0.76));
}

.cilia-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.cilia-card p {
  position: relative;
  z-index: 2;
  max-width: 180px;
  margin: 0;
  color: #d2ddec;
  font-size: 12px;
}

.play-dot {
  position: absolute;
  left: 18px;
  top: 86px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(5, 15, 28, 0.42);
}

.play-dot::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  border-left: 8px solid #ffffff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.cilia-bed {
  position: absolute;
  left: -20px;
  right: -10px;
  bottom: -18px;
  height: 112px;
  background:
    radial-gradient(ellipse at 45% 88%, rgba(116, 193, 91, 0.92), transparent 70px),
    repeating-radial-gradient(ellipse at center bottom, rgba(255, 134, 205, 0.9) 0 2px, transparent 3px 12px),
    linear-gradient(180deg, transparent, rgba(255, 93, 158, 0.24));
  transform: skewX(-6deg);
}

.cilia-card.pcd .cilia-bed {
  filter: saturate(0.8);
  opacity: 0.72;
}

.lab-controls {
  padding: 16px 18px;
  background: rgba(5, 15, 28, 0.72);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lab-controls strong {
  font-size: 12px;
}

.lab-controls label {
  display: grid;
  gap: 6px;
  color: #d6e8f8;
  font-size: 10px;
}

.lab-controls button {
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(114, 209, 255, 0.24);
  background: rgba(36, 217, 234, 0.09);
  color: #dffaff;
  font-weight: 700;
}

.lab-note {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  color: #c9d7e7;
  font-size: 12px;
  text-align: center;
}

.pcd-symptom-panel {
  grid-column: span 4;
  min-height: 318px;
  padding: 18px;
}

.symptom-map {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 112px 1.05fr;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

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

.symptom-list a {
  min-height: 58px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(114, 209, 255, 0.15);
  border-radius: 999px;
  background: rgba(12, 31, 53, 0.76);
  font-size: 11px;
  font-weight: 800;
}

.symptom-list span {
  color: #aebed2;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
}

.mini-body {
  position: relative;
  height: 210px;
}

.mini-head,
.mini-torso,
.mini-lungs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mini-head {
  top: 0;
  width: 54px;
  height: 62px;
  border-radius: 50% 50% 44% 44%;
  background: rgba(64, 157, 236, 0.32);
  border: 1px solid rgba(120, 202, 255, 0.28);
}

.mini-torso {
  top: 58px;
  width: 94px;
  height: 130px;
  border-radius: 44% 44% 18% 18%;
  background: rgba(64, 157, 236, 0.24);
  border: 1px solid rgba(120, 202, 255, 0.24);
}

.mini-lungs {
  top: 94px;
  width: 76px;
  height: 56px;
  background:
    radial-gradient(ellipse at 32% 50%, rgba(255, 93, 158, 0.72), transparent 23px),
    radial-gradient(ellipse at 68% 50%, rgba(255, 93, 158, 0.72), transparent 23px);
  filter: drop-shadow(0 0 18px rgba(255, 93, 158, 0.35));
}

.wide-link {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.pcd-treatment-panel {
  grid-column: span 4;
  min-height: 318px;
  padding: 18px;
}

.treatment-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.treatment-grid a {
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(114, 209, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 24%, rgba(36, 217, 234, 0.35), transparent 18px),
    rgba(15, 36, 60, 0.72);
  text-align: center;
}

.treatment-grid strong {
  font-size: 11px;
}

.treatment-grid span {
  color: #adbed2;
  font-size: 9px;
  line-height: 1.25;
}

.pcd-explainer-panel {
  grid-column: span 4;
  min-height: 318px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr 46%;
  gap: 18px;
  align-items: center;
}

.pcd-explainer-panel p {
  margin: 12px 0 14px;
  color: #c3d4e6;
  font-size: 12px;
}

.pcd-explainer-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pcd-explainer-panel li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 9px 10px 9px 34px;
  border-radius: 8px;
  background: rgba(10, 29, 49, 0.72);
  position: relative;
}

.pcd-explainer-panel li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pcd-cyan);
  box-shadow: 0 0 12px rgba(36, 217, 234, 0.52);
}

.pcd-explainer-panel li strong {
  font-size: 11px;
}

.pcd-explainer-panel li span {
  color: #aebed2;
  font-size: 9px;
}

.video-card {
  min-height: 220px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background:
    repeating-radial-gradient(ellipse at center bottom, rgba(161, 86, 255, 0.7) 0 3px, transparent 4px 17px),
    linear-gradient(145deg, rgba(57, 20, 88, 0.72), rgba(8, 22, 38, 0.8));
  color: #ffffff;
}

.video-card span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(4, 18, 30, 0.4);
  position: relative;
}

.video-card span::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 22px;
  border-left: 23px solid white;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.inside-pcd-home[data-condition="normal"] .mucus-dot,
.inside-pcd-home[data-condition="normal"] .body-organ {
  opacity: 0.2;
}

.inside-pcd-home.labels-hidden .body-callout strong,
.inside-pcd-home.labels-hidden .body-callout small {
  opacity: 0;
}

@media (min-width: 1181px) {
  .pcd-dashboard {
    height: 100vh;
    grid-template-rows: 400px 280px minmax(0, 1fr);
    overflow: hidden;
  }

  .pcd-hero-panel,
  .pcd-body-panel,
  .pcd-tour-panel,
  .pcd-cilia-panel,
  .pcd-symptom-panel,
  .pcd-treatment-panel,
  .pcd-explainer-panel {
    min-height: 0;
  }

  .pcd-hero-panel {
    padding-top: 46px;
  }

  .pcd-hero-panel h1 {
    font-size: clamp(29px, 2.45vw, 36px);
    line-height: 1.15;
  }

  .hero-copy > p:not(.eyebrow) {
    margin: 14px 0 16px;
    font-size: 13px;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    min-height: 36px;
  }

  .hero-stat-row {
    bottom: 12px;
  }

  .hero-stat-row article {
    height: 58px;
    min-height: 0;
    padding: 8px 11px 7px 46px;
    overflow: hidden;
  }

  .hero-stat-row strong {
    margin-bottom: 3px;
  }

  .hero-stat-row p {
    font-size: 10px;
  }

  .stat-icon {
    left: 15px;
    top: 15px;
    transform: scale(0.86);
  }

  .pcd-body-panel {
    padding: 18px 22px;
  }

  .body-map {
    min-height: 282px;
    margin-top: 2px;
  }

  .body-figure {
    top: -18px;
    transform: translateX(-50%) scale(0.84);
  }

  .body-callout.top { top: 14px; }
  .body-callout.mid { top: 98px; }
  .body-callout.low { top: 182px; }

  .body-toolbar {
    bottom: 12px;
  }

  .pcd-tour-panel {
    padding: 16px 18px;
  }

  .tour-strip {
    margin-top: 10px;
  }

  .tour-card {
    min-height: 122px;
  }

  .pcd-cilia-panel {
    padding: 16px 22px;
  }

  .cilia-lab-grid {
    grid-template-columns: 1fr 1fr 190px;
    margin-top: 8px;
  }

  .cilia-card {
    min-height: 132px;
    padding: 12px 14px;
  }

  .cilia-card p {
    max-width: 175px;
    font-size: 11px;
  }

  .play-dot {
    top: 74px;
  }

  .cilia-bed {
    height: 76px;
    bottom: -16px;
  }

  .lab-controls {
    padding: 10px 16px;
    gap: 4px;
  }

  .lab-controls label {
    gap: 1px;
    font-size: 9px;
    line-height: 1;
  }

  .lab-controls button {
    min-height: 24px;
    font-size: 10px;
  }

  .lab-note {
    display: none;
  }

  .pcd-symptom-panel,
  .pcd-treatment-panel,
  .pcd-explainer-panel {
    padding: 18px;
  }

  .symptom-map {
    margin-top: 4px;
    grid-template-columns: 1fr 92px 1fr;
    gap: 8px;
  }

  .symptom-list {
    gap: 6px;
  }

  .symptom-list a {
    min-height: 45px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .symptom-list span {
    font-size: 8px;
  }

  .mini-body {
    height: 160px;
    transform: scale(0.86);
    transform-origin: center;
  }

  .wide-link {
    min-height: 34px;
  }

  .treatment-grid {
    gap: 7px;
    margin-top: 10px;
  }

  .treatment-grid a {
    min-height: 82px;
    padding: 10px;
  }

  .pcd-explainer-panel {
    grid-template-columns: 1fr 42%;
  }

  .pcd-explainer-panel h2 {
    font-size: 20px;
  }

  .pcd-explainer-panel p {
    margin: 8px 0 10px;
    font-size: 11px;
  }

  .pcd-explainer-panel ul {
    gap: 6px;
  }

  .pcd-explainer-panel li {
    padding: 7px 8px 7px 30px;
  }

  .pcd-explainer-panel li::before {
    top: 11px;
  }

  .pcd-explainer-panel li strong {
    font-size: 10px;
  }

  .pcd-explainer-panel li span {
    font-size: 8px;
  }

  .video-card {
    min-height: 160px;
  }
}

@media (max-width: 1180px) {
  .pcd-shell {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .pcd-brand {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .pcd-brand span:last-child,
  .pcd-side-nav a:not(.active) {
    font-size: 0;
  }

  .pcd-side-nav a {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 8px;
  }

  .pcd-mode-card {
    display: none;
  }

  .pcd-hero-panel,
  .pcd-body-panel,
  .pcd-tour-panel,
  .pcd-cilia-panel,
  .pcd-symptom-panel,
  .pcd-treatment-panel,
  .pcd-explainer-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body.inside-pcd-home {
    overflow: auto;
  }

  .pcd-shell {
    display: block;
  }

  .pcd-sidebar {
    position: sticky;
    top: 0;
    height: auto;
    padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(114, 209, 255, 0.18);
  }

  .pcd-brand {
    grid-template-columns: 30px 1fr;
    justify-items: start;
  }

  .pcd-brand strong {
    font-size: 13px;
  }

  .pcd-brand small {
    font-size: 8px;
  }

  .pcd-brand span:last-child,
  .pcd-side-nav a:not(.active) {
    font-size: inherit;
  }

  .pcd-side-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    margin-top: 6px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .pcd-side-nav::-webkit-scrollbar {
    display: none;
  }

  .pcd-side-nav a {
    grid-template-columns: 20px max-content;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .pcd-dashboard {
    display: block;
    padding: 5px;
  }

  .pcd-panel {
    margin-bottom: 5px;
  }

  .pcd-hero-panel {
    min-height: 578px;
    padding: 20px 14px 14px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .pcd-hero-panel h1 {
    max-width: 320px;
    font-size: 29px;
    line-height: 1.14;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    margin: 10px 0 14px;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-person {
    top: 166px;
    right: 50%;
    transform: translateX(50%) scale(0.78);
    width: 330px;
  }

  .hero-badge {
    display: none;
  }

  .hero-stat-row {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-stat-row article {
    min-height: 55px;
    padding: 9px 12px 8px 48px;
  }

  .hero-stat-row p {
    font-size: 10px;
  }

  .stat-icon {
    left: 15px;
    top: 14px;
    transform: scale(0.85);
  }

  .pcd-body-panel,
  .pcd-cilia-panel,
  .pcd-tour-panel,
  .pcd-symptom-panel,
  .pcd-treatment-panel,
  .pcd-explainer-panel {
    min-height: 0;
    padding: 14px;
  }

  .panel-heading,
  .section-title {
    display: block;
  }

  .condition-toggle {
    margin-top: 10px;
    width: 100%;
  }

  .body-map {
    min-height: 612px;
  }

  .body-figure {
    top: 18px;
  }

  .body-callout {
    width: calc(50% - 5px);
    min-height: 66px;
    grid-template-columns: 44px 1fr;
    column-gap: 8px;
    padding: 8px;
  }

  .callout-thumb {
    width: 42px;
    height: 42px;
  }

  .body-callout strong {
    font-size: 10px;
  }

  .body-callout small {
    font-size: 8px;
  }

  .body-callout.left,
  .body-callout.right {
    left: auto;
    right: auto;
  }

  .body-callout.left { left: 0; }
  .body-callout.right { right: 0; }
  .body-callout.top { top: 356px; }
  .body-callout.mid { top: 431px; }
  .body-callout.low { top: 506px; }

  .body-callout::after {
    display: none;
  }

  .body-toolbar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid;
    margin-top: 8px;
    gap: 7px;
  }

  .zoom-control {
    max-width: none;
  }

  .tour-strip,
  .cilia-lab-grid,
  .symptom-map,
  .treatment-grid,
  .pcd-explainer-panel {
    grid-template-columns: 1fr;
  }

  .cilia-lab-grid {
    border: 0;
    gap: 8px;
  }

  .cilia-card,
  .lab-controls {
    border: 1px solid rgba(255, 126, 182, 0.35);
    border-radius: 8px;
  }

  .tour-progress {
    margin: 2px 16px 0;
    gap: 12px;
  }

  .symptom-map {
    gap: 10px;
  }

  .mini-body {
    height: 198px;
  }

  .video-card {
    min-height: 180px;
  }
}

@media (max-width: 420px) {
  .pcd-hero-panel h1 {
    font-size: 28px;
  }

  .pcd-hero-panel {
    min-height: 560px;
  }

  .head-model {
    width: 118px;
    height: 146px;
  }

  .torso-model {
    width: 274px;
    height: 248px;
  }

  .body-map {
    min-height: 594px;
  }

  .body-callout.low {
    top: 498px;
  }
}
