/* Public desktop refinements: preserve the existing prototype and responsive mobile rules. */
@media (min-width: 901px) {
  html {
    scroll-padding-bottom: 96px;
  }
  body
    :is(main, #consult-dialog)
    :where(
      input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not(
          [type='file']
        ):not([name='website']),
      select,
      textarea
    ) {
    font-size: 16px !important;
    max-width: 100%;
    min-width: 0;
  }
  body .lead-form .form-fields > label {
    min-width: 0;
  }
  body
    :is(main, #consult-dialog)
    .lead-form
    :where(
      input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not(
          [type='file']
        ):not([name='website']),
      select
    ) {
    line-height: 24px;
    min-height: 52px;
  }
  body .lead-form .button[type='submit'] {
    min-height: 52px;
  }
  body .lead-form textarea {
    line-height: 1.6;
    min-height: 104px;
    resize: vertical;
  }
  body
    .lead-form:not(.compact)
    :where(
      input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not(
          [name='website']
        ),
      select,
      textarea
    ) {
    border-color: var(--line);
    border-radius: 12px;
  }
  body .lead-form :is(input, select, textarea):focus-visible {
    border-color: var(--red);
    outline: 2px solid var(--red);
    outline-offset: 2px;
  }
  body .prototype-lead-form.compact .form-fields {
    gap: 10px;
  }
  body main button:not(.button):not([type='submit']) {
    min-height: 44px;
    min-width: 44px;
  }
  body .unified-header .unified-consult {
    min-height: 44px;
  }
  body #consult-dialog {
    border-radius: 24px;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 28px;
    scroll-padding-top: 132px;
    width: min(480px, calc(100vw - 48px));
  }
  body #consult-dialog .dialog-head {
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    margin-bottom: 18px;
    margin-top: -28px;
    padding-bottom: 16px;
    padding-top: 28px;
    position: sticky;
    top: -28px;
    z-index: 1;
  }
  #consult-dialog .dialog-head > div {
    min-width: 0;
  }
  #consult-dialog .dialog-head h2 {
    font-size: 24px;
    margin: 0;
  }
  #consult-dialog .dialog-head p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
  }
  #consult-dialog .icon-button {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 44px;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }
  #consult-dialog .consent {
    align-items: center;
    min-height: 32px;
  }
  #consult-dialog .consent input {
    height: 18px;
    margin-top: 0;
    width: 18px;
  }
  #consult-dialog .form-status {
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  body .unified-consult:focus-visible,
  #consult-dialog .icon-button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
  }
  body footer.site-footer {
    padding-bottom: 96px;
  }
}
