:root {
  --ink: #153b35;
  --text: #263a36;
  --muted: #566760;
  --cream: #f4f2ea;
  --paper: #fffefa;
  --line: #d3dbd4;
  --accent: #244e40;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow-wrap: anywhere;
}
a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #996413;
  outline-offset: 4px;
}
h1,
h2,
h3,
.brand {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: normal;
  line-height: 1.12;
}
h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  margin: 0.3em 0;
}
h2 {
  font-size: 2rem;
  margin: 0 0 0.5em;
}
h3 {
  font-size: 1.35rem;
  margin: 0.5em 0;
}
p {
  margin: 0.6em 0 1em;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  min-height: 44px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: white;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
button {
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
}
.text-button {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  padding: 0.4rem;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  padding: 1rem;
  background: white;
  z-index: 20;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem max(4vw, 1.2rem);
  background: white;
}
.brand {
  font-size: 1.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  display: block;
  font:
    0.62rem/1.5 Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  gap: 0.4rem;
  align-items: center;
  padding: 0.5rem;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-header nav a[aria-current] {
  text-decoration: underline;
}
.accuracy-notice {
  background: var(--cream);
  border-block: 1px solid var(--line);
  padding: 0.45rem 4vw;
  font-size: 0.76rem;
  color: #48574e;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 480px;
  background: var(--cream);
}
.hero-copy {
  align-self: center;
  padding: 3rem 4vw;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.69rem;
  color: var(--muted);
  font-weight: bold;
}
.lede {
  font-size: 1.2rem;
  max-width: 48rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}
.photo {
  margin: 2rem 0;
  background: #e1e6df;
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
}
.photo-placeholder {
  min-height: 280px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #405347;
  border: 1px solid #bdcbbf;
  outline: 1px solid #bdcbbf;
  outline-offset: -15px;
}
.photo-placeholder span {
  font-family: Georgia, serif;
  font-size: 2rem;
}
.photo-placeholder strong {
  font-weight: normal;
}
.photo-placeholder small {
  max-width: 22rem;
}
.photo figcaption {
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  color: #405347;
}
.hero-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.hero-photo .photo-placeholder {
  flex: 1;
}
.guide-section {
  background: var(--cream);
  padding: 2.5rem 4vw 3rem;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.card {
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  position: relative;
}
.card p {
  font-size: 0.92rem;
}
.card h3 a {
  text-decoration: none;
}
.card h3 a:hover {
  text-decoration: underline;
}
.guide-grid .card {
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 1.1rem;
}
.guide-grid .card:first-child {
  border-left: 0;
  padding-left: 0;
}
.arrow {
  display: block;
  color: var(--ink);
  font-size: 1.4rem;
}
.content-section {
  padding: 3rem 4vw;
}
.card-grid,
.secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.card-grid .card {
  border-top: 4px solid #a9baaa;
  min-height: 230px;
}
.secondary-grid {
  padding-top: 0;
}
.charges-invitation {
  background: var(--cream);
}
.charges-invitation h2 {
  font-size: 1.6rem;
}
.page-shell {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 4vw 4rem;
}
.breadcrumbs {
  display: flex;
  gap: 0.7rem;
  text-transform: capitalize;
  font-size: 0.8rem;
}
.page-heading {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.page-heading h1 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}
.prose {
  max-width: 750px;
}
.prose h2 {
  margin-top: 1.6em;
}
.prose li {
  margin: 0.7rem 0;
}
.callout {
  background: var(--cream);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.5rem;
  margin: 1.8rem 0;
  max-width: 750px;
}
.callout p:last-child {
  margin-bottom: 0;
}
.related {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2rem;
}
.related ul {
  columns: 2;
  list-style: none;
  padding: 0;
}
.related a {
  text-transform: capitalize;
  display: inline-block;
  padding: 0.5rem 0;
}
.site-footer {
  padding: 2.8rem 4vw;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer a,
.site-footer .brand {
  color: white;
}
.site-footer p {
  font-size: 0.8rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.site-footer nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.form-panel {
  max-width: 600px;
  margin: 2rem 0;
  padding: 1.7rem;
  background: var(--cream);
}
label {
  display: block;
  font-weight: bold;
  margin-top: 1rem;
}
input,
textarea,
select {
  max-width: 100%;
  padding: 0.65rem;
  border: 1px solid #637569;
  background: white;
  color: var(--text);
}
input[type="email"],
textarea {
  width: 100%;
}
form button {
  margin-top: 1.3rem;
}
.form-panel small {
  display: block;
}
.status {
  font-weight: bold;
}
.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}
caption {
  text-align: left;
  margin-bottom: 0.8rem;
  font-weight: bold;
}
th,
td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead {
  background: var(--cream);
}
.money {
  white-space: nowrap;
  text-align: right;
}
.filters > label {
  min-width: 0;
  max-width: 100%;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.filters label {
  font-size: 0.85rem;
}
.filters select {
  display: block;
}
.chart-list {
  list-style: none;
  padding: 0;
}
.chart-list li {
  margin: 1rem 0;
}
.chart-bar {
  height: 1rem;
  background: var(--accent);
  max-width: 100%;
}
.charge-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1rem;
}
.charge-nav a {
  min-height: 44px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .guide-grid .card:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
  .hero-copy {
    padding: 2rem 4vw;
  }
  .site-footer {
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-header nav {
    grid-column: 1 / -1;
    flex-direction: column;
  }
  :root {
    font-size: 16px;
  }
  .brand {
    font-size: 1.6rem;
    white-space: normal;
  }
  .brand span {
    font-size: 0.58rem;
  }
  .site-header nav {
    gap: 0.2rem 1.2rem;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    min-height: 260px;
  }
  .hero-copy {
    padding: 2.4rem 5vw;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-photo .photo-placeholder {
    min-height: 220px;
    padding: 2rem;
  }
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-grid .card:nth-child(4) {
    border-left: 1px solid var(--line);
    padding-left: 1.1rem;
  }
  .guide-grid .card:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
  .card-grid,
  .secondary-grid {
    grid-template-columns: 1fr;
  }
  .content-section,
  .guide-section {
    padding: 2rem 5vw;
  }
  .secondary-grid {
    padding-top: 0;
  }
  .related ul {
    columns: 1;
  }
  .page-shell {
    padding-inline: 5vw;
  }
  .form-panel {
    padding: 1.2rem;
  }
  .site-footer nav {
    gap: 1rem;
  }
  .photo-placeholder {
    padding: 2rem;
  }
}

.map-viewport {
  height: min(75vh, 800px);
  overflow: auto;
  background: #f3f1e8;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 1rem;
}
.estate-map svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
.map-route {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.map-route-road {
  stroke: #b4b7ae;
  stroke-width: 4;
}
.map-route-path {
  stroke: #ced0c6;
  stroke-width: 1.2;
}
.map-context-building {
  fill: #d2d0c5;
  stroke: #aaa99f;
  stroke-width: 0.3;
}
.estate-map .map-building {
  fill: #436b5d;
  stroke: #153e35;
  stroke-width: 0.4;
}
.estate-map svg a circle {
  fill: #153e35;
  stroke: white;
  stroke-width: 0.8;
}
.estate-map svg a text {
  fill: white;
  font: bold 6px sans-serif;
}
.estate-map svg a:hover .map-building,
.estate-map svg a:focus .map-building,
.estate-map svg a[aria-current] .map-building {
  fill: #a75620;
  stroke: #102e26;
  stroke-width: 0.7;
}
.estate-map svg a:focus {
  outline: 1px solid #102e26;
  outline-offset: 1px;
}
.map-compass path,
.map-scale path {
  fill: none;
  stroke: #153e35;
  stroke-width: 0.7;
}
.map-compass text,
.map-scale text {
  fill: #153e35;
  font: bold 5px sans-serif;
}
.map-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.map-controls[hidden] {
  display: none;
}
.map-controls input {
  width: 140px;
}
.map-controls button {
  font: inherit;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}
.map-attribution {
  font-size: 0.85rem;
}
.map-status {
  font-weight: 700;
}
.estate-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding-left: 1.5rem;
}
.estate-location {
  padding: 1rem;
  border: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.estate-location:target,
.estate-location:focus {
  outline: 3px solid #a75620;
  outline-offset: 3px;
}
.estate-location h3 {
  margin-top: 0;
}
.map-postcode {
  font-size: 1.3rem;
  font-weight: 700;
}
.map-coordinates {
  user-select: all;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.map-actions button {
  background: #153e35;
  color: white;
  border: 0;
  padding: 0.65rem;
  cursor: pointer;
  font: inherit;
}
.map-sources {
  margin-block: 2rem;
}
.map-sources summary {
  cursor: pointer;
  font-weight: 700;
}
@media (max-width: 600px) {
  .estate-directory {
    grid-template-columns: 1fr;
  }
}

/* Live cards and native controls are rendered by the Python Worker. */
.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.event-card {
  height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.event-date {
  font-weight: 700;
}
.live-events form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block: 1.5rem;
}
.live-events select,
.live-events button {
  font: inherit;
  padding: 0.65rem;
  max-width: 100%;
}
.event-sources {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.event-sources p {
  margin-block: 0.4rem;
}
.event-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-block: 1.5rem;
}
