/* Survey hand-off panel on the quote page. Link this on /quote/ only.
   It adds to the site's existing utility-cta, btn and caption classes; every
   rule here is namespaced estimate-handoff. */

.estimate-handoff {
  box-sizing: border-box;
  max-width: 100%;
  margin: 1rem 0;
  overflow-wrap: anywhere;
}

.estimate-handoff [hidden] {
  display: none !important;
}

.estimate-handoff-label {
  display: block;
  font-weight: 600;
}

.estimate-handoff-summary {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 8rem;
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 0.375rem;
  font: 0.875rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: inherit;
  background: transparent;
  resize: vertical;
}

.estimate-handoff-status {
  margin: 0.5rem 0 0;
}

.estimate-handoff-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.estimate-handoff :is(button, textarea):focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
}

@media (max-width: 30rem) {
  .estimate-handoff-button {
    width: 100%;
  }
}
