/* IUMA DIMENSION PUBLIC V30.8.1 — mobile artistic finishing. */

/* FAQ: one precise editorial control instead of a nested interface card. */
.faq-search-v18 {
  padding: 0 0 30px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--theme-line);
}

.faq-search-v18 > label {
  margin-bottom: 14px;
  color: var(--label-blue);
}

.faq-search-v18 > div {
  min-width: 0;
  border-block: 1px solid var(--text);
  box-shadow: none;
}

.faq-search-v18 input {
  min-width: 0;
  border: 0;
  background: transparent;
}

.faq-search-v18 button {
  min-width: 104px;
  min-height: 52px;
  border: 0;
  border-left: 1px solid var(--theme-line);
  background: var(--navy-brand);
  color: white;
  font-weight: 720;
}

.faq-search-v18 button:disabled {
  background: transparent;
  color: var(--muted);
  opacity: 1;
}

.faq-search-v18 > div:focus-within {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.faq-search-v18 input:focus-visible,
.faq-search-v18 button:focus-visible {
  outline: 0;
}

.faq-search-v18 > p {
  margin-top: 12px;
}

@media (max-width: 700px) {
  /* Home closing: keep a cinematic pause, but remove the inherited dead stage. */
  .home-threshold-v18 {
    min-height: 0;
  }

  .home-threshold-v18 .threshold-copy {
    padding-top: clamp(258px, 72vw, 286px);
    padding-bottom: 46px;
  }

  .home-threshold-v18 .threshold-links {
    margin-bottom: 46px;
  }

  /* FAQ search remains usable at 320 px and keeps the action visually secondary. */
  .faq-search-v18 {
    margin-bottom: 22px;
    padding: 0 0 26px;
  }

  .faq-search-v18 > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .faq-search-v18 input {
    height: 56px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .faq-search-v18 button {
    min-width: 78px;
    padding-inline: 12px;
    font-size: 12px;
  }

  /* Registration: paired information reads as groups, without changing the DOM. */
  .register-page .register-form form {
    padding-top: 26px;
  }

  .register-page .register-form .form-grid {
    gap-block: 12px;
  }

  .register-page .form-field label {
    margin-bottom: 6px;
  }

  .register-page .form-field input,
  .register-page .form-field select {
    min-height: 48px;
    padding-block: 6px;
  }

  .register-page .field-error:empty {
    min-height: 0;
    margin-top: 0;
  }

  .register-page:not(.register-company) .form-grid > .form-field:nth-child(3),
  .register-page:not(.register-company) .form-grid > .form-field:nth-child(5),
  .register-company .form-grid > .form-field:nth-child(3),
  .register-company .form-grid > .form-field:nth-child(5),
  .register-company .form-grid > .form-field:nth-child(8) {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--theme-line);
  }

  .register-page .check-field {
    min-height: 44px;
    align-items: center;
    margin-top: 12px;
  }

  .register-page .check-field input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .register-page .register-form form > .button {
    margin-top: 22px;
  }

  .register-company .usage-modes {
    margin-bottom: 28px;
  }

  .register-company .usage-modes > p {
    margin-block: 8px 14px;
  }

  .register-company .usage-modes > div {
    gap: 8px;
  }

  .register-company .usage-modes label {
    min-height: 96px;
    align-items: flex-start;
    padding: 15px;
  }
}

@media (max-width: 340px) {
  .home-threshold-v18 .threshold-copy {
    padding-top: 244px;
  }

  .faq-search-v18 button {
    min-width: 72px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-search-v18 input,
  .faq-search-v18 button {
    transition: none !important;
  }
}
