.bioreset-native-form {
  color: #0f172a;
}

.bioreset-native-slot { width: 100%; min-width: 0; padding: 1rem; }
.bioreset-native-slot .bioreset-native-form { width: 100%; }

.bioreset-native-page { margin: 1.5rem 0; padding: 1.5rem; background: #fff; border: 1px solid #cbd5e1; border-radius: 1.5rem; }
.bioreset-native-page--integrated { padding: 0; border: 0; background: transparent; border-radius: 0; }
.bioreset-native-page h2 { font-size: 1.4rem; font-weight: 750; }
.bioreset-native-page h3, .bioreset-native-page summary { font-weight: 700; }
.bioreset-native-page a { color: #1d4ed8; text-decoration: underline; }
.bioreset-native-page details { margin-top: 1rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 1rem; }
.bioreset-native-page summary { cursor: pointer; padding-bottom: 1rem; }
.bioreset-native-page__results { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1rem; }
.bioreset-native-page__chart { min-width: 0; padding: 1rem; }
.bioreset-fingerprint-review__chart { position: relative; width: 100%; max-width: 660px; height: clamp(320px, 65vw, 480px); margin: 1rem auto; }
.bioreset-native-page__chart li { font-size: .8rem; margin-top: .25rem; }
.bioreset-native-page__welcome { margin: 1rem 0; padding: 1.2rem; border: 1px solid #bfdbfe; border-radius: 1rem; background: linear-gradient(120deg,#eff6ff,#f0fdfa); }
.bioreset-native-page__welcome p { margin: .65rem 0; line-height: 1.55; }
.bioreset-native-page__encouragement { color: #1e3a8a; font-weight: 650; }
.bioreset-native-page__welcome select { display: block; width: 100%; margin: .6rem 0; padding: .7rem; border: 1px solid #94a3b8; border-radius: .6rem; background: #fff; color: #0f172a; }
.bioreset-native-page__welcome .bioreset-native-page__recall-warning { color: #b91c1c; background: #fff1f2; border-left: 3px solid #dc2626; padding: .65rem .8rem; border-radius: .4rem; }
.bioreset-native-page__welcome option:disabled { color: #94a3b8; }
.bioreset-native-page__calendar-toggle { margin: .65rem 0; padding: .65rem 1rem; border: 1px solid #bfdbfe; border-radius: .8rem; background: #eff6ff; color: #1e3a8a; font-weight: 700; }
.bioreset-native-page__calendar-box input { padding: .6rem; border: 1px solid #94a3b8; border-radius: .6rem; }
.bioreset-native-page__calendar-box p { font-size: .8rem; }
.bioreset-native-page__locked { background: #f1f5f9 !important; border-color: #cbd5e1 !important; color: #64748b; }
.bioreset-native-page__upgrade { font-weight: 700; color: #475569; }
.bioreset-avatar-thumbnails { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1rem; }
.bioreset-avatar-thumbnail { border: 1px solid #bfdbfe; border-radius: 1rem; overflow: hidden; padding: 1rem; background: linear-gradient(140deg,#eff6ff,#ecfdf5); }
.bioreset-avatar-thumbnail__play { display: grid; place-items: center; min-height: 85px; font-size: 2rem; color: #1e3a8a; }
.bioreset-avatar-thumbnail h4 { font-weight: 700; }
.bioreset-brain-rules { margin-top: .8rem; padding: .8rem; background: #eef2ff; border-radius: .7rem; }
.bioreset-brain-rules ul { list-style: disc; padding-left: 1.2rem; }
.bioreset-avatar-interim { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #ffffff33; color: #dbeafe; font-size: .85rem; }
.bioreset-avatar-interim a { color: #fff; font-weight: 700; text-decoration: underline; }
.bioreset-hour-consult { background: linear-gradient(120deg,#e0f2fe,#ecfdf5); border: 1px solid #7dd3fc; }
.bioreset-hour-consult a { display:inline-block; margin-top:12px; padding:12px 20px; border-radius:12px; background:#1e3a8a; color:white; font-weight:700; }
.bioreset-hour-consult a[hidden] { display:none; }
.bioreset-consultation-confirmation { background:#f0fdfa; border:2px solid #5eead4; }
.bioreset-consultation-toggle { display:inline-flex; gap:4px; margin-top:12px; padding:4px; border:1px solid #94a3b8; border-radius:28px; background:#e2e8f0; color:#475569; font-weight:800; cursor:pointer; }
.bioreset-consultation-toggle span { min-width:76px; padding:10px 18px; border-radius:24px; }
.bioreset-consultation-toggle__no { background:#475569; color:white; }
.bioreset-consultation-toggle.is-confirmed .bioreset-consultation-toggle__no { background:transparent; color:#475569; }
.bioreset-consultation-toggle.is-confirmed .bioreset-consultation-toggle__yes { background:#15803d; color:white; }
.bioreset-consultation-toggle:focus-visible { outline:3px solid #1d4ed8; outline-offset:3px; }
.tracking-launch.consultation-locked { background:#94a3b8 !important; box-shadow:none !important; cursor:not-allowed; pointer-events:none; }
.bioreset-inline-booking { margin:20px 0; padding:16px; border:1px solid #99d9d1; border-radius:16px; background:#f0fdfa; }
.bioreset-inline-booking[hidden] { display:none; }
.bioreset-inline-booking > button { padding:8px 16px; border-radius:8px; background:#134e4a; color:white; margin-bottom:12px; }
.bioreset-inline-booking iframe { width:100%; height:780px; border:0; border-radius:12px; background:white; }
.bioreset-baseline-radars div:has(> #metabolicFingerprintChart),
.bioreset-baseline-radars div:has(> #baselineChart) { height:520px; }
.bioreset-avatar-gate { margin-top: 1rem; padding: .65rem .9rem; border: 1px solid #ffffff55; border-radius: .7rem; color: #dbeafe; background: #ffffff16; font-size: .85rem; }
.bioreset-avatar--locked button:disabled { opacity: .6; cursor: not-allowed; }
.bioreset-native-page__dashboard-next { display: grid; gap: 1rem; margin-top: 1rem; }
.bioreset-next-card { border: 1px solid #99d5c9; border-radius: 1.35rem; padding: 1.4rem 1.6rem; background: linear-gradient(120deg,#e9faf4,#e7f6f9); color: #134e4a; box-shadow: 0 8px 24px #102f3c0b; }
.bioreset-next-card--consult { border-color: #b6c7e9; background: linear-gradient(120deg,#edf4fc,#f0edfa); color: #20366d; }
.bioreset-next-card--locked { border-color: #cbd5e1; background: linear-gradient(120deg,#f1f5f9,#e9eef4); color: #64748b; }
.bioreset-next-card h3 { font-size: 1.15rem; font-weight: 800; }
.bioreset-next-card p { margin-top: .4rem; line-height: 1.5; }
.bioreset-next-card a { display: inline-block; margin-top: .75rem; padding: .6rem .9rem; border-radius: .65rem; background: #1e3a8a; color: white; font-weight: 750; text-decoration: none; }
.bioreset-next-card.bioreset-hour-consult { border:2px solid #c7d2fe; background:linear-gradient(120deg,#fbfdff,#f1f5ff); color:#1e293b; box-shadow:0 4px 10px #1e3a8a18; }
.bioreset-hour-consult > p { color:#64748b; }
.bioreset-next-card.bioreset-hour-consult > a { padding:14px 24px; border-radius:16px; background:#f59e0b; color:#0f172a; box-shadow:0 4px 10px #92400e18; }
.bioreset-next-card.bioreset-hour-consult > a:hover { background:#fbbf24; }
.bioreset-next-card.bioreset-hour-consult > a:focus-visible { outline:3px solid #1e3a8a; outline-offset:3px; }
.bioreset-next-card.bioreset-hour-consult.bioreset-next-card--locked { border-color:#cbd5e1; background:#f1f5f9; color:#64748b; }
.bioreset-hour-consult,
.bioreset-next-card--consult,
.bioreset-consultation-confirmation { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:32px; align-items:center; }
.bioreset-hour-consult > h3, .bioreset-hour-consult > p,
.bioreset-next-card--consult > h3, .bioreset-next-card--consult > p,
.bioreset-consultation-confirmation > h3, .bioreset-consultation-confirmation > p { grid-column:1; }
.bioreset-next-card.bioreset-hour-consult > a,
.bioreset-next-card--consult > a,
.bioreset-consultation-confirmation > .bioreset-consultation-toggle { grid-column:2; grid-row:1 / span 3; margin-top:0; justify-self:end; align-self:center; }
.bioreset-next-card > .bioreset-inline-booking { grid-column:1 / -1; width:100%; }
.bioreset-next-card.bioreset-consultation-confirmation { background:linear-gradient(120deg,#080f26,#223f8c); border:1px solid #334d91; color:#fff; box-shadow:0 8px 24px #10234c24; }
.bioreset-consultation-confirmation > p { color:#dbeafe; }
.bioreset-consultation-confirmation .bioreset-consultation-toggle { background:#e2e8f0; border-color:#bfdbfe; }
.bioreset-consultation-confirmation .bioreset-consultation-toggle:focus-visible { outline-color:#fbbf24; }
.bioreset-consultation-toggle:disabled { opacity:.6; cursor:not-allowed; }
#staff-picker-label { display:grid; gap:8px; max-width:700px; }
@media (max-width:700px) {
  .bioreset-hour-consult, .bioreset-next-card--consult, .bioreset-consultation-confirmation { grid-template-columns:minmax(0,1fr); gap:8px; }
  .bioreset-next-card.bioreset-hour-consult > a, .bioreset-next-card--consult > a,
  .bioreset-consultation-confirmation > .bioreset-consultation-toggle { grid-column:1; grid-row:auto; justify-self:start; margin-top:8px; }
}
.bioreset-next-card .bioreset-brain-rules { background: #ffffffb8; border: 1px solid #cbd5e1; }
.bioreset-next-card .bioreset-brain-rules summary { cursor: pointer; font-weight: 750; }
.bioreset-next-card .bioreset-brain-rules li { margin-top: .35rem; }
.bioreset-next-card .bioreset-native-page__upgrade { display: inline-block; padding: .4rem .7rem; border: 1px solid #a6b4c5; border-radius: .55rem; background: #f1f5f9; }
.bioreset-brain-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.bioreset-brain-header p span { display: block; }
.bioreset-brain-access { flex-shrink: 0; padding: 14px 22px; border-radius: 12px; background: #0f766e; color: white; font-weight: 750; cursor: pointer; }
.bioreset-brain-access:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; }
.bioreset-brain-chat { margin-top: 20px; min-height: 180px; padding: 24px; background: #ffffffd9; border: 1px solid #99d5c9; border-radius: 16px; }
.bioreset-brain-chat[hidden] { display: none; }
.bioreset-brain-chat h4 { font-weight: 750; }
@media (max-width: 600px) { .bioreset-brain-header { flex-wrap: wrap; gap: 16px; } }
@media(max-width:700px) { .bioreset-avatar-thumbnails { grid-template-columns: 1fr; } }

.bioreset-native-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bioreset-native-form__field {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

.bioreset-native-form__field[hidden] {
  display: none;
}

.bioreset-native-form__section-note,
.bioreset-native-form__family-title,
.bioreset-native-form__section { grid-column: 1 / -1; min-width: 0; }
.bioreset-native-form__section-note { margin: 0; color: #475569; font-size: .8rem; line-height: 1.6; }
.bioreset-native-form__instructions { grid-column: 1 / -1; color: #475569; font-size: .875rem; line-height: 1.6; }
.bioreset-native-form__instructions h3 { margin: 0 0 .5rem; color: #172554; font-size: 1rem; font-weight: 800; }
.bioreset-native-form__instructions ul { margin: 0; padding-left: 1.3rem; list-style: disc; }
.bioreset-native-form__instructions li + li { margin-top: .3rem; }
.bioreset-native-form__instructions strong { color: #172554; font-weight: 750; }
.bioreset-native-form__correction { border: 0; padding: 0; margin: 1rem 0; min-width: 0; }
.bioreset-native-form__correction > textarea { width: 100%; min-height: 5rem; margin: .5rem 0; padding: .75rem; border: 1px solid #94a3b8; border-radius: .6rem; font: inherit; }
.bioreset-native-form__correction > .bioreset-native-form__choice { margin-bottom: 1rem; }
.bioreset-native-form__family-title { margin: .9rem 0 0; color: #0f172a; font-size: 1.45rem; letter-spacing: -.025em; }
.bioreset-native-form__section {
  --section-accent: #475569; --section-bg: #f8fafc; --section-border: #cbd5e1;
  margin: 0; padding: 1rem; border: 1px solid var(--section-border);
  border-top: 4px solid var(--section-accent); border-radius: 1.2rem;
  background: linear-gradient(145deg, var(--section-bg), #fff 65%);
}
.bioreset-native-form__section[data-tone="blue"] { --section-accent: #1d4ed8; --section-bg: #eff6ff; --section-border: #bfdbfe; }
.bioreset-native-form__section[data-tone="purple"] { --section-accent: #6d28d9; --section-bg: #f5f3ff; --section-border: #ddd6fe; }
.bioreset-native-form__section[data-tone="teal"] { --section-accent: #0f766e; --section-bg: #f0fdfa; --section-border: #99f6e4; }
.bioreset-native-form__section[data-tone="amber"] { --section-accent: #92400e; --section-bg: #fffbeb; --section-border: #fde68a; }
.bioreset-native-form__section-title {
  display: flex; align-items: center; gap: .65rem; max-width: 100%; padding: 0 .4rem;
  color: var(--section-accent); font-size: 1.08rem; font-weight: 800; line-height: 1.4;
}
.bioreset-native-form__section-number {
  display: inline-grid; place-items: center; flex: 0 0 1.8rem; height: 1.8rem;
  border-radius: .6rem; background: var(--section-accent); color: #fff; font-size: .72rem;
}
.bioreset-native-form__section-description { margin: .4rem 0 1rem; color: #334155; font-size: .82rem; line-height: 1.65; white-space: pre-line; }
details.bioreset-native-form__section { scroll-margin-top: 7rem; }
details.bioreset-native-form__section > summary { cursor: pointer; display: list-item; }
details.bioreset-native-form__section[open] > summary { margin-bottom: 1rem; }
.bioreset-native-form__continue { margin-top: 1rem; padding: .8rem 1rem; border: 1px solid #1e40af; border-radius: .7rem; background: #eff6ff; color: #1e3a8a; font: inherit; font-weight: 700; cursor: pointer; }
.bioreset-native-form__continue:focus-visible, details.bioreset-native-form__section > summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.bioreset-native-form__choice:has(input:checked) { border-color: #0f766e; background: #f0fdfa; color: #134e4a; }
.bioreset-native-form__control:focus-visible,
.bioreset-native-form__choice:focus-within { outline: 3px solid #93c5fd; outline-offset: 2px; }

.bioreset-native-form__field--wide,
.bioreset-native-form__status,
.bioreset-native-form__actions {
  grid-column: 1 / -1;
}

.bioreset-native-form__label {
  display: block;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.4;
}

.bioreset-native-form__required {
  color: #dc2626;
  margin-left: .2rem;
}

.bioreset-native-form__help,
.bioreset-native-form__unit {
  color: #64748b;
  font-size: .75rem;
  line-height: 1.5;
}

.bioreset-native-form__control {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: .75rem;
  background: #fff;
  margin-top: .6rem;
  padding: .7rem .8rem;
  font: inherit;
}

.bioreset-native-form__choice-list {
  display: grid;
  gap: .55rem;
  margin-top: .7rem;
}

.bioreset-native-form__choice {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: .65rem .75rem;
  font-size: .82rem;
  line-height: 1.35;
}

.bioreset-native-form__choice input {
  margin-top: .15rem;
}

.bioreset-native-form__status {
  border-radius: .75rem;
  padding: .8rem 1rem;
  font-size: .82rem;
}

.bioreset-native-form__status:empty {
  display: none;
}

.bioreset-native-form__status[data-state="error"] {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.bioreset-native-form__status[data-state="success"] {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.bioreset-native-form__submit {
  border: 0;
  border-radius: .9rem;
  background: #1e3a8a;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: .85rem 1.2rem;
}

.bioreset-native-form__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.bioreset-native-page__continuation {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #f8fafc;
}
.bioreset-native-page__scroll-prompt {
  display: block;
  margin: 1rem auto;
  padding: .8rem 1.2rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: #eff6ff;
  color: #1e3a8a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bioreset-native-page__scroll-prompt[hidden] { display: none; }
#native-tracking-results { scroll-margin-top: 6rem; }
.bioreset-native-page__pricing-note {
  display: block;
  margin-top: .75rem;
  font-size: .8rem;
  line-height: 1.5;
  color: #475569;
}
.bioreset-native-page__daily-disclosure {
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 16px;
  background: #f8fafc;
}
.bioreset-native-page__daily-disclosure > summary {
  cursor: pointer;
  color: #1e3a8a;
  font-weight: 700;
  padding: 8px;
}
.bioreset-native-page__chapter-reminder{position:fixed;right:20px;bottom:20px;width:min(340px,calc(100vw - 40px));z-index:60;padding:20px;border-radius:20px;border:1px solid #93c5fd;background:#eff6ff;box-shadow:0 8px 28px #1e3a8a25;animation:bioreset-chapter-pulse 3s ease-in-out infinite}
.bioreset-native-page__chapter-reminder h3{margin:0;color:#1e3a8a}
.bioreset-native-page__chapter-reminder a{display:block;font-weight:700;color:#1e3a8a;margin-bottom:10px}
.bioreset-native-page__chapter-reminder button{border:0;background:transparent;color:#475569;font:inherit;cursor:pointer}
@keyframes bioreset-chapter-pulse{50%{box-shadow:0 8px 30px #1e3a8a45}}
@media(prefers-reduced-motion:reduce){.bioreset-native-page__chapter-reminder{animation:none}}

@media (max-width: 700px) {
  /* Retained chart cards have intrinsic grid widths. Native copy must wrap
     without widening the phone viewport; legacy pages are unaffected. */
  main:has(#native-daily-form-slot) [aria-labelledby="progress-action-heading"] > .grid > div {
    min-width: 0;
  }
  .bioreset-native-page { padding: .85rem; }
  .bioreset-native-page details { padding: .7rem; }
  .bioreset-native-form__section { padding: .7rem; }
  .bioreset-native-form__section-title { font-size: 1rem; }
  .bioreset-native-form__grid {
    grid-template-columns: 1fr;
  }
}

/* Shared participant-card palette. Chart datasets and clinical colours stay unchanged. */
:root {
  --bioreset-card-blue: #f2f7ff;
  --bioreset-card-cream: #fffbf1;
  --bioreset-card-mint: #f0faf6;
  --bioreset-card-lilac: #f7f4ff;
  --bioreset-border-blue: #d5e3fa;
  --bioreset-border-cream: #eadfc5;
}
main .bg-white.rounded-3xl,
main .bg-white.rounded-2xl {
  background-color: var(--bioreset-card-blue);
  border-color: var(--bioreset-border-blue);
}
main .rounded-3xl:has(#metabolicFingerprintChart),
main .rounded-3xl:has(#adherencePulseChart),
#chapter-fingerprint, #chapter-pulse-section {
  background: var(--bioreset-card-blue) !important;
  border-color: var(--bioreset-border-blue) !important;
}
main .rounded-3xl:has(#baselineChart),
main .rounded-3xl:has(#adherenceChart),
#chapter-adherence, #chapter-consult-card,
main .bg-white.rounded-2xl:has(#your-adherence) {
  background: var(--bioreset-card-cream) !important;
  border-color: var(--bioreset-border-cream) !important;
}
.bioreset-native-page__daily-disclosure,
#chapter-tests {
  background: var(--bioreset-card-mint) !important;
  border-color: #cce8dc !important;
}
#chapter-brain-card { background: var(--bioreset-card-lilac); border-color: #ddd4f2; }
#chapter-brain-card.is-locked { background: #f4f1f8; }
main .bg-white.rounded-2xl:has(#your-consistency) {
  background: var(--bioreset-card-mint); border-color: #cce8dc;
}
main .bg-white.rounded-2xl:has(#your-rank) {
  background: var(--bioreset-card-lilac); border-color: #ddd4f2;
}
#chapter-actions { background: var(--bioreset-card-blue); border-color: var(--bioreset-border-blue); }
.chapter-faq summary { font-weight: 750; }
.chapter-key-points, #chapter-pricing ul { padding-left: 1.3rem; }
.chapter-key-points li, #chapter-pricing li { margin: .65rem 0; line-height: 1.65; }
.chapter-key-points li > p { margin: 0; }
.chapter-key-points strong, #chapter-pricing strong { font-weight: 800; color: #1e3a8a; }

/* Phone radars read vertically, with explanations available on demand. */
.bioreset-domain-help { display: none; }
.bioreset-domain-popup {
  width: min(90vw, 400px); margin: auto; padding: 24px;
  border: 1px solid #bdd3f5; border-radius: 20px;
  background: #f2f7ff; color: #334155; box-shadow: 0 16px 50px #0f172a30;
  font-size: 16px; line-height: 1.6;
}
.bioreset-domain-popup::backdrop { background: #0f172a40; }
.bioreset-risk-popup { background: #fffbf1; border-color: #eadfc5; }
.bioreset-risk-card .bioreset-domain-help button { background: #fff5d9; border-color: #eadfc5; color: #713f12; }
@media (min-width: 1024px) {
  .bioreset-baseline-radars > div:not(.bioreset-radar-bridge) > div:first-child { min-height: 84px; margin-bottom: 12px; align-items: flex-start; }
}
.bioreset-domain-popup h4 { margin: 0 0 12px; font-weight: 750; color: #1e3a8a; }
.bioreset-domain-popup button { margin-top: 16px; padding: 10px 20px; border-radius: 10px; background: #1e3a8a; color: white; }
@media (max-width: 767px) {
  .bioreset-baseline-radars { grid-template-columns: minmax(0, 1fr); }
  .bioreset-baseline-radars > div { min-width: 0; }
  .bioreset-baseline-radars .bioreset-domain-cards { display: none; }
  .bioreset-domain-help { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
  .bioreset-domain-help > span { flex-basis: 100%; font-size: 12px; color: #475569; }
  .bioreset-domain-help button { padding: 9px 10px; border: 1px solid #c4d9f7; border-radius: 12px; background: #e6efff; color: #1e3a8a; font-size: 12px; font-weight: 650; text-align: left; }
  .bioreset-baseline-radars div:has(> #metabolicFingerprintChart),
  .bioreset-baseline-radars div:has(> #baselineChart) { width: calc(100% + 24px); margin-left: -12px; height: 400px; }
}

/* The travelling guide uses a slim path, not a third desktop chart column. */
.bioreset-baseline-radars { position: relative; }
.bioreset-baseline-radars .bioreset-radar-bridge { position: relative; height: 88px; min-width: 0; }
.bioreset-radar-bridge p { position: absolute; left: calc(50% + 30px); top: 30px; max-width: 145px; font-size: 12px; line-height: 1.4; font-weight: 700; color: #1e3a8a; }
.bioreset-travelling-guide { position: absolute; left: calc(50% - 25px); top: 0; width: 44px; height: 52px; animation: bioreset-guide-down 4s ease-in-out infinite; }
.bioreset-flow-arrow { display: inline-block; transform: rotate(90deg); }
@keyframes bioreset-guide-down { 0%, 10% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 95%, 100% { transform: translateY(36px); opacity: 0; } }
@media (min-width: 1024px) {
  .bioreset-baseline-radars { padding-top: 80px; }
  .bioreset-baseline-radars .bioreset-radar-bridge { position: absolute; top: 0; left: 0; width: 100%; height: 72px; }
  .bioreset-radar-bridge p { left: 50%; top: 0; transform: translateX(-50%); max-width: none; white-space: nowrap; }
  .bioreset-travelling-guide { left: 0; top: 20px; animation: bioreset-guide-across 7s ease-in-out infinite; }
  .bioreset-flow-arrow { transform: none; }
}
@keyframes bioreset-guide-across { 0%, 5% { left: 5%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 95%, 100% { left: calc(95% - 44px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .bioreset-travelling-guide { animation: none; opacity: 1; }
}
.bioreset-native-form__field--invalid {
  outline: 2px solid #dc2626;
  outline-offset: 4px;
  border-radius: 10px;
  background: #fff1f2;
  scroll-margin-top: 120px;
}
.bioreset-native-form__field--invalid .bioreset-native-form__label { color: #991b1b; }
/* Keep source values compact beside the fingerprint on wider screens. */
.bioreset-baseline-radars .participant-fingerprint-layout { display:grid; grid-template-columns:minmax(170px,.65fr) minmax(0,1.7fr); gap:14px; align-items:center; }
.bioreset-baseline-radars div.participant-fingerprint-canvas:has(> #metabolicFingerprintChart) { height:400px; width:100%; margin:0; }
.bioreset-baseline-radars #participant-lab-values { width:100%; max-height:400px; box-sizing:border-box; }
.bioreset-baseline-radars .bioreset-domain-cards { display:grid; }
#participant-fingerprint-result { margin-top:16px; padding:20px; border:1px solid #cbd5e1; border-radius:16px; text-align:center; }
#participant-fingerprint-result p { color:inherit; }
#participant-fingerprint-percent { font:700 72px Georgia,serif; margin:12px 0; }
#participant-fingerprint-band { font-size:20px; font-weight:700; }
#participant-fingerprint-description { font-size:14px; line-height:1.5; }
#participant-fingerprint-result .fingerprint-screening-note { margin-top:18px; font-size:13px; line-height:1.5; }
#participant-fingerprint-result .fingerprint-disclaimer { margin-top:18px; font-size:12px; line-height:1.5; }
.staff-fingerprint .bioreset-domain-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.staff-fingerprint .bioreset-domain-cards p { margin:0; padding:16px; border:1px solid #dce3ec; border-radius:16px; background:#f8fafc; min-width:0; font-size:15px; line-height:1.65; color:#475569; }
@media(max-width:480px){.staff-fingerprint .bioreset-domain-cards{grid-template-columns:1fr}}
.staff-fingerprint-content { display:grid!important; grid-template-columns:minmax(160px,.65fr) minmax(0,1.7fr); gap:14px; align-items:center!important; }
.staff-fingerprint-content .staff-radar { height:400px; width:100%; order:0!important; }
.staff-fingerprint-content #staff-lab-values { width:100%; max-height:400px; box-sizing:border-box; }
@media(max-width:767px){
  .bioreset-baseline-radars .participant-fingerprint-layout,.staff-fingerprint-content { display:flex!important; flex-direction:column-reverse; align-items:stretch!important; }
  .bioreset-baseline-radars div.participant-fingerprint-canvas:has(> #metabolicFingerprintChart),.staff-fingerprint-content .staff-radar { height:330px; }
  .bioreset-baseline-radars #participant-lab-values,.staff-fingerprint-content #staff-lab-values { max-height:260px; }
}
.fingerprint-score-key { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:10px; margin:16px 0; color:#172554; }
.fingerprint-score-item { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; padding:14px 16px; border:1px solid #cbd5e1; border-radius:14px; background:#ffffffb8; }
.fingerprint-score-item span { min-width:0; font-size:14px; line-height:1.35; font-weight:700; overflow-wrap:break-word; }
.fingerprint-score-item strong { flex-shrink:0; font-size:22px; line-height:1.2; font-weight:800; }
@media(max-width:480px){.fingerprint-score-key{grid-template-columns:minmax(0,1fr)}.fingerprint-score-item{padding:12px 14px}}
.bioreset-cortisol-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:85vh;overflow:auto;border:1px solid #ccd6e3;border-radius:20px;padding:24px;color:#172554;background:#fff}
.bioreset-cortisol-dialog::backdrop{background:#0f172a88}
.bioreset-cortisol-dialog fieldset{margin:16px 0;padding:12px;border:1px solid #ccd6e3;border-radius:12px}
.bioreset-cortisol-dialog textarea{width:100%;box-sizing:border-box}
.bioreset-lab-warning{border:2px solid #b91c1c;border-radius:12px;padding:12px;color:#991b1b;animation:lab-attention .5s ease 2}
.bioreset-lab-warning[hidden]{display:none}
.bioreset-native-form__field--recheck{outline:2px solid #b91c1c;outline-offset:2px;animation:lab-attention .5s ease 2}
@media(prefers-reduced-motion:reduce){.bioreset-native-form__field--recheck{animation:none}}
@keyframes lab-attention{50%{box-shadow:0 0 0 3px #fecaca}}
@media(prefers-reduced-motion:reduce){.bioreset-lab-warning{animation:none}}
#additional-lab-review{padding:24px;border:1px solid #cbd5e1;border-radius:20px;background:#f8fafc;color:#172554;margin:20px 0;overflow-wrap:break-word}
#additional-lab-review:empty{display:none}
#additional-lab-review h2{font-size:1.4rem;font-weight:700;margin:0 0 12px}
#additional-lab-review h3{font-weight:700;margin:10px 0}
#additional-lab-review p{margin:8px 0;line-height:1.6}
#additional-lab-review ul{list-style:disc;padding-left:22px}
.bioreset-lab-flag{background:#fff;border:1px solid #fbbf24;border-left:5px solid #d97706;border-radius:12px;padding:14px;margin:12px 0}
.bioreset-lab-flag[data-priority="priority"]{border-color:#dc2626}
.bioreset-lab-flag-compact{color:#b91c1c;font-weight:700;margin:10px 0}
.staff-full-profile details { margin:12px 0; padding:14px; border:1px solid #d5deec; border-radius:14px; min-width:0; }
.staff-full-profile summary { cursor:pointer; font-weight:700; color:#182c58; }
.staff-full-profile dl > div { padding:12px 0; border-bottom:1px solid #e1e7ef; }
.staff-full-profile dt { font-weight:600; }
.staff-full-profile dd { margin:6px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; color:#334155; }

/* Future progress recaps: deliberately non-playable until separately approved. */
.bioreset-progress-recaps{margin:24px 0;padding:clamp(18px,3vw,28px);border-radius:24px;background:#080e21;color:#fff}
.bioreset-progress-recaps h2{font:700 clamp(23px,3vw,30px) Georgia,serif;margin:0 0 10px}
.bioreset-progress-recaps>p{color:#c5cee0;margin:0 0 20px;max-width:850px}
.bioreset-progress-recaps__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}
.bioreset-progress-recaps__card{padding:16px;border:1px solid #ffffff26;border-radius:20px;background:#ffffff06;min-width:0}
.bioreset-progress-recaps__card h3{font-size:20px;margin:16px 0 10px}
.bioreset-progress-recaps__card p{font-size:15px;line-height:1.6;color:#c5cee0}
.bioreset-progress-recaps__poster{min-height:180px;border-radius:14px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;background:linear-gradient(125deg,#183e75,#16665e)}
.bioreset-progress-recaps__poster span:first-child{font-size:13px;letter-spacing:.12em;color:#ffcf61;font-weight:800}
.bioreset-progress-recaps__poster strong{font-size:clamp(24px,3vw,34px);line-height:1.15}
.bioreset-progress-recaps__poster span:last-child{color:#d8f2ed;font-size:16px}
.bioreset-progress-recaps__card button:disabled{padding:12px 16px;border:1px solid #ffffff36;border-radius:12px;background:#ffffff0d;color:#d9e1ef;cursor:default;font-size:14px}

/* Shared saved-answer tables for participant-owned records. */
.staff-outcomes-scroll{overflow-x:auto;max-width:100%}.staff-outcomes-scroll table{border-collapse:collapse;width:100%;font-size:14px}.staff-outcomes-scroll th,.staff-outcomes-scroll td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #dce4ee;min-width:105px}.staff-outcomes-scroll th{background:#edf3fc}.staff-outcomes-scroll td:last-child{min-width:230px;white-space:pre-wrap;overflow-wrap:anywhere}#staff-outcomes dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 14px}#staff-outcomes dt{font-weight:700}
.staff-outcome-graphs{display:grid;grid-template-columns:1fr 1fr;gap:24px}.staff-outcome-graph{height:250px;position:relative;min-width:0}.staff-outcome-graphs>div{min-width:0}.staff-heat-section .staff-outcomes-scroll{max-height:520px}.staff-heat-section th{position:sticky;top:0;z-index:1}.staff-heat-section tbody th{left:0;top:auto;white-space:nowrap;background:#edf3fc}.staff-heat-section td{min-width:160px;max-width:280px;white-space:pre-wrap;overflow-wrap:anywhere}.heat-green{background:#dcf4e5;color:#165331}.heat-yellow{background:#fff5cc;color:#6c5306}.heat-orange{background:#ffe3c5;color:#813c09}.heat-red{background:#fbdcde;color:#8e1f2b}.heat-neutral{background:#f4f6f9;color:#475569}.staff-heat-legend{display:flex;flex-wrap:wrap;gap:8px}.staff-heat-legend span{padding:6px 10px;border-radius:8px}@media(max-width:700px){.staff-outcome-graphs{grid-template-columns:1fr}}
.staff-colour-help{margin:12px 0 18px;padding:12px 14px;border:1px solid #dce4ee;border-radius:12px;background:#f8fafc}.staff-colour-help summary{cursor:pointer;font-weight:700;color:#182c58}.staff-colour-help p{margin:12px 0 0;line-height:1.6;color:#475569}

.bioreset-participant-records{margin:28px 0;padding:22px;border:1px solid #dce4ee;border-radius:20px;background:white;color:#172544}
.bioreset-participant-records h2{font:700 25px Georgia,serif;margin-bottom:12px}
.bioreset-participant-records details{margin-top:16px;border:1px solid #dce4ee;border-radius:12px;padding:14px}
.bioreset-participant-records summary{cursor:pointer;font-weight:700}
#measurement-reminders{margin:16px;padding:14px 18px;border-radius:12px;background:#fff5cc;color:#6c5306}
#measurement-reminders[hidden]{display:none}
#day30-progress-recap{margin:28px 0;padding:22px;border:1px solid #dce4ee;border-radius:20px;background:#fff;color:#172544}
#day30-progress-recap h2{font:700 25px Georgia,serif;text-align:center;margin:0 0 8px}
#day30-progress-recap>p{max-width:760px;margin:0 auto 16px;text-align:center;color:#64748b}
#day30-progress-recap .bioreset-progress-recaps__card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:6px 18px;padding:14px;border-color:#dce4ee;background:#f8fafc;color:#172544}
#day30-progress-recap .bioreset-progress-recaps__poster{grid-row:1/span 4;min-height:116px;padding:18px;padding-right:30%}
#day30-progress-recap .bioreset-progress-recaps__card h3{margin:4px 0 2px;font-size:19px}
#day30-progress-recap .bioreset-progress-recaps__card p{margin:2px 0;font-size:14px;line-height:1.45;color:#475569}
#day30-progress-recap .bioreset-progress-recaps__card button:disabled{justify-self:start;margin-top:6px;border-color:#cbd5e1;background:#eef2f7;color:#475569}
@media(max-width:700px){#day30-progress-recap .bioreset-progress-recaps__card{grid-template-columns:1fr}#day30-progress-recap .bioreset-progress-recaps__poster{grid-row:auto;min-height:105px}}
.bioreset-progress-recaps__poster{position:relative;overflow:hidden;padding-right:32%}
.bioreset-progress-recaps__art{position:absolute;right:3%;top:20%;width:25%;height:65%;opacity:.9}

/* Dashboard explanations are available on demand at every screen size. */
.bioreset-baseline-radars .bioreset-domain-cards { display:none; }
.bioreset-baseline-radars .bioreset-domain-help { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.bioreset-baseline-radars .bioreset-domain-help > span { flex-basis:100%; }
.bioreset-baseline-radars .bioreset-domain-help button { padding:10px 14px; border:1px solid #c4d9f7; border-radius:12px; background:#e6efff; color:#1e3a8a; font-size:14px; font-weight:650; text-align:left; }
.bioreset-domain-popup { max-height:80dvh; overflow:auto; }

#avatar-video-container [hidden], .production-video-review-grid [hidden] { display:none!important; }

/* Released videos are discoverable beside the report and in the video heading. */
.bioreset-reports-ready,.bioreset-video-ready { background:#dc2626!important;color:white!important;border:1px solid #ef4444!important;border-radius:14px;padding:12px 18px;font-weight:750;animation:bioreset-ready-glow 1.7s ease-in-out infinite;cursor:pointer; }
.bioreset-reports-ready[hidden]{display:none!important}
.bioreset-reports-edge{display:none}
@keyframes bioreset-ready-glow{50%{box-shadow:0 0 0 7px #ef44442b,0 0 18px #ef44448f;background:#b91c1c}}
@media(max-width:767px){.bioreset-reports-edge:not([hidden]){display:block;position:fixed;right:8px;top:45%;z-index:50;max-width:145px;font-size:13px;padding:10px;}}
.bioreset-video-loading{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:white;}
.bioreset-loading-spinner{display:block;width:42px;height:42px;border:4px solid #ffffff50;border-top-color:white;border-radius:50%;animation:bioreset-loading-spin .8s linear infinite;}
@keyframes bioreset-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.bioreset-reports-ready,.bioreset-video-ready,.bioreset-loading-spinner{animation:none;}}

/* Completed onboarding starts with the participant's saved summary. */
.bioreset-dashboard-complete #protocol-roadmap,
.bioreset-dashboard-complete #kyc-form-section,
.bioreset-dashboard-complete #step3-card,
.bioreset-dashboard-complete #metabolic-kyc-section,
.bioreset-dashboard-complete #metabolic-kyc-form-section,
.bioreset-dashboard-complete #patient-summary-header button[onclick="scrollToKYC()"],
.bioreset-dashboard-complete #header-whatsapp-btn,
body.bioreset-dashboard-layout #step4-card { display:none !important; }
.bioreset-revise-entries {display:block;margin:1rem auto 2rem;padding:.75rem 1.25rem;border:1px solid #bccbe1;border-radius:12px;color:#233c80;background:white;font-weight:700;}
.bioreset-revise-entries[hidden] {display:none;}
.bioreset-revision-dialog {width:min(960px,94vw);max-height:85dvh;overflow:auto;border:0;border-radius:20px;padding:24px;color:#142342;}
.bioreset-revision-dialog::backdrop {background:rgba(10,20,40,.65);}
.bioreset-revision-dialog > button {float:right;padding:.5rem 1rem;}
.bioreset-revision-dialog h2 {font-size:1.5rem;margin-bottom:1rem;}

/* Guided support is one locked card, never three active-looking services. */
.bioreset-guided-access-hidden{display:none!important}
.bioreset-guided-upgrade{border:1px solid #cbd5e1;border-radius:22px;padding:24px;background:#f1f5f9;color:#475569}
.bioreset-guided-upgrade h3{font-size:1.15rem;font-weight:800}
.bioreset-guided-upgrade__services{color:#64748b;margin:12px 0 18px;line-height:1.7}
.bioreset-guided-upgrade__action{display:inline-block;padding:12px 20px;border-radius:12px;background:#334155;color:white;font-weight:750;text-decoration:none}
.bioreset-guided-upgrade__action[aria-disabled=true]{opacity:.65;cursor:default}

/* Reserve the thumbnail footprint through loading and inline playback. */
#avatar-video-container article{min-width:0;}
.bioreset-video-slot{position:relative;width:100%;max-width:100%;min-width:0;aspect-ratio:16/9;box-sizing:border-box;overflow:hidden;}
.bioreset-video-slot > iframe{width:100%;height:100%;display:block;}
.bioreset-video-slot.bioreset-video-loading{min-height:0;padding:0;}
.bioreset-loading-spinner{flex:none;box-sizing:border-box;}
