:root {
  color-scheme: light;
}

.customer-calculator-root,
.place-autocomplete-host,
.place-autocomplete-host gmp-place-autocomplete {
  color-scheme: light !important;
}

.place-autocomplete-host gmp-place-autocomplete {
  background: #fff;
  color: var(--mm-text);
}

.manual-quote-form {
  border-top: 1px solid #ffd3a6;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-top: 18px;
}

.manual-quote-form h3,
.manual-quote-form p {
  margin: 0;
}

.manual-quote-form > p {
  color: var(--mm-muted);
}

.manual-quote-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manual-quote-grid label {
  display: grid;
  gap: 6px;
}

.manual-quote-grid label > span {
  color: var(--mm-muted);
  font-weight: 700 !important;
}

.manual-quote-grid em {
  font-style: normal;
  font-weight: 400 !important;
}

.manual-quote-grid input,
.manual-quote-grid textarea {
  background: #fff;
  border: 1px solid #d8d3ca;
  border-radius: 10px;
  color: var(--mm-text);
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.manual-quote-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.manual-quote-grid input:focus,
.manual-quote-grid textarea:focus {
  border-color: var(--mm-orange);
  outline: 3px solid #f68b242e;
}

.manual-quote-full {
  grid-column: 1 / -1;
}

.manual-quote-honeypot {
  height: 0;
  left: -10000px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.manual-quote-consent {
  align-items: start;
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 10px;
  display: grid;
  gap: 9px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 12px;
}

.manual-quote-consent input {
  accent-color: var(--mm-orange);
  height: 18px;
  margin: 2px 0 0;
  width: 18px;
}

.manual-quote-consent a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.manual-quote-submit {
  justify-self: start;
}

.manual-quote-status {
  font-weight: 700 !important;
}

.manual-quote-status.is-success {
  color: #267247 !important;
}

.manual-quote-status.is-error {
  color: #a43d32 !important;
}

.quote-save-panel {
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
}

.quote-save-panel > p,
.quote-save-form > p {
  color: var(--mm-muted);
  margin: 0;
}

.quote-save-submit {
  justify-self: stretch;
  min-height: 54px;
  width: 100%;
}

.quote-save-form {
  display: grid;
  gap: 12px;
}

.quote-save-form h3 {
  margin: 0;
}

.quote-payment-note {
  color: var(--mm-muted);
  font-size: 14px !important;
  margin: 0;
}

.quote-payment-note strong {
  color: var(--mm-text);
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.quote-installment-choice {
  border: 0;
  display: grid;
  gap: 8px;
  margin: 8px 0;
  padding: 0;
}

.quote-installment-choice legend {
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0;
}

.quote-installment-choice select {
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 8px;
  font: inherit;
  min-height: 48px;
  padding: 8px 12px;
  width: 100%;
}

.quote-installment-choice small {
  color: var(--mm-muted);
}

.quote-payment-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-payment-options.has-deposit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-deposit-hint {
  color: var(--mm-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.quote-payment-option {
  appearance: none;
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  color: var(--mm-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 54px;
  padding: 10px 12px;
  text-align: center;
}

.quote-payment-option:hover {
  border-color: var(--mm-orange);
}

.quote-payment-option.is-selected {
  background: #fff8f0;
  border: 2px solid var(--mm-orange);
  color: #8b430b;
}

.quote-payment-option:focus-visible {
  outline: 3px solid #f68b242e;
  outline-offset: 2px;
}

.quote-installment-choice [hidden] {
  display: none !important;
}

.quote-hold-panel {
  background: #fff8f0;
  border: 1px solid #ffd3a6;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 16px;
}

.payment-checkout-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 55, 43, 0.16);
}

.payment-checkout-panel h3,
.payment-checkout-panel p {
  margin-top: 0;
}

.payment-checkout-button {
  width: 100%;
}

.mymove-payment-return {
  max-width: 980px;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid #c7b66b;
  border-radius: 10px;
  background: #fff8d9;
  color: #5f4b00;
  font-weight: 700;
}

.mymove-payment-return.is-success {
  border-color: #74ad8b;
  background: #eaf7ef;
  color: #185f35;
}

.mymove-payment-return.is-error {
  border-color: #d99a94;
  background: #fff0ee;
  color: #922f25;
}

.quote-hold-panel h3,
.quote-hold-panel p {
  margin: 0;
}

.quote-hold-panel > p:not(.manual-quote-status) {
  color: var(--mm-muted);
}

.quote-hold-button {
  justify-self: start;
}

@media (max-width: 560px) {
  .manual-quote-grid {
    grid-template-columns: 1fr;
  }

  .manual-quote-full {
    grid-column: auto;
  }

  .manual-quote-submit {
    justify-self: stretch;
    width: 100%;
  }

  .quote-save-submit,
  .quote-hold-button {
    justify-self: stretch;
    width: 100%;
  }

  .quote-payment-options,
  .quote-payment-options.has-deposit {
    grid-template-columns: 1fr;
  }

  .quote-save-panel {
    border-radius: 13px;
    padding: 14px;
  }
}

/* 0.9.63: mobile checkout/manual-request touch and keyboard ergonomics. */
@media (max-width: 760px) {
  .manual-quote-form,
  .quote-save-form,
  .quote-hold-panel,
  .payment-checkout-panel {
    gap: 12px;
  }

  .manual-quote-grid {
    gap: 11px;
  }

  .manual-quote-grid input,
  .manual-quote-grid textarea,
  .quote-installment-choice select {
    min-height: 52px;
    font-size: 16px !important;
  }

  .manual-quote-grid textarea {
    min-height: 108px;
  }

  .manual-quote-consent {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    line-height: 1.45;
  }

  .manual-quote-consent input {
    width: 22px;
    height: 22px;
  }

  .manual-quote-submit,
  .quote-save-submit,
  .quote-hold-button,
  .payment-checkout-button {
    width: 100%;
    min-height: 52px;
    justify-self: stretch;
  }

  .quote-hold-panel {
    border-radius: 11px;
    padding: 14px;
  }

  .mymove-payment-return {
    margin-inline: max(8px, env(safe-area-inset-left));
    padding: 13px 14px;
    line-height: 1.45;
  }
}
