/* Next Floor — guided selection. Load after experience.css. */

/* Entry points share the existing pill language without changing page layout. */
.nav > button.nav-selection {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #daf1de;
  color: #235347;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
  white-space: nowrap;
}
.nav > button.nav-selection:hover { background: #235347; color: #fff; }
.nav > button.nav-selection svg { width: 18px; height: 18px; }

.selection-entry-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 46px;
  margin: 28px 0 0;
  padding: 30px 34px;
  border: 1px solid #dce6de;
  border-radius: 24px;
  background: #fff;
  color: #051f20;
}
.selection-entry-copy { min-width: 0; }
.selection-entry-kicker {
  display: block;
  color: #235347;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: .045em;
}
.selection-entry-copy h2 {
  margin: 9px 0 10px;
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: -.04em;
}
.selection-entry-copy p {
  max-width: 640px;
  margin: 0;
  color: #52655b;
  font-size: 15px;
  line-height: 1.7;
}
.selection-entry-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 228px;
  gap: 10px;
}
.selection-entry-action > button {
  justify-content: space-between;
  min-height: 50px;
  padding: 14px 21px;
  border-radius: 999px;
  background: #235347;
  color: #fff;
  font-size: 14px;
}
.selection-entry-action > button:hover { background: #163832; color: #fff; }
.selection-entry-action > small { color: #52655b; font-size: 13px; line-height: 1.5; text-align: center; }
.catalog-intro-actions { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; gap: 7px; }
.catalog-intro-actions > .text-link { min-height: 44px; }
.selection-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid #235347;
  border-radius: 999px;
  background: transparent;
  color: #235347;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}
.selection-entry-button:hover { background: #daf1de; color: #051f20; }
.selection-entry-button svg { width: 18px; height: 18px; }
button.menu-selection-entry {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #235347;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
}
button.menu-selection-entry:hover { color: #163832; text-decoration: underline; text-underline-offset: 4px; }
button.menu-selection-entry svg { width: 18px; height: 18px; }

/* The dialog stays still; selection-content owns scrolling and the close stays visible. */
#selection-dialog.nfq-dialog {
  position: fixed;
  inset: 0;
  width: min(960px, calc(100vw - 48px));
  max-width: none;
  height: fit-content;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid #dce6de;
  border-radius: 24px;
  background: #fff;
  color: #051f20;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 28px 100px rgba(5, 31, 32, .22);
  overflow: hidden;
  overscroll-behavior: contain;
}
#selection-dialog.nfq-dialog[open] { display: flex; flex-direction: column; }
#selection-dialog.nfq-dialog::backdrop { background: rgba(5, 31, 32, .58); backdrop-filter: blur(5px); }
#selection-dialog.nfq-dialog > .close-btn {
  position: absolute;
  z-index: 10;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #dce6de;
  border-radius: 50%;
  background: #fff;
  color: #051f20;
  box-shadow: 0 2px 8px rgba(5, 31, 32, .04);
}
#selection-dialog.nfq-dialog > .close-btn:hover { background: #daf1de; }
#selection-dialog.nfq-dialog > .close-btn svg { width: 20px; height: 20px; }
#selection-dialog.nfq-dialog > .selection-content {
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 24px 106px;
  scrollbar-width: thin;
  scrollbar-color: #8eb69b #f7f9f6;
  -webkit-overflow-scrolling: touch;
}
#selection-dialog.nfq-dialog :where(button, a, input):focus-visible { outline: 3px solid #235347; outline-offset: 3px; }
#selection-dialog.nfq-dialog [hidden] { display: none !important; }
#selection-dialog.nfq-dialog #nfq-title:focus { outline: none; }

.nfq-shell { display: grid; grid-template-columns: minmax(0, 1fr) 252px; align-items: stretch; min-height: 620px; }
.nfq-main { display: flex; flex-direction: column; min-width: 0; padding: 32px 34px 0; background: #fff; }
.nfq-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#selection-dialog.nfq-dialog p.nfq-kicker { margin: 0; color: #235347; font-size: 12px; line-height: 1.5; font-weight: 750; letter-spacing: .055em; }
.nfq-meta > span { color: #52655b; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nfq-progress { display: flex; gap: 6px; margin: 19px 0 28px; }
.nfq-progress > span { flex: 1; height: 4px; border-radius: 99px; background: #dce6de; }
.nfq-progress > span.is-done { background: #8eb69b; }
.nfq-progress > span.is-current { background: #235347; }
#selection-dialog.nfq-dialog .nfq-title { max-width: 610px; margin: 0 0 13px; color: #051f20; font-size: 34px; line-height: 1.16; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
#selection-dialog.nfq-dialog p.nfq-description { max-width: 620px; margin: 0 0 25px; color: #52655b; font-size: 14px; line-height: 1.7; }

.nfq-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 11px; margin: 0 0 23px; }
.nfq-option {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 19px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  min-height: 104px;
  padding: 17px 15px;
  border: 1px solid #dce6de;
  border-radius: 16px;
  background: #fff;
  color: #051f20;
  text-align: left;
  transition: border-color .16s, background-color .16s, box-shadow .16s;
}
.nfq-option:hover { border-color: #8eb69b; background: #f7f9f6; }
.nfq-option[aria-pressed="true"], .nfq-option.is-selected { border-color: #235347; background: #daf1de; box-shadow: inset 0 0 0 1px #235347; }
.nfq-options > .nfq-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nfq-option-symbol { display: grid; place-items: center; width: 40px; height: 44px; color: #235347; }
.nfq-option-symbol > svg { width: 29px; height: 29px; stroke-width: 1.4; }
.nfq-option-copy { display: block; min-width: 0; }
.nfq-option-copy > strong { display: block; color: #051f20; font-size: 14px; line-height: 1.45; font-weight: 700; overflow-wrap: anywhere; }
.nfq-option-copy > small { display: block; margin-top: 5px; color: #52655b; font-size: 12px; line-height: 1.5; font-weight: 450; overflow-wrap: anywhere; }
.nfq-option-check { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #8eb69b; border-radius: 50%; background: #fff; color: #fff; }
.nfq-option-check > svg { width: 13px; height: 13px; opacity: 0; stroke-width: 2; }
.nfq-option[aria-pressed="true"] .nfq-option-check { border-color: #235347; background: #235347; }
.nfq-option[aria-pressed="true"] .nfq-option-check > svg { opacity: 1; }
.nfq-options--materials .nfq-option { min-height: 78px; padding-top: 13px; padding-bottom: 13px; }
.nfq-options--materials > .nfq-option:first-child { grid-column: 1 / -1; }
.nfq-options--materials > .nfq-option:last-child:nth-child(odd) { grid-column: auto; }
.nfq-swatch { display: block; width: 35px; height: 44px; border: 1px solid rgba(5, 31, 32, .15); border-radius: 5px; box-shadow: 2px 3px 0 #fff, 2px 3px 0 1px #dce6de; transform: rotate(-8deg); }
.nfq-options--colors .nfq-option-symbol { width: 40px; height: 48px; }
#selection-dialog.nfq-dialog p.nfq-hint { margin: 0 0 19px; color: #52655b; font-size: 12px; line-height: 1.65; }

.nfq-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.nfq-main > .nfq-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  flex-shrink: 0;
  margin: auto -34px 0;
  padding: 19px 34px 22px;
  border-top: 1px solid #dce6de;
  background: #fff;
}
.nfq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 22px;
  border: 1px solid #235347;
  border-radius: 999px;
  background: #235347;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s, border-color .16s;
}
.nfq-button:hover { border-color: #163832; background: #163832; color: #fff; }
.nfq-button:disabled { border-color: #dce6de; background: #dce6de; color: #52655b; opacity: 1; }
.nfq-button svg { width: 19px; height: 19px; }
.nfq-button--secondary { border-color: #235347; background: #fff; color: #235347; }
.nfq-button--secondary:hover { background: #daf1de; color: #051f20; }
.nfq-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 0; border: 0; border-radius: 5px; background: transparent; color: #235347; font-size: 14px; line-height: 1.5; font-weight: 650; text-align: left; }
.nfq-text-button:hover { color: #163832; text-decoration: underline; text-underline-offset: 4px; }
.nfq-text-button:disabled { color: #52655b; opacity: .55; text-decoration: none; }
.nfq-main > .nfq-actions > .nfq-text-button { min-width: 57px; justify-content: flex-start; }

.nfq-aside { min-width: 0; padding: 82px 24px 25px; border-left: 1px solid #dce6de; background: #f7f9f6; }
.nfq-aside h3 { margin: 10px 0 24px; color: #051f20; font-size: 21px; line-height: 1.28; font-weight: 600; letter-spacing: -.025em; }
.nfq-summary { list-style: none; margin: 0 0 18px; padding: 0; }
.nfq-summary > li { margin: 0; padding: 0; }
.nfq-summary button { display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-items: center; gap: 3px 8px; width: 100%; min-height: 64px; padding: 12px 0; border: 0; border-bottom: 1px solid #dce6de; border-radius: 0; background: transparent; text-align: left; }
.nfq-summary button:not(:disabled):hover .nfq-summary-value { color: #235347; text-decoration: underline; text-underline-offset: 3px; }
.nfq-summary button:disabled { opacity: 1; }
.nfq-summary-label { grid-column: 1; color: #52655b; font-size: 12px; line-height: 1.5; }
.nfq-summary-value { grid-column: 1; color: #051f20; font-size: 13px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.nfq-summary button:disabled .nfq-summary-value { color: #52655b; font-weight: 450; }
.nfq-summary button > svg { grid-column: 2; grid-row: 1 / 3; width: 14px; height: 14px; color: #235347; }
.nfq-aside > .nfq-text-button { font-size: 13px; }

.nfq-budget-field { margin: -4px 0 20px; padding: 19px; border: 1px solid #dce6de; border-radius: 16px; background: #f7f9f6; }
.nfq-budget-field label { display: block; margin: 0 0 9px; color: #051f20; font-size: 14px; line-height: 1.5; font-weight: 600; }
.nfq-budget-field input { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #8eb69b; border-radius: 10px; background: #fff; color: #051f20; font-size: 16px; line-height: 1.5; }
.nfq-budget-field input[aria-invalid="true"] { border: 2px solid #235347; padding: 11px 13px; }
#selection-dialog.nfq-dialog p.nfq-error { margin: 10px 0 0; padding-left: 10px; border-left: 2px solid #235347; color: #0b2b26; font-size: 13px; line-height: 1.6; font-weight: 600; }
#selection-dialog.nfq-dialog p.nfq-error:empty { display: none; }

/* Results remain one scrollable document, with complete product names and editable answers. */
.nfq-results { min-width: 0; padding: 34px; }
.nfq-result-head { padding-right: 56px; }
.nfq-result-head .nfq-kicker { margin-bottom: 12px !important; }
#selection-dialog.nfq-dialog .nfq-result-head .nfq-title { max-width: 720px; }
#selection-dialog.nfq-dialog .nfq-result-head .nfq-description { max-width: 730px; margin-bottom: 21px; }
.nfq-answer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 27px; }
.nfq-answer-chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; max-width: 100%; padding: 10px 13px; border: 1px solid #dce6de; border-radius: 999px; background: #f7f9f6; color: #051f20; font-size: 12px; line-height: 1.5; font-weight: 650; text-align: left; overflow-wrap: anywhere; }
.nfq-answer-chips button > span { color: #52655b; font-weight: 450; }
.nfq-answer-chips button > svg { width: 14px; height: 14px; margin-left: 3px; color: #235347; }
.nfq-answer-chips button:hover { border-color: #235347; background: #daf1de; }
.nfq-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 21px; }
.nfq-product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dce6de; border-radius: 18px; background: #fff; }
.nfq-product-image { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.25; overflow: hidden; background: #f7f9f6; color: #52655b; font-size: 13px; }
.nfq-product-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nfq-product-image > span { padding: 20px; text-align: center; }
.nfq-product-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 17px 16px 10px; }
#selection-dialog.nfq-dialog p.nfq-product-brand { margin: 0 0 8px; color: #52655b; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.nfq-product h3 { margin: 0 0 6px; color: #051f20; font-size: 19px; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; overflow-wrap: anywhere; }
.nfq-product h3 > a { border-radius: 2px; }
.nfq-product h3 > a:hover { color: #235347; }
#selection-dialog.nfq-dialog p.nfq-product-sku { margin: 0 0 14px; color: #52655b; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.nfq-reasons { list-style: none; margin: 0 0 17px; padding: 0; }
.nfq-reasons > li { position: relative; margin: 0 0 6px; padding-left: 13px; color: #52655b; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.nfq-reasons > li::before { content: ""; position: absolute; top: .62em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #8eb69b; }
.nfq-product-price { display: block; margin-top: auto; color: #051f20; font-size: 21px; line-height: 1.35; font-weight: 750; letter-spacing: -.025em; overflow-wrap: anywhere; }
.nfq-product-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin-top: 13px; padding: 11px 0 5px; border-top: 1px solid #dce6de; color: #235347; font-size: 13px; line-height: 1.5; font-weight: 700; }
.nfq-product-link:hover { color: #163832; text-decoration: underline; text-underline-offset: 4px; }
.nfq-product-link svg { width: 18px; height: 18px; }
.nfq-results > .nfq-actions { margin: 22px 0 28px; }
.nfq-checklist { padding: 23px 25px; border: 1px solid #dce6de; border-radius: 17px; background: #f7f9f6; }
.nfq-checklist h3 { max-width: 650px; margin: 0 0 14px; color: #051f20; font-size: 20px; line-height: 1.4; letter-spacing: -.02em; font-weight: 650; }
.nfq-checklist ul { margin: 0 0 15px; padding-left: 19px; color: #235347; }
.nfq-checklist li { margin: 0 0 9px; padding-left: 3px; color: #52655b; font-size: 13px; line-height: 1.7; }
#selection-dialog.nfq-dialog .nfq-checklist p.nfq-hint { margin-bottom: 0; font-size: 12px; }
.nfq-empty { margin: 4px 0 27px; padding: 24px; border: 1px solid #dce6de; border-radius: 18px; background: #f7f9f6; }
.nfq-empty .nfq-actions { justify-content: flex-start; margin-bottom: 10px; }

@media (max-width: 1000px) {
  .selection-entry-banner { gap: 24px; padding: 27px; }
  .catalog-intro-actions { max-width: 260px; }
  .nfq-shell { grid-template-columns: minmax(0, 1fr) 230px; }
  .nfq-main { padding-right: 27px; padding-left: 27px; }
  .nfq-main > .nfq-actions { margin-right: -27px; margin-left: -27px; padding-right: 27px; padding-left: 27px; }
  .nfq-aside { padding-right: 21px; padding-left: 21px; }
  .nfq-option { grid-template-columns: 32px minmax(0, 1fr) 17px; gap: 9px; padding-right: 12px; padding-left: 12px; }
  .nfq-option-symbol { width: 32px; }
  .nfq-option-symbol > svg { width: 27px; height: 27px; }
  .nfq-option-check { width: 17px; height: 17px; }
  .nfq-options--colors .nfq-option-symbol { width: 32px; }
  .nfq-swatch { width: 30px; height: 40px; }
}

@media (max-width: 760px) {
  .selection-entry-banner { grid-template-columns: minmax(0, 1fr); gap: 23px; padding: 25px; }
  .selection-entry-action { align-items: flex-start; min-width: 0; }
  .selection-entry-action > button { min-width: 228px; }
  .selection-entry-action > small { text-align: left; }
  .catalog-intro-actions { align-items: flex-start; max-width: none; margin-top: 18px; }
  #selection-dialog.nfq-dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  #selection-dialog.nfq-dialog > .selection-content { flex: 1; height: 100%; max-height: 100%; scroll-padding-top: 74px; scroll-padding-bottom: 110px; }
  #selection-dialog.nfq-dialog > .close-btn { top: max(12px, env(safe-area-inset-top, 0px)); right: 14px; }
  .nfq-shell { display: block; min-height: 100%; }
  .nfq-main { min-height: 100vh; min-height: 100dvh; padding: max(25px, env(safe-area-inset-top, 0px)) 24px 0; }
  .nfq-aside { display: none; }
  .nfq-meta { min-height: 25px; padding-right: 49px; }
  .nfq-progress { margin-top: 19px; margin-bottom: 27px; }
  #selection-dialog.nfq-dialog .nfq-title { max-width: 530px; font-size: 32px; line-height: 1.18; }
  #selection-dialog.nfq-dialog p.nfq-description { font-size: 14px; line-height: 1.7; }
  .nfq-option { grid-template-columns: 40px minmax(0, 1fr) 19px; gap: 11px; min-height: 108px; padding: 17px 15px; }
  .nfq-option-symbol { width: 40px; }
  .nfq-option-check { width: 19px; height: 19px; }
  .nfq-options--materials .nfq-option { min-height: 82px; }
  .nfq-options--colors .nfq-option-symbol { width: 40px; }
  .nfq-swatch { width: 35px; height: 44px; }
  .nfq-main > .nfq-actions { margin-right: -24px; margin-left: -24px; padding: 15px 24px calc(15px + env(safe-area-inset-bottom, 0px)); }
  .nfq-results { padding: 26px 24px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .nfq-result-head { padding-right: 43px; }
  .nfq-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .nfq-product h3 { font-size: 18px; }
  .nfq-results > .nfq-actions { align-items: stretch; }
}

@media (max-width: 520px) {
  .selection-entry-banner { margin-top: 22px; padding: 23px 21px; border-radius: 20px; }
  .selection-entry-copy h2 { font-size: 28px; }
  .selection-entry-copy p { font-size: 14px; line-height: 1.7; }
  .selection-entry-kicker { font-size: 11px; }
  .selection-entry-action { align-items: stretch; width: 100%; }
  .selection-entry-action > button { min-width: 0; width: 100%; }
  .selection-entry-action > small { text-align: center; }
  .selection-entry-button { padding-right: 17px; padding-left: 17px; font-size: 13px; }
  button.menu-selection-entry { width: 100%; }
  .nfq-main { padding-right: 18px; padding-left: 18px; }
  #selection-dialog.nfq-dialog p.nfq-kicker { font-size: 11px; }
  .nfq-meta > span { font-size: 11px; }
  .nfq-progress { gap: 5px; margin-bottom: 24px; }
  #selection-dialog.nfq-dialog .nfq-title { margin-bottom: 12px; font-size: 30px; }
  #selection-dialog.nfq-dialog p.nfq-description { margin-bottom: 22px; font-size: 14px; }
  .nfq-options { gap: 10px; margin-bottom: 20px; }
  .nfq-option { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; min-height: 148px; padding: 13px; border-radius: 15px; }
  .nfq-option-symbol { width: 35px; height: 36px; }
  .nfq-option-symbol > svg { width: 27px; height: 27px; }
  .nfq-option-copy { width: 100%; }
  .nfq-option-copy > strong { padding-right: 0; font-size: 14px; line-height: 1.45; }
  .nfq-option-copy > small { font-size: 12px; line-height: 1.5; }
  .nfq-option-check { position: absolute; top: 13px; right: 13px; }
  .nfq-options > .nfq-option:last-child:nth-child(odd),
  .nfq-options--materials > .nfq-option:first-child {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) 19px;
    align-items: center;
    min-height: 84px;
    gap: 11px;
  }
  .nfq-options > .nfq-option:last-child:nth-child(odd) .nfq-option-check,
  .nfq-options--materials > .nfq-option:first-child .nfq-option-check { position: static; }
  .nfq-options--materials .nfq-option { min-height: 109px; }
  .nfq-options--materials > .nfq-option:last-child:nth-child(odd) { display: flex; min-height: 109px; }
  .nfq-options--materials > .nfq-option:last-child:nth-child(odd) .nfq-option-check { position: absolute; }
  .nfq-options--colors .nfq-option-symbol { width: 35px; height: 44px; }
  .nfq-options--colors .nfq-option { min-height: 156px; }
  .nfq-options--colors > .nfq-option:last-child:nth-child(odd) { min-height: 84px; }
  .nfq-swatch { width: 29px; height: 39px; }
  .nfq-main > .nfq-actions { gap: 10px; flex-wrap: nowrap; margin-right: -18px; margin-left: -18px; padding-right: 18px; padding-left: 18px; }
  .nfq-main > .nfq-actions > .nfq-button { min-width: 148px; padding: 13px 17px; gap: 10px; }
  .nfq-button { font-size: 14px; }
  .nfq-text-button { font-size: 14px; }
  .nfq-budget-field { padding: 16px; }
  .nfq-results { padding: 25px 18px calc(25px + env(safe-area-inset-bottom, 0px)); }
  .nfq-result-head { padding-right: 44px; }
  #selection-dialog.nfq-dialog .nfq-result-head .nfq-title { font-size: 29px; }
  .nfq-answer-chips { gap: 7px; margin-bottom: 22px; }
  .nfq-answer-chips button { flex-wrap: wrap; column-gap: 5px; padding: 10px 12px; border-radius: 18px; font-size: 12px; }
  .nfq-answer-chips button > svg { margin-left: auto; }
  .nfq-result-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .nfq-product { border-radius: 18px; }
  .nfq-product-image { aspect-ratio: 1.5; }
  .nfq-product-copy { padding: 19px 18px 11px; }
  #selection-dialog.nfq-dialog p.nfq-product-brand { font-size: 12px; }
  .nfq-product h3 { font-size: 21px; }
  #selection-dialog.nfq-dialog p.nfq-product-sku { font-size: 13px; }
  .nfq-reasons > li { font-size: 13px; }
  .nfq-product-price { font-size: 24px; }
  .nfq-product-link { min-height: 48px; font-size: 14px; }
  .nfq-results > .nfq-actions { flex-direction: column; gap: 7px; margin: 21px 0 24px; }
  .nfq-results > .nfq-actions > .nfq-button { width: 100%; }
  .nfq-results > .nfq-actions > .nfq-text-button { align-self: center; }
  .nfq-checklist { padding: 20px 18px; border-radius: 15px; }
  .nfq-checklist h3 { font-size: 19px; }
  .nfq-checklist li { font-size: 13px; }
  .nfq-empty { padding: 18px; }
  .nfq-empty .nfq-actions { flex-direction: column; align-items: stretch; }
  .nfq-empty .nfq-button { width: 100%; }
}

@media (max-width: 359px) {
  .nfq-main { padding-right: 15px; padding-left: 15px; }
  .nfq-main > .nfq-actions { margin-right: -15px; margin-left: -15px; padding-right: 15px; padding-left: 15px; }
  .nfq-main > .nfq-actions > .nfq-button { min-width: 0; max-width: calc(100% - 67px); padding-right: 14px; padding-left: 14px; }
  .nfq-option { padding: 12px 10px; }
  .nfq-option-copy > strong { font-size: 13px; }
  .nfq-option-check { right: 10px; }
  #selection-dialog.nfq-dialog .nfq-title { font-size: 28px; }
  .nfq-results { padding-right: 15px; padding-left: 15px; }
  .nfq-meta { padding-right: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  .nfq-option, .nfq-button, .selection-entry-button { transition: none; }
  #selection-dialog.nfq-dialog > .selection-content { scroll-behavior: auto; }
}
