/* Presentation only for the Website Enquiry Check summary. */
body[data-tool="website-enquiry-check"] #website-check-summary[hidden] {
  display: none !important;
}

body[data-tool="website-enquiry-check"] #website-check-summary {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--wf-line);
  border-radius: 10px;
  background: var(--wf-soft);
  color: var(--wf-ink);
  overflow-wrap: anywhere;
}

body[data-tool="website-enquiry-check"] #website-check-summary h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.4;
}

body[data-tool="website-enquiry-check"] #website-check-summary p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.6;
}

body[data-tool="website-enquiry-check"] #website-check-summary label {
  display: block;
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
}

body[data-tool="website-enquiry-check"] #website-check-summary textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 15rem;
  padding: 12px;
  border: 1px solid #88959b;
  border-radius: 6px;
  background: var(--wf-paper);
  color: var(--wf-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  resize: vertical;
}

body[data-tool="website-enquiry-check"] #website-check-summary button {
  box-sizing: border-box;
  min-height: 48px;
  max-width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 1rem;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

body[data-tool="website-enquiry-check"] #website-check-summary :is(textarea, button):focus-visible {
  outline: 3px solid var(--wf-accent);
  outline-offset: 3px;
}

body[data-tool="website-enquiry-check"] #website-check-summary #website-check-summary-status {
  margin: 12px 0 0;
  min-height: 1.6em;
}

@media (max-width: 440px) {
  body[data-tool="website-enquiry-check"] #website-check-summary {
    padding: 16px 12px;
  }

  body[data-tool="website-enquiry-check"] #website-check-summary button {
    width: 100%;
  }
}
