.msadhd-shell {
  --msadhd-bg: #f7faf8;
  --msadhd-card: #ffffff;
  --msadhd-card-alt: #e8f3ef;
  --msadhd-text: #183f49;
  --msadhd-text-soft: #5f7176;
  --msadhd-line: #dce5df;
  --msadhd-accent: #e98955;
  --msadhd-accent-dark: #cf7040;
  --msadhd-pill: #f2faf8;
  --msadhd-shadow: 0 14px 32px rgba(16, 41, 49, 0.06);
  color: var(--msadhd-text);
  font-family: Manrope, "Segoe UI", sans-serif;
}

.msadhd-shell * {
  box-sizing: border-box;
}

.msadhd-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 224, 219, 0.9);
  border-radius: 8px;
  padding: 36px;
  background: var(--msadhd-bg);
  box-shadow: var(--msadhd-shadow);
}

.msadhd-logo {
  display: block;
  width: 132px;
  height: auto;
  margin-bottom: 26px;
}

.msadhd-logo-mark {
  width: 82px;
  margin-bottom: 22px;
}

.msadhd-result-logo.msadhd-logo-mark {
  width: 74px;
}

.msadhd-hero {
  max-width: 860px;
  margin-bottom: 32px;
}

.msadhd-eyebrow,
.msadhd-step-kicker,
.msadhd-sidecard-kicker {
  margin: 0 0 12px;
  color: #3b6f79;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.msadhd-title {
  font-family: Oxanim, Oxanium, Manrope, "Segoe UI", sans-serif;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.msadhd-intro {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--msadhd-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}


.msadhd-meta-note {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--msadhd-text-soft);
  font-size: 15px;
  line-height: 1.55;
}
.msadhd-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.msadhd-trust span,
.msadhd-summary-card,
.msadhd-sidecard {
  border: 1px solid rgba(216, 224, 219, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.msadhd-trust span {
  padding: 10px 14px;
  color: var(--msadhd-text);
  font-size: 14px;
  font-weight: 700;
}

.msadhd-trust-time span {
  border-color: rgba(233, 137, 85, 0.42);
  background: rgba(233, 137, 85, 0.12);
  color: #924d31;
}

.msadhd-sidecard {
  padding: 26px 28px;
  background: #ffffff;
}

.msadhd-sidecard-list {
  margin: 0;
  padding-left: 18px;
  color: var(--msadhd-text-soft);
  line-height: 1.7;
}

.msadhd-progress {
  margin: 0 0 10px;
}

.msadhd-progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(24, 63, 73, 0.08);
}

.msadhd-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--msadhd-accent);
  transition: width 240ms ease;
}

.msadhd-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--msadhd-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.msadhd-step {
  display: none;
  animation: msadhd-fade-in 280ms ease;
}

.msadhd-step.is-active {
  display: block;
}

.msadhd-shell.is-complete .msadhd-hero,
.msadhd-shell.is-complete .msadhd-progress,
.msadhd-shell.is-complete .msadhd-status {
  display: none;
}

.msadhd-shell.is-complete .msadhd-frame {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.msadhd-step-head {
  margin-bottom: 30px;
}

.msadhd-question-period {
  margin: 0 0 10px;
  color: var(--msadhd-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.msadhd-step-head h3,
.msadhd-success-card h3 {
  font-family: Oxanim, Oxanium, Manrope, "Segoe UI", sans-serif;
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.msadhd-step-head p,
.msadhd-success-card p {
  margin: 14px 0 0;
  color: var(--msadhd-text-soft);
  line-height: 1.7;
}

.msadhd-step-help {
  margin: 18px 0 0;
  color: var(--msadhd-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.msadhd-question-list {
  display: grid;
  gap: 30px;
}

.msadhd-question {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.msadhd-question:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(24, 63, 73, 0.07);
}

.msadhd-question.is-invalid {
  border-color: rgba(146, 77, 49, 0.48);
  box-shadow: 0 0 0 4px rgba(255, 239, 236, 0.95);
}

.msadhd-question-head {
  display: flex;
  gap: 14px;
  align-items: start;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
}

.msadhd-question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 44px;
  border-radius: 8px;
  background: var(--msadhd-card-alt);
  color: #34717d;
  font-size: 14px;
  font-weight: 800;
}

.msadhd-question-label {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.6;
  max-width: 1100px;
}

.msadhd-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.msadhd-option {
  cursor: pointer;
}

.msadhd-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.msadhd-option-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: var(--msadhd-card);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.msadhd-option-dot {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(24, 63, 73, 0.25);
  border-radius: 999px;
  transition: inherit;
}

.msadhd-option-copy {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.msadhd-option input:checked + .msadhd-option-ui {
  border-color: rgba(237, 135, 80, 0.6);
  background: #fff5ef;
  box-shadow: 0 10px 24px rgba(237, 135, 80, 0.16);
  transform: translateY(-2px);
}

.msadhd-option input:checked + .msadhd-option-ui .msadhd-option-dot {
  border-color: var(--msadhd-accent);
  box-shadow: inset 0 0 0 4px var(--msadhd-accent);
}

.msadhd-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.msadhd-btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 15px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.msadhd-btn:hover {
  transform: translateY(-1px);
}

.msadhd-btn-primary {
  color: #fff;
  background: var(--msadhd-accent);
  box-shadow: 0 14px 30px rgba(237, 135, 80, 0.26);
}

.msadhd-btn-primary:hover {
  background: var(--msadhd-accent-dark);
}

.msadhd-btn-cta,
.msadhd-btn-cta:visited,
.msadhd-btn-cta:focus {
  color: #0C1935 !important;
  background: #FCDE2B;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(252, 222, 43, 0.28);
}

.msadhd-btn-cta:hover,
.msadhd-btn-cta:active {
  color: #0C1935 !important;
  background: #E8CC29;
  text-decoration: none;
}

.msadhd-btn-secondary {
  color: var(--msadhd-text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--msadhd-line);
}

.msadhd-btn-subtle {
  color: var(--msadhd-text-soft);
  background: transparent;
  border: 1px solid var(--msadhd-line);
  box-shadow: none;
}

.msadhd-btn-subtle:hover {
  color: var(--msadhd-text);
  background: rgba(255, 255, 255, 0.72);
}

.msadhd-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.msadhd-field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.msadhd-field:last-child {
  grid-column: 1 / -1;
}

.msadhd-field input,
.msadhd-field textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--msadhd-text);
  font: inherit;
}

.msadhd-field textarea {
  min-height: 140px;
  resize: vertical;
}

.msadhd-field input:focus,
.msadhd-field textarea:focus {
  outline: 0;
  border-color: rgba(59, 111, 121, 0.45);
  box-shadow: 0 0 0 4px rgba(143, 209, 197, 0.2);
}

.msadhd-field input.is-invalid,
.msadhd-field textarea.is-invalid {
  border-color: rgba(146, 77, 49, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 239, 236, 0.95);
}

.msadhd-consent {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: rgba(234, 245, 243, 0.75);
  color: var(--msadhd-text-soft);
  line-height: 1.6;
}

.msadhd-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.msadhd-consent input.is-invalid {
  outline: 3px solid rgba(146, 77, 49, 0.28);
  outline-offset: 2px;
}

.msadhd-consent-details {
  margin-top: 10px;
  padding: 0 2px;
  color: var(--msadhd-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.msadhd-consent-details summary {
  width: fit-content;
  color: var(--msadhd-text);
  font-weight: 800;
  cursor: pointer;
}

.msadhd-consent-details p {
  margin: 10px 0 0;
}

.msadhd-summary {
  margin-top: 18px;
}

.msadhd-summary-note {
  margin: 0;
  color: var(--msadhd-text-soft);
  line-height: 1.7;
}

.msadhd-status {
  display: none;
  margin: -16px 0 24px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(234, 245, 243, 0.85);
  color: var(--msadhd-text);
  font-weight: 700;
}

.msadhd-status.is-visible {
  display: block;
}

.msadhd-status.is-error {
  background: rgba(255, 239, 236, 0.9);
  color: #924d31;
}

.msadhd-success-card {
  padding: 38px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--msadhd-shadow);
}

.msadhd-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 63, 73, 0.12);
}

.msadhd-result-logo {
  display: block;
  width: 120px;
  height: auto;
  margin-bottom: 28px;
}

.msadhd-result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(24, 63, 73, 0.08);
  color: var(--msadhd-text);
  font-size: 14px;
  font-weight: 800;
}

.msadhd-result[data-result-level="medium"] .msadhd-result-badge {
  background: rgba(237, 135, 80, 0.14);
  color: #9a532f;
}

.msadhd-result[data-result-level="high"] .msadhd-result-badge {
  background: rgba(237, 135, 80, 0.2);
  color: #86401e;
}

.msadhd-result h4 {
  margin: 18px 0 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.msadhd-result-intro {
  margin: 12px 0 0;
  color: var(--msadhd-text-soft);
  line-height: 1.7;
}

.msadhd-result-stats {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.msadhd-result-next {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: var(--msadhd-bg);
}

.msadhd-result-next h5 {
  margin: 0;
  color: var(--msadhd-text);
  font-family: Oxanim, Oxanium, Manrope, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.msadhd-result-next p {
  margin: 10px 0 0;
  color: var(--msadhd-text-soft);
  line-height: 1.7;
}

.msadhd-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.msadhd-result-actions .msadhd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.msadhd-result-actions .msadhd-btn-cta {
  min-width: 270px;
}

.msadhd-result-stat {
  padding: 18px 20px;
  border: 1px solid var(--msadhd-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.msadhd-result-stat span {
  display: block;
  color: var(--msadhd-text-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.msadhd-result-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
  line-height: 1;
}

.msadhd-result-list-wrap {
  margin-top: 20px;
}

.msadhd-result-list-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--msadhd-text);
}

.msadhd-result-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--msadhd-text-soft);
  line-height: 1.6;
}

.msadhd-result-footnote {
  margin: 18px 0 0;
  color: var(--msadhd-text-soft);
  font-size: 14px;
}

.msadhd-honeypot {
  position: absolute;
  left: -9999px;
}

@keyframes msadhd-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .msadhd-frame {
    padding: 28px;
    border-radius: 8px;
  }

  .msadhd-hero,
  .msadhd-contact-grid {
    grid-template-columns: 1fr;
  }

  .msadhd-result-stats {
    grid-template-columns: 1fr;
  }

  .msadhd-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .msadhd-frame {
    padding: 16px;
    border-radius: 8px;
  }

  .msadhd-logo {
    width: 108px;
    margin-bottom: 16px;
  }

  .msadhd-logo-mark {
  width: 82px;
  margin-bottom: 22px;
}

.msadhd-result-logo.msadhd-logo-mark {
  width: 74px;
}

.msadhd-hero {
    gap: 18px;
    margin-bottom: 18px;
  }

  .msadhd-title {
    font-size: 2rem;
  }

  .msadhd-intro {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .msadhd-trust {
    margin-top: 16px;
  }

  .msadhd-sidecard {
    padding: 16px;
  }

  .msadhd-progress {
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0 -16px 8px;
    padding: 8px 16px;
    border-top: 1px solid rgba(216, 224, 219, 0.7);
    border-bottom: 1px solid rgba(216, 224, 219, 0.9);
    background: rgba(247, 250, 248, 0.96);
    backdrop-filter: blur(8px);
  }

  .msadhd-progress-bar {
    height: 8px;
  }

  .msadhd-progress-meta,
  .msadhd-question-head,
  .msadhd-actions {
    flex-direction: column;
  }

  .msadhd-progress-meta {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
  }

  .msadhd-question {
    padding: 18px 16px 16px;
    border-radius: 8px;
  }

  .msadhd-question-head {
    display: flex;
  }

  .msadhd-option-ui {
    min-height: 52px;
    padding: 12px 14px;
  }

  .msadhd-options {
    grid-template-columns: 1fr;
  }

  .msadhd-btn {
    width: 100%;
  }

  .msadhd-success-card {
    padding: 20px 16px;
    border: 0;
    box-shadow: none;
  }

  .msadhd-result-logo {
    width: 104px;
    margin-bottom: 16px;
  }

  .msadhd-success-card h3 {
    font-size: 1.75rem;
  }

  .msadhd-result {
    margin-top: 18px;
    padding-top: 18px;
  }

  .msadhd-result h4 {
    font-size: 1.28rem;
  }

  .msadhd-result-next {
    margin-top: 18px;
    padding: 16px;
  }

  .msadhd-result-list {
    padding-left: 18px;
  }

  .msadhd-result-list li {
    overflow-wrap: anywhere;
  }

  .msadhd-actions .msadhd-btn-secondary {
    order: 2;
  }

  .msadhd-actions .msadhd-btn-primary {
    order: 1;
  }

  .msadhd-result-actions .msadhd-btn {
    width: 100%;
  }
}


/* 1.0.20 refinements */
.msadhd-subtitle {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--msadhd-text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.msadhd-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(216, 224, 219, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--msadhd-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.msadhd-avatar-group {
  display: flex;
  align-items: center;
}

.msadhd-avatar-group span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e7f2ee;
  color: var(--msadhd-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.msadhd-avatar-group span:first-child {
  margin-left: 0;
  background: #d8f0e9;
}

.msadhd-avatar-group span:nth-child(2) {
  background: #f8eadf;
}

.msadhd-avatar-group span:nth-child(3) {
  background: #FCDE2B;
  color: #0C1935;
}

.msadhd-trust-time span {
  border-color: rgba(216, 224, 219, 0.9) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--msadhd-text-soft) !important;
}

.msadhd-btn-secondary:hover,
.msadhd-btn-secondary:focus-visible {
  border-color: #b9c7c2 !important;
  background: #eef7f3 !important;
  color: var(--msadhd-text) !important;
  box-shadow: 0 12px 28px rgba(22, 60, 53, 0.1);
}

.msadhd-result-list {
  display: block;
  padding-left: 0;
}

.msadhd-result-list h5 {
  margin: 18px 0 8px;
  color: var(--msadhd-text);
  font-family: var(--msadhd-heading-font);
  font-size: 18px;
}

.msadhd-result-asrs-note {
  margin: 0 0 14px;
  color: var(--msadhd-text-soft);
}

.msadhd-result-asrs {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid var(--msadhd-line);
  border-radius: 14px;
  background: #fff;
}

.msadhd-result-asrs th,
.msadhd-result-asrs td {
  border: 1px solid var(--msadhd-line);
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
}

.msadhd-result-asrs th {
  background: #f4f8f6;
  color: var(--msadhd-text);
  font-size: 12px;
  font-weight: 800;
}

.msadhd-result-asrs th:nth-child(2),
.msadhd-result-asrs-question {
  text-align: left;
}

.msadhd-result-asrs-key {
  width: 46px;
  color: var(--msadhd-text);
  font-weight: 800;
}

.msadhd-result-asrs-question {
  width: 42%;
  color: var(--msadhd-text);
  font-size: 13px;
  line-height: 1.35;
}

.msadhd-result-asrs-choice {
  width: 11%;
  background: #fff;
}

.msadhd-result-asrs-choice.is-critical {
  background: #fff6cc;
}

.msadhd-result-asrs-choice span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--msadhd-text);
  color: #fff;
  font-weight: 900;
}

.msadhd-result-asrs-choice.is-critical span {
  border: 1px solid #d6a600;
  background: #FCDE2B;
  color: #0C1935;
}

@media (max-width: 760px) {
  .msadhd-social-proof {
    align-items: flex-start;
  }

  .msadhd-result-list {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .msadhd-result-asrs {
    min-width: 720px;
  }
}


/* 1.0.22 refinements */
.msadhd-hero {
  align-items: start;
}

.msadhd-avatar-group img {
  display: block;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  background: #e7f2ee;
  box-shadow: 0 3px 8px rgba(12, 25, 53, 0.08);
}

.msadhd-avatar-group img:first-child {
  margin-left: 0;
}

.msadhd-avatar-group span {
  display: none;
}

@media (min-width: 901px) {
  .msadhd-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    align-items: start;
  }

  .msadhd-copy {
    padding-right: 28px;
  }
}

@media (max-width: 640px) {
  .msadhd-social-proof {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .msadhd-avatar-group {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .msadhd-avatar-group img {
    margin-left: -8px;
  }

  .msadhd-avatar-group img:first-child {
    margin-left: 0;
  }
}
