:root{color-scheme:dark;--ink:#f2efeb;--gold:#be9b67;--muted:#b5b1a9;--line:#be9b674a;--surface:#0c0c09}
body{background:var(--surface);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.area-shell{width:min(1260px,calc(100% - clamp(32px,12vw,176px)));margin-inline:auto}
.area-bar,.area-footer{background:#10100d;border-bottom:1px solid var(--line)}
.area-bar .area-shell,.area-footer .area-shell{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:21px}
.area-bar a,.area-footer a,.crumbs a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #d2b17d;outline-offset:4px}
.brand{font-weight:650;font-size:1.32rem;letter-spacing:-.045em}
.area-nav{display:flex;gap:24px;font-size:.92rem}.area-nav a:hover,.area-footer a:hover,.crumbs a:hover{text-decoration:underline}
.area-main{padding:0 0 60px;overflow:visible}.crumbs{padding-top:25px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:.82rem;color:var(--muted)}.crumbs span[aria-hidden]{color:var(--gold)}
.area-hero{padding:44px 0 24px;border-bottom:1px solid var(--line)}.area-kicker{font-size:.75rem;text-transform:uppercase;color:var(--gold);letter-spacing:.21em;font-weight:600}
.area-hero h1,.section-title{font-family:"Cormorant Garamond",Georgia,serif;font-weight:400;letter-spacing:-.045em;line-height:1.08}
.area-hero h1{margin:15px 0 18px;font-size:clamp(2.45rem,5.3vw,4.6rem)}.area-hero h1 em{color:#c7a46f;font-weight:400}
.intro,.area-copy{font-size:1.04rem;line-height:1.65;color:var(--muted);max-width:77ch}
.jump{display:inline-flex;align-items:center;justify-content:center;margin:20px 0 3px;padding:10px 18px;background:var(--gold);color:#16130f;text-decoration:none;font-weight:650}
.jump:hover{background:#d4b382}.area-content{padding-top:32px}.section-title{font-size:clamp(1.9rem,3.5vw,2.9rem);margin:3px 0 15px}
.area-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}.area-grid article{border-top:1px solid var(--line);padding:22px 0 25px;min-width:0}
.area-grid h3{font-family:Georgia,serif;font-size:1.45rem;line-height:1.25;font-weight:400;margin:0 0 10px;letter-spacing:-.015em}
.area-grid ul{margin:.55rem 0;padding:0;list-style:none}.area-grid li{margin:.45rem 0}.area-grid p{color:var(--muted);line-height:1.6;margin:0 0 .6rem}
.area-content a,.jump-links a,.area-sources a,.status a{color:#d3b789;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.area-content a:hover,.jump-links a:hover,.area-sources a:hover{color:#f2efeb}.area-content li small{color:var(--muted);white-space:nowrap;font-size:.85rem}
.area-sources,.nearby,.directory-block{padding:26px 0 18px;border-top:1px solid var(--line)}
.area-sources{font-size:.9rem;color:var(--muted)}.area-sources summary{cursor:pointer;color:var(--ink);margin-bottom:7px}
.nearby h2,.directory-block h2{margin:0 0 12px;font:400 1.65rem Georgia,serif}.jump-links{display:flex;flex-wrap:wrap;gap:8px 20px}
.area-footer{border-top:1px solid var(--line);border-bottom:0}.area-footer a:last-child{font-size:.92rem;color:#d3b789}
.directory-block{margin-top:22px}.councils{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}
.councils a{display:block;padding:11px 0;color:var(--ink);border-bottom:1px solid #be9b6726;text-decoration:none}.councils a:hover{text-decoration:underline;color:#d3b789}
.directory-filter{margin-top:22px;max-width:33rem}.directory-filter label{display:block;color:var(--ink);margin-bottom:7px}.directory-filter input{width:100%;background:#161612;border:1px solid var(--line);color:var(--ink);padding:12px 15px}.directory-filter output{display:block;margin-top:6px;color:var(--muted);font-size:.9rem}
#checker{scroll-margin-top:12px}#checker .text-button{cursor:pointer}#checker .registers{margin-bottom:.5rem}
.skip{position:absolute;left:8px;transform:translateY(-150%);background:#171711;padding:8px;color:white}.skip:focus{transform:none}.status{padding:18px 0;color:var(--muted)}
@media(max-width:760px){.area-grid{grid-template-columns:1fr}.councils{grid-template-columns:1fr 1fr}.area-hero{padding-top:30px}.area-shell{width:calc(100% - 36px)}.area-nav{gap:14px}}
@media(max-width:440px){.councils{grid-template-columns:1fr}.area-nav{gap:10px;font-size:.84rem}.area-bar .area-shell{gap:10px}.area-hero h1{font-size:2.55rem}}
.more-areas{margin:9px 0 15px}.more-areas summary{cursor:pointer;color:var(--ink)}.more-areas ul{max-height:17rem;overflow-y:auto}.project-map-summary-text a{color:var(--gold);margin-left:.3rem}
.hub-postcode{margin-top:24px;max-width:36rem}.hub-postcode label{display:block;margin-bottom:8px;font-weight:550}.hub-postcode>div{display:flex}.hub-postcode input{min-width:0;flex:1;padding:13px 15px;background:#171713;color:var(--ink);border:1px solid var(--line)}.hub-postcode button{padding:12px 22px;background:var(--gold);color:#17130d;font-weight:650;cursor:pointer}.hub-postcode output{display:block;margin-top:8px;color:var(--muted)}[hidden]{display:none!important}
.register-nav,.register-pages,.edition{margin:1.25rem 0}.register-nav h2,.register-record h2{font:400 1.42rem Georgia,serif;margin:0 0 .55rem}.register-record{padding:1rem 0;border-top:1px solid var(--line);max-width:86ch;overflow-wrap:anywhere}.register-record p{margin:.45rem 0;color:var(--muted)}.register-pages,.record-actions{display:flex;gap:.75rem 1.5rem;flex-wrap:wrap}.area-shell main a,.register-nav a,.register-pages a,.register-record a,.edition a,.record-page a{color:#d3b789}.record-page>ul{margin:1rem 0}.edition{font-size:.9rem;color:var(--muted)}
.conservation-map .project-map { min-height: 0; }
.conservation-map .planning-popup .leaflet-popup-content { overflow-wrap: anywhere; }
.conservation-map .leaflet-popup-scrolled { overflow-x: hidden; overscroll-behavior: contain; }
/* Leaflet's positioning pane has no intrinsic width. Size the label from its text. */
.conservation-map .leaflet-tooltip {
  width: max-content;
  max-width: min(230px, 42vw);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Search controls share the gold, charcoal and serif type of the project map. */
#checker .map-layers {
  display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; min-width:0;
  margin:.3rem 0 .85rem; padding:0; border:0;
}
#checker .map-layers legend {padding:0; margin:0 0 .55rem; color:var(--muted); font-size:.85rem; letter-spacing:.04em; text-transform:none}
#checker .map-layers label {
  --key:#d5b483; display:flex; align-items:center; gap:.55rem; min-height:42px;
  margin:0; border:1px solid #494638; border-radius:5px; padding:.4rem .85rem;
  background:#161713; color:var(--ink); font-size:.93rem; cursor:pointer;
}
#checker .map-layers label:nth-of-type(2){--key:#78d4c2}
#checker .map-layers label:nth-of-type(3){--key:#a6cd7a}
#checker .map-layers label:nth-of-type(4){--key:#e394ae}
#checker .map-layers label:has(:checked){border-color:color-mix(in srgb,var(--key) 44%,#252622);background:color-mix(in srgb,var(--key) 8%,#131411)}
#checker .map-layers label:hover{border-color:var(--key)}
#checker .map-layers label:focus-within{outline:2px solid var(--key);outline-offset:2px}
#checker .map-layers input {margin:0;width:1rem;height:1rem;accent-color:var(--key);cursor:pointer}
#checker .map-layers label i{display:none}
#checker .article-legend {width:100%; display:flex; flex-wrap:wrap; align-items:center; gap:.4rem 1.1rem; list-style:none; margin:.15rem 0 0; padding:.5rem 0 0; color:var(--muted); font-size:.83rem}
#checker .article-legend::before{content:'Article 4 key';font-weight:600;color:var(--ink)}
#checker .article-legend li{display:inline-flex;align-items:center;gap:.4rem}
#checker .article-legend i{display:inline-block;width:.95rem;height:.55rem;border:1.5px dashed currentColor;background:color-mix(in srgb,currentColor 19%,transparent)}
#matched-council:not([hidden]){padding:.9rem 1rem;border-left:3px solid var(--gold);background:#1c1c16}
.local-advice{margin:3rem 0 2rem;display:grid;grid-template-columns:minmax(13rem,.72fr) minmax(0,1.6fr);gap:clamp(1rem,5vw,5rem);border-top:1px solid var(--line);padding-top:1.75rem}
.local-advice h2{font:400 clamp(1.9rem,3vw,2.8rem)/1.05 Georgia,serif;margin:.6rem 0 1rem;letter-spacing:-.035em}
.local-advice .advice-intro{margin:.8rem 0;color:var(--muted);line-height:1.6;max-width:32ch}
.local-advice details{border-bottom:1px solid var(--line)}
.local-advice summary{cursor:pointer;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:1rem 0;list-style:none}
.local-advice summary::-webkit-details-marker{display:none}
.local-advice summary::after{content:'+';color:var(--gold);font:1.3rem/1 Georgia,serif}
.local-advice details[open] summary::after{content:'−'}
.local-advice h3{display:inline;font-family:inherit;font-size:1.08rem;line-height:1.45;font-weight:550;margin:0}
.local-advice details p{margin:0 0 .85rem;color:var(--muted);line-height:1.65;max-width:72ch}
.local-advice a{color:#d3b789;text-underline-offset:3px}
.area-grid article{padding:1.25rem 0 1.7rem}
@media(max-width:760px){.local-advice{grid-template-columns:1fr;gap:.3rem}.local-advice .advice-intro{max-width:55ch}.local-advice{margin-top:2rem}}
@media(max-width:560px){#checker .map-layers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}
#checker .map-layers label{padding:.45rem .55rem;line-height:1.25;font-size:.89rem}#checker .article-legend{grid-column:1/-1}}

/* Council checker. The map and its search share the grid and type of the residential site. */
.public-site:has(.property-hero) .area-shell {
  width: var(--mkp-public-shell-width, min(1440px,calc(100% - 32px)));
}
.property-hero {display:flex;align-items:end;justify-content:space-between;gap:1rem 2.5rem;border:0;padding:1.65rem 0 1.45rem}
.property-hero .area-kicker,.local-advice .area-kicker {font-size:.7rem;letter-spacing:.22em}
.property-hero h1 {font-size:var(--mkp-public-title-size,2.65rem);line-height:1.05;margin:.55rem 0 .65rem}
.property-hero .intro {font-size:var(--mkp-public-detail-size,14px);line-height:1.55;margin:0;max-width:65ch}
.page-shortcuts {display:flex;gap:.9rem 1.3rem;flex-wrap:wrap}
.page-shortcuts a,.map-topline button,.example-link,.map-bar .result-link {
  color:#ddc399;text-decoration:underline;text-decoration-color:#9e815773;text-underline-offset:.27em;font-size:.875rem
}
.page-shortcuts a:hover,.map-topline button:hover,.example-link:hover,.map-bar .result-link:hover {color:var(--ink);text-decoration-color:currentColor}
.property-workspace {display:grid;grid-template-columns:minmax(260px,.39fr) minmax(0,1fr);border:1px solid var(--line);background:#11120f}
.property-controls {min-width:0;border-right:1px solid var(--line)}
.property-search,.layer-drawer {padding:1.3rem clamp(1rem,1.65vw,1.6rem)}
.property-search h2 {margin:0;font:400 1.55rem/1.14 "Cormorant Garamond",Georgia,serif;letter-spacing:-.035em}
.property-search p {margin:.6rem 0 1.1rem;color:var(--muted);font-size:.89rem;line-height:1.5;max-width:33ch}
#checker .property-search label {margin:0 0 .4rem;letter-spacing:.01em;text-transform:none;font-size:.875rem;font-weight:550}
#checker .project-map-search-row {display:grid;grid-template-columns:minmax(0,1fr) auto}
#checker .project-map-search-row input {height:44px;padding:0 .75rem;font-size:16px;letter-spacing:.025em}
#checker .project-map-search-row input:focus-visible {position:relative;outline:2px solid #ead3aa;outline-offset:1px}
#checker .project-map-search-row button {min-width:0;height:44px;padding:0 .9rem;font-size:.77rem;letter-spacing:.08em}
.example-link,.map-topline button {border:0;background:none;cursor:pointer}
.example-link {min-height:36px;text-align:left;margin:.25rem 0 -.45rem;padding:0}
.property-search .search-feedback {color:#f0cea1;margin:.7rem 0 .15rem}
.layer-drawer {border-top:1px solid var(--line)}
.layer-drawer summary {display:flex;align-items:center;gap:.6rem;cursor:pointer;list-style:none;min-height:30px;font-size:1rem;font-weight:600}
.layer-drawer summary::-webkit-details-marker {display:none}
.layer-count {margin-left:auto;color:var(--muted);font-size:.78rem;font-weight:400;white-space:nowrap}
.layer-drawer summary::after {content:'';width:.43rem;height:.43rem;border-right:1.5px solid var(--gold);border-bottom:1.5px solid var(--gold);transform:rotate(45deg);margin:0 .1rem .16rem .1rem}
.layer-drawer[open] summary::after {transform:rotate(225deg);margin-top:.35rem}
#checker .layer-drawer .map-layers {display:flex;flex-direction:column;align-items:stretch;gap:0;margin:.55rem 0 0}
.visually-hidden {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#checker .map-layers label {display:flex;gap:.7rem;align-items:center;min-height:43px;border:0;border-bottom:1px solid #ffffff12;background:none;border-radius:0;padding:.32rem .1rem;color:var(--ink);font-size:.9rem}
#checker .map-layers label:has(:checked) {background:transparent;border-color:#ffffff12}
#checker .map-layers label:hover {background:#ffffff09}
#checker .map-layers label::before {content:'';order:-1;box-sizing:border-box;width:1rem;height:.74rem;border:1.5px solid var(--key);background:color-mix(in srgb,var(--key) 24%,transparent);flex:none}
#checker .map-layers label:nth-of-type(2)::before {border-style:dashed}
#checker .map-layers label:nth-of-type(4)::before {border:1.5px solid #ffe4ed;background:#b64d75;border-radius:50%;width:.72rem;height:.72rem;margin-inline:.14rem}
#checker .map-layers label:not(:has(:checked))::before {opacity:.5}
#checker .map-layers input {order:1;margin-left:auto;accent-color:var(--key);width:16px;height:16px}
#checker .article-legend {font-size:.75rem;gap:.35rem .8rem;line-height:1.4;padding-top:.7rem}
#checker .article-legend::before {width:100%;font-weight:500;color:var(--muted)}
.property-map-panel {min-width:0;display:flex;flex-direction:column;background:#0e100d}
.map-topline,#checker .map-bar {display:flex;justify-content:space-between;align-items:center;gap:8px 1rem;flex-wrap:wrap;margin:0;padding:.25rem 1rem;min-height:41px;line-height:1.35}
.map-topline {border-bottom:1px solid var(--line);color:var(--muted);font-size:.79rem}
.boundary-key {display:inline-flex;align-items:center;gap:.55rem}
.boundary-key::before {content:'';width:1.25rem;height:0;border-top:2px solid #f1e7ce}
.map-topline button,#checker .map-bar button,#checker .map-bar a {display:inline-flex;align-items:center;padding:0;min-height:35px}
#checker .property-map-panel .project-map-frame {flex:1 0 auto;aspect-ratio:auto;height:clamp(350px,46vh,510px)!important;border:0}
#checker .map-bar {border:0;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem}
#checker .map-bar button {color:#ddc399;font-size:.82rem}
#property-results {scroll-margin-top:1.5rem}
#checker .planning-result {margin:1.25rem 0 0;padding:clamp(1rem,2.5vw,2rem);border:1px solid var(--line);background:#131410}
#checker .result {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2.25rem}
#checker .result > :not(.article-result) {grid-column:1/-1}
#checker .result .results-title {margin:0 0 .24rem;font:400 1.8rem/1.15 "Cormorant Garamond",Georgia,serif;letter-spacing:-.035em}
#checker .result > .context {margin:0 0 .9rem;color:var(--muted);font-size:.85rem;letter-spacing:0;text-transform:none}
#checker .result > .notice {order:-1}
#checker .article-result {border-top:1px solid var(--line);margin:0;padding:.9rem 0 1rem;min-width:0}
#checker .article-result > .context {display:flex;align-items:center;gap:.6rem;font-size:.76rem;font-weight:600;letter-spacing:.09em;color:#d9c7a8}
#checker .article-result > .context::before {content:'';width:.75rem;height:.65rem;background:#be9b6755;border:1px solid #d5b483}
#checker .listed-result > .context::before {background:#b64d75;border:1px solid #ffe4ed;border-radius:50%;width:.65rem}
#checker .green-result > .context::before {background:#79ac5244;border-color:#a6cd7a}
#checker .direction-result > .context::before {background:#78d4c233;border:1px dashed #78d4c2}
#checker .article-result h3 {margin:.4rem 0;font:400 1.23rem/1.3 Georgia,serif}
#checker .article-result p,#checker .article-result li {font-size:.9rem;line-height:1.55}
#checker .listed-hits {margin:.5rem 0}
#checker .listed-hits li {border-top:1px solid #ffffff12;padding:.45rem 0}
#checker .listed-hits button {text-align:left;line-height:1.45}
#checker .sources {margin:.55rem 0 0}
#checker .sources summary,.coverage-details > summary {cursor:pointer;min-height:44px;align-content:center;color:var(--muted);font-size:.875rem}
.local-records {margin:1.9rem 0 0}
.local-records h2 {font:400 var(--mkp-public-section-size,2rem)/1.08 "Cormorant Garamond",Georgia,serif;letter-spacing:-.035em;margin:0 0 1rem}
.record-tiles {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.record-tiles .record-tile {color:var(--ink);border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:1rem;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;text-decoration:none;background:#141510}
.record-tile::before {content:'';width:1.4rem;height:2px;background:#d5b483;margin-bottom:.35rem}
.record-tile.listed-buildings::before {background:#e394ae}.record-tile.article-4::before {background:#78d4c2}
.record-tile.green-belt::before {background:#a6cd7a}
.record-tile span {font:400 1.24rem/1.15 Georgia,serif}
.record-tile small {color:var(--muted);font-size:.81rem}
.record-tiles .record-tile:hover,.record-tiles .record-tile:focus-visible {background:#202019}
.record-tile:hover span {text-decoration:underline;text-underline-offset:.22em}
.coverage-details {border-top:1px solid var(--line);padding:.5rem 0}
#local-records,#planning-questions {scroll-margin-top:1.5rem}
@media(max-width:899px) {
  .property-hero {display:block}
  .page-shortcuts {margin-top:.85rem}
  .property-workspace {grid-template-columns:minmax(0,1fr)}
  .property-controls {border-right:0}
  .property-search,.layer-drawer {padding:.85rem 1rem}
  .property-search h2 {font-size:1.35rem}
  .property-search p {max-width:none;margin:.3rem 0 .65rem}
  .property-search form {max-width:34rem}
  .layer-drawer {border-bottom:1px solid var(--line);padding-block:.35rem}
  .layer-drawer summary {min-height:42px}
  #checker .layer-drawer .map-layers {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.4rem;margin-bottom:.7rem}
  #checker .article-legend {grid-column:1/-1}
  #checker .article-legend::before {width:auto}
  #checker .property-map-panel .project-map-frame {height:clamp(320px,50svh,480px)!important}
}
@media(max-width:560px) {
  .public-site:has(.property-hero) .area-bar .area-shell {padding-block:13px}
  .property-hero {padding:1.15rem 0 .95rem}
  .property-hero .page-shortcuts {gap:1rem}
  .public-site:has(.property-hero) .crumbs {padding-top:1rem}
  #checker .layer-drawer .map-layers {display:flex}
  #checker .result {grid-template-columns:1fr}
  .record-tiles {grid-template-columns:repeat(2,minmax(0,1fr))}
  .record-tiles .record-tile {padding:.85rem}
  .map-topline,#checker .map-bar {padding-inline:.7rem}
}
.property-hero .intro {max-width:76ch}
#checker .scale-hint {display:block;color:var(--muted);font-weight:400;font-size:.75rem;line-height:1.3}
#checker .article-key {grid-column:1/-1;margin-top:.25rem}
#checker .article-key summary {justify-content:flex-start;color:#dbbf91;min-height:34px;font-size:.81rem;font-weight:400}
#checker .article-key summary::after {width:.34rem;height:.34rem;margin-left:.15rem}
#checker .article-key[open] summary::after {transform:rotate(225deg)}
#checker .article-key .article-legend {padding:0;margin:.1rem 0 .4rem}
#checker .article-key .article-legend::before {content:none}
@media(min-width:900px) {
  .public-site:has(.property-hero) .area-bar .area-shell {padding-block:15px}
  .public-site:has(.property-hero) .crumbs {padding-top:1rem}
  .property-hero {padding:1.2rem 0 1.1rem}
  .property-search,.layer-drawer {padding:1rem clamp(1rem,1.5vw,1.5rem)}
  .property-search p {margin:.4rem 0 .75rem}
  .layer-drawer {padding-block:.65rem}
}
@media(max-width:560px) {
  .property-hero .area-kicker {display:none}
  .property-hero h1 {margin-top:0}
  .property-search {display:flex;flex-direction:column;align-items:stretch}
  .property-search h2 {font-size:1.22rem}
  #checker .property-search label {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .property-search .example-link {align-self:flex-start;line-height:1.25}
  .property-map-panel .project-map-frame {order:-1}
  .map-topline {border-top:1px solid var(--line);border-bottom:0}
}

/* Full screen uses the same live map, controls, results and source links. */
.map-view-actions {display:flex;align-items:center;gap:clamp(.55rem,1.8vw,1.3rem)}
.map-topline .map-screen-enter,.map-screen-header button {
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:40px;padding:.35rem .75rem;border:1px solid var(--line);border-radius:3px;
  background:#1b1b15;color:#e0c79e;cursor:pointer;
  font-family:inherit;font-size:.87rem;font-weight:550;line-height:1.2;text-decoration:none;
}
.map-screen-enter::before {
  content:'';width:.86rem;height:.86rem;
  background:linear-gradient(currentColor,currentColor) left top/40% 1.5px,
    linear-gradient(currentColor,currentColor) left top/1.5px 40%,
    linear-gradient(currentColor,currentColor) right top/40% 1.5px,
    linear-gradient(currentColor,currentColor) right top/1.5px 40%,
    linear-gradient(currentColor,currentColor) left bottom/40% 1.5px,
    linear-gradient(currentColor,currentColor) left bottom/1.5px 40%,
    linear-gradient(currentColor,currentColor) right bottom/40% 1.5px,
    linear-gradient(currentColor,currentColor) right bottom/1.5px 40%;
  background-repeat:no-repeat;
}
.map-screen-open {overflow:hidden}
.map-screen-dialog {position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#10110e;color:#f2efeb}
.map-screen-dialog:not([open]) {display:none}
.map-screen-dialog::backdrop {background:#10110e}
#checker.map-expanded {
  --map-text:#f2efeb;--map-muted-text:#b5b1a9;--map-accent:#be9b67;--map-line:#be9b674a;
  width:100%;height:100%;max-height:none;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;
  background:#10110e;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)
}
.map-screen-header {flex:none;display:flex;align-items:center;gap:.5rem;min-height:50px;padding:.3rem .85rem;border-bottom:1px solid var(--line);background:#11120f}
.map-screen-header strong {margin-right:auto;font:400 1.25rem/1.2 Georgia,serif;overflow-wrap:anywhere;min-width:0}
.map-screen-header button {flex:none}
.map-screen-header button:hover,.map-topline .map-screen-enter:hover {border-color:#be9b67;color:#fff2db}
.map-screen-header .map-screen-exit {background:#be9b67;color:#13120f;border-color:#be9b67}
.map-screen-header .map-screen-exit:hover {background:#dcc094;color:#16140e}
#checker.map-expanded > #app {min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}
#checker.map-expanded .project-map-experience {height:100%}
#checker.map-expanded .property-workspace {position:relative;box-sizing:border-box;height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);border:0}
#checker.map-expanded .property-map-panel {min-height:0}
#checker.map-expanded .property-map-panel .project-map-frame {height:0!important;flex:1 1 0%;order:0}
#checker.map-expanded .map-topline,#checker.map-expanded .map-bar {flex:none}
#checker.map-expanded .map-screen-enter,#checker.map-expanded:not(.screen-controls-open) .property-controls {display:none}
#checker.map-expanded .property-controls {overflow-y:auto;overscroll-behavior:contain}
#checker.map-expanded #matched-council:not([hidden]) {margin:0;flex:none}
#checker.map-expanded #property-results {scroll-margin:0}
@media(min-width:900px) {
  #checker.map-expanded.screen-controls-open .property-workspace {grid-template-columns:minmax(280px,340px) minmax(0,1fr)}
}
@media(max-width:899px) {
  #checker.map-expanded.screen-controls-open .property-controls {position:absolute;z-index:1100;inset:0 auto auto 0;width:min(350px,96%);max-height:100%;background:#141511;border:1px solid var(--line);box-shadow:0 8px 30px #0008}
}
@media(max-width:560px) {
  #checker .property-map-panel .project-map-frame {order:0}
  .map-screen-header {gap:.35rem;padding:.25rem .5rem}
  .map-screen-header strong {font-size:1rem}
  .map-screen-header button {min-height:44px;padding-inline:.5rem;font-size:.79rem}
  #checker .map-topline .map-screen-enter {min-height:44px}
}
#checker .project-map-search input {text-transform:none}
.address-response {border:1px solid var(--line);border-left:3px solid #c4a476;background:#1b1c17;color:var(--ink);margin:.6rem 0;padding:.75rem 1rem;overflow-wrap:anywhere}
.address-response.address-match {border-left-color:#df95af}
.address-response strong {display:block;font-size:1.02rem}
.address-response p {margin:.3rem 0;color:var(--muted);font-size:.93rem;line-height:1.5}
.address-response a,.address-response button {color:#e2c89f;text-decoration:underline;text-underline-offset:3px;font-size:.9rem}
.address-response button {display:block;text-align:left;background:none;border:0;padding:.4rem 0;cursor:pointer}
#checker.map-expanded .address-response:not([hidden]) {margin:0;max-height:26dvh;flex:none;overflow:auto}
