/* R10 Finder Mobile — isolated mobile-only acceptance layer */
@media (max-width: 767px) {
  body:not(.results-active) {
    background: #F7F9F8;
  }

  body:not(.results-active) .r10-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #EFF2F1;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
  }

  body:not(.results-active) .r10-site-header .r10-header-inner {
    min-height: 60px;
    width: min(100% - 28px, 560px);
  }

  body:not(.results-active) .r10-site-header .brand {
    font-size: 20px;
  }

  body:not(.results-active) .r10-mobile-home {
    min-height: 42px;
    padding: 8px 13px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
  }

  body:not(.results-active) .quiz-shell {
    width: min(100% - 32px, 520px);
    margin: 16px auto 48px;
  }

  body:not(.results-active) [data-quiz] {
    scroll-margin-top: 76px;
  }

  body:not(.results-active) .affiliate-disclosure {
    gap: 1px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-color: #F4D7BF;
    border-radius: 12px;
    background: #FFF9F4;
    color: #7A3E18;
    font-size: 11.5px;
    line-height: 1.45;
  }

  body:not(.results-active) .affiliate-disclosure strong {
    font-size: 12px;
  }

  body:not(.results-active) .quiz-top {
    align-items: center;
    margin: 0 2px 9px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
  }

  body:not(.results-active) .quiz-top strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #EAF7EF;
    color: #075E35;
    font-size: 12px;
    font-weight: 800;
  }

  body:not(.results-active) .progress {
    height: 6px;
    margin-bottom: 14px;
    background: #E6ECE9;
  }

  body:not(.results-active) .progress > span {
    background: linear-gradient(90deg, #08733F, #159653);
    transition: width 220ms ease;
  }

  body:not(.results-active) .quiz-card {
    padding: 22px 18px 18px;
    border: 1px solid #E5EAE8;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .02), 0 10px 28px rgba(16, 24, 40, .055);
  }

  body:not(.results-active) .quiz-card .eyebrow {
    padding: 6px 10px;
    background: #F3FBF6;
    color: #08733F;
    font-size: 11px;
    letter-spacing: -.01em;
  }

  body:not(.results-active) .quiz-card h2 {
    margin: 14px 0 8px;
    color: #111827;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.045em;
    outline: none;
  }

  body:not(.results-active) .question-note {
    margin: 0;
    color: #667085;
    font-size: 13.5px;
    line-height: 1.58;
  }

  body:not(.results-active) .option-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 22px 0 18px;
  }

  body:not(.results-active) .option-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  body:not(.results-active) .option {
    position: relative;
    min-height: 60px;
    padding: 14px 44px 14px 15px;
    border: 1.5px solid #E1E7E4;
    border-radius: 14px;
    background: #FFFFFF;
    color: #182230;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    box-shadow: none;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  body:not(.results-active) .option-grid.compact .option {
    min-height: 58px;
    padding: 12px 37px 12px 12px;
    font-size: 14px;
  }

  body:not(.results-active) .option:active {
    transform: translateY(1px);
  }

  body:not(.results-active) .option[aria-pressed="true"] {
    border-color: #0B8648;
    background: #F3FBF6;
    color: #075E35;
    box-shadow: inset 0 0 0 1px rgba(11, 134, 72, .08);
  }

  body:not(.results-active) .option[aria-pressed="true"]::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: 13px;
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #0B8648;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 900;
  }

  body:not(.results-active) .quiz-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
  }

  body:not(.results-active) .quiz-nav .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 800;
  }

  body:not(.results-active) [data-quiz].is-first-step .quiz-nav {
    grid-template-columns: 1fr;
  }

  body:not(.results-active) [data-quiz].is-first-step [data-back] {
    display: none;
  }

  body:not(.results-active) [data-next]:disabled {
    cursor: not-allowed;
    opacity: .44;
    filter: saturate(.6);
  }

  body:not(.results-active) .preview-note {
    display: none;
  }
}

@media (max-width: 359px) {
  body:not(.results-active) .quiz-shell {
    width: min(100% - 20px, 520px);
  }

  body:not(.results-active) .quiz-card {
    padding: 20px 15px 16px;
    border-radius: 18px;
  }

  body:not(.results-active) .quiz-card h2 {
    font-size: 25px;
  }

  body:not(.results-active) .option-grid.compact {
    grid-template-columns: 1fr;
  }

  body:not(.results-active) .option-grid.compact .option {
    min-height: 56px;
    padding: 12px 42px 12px 14px;
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.results-active) .progress > span,
  body:not(.results-active) .option {
    transition: none;
  }
}
