body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: #1f2937;
  background: #f9fafb;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  text-align: center;
}
h1 { font-size: 2.25rem; margin: 0 0 0.25rem; color: #1e3a5f; }
.subheading { font-size: 1.25rem; font-weight: 600; margin: 0 0 1.5rem; }
.note { color: #6b7280; font-size: 0.9rem; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}
.site-header .brand { font-weight: 700; color: #1e3a5f; text-decoration: none; }
.site-header nav a { margin-left: 1rem; }
main.wide { max-width: 60rem; text-align: left; padding-top: 2rem; }
.choice { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.choice-button { background: #1e3a5f; color: #fff; text-decoration: none; padding: 0.9rem 1.6rem; border-radius: 0.5rem; font-size: 1.1rem; font-weight: 600; }
.search-form { background: #fff; border: 1px solid #e3e7ee; border-radius: 0.5rem; padding: 1rem; margin: 1rem 0; }
.search-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem 1rem; margin-bottom: 1rem; }
.search-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.search-field select, .search-field input[type="text"], .filter-box { width: 100%; padding: 0.45rem; font-size: 1rem; box-sizing: border-box; }
.filter-box { margin-bottom: 0.25rem; border: 1px dashed #9aa5b4; }
.search-check { align-self: end; }
.search-check label { font-weight: 600; }
.clear-link { margin-left: 1rem; }
.result-count { font-weight: 600; }
.results { list-style: none; padding: 0; }
.result { background: #fff; border: 1px solid #e3e7ee; border-radius: 0.5rem; padding: 1rem; margin-bottom: 0.75rem; }
.result h2 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.result .areas { color: #4b5563; font-size: 0.9rem; margin-top: 0.25rem; }
.pagination { display: flex; gap: 1rem; justify-content: center; align-items: center; margin: 1.5rem 0; }
.enquiry-form fieldset { border: 1px solid #d1d5db; border-radius: 0.5rem; margin: 0 0 1.25rem; padding: 1rem; background: #fff; }
.enquiry-form select, .enquiry-form textarea, .enquiry-form input[type="tel"], .enquiry-form input[type="date"] { width: 100%; padding: 0.45rem; font-size: 1rem; box-sizing: border-box; }
.enquiry-form label { font-weight: 600; }
.enquiry-form label.check, .enquiry-form .choices label { font-weight: normal; }
.confidential-note { background: #fff7e6; border-left: 4px solid #d97706; padding: 0.6rem 0.8rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; border-top: 1px solid #e3e7ee; font-size: 0.9rem; color: #5a6472; text-align: center; }
.messages { list-style: none; padding: 0.75rem 1rem; background: #eef6ee; border-radius: 0.5rem; text-align: left; }
form { text-align: left; }
form p { margin: 0 0 1rem; }
form input[type="email"], form input[type="password"], form input[type="text"] {
  width: 100%; padding: 0.5rem; font-size: 1rem; box-sizing: border-box;
}
form ul { list-style: none; padding-left: 0; }
button, input[type="submit"] {
  background: #1e3a5f; color: #fff; border: 0; border-radius: 0.375rem;
  padding: 0.6rem 1.2rem; font-size: 1rem; cursor: pointer;
}
.legal { text-align: left; }
.profile-form fieldset { border: 1px solid #d1d5db; border-radius: 0.5rem; margin: 0 0 1.5rem; padding: 1rem; }
.profile-form legend { font-weight: 700; color: #1e3a5f; padding: 0 0.25rem; }
.profile-form label { display: block; margin-top: 0.75rem; font-weight: 600; }
.profile-form label.check { font-weight: 400; }
.profile-form input[type="text"], .profile-form input[type="email"], .profile-form input[type="url"],
.profile-form input[type="number"], .profile-form select, .profile-form textarea {
  width: 100%; padding: 0.5rem; font-size: 1rem; box-sizing: border-box;
}
.profile-form .choices { max-height: 14rem; overflow-y: auto; border: 1px solid #e5e7eb; padding: 0.5rem; border-radius: 0.375rem; }
.profile-form .choices label { font-weight: 400; margin: 0.15rem 0; }
.helptext { display: block; color: #6b7280; font-size: 0.875rem; }
.errorlist { color: #b91c1c; padding-left: 1rem; }
.todo { background: #fff7ed; border-radius: 0.5rem; padding: 0.5rem 1rem; text-align: left; }
.actions { list-style: none; padding: 0; }
.profile-photo { display: block; width: 8rem; height: 8rem; object-fit: cover; border-radius: 50%; margin: 0.5rem 0; }
.profile { text-align: left; }
.profile-header { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.profile-header .profile-photo { margin: 0; }
.profile h1 { margin: 0 0 0.25rem; text-align: left; }
.badge { display: inline-block; background: #e7f5ec; color: #166534; border: 1px solid #a7d7b8; border-radius: 999px; padding: 0.15rem 0.7rem; font-weight: 700; font-size: 0.9rem; }
.badge-date { color: #6b7280; font-size: 0.9rem; margin-left: 0.4rem; }
.label { display: inline-block; background: #eef2f7; color: #1e3a5f; border-radius: 0.375rem; padding: 0.15rem 0.6rem; font-size: 0.9rem; margin-top: 0.4rem; }
.preview-banner { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 0.5rem; padding: 0.6rem 1rem; text-align: left; }
.profile dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1rem; }
.profile dt { font-weight: 600; color: #1e3a5f; }
.profile dd { margin: 0; }
