/* ============================================================
   AXIONOVA "home" reset layer — styling for home.js
   ============================================================ */

.axn-hide-chrome {
  display: none !important;
}

.axn-demo-roles-hidden {
  display: none !important;
}

[data-loc="client/src/components/BrandHeader.tsx:37"],
[data-loc="client/src/components/BrandHeader.tsx:50"],
button[data-loc="client/src/pages/Home.tsx:299"],
button[data-loc="client/src/pages/Home.tsx:303"] {
  display: none !important;
}

/* Home pill in the toolbar cluster, matching the app's pills */
.axn-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d8e5ea;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #14383f;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(14, 42, 51, 0.06);
  cursor: pointer;
}
.axn-home-btn:hover {
  background: #f2f8fa;
}
.axn-home-btn:active {
  background: #e8fafd;
  border-color: #00c8e0;
}
.axn-home-btn:focus-visible {
  outline: 2px solid #00c8e0;
  outline-offset: 2px;
}
.axn-home-btn svg {
  color: #0090a3;
}

.axn-reset-view-btn {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
  border: 1px solid #d8e5ea;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #41626d;
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(14, 42, 51, 0.05);
  cursor: pointer;
}
.axn-reset-view-btn:hover {
  border-color: #00c8e0;
  background: #f7fdff;
  color: #00798a;
}
.axn-reset-view-btn:active {
  transform: scale(0.98);
}
.axn-reset-view-btn:focus-visible {
  outline: 2px solid #00c8e0;
  outline-offset: 2px;
}
.axn-reset-view-btn svg {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  color: #0090a3;
}

.axn-native-mode-hidden {
  display: none !important;
}

.axn-audience-switch {
  display: inline-flex;
  height: 30px;
  min-height: 30px;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid #d8e5ea;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(14, 42, 51, 0.05);
}

.axn-audience-switch__button {
  height: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5c7a84;
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif);
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.axn-audience-switch__button:hover,
.axn-audience-switch__button:focus-visible {
  background: #f1fcfd;
  color: #00798a;
  outline: none;
}

.axn-audience-switch__button[aria-pressed="true"] {
  background: #00c8e0;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 160, 180, 0.24);
}

[data-loc="client/src/components/InstitutionalGate.tsx:29"] {
  display: none !important;
}

[data-loc="client/src/components/InstitutionalLoginModal.tsx:11"],
[data-loc="client/src/components/InstitutionalLogin.tsx:61"] {
  position: fixed !important;
  inset: 72px 0 0 0 !important;
  z-index: 120 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  background: rgba(14, 42, 51, 0.28) !important;
  backdrop-filter: blur(2px) !important;
}

[data-loc="client/src/components/InstitutionalLoginModal.tsx:12"],
[data-loc="client/src/components/InstitutionalLogin.tsx:62"],
.axn-institutional-modal-panel {
  position: relative !important;
}

[data-loc="client/src/components/InstitutionalLoginModal.tsx:12"] {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

[data-loc="client/src/components/InstitutionalLogin.tsx:61"] {
  min-height: auto !important;
}

[data-loc="client/src/components/InstitutionalLogin.tsx:62"] {
  min-height: min(640px, calc(100svh - 16px)) !important;
  max-width: 1040px !important;
  gap: 18px !important;
  padding: 14px !important;
  border-radius: 30px !important;
  background: #eef4f6 !important;
}

[data-loc="client/src/components/InstitutionalLogin.tsx:63"] {
  box-shadow: none !important;
}

.axn-institutional-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 229, 234, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #41626d;
  box-shadow: 0 6px 16px rgba(14, 42, 51, 0.08);
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.axn-institutional-close:hover,
.axn-institutional-close:focus-visible {
  border-color: rgba(0, 200, 224, 0.45);
  background: #ffffff;
  color: #0e2a33;
  outline: none;
}

.axn-institutional-close svg {
  width: 15px;
  height: 15px;
}

[data-loc="client/src/components/InstitutionalLoginModal.tsx:13"] {
  top: 10px !important;
  right: 10px !important;
  display: inline-flex !important;
  width: 30px !important;
  height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border-color: rgba(216, 229, 234, 0.65) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(14, 42, 51, 0.1) !important;
}

[data-loc="client/src/components/InstitutionalLoginModal.tsx:13"]::before {
  content: "×" !important;
  color: #41626d !important;
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.axn-pathways-brand-pill {
  display: inline-flex !important;
  min-height: 38px;
  align-items: center !important;
  gap: 8px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.axn-pathways-brand-pill [data-loc="client/src/pages/Home.tsx:292"] {
  flex: 0 0 auto !important;
}

.axn-pathways-brand-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 1px !important;
  text-align: left !important;
}

.axn-pathways-brand-pill [data-loc="client/src/pages/Home.tsx:293"] {
  display: block !important;
  line-height: 0.95 !important;
  margin-left: 0 !important;
  text-align: left !important;
  width: max-content !important;
}

.axn-pathways-brand-subline {
  display: block !important;
  border-left: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  color: #41626d !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 0.95 !important;
  letter-spacing: 0.1em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  width: max-content !important;
}
.axn-inline-pathways-tm {
  display: inline-block !important;
  margin-left: 1px !important;
  color: inherit !important;
  font-size: 0.58em !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  transform: translateY(-0.5em) !important;
  vertical-align: baseline !important;
}

/* Home icon in the chart zoom stack (shown on phones only via
   the .axn-mobile-only rule in mobile.css) */
.axn-home-stack-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #14383f;
  cursor: pointer;
}
.axn-home-stack-btn:active {
  background: #eef6f8;
}

/* ============================================================
   AXIONOVA Hero intro redesign
   Enhances the pre-built chart intro without editing the bundle.
   ============================================================ */

.axn-hero-intro {
  position: relative;
  overflow: visible !important;
  border: 0 solid transparent !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.axn-hero-intro::before {
  content: "";
  display: none;
}

.axn-hero-panel {
  position: relative;
  z-index: 1;
  max-height: none !important;
  overflow: visible !important;
  border-top: 0 !important;
}

.axn-hero-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: clamp(34px, 4.2vw, 56px) !important;
  row-gap: clamp(22px, 2.6vw, 34px) !important;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px 0 clamp(28px, 4vw, 54px) !important;
}

.axn-hero-copy {
  display: flex;
  min-width: 0;
  max-width: 980px;
  flex-direction: column;
  justify-content: center;
}

.axn-hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--axn-red) !important;
  font-size: var(--fs-eyebrow) !important;
  letter-spacing: var(--tr-eyebrow) !important;
  text-transform: uppercase;
}

.axn-how-heading {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid #00c8e0;
  border-radius: 999px;
  background: #00c8e0;
  padding: 7px 11px;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
}

.axn-how-heading::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.axn-hero-eyebrow::before {
  display: none;
}

.axn-hero-title {
  max-width: 720px !important;
  margin-top: 0 !important;
  color: var(--font-color-heading) !important;
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif) !important;
  font-size: var(--font-size-hero) !important;
  font-weight: var(--font-weight-hero) !important;
  line-height: var(--line-height-hero) !important;
  letter-spacing: var(--tr-tight) !important;
  text-transform: uppercase !important;
  text-wrap: balance !important;
}

.axn-hero-title em {
  color: var(--axn-red) !important;
  font-style: normal !important;
}

.axn-hero-body {
  max-width: 720px;
  margin-top: 22px !important;
  color: #274954 !important;
}

.axn-hero-body p {
  max-width: 66ch;
}

.axn-hero-lede {
  color: #244751;
  font-size: clamp(15px, 1.35vw, 17px) !important;
  line-height: 1.72 !important;
}

.axn-hero-context {
  color: #244751;
  font-size: clamp(15px, 1.35vw, 17px) !important;
  line-height: 1.72 !important;
}

.axn-hero-how {
  grid-column: 1 / -1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(203, 233, 239, 0.9) !important;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(18px, 2.5vw, 26px) !important;
  box-shadow: 0 16px 48px rgba(14, 42, 51, 0.075);
}

.axn-hero-how > ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px !important;
  margin-top: 16px !important;
}

.axn-step-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px !important;
  align-items: start;
  height: 100%;
  border: 1px solid #d9edf1;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(14, 42, 51, 0.05);
  transition: none;
}

.axn-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: inherit;
}

.axn-step-card:hover {
  border-color: #d9edf1;
  box-shadow: 0 8px 22px rgba(14, 42, 51, 0.05);
}

.axn-step-card:hover::after {
  border-color: rgba(0, 175, 199, 0.28);
}

.pathways-chart-shell [data-loc="client/src/components/Legend.tsx:29"] {
  pointer-events: none !important;
}

.pathways-chart-shell [data-loc="client/src/components/Legend.tsx:30"] {
  pointer-events: auto !important;
}

.pathways-chart-shell [data-loc="client/src/components/Legend.tsx:49"] {
  pointer-events: none !important;
}

.axn-step-number {
  display: inline-flex !important;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 16px;
  background: #e8fafd;
  color: #007f91 !important;
  font-family: 'Sora', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.axn-step-content {
  min-width: 0;
}

.axn-step-title {
  color: #0e2a33 !important;
  font-family: 'Sora', ui-sans-serif, system-ui, sans-serif;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}

.axn-step-body {
  margin-top: 5px !important;
  color: #526f78 !important;
  font-size: 12.5px !important;
  line-height: 1.52 !important;
}

.axn-hero-agent-card {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 4 / 3;
  justify-self: center;
  align-self: center;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(232, 250, 253, 0.45), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: none !important;
}

.axn-hero-agent-stack {
  display: flex;
  width: min(100%, 540px);
  flex-direction: column;
  justify-self: center;
  align-self: center;
}

.axn-hero-agent-stack .axn-hero-agent-card {
  width: 100%;
}

.axn-hero-agent-note {
  margin-top: 14px;
  color: var(--fg-1, #0e2a33);
}

.axn-hero-agent-note .axn-agent-greeting,
.axn-hero-agent-note .axn-agent-disclaimer {
  margin: 0;
}

.axn-hero-agent-note .axn-agent-greeting {
  margin-top: 14px;
}

.axn-hero-agent-slot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.axn-block-transition {
  position: relative;
  border-top-color: rgba(194, 223, 229, 0.92) !important;
  background: #ffffff !important;
  padding-top: 24px !important;
}

.axn-symptom-slot {
  position: absolute;
  top: 132px;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: min(34%, 440px);
  min-width: 320px;
  max-height: none;
  padding: 18px 20px 20px;
  overflow-y: auto;
  border-left: 1px solid #D8E5EA;
  background: #ffffff;
  pointer-events: auto;
}

.axn-symptom-slot:empty,
section[aria-label="Interactive methylation pathway chart"].axn-has-detail-panel > .axn-symptom-slot,
section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel > .axn-symptom-slot {
  display: none;
}

@media (min-width: 768px) {
  section[aria-label="Interactive methylation pathway chart"] {
    --axn-nav-rail-width: clamp(226px, 14vw, 252px);
    --axn-context-panel-width: clamp(360px, 32vw, 500px);
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-node-detail,
  section[aria-label="Interactive methylation pathway chart"].axn-has-block-detail {
    --axn-detail-panel-width: clamp(360px, 34vw, 520px);
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel {
    --axn-detail-panel-width: clamp(360px, 34vw, 520px);
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-node-detail
    [data-loc="client/src/pages/Home.tsx:479"],
  section[aria-label="Interactive methylation pathway chart"].axn-has-block-detail
    [data-loc="client/src/pages/Home.tsx:479"],
  section[aria-label="Interactive methylation pathway chart"].axn-has-context-panel:not(.axn-has-detail-panel):not(.axn-has-tour-panel)
    [data-loc="client/src/pages/Home.tsx:479"] {
    left: clamp(14px, 1.4vw, 28px) !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-node-detail
    [data-loc="client/src/pages/Home.tsx:467"],
  section[aria-label="Interactive methylation pathway chart"].axn-has-block-detail
    [data-loc="client/src/pages/Home.tsx:467"] {
    left: var(--axn-nav-rail-width) !important;
    right: var(--axn-detail-panel-width) !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel
    [data-loc="client/src/pages/Home.tsx:467"] {
    left: var(--axn-nav-rail-width) !important;
    right: var(--axn-detail-panel-width) !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-context-panel:not(.axn-has-detail-panel):not(.axn-has-tour-panel)
    [data-loc="client/src/pages/Home.tsx:467"] {
    left: var(--axn-nav-rail-width) !important;
    right: var(--axn-context-panel-width) !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-context-panel:not(.axn-has-detail-panel):not(.axn-has-tour-panel)
    > .axn-symptom-slot {
    width: var(--axn-context-panel-width);
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-node-detail
    [data-loc="client/src/pages/Home.tsx:518"],
  section[aria-label="Interactive methylation pathway chart"].axn-has-block-detail
    [data-loc="client/src/pages/Home.tsx:518"] {
    width: var(--axn-detail-panel-width) !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel
    [data-loc="client/src/pages/Home.tsx:518"] {
    display: none !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel
    [data-loc="client/src/pages/Home.tsx:401"] {
    left: auto !important;
    right: 0 !important;
    top: 132px !important;
    bottom: 0 !important;
    z-index: 34 !important;
    width: var(--axn-detail-panel-width) !important;
    transform: none !important;
    padding: 18px 20px 20px !important;
    border-left: 1px solid #D8E5EA;
    background: #ffffff;
    pointer-events: auto !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel
    [data-loc="client/src/pages/Home.tsx:402"] {
    display: flex;
    max-height: 100%;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel
    [data-loc="client/src/pages/Home.tsx:411"] {
    max-height: min(42vh, 280px);
    overflow-y: auto;
  }

}

@media (min-width: 768px) and (max-width: 1180px) {
  section[aria-label="Interactive methylation pathway chart"] {
    --axn-nav-rail-width: 230px;
    --axn-context-panel-width: 340px;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-node-detail,
  section[aria-label="Interactive methylation pathway chart"].axn-has-block-detail,
  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel {
    --axn-detail-panel-width: 340px;
  }
}

@media (min-width: 1536px) {
  section[aria-label="Interactive methylation pathway chart"].axn-has-tour-panel
    [data-loc="client/src/pages/Home.tsx:401"] {
    top: 72px !important;
  }
}

.axn-detail-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  z-index: 4;
  width: 16px;
  cursor: col-resize;
  background: transparent;
  touch-action: none;
}

.axn-detail-resize-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 7px;
  width: 2px;
  height: 52px;
  border-radius: 999px;
  background: rgba(0, 175, 199, 0.38);
  transform: translateY(-50%);
  transition: background 0.15s ease, height 0.15s ease;
}

.axn-detail-resize-handle:hover::after,
.axn-detail-resize-handle:focus-visible::after,
.axn-detail-resizing .axn-detail-resize-handle::after {
  height: 76px;
  background: rgba(0, 175, 199, 0.72);
}

.pathways-chart-shell [data-loc="client/src/pages/Home.tsx:394"] {
  display: none !important;
}

.axn-symptom-source-hidden {
  display: none !important;
}

.axn-symptom-docked {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  pointer-events: auto !important;
}

.axn-detail-symptom-slot {
  order: 0;
  flex-shrink: 0;
  padding: 20px 20px 14px;
  border-bottom: 1px solid #E4EEF1;
  background: #ffffff;
  pointer-events: auto;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] > header {
  order: 1;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:199"],
.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:417"] {
  order: 2;
}

.axn-detail-symptom-slot:empty {
  display: none;
}

.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:17"] {
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: 0 8px 24px rgba(14, 42, 51, 0.08) !important;
}

.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:18"] {
  gap: 8px !important;
}

.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:20"] {
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.11em !important;
  line-height: 1.35 !important;
}

.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:23"] {
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:26"],
.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:30"],
.axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:35"] {
  font-family: var(--font-family-base, 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 11px !important;
  line-height: 1.42 !important;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:17"] {
  position: relative;
  min-height: 0;
  max-height: 188px;
  overflow-y: auto;
  border-color: rgba(225, 177, 88, 0.66) !important;
  border-radius: 14px !important;
  background: #fffdf7 !important;
  box-shadow: none !important;
  padding: 11px 38px 11px 13px !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(225, 177, 88, 0.42) transparent;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:17"]::-webkit-scrollbar {
  width: 6px;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:17"]::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(225, 177, 88, 0.42);
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:18"] {
  min-width: 0;
  gap: 8px !important;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:20"] {
  font-size: 9px !important;
  letter-spacing: 0.1em !important;
  line-height: 1.25 !important;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:23"] {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:26"],
.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:30"] {
  display: block !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

.axn-detail-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:35"] {
  display: none !important;
}

.axn-detail-symptom-slot .axn-symptom-docked button[aria-label="Clear symptom view"] {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border-radius: 999px !important;
  transform: translateY(-50%) !important;
}

.axn-mobile-symptom-slot {
  display: none;
}

[data-block-card] h2 {
  font-size: clamp(0.5625rem, 1.4vw, 0.6rem) !important;
  line-height: 1.25 !important;
}

[data-block-card] p {
  line-height: 1.18 !important;
}

[data-block-card] p > span {
  display: block !important;
  margin-top: 0 !important;
  font-size: 10.5px !important;
}

[data-loc="client/src/components/EducationPanel.tsx:394"] h2,
[data-loc="client/src/components/EducationPanel.tsx:395"] h2,
[data-loc="client/src/components/EducationPanel.tsx:158"],
[data-loc="client/src/components/EducationPanel.tsx:399"] {
  font-size: 18px !important;
  font-weight: 650 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

[data-loc="client/src/components/EducationPanel.tsx:162"],
[data-loc="client/src/components/EducationPanel.tsx:402"] {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:142"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

[data-loc="client/src/components/EducationPanel.tsx:48"] {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.13em !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"] {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr) minmax(70px, auto) !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 8px !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"]
  [data-loc="client/src/components/EvidenceBadge.tsx:26"] {
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin-top: 0 !important;
  min-width: 0 !important;
  position: relative !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"]
  [data-loc="client/src/components/EvidenceBadge.tsx:27"] {
  align-items: center !important;
  min-height: 24px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"]
  [data-loc="client/src/components/ShareButton.tsx:38"] {
  align-self: center !important;
  align-items: center !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  min-height: 24px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"]
  [data-loc="client/src/components/EvidenceBadge.tsx:50"] {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 6 !important;
  width: min(360px, calc(100vw - 56px)) !important;
  margin-top: 0 !important;
  box-shadow: 0 14px 30px rgba(14, 42, 51, 0.12) !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"]
  [data-loc="client/src/components/AccessibilityTools.tsx:40"] {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:172"]
  [data-loc="client/src/components/AccessibilityTools.tsx:74"] {
  flex-basis: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

[data-loc="client/src/components/EducationPanel.tsx:419"],
[data-loc="client/src/components/EducationPanel.tsx:422"],
[data-loc="client/src/components/EducationPanel.tsx:201"],
[data-loc="client/src/components/EducationPanel.tsx:204"],
[data-loc="client/src/components/EducationPanel.tsx:220"],
[data-loc="client/src/components/EducationPanel.tsx:252"],
[data-loc="client/src/components/EducationPanel.tsx:256"],
[data-loc="client/src/components/EducationPanel.tsx:259"],
[data-loc="client/src/components/EducationPanel.tsx:287"],
[data-loc="client/src/components/EducationPanel.tsx:298"] {
  font-size: 12.5px !important;
  line-height: 1.48 !important;
}

[data-loc="client/src/components/EducationPanel.tsx:249"],
[data-loc="client/src/components/EducationPanel.tsx:286"],
[data-loc="client/src/components/EducationPanel.tsx:294"] {
  font-size: 12.5px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

[data-loc="client/src/components/EducationPanel.tsx:100"] {
  margin: 0 0 7px !important;
  color: #3f515b !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

[data-loc="client/src/components/EducationPanel.tsx:103"] {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

[data-loc="client/src/components/EducationPanel.tsx:105"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 5px 11px !important;
  border: 1px solid rgba(0, 175, 199, 0.42) !important;
  border-radius: 999px !important;
  background: #e8fbfd !important;
  color: #007c8d !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 6px rgba(0, 175, 199, 0.08) !important;
  cursor: pointer !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease !important;
}

[data-loc="client/src/components/EducationPanel.tsx:105"]:hover {
  border-color: #00afc7 !important;
  background: #00afc7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 175, 199, 0.18) !important;
}

[data-loc="client/src/components/EducationPanel.tsx:105"]:focus-visible {
  outline: 2px solid #00afc7 !important;
  outline-offset: 2px !important;
}


.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] {
  font-family: var(--font-family-base, inherit) !important;
  color: #24303d !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] h3,
.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] h4 {
  margin: 18px 0 8px !important;
  color: #24303d !important;
  font-family: var(--font-family-base, inherit) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] p,
.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] dd {
  color: #51606d !important;
  font-family: var(--font-family-base, inherit) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 9px 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] li {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 5px 11px !important;
  border: 1px solid rgba(0, 175, 199, 0.38) !important;
  border-radius: 999px !important;
  background: #e8fbfd !important;
  color: #007c8d !important;
  font-family: var(--font-family-base, inherit) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 1px 6px rgba(0, 175, 199, 0.08) !important;
  cursor: default !important;
}

.pathways-chart-shell [data-loc="client/src/components/EducationPanel.tsx:132"] li::marker {
  content: "" !important;
}

@media (max-width: 1120px) {
  .axn-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start;
  }

  .axn-hero-copy {
    justify-content: start;
  }

  .axn-hero-how {
    justify-content: start;
  }

  .axn-hero-agent-card {
    max-width: 560px;
    justify-self: center;
    transform: none;
  }
}

@media (max-width: 767px) {
  section[aria-label="Interactive methylation pathway chart"] input[type="search"],
  section[aria-label="Interactive methylation pathway chart"] input[aria-label^="Search the pathway chart"] {
    font-size: 16px !important;
    line-height: 1.25 !important;
    transform: translateZ(0);
  }

  [data-loc="client/src/components/InstitutionalLoginModal.tsx:11"],
  [data-loc="client/src/components/InstitutionalLogin.tsx:61"] {
    inset: 0 !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: max(12px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  [data-loc="client/src/components/InstitutionalLoginModal.tsx:12"],
  [data-loc="client/src/components/InstitutionalLogin.tsx:62"],
  .axn-institutional-modal-panel {
    width: min(100%, 560px) !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 28px) !important;
    max-height: calc(100svh - 28px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  [data-loc="client/src/components/InstitutionalLogin.tsx:62"] {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 10px !important;
    border-radius: 22px !important;
  }

  [data-loc="client/src/components/InstitutionalLoginModal.tsx:13"] {
    top: 12px !important;
    right: 12px !important;
  }

  .axn-reset-view-btn {
    min-height: 30px;
    padding-inline: 8px;
  }

  .axn-mobile-symptom-slot {
    display: block;
    position: absolute;
    inset: auto 8px auto 8px;
    top: calc(100% + 16px);
    z-index: 36;
    margin: 0;
    pointer-events: auto;
  }

  .axn-mobile-symptom-slot:empty {
    display: none;
  }

  .axn-mobile-symptom-slot .axn-symptom-docked {
    width: 100% !important;
    max-width: 100% !important;
  }

  .axn-mobile-symptom-slot .axn-symptom-docked [data-loc="client/src/components/SymptomBanner.tsx:17"] {
    position: relative !important;
    padding-right: 52px !important;
  }

  .axn-mobile-symptom-slot .axn-symptom-docked button[aria-label="Clear symptom view"] {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 4 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .axn-symptom-slot {
    display: none;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-detail-panel {
    margin-bottom: calc(min(62svh, 620px) + var(--axn-mobile-detail-offset, 16px) + 12px) !important;
    overflow: visible !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-mobile-symptom:not(.axn-has-detail-panel) {
    margin-bottom: var(--axn-mobile-detail-offset, 0px) !important;
    overflow: visible !important;
  }

  section[aria-label="Interactive methylation pathway chart"].axn-has-detail-panel
    [data-loc="client/src/pages/Home.tsx:539"] {
    position: absolute !important;
    inset: auto 0 auto 0 !important;
    top: calc(100% + var(--axn-mobile-detail-offset, 16px)) !important;
    bottom: auto !important;
    height: min(62svh, 620px) !important;
    min-height: 0 !important;
    pointer-events: auto !important;
  }

  section[aria-label="Interactive methylation pathway chart"] .axn-detail-resize-handle {
    display: none !important;
  }

  .axn-hero-intro {
    border-radius: 0 !important;
  }

  .axn-hero-grid {
    padding: 16px 16px 22px !important;
  }

  .axn-hero-title {
    margin-top: 0 !important;
    font-size: clamp(30px, 8.6vw, 38px) !important;
    line-height: 1.07 !important;
  }

  .axn-hero-body {
    margin-top: 18px !important;
  }

  .axn-hero-context {
    display: none;
  }

  .axn-hero-how {
    border-radius: 18px;
    padding: 16px !important;
  }

  .axn-hero-how > ol {
    grid-template-columns: 1fr;
    gap: 10px !important;
  }

  .axn-step-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px !important;
    padding: 14px;
    border-radius: 16px;
  }

  .axn-step-number {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 13px !important;
  }

  .axn-step-title {
    font-size: 15px !important;
  }

  .axn-step-body {
    font-size: 12.5px !important;
  }

  body:has(.pathways-page) .axn-hero-agent-card {
    width: 100%;
    max-width: 100%;
    height: 340px;
    aspect-ratio: auto;
    border-radius: 18px;
  }

  body:has(.pathways-page) .axn-hero-agent-stack {
    width: 100%;
    max-width: 100%;
  }

  .axn-block-transition {
    padding-top: 20px !important;
  }
}
