/* Figma 1844:6827. Request-only, device-gated presentation.
   style-boundary-allow-important -- bridge frozen route/shared typography. */
@media (min-width: 750px) and (max-width: 1023px) {
  [data-ui-part="seller-request"] {
    --seller-ipad-header-height: 60px;
    --seller-ipad-action-height: 48px;
    --seller-ipad-action-bottom: 86px;
    --seller-ipad-footer-height: calc(var(--seller-ipad-action-height) + var(--seller-ipad-action-bottom));
    --seller-ipad-gutter: 2rem;
    /* Use the same text scale for native inputs and custom picker labels on iPad Safari. */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: 100dvh;
    overflow: auto;
    scroll-padding-block: var(--seller-ipad-header-height) var(--seller-ipad-footer-height);
  }
  [data-ui-part="seller-request"] > div {
    height: auto;
    min-height: 100%;
    padding: 0 var(--seller-ipad-gutter) calc(var(--seller-ipad-footer-height) + 1rem);
  }
  [data-ui-part="seller-request-step-header"] {
    position: sticky;
    top: 0;
    z-index: 40;
    flex: none;
    height: var(--seller-ipad-header-height);
    background: white;
    margin-inline: -2rem;
    padding-inline: 2rem;
  }
  [data-ui-part="seller-request-step-header"] > img,
  [data-ui-part="seller-request-step-header"] > a:not(:last-child) { display: none; }
  [data-ui-part="seller-request-step-header"] > :nth-child(2) { display: none; }
  [data-ui-part="seller-request-step-header"] > a:last-child { display: flex; }
  [data-ui-part="seller-request-progress"] { margin-top: 2rem; gap: .75rem; flex: none; }
  [data-ui-part="seller-request-progress"] > span { height: .375rem; border-radius: .25rem; }
  [data-ui-part="seller-request-step-frame"] { margin-top: 2.125rem; }
  [data-ui-part="seller-request-step-frame"],
  [data-ui-part="seller-request-step-scroll"] { flex: none; overflow: visible; }
  [data-ui-part="seller-request-step-scroll"] h1 + p { margin-top: 0; }
  [data-ui-part="seller-request-step-one-heading"] { white-space: pre-line; }
  [data-ui-part="seller-request-step-scroll"] > :is(form, section) { width: 100%; max-width: none; }
  [data-ui-part="seller-request-step-scroll"] > form { display: block; }
  [data-ui-part="seller-request-step-one-form"] { margin: 2rem 0 0; padding-top: 0; }
  [data-ui-part="seller-request-step-one-fields"],
  [data-ui-part="seller-request-name-fields"] { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  [data-ui-part="seller-request"] :is(label, legend) { line-height: 1.45; }
  [data-ui-part="seller-field-label"],
  [data-ui-part="seller-field-label"] + input { display: block; }
  [data-ui-part="seller-request"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="tel"]), select),
  [data-ui-part="seller-phone-control"] { height: 3rem; padding-inline: 1rem; }
  [data-ui-part="seller-phone-control"] { overflow: visible; }
  [data-ui-part="seller-phone-control"] input { height: 100%; padding: 0 0 0 .75rem; }
  [data-ui-part="seller-request"] input::placeholder,
  [data-ui-part="seller-request"] textarea::placeholder { color: #bdbdbd; opacity: 1; }
  [data-ui-part="seller-request-mobile-action"] {
    position: fixed;
    inset: auto 0 0;
    /* Above scroll content (including photo removal), below open pickers. */
    z-index: 25;
    height: var(--seller-ipad-footer-height);
    padding: 0 var(--seller-ipad-gutter);
    background: white;
  }
  [data-ui-part="seller-request-action-buttons"] { --c1-button-radius: .5rem; display: grid; width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  [data-ui-part="seller-request"][data-step="1"] [data-ui-part="seller-request-action-buttons"] { grid-template-columns: 1fr; }
  [data-ui-part="seller-request-action-buttons"] > button { display: flex; height: var(--seller-ipad-action-height); }
  [data-ui-part="seller-request-action-buttons"] > p { grid-column: 1 / -1; margin-top: 0; text-align: center; }
  [data-ui-part="seller-request-contact-me"],
  [data-ui-part="seller-request-contact-me"] > button { color: #5f5f5f; line-height: 1.45; }
  [data-ui-part="seller-request-action-buttons"] > button > .lg\:hidden { display: none; }
  [data-ui-part="seller-request-action-buttons"] > button > .hidden { display: inline; }
  [data-ui-part="seller-request-step-two-subtitle"] { display: block; }
  [data-ui-part="seller-request-step-two"] > :is(fieldset, div.relative, label, div:has(> [data-ui-part="seller-photo-title"])) { margin-top: 2rem; }
  [data-testid="seller-category-options"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
  [data-ui-part="seller-piece-count-options"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
  [data-ui-part="seller-piece-count-indicator"] { width: 1.25rem; height: 1.25rem; }
  [data-ui-part="seller-request-step-two"] label:has(textarea) > div { height: 6.9375rem; }
  [data-ui-part="seller-request-step-two"] textarea { width: 100%; height: 100%; padding: .75rem; transform: none; }
  [data-ui-part="seller-request-step-two"] div:has(> [data-ui-part="seller-brand-search-icon"]) { margin-top: 1rem; }
  [data-testid="seller-category-options"] label,
  [data-ui-part="seller-piece-count-options"] label { color: #070707; font-weight: 400; }
  [data-ui-part="seller-piece-count-options"] label { padding-block: 0; }
  [data-testid="seller-brand-options-dropdown"] { z-index: 30; max-height: 16.875rem; }
  [data-ui-part="seller-phone-country-dropdown"] { max-width: none; }
  [data-ui-part="seller-request"] .fixed:has(+ :is([data-ui-part="seller-phone-country-dropdown"], [data-ui-part="seller-preferred-date-dropdown"])) {
    z-index: 26;
  }
  [data-ui-part="seller-photo-thumbnail"], [data-ui-part="seller-photo-add"] { width: 5rem; height: 5rem; }
  [data-ui-part="seller-photo-thumbnail"] { border-radius: .294rem; }
  [data-ui-part="seller-photo-remove"] { width: 1.176rem; height: 1.176rem; }
  [data-ui-part="seller-request-step-three"] > div:first-of-type { margin-top: 2rem; }
  [data-ui-part="seller-request-step-three"] label > div:has(input[data-seller-field="zipCode"]) { margin-top: 1rem; }
  [data-ui-part="seller-method-options"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; margin-top: 1.5rem; }
  [data-ui-part="seller-method-options"] > label { min-height: 0; padding-block: 1.875rem; justify-content: center; }
  [data-ui-part="seller-method-options"] > label:not(:has(input:checked)) { background: #f7f7f7; }
  [data-ui-part="seller-method-options"] [data-ui-part="seller-method-indicator"]:has(svg) { background: #deb17c; border-color: #deb17c; }
  [data-ui-part="seller-method-options"] strong { font-weight: 600; line-height: 1.45; }
  [data-ui-part="seller-method-options"] [data-ui-part="seller-method-mobile-recommendation"] { display: none; }
  [data-ui-part="seller-method-in-home-selection"] > span:last-child > span.hidden { display: flex; }
  [data-ui-part="seller-method-in-home-selection"] > span:last-child > strong { display: none; }
  [data-ui-part="seller-request-step-four"] > div:first-of-type { margin-top: 2rem; }
  [data-ui-part="seller-address-fields"] { gap: 1rem; }
  [data-ui-part="seller-address-fields"] > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-ui-part="seller-request"][data-selling-method="in_home"] [data-ui-part="seller-address-fields"] > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-ui-part="seller-request-step-four"] > div:has(> [data-ui-part="seller-preferred-date-field"]) {
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  [data-ui-part="seller-request-step-four"] [data-ui-part="seller-address-optional-hint"] {
    margin-top: -1.5rem;
    padding-bottom: .5rem;
    line-height: 1.45;
  }
  [data-ui-part="seller-preferred-date-field"],
  [data-ui-part="seller-state-field"] { line-height: 1.45; }
  [data-ui-part="seller-state-trigger"],
  [data-ui-part="seller-preferred-date-trigger-desktop"] { height: 3rem; padding-inline: 1rem; }
  [data-ui-part="seller-state-trigger"] > svg { display: none; }
  [data-ui-part="seller-state-trigger"] > img { display: block; transform: none; }
  [data-ui-part="seller-phone-control"] > button,
  [data-ui-part="seller-state-trigger"],
  [data-ui-part="seller-preferred-date-trigger-desktop"] { --c1-button-radius: 4px; }
  [data-ui-part="seller-preferred-date-trigger-mobile"] { display: none; }
  [data-ui-part="seller-preferred-date-trigger-desktop"] { display: flex; }
  [data-ui-part="seller-request-step-four"] div:has(> [data-ui-part="seller-preferred-date-dropdown"]) > .fixed { display: block; }
  [data-ui-part="seller-preferred-date-dropdown"] { display: block; left: 0; right: auto; margin-top: 3px; width: 100%; min-width: 20rem; padding: 1.25rem 1rem; border-radius: .25rem; }
  [data-ui-part="seller-request-step-scroll"]:has([data-ui-part="seller-preferred-date-dropdown"]) {
    /* Leave room to scroll the final calendar row above the fixed actions. */
    padding-bottom: 22rem;
  }
  [data-ui-part="seller-request-step-four"] div:has(> [data-ui-part="seller-office-address"]) { padding: 1rem; }
  [data-ui-part="seller-request-step-four"] [data-ui-part="seller-office-address"] { margin-top: .5rem; }
  [data-ui-part="seller-request"][data-selling-method="not_sure"] [data-ui-part="seller-request-step-four"] > div:empty { display: none; }
  [data-ui-part="seller-request"][data-selling-method="not_sure"] [data-ui-part="seller-request-step-four"] > div:has(> [data-ui-part="seller-preferred-date-field"]) { margin-top: 2rem; }
  [data-ui-part="seller-ship-followup"] { padding: 1rem; }
  [data-ui-part="seller-visit-notice"] { background: #f9f6e3; padding: .375rem 1rem; }
  [data-ui-part="seller-request-success-content"] { max-width: 39.5rem; padding-top: 5rem; padding-inline: 0; }
  [data-ui-part="seller-request-success-content"] h1 { margin-top: 2rem; font-weight: 700; }
  [data-ui-part="seller-request-success-content"] p { margin-top: .75rem; }
  [data-ui-part="seller-request-success-content"] dl { margin-top: 2rem; padding: 2rem 0 0; gap: 0 2rem; border-top: 1px solid #ebebeb; }
  [data-ui-part="seller-request-success-content"] dl > :is(dt, dd) { padding-block: .5rem; line-height: 1.45; }
  [data-ui-part="seller-request-step-one-heading"] + p { white-space: normal; }
  [data-ui-part="seller-request-step-four"] [data-ui-part="seller-office-address"] { color: #070707; }
  [data-ui-part="seller-request-success"] header { position: sticky; top: 0; height: 3.75rem; align-items: center; padding: 0 2rem; background: white; }
  [data-ui-part="seller-request-success"] header > a:last-child { display: flex; }
  [data-ui-part="seller-request-step-two"] [data-ui-part="seller-photo-add"] > .lg\:hidden { display: none; }
  [data-ui-part="seller-request-step-two"] [data-ui-part="seller-photo-add"] > .hidden { display: flex; }
  [data-ui-part="seller-request-step-two"] [data-ui-part="seller-photo-remove-icon-mobile"] { display: none; }
  [data-ui-part="seller-request-step-two"] [data-ui-part="seller-photo-remove-icon-desktop"] { display: block; }

  [data-ui-part="seller-preferred-date-dropdown"] > div:first-child { gap: 1.5rem; }
  [data-ui-part="seller-preferred-date-dropdown"] > div:first-child button { width: 1.25rem; height: 1.25rem; }
  [data-ui-part="seller-preferred-date-dropdown"] > div:nth-child(2) { margin-top: 1rem; }
  [data-ui-part="seller-preferred-date-dropdown"] > div:nth-child(2) > span { height: 2.0625rem; font-weight: 500; }
  [data-ui-part="seller-preferred-date-dropdown"] [role="grid"] { margin-top: 1rem; row-gap: .5rem; }
  [data-ui-part="seller-preferred-date-dropdown"] [role="gridcell"] { width: 2.25rem; height: 2.25rem; }

}

/* Layered important declarations outrank the pre-existing utility mappings. */
@layer route-components {
  @media (min-width: 750px) and (max-width: 1023px) {
    [data-ui-part="seller-request"] :is(input:not([type="checkbox"], [type="radio"], [type="file"], [type="hidden"]), select, textarea),
    [data-ui-part="seller-request-step-two"] label > div:has(> textarea),
    [data-ui-part="seller-phone-control"] { border-radius: 4px !important; }

    [data-ui-part="seller-request-step-header"] > :is(button, a),
    [data-ui-part="seller-request-success"] header > a,
    [data-ui-part="seller-request-action-buttons"] > button,
    [data-ui-part="seller-photo-add"] { border-radius: 8px !important; }

    [data-ui-part="seller-request"] h1,
    [data-ui-part="seller-request-success-content"] h1 { font-size: 1.5rem !important; line-height: 1.45 !important; }
    [data-ui-part="seller-request"] :is(
      label, legend,
      [data-ui-part="seller-field-label"],
      [data-ui-part="seller-step2-section-title"],
      [data-ui-part="seller-step2-required-marker"],
      [data-ui-part="seller-photo-title"]
    ),
    [data-ui-part="seller-preferred-date-field"],
    [data-ui-part="seller-state-field"],
    [data-ui-part="seller-request-step-four"] h2 { font-size: 1rem !important; }
    [data-ui-part="seller-request"] :is(input, textarea, select),
    [data-ui-part="seller-request"] :is(input, textarea)::placeholder,
    :is([data-ui-part="seller-preferred-date-trigger-desktop"], [data-ui-part="seller-state-trigger"]),
    :is([data-ui-part="seller-preferred-date-trigger-desktop"], [data-ui-part="seller-state-trigger"]) > span,
    [data-ui-part="seller-phone-control"] > button,
    [data-ui-part="seller-phone-control"] > button span { font-size: 14px !important; }

    [data-ui-part="seller-request"] :is([data-ui-part="seller-category-label"], [data-ui-part="seller-request-step-two-subtitle"]),
    [data-ui-part="seller-request-step-scroll"] h1 + p,
    [data-ui-part="seller-request-step-four"] > p,
    [data-ui-part="seller-office-address"],
    [data-ui-part="seller-request-success-content"] p { font-size: .875rem !important; }
    [data-ui-part="seller-request"] :is([data-ui-part="seller-step2-optional-label"], [data-ui-part="seller-request-consent"], [data-ui-part="seller-appointment-agreement"], [data-ui-part="seller-request-contact-me"], [data-ui-part="seller-ship-agreement"], [role="alert"]),
    [data-ui-part="seller-field-label"] > span:not([aria-hidden]),
    [data-ui-part="seller-step2-section-title"] > span:not([aria-hidden]),
    [data-ui-part="seller-request"] label > span[class*="text-[#848484]"],
    [data-ui-part="seller-request-contact-me"] button { font-size: .75rem !important; }
    [data-ui-part="seller-request-action-buttons"] > button,
    [data-ui-part="seller-request-success-content"] :is(dt, dd) { font-size: 1rem !important; }
    [data-ui-part="seller-method-options"] strong,
    [data-ui-part="seller-method-options"] strong + span:not([data-ui-part="seller-method-recommended-badge"]) { font-size: .875rem !important; }
    [data-ui-part="seller-piece-count-options"] label { font-size: .875rem !important; }
    [data-ui-part="seller-request-step-two"] input[role="combobox"] {
      border: 1px solid #ebebeb !important;
      background: white !important;
      padding-left: 3rem !important;
      padding-right: 1rem !important;
    }
    [data-ui-part="seller-photo-title"] > span,
    [data-ui-part="seller-photo-add-pc-label"] { font-size: .75rem !important; }
    [data-ui-part="seller-preferred-date-dropdown"] button,
    [data-ui-part="seller-preferred-date-dropdown"] > div:first-child span { font-size: .875rem !important; }
    [data-ui-part="seller-preferred-date-dropdown"] > div:nth-child(2) > span { font-size: .75rem !important; }
    [data-ui-part="seller-request-step-two"] div:has(> [data-ui-part="seller-photo-title"]) > p:last-child { font-size: .875rem !important; }
  }
}
