@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montaga&display=swap');

.ald-shell,
.ald-shell * {
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

.ald-shell h1,
.ald-shell h2,
.ald-shell h3,
.ald-shell h4,
.ald-shell h5,
.ald-shell h6 {
  font-family: "Montaga", Georgia, serif;
  font-weight: 400;
}

.ald-shell {
  --ald-navy: #24377a;
  --ald-gold: #18a9b8;
  --ald-cream: #f4f9fc;
  --ald-white: #ffffff;
  --ald-muted: #667085;
  --ald-border: #e4e7ec;
  --ald-danger: #b42318;
  color: var(--ald-navy);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 70px;
}

.ald-shell a { color: inherit; }
.ald-shell h1,
.ald-shell h2,
.ald-shell h3,
.ald-shell p { margin-top: 0; }

.ald-eyebrow,
.ald-section-heading > span {
  display: block;
  color: #167f8b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 12px;
}

.ald-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ald-button:hover { transform: translateY(-1px); }
.ald-button--primary { background: var(--ald-navy); color: #fff !important; }
.ald-button--secondary { background: #fff; border-color: #cfd4dc; color: var(--ald-navy) !important; }
.ald-button--danger { background: var(--ald-danger); color: #fff !important; }
.ald-button--full { width: 100%; }

.ald-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ald-actions--hero { margin-top: 30px; }

.ald-landing {
  background: var(--ald-cream);
  border-radius: 28px;
  min-height: 520px;
  overflow: hidden;
  padding: 58px 24px;
  position: relative;
}

.ald-landing::after {
  background: radial-gradient(circle, rgba(24,169,184,.18) 0, rgba(24,169,184,0) 67%);
  content: "";
  height: 430px;
  position: absolute;
  right: -140px;
  top: -80px;
  width: 430px;
}

.ald-landing__content { max-width: 760px; position: relative; z-index: 1; }
.ald-landing h1 { font-size: clamp(46px, 8vw, 86px); letter-spacing: -.055em; line-height: .98; margin-bottom: 22px; }
.ald-landing h2 { font-size: clamp(25px, 4vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 20px; max-width: 720px; }
.ald-landing p { color: #475467; font-size: 17px; line-height: 1.8; max-width: 680px; }

.ald-how { padding: 76px 0 48px; }
.ald-section-heading { margin: 0 auto 34px; max-width: 670px; text-align: center; }
.ald-section-heading--left { margin-left: 0; text-align: left; }
.ald-section-heading h2 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.04em; margin-bottom: 14px; }
.ald-section-heading p { color: var(--ald-muted); line-height: 1.7; }
.ald-steps { display: grid; gap: 16px; }
.ald-steps article { border: 1px solid var(--ald-border); border-radius: 20px; padding: 28px; }
.ald-steps strong { align-items: center; background: var(--ald-cream); border-radius: 50%; display: flex; height: 42px; justify-content: center; margin-bottom: 24px; width: 42px; }
.ald-steps h3 { font-size: 19px; margin-bottom: 10px; }
.ald-steps p { color: var(--ald-muted); line-height: 1.7; margin-bottom: 0; }

.ald-disclaimer { background: var(--ald-navy); border-radius: 20px; color: #fff; padding: 26px; }
.ald-disclaimer strong { color: #8de1e8; display: block; margin-bottom: 8px; }
.ald-disclaimer p { line-height: 1.65; margin-bottom: 0; }

.ald-notice { border-radius: 12px; font-size: 14px; margin-bottom: 18px; padding: 15px 18px; }
.ald-notice--success { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.ald-notice--error { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }

.ald-auth { margin: 20px auto; max-width: 660px; }
.ald-back { display: inline-block; font-size: 14px; font-weight: 600; margin-bottom: 18px; text-decoration: none !important; }
.ald-auth__card,
.ald-panel { background: #fff; border: 1px solid var(--ald-border); border-radius: 22px; padding: 26px 20px; }
.ald-auth__card h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.04em; margin-bottom: 12px; }
.ald-auth__card > p { color: var(--ald-muted); line-height: 1.7; }
.ald-auth__switch { border-top: 1px solid var(--ald-border); margin: 24px 0 0 !important; padding-top: 20px; text-align: center; }
.ald-auth__switch a,
.ald-auth__links a { color: #167f8b; font-weight: 600; }
.ald-auth__links { margin-top: 18px; text-align: center; }

.ald-form { display: grid; gap: 18px; margin-top: 26px; }
.ald-form label { display: grid; gap: 8px; }
.ald-form label > span { font-size: 14px; font-weight: 600; }
.ald-form input:not([type="checkbox"]),
.ald-form textarea {
  background: #fff;
  border: 1px solid #cfd4dc;
  border-radius: 12px;
  color: var(--ald-navy);
  font-size: 16px;
  outline: none;
  padding: 13px 14px;
  width: 100%;
}
.ald-form input:focus,
.ald-form textarea:focus { border-color: #18a9b8; box-shadow: 0 0 0 3px rgba(24,169,184,.16); }
.ald-form small { color: var(--ald-muted); font-size: 12px; }
.ald-form__grid { display: grid; gap: 18px; }
.ald-form__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.ald-check { align-items: start; display: grid !important; gap: 12px !important; grid-template-columns: 20px 1fr; }
.ald-check input { height: 18px; margin: 3px 0 0; width: 18px; }
.ald-check span { font-size: 13px !important; font-weight: 400 !important; line-height: 1.6; }
.ald-check a { color: #167f8b; font-weight: 600; }
.ald-check--compact { grid-template-columns: 20px auto; justify-content: start; }
.ald-file-field { background: #fafafa; border: 1px dashed #98a2b3; border-radius: 14px; padding: 18px; }
.ald-file-field input { border: 0 !important; padding: 4px 0 !important; }

.ald-dashboard__header { align-items: flex-start; border-bottom: 1px solid var(--ald-border); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; margin-bottom: 36px; padding: 18px 0 28px; }
.ald-dashboard__header h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.045em; margin-bottom: 0; }
.ald-dashboard__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ald-dashboard__nav a { border-radius: 999px; color: #475467; font-size: 14px; font-weight: 600; padding: 10px 15px; text-decoration: none !important; }
.ald-dashboard__nav a.is-active { background: var(--ald-cream); color: var(--ald-navy); }

.ald-toolbar { align-items: flex-start; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; margin-bottom: 26px; }
.ald-toolbar h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; margin-bottom: 8px; }
.ald-toolbar p { color: var(--ald-muted); margin-bottom: 0; }

.ald-empty { background: var(--ald-cream); border-radius: 22px; padding: 48px 22px; text-align: center; }
.ald-empty__icon { align-items: center; background: #fff; border-radius: 50%; display: flex; font-size: 12px; font-weight: 700; height: 64px; justify-content: center; margin: 0 auto 20px; width: 64px; }
.ald-empty h3 { font-size: 23px; margin-bottom: 10px; }
.ald-empty p { color: var(--ald-muted); margin: 0 auto 24px; max-width: 520px; }

.ald-report-grid { display: grid; gap: 18px; }
.ald-report-card { border: 1px solid var(--ald-border); border-radius: 20px; display: flex; flex-direction: column; padding: 22px; }
.ald-report-card__top { align-items: flex-start; display: flex; gap: 14px; }
.ald-report-card__top h3 { font-size: 19px; line-height: 1.35; margin-bottom: 5px; }
.ald-report-card__top p { color: var(--ald-muted); font-size: 13px; margin-bottom: 0; }
.ald-pdf-badge { align-items: center; background: #fef3f2; border-radius: 9px; color: var(--ald-danger); display: flex; flex: 0 0 44px; font-size: 11px; font-weight: 700; height: 44px; justify-content: center; }
.ald-report-card dl { border-bottom: 1px solid var(--ald-border); border-top: 1px solid var(--ald-border); display: grid; gap: 14px; margin: 22px 0 16px; padding: 16px 0; }
.ald-report-card dl div { display: flex; justify-content: space-between; gap: 16px; }
.ald-report-card dt { color: var(--ald-muted); font-size: 13px; }
.ald-report-card dd { font-size: 13px; font-weight: 600; margin: 0; text-align: right; }
.ald-report-card__notes { color: var(--ald-muted); font-size: 13px; line-height: 1.6; }
.ald-report-card__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 12px; }
.ald-report-card__actions a,
.ald-report-card__actions button { background: none; border: 0; color: #167f8b; cursor: pointer; font-size: 13px; font-weight: 600; padding: 0; text-decoration: none; }
.ald-report-card__actions button { color: var(--ald-danger); }
.ald-report-card__actions form { margin: 0; }

.ald-panel--form { margin: 0 auto; max-width: 820px; }
.ald-account-grid { display: grid; gap: 18px; }
.ald-panel h3 { font-size: 22px; margin-bottom: 12px; }
.ald-panel > p { color: var(--ald-muted); line-height: 1.7; }
.ald-panel--danger { border-color: #fecdca; }
.ald-account-details { display: grid; gap: 14px; margin: 24px 0; }
.ald-account-details div { border-bottom: 1px solid var(--ald-border); padding-bottom: 12px; }
.ald-account-details dt { color: var(--ald-muted); font-size: 12px; margin-bottom: 4px; }
.ald-account-details dd { font-weight: 600; margin: 0; overflow-wrap: anywhere; }

@media (min-width: 700px) {
  .ald-shell { padding: 42px 30px 90px; }
  .ald-landing { padding: 86px 58px; }
  .ald-steps { grid-template-columns: repeat(3, 1fr); }
  .ald-auth__card,
  .ald-panel { padding: 36px; }
  .ald-form__grid { grid-template-columns: repeat(2, 1fr); }
  .ald-dashboard__header,
  .ald-toolbar { align-items: center; flex-direction: row; }
  .ald-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ald-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ald-panel--danger { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .ald-report-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .ald-actions--hero .ald-button,
  .ald-toolbar .ald-button,
  .ald-form__buttons .ald-button { width: 100%; }
  .ald-landing { min-height: auto; }
  .ald-dashboard__nav { width: 100%; }
  .ald-dashboard__nav a { flex: 1; text-align: center; }
}

/* Phase 1 quality pass */
.ald-shell { isolation: isolate; }
.ald-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,243,234,.42), rgba(255,255,255,0) 34%);
  pointer-events: none;
  z-index: -1;
}
.ald-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.ald-password-field { position: relative; }
.ald-password-field input { padding-right: 72px !important; }
.ald-password-toggle {
  background: transparent;
  border: 0;
  color: #167f8b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.ald-button:focus-visible,
.ald-dashboard__nav a:focus-visible,
.ald-report-card__actions a:focus-visible,
.ald-report-card__actions button:focus-visible,
.ald-password-toggle:focus-visible {
  outline: 3px solid rgba(201,168,75,.38);
  outline-offset: 3px;
}
.ald-button[disabled] { cursor: wait; opacity: .72; transform: none; }
.ald-button.is-loading::before {
  animation: ald-spin .7s linear infinite;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  height: 15px;
  margin-right: 9px;
  width: 15px;
}
@keyframes ald-spin { to { transform: rotate(360deg); } }
.ald-file-field { transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.ald-file-field:focus-within { background: #f5fcfd; border-color: var(--ald-gold); box-shadow: 0 0 0 4px rgba(201,168,75,.12); }
.ald-file-field small { overflow-wrap: anywhere; }
.ald-file-field small.is-error { color: var(--ald-danger); font-weight: 600; }
.ald-dashboard-summary {
  background: var(--ald-navy);
  border-radius: 22px;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 30px;
  overflow: hidden;
}
.ald-dashboard-summary > div { background: rgba(255,255,255,.035); padding: 20px; }
.ald-dashboard-summary span { color: #cfd4dc; display: block; font-size: 11px; letter-spacing: .08em; margin-bottom: 7px; text-transform: uppercase; }
.ald-dashboard-summary strong { color: #fff; display: block; font-size: 18px; }
.ald-report-card {
  background: linear-gradient(180deg, #fff 0%, #fffdf9 100%);
  box-shadow: 0 12px 34px rgba(14,22,41,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ald-report-card:hover { border-color: #d7c78e; box-shadow: 0 18px 42px rgba(14,22,41,.09); transform: translateY(-2px); }
.ald-report-card__actions { border-top: 1px solid var(--ald-border); margin-top: 18px; padding-top: 16px; }
.ald-report-card__actions a,
.ald-report-card__actions button { min-height: 36px; display: inline-flex; align-items: center; }
.ald-auth__card,
.ald-panel { box-shadow: 0 20px 60px rgba(14,22,41,.06); }
.ald-notice { box-shadow: 0 8px 24px rgba(14,22,41,.05); }

@media (max-width: 699px) {
  .ald-shell { padding: 18px 14px 54px; }
  .ald-landing { border-radius: 22px; padding: 44px 20px; }
  .ald-landing h1 { font-size: clamp(43px, 15vw, 62px); }
  .ald-landing h2 { font-size: 27px; }
  .ald-landing p { font-size: 15px; line-height: 1.7; }
  .ald-how { padding: 52px 0 36px; }
  .ald-steps article { padding: 22px; }
  .ald-auth { margin-top: 8px; }
  .ald-auth__card,
  .ald-panel { border-radius: 18px; padding: 22px 17px; }
  .ald-dashboard__header { gap: 18px; margin-bottom: 24px; padding-top: 8px; }
  .ald-dashboard__nav { background: var(--ald-cream); border-radius: 14px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; }
  .ald-dashboard__nav a { border-radius: 10px; padding: 10px 8px; }
  .ald-dashboard__nav a.is-active { background: #fff; box-shadow: 0 3px 10px rgba(14,22,41,.08); }
  .ald-dashboard-summary { grid-template-columns: 1fr; }
  .ald-dashboard-summary > div { align-items: center; display: flex; justify-content: space-between; padding: 15px 18px; }
  .ald-dashboard-summary span { margin: 0; }
  .ald-dashboard-summary strong { font-size: 15px; }
  .ald-toolbar { margin-bottom: 20px; }
  .ald-toolbar h2 { font-size: 29px; }
  .ald-report-card { padding: 19px 17px; }
  .ald-report-card dl div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ald-report-card dd { text-align: left; }
  .ald-report-card__actions { display: grid; gap: 4px; grid-template-columns: 1fr 1fr; }
  .ald-report-card__actions a,
  .ald-report-card__actions button { background: var(--ald-cream); border-radius: 9px; justify-content: center; padding: 9px 8px; width: 100%; }
  .ald-report-card__actions form { grid-column: 1 / -1; width: 100%; }
  .ald-report-card__actions form button { background: #fef3f2; }
  .ald-form__buttons { display: grid; grid-template-columns: 1fr; }
  .ald-form__buttons .ald-button { width: 100%; }
  .ald-disclaimer { border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .ald-button,
  .ald-report-card { transition: none; }
  .ald-button.is-loading::before { animation: none; }
}

/* Phase 2 biomarker tracking */
.ald-result-count{font-size:12px;font-weight:700;color:#6b7280;margin:2px 0 14px}.ald-report-card__actions .ald-action-primary{background:#111827;color:#fff!important;border-color:#111827}.ald-biomarker-entry-list{display:grid;gap:14px}.ald-biomarker-entry{padding:20px;border:1px solid #e8e2d9;border-radius:18px;background:#fff}.ald-biomarker-entry__title{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.ald-biomarker-entry__title span,.ald-biomarker-card__category{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8a6b2f}.ald-biomarker-entry__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ald-biomarker-entry select{width:100%;min-height:48px;border:1px solid #d9d4cc;border-radius:12px;padding:10px;background:#fff}.ald-biomarker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ald-biomarker-card{background:#fff;border:1px solid #ebe7df;border-radius:22px;padding:22px;box-shadow:0 12px 35px rgba(20,24,35,.06)}.ald-biomarker-card h3{margin:6px 0 14px}.ald-biomarker-card__value{font-size:30px;font-weight:700;color:#111827}.ald-biomarker-card__value small{font-size:14px;font-weight:500;color:#68707d}.ald-range-status{display:inline-block;background:#f4f0e8;border-radius:999px;padding:7px 10px;font-size:12px}.ald-biomarker-card dl{margin:18px 0}.ald-history-list{display:grid;gap:10px}.ald-history-list article{display:grid;grid-template-columns:1fr auto auto;gap:20px;align-items:center;padding:16px;border:1px solid #ebe7df;border-radius:15px}.ald-history-list article span{display:block;color:#6b7280;font-size:13px;margin-top:4px}.ald-history-list button{border:0;background:none;color:#b42318;cursor:pointer}.ald-history-range{font-size:13px;color:#4b5563}@media(max-width:900px){.ald-biomarker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ald-biomarker-entry__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.ald-biomarker-grid{grid-template-columns:1fr}.ald-biomarker-entry{padding:16px}.ald-biomarker-entry__grid{grid-template-columns:1fr}.ald-biomarker-entry__title{display:block}.ald-biomarker-entry__title span{display:block;margin-top:4px}.ald-history-list article{grid-template-columns:1fr}.ald-history-list form{justify-self:start}.ald-dashboard__nav{overflow-x:auto;white-space:nowrap;padding-bottom:4px}}

/* Apexion Biolabs live-site colour system — v2.0.2
   Uses Elementor/Astra global variables when available, with the verified
   Apexion navy, teal and white palette as safe fallbacks. */
.ald-shell {
  --ald-brand-primary: var(--apexion-primary, var(--e-global-color-primary, var(--ast-global-color-0, #24377a)));
  --ald-brand-secondary: var(--apexion-secondary, var(--e-global-color-secondary, var(--ast-global-color-2, #1f2f74)));
  --ald-brand-accent: var(--apexion-accent, var(--e-global-color-accent, var(--ast-global-color-1, #18a9b8)));
  --ald-brand-text: var(--apexion-text, var(--e-global-color-text, var(--ast-global-color-3, #24377a)));
  --ald-brand-accent-dark: #117f8b;
  --ald-brand-accent-soft: #eaf9fb;
  --ald-page: #f4f9fc;
  --ald-surface: #ffffff;
  --ald-surface-alt: #f8fbfd;
  --ald-text: #1e2a4a;
  --ald-muted: #66758f;
  --ald-border: #dce7f0;
  --ald-border-strong: #c8d9e5;
  --ald-danger: #b42318;
  --ald-success: #067647;
  --ald-navy: var(--ald-brand-primary);
  --ald-gold: var(--ald-brand-accent); /* legacy variable name retained for compatibility */
  --ald-cream: var(--ald-brand-accent-soft);
  --ald-white: #ffffff;
  background: var(--ald-page);
  box-shadow: 0 0 0 100vmax var(--ald-page);
  clip-path: inset(0 -100vmax);
  color: var(--ald-text);
}

.ald-shell h1,
.ald-shell h2,
.ald-shell h3,
.ald-shell strong,
.ald-shell dt,
.ald-shell dd,
.ald-shell label,
.ald-shell p {
  color: inherit;
}

.ald-eyebrow,
.ald-section-heading > span,
.ald-biomarker-entry__title span,
.ald-biomarker-card__category {
  color: var(--ald-brand-accent-dark);
}

.ald-button {
  border-radius: 10px;
  min-height: 50px;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ald-button--primary,
.ald-report-card__actions .ald-action-primary {
  background: var(--ald-brand-primary);
  border-color: var(--ald-brand-primary);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(36, 55, 122, .16);
}

.ald-button--primary:hover,
.ald-report-card__actions .ald-action-primary:hover {
  background: var(--ald-brand-secondary);
  border-color: var(--ald-brand-secondary);
  box-shadow: 0 14px 30px rgba(36, 55, 122, .22);
}

.ald-button--secondary {
  background: #ffffff;
  border-color: var(--ald-brand-accent);
  color: var(--ald-brand-primary) !important;
}

.ald-button--secondary:hover {
  background: var(--ald-brand-accent-soft);
  border-color: var(--ald-brand-accent-dark);
}

.ald-button--danger {
  background: #fff4f2;
  border-color: #fecdca;
  color: var(--ald-danger) !important;
  box-shadow: none;
}

.ald-landing {
  background:
    radial-gradient(circle at 88% 12%, rgba(24, 169, 184, .24), transparent 31%),
    linear-gradient(125deg, var(--ald-brand-primary) 0%, var(--ald-brand-secondary) 62%, #315d9d 100%);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(36, 55, 122, .18);
}

.ald-landing::before {
  background: linear-gradient(90deg, var(--ald-brand-accent), rgba(255,255,255,.2));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ald-landing::after {
  background: radial-gradient(circle, rgba(255,255,255,.14) 0, rgba(255,255,255,0) 70%);
}

.ald-landing h1,
.ald-landing h2,
.ald-landing p,
.ald-landing .ald-eyebrow {
  color: #ffffff;
}

.ald-landing .ald-button--primary {
  background: var(--ald-brand-accent);
  border-color: var(--ald-brand-accent);
  color: #ffffff !important;
}

.ald-landing .ald-button--primary:hover {
  background: #35bac6;
  border-color: #35bac6;
}

.ald-landing .ald-button--secondary {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.68);
  color: #ffffff !important;
}

.ald-landing p,
.ald-section-heading p,
.ald-steps p,
.ald-toolbar p,
.ald-panel > p,
.ald-auth__card > p,
.ald-empty p,
.ald-report-card__top p,
.ald-report-card__notes,
.ald-form small,
.ald-result-count,
.ald-history-list article span,
.ald-history-range,
.ald-biomarker-card__value small {
  color: var(--ald-muted);
}

.ald-landing p {
  color: rgba(255,255,255,.84);
}

.ald-steps article,
.ald-auth__card,
.ald-panel,
.ald-report-card,
.ald-biomarker-entry,
.ald-biomarker-card,
.ald-history-list article {
  background: var(--ald-surface);
  border-color: var(--ald-border);
  box-shadow: 0 16px 44px rgba(36, 55, 122, .08);
}

.ald-steps article,
.ald-auth__card,
.ald-panel,
.ald-report-card,
.ald-biomarker-entry,
.ald-biomarker-card,
.ald-history-list article,
.ald-empty,
.ald-disclaimer,
.ald-dashboard-summary {
  border-radius: 16px;
}

.ald-steps article {
  position: relative;
}

.ald-steps article::after {
  background: var(--ald-brand-accent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 28px;
  position: absolute;
  right: calc(100% - 68px);
  transition: right .2s ease;
}

.ald-steps article:hover::after {
  right: 28px;
}

.ald-steps strong,
.ald-empty__icon {
  background: var(--ald-brand-accent-soft);
  border: 1px solid #cdeff2;
  color: var(--ald-brand-accent-dark);
}

.ald-disclaimer,
.ald-dashboard-summary {
  background: linear-gradient(125deg, var(--ald-brand-primary), var(--ald-brand-secondary));
  border: 0;
  color: #ffffff;
}

.ald-disclaimer strong,
.ald-dashboard-summary span,
.ald-dashboard-summary strong {
  color: #ffffff;
}

.ald-dashboard-summary > div {
  background: transparent;
  border-right: 1px solid rgba(255,255,255,.2);
}

.ald-dashboard-summary > div:last-child {
  border-right: 0;
}

.ald-notice {
  border-radius: 10px;
  box-shadow: none;
}

.ald-notice--success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: var(--ald-success);
}

.ald-notice--error {
  background: #fef3f2;
  border-color: #fecdca;
  color: var(--ald-danger);
}

.ald-back,
.ald-auth__switch a,
.ald-auth__links a,
.ald-check a,
.ald-report-card__actions a,
.ald-password-toggle {
  color: var(--ald-brand-accent-dark);
}

.ald-auth__switch,
.ald-dashboard__header,
.ald-report-card dl,
.ald-report-card__actions,
.ald-account-details div {
  border-color: var(--ald-border);
}

.ald-form input:not([type="checkbox"]),
.ald-form textarea,
.ald-biomarker-entry select {
  background: #ffffff;
  border-color: var(--ald-border-strong);
  border-radius: 10px;
  color: var(--ald-text);
  color-scheme: light;
}

.ald-form input::placeholder,
.ald-form textarea::placeholder {
  color: #8a97aa;
}

.ald-form input:focus,
.ald-form textarea:focus,
.ald-biomarker-entry select:focus {
  border-color: var(--ald-brand-accent);
  box-shadow: 0 0 0 4px rgba(24, 169, 184, .14);
}

.ald-check input {
  accent-color: var(--ald-brand-accent);
}

.ald-file-field {
  background: var(--ald-surface-alt);
  border-color: #a8dce2;
  border-radius: 12px;
}

.ald-file-field:focus-within {
  background: #f4fcfd;
  border-color: var(--ald-brand-accent);
  box-shadow: 0 0 0 4px rgba(24, 169, 184, .12);
}

.ald-dashboard__nav a {
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--ald-muted);
}

.ald-dashboard__nav a:hover {
  color: var(--ald-brand-primary);
}

.ald-dashboard__nav a.is-active {
  background: var(--ald-brand-accent-soft);
  border-color: #cdeff2;
  color: var(--ald-brand-primary);
}

.ald-empty {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border: 1px dashed #a8dce2;
}

.ald-report-card,
.ald-biomarker-card {
  overflow: hidden;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ald-report-card::before,
.ald-biomarker-card::before {
  background: linear-gradient(90deg, var(--ald-brand-accent), var(--ald-brand-primary));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ald-report-card:hover,
.ald-biomarker-card:hover {
  border-color: #b7d9e4;
  box-shadow: 0 22px 50px rgba(36, 55, 122, .13);
  transform: translateY(-2px);
}

.ald-pdf-badge {
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  border-radius: 9px;
  color: var(--ald-brand-primary);
}

.ald-report-card dt {
  color: var(--ald-muted);
}

.ald-report-card dd,
.ald-account-details dd,
.ald-biomarker-card h3,
.ald-biomarker-card__value {
  color: var(--ald-text);
}

.ald-report-card__actions button,
.ald-history-list button {
  color: var(--ald-danger);
}

.ald-biomarker-card__value {
  font-size: 32px;
  letter-spacing: -.035em;
}

.ald-range-status {
  background: var(--ald-brand-accent-soft);
  border: 1px solid #cdeff2;
  border-radius: 999px;
  color: var(--ald-brand-accent-dark);
}

.ald-panel--danger {
  background: #fffafa;
  border-color: #fecdca;
}

.ald-button:focus-visible,
.ald-dashboard__nav a:focus-visible,
.ald-report-card__actions a:focus-visible,
.ald-report-card__actions button:focus-visible,
.ald-password-toggle:focus-visible {
  outline-color: rgba(24, 169, 184, .65);
}

@media (max-width: 699px) {
  .ald-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ald-landing {
    border-radius: 18px;
  }

  .ald-dashboard__nav {
    background: #ffffff;
    border: 1px solid var(--ald-border);
    border-radius: 12px;
  }

  .ald-dashboard__nav a {
    border-radius: 8px;
  }

  .ald-dashboard__nav a.is-active {
    background: var(--ald-brand-accent-soft);
    box-shadow: none;
  }

  .ald-dashboard-summary > div {
    border-bottom: 1px solid rgba(255,255,255,.2);
    border-right: 0;
  }

  .ald-dashboard-summary > div:last-child {
    border-bottom: 0;
  }

  .ald-report-card__actions a,
  .ald-report-card__actions button {
    background: var(--ald-brand-accent-soft);
    border: 1px solid #cdeff2;
    border-radius: 8px;
    color: var(--ald-brand-primary);
  }

  .ald-report-card__actions form button {
    background: #fff4f2;
    border-color: #fecdca;
    color: var(--ald-danger);
  }
}

/* Apexion Labs public landing page — v2.0.5 */
.ald-landing--one {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  min-height: 650px;
  padding: 72px 62px;
}

.ald-landing--one::after {
  height: 560px;
  right: -180px;
  top: -160px;
  width: 560px;
}

.ald-landing--one .ald-landing__content {
  max-width: 690px;
}

.ald-landing--one h1 {
  font-size: clamp(56px, 6.6vw, 92px);
  letter-spacing: -.058em;
  line-height: .98;
  margin-bottom: 26px;
}

.ald-landing--one h1 span {
  color: #8de1e8;
  font-family: inherit;
}

.ald-landing--one .ald-landing__lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  max-width: 650px;
}

.ald-landing__trust {
  align-items: center;
  display: flex;
  font-size: 13px !important;
  gap: 9px;
  margin: 20px 0 0;
}

.ald-landing__trust::before {
  background: #8de1e8;
  border: 3px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(141,225,232,.5);
  content: "";
  height: 8px;
  width: 8px;
}

.ald-landing__visual {
  min-height: 430px;
  position: relative;
  z-index: 1;
}

.ald-visual-card {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 32px 75px rgba(8, 24, 76, .3);
  color: var(--ald-text);
}

.ald-visual-card--main {
  border-radius: 24px;
  left: 0;
  padding: 28px;
  position: absolute;
  right: 18px;
  top: 28px;
}

.ald-visual-card__header {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
}

.ald-visual-pill {
  background: var(--ald-brand-accent-soft);
  border: 1px solid #cdeff2;
  border-radius: 999px;
  color: var(--ald-brand-accent-dark);
  font-size: 10px;
  letter-spacing: .08em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.ald-visual-score {
  display: grid;
  margin: 34px 0 28px;
}

.ald-visual-score span {
  color: var(--ald-brand-primary);
  font-family: "Montaga", Georgia, serif;
  font-size: 70px;
  line-height: .9;
}

.ald-visual-score small {
  color: var(--ald-muted);
  font-size: 13px;
  margin-top: 10px;
}

.ald-visual-lines {
  align-items: end;
  background: linear-gradient(180deg, #f4f9fc, #fff);
  border: 1px solid var(--ald-border);
  border-radius: 15px;
  display: flex;
  gap: 11px;
  height: 110px;
  padding: 18px;
}

.ald-visual-lines i {
  background: linear-gradient(180deg, var(--ald-brand-accent), var(--ald-brand-primary));
  border-radius: 999px 999px 4px 4px;
  display: block;
  flex: 1;
  height: 42%;
  opacity: .92;
}

.ald-visual-lines i:nth-child(2) { height: 58%; }
.ald-visual-lines i:nth-child(3) { height: 49%; }
.ald-visual-lines i:nth-child(4) { height: 78%; }
.ald-visual-lines i:nth-child(5) { height: 68%; }

.ald-visual-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.ald-visual-stats span {
  background: var(--ald-surface-alt);
  border: 1px solid var(--ald-border);
  border-radius: 10px;
  color: var(--ald-muted);
  font-size: 11px;
  padding: 12px;
}

.ald-visual-stats b {
  color: var(--ald-brand-primary);
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}

.ald-visual-card--float {
  border-radius: 18px;
  bottom: 2px;
  display: grid;
  min-width: 190px;
  padding: 19px 21px;
  position: absolute;
  right: -3px;
  transform: rotate(2deg);
}

.ald-visual-card--float > span {
  color: var(--ald-muted);
  font-size: 12px;
}

.ald-visual-card--float strong {
  color: var(--ald-brand-primary) !important;
  font-family: "Montaga", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  margin: 4px 0;
}

.ald-visual-card--float strong small {
  color: var(--ald-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
}

.ald-visual-card--float em {
  color: var(--ald-brand-accent-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ald-platform-features {
  background: #fff;
  border: 1px solid var(--ald-border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(36,55,122,.08);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: -34px 30px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.ald-platform-features article {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 128px;
  padding: 25px;
}

.ald-platform-features article + article {
  border-left: 1px solid var(--ald-border);
}

.ald-feature-icon {
  align-items: center;
  background: var(--ald-brand-accent-soft);
  border: 1px solid #cdeff2;
  border-radius: 14px;
  display: flex;
  flex: 0 0 50px;
  height: 50px;
  justify-content: center;
}

.ald-feature-icon svg {
  height: 24px;
  stroke: var(--ald-brand-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 24px;
}

.ald-platform-features h3 {
  font-size: 18px;
  margin: 0 0 5px;
}

.ald-platform-features p {
  color: var(--ald-muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.ald-feature-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ald-feature-title span {
  background: #f2f4f7;
  border-radius: 999px;
  color: #667085;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 5px 7px;
  text-transform: uppercase;
}

.ald-why-one {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  padding: 112px 0 94px;
}

.ald-why-one__intro {
  margin: 0;
  position: sticky;
  top: 34px;
}

.ald-why-one__intro h2 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.04;
}

.ald-benefit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ald-benefit-grid article {
  background: #fff;
  border: 1px solid var(--ald-border);
  border-radius: 18px;
  min-height: 245px;
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ald-benefit-grid article:hover {
  border-color: #b7d9e4;
  box-shadow: 0 20px 46px rgba(36,55,122,.1);
  transform: translateY(-3px);
}

.ald-benefit-grid article > span {
  color: var(--ald-brand-accent-dark);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 48px;
}

.ald-benefit-grid h3 {
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ald-benefit-grid p {
  color: var(--ald-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.ald-roadmap {
  background: #fff;
  border: 1px solid var(--ald-border);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(36,55,122,.08);
  padding: 78px 50px 54px;
}

.ald-roadmap__track {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.ald-roadmap__track article {
  border-left: 1px solid var(--ald-border);
  border-top: 1px solid var(--ald-border);
  min-height: 280px;
  padding: 28px;
  position: relative;
}

.ald-roadmap__track article:nth-child(-n+3) { border-top: 0; }
.ald-roadmap__track article:nth-child(3n+1) { border-left: 0; }

.ald-roadmap__status {
  color: var(--ald-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ald-roadmap__track .is-live .ald-roadmap__status {
  color: var(--ald-brand-accent-dark);
}

.ald-roadmap__icon {
  align-items: center;
  background: #f2f4f7;
  border-radius: 50%;
  color: var(--ald-muted);
  display: flex;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  margin: 36px 0 26px;
  width: 44px;
}

.ald-roadmap__track .is-live .ald-roadmap__icon {
  background: var(--ald-brand-accent-soft);
  border: 1px solid #cdeff2;
  color: var(--ald-brand-primary);
}

.ald-roadmap__track h3 {
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 11px;
}

.ald-roadmap__track p {
  color: var(--ald-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.ald-roadmap__vision {
  background: linear-gradient(145deg, var(--ald-brand-primary), var(--ald-brand-secondary));
  color: #fff;
}

.ald-roadmap__vision .ald-roadmap__status,
.ald-roadmap__vision h3,
.ald-roadmap__vision p {
  color: #fff;
}

.ald-roadmap__vision .ald-roadmap__icon {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: "Montaga", Georgia, serif;
  font-size: 23px;
}

.ald-final-cta {
  align-items: center;
  background: linear-gradient(120deg, #eaf9fb 0%, #f7fbfd 56%, #eef3ff 100%);
  border: 1px solid #cdeff2;
  border-radius: 22px;
  display: flex;
  gap: 38px;
  justify-content: space-between;
  margin: 70px 0 22px;
  padding: 45px;
}

.ald-final-cta > div:first-child {
  max-width: 700px;
}

.ald-final-cta > div > span {
  color: var(--ald-brand-accent-dark);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  margin-bottom: 12px;
}

.ald-final-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 13px;
}

.ald-final-cta p {
  color: var(--ald-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.ald-final-cta .ald-actions {
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 205px;
}

.ald-disclaimer--light {
  background: transparent;
  border: 0;
  color: var(--ald-muted);
  display: flex;
  font-size: 12px;
  gap: 13px;
  padding: 18px 4px 0;
}

.ald-disclaimer--light strong {
  color: var(--ald-text);
  flex: 0 0 auto;
  margin: 0;
}

.ald-disclaimer--light p {
  color: var(--ald-muted);
  font-size: 12px;
  margin: 0;
}

@media (max-width: 1020px) {
  .ald-landing--one {
    grid-template-columns: 1fr;
    padding-bottom: 55px;
  }

  .ald-landing__visual {
    margin: 0 auto;
    max-width: 520px;
    min-height: 390px;
    width: 100%;
  }

  .ald-platform-features {
    margin-left: 18px;
    margin-right: 18px;
  }

  .ald-platform-features article {
    align-items: flex-start;
    flex-direction: column;
  }

  .ald-why-one {
    grid-template-columns: 1fr;
  }

  .ald-why-one__intro {
    max-width: 720px;
    position: static;
  }

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

  .ald-roadmap__track article,
  .ald-roadmap__track article:nth-child(-n+3),
  .ald-roadmap__track article:nth-child(3n+1) {
    border-left: 1px solid var(--ald-border);
    border-top: 1px solid var(--ald-border);
  }

  .ald-roadmap__track article:nth-child(-n+2) { border-top: 0; }
  .ald-roadmap__track article:nth-child(2n+1) { border-left: 0; }

  .ald-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ald-final-cta .ald-actions {
    flex-direction: row;
  }
}

@media (max-width: 699px) {
  .ald-landing--one {
    gap: 28px;
    min-height: auto;
    padding: 50px 22px 42px;
  }

  .ald-landing--one h1 {
    font-size: clamp(47px, 15vw, 65px);
    line-height: 1.01;
  }

  .ald-landing--one .ald-landing__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .ald-landing--one .ald-actions--hero {
    display: grid;
  }

  .ald-landing--one .ald-button {
    width: 100%;
  }

  .ald-landing__visual {
    min-height: 335px;
  }

  .ald-visual-card--main {
    padding: 20px;
    right: 8px;
    top: 15px;
  }

  .ald-visual-score {
    margin: 24px 0 18px;
  }

  .ald-visual-score span {
    font-size: 55px;
  }

  .ald-visual-lines {
    height: 84px;
    padding: 13px;
  }

  .ald-visual-card--float {
    bottom: 0;
    min-width: 160px;
    padding: 15px;
  }

  .ald-platform-features {
    grid-template-columns: 1fr;
    margin: -18px 12px 0;
  }

  .ald-platform-features article {
    align-items: center;
    flex-direction: row;
    min-height: auto;
    padding: 20px;
  }

  .ald-platform-features article + article {
    border-left: 0;
    border-top: 1px solid var(--ald-border);
  }

  .ald-why-one {
    gap: 32px;
    padding: 78px 0 65px;
  }

  .ald-benefit-grid {
    grid-template-columns: 1fr;
  }

  .ald-benefit-grid article {
    min-height: 0;
    padding: 24px;
  }

  .ald-benefit-grid article > span {
    margin-bottom: 28px;
  }

  .ald-roadmap {
    border-radius: 18px;
    padding: 56px 20px 24px;
  }

  .ald-roadmap__track {
    grid-template-columns: 1fr;
  }

  .ald-roadmap__track article,
  .ald-roadmap__track article:nth-child(-n+2),
  .ald-roadmap__track article:nth-child(2n+1) {
    border-left: 0;
    border-top: 1px solid var(--ald-border);
    min-height: 0;
    padding: 27px 4px;
  }

  .ald-roadmap__track article:first-child {
    border-top: 0;
  }

  .ald-roadmap__track .ald-roadmap__vision {
    border-radius: 15px;
    margin-top: 10px;
    padding: 27px 22px;
  }

  .ald-roadmap__icon {
    margin: 24px 0 18px;
  }

  .ald-final-cta {
    margin-top: 45px;
    padding: 30px 22px;
  }

  .ald-final-cta .ald-actions {
    display: grid;
    min-width: 100%;
    width: 100%;
  }

  .ald-final-cta .ald-button {
    width: 100%;
  }

  .ald-disclaimer--light {
    display: block;
    padding-top: 18px;
  }

  .ald-disclaimer--light strong {
    display: block;
    margin-bottom: 7px;
  }
}

/* Apexion One app shell: /apexion-one/ */
body.ald-apexion-one-body {
  background: #f4f7fa;
  color: #24377a;
  margin: 0;
  min-height: 100vh;
}
body.ald-apexion-one-body #wpadminbar { display: none !important; }
.ald-app-document { min-height: 100vh; }
.ald-shell--app {
  max-width: none;
  min-height: 100vh;
  padding: 0;
}
.ald-shell--app::before { display: none; }
.ald-shell--app > .ald-notice {
  left: 292px;
  margin: 16px;
  position: fixed;
  right: 18px;
  top: 0;
  z-index: 60;
}
.ald-one-app {
  background: #f4f7fa;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}
.ald-one-sidebar {
  background: #ffffff;
  border-right: 1px solid #e4eaf0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  padding: 30px 20px 22px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.ald-one-brand {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 0 10px 32px;
}
.ald-one-brand__mark {
  align-items: center;
  background: linear-gradient(145deg, #18a9b8, #24377a);
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-family: "Montaga", Georgia, serif;
  font-size: 25px;
  height: 43px;
  justify-content: center;
  width: 43px;
}
.ald-one-brand div { display: grid; line-height: 1; }
.ald-one-brand strong { font-size: 13px; letter-spacing: .17em; }
.ald-one-brand div span { color: #18a9b8; font-size: 12px; font-weight: 700; letter-spacing: .29em; margin-top: 5px; }
.ald-one-nav { display: grid; gap: 5px; }
.ald-one-nav a {
  align-items: center;
  border-radius: 12px;
  color: #637083;
  display: grid;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 10px 12px;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.ald-one-nav a:hover { background: #f1f7fa; color: #24377a; transform: translateX(2px); }
.ald-one-nav a.is-active { background: #eaf8fa; color: #167f8b; }
.ald-one-nav svg {
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 21px;
}
.ald-one-nav small {
  background: #edf1f5;
  border-radius: 999px;
  color: #7b8798;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 6px;
  text-transform: uppercase;
}
.ald-one-sidebar__footer {
  border-top: 1px solid #e8edf2;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 22px 8px 0;
}
.ald-one-sidebar__footer > a { color: #6d7888; font-size: 12px; font-weight: 600; text-decoration: none !important; }
.ald-one-sidebar__footer > a:hover { color: #167f8b; }
.ald-one-user { align-items: center; display: flex; gap: 10px; margin-top: 14px; min-width: 0; }
.ald-one-user > span,
.ald-one-topbar__account {
  align-items: center;
  background: #24377a;
  border-radius: 50%;
  color: #fff !important;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  text-decoration: none !important;
  width: 36px;
}
.ald-one-user div { display: grid; min-width: 0; }
.ald-one-user strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ald-one-user small { color: #7c8795; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ald-one-main { min-width: 0; }
.ald-one-topbar {
  align-items: center;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid #e5ebf0;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 13px clamp(20px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.ald-one-topbar > div { display: grid; gap: 3px; }
.ald-one-topbar__eyebrow { color: #18a9b8; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.ald-one-topbar > div strong { font-family: "Montaga", Georgia, serif; font-size: 21px; font-weight: 400; }
.ald-one-menu { background: transparent; border: 0; cursor: pointer; display: none; height: 42px; padding: 9px; width: 42px; }
.ald-one-menu > span:not(.screen-reader-text) { background: #24377a; display: block; height: 2px; margin: 5px 0; width: 22px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; }
.ald-one-content { margin: 0 auto; max-width: 1460px; padding: clamp(26px, 4vw, 52px); }
.ald-one-overlay { display: none; }

.ald-one-welcome {
  align-items: flex-end;
  background: linear-gradient(125deg, #24377a 0%, #2d4b88 58%, #178e9c 130%);
  border-radius: 26px;
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 24px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 48px);
  position: relative;
}
.ald-one-welcome::after { background: rgba(255,255,255,.07); border-radius: 50%; content: ""; height: 330px; position: absolute; right: -120px; top: -180px; width: 330px; }
.ald-one-welcome > div { max-width: 760px; position: relative; z-index: 1; }
.ald-one-welcome span,
.ald-one-section-label,
.ald-one-card__heading span,
.ald-one-next > span { color: #8de1e8; display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; margin-bottom: 11px; }
.ald-one-welcome h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; margin-bottom: 13px; }
.ald-one-welcome p { color: rgba(255,255,255,.78); line-height: 1.7; margin: 0; max-width: 650px; }
.ald-one-welcome .ald-button { background: #18a9b8; flex: 0 0 auto; position: relative; z-index: 1; }
.ald-one-metrics { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.ald-one-metrics article { background: #fff; border: 1px solid #e4eaf0; border-radius: 18px; display: flex; flex-direction: column; min-height: 170px; padding: 23px; }
.ald-one-metrics article > span { color: #738094; font-size: 12px; font-weight: 600; }
.ald-one-metrics strong { color: #24377a; font-family: "Montaga", Georgia, serif; font-size: 43px; font-weight: 400; margin: 15px 0 auto; }
.ald-one-metrics strong.is-date { font-family: "Inter", Arial, sans-serif; font-size: 20px; font-weight: 700; }
.ald-one-metrics a { color: #168896; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.ald-one-metrics small { color: #8792a2; font-size: 11px; }
.ald-one-home-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); }
.ald-one-card { background: #fff; border: 1px solid #e4eaf0; border-radius: 22px; padding: 27px; }
.ald-one-card__heading { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 20px; }
.ald-one-card__heading span { color: #168896; margin-bottom: 7px; }
.ald-one-card__heading h2 { font-size: 28px; margin-bottom: 0; }
.ald-one-card__heading > a { color: #168896; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.ald-one-recent-list { display: grid; }
.ald-one-recent-list > a { align-items: center; border-top: 1px solid #e9eef2; color: #24377a; display: grid; gap: 13px; grid-template-columns: 44px minmax(0,1fr) auto; padding: 16px 0; text-decoration: none !important; }
.ald-one-recent-list > a:first-child { border-top: 0; }
.ald-one-recent-list div { display: grid; gap: 4px; }
.ald-one-recent-list strong { font-size: 14px; }
.ald-one-recent-list small { color: #788597; font-size: 11px; }
.ald-one-recent-list b { color: #18a9b8; }
.ald-one-mini-empty { background: #f5f9fb; border-radius: 16px; padding: 25px; }
.ald-one-mini-empty strong { font-family: "Montaga", Georgia, serif; font-size: 20px; font-weight: 400; }
.ald-one-mini-empty p { color: #6f7b8d; line-height: 1.65; }
.ald-one-next { background: #e9f8fa; border-color: #caedf1; }
.ald-one-next > span { color: #168896; }
.ald-one-next h2 { font-size: 30px; line-height: 1.16; }
.ald-one-next p { color: #5d6b7e; line-height: 1.7; }
.ald-one-next > div { display: grid; gap: 10px; margin-top: 26px; }
.ald-one-next > div span { align-items: center; background: rgba(255,255,255,.72); border-radius: 10px; display: flex; font-size: 12px; font-weight: 600; gap: 10px; padding: 12px; }
.ald-one-next > div b { color: #168896; font-size: 10px; }
.ald-one-next > div .is-future { opacity: .62; }

.ald-shell--app .ald-toolbar { margin-bottom: 28px; }
.ald-shell--app .ald-toolbar h1,
.ald-shell--app .ald-toolbar h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 8px; }
.ald-shell--app .ald-dashboard-summary { margin-top: 0; }
.ald-shell--app .ald-panel,
.ald-shell--app .ald-report-card,
.ald-shell--app .ald-biomarker-card,
.ald-shell--app .ald-empty { box-shadow: 0 8px 28px rgba(36,55,122,.045); }
.ald-shell--app .ald-section-heading > span,
.ald-shell--app .ald-eyebrow { color: #168896; }
.ald-shell--app .ald-button--primary { background: #24377a; }
.ald-shell--app .ald-button--primary:hover { background: #1d2d64; }
.ald-shell--app .ald-button--secondary { background: #fff; }

.ald-order-list { display: grid; gap: 13px; }
.ald-order-list article { align-items: center; background: #fff; border: 1px solid #e4eaf0; border-radius: 16px; display: flex; justify-content: space-between; padding: 21px 23px; }
.ald-order-list article > div { display: flex; flex-direction: column; gap: 5px; }
.ald-order-list article > div:last-child { align-items: flex-end; }
.ald-order-list span { color: #758195; font-size: 12px; }
.ald-order-list strong { font-size: 14px; }
.ald-order-list a { color: #168896; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.ald-order-status { background: #ecfdf3; border-radius: 999px; color: #067647 !important; padding: 4px 9px; }
.ald-one-feature-page > h1,
.ald-one-plus-page > h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; max-width: 850px; }
.ald-one-feature-page > p,
.ald-one-plus-page > p { color: #68758a; font-size: 16px; line-height: 1.8; max-width: 760px; }
.ald-one-section-label { color: #168896; }
.ald-one-feature-grid { display: grid; gap: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.ald-one-feature-grid article { background: #fff; border: 1px solid #e4eaf0; border-radius: 20px; min-height: 260px; padding: 27px; }
.ald-one-feature-grid article > b { color: #18a9b8; font-size: 12px; }
.ald-one-feature-grid h3 { font-size: 24px; margin-top: 34px; }
.ald-one-feature-grid p { color: #6e7a8c; line-height: 1.7; }
.ald-one-feature-grid article > span,
.ald-one-feature-grid article > a { color: #168896; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none !important; text-transform: uppercase; }
.ald-one-plus-page { background: linear-gradient(135deg, #24377a, #244b82 64%, #158e9c); border-radius: 26px; color: #fff; overflow: hidden; padding: clamp(34px, 6vw, 70px); position: relative; }
.ald-one-plus-page .ald-one-section-label { color: #8de1e8; }
.ald-one-plus-page > h1 { color: #fff; }
.ald-one-plus-page > p { color: rgba(255,255,255,.76); }
.ald-one-plus-mark { color: rgba(141,225,232,.26); font-family: "Montaga", Georgia, serif; font-size: 180px; line-height: .55; position: absolute; right: 55px; top: 75px; }
.ald-one-plus-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.ald-one-plus-list span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 12px; padding: 10px 14px; }
.ald-coming-pill { background: #8de1e8; border-radius: 999px; color: #24377a; display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 9px 13px; }

@media (max-width: 1120px) {
  .ald-one-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ald-one-home-grid { grid-template-columns: 1fr; }
  .ald-one-feature-grid { grid-template-columns: 1fr; }
  .ald-one-feature-grid article { min-height: 0; }
}

@media (max-width: 820px) {
  .ald-shell--app > .ald-notice { left: 12px; right: 12px; }
  .ald-one-app { display: block; }
  .ald-one-sidebar {
    box-shadow: 14px 0 40px rgba(22,35,76,.18);
    left: 0;
    max-width: 300px;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform .24s ease;
    width: 84vw;
  }
  .ald-one-app.is-menu-open .ald-one-sidebar { transform: translateX(0); }
  .ald-one-menu { display: block; }
  .ald-one-overlay { background: rgba(18,30,60,.42); border: 0; display: block; inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .24s ease; z-index: 35; }
  .ald-one-app.is-menu-open .ald-one-overlay { opacity: 1; pointer-events: auto; }
  .ald-one-topbar { padding: 12px 18px; }
  .ald-one-content { padding: 24px 18px 45px; }
  .ald-one-welcome { align-items: flex-start; flex-direction: column; }
  .ald-one-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ald-menu-open { overflow: hidden; }
}

@media (max-width: 540px) {
  .ald-one-content { padding-left: 14px; padding-right: 14px; }
  .ald-one-welcome { border-radius: 20px; padding: 28px 22px; }
  .ald-one-welcome .ald-button { width: 100%; }
  .ald-one-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ald-one-metrics article { min-height: 145px; padding: 17px; }
  .ald-one-metrics strong { font-size: 34px; }
  .ald-one-metrics strong.is-date { font-size: 16px; }
  .ald-one-card { padding: 20px; }
  .ald-one-card__heading h2 { font-size: 24px; }
  .ald-order-list article { align-items: flex-start; flex-direction: column; gap: 16px; }
  .ald-order-list article > div:last-child { align-items: flex-start; }
  .ald-one-plus-mark { display: none; }
}


/* Apexion One 2.2.0: pillars, founder waitlist, biomarker wizard and timeline */
.ald-one-welcome h2{color:#8de1e8;font-family:"Inter",Arial,sans-serif;font-size:clamp(18px,2.2vw,25px);font-weight:650;line-height:1.35;margin:0 0 9px;position:relative;z-index:1}.ald-one-welcome h1{margin-bottom:12px}.ald-one-welcome p{font-size:15px}.ald-one-pillars{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.ald-one-pillar{background:#fff;border:1px solid #e4eaf0;border-radius:20px;color:#24377a!important;display:flex;flex-direction:column;min-height:190px;padding:22px;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.ald-one-pillar:hover{border-color:#bde7eb;box-shadow:0 18px 42px rgba(36,55,122,.09);transform:translateY(-3px)}.ald-one-pillar__icon{align-items:center;background:#eaf8fa;border-radius:13px;color:#168896;display:flex;height:44px;justify-content:center;margin-bottom:18px;width:44px}.ald-one-pillar__icon svg{height:23px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;width:23px}.ald-one-pillar__label{color:#6f7c90;font-size:12px;font-weight:700}.ald-one-pillar strong{color:#24377a;font-family:"Montaga",Georgia,serif;font-size:39px;font-weight:400;line-height:1.05;margin:11px 0 7px}.ald-one-pillar strong.is-word{font-size:27px}.ald-one-pillar small{color:#8792a2;font-size:11px}.ald-one-mini-empty--journey{overflow:hidden;padding:30px;position:relative}.ald-journey-mark{color:#dbeff2;font-family:"Montaga",Georgia,serif;font-size:112px;line-height:1;position:absolute;right:15px;top:-16px}.ald-one-mini-empty--journey>*:not(.ald-journey-mark){position:relative;z-index:1}.ald-one-text-link{color:#168896!important;display:inline-block;font-size:12px;font-weight:750;margin-top:20px;text-decoration:none!important}.ald-confirm-prompt{background:#fff;border:1px solid #e4eaf0;border-radius:26px;box-shadow:0 22px 65px rgba(36,55,122,.09);margin:clamp(10px,5vw,70px) auto;max-width:760px;padding:clamp(32px,6vw,68px);text-align:center}.ald-confirm-prompt__mark{align-items:center;background:#eaf8fa;border-radius:50%;color:#168896;display:flex;font-size:27px;font-weight:800;height:64px;justify-content:center;margin:16px auto 25px;width:64px}.ald-confirm-prompt h1{font-size:clamp(34px,5vw,56px);line-height:1.08;margin:0 auto 20px;max-width:620px}.ald-confirm-prompt p{color:#68758a;font-size:16px;line-height:1.75;margin:0 auto;max-width:620px}.ald-confirm-prompt__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:30px 0 18px}.ald-confirm-prompt>small{color:#8a95a5;display:block;font-size:12px}.ald-biomarker-wizard{margin:0 auto;max-width:850px}.ald-wizard-heading{align-items:flex-end;display:flex;gap:30px;justify-content:space-between;margin:24px 0 16px}.ald-wizard-heading span{color:#168896;font-size:11px;font-weight:800;letter-spacing:.12em}.ald-wizard-heading h1{font-size:clamp(30px,4vw,46px);margin:5px 0 0}.ald-wizard-heading>strong{color:#24377a;font-size:14px}.ald-wizard-progress{background:#dce7ec;border-radius:999px;height:7px;margin-bottom:24px;overflow:hidden}.ald-wizard-progress span{background:linear-gradient(90deg,#18a9b8,#24377a);border-radius:inherit;display:block;height:100%;transition:width .35s ease}.ald-wizard-card{background:#fff;border:1px solid #e4eaf0;border-radius:25px;box-shadow:0 18px 55px rgba(36,55,122,.08);padding:clamp(24px,5vw,48px)}.ald-wizard-card__title{text-align:center}.ald-wizard-card__title>span{color:#168896;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.ald-wizard-card__title h2{font-size:clamp(35px,5vw,54px);margin:8px 0}.ald-wizard-card__title p{color:#758195;margin:0 0 30px}.ald-wizard-fields{display:grid;gap:14px;grid-template-columns:1.25fr .75fr}.ald-wizard-card select{appearance:none;background:#fff;border:1px solid #ccd7df;border-radius:12px;min-height:50px;padding:10px 38px 10px 13px;width:100%}.ald-wizard-range{border:0;margin:24px 0 0;padding:0}.ald-wizard-range legend{color:#24377a;font-size:13px;font-weight:750;margin-bottom:10px}.ald-wizard-range legend small{color:#8a95a5;font-weight:500}.ald-wizard-range>div{display:grid;gap:14px;grid-template-columns:1fr 1fr}.ald-wizard-actions{align-items:center;display:grid;gap:12px;grid-template-columns:auto 1fr auto;margin-top:28px}.ald-wizard-skip{color:#68758a!important;font-size:12px;font-weight:650;text-align:center;text-decoration:none!important}.ald-wizard-note{color:#8792a2;font-size:11px;margin:15px auto;text-align:center}.ald-one-plus-founder .ald-founder-status{background:rgba(141,225,232,.14);border:1px solid rgba(141,225,232,.28);border-radius:999px;color:#b8f3f7;display:inline-block;font-size:10px;font-weight:800;letter-spacing:.13em;margin:12px 0 22px;padding:9px 13px}.ald-founder-benefits{display:grid;gap:12px;list-style:none;margin:28px 0;padding:0}.ald-founder-benefits li{font-size:14px}.ald-founder-benefits li:before{color:#8de1e8;content:"✓";font-weight:900;margin-right:10px}.ald-founder-form{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:20px;margin-top:30px;max-width:700px;padding:22px}.ald-founder-form>label:not(.ald-check){display:block}.ald-founder-form>label>span{color:#fff;display:block;font-size:12px;font-weight:700;margin-bottom:7px}.ald-founder-form input[type=email]{background:rgba(255,255,255,.94);border:0;border-radius:11px;color:#24377a;min-height:48px;padding:12px;width:100%}.ald-founder-form .ald-check{color:rgba(255,255,255,.78);margin:16px 0}.ald-button--light{background:#fff!important;color:#24377a!important}.ald-founder-status+ h1 strong,.ald-one-plus-founder p strong{color:#fff}.ald-toolbar--timeline h1{font-size:clamp(39px,5vw,62px)}.ald-timeline{max-width:900px}.ald-timeline-year{display:grid;gap:35px;grid-template-columns:100px 1fr;margin-bottom:45px}.ald-timeline-year>h2{color:#24377a;font-size:34px;margin:0}.ald-timeline-year__body{position:relative}.ald-timeline-month{color:#168896;font-family:"Inter",Arial,sans-serif;font-size:12px;font-weight:800;letter-spacing:.12em;margin:4px 0 15px;text-transform:uppercase}.ald-timeline-event{display:grid;gap:18px;grid-template-columns:44px 1fr;margin-bottom:15px}.ald-timeline-event__line{align-items:flex-start;display:flex;justify-content:center;position:relative}.ald-timeline-event__line:after{background:#dfe8ed;content:"";height:calc(100% + 15px);left:50%;position:absolute;top:36px;width:1px}.ald-timeline-event:last-child .ald-timeline-event__line:after{display:none}.ald-timeline-event__line>span{align-items:center;background:#eaf8fa;border:1px solid #c8ebee;border-radius:50%;color:#168896;display:flex;font-size:10px;font-weight:800;height:38px;justify-content:center;position:relative;width:38px;z-index:1}.ald-timeline-event__content{background:#fff;border:1px solid #e4eaf0;border-radius:17px;padding:18px 20px}.ald-timeline-event time{color:#8a95a5;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.ald-timeline-event h4{font-family:"Montaga",Georgia,serif;font-size:21px;font-weight:400;margin:6px 0}.ald-timeline-event p{color:#68758a;font-size:13px;margin:0}.ald-research-navigator-launcher{letter-spacing:.01em!important}.ald-timeline-empty{max-width:720px}
@media(max-width:1100px){.ald-one-pillars{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ald-one-pillars{gap:10px;grid-template-columns:1fr 1fr}.ald-one-pillar{min-height:165px;padding:17px}.ald-one-pillar strong{font-size:32px}.ald-one-pillar strong.is-word{font-size:22px}.ald-wizard-heading{align-items:flex-start}.ald-wizard-fields,.ald-wizard-range>div{grid-template-columns:1fr}.ald-wizard-actions{grid-template-columns:1fr}.ald-wizard-actions .ald-button{width:100%}.ald-wizard-skip{order:3;padding:8px}.ald-timeline-year{gap:12px;grid-template-columns:1fr}.ald-timeline-year>h2{font-size:27px}.ald-confirm-prompt__actions{display:grid}.ald-confirm-prompt__actions .ald-button{width:100%}}
@media(max-width:440px){.ald-one-pillars{grid-template-columns:1fr}.ald-one-pillar{min-height:145px}.ald-one-welcome h2{font-size:18px}.ald-wizard-card{padding:22px 17px}.ald-timeline-event{gap:10px;grid-template-columns:36px 1fr}.ald-timeline-event__line>span{height:32px;width:32px}.ald-timeline-event__line:after{top:30px}}

/* Apexion One Health Profile: engagement progress, not a medical score. */
.ald-health-profile {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(36, 55, 122, .07);
  margin: 0 0 24px;
  padding: clamp(24px, 3.5vw, 38px);
}
.ald-health-profile__heading {
  align-items: flex-start;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}
.ald-health-profile__heading h2 {
  color: #24377a;
  font-family: "Montaga", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  margin: 7px 0 10px;
}
.ald-health-profile__heading p {
  color: #68758a;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  max-width: 650px;
}
.ald-health-profile__score {
  flex: 0 0 auto;
  min-width: 112px;
  text-align: right;
}
.ald-health-profile__score strong {
  color: #24377a;
  display: block;
  font-family: "Montaga", Georgia, serif;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}
.ald-health-profile__score span {
  color: #7b8798;
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-top: 8px;
  text-transform: uppercase;
}
.ald-health-profile__progress {
  background: #e6edf1;
  border-radius: 999px;
  height: 9px;
  margin: 25px 0 24px;
  overflow: hidden;
}
.ald-health-profile__progress span {
  background: linear-gradient(90deg, #18a9b8, #24377a);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 0;
  transition: width .45s ease;
}
.ald-health-profile__steps {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ald-health-step {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5ebf0;
  border-radius: 15px;
  color: #24377a !important;
  display: grid;
  gap: 13px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  min-height: 74px;
  padding: 13px 14px;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.ald-health-step:hover {
  border-color: #b7e1e5;
  box-shadow: 0 10px 26px rgba(36, 55, 122, .07);
  transform: translateY(-2px);
}
.ald-health-step.is-complete {
  background: #f1fbfb;
  border-color: #ccecef;
}
.ald-health-step__mark {
  align-items: center;
  background: #fff;
  border: 1.5px solid #b9c5cf;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.ald-health-step.is-complete .ald-health-step__mark {
  background: #18a9b8;
  border-color: #18a9b8;
}
.ald-health-step__copy {
  min-width: 0;
}
.ald-health-step__copy strong {
  color: #24377a;
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}
.ald-health-step__copy small {
  color: #7c8898;
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10.5px;
  line-height: 1.45;
  margin-top: 4px;
}
.ald-health-step__arrow {
  color: #18a9b8;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
}
.ald-health-profile__note {
  color: #8a95a5;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10.5px;
  line-height: 1.55;
  margin: 18px 0 0;
}
@media (max-width: 760px) {
  .ald-health-profile__heading {
    align-items: flex-start;
    gap: 18px;
  }
  .ald-health-profile__score {
    min-width: 86px;
  }
  .ald-health-profile__score strong {
    font-size: 42px;
  }
  .ald-health-profile__steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .ald-health-profile {
    border-radius: 20px;
    padding: 22px 18px;
  }
  .ald-health-profile__heading {
    display: block;
  }
  .ald-health-profile__score {
    margin-top: 20px;
    text-align: left;
  }
  .ald-health-profile__progress {
    margin-top: 18px;
  }
}

/* Apexion Labs 2.4.0: smart report processing and live dashboard */
.ald-smart-processing,
.ald-smart-alert,
.ald-review-warning,
.ald-trend-disclaimer {
  align-items: flex-start;
  background: linear-gradient(135deg, #effbfc 0%, #f7fbff 100%);
  border: 1px solid rgba(24, 169, 184, .24);
  border-radius: 18px;
  display: flex;
  gap: 14px;
  padding: 18px;
}
.ald-smart-processing { margin: 24px 0 6px; }
.ald-smart-processing__icon,
.ald-smart-alert > span,
.ald-trend-disclaimer > span {
  align-items: center;
  background: #18a9b8;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.ald-smart-processing strong,
.ald-smart-alert strong,
.ald-review-warning strong { color: #24377a; display: block; font-size: 14px; }
.ald-smart-processing p,
.ald-smart-alert p,
.ald-review-warning p,
.ald-trend-disclaimer p { color: #5d6b7a; font-size: 13px; line-height: 1.65; margin: 4px 0 0; }
.ald-smart-alert { align-items: center; margin-bottom: 22px; }
.ald-smart-alert > div { flex: 1; }
.ald-smart-alert > a { color: #167f8b; flex: 0 0 auto; font-size: 13px; font-weight: 700; text-decoration: none; }

.ald-one-pillars--live .ald-one-pillar strong em {
  color: #7a8796;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 3px;
}
.ald-one-pillars--live .ald-one-pillar small { min-height: 32px; }

.ald-health-profile__ring {
  align-items: center;
  aspect-ratio: 1;
  background: conic-gradient(#18a9b8 var(--ald-progress), #dce8ee 0);
  border-radius: 50%;
  display: flex;
  flex: 0 0 132px;
  justify-content: center;
  padding: 10px;
  position: relative;
}
.ald-health-profile__ring::before {
  background: #fff;
  border-radius: inherit;
  content: "";
  inset: 10px;
  position: absolute;
}
.ald-health-profile__ring > div { position: relative; text-align: center; z-index: 1; }
.ald-health-profile__ring strong { color: #24377a; display: block; font-family: "Montaga", Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1; }
.ald-health-profile__ring span { color: #6f7e8f; display: block; font-size: 10px; font-weight: 700; letter-spacing: .09em; margin-top: 5px; text-transform: uppercase; }

.ald-processing-badge {
  align-items: center;
  background: #f4f7fa;
  border-radius: 999px;
  color: #5f6d7c;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  margin: 2px 0 14px;
  padding: 7px 10px;
}
.ald-processing-badge span { background: #98a5b3; border-radius: 50%; height: 7px; width: 7px; }
.ald-processing-badge--detected,
.ald-processing-badge--confirmed { background: #eafafa; color: #167f8b; }
.ald-processing-badge--detected span,
.ald-processing-badge--confirmed span { background: #18a9b8; }
.ald-processing-badge--no_text,
.ald-processing-badge--no_matches { background: #fff7e8; color: #8a5a12; }
.ald-processing-badge--no_text span,
.ald-processing-badge--no_matches span { background: #d99a32; }
.ald-processing-badge--error { background: #fef0ef; color: #b42318; }
.ald-processing-badge--error span { background: #d92d20; }
.ald-processing-badge--processing span { animation: ald-pulse 1.1s ease-in-out infinite; background: #18a9b8; }
@keyframes ald-pulse { 50% { opacity: .3; transform: scale(.75); } }
.ald-inline-action { display: inline; margin: 0; }
.ald-inline-action button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.ald-inline-action button.ald-action-primary { background: #24377a; border-radius: 999px; color: #fff; display: inline-flex; font-weight: 700; padding: 10px 15px; text-decoration: none; }

.ald-confirm-prompt__mark--manual { font-family: "Inter", Arial, sans-serif !important; font-size: 15px !important; font-weight: 800 !important; }
.ald-detection-review { display: grid; gap: 22px; }
.ald-detection-review__hero { align-items: flex-end; display: flex; gap: 24px; justify-content: space-between; }
.ald-detection-review__hero > div { max-width: 760px; }
.ald-detection-review__hero h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.045em; margin-bottom: 12px; }
.ald-detection-review__hero p { color: #667085; line-height: 1.7; margin-bottom: 0; }
.ald-review-warning { background: #fff9ed; border-color: #f1d69e; }
.ald-detection-form { display: grid; gap: 18px; }
.ald-detection-tools { align-items: center; display: flex; gap: 14px; justify-content: space-between; }
.ald-detection-tools button { background: #fff; border: 1px solid #cfd8e1; border-radius: 999px; color: #24377a; cursor: pointer; font-weight: 700; padding: 9px 14px; }
.ald-detection-tools span { color: #6a7787; font-size: 13px; }
.ald-detection-list { display: grid; gap: 14px; }
.ald-detection-card {
  background: #fff;
  border: 1px solid #dbe3e9;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(36, 55, 122, .05);
  display: grid;
  gap: 18px;
  opacity: .62;
  padding: 22px;
  transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.ald-detection-card.is-selected { border-color: rgba(24,169,184,.58); box-shadow: 0 12px 34px rgba(24,169,184,.10); opacity: 1; }
.ald-detection-card__select { align-items: center; cursor: pointer; display: inline-flex; gap: 8px; justify-self: start; }
.ald-detection-card__select input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.ald-detection-card__select span { align-items: center; background: #fff; border: 1.5px solid #b8c3ce; border-radius: 7px; color: transparent; display: inline-flex; height: 25px; justify-content: center; width: 25px; }
.ald-detection-card.is-selected .ald-detection-card__select span { background: #18a9b8; border-color: #18a9b8; color: #fff; }
.ald-detection-card__select strong { font-family: "Inter", Arial, sans-serif; font-size: 13px; }
.ald-detection-card__heading { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.ald-detection-card__heading span { color: #167f8b; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ald-detection-card__heading h2 { font-size: 27px; margin: 5px 0 0; }
.ald-confidence { background: #edf9fa; border-radius: 999px; color: #167f8b; font-size: 11px; font-weight: 700; padding: 7px 10px; }
.ald-detection-fields { display: grid; gap: 13px; grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.ald-detection-fields label { display: grid; gap: 7px; }
.ald-detection-fields label > span { color: #425267; font-size: 12px; font-weight: 700; }
.ald-detection-fields input,
.ald-detection-fields select { background: #fff; border: 1px solid #cfd8e1; border-radius: 11px; color: #24377a; font-family: "Inter", Arial, sans-serif; font-size: 15px; min-height: 46px; padding: 10px 12px; width: 100%; }
.ald-detection-fields input:focus,
.ald-detection-fields select:focus { border-color: #18a9b8; box-shadow: 0 0 0 3px rgba(24,169,184,.14); outline: 0; }
.ald-detection-source { border-top: 1px solid #edf0f3; color: #667085; padding-top: 13px; }
.ald-detection-source summary { color: #425267; cursor: pointer; font-size: 12px; font-weight: 700; }
.ald-detection-source p { background: #f7f9fb; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.55; margin: 10px 0 0; overflow-wrap: anywhere; padding: 12px; }
.ald-detection-actions { align-items: center; display: flex; gap: 12px; justify-content: flex-end; }

.ald-trend-disclaimer { margin-bottom: 20px; }
.ald-biomarker-card__top { align-items: center; display: flex; justify-content: space-between; }
.ald-trend-badge { align-items: center; background: #eafafa; border-radius: 50%; color: #167f8b; display: inline-flex; font-family: "Inter", Arial, sans-serif; font-size: 24px; font-weight: 700; height: 42px; justify-content: center; width: 42px; }
.ald-biomarker-card--trend-stable .ald-trend-badge { background: #eef2f7; color: #516174; }
.ald-biomarker-card--trend-none .ald-trend-badge { background: #f4f6f8; color: #8b97a4; font-size: 18px; }
.ald-trend-copy { min-height: 44px; }
.ald-trend-copy strong { color: #24377a; display: block; font-family: "Inter", Arial, sans-serif; font-size: 13px; }
.ald-trend-copy small { color: #758292; display: block; font-size: 11px; margin-top: 4px; }

@media (max-width: 900px) {
  .ald-detection-fields { grid-template-columns: 1fr 1fr; }
  .ald-detection-review__hero { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .ald-smart-alert { align-items: flex-start; flex-wrap: wrap; }
  .ald-smart-alert > a { margin-left: 48px; }
  .ald-health-profile__ring { flex-basis: 104px; }
  .ald-health-profile__ring strong { font-size: 28px; }
  .ald-detection-fields { grid-template-columns: 1fr; }
  .ald-detection-card { border-radius: 16px; padding: 18px; }
  .ald-detection-card__heading { display: block; }
  .ald-confidence { display: inline-block; margin-top: 10px; }
  .ald-detection-actions { align-items: stretch; flex-direction: column-reverse; }
  .ald-detection-actions .ald-button { width: 100%; }
  .ald-detection-tools { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ald-processing-badge--processing span { animation: none; }
}

/* Apexion Labs 2.5.0: live dashboard, engagement score and photo timeline */
.ald-pillar-trends {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ald-pillar-trends b {
  background: #eef8f9;
  border-radius: 999px;
  color: #167f8b;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 7px;
}
.ald-pillar-trends b:nth-child(2) { background: #fff2ef; color: #b5473c; }
.ald-pillar-trends b:nth-child(3) { background: #eef2f7; color: #59697a; }

.ald-health-profile--wow {
  background:
    radial-gradient(circle at 88% 16%, rgba(141,225,232,.23), transparent 24%),
    linear-gradient(135deg, #24377a 0%, #284d83 58%, #187f8d 130%);
  border: 0;
  box-shadow: 0 28px 75px rgba(36,55,122,.22);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.ald-health-profile--wow::after {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  content: "";
  height: 350px;
  position: absolute;
  right: -180px;
  top: -190px;
  width: 350px;
}
.ald-health-profile--wow > * { position: relative; z-index: 1; }
.ald-health-profile--wow .ald-health-score-label {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ald-health-profile--wow .ald-one-section-label { color: #8de1e8; }
.ald-health-score-label b {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: #d8f8fa;
  font-size: 9px;
  letter-spacing: .11em;
  padding: 7px 9px;
}
.ald-health-profile--wow h2 { color: #fff; font-size: clamp(30px,4vw,48px); margin: 10px 0 10px; }
.ald-health-profile--wow .ald-health-profile__heading > div:first-child > p { color: rgba(255,255,255,.72); }
.ald-health-profile--wow .ald-health-profile__ring {
  background: conic-gradient(#8de1e8 var(--ald-progress), rgba(255,255,255,.15) 0);
  box-shadow: 0 16px 45px rgba(10,31,72,.28);
}
.ald-health-profile--wow .ald-health-profile__ring::before { background: #29467c; }
.ald-health-profile--wow .ald-health-profile__ring strong { color: #fff; }
.ald-health-profile--wow .ald-health-profile__ring span { color: rgba(255,255,255,.68); }
.ald-health-profile--wow .ald-health-profile__progress { background: rgba(255,255,255,.14); }
.ald-health-profile--wow .ald-health-profile__progress span { background: linear-gradient(90deg,#8de1e8,#fff); }
.ald-health-score__segments {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(10,minmax(0,1fr));
  margin: 11px 0 20px;
}
.ald-health-score__segments span {
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  height: 9px;
}
.ald-health-score__segments span.is-active { background: #8de1e8; box-shadow: 0 0 18px rgba(141,225,232,.32); }
.ald-health-profile__facts {
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.13);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.ald-health-profile__facts span { color: rgba(255,255,255,.72); font-size: 11px; }
.ald-health-profile__facts span b { color: #fff; font-size: 13px; }
.ald-health-profile__facts a { color: #8de1e8!important; font-size: 11px; font-weight: 800; margin-left: auto; text-decoration: none!important; }
.ald-health-profile--wow .ald-health-profile__steps { gap: 10px; }
.ald-health-profile--wow .ald-health-step {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
}
.ald-health-profile--wow a.ald-health-step:hover { background: rgba(255,255,255,.13); border-color: rgba(141,225,232,.5); }
.ald-health-profile--wow .ald-health-step.is-complete { background: rgba(141,225,232,.12); border-color: rgba(141,225,232,.28); }
.ald-health-profile--wow .ald-health-step__copy strong { color: #fff; }
.ald-health-profile--wow .ald-health-step__copy small { color: rgba(255,255,255,.6); }
.ald-health-profile--wow .ald-health-step__mark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.ald-health-profile--wow .ald-health-step.is-complete .ald-health-step__mark { background: #8de1e8; border-color: #8de1e8; color: #24377a; }
.ald-health-profile--wow .ald-health-step__arrow { color: #8de1e8; }
.ald-health-profile--wow .ald-health-profile__note { color: rgba(255,255,255,.52); }

.ald-detection-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
}
.ald-detection-summary > span {
  align-items: center;
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 15px;
  display: grid;
  gap: 3px 9px;
  grid-template-columns: 28px 1fr;
  padding: 13px 15px;
}
.ald-detection-summary b {
  align-items: center;
  background: #18a9b8;
  border-radius: 50%;
  color: #fff;
  display: flex;
  grid-row: 1 / span 2;
  height: 26px;
  justify-content: center;
  width: 26px;
}
.ald-detection-summary strong { color: #24377a; font-family: "Inter",Arial,sans-serif; font-size: 13px; }
.ald-detection-summary small { color: #6f7d8d; font-size: 11px; }

.ald-biomarker-card { overflow: hidden; position: relative; }
.ald-biomarker-card::before { background: #dfe7ee; content: ""; height: 4px; inset: 0 0 auto; position: absolute; }
.ald-biomarker-card--trend-up::before { background: #18a9b8; }
.ald-biomarker-card--trend-down::before { background: #e37a6d; }
.ald-biomarker-card--trend-stable::before { background: #8190a1; }
.ald-biomarker-card--trend-up .ald-trend-badge { background: #e5f8fa; color: #168896; }
.ald-biomarker-card--trend-down .ald-trend-badge { background: #fff0ed; color: #b64e43; }

.ald-toolbar__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.ald-timeline-composer {
  background: linear-gradient(135deg,#fff 0%,#f1fbfc 100%);
  border: 1px solid #dce7ed;
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(36,55,122,.07);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr);
  margin: 0 0 35px;
  padding: clamp(22px,4vw,38px);
  scroll-margin-top: 25px;
}
.ald-timeline-composer h2 { font-size: clamp(27px,3.5vw,40px); margin: 7px 0 10px; }
.ald-timeline-composer > div > p { color: #687688; line-height: 1.7; margin: 0; }
.ald-timeline-form { margin: 0; }
.ald-timeline-form__grid { display: grid; gap: 13px; grid-template-columns: 1fr 1fr; }
.ald-timeline-form__grid > label { display: grid; gap: 7px; }
.ald-timeline-form__grid > label > span { color: #425267; font-size: 11px; font-weight: 750; }
.ald-timeline-form__grid > label > span small { color: #8995a4; font-weight: 500; }
.ald-timeline-form__grid input,
.ald-timeline-form__grid select,
.ald-timeline-form__grid textarea {
  background: #fff;
  border: 1px solid #cdd8e1;
  border-radius: 11px;
  color: #24377a;
  font-family: "Inter",Arial,sans-serif;
  font-size: 13px;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}
.ald-timeline-form__grid textarea { min-height: 92px; resize: vertical; }
.ald-timeline-form__grid input:focus,
.ald-timeline-form__grid select:focus,
.ald-timeline-form__grid textarea:focus { border-color: #18a9b8; box-shadow: 0 0 0 3px rgba(24,169,184,.13); outline: 0; }
.ald-timeline-form__title,
.ald-timeline-form__notes,
.ald-timeline-photo-field { grid-column: 1 / -1; }
.ald-timeline-photo-field input[type=file] { cursor: pointer; padding: 8px; }
.ald-timeline-photo-field > small { color: #7a8795; font-size: 10px; }
.ald-timeline-photo-field > small.is-error { color: #b42318; }
.ald-timeline-photo-preview {
  background-position: center;
  background-size: cover;
  border: 1px solid #d6e1e8;
  border-radius: 13px;
  display: block;
  height: 150px;
  margin-top: 5px;
  width: 100%;
}
.ald-timeline-photo-preview[hidden] { display: none; }
.ald-timeline-form__footer { align-items: center; display: flex; gap: 18px; justify-content: space-between; margin-top: 16px; }
.ald-timeline-form__footer > small { color: #7e8b9a; font-size: 10px; line-height: 1.5; max-width: 430px; }

.ald-timeline-event__content { overflow: hidden; padding: 0; }
.ald-timeline-event__body { padding: 18px 20px; }
.ald-timeline-event__photo { background: #e9f2f5; display: block; max-height: 390px; overflow: hidden; }
.ald-timeline-event__photo img { display: block; height: auto; max-height: 390px; object-fit: cover; width: 100%; }
.ald-timeline-delete { margin-top: 13px; }
.ald-timeline-delete button { background: none; border: 0; color: #9a4c46; cursor: pointer; font-family: "Inter",Arial,sans-serif; font-size: 10px; padding: 0; text-decoration: underline; }

@media (max-width: 900px) {
  .ald-timeline-composer { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ald-toolbar__actions { align-items: stretch; display: grid; width: 100%; }
  .ald-toolbar__actions .ald-button { width: 100%; }
  .ald-timeline-form__grid { grid-template-columns: 1fr; }
  .ald-timeline-form__title,
  .ald-timeline-form__notes,
  .ald-timeline-photo-field { grid-column: auto; }
  .ald-timeline-form__footer { align-items: stretch; flex-direction: column; }
  .ald-timeline-form__footer .ald-button { width: 100%; }
  .ald-health-profile__facts { align-items: flex-start; flex-direction: column; }
  .ald-health-profile__facts a { margin-left: 0; }
}
@media (max-width: 480px) {
  .ald-health-score__segments { gap: 4px; }
  .ald-health-profile--wow .ald-health-profile__ring { margin-top: 20px; }
  .ald-detection-summary { grid-template-columns: 1fr; }
  .ald-timeline-composer { border-radius: 19px; padding: 20px 16px; }
}

.ald-dashboard-trends {
  background: #fff;
  border: 1px solid #e0e7ed;
  border-radius: 23px;
  box-shadow: 0 16px 50px rgba(36,55,122,.07);
  margin: 0 0 24px;
  padding: clamp(20px,3vw,30px);
}
.ald-dashboard-trends__heading { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 18px; }
.ald-dashboard-trends__heading h2 { font-size: clamp(25px,3vw,36px); margin: 6px 0 0; }
.ald-dashboard-trends__heading > a { color: #168896!important; font-size: 11px; font-weight: 800; text-decoration: none!important; }
.ald-dashboard-trends__grid { display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.ald-dashboard-trend {
  background: #f8fafc;
  border: 1px solid #e2e8ee;
  border-radius: 16px;
  color: #24377a!important;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr auto;
  padding: 16px;
  text-decoration: none!important;
  transition: border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.ald-dashboard-trend:hover { border-color: #bce7eb; box-shadow: 0 12px 30px rgba(36,55,122,.08); transform: translateY(-2px); }
.ald-dashboard-trend > span { color: #556477; font-size: 11px; font-weight: 800; }
.ald-dashboard-trend > b { align-items: center; background: #e8f8f9; border-radius: 50%; color: #168896; display: flex; font-size: 20px; grid-row: 1 / span 2; height: 35px; justify-content: center; width: 35px; }
.ald-dashboard-trend--down > b { background: #fff0ed; color: #b64e43; }
.ald-dashboard-trend--stable > b { background: #edf1f5; color: #647386; }
.ald-dashboard-trend--new > b { background: #f1f4f7; color: #8995a4; }
.ald-dashboard-trend > strong { font-family: "Montaga",Georgia,serif; font-size: 24px; font-weight: 400; }
.ald-dashboard-trend > strong small { color: #7b8795; font-family: "Inter",Arial,sans-serif; font-size: 9px; }
.ald-dashboard-trend > em { color: #8a96a4; font-size: 9px; font-style: normal; grid-column: 1 / -1; }
.ald-dashboard-trends > p { color: #8995a4; font-size: 9px; line-height: 1.5; margin: 14px 0 0; }
@media (max-width: 960px) { .ald-dashboard-trends__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .ald-dashboard-trends__heading { align-items: flex-start; flex-direction: column; }
  .ald-dashboard-trends__grid { grid-template-columns: 1fr; }
}

/* Apexion One 2.5.1: success notices dismiss automatically after five seconds. */
.ald-notice {
  max-height: 220px;
  overflow: hidden;
  transition: opacity .3s ease, transform .3s ease, max-height .3s ease, margin .3s ease, padding .3s ease, border-width .3s ease;
}

.ald-notice.is-dismissing {
  border-width: 0;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  padding-top: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

@media (prefers-reduced-motion: reduce) {
  .ald-notice { transition: none; }
}


/* =========================================================
   APEXION ONE: GUIDED RESEARCH NAVIGATOR
   ========================================================= */

.ald-apexion-one-body .arn-floating,
.ald-apexion-one-body #arn-chat-root,
.ald-apexion-one-body #arn-modal-root {
  display: none !important;
}

.ald-one-topbar__title {
  min-width: 140px;
}

.ald-navigator-search {
  appearance: none;
  border: 1px solid rgba(36, 55, 122, 0.14);
  background: #fff;
  color: var(--ald-navy);
  width: min(440px, 46vw);
  min-height: 52px;
  padding: 7px 10px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(36, 55, 122, 0.06);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ald-navigator-search:hover,
.ald-navigator-search:focus-visible {
  border-color: var(--ald-gold);
  box-shadow: 0 12px 34px rgba(24, 169, 184, 0.13);
  transform: translateY(-1px);
  outline: none;
}

.ald-navigator-search__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(24, 169, 184, 0.1);
  color: #128e9c;
}

.ald-navigator-search__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ald-navigator-search__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.ald-navigator-search__copy strong {
  font-size: 13px;
  letter-spacing: .01em;
}

.ald-navigator-search__copy small {
  color: #7a849c;
  font-size: 11px;
  margin-top: 3px;
}

.ald-navigator-search__hint {
  margin-left: auto;
  border: 1px solid #e1e7ef;
  background: #f7fafc;
  border-radius: 7px;
  padding: 5px 7px;
  color: #788299;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ald-navigator-page {
  display: grid;
  gap: 26px;
}

.ald-navigator-page__hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 310px;
  padding: clamp(32px, 5vw, 68px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(99, 222, 228, .32), transparent 28%),
    radial-gradient(circle at 70% 110%, rgba(24, 169, 184, .5), transparent 42%),
    linear-gradient(135deg, #223879 0%, #294c88 55%, #157d91 100%);
  box-shadow: 0 24px 55px rgba(36, 55, 122, .2);
}

.ald-navigator-page__hero::after {
  content: "✦";
  position: absolute;
  right: clamp(26px, 7vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(110px, 18vw, 240px);
  line-height: 1;
  color: rgba(255,255,255,.08);
  pointer-events: none;
}

.ald-navigator-page__hero > * {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.ald-navigator-page__hero .ald-one-section-label {
  color: #8be7eb;
}

.ald-navigator-page__hero h1 {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.03;
}

.ald-navigator-page__hero p {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.ald-navigator-page__hero .ald-button {
  margin-top: 14px;
  background: #fff;
  color: var(--ald-navy);
  border-color: #fff;
}

.ald-navigator-page__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ald-navigator-page__principles article,
.ald-navigator-page__questions {
  background: #fff;
  border: 1px solid var(--ald-border);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(36, 55, 122, .06);
}

.ald-navigator-page__principles article {
  padding: 24px;
}

.ald-navigator-page__principles article > span {
  color: var(--ald-gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
}

.ald-navigator-page__principles h3 {
  margin: 14px 0 8px;
  font-size: 23px;
}

.ald-navigator-page__principles p {
  margin: 0;
  color: var(--ald-muted);
  line-height: 1.65;
}

.ald-navigator-page__questions {
  padding: clamp(22px, 4vw, 38px);
}

.ald-navigator-groups {
  display: grid;
  gap: 18px;
}

.ald-navigator-groups--page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ald-navigator-group {
  border: 1px solid #e6ebf1;
  border-radius: 18px;
  padding: 16px;
  background: #fbfdff;
}

.ald-navigator-group__heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.ald-navigator-group__heading > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(24, 169, 184, .1);
  color: #128e9c;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.ald-navigator-group__heading div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ald-navigator-group__heading strong {
  font-size: 14px;
}

.ald-navigator-group__heading small {
  margin-top: 2px;
  color: #7b8497;
  font-size: 11px;
}

.ald-navigator-question-list {
  display: grid;
  gap: 8px;
}

.ald-navigator-question-list button {
  appearance: none;
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  background: #fff;
  color: var(--ald-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ald-navigator-question-list button:hover,
.ald-navigator-question-list button:focus-visible {
  border-color: var(--ald-gold);
  background: #f3fcfd;
  transform: translateX(2px);
  outline: none;
}

.ald-navigator-question-list button b {
  color: var(--ald-gold);
  font-size: 17px;
  font-weight: 500;
}

.ald-navigator-modal[hidden] {
  display: none !important;
}

.ald-navigator-modal {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.ald-navigator-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ald-navigator-modal__backdrop {
  position: absolute;
  inset: 0;
  appearance: none;
  border: 0;
  background: rgba(13, 24, 56, .55);
  backdrop-filter: blur(4px);
  cursor: default;
}

.ald-navigator-dialog {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100vw - 24px));
  height: calc(100dvh - 24px);
  margin: 12px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 25px;
  background: #f7fafc;
  box-shadow: -22px 0 70px rgba(14, 30, 65, .26);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  transform: translateX(34px);
  transition: transform .22s ease;
}

.ald-navigator-modal.is-open .ald-navigator-dialog {
  transform: translateX(0);
}

.ald-navigator-dialog__header {
  min-height: 76px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(135deg, #233879, #1d668a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ald-navigator-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ald-navigator-brand > span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  font-family: "Montaga", Georgia, serif;
  font-size: 21px;
}

.ald-navigator-brand div {
  display: flex;
  flex-direction: column;
}

.ald-navigator-brand strong {
  font-size: 14px;
  letter-spacing: .02em;
}

.ald-navigator-brand small {
  color: rgba(255,255,255,.7);
  margin-top: 3px;
  font-size: 11px;
}

.ald-navigator-close {
  appearance: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.ald-navigator-dialog__body {
  overflow-y: auto;
  padding: 22px;
  -webkit-overflow-scrolling: touch;
}

.ald-navigator-intro__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(24, 169, 184, .11);
  color: var(--ald-gold);
  font-size: 23px;
}

.ald-navigator-intro h2 {
  font-size: 31px;
  margin: 15px 0 8px;
}

.ald-navigator-intro > p {
  color: var(--ald-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ald-navigator-groups--panel .ald-navigator-group {
  background: #fff;
}

.ald-navigator-answer__back {
  appearance: none;
  border: 0;
  background: transparent;
  color: #526078;
  padding: 0;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ald-navigator-answer__status {
  min-height: 0;
}

.ald-navigator-answer__status.is-loading,
.ald-navigator-answer__status.is-error {
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 16px;
  font-size: 13px;
}

.ald-navigator-answer__status.is-loading {
  color: #255e72;
  background: #eaf9fb;
  border: 1px solid #c5edf0;
}

.ald-navigator-answer__status.is-error {
  color: #8f2b22;
  background: #fff0ee;
  border: 1px solid #f1c7c2;
}

.ald-navigator-answer__heading > span,
.ald-navigator-related__heading > span {
  display: block;
  color: var(--ald-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ald-navigator-answer__heading h2 {
  margin: 8px 0 10px;
  font-size: 33px;
  line-height: 1.12;
}

.ald-navigator-answer__heading p {
  margin-bottom: 20px;
  color: #556178;
  font-size: 14px;
  line-height: 1.7;
}

.ald-navigator-result-list {
  display: grid;
  gap: 10px;
}

.ald-navigator-result-item {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e3e9f0;
  border-radius: 15px;
  background: #fff;
  color: var(--ald-navy);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ald-navigator-result-item[href]:hover,
.ald-navigator-result-item[href]:focus-visible {
  border-color: var(--ald-gold);
  box-shadow: 0 10px 24px rgba(24, 169, 184, .09);
  outline: none;
}

.ald-navigator-result-item__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ald-navigator-result-item__copy strong {
  font-size: 14px;
  line-height: 1.4;
}

.ald-navigator-result-item__copy small {
  margin-top: 3px;
  color: #707b90;
  font-size: 11px;
}

.ald-navigator-result-item__copy p {
  margin: 7px 0 0;
  color: #58657a;
  font-size: 12px;
  line-height: 1.55;
}

.ald-navigator-result-item__badge {
  align-self: flex-start;
  flex: 0 0 auto;
  max-width: 116px;
  border-radius: 999px;
  padding: 5px 8px;
  background: #edf7f9;
  color: #167d89;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ald-navigator-result-item__arrow {
  color: var(--ald-gold);
  font-size: 17px;
  font-weight: 500;
}

.ald-navigator-related__heading {
  margin: 25px 0 11px;
}

.ald-navigator-related__heading h3 {
  margin: 6px 0 0;
  font-size: 21px;
}

.ald-navigator-result-list--related .ald-navigator-result-item {
  background: #fafeff;
}

.ald-navigator-answer__note {
  margin-top: 16px;
  padding: 13px;
  border-radius: 13px;
  background: #f0f4f8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ald-navigator-answer__note > span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #dce5ee;
  color: #536278;
  font-weight: 800;
  font-size: 11px;
}

.ald-navigator-answer__note p {
  margin: 0;
  color: #58657a;
  font-size: 11px;
  line-height: 1.55;
}

.ald-navigator-answer__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ald-navigator-dialog__footer {
  padding: 12px 18px;
  border-top: 1px solid #e3e8ef;
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ald-navigator-dialog__footer > span {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #eef2f6;
  color: #5d6a7e;
  font-size: 10px;
  font-weight: 800;
}

.ald-navigator-dialog__footer p {
  margin: 0;
  color: #758095;
  font-size: 10px;
  line-height: 1.5;
}

body.ald-navigator-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  .ald-navigator-search {
    width: min(360px, 43vw);
  }
  .ald-navigator-search__hint {
    display: none;
  }
}

@media (max-width: 780px) {
  .ald-navigator-search {
    width: 46px;
    min-height: 46px;
    padding: 5px;
    border-radius: 13px;
    justify-content: center;
  }
  .ald-navigator-search__copy,
  .ald-navigator-search__hint {
    display: none;
  }
  .ald-navigator-page__principles,
  .ald-navigator-groups--page {
    grid-template-columns: 1fr;
  }
  .ald-navigator-page__hero {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .ald-navigator-dialog {
    width: 100%;
    height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .ald-navigator-dialog__header {
    padding-top: max(14px, env(safe-area-inset-top));
  }
  .ald-navigator-dialog__body {
    padding: 17px;
  }
  .ald-navigator-dialog__footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .ald-navigator-intro h2,
  .ald-navigator-answer__heading h2 {
    font-size: 28px;
  }
  .ald-navigator-result-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .ald-navigator-result-item__badge {
    order: 3;
  }
  .ald-navigator-result-item__arrow {
    margin-left: auto;
  }
  .ald-navigator-page__hero {
    padding: 30px 22px;
    border-radius: 22px;
  }
  .ald-navigator-page__hero h1 {
    font-size: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ald-navigator-modal,
  .ald-navigator-dialog,
  .ald-navigator-search,
  .ald-navigator-question-list button {
    transition: none !important;
  }
}
