.enterprise-demand-page {
  min-height: calc(844px - 76px);
  background: #fff;
}

.enterprise-demand-intro {
  padding: 28px 18px 24px;
  background: var(--brand-deep);
  color: #fff;
}

.enterprise-demand-intro > span {
  color: rgb(255 255 255 / 0.62);
  letter-spacing: 0.14em;
  font-family: var(--numeric);
  font-size: 9px;
  font-weight: 700;
}

.enterprise-demand-intro h2 {
  max-width: 320px;
  margin: 9px 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.4;
}

.enterprise-demand-intro p {
  margin: 0;
  color: rgb(255 255 255 / 0.76);
  font-size: 11px;
  line-height: 1.75;
}

.enterprise-demand-intro small {
  display: block;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  color: rgb(255 255 255 / 0.54);
  font-size: 9px;
  line-height: 1.65;
}

.enterprise-demand-form {
  display: grid;
  padding: 12px 18px 0;
}

.enterprise-demand-field {
  display: grid;
  gap: 7px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-default);
}

.enterprise-demand-field > label {
  font-size: 12px;
  font-weight: 700;
}

.optional-mark {
  margin-left: 7px;
  color: var(--ink-secondary);
  font-size: 9px;
  font-weight: 400;
}

.enterprise-demand-control {
  position: relative;
}

.enterprise-demand-control > input,
.enterprise-demand-control textarea,
.enterprise-demand-control .phone-primary-row input,
.enterprise-demand-control .sms-panel input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-default);
  border-radius: 3px;
  outline: 0;
  background: #fff;
  color: var(--ink-primary);
  font: 12px var(--sans);
}

.enterprise-demand-control textarea {
  min-height: 118px;
  padding-block: 12px 28px;
  line-height: 1.65;
  resize: none;
}

.enterprise-demand-control input:focus,
.enterprise-demand-control textarea:focus,
.demand-picker-trigger:focus-visible {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgb(19 82 74 / 0.08);
}

.enterprise-demand-control input[readonly] {
  background: var(--surface-muted);
  color: #47514e;
}

.enterprise-demand-control .phone-primary-row[hidden] {
  display: none;
}

.enterprise-demand-field.invalid .enterprise-demand-control > input,
.enterprise-demand-field.invalid .phone-primary-row input,
.enterprise-demand-field.invalid textarea,
.enterprise-demand-field.invalid .demand-picker-trigger {
  border-color: var(--error);
}

.demand-picker-trigger {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--line-default);
  border-radius: 3px;
  background: #fff;
  color: #89918e;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.demand-picker-trigger.has-value {
  color: var(--ink-primary);
}

.demand-picker-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--ink-secondary);
}

.demand-picker-sheet [data-demand-picker-done] {
  color: var(--brand-primary);
  font-weight: 700;
}

.demand-picker-sheet [data-demand-picker-done]:disabled {
  color: #aeb7b4;
}

.demand-character-count {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: var(--ink-secondary);
  font: 9px var(--numeric);
}

.demand-character-count b {
  font-weight: 500;
}

.demand-sensitive-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-secondary);
  font-size: 9px;
  line-height: 1.5;
}

.demand-sensitive-hint svg {
  width: 12px;
  height: 12px;
  color: var(--brand-primary);
}

.enterprise-demand-error {
  min-height: 0;
  margin: 0;
  color: var(--error);
  font-size: 10px;
}

.enterprise-demand-error:empty {
  display: none;
}

.demand-privacy-notice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin-top: 20px;
  padding: 14px;
  border-left: 3px solid var(--brand-primary);
  background: var(--brand-soft);
}

.demand-privacy-notice > svg {
  width: 19px;
  height: 19px;
  color: var(--brand-primary);
}

.demand-privacy-notice strong {
  font-family: var(--serif);
  font-size: 13px;
}

.demand-privacy-notice p {
  margin: 5px 0 0;
  color: var(--ink-secondary);
  font-size: 10px;
  line-height: 1.65;
}

.demand-privacy-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  margin-top: 14px;
  color: var(--ink-secondary);
  font-size: 10px;
  line-height: 1.65;
  cursor: pointer;
}

.demand-privacy-consent > input {
  position: absolute;
  opacity: 0;
}

.demand-privacy-consent input:checked + .consent-box {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

.demand-privacy-consent button {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-primary);
  font-size: inherit;
  cursor: pointer;
}

.demand-privacy-consent button::before {
  position: absolute;
  top: 50%;
  left: -6px;
  width: calc(100% + 12px);
  height: 44px;
  content: "";
  transform: translateY(-50%);
}

.demand-privacy-consent.invalid .consent-box {
  border-color: var(--error);
}

[data-demand-consent-error] {
  margin: 3px 0 0 29px;
}

.enterprise-demand-disclaimer {
  margin: 10px 0 18px;
  color: var(--ink-secondary);
  font-size: 9px;
  line-height: 1.7;
}

.enterprise-demand-submit {
  position: sticky;
  z-index: 4;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-inline: -18px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-default);
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 -10px 30px rgb(23 61 55 / 0.08);
}

.enterprise-demand-submit > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.enterprise-demand-submit span {
  color: var(--ink-secondary);
  font-size: 9px;
}

.enterprise-demand-submit strong {
  font-size: 11px;
}

.enterprise-demand-submit button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border: 0;
  border-radius: 3px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.enterprise-demand-submit svg {
  width: 15px;
  height: 15px;
}

.demand-login-sheet {
  position: relative;
  display: grid;
  width: min(390px, 100vw);
  justify-items: center;
  padding: 30px 22px calc(22px + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  background: #fff;
  text-align: center;
  animation: sheet-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.demand-login-sheet > .icon-button {
  position: absolute;
  top: 16px;
  right: 16px;
}

.demand-login-sheet > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-primary);
}

.demand-login-sheet > span svg {
  width: 24px;
  height: 24px;
}

.demand-login-sheet > small {
  color: var(--brand-primary);
  font-size: 9px;
  font-weight: 700;
}

.demand-login-sheet h2 {
  margin: 7px 0 9px;
  font-family: var(--serif);
  font-size: 20px;
}

.demand-login-sheet p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 10px;
  line-height: 1.7;
}

.demand-login-sheet > button[data-demand-login] {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border: 0;
  border-radius: 3px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.demand-login-sheet em {
  margin-top: 10px;
  color: #8b9491;
  font-size: 9px;
  font-style: normal;
}

@media (max-width: 359px) {
  .enterprise-demand-form {
    padding-inline: 14px;
  }

  .enterprise-demand-submit {
    margin-inline: -14px;
    gap: 8px;
    padding-inline: 10px;
  }

  .enterprise-demand-submit button {
    padding-inline: 12px;
  }
}
