:root{
  /* +50% map sizing on desktop (wider layout + wider map column) */
  --maxW: 1770px;
  --panelBg: #121214;
  --line: rgba(255,255,255,.10);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#0b0b0c;
  color:#f2f2f2;
}

.pageHeader{
  max-width: var(--maxW);
  margin:0 auto;
  padding:22px 16px 10px;
}
.pageHeader h1{
  margin:0 0 6px;
  font-size: 28px;
  letter-spacing:.2px;
}
.subtitle{ margin:0 0 10px; opacity:.85; }
.downloadRow{ margin:10px 0 0; }

.btn{
  display:inline-block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:#ffcc00;
  text-decoration:none;
}
.btn:hover{ background: rgba(255,255,255,.10); }

.layout{
  max-width: var(--maxW);
  margin:0 auto;
  padding:12px 16px 28px;
  display:grid;
  gap:18px;
  grid-template-columns: 1fr;
}

/* Desktop: make the map column ~50% wider */
@media (min-width: 980px){
  .layout{ grid-template-columns: 780px 1fr; align-items:start; }
  .content{ max-width: 900px; }
}

.mapWrap{
  background: var(--panelBg);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.mapStage{
  width:100%;
  /* Match the uploaded image (2047 × 1215) to minimise cropping */
  aspect-ratio: 2047 / 1215;
  position:relative;
  border-radius:12px;
  overflow:hidden;
  outline:1px solid rgba(255,255,255,.12);

  background-image: url("cheshire-map.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pin{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#ffcc00;
  box-shadow: 0 0 0 3px rgba(255,204,0,.25), 0 10px 18px rgba(0,0,0,.45);
  transform: translate(-50%, -50%);
}

.pin a{
  position:absolute;
  inset:-12px;
  border-radius:999px;
  text-indent:-9999px;
  overflow:hidden;
}

.pinLabel{
  position:absolute;
  left:12px;
  top:50%;
  transform: translateY(-50%);
  white-space:nowrap;
  font-size:12px;
  background: rgba(10,10,12,.88);
  border:1px solid rgba(255,255,255,.10);
  padding:6px 8px;
  border-radius:10px;
  opacity:0;
  pointer-events:none;
}

.pin:hover .pinLabel,
.pin:focus-within .pinLabel{
  opacity:1;
}

.legend{
  margin-top:12px;
  display:grid;
  gap:8px;
  font-size:13px;
  opacity:.9;
}
.legend div{
  display:flex;
  gap:10px;
  align-items:center;
}
.legendDot{
  width:10px;height:10px;border-radius:999px;background:#ffcc00;
  box-shadow: 0 0 0 3px rgba(255,204,0,.15);
}

.help{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  background: rgba(255,255,255,.04);
}
.help summary{ cursor:pointer; }
.help ol{ margin:10px 0 0 18px; }
.help code{
  background: rgba(255,255,255,.08);
  padding:2px 6px;
  border-radius:8px;
}

.content{
  background: var(--panelBg);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.toc{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background: rgba(255,255,255,.04);
  margin-bottom: 14px;
}
.toc h2{ margin:0 0 10px; font-size:18px; }
.toc ul{ margin:0; padding-left: 18px; }
.toc li{ margin: 6px 0; }
.toc a{ color:#ffcc00; text-decoration:none; }
.toc a:hover{ text-decoration:underline; }

.toc .toc-lvl2{ margin-left: 0; }
.toc .toc-lvl3{ margin-left: 12px; opacity:.95; }
.toc .toc-lvl4{ margin-left: 24px; opacity:.9; }

.report h2{ margin:18px 0 8px; font-size:22px; }
.report h3{
  margin:20px 0 8px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:18px;
}
.report h4{
  margin:18px 0 8px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:16px;
  opacity:.95;
}
.report p{ line-height:1.6; opacity:.96; margin:10px 0; }
.spacer{ height:10px; }

.doc-list{
  margin: 8px 0 12px 22px;
  line-height:1.6;
}
.tableWrap{ overflow:auto; margin: 12px 0; }
.doc-table{
  border-collapse: collapse;
  min-width: 420px;
  width: 100%;
}
.doc-table td{
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px;
  vertical-align: top;
  line-height:1.45;
}

.footerNote{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  opacity:.85;
  font-size:13px;
}

code{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
