:root {
  --accent: #353b38;
  --ink: #353b38;
  --muted: #68706b;
  --line: #dedede;
  --pale: #f3f3f3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f7f7;
  color: var(--ink);
  font:
    16px/1.55 Arial,
    Helvetica,
    sans-serif;
}
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding: 26px 32px;
}
header {
  width: 100%;
  margin: 0;
  padding: 16px;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.brand {
  text-decoration: none;
  color: var(--accent);
}
.badge {
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: right;
  flex-shrink: 0;
}
.intro {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin: 12px 0 28px;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: -1px;
  margin: 9px 0 13px;
}
h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 6px 0 12px;
}
h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
p {
  margin: 8px 0 18px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
}
nav ol {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--line);
}
nav li {
  flex: 1;
  padding: 14px 8px;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 3px solid transparent;
}
nav li[aria-current] {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
nav span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin-right: 6px;
}
nav li[aria-current] span {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}
.panel {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  background: white;
  padding: 11px 12px;
  margin-top: 7px;
  font: 16px/1.35 Arial;
  color: var(--ink);
}
textarea {
  min-height: 90px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.muted,
.small {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.muted {
  font-size: 14px;
  margin-bottom: 24px;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: white;
  font: 600 14px/1.4 Arial;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary {
  background: white;
  color: var(--accent);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding-left: 0;
}
.actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
#identity .actions {
  justify-content: flex-end;
}
aside {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
aside h2 {
  font-size: 26px;
  font-weight: 500;
}
aside .eyebrow {
  color: var(--muted);
}
.aside-top,
.aside-bottom {
  padding: 26px;
}
.aside-bottom {
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.aside-bottom p {
  color: var(--muted);
}
.aside-bottom .small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
aside ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 14px;
}
aside li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.notice {
  background: var(--pale);
  padding: 16px;
  border-left: 3px solid var(--accent);
  font-size: 14px;
  margin: 12px 0 20px;
}
.zone {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
  margin-top: 25px;
  margin-bottom: 25px;
}
.zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.remove {
  font-size: 13px;
  color: #8c342d;
  border: 0;
  background: none;
  padding: 5px;
  min-height: 40px;
}
.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}
.photo {
  min-width: 0;
}
.photo img {
  width: 100%;
  height: 155px;
  object-fit: contain;
  background: var(--pale);
  border-radius: 5px;
}
.photo textarea {
  font-size: 14px;
}
.photo .small {
  overflow-wrap: anywhere;
}
.upload {
  background: var(--pale);
  padding: 14px;
  border: 1px dashed #a8a8a8;
  border-radius: 5px;
  margin: 16px 0;
}
.upload input {
  padding: 5px;
  font-size: 13px;
  background: transparent;
  border: 0;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  margin-top: 24px;
}
.check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}
.quote {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
  font-size: 14px;
}
.quote .small {
  margin: 10px 0 0;
}
.summary-block {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.summary-block strong {
  color: var(--accent);
}
#status {
  font-size: 14px;
  color: #8c342d;
  min-height: 22px;
}
footer {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
footer a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    display: none;
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .panel {
    padding: 22px;
  }
}
@media (max-width: 520px) {
  main,
  footer {
    padding: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .photos {
    grid-template-columns: 1fr;
  }
  .actions {
    flex-wrap: wrap;
  }
  .actions button {
    flex: 1;
  }
  .panel {
    padding: 18px;
  }
  nav li {
    font-size: 12px;
    padding: 12px 3px;
  }
  nav span {
    width: 21px;
    height: 21px;
    margin-right: 3px;
  }
  .badge {
    font-size: 10px;
  }
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  line-height: 0;
  min-width: 0;
}
.brand .brand-tagline {
  display: block;
  margin: 0 0 7px;
  font: 400 14px/20px Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  color: #666;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr 0.8fr;
  gap: 16px;
}
.location-grid label {
  min-width: 0;
}
#postcode-help,
#postcode-warning {
  margin: 0;
}
@media (max-width: 650px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.pdf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pdf-ready {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  background: var(--pale);
  margin-top: 14px;
}
.pdf-ready .pdf-actions {
  margin-top: 14px;
}
.pdf-ready .small {
  margin: 12px 0 0;
}
#pdf-status {
  font-size: 14px;
  color: var(--accent);
  margin-top: 12px;
}

.brand .brand-mark {
  display: block;
  width: 214.5px;
  height: 63.23px;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
  line-height: 0;
}
.brand .brand-mark img {
  display: block;
  width: 360px;
  height: auto;
  max-width: none;
}
@media (max-width: 560px) {
  header {
    padding: 19px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand .brand-mark {
    width: 128.1px;
    height: 37.76px;
  }
  .brand .brand-mark img {
    width: 215px;
  }
  .brand .brand-tagline {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 4px;
    max-width: 140px;
  }
  header > .badge {
    margin-left: auto;
    max-width: 110px;
    font-size: 11px;
    letter-spacing: .5px;
    padding: 6px 8px;
  }
}

.community-details {
  margin: 8px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f7f7;
}
.community-details legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 16px;
}
.community-elements,
#community-contact {
  border: 0;
  margin: 22px 0 0;
  padding: 0;
}
.community-elements {
  margin-bottom: 22px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}
.feature-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
}
.contact-choice {
  margin-top: 20px;
}
@media (max-width: 520px) {
  .community-details {
    padding: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

input[type="checkbox"] {
  accent-color: var(--accent);
}

.draft-bar {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.draft-bar p {
  margin: 0.25rem 0;
}
.draft-bar .text-button {
  padding: 0.5rem 0;
}
#draft-confirm {
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
#draft-confirm button {
  margin-right: 1rem;
}

.mail-request {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.mail-request form {
  margin-top: 1rem;
}
.mail-request .check {
  display: block;
}
.mail-request .check input {
  margin-right: 0.5rem;
  vertical-align: middle;
}
.mail-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-dialog { width: min(960px, calc(100vw - 24px)); max-width: none; height: min(820px, calc(100dvh - 32px)); max-height: none; margin: auto; padding: 0; border: 1px solid #dce5e1; background: #fff; color: #353b38; }
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.privacy-dialog-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #dce5e1; }
.privacy-dialog-header h2 { margin: 0; font-size: 20px; }
.privacy-dialog-header button { margin: 0; font-size: 14px; }
.privacy-dialog iframe { display: block; flex: 1; width: 100%; min-height: 0; border: 0; }
body:has(.privacy-dialog[open]) { overflow: hidden; }
