* { box-sizing: border-box; }
body { margin: 0; background: #f5f7fb; color: #192638; font: 1rem/1.55 system-ui, sans-serif; }
.wrap { width: min(50rem, calc(100% - 2rem)); margin-inline: auto; }
header { background: #142b48; color: white; padding: 0.9rem 0; font-weight: 700; }
main { padding-block: 1.5rem 3rem; }
h1, h2, h3, h4 { line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h4 { margin-bottom: 0.4rem; }
label { display: block; font-weight: 650; margin-block: 1.5rem 0.4rem; }
#url-help { margin-block: 0 0.5rem; }
#status:not(:empty) { font-weight: 650; }
#status[data-state="partial"] { color: #78520b; }
#status[data-state="error"] { color: #9a2525; }
.input-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
input, button { font: inherit; border-radius: 0.4rem; padding: 0.6rem 0.8rem; }
input { flex: 1 1 15rem; min-width: 0; border: 1px solid #75869a; }
button { background: #2156a2; color: white; border: 1px solid #2156a2; font-weight: 650; cursor: pointer; }
button:disabled { opacity: 0.65; cursor: wait; }
details, section { margin-top: 1rem; }
details, #report section article, #report section:last-child {
  padding: 0.9rem 1.15rem;
  border: 1px solid #d1dbe7;
  border-radius: 0.5rem;
  background: white;
}
#report section article + article { margin-top: 0.75rem; }
#report section:last-child { background: #e9f1fe; }
#report section:last-child h2, section article h3 { margin-top: 0; }
summary { cursor: pointer; }
article, summary { overflow-wrap: anywhere; }
dt { font-weight: 650; }
dd { margin: 0 0 0.4rem; }
pre { white-space: pre-wrap; margin: 0; }
a { color: #174887; font-weight: 650; }
li + li { margin-top: 0.35rem; }
.enquiry { margin-bottom: 1rem; }
.enquiry input, .enquiry textarea {
  width: 100%;
  max-width: 32rem;
}
.enquiry textarea {
  display: block;
  font: inherit;
  border: 1px solid #75869a;
  border-radius: 0.4rem;
  padding: 0.6rem 0.8rem;
  resize: vertical;
}

.privacy-footer { padding-bottom: 1.5rem; font-size: 0.875rem; }
.privacy-footer p { margin: 0; }


.result-status {
  display: inline-block;
  border-radius: 0.3rem;
  padding: 0.05rem 0.4rem;
  background: #e8edf3;
  color: #26384b;
  font-size: 0.875rem;
  font-weight: 700;
}
.result-status[data-state="pass"] { background: #e3f4e9; color: #175436; }
.result-status[data-state="warning"] { background: #fff2cd; color: #624600; }
.result-status[data-state="blocked"] { background: #fbe9e9; color: #842424; }

#report pre, #report code, #report dd {
  overflow-wrap: anywhere;
}
.enquiry input, .enquiry textarea { min-width: 0; }
.enquiry iframe { max-width: 100%; }

@media (max-width: 36rem) {
  main { padding-block: 1rem 2rem; }
  .input-row { flex-direction: column; align-items: stretch; }
  .input-row input { flex: auto; width: 100%; }
  .input-row button, .enquiry button { width: 100%; }
  details, #report section article, #report section:last-child {
    padding: 0.75rem;
  }
  #report article details { padding-inline: 0.5rem; }
  #report ol { padding-inline-start: 1.4rem; }
}


:where(a, button, input, summary, textarea):focus-visible,
#report > h2:focus-visible {
  outline: 3px solid #174887;
  outline-offset: 3px;
}
a { text-decoration: underline; }


header .brand { color: inherit; }
header .brand:focus-visible { outline-color: white; }
