:root{--ink:#163e4d;--muted:#71828a;--line:#e3e9ea;--teal:#28699e;--orange:#c52127;--bg:#f5f7f8}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px}
button,input,select{font:inherit}
button,a,input,summary,select{outline-offset:4px}
button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:7px;padding:10px 14px;font-size:14px}
button:hover{background:#edf4f4}
header{height:89px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}
.brand{display:flex;align-items:center;gap:18px;color:var(--ink);text-decoration:none}
.brand img{display:block;width:190px;height:auto}
.department-name{border-left:1px solid var(--line);padding:6px 0 6px 18px;font-size:13px;line-height:1.35;color:#506770;white-space:nowrap}
.header-right{display:flex;gap:10px;align-items:center}
.edition{font-size:12px;letter-spacing:1.5px;margin-right:20px;color:var(--muted)}
main{max-width:1900px;margin:auto;padding:30px 38px 0}
.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;color:var(--teal);margin:0 0 12px}
h1{font-size:40px;letter-spacing:-1.5px;margin:0 0 9px;font-weight:600}
h1 span{color:var(--orange)}
.intro p:last-child{margin:0;color:var(--muted);font-size:15px}
.summary{display:flex;gap:42px;padding-right:27px}
.summary>div{display:flex;flex-direction:column;border-left:1px solid #d9e1e3;padding-left:30px}
.summary strong{font-size:33px;font-weight:500}
.summary span{font-size:13px;color:var(--muted);margin-top:5px}
.workspace{height:calc(100vh - 288px);min-height:580px;max-height:980px;display:grid;grid-template-columns:242px minmax(300px,1fr) 360px;background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 8px 30px #123f5006}
.directory{display:flex;flex-direction:column;border-right:1px solid var(--line);min-height:0}
.directory-head{padding:23px 18px 16px}
h2{font-size:19px;margin:0 0 20px;font-weight:600}
.directory h2{display:flex;justify-content:space-between}
.directory h2 span{background:#edf3f3;font-size:13px;border-radius:5px;padding:3px 8px;color:var(--teal)}
.search{display:flex;border:1px solid var(--line);background:#fafcfc;border-radius:7px;align-items:center;padding:0 10px;font-size:24px;color:var(--muted)}
.search input{width:100%;min-width:0;padding:12px 6px;background:transparent;border:0;font-size:14px;color:var(--ink)}
.filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:14px;background:#f1f5f5;padding:4px;border-radius:7px}
.filters button{grid-column:span 2;border:0;background:transparent;padding:7px 2px;font-size:13px}
.filters button:nth-child(n+4){grid-column:span 3}
.filters .active{background:white;box-shadow:0 1px 4px #163e4d16;color:var(--orange)}
#list{overflow:auto;flex:1;padding:0 9px}
#list button{display:flex;align-items:center;text-align:left;justify-content:space-between;width:100%;border:0;border-radius:6px;padding:13px 12px;margin:2px 0;background:transparent;font-size:14px}
#list button:hover{background:#f1f6f6}
#list button.active{background:#fcebed;color:#a71c22;font-weight:700;box-shadow:inset 3px 0 var(--orange)}
#list small{display:block;font-weight:400;color:var(--muted);font-size:12px;margin-top:4px}
.directory-foot{font-size:12px;color:var(--muted);padding:18px;border-top:1px solid var(--line)}
.map-column{display:flex;flex-direction:column;position:relative;min-width:0}
.map-top{height:61px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line);font-size:14px}
.map-top button{font-size:12px;border:0;padding:8px}
.map-top i{display:inline-block;width:7px;height:7px;background:var(--teal);border-radius:100%;margin-right:7px}
#map{flex:1;background:#eaf0ed;min-height:300px}
.map-bottom{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:15px;color:var(--muted);line-height:1.6}
.key{display:inline-block;width:8px;height:8px;border-radius:2px;margin:0 4px 0 8px}
.unselected{background:#5799d0}
.selected{background:var(--orange)}
.details{border-left:1px solid var(--line);overflow:auto;min-width:0}
.empty{padding:65px 31px}
.empty-icon{display:block;font-size:55px;font-weight:300;color:var(--teal);margin-bottom:37px}
.empty h2{font-size:31px;line-height:1.23;letter-spacing:-.8px;margin-bottom:19px}
.empty p:not(.eyebrow){color:var(--muted);font-size:15px;line-height:1.8}
.empty-line{height:1px;background:var(--line);margin:33px 0}
.empty>span:not(.empty-icon){display:block;margin:17px 0;font-size:13px;color:var(--muted)}
.detail-head{padding:26px 25px 20px;background:#f8fbfa;border-bottom:1px solid var(--line)}
.detail-head .eyebrow{color:var(--orange);font-size:11px}
.detail-head h2{font-size:29px;margin-bottom:5px;letter-spacing:-.6px}
.detail-head>p{color:var(--muted);font-size:14px;margin:0}
.metrics{display:flex;gap:30px;margin-top:24px}
.metrics strong{display:block;font-size:24px;font-weight:500}
.metrics span{font-size:12px;color:var(--muted)}
.services{padding:23px}
.service-title{display:flex;justify-content:space-between;font-size:15px;font-weight:600;margin-bottom:15px}
.service-title span{font-size:12px;color:var(--muted);font-weight:400}
select{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;font-size:13px;color:var(--ink);margin-bottom:15px}
details{border:1px solid var(--line);border-radius:7px;margin-bottom:9px;overflow:hidden}
summary{cursor:pointer;padding:15px 13px;font-size:14px;line-height:1.5;font-weight:600}
details[open] summary{background:#f4f8f7;border-bottom:1px solid var(--line)}
.service-text{padding:3px 14px 9px;color:#4c626b;font-size:14px;line-height:1.75}
.service-text p{white-space:pre-line;margin:13px 0}
.source-note{font-size:12px;line-height:1.6;color:var(--muted);margin-top:18px}
footer{display:flex;justify-content:space-between;align-items:center;padding:18px 0;color:var(--muted);font-size:12px}
footer b{margin:0 9px;color:#c0cbd0}
footer button{border:0;background:transparent;font-size:12px;color:var(--muted)}
dialog{max-width:600px;border:1px solid var(--line);border-radius:12px;padding:36px;color:var(--ink);box-shadow:0 20px 100px #163e4d33}
dialog::backdrop{background:#123f5066}
dialog p{font-size:15px;line-height:1.75;color:#526972}
dialog a{color:var(--teal)}
.close{float:right;font-size:22px;padding:2px 10px}
#print-content{display:none}
.leaflet-container{font-family:Arial,Helvetica,sans-serif}
.leaflet-tooltip{border:0!important;box-shadow:0 2px 8px #123f5020!important;color:var(--ink)!important;font-size:12px!important}
.map-label{background:transparent;border:0;box-shadow:none!important;font-size:11px!important;text-shadow:0 1px 3px white,0 -1px 3px white}
@media(min-width:1550px){.workspace{grid-template-columns:270px minmax(400px,1fr) 410px}
}
@media(max-width:1150px){header{padding:0 22px}
.edition{display:none}
main{padding:24px 20px 0}
.workspace{grid-template-columns:210px 1fr 300px}
.summary{gap:18px;padding:0}
.summary>div{padding-left:20px}
.map-bottom>span:last-child{display:none}
.services{padding:16px}
.detail-head{padding:22px 19px}
}
@media(max-width:1100px){header{height:76px;padding:0 16px}
.brand{gap:10px}
.brand img{width:145px}
.department-name{font-size:11px;padding-left:10px;white-space:normal;max-width:92px}
.header-right button{padding:8px}
.header-right button span{display:none}
main{padding:24px 13px 0}
.intro{display:block}
h1{font-size:34px}
.summary{margin-top:22px;gap:25px}
.summary>div{padding-left:18px}
.summary strong{font-size:25px}
.workspace{height:auto;max-height:none;grid-template-columns:1fr;min-height:0}
.directory{border-right:0}
.directory-head{padding:18px}
.directory h2,.directory-foot{display:none}
.filters{margin-top:10px}
#list{display:flex;max-height:130px;padding:0 10px 10px;flex-wrap:wrap;gap:3px}
#list button{width:auto;padding:7px 10px;font-size:13px;border:1px solid var(--line)}
#list small,#list button>span:last-child{display:none}
.map-column{height:480px}
.details{border-left:0;border-top:1px solid var(--line)}
.empty{padding:25px}
.empty-icon,.empty-line,.empty>span:not(.empty-icon){display:none}
.empty h2{font-size:24px}
.empty br{display:none}
footer{gap:8px;align-items:flex-start}
footer>span{max-width:180px}
dialog{margin:15px;padding:24px}
.services{padding:20px}
}
.summary small{font-size:11px;color:var(--muted);margin-top:5px}
#exit-presentation,#presentation-status{display:none}
.presentation{overflow:hidden}
.presentation header,.presentation .intro,.presentation footer,.presentation .directory,.presentation .map-top,.presentation .map-bottom,.presentation #detail-print,.presentation .services>.source-note{display:none}
.presentation main{padding:0;max-width:none}
.presentation .workspace{position:fixed;inset:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);height:100vh;height:100dvh;min-height:0;max-height:none;border:0;border-radius:0}
.presentation .map-column{height:100%;min-height:0}
.presentation #map{min-height:0;height:100%}
.presentation .details{height:100%;border-top:0;min-height:0}
.presentation #exit-presentation{display:block;position:absolute;z-index:1000;top:14px;left:14px;background:white;box-shadow:0 2px 12px #163e4d26}
.presentation #presentation-status:not(:empty){display:block;position:absolute;z-index:1000;top:62px;left:14px;right:14px;background:white;padding:10px;font-size:13px;border-radius:6px}
@media(max-width:600px){.presentation .workspace{grid-template-columns:minmax(0,1fr) minmax(180px,45%)}.presentation .services,.presentation .detail-head{padding:12px}.presentation .detail-head h2{font-size:22px}.presentation .metrics{gap:12px;flex-wrap:wrap}.presentation .service-title{flex-wrap:wrap;gap:6px}.presentation #exit-presentation{font-size:12px;padding:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}
}
@media print{@page{size:A4;margin:16mm}
body{background:white}
body>header,body>main,dialog{display:none!important}
#print-content{display:block;color:#152e38;font-size:11pt}
#print-content h1{font-size:25pt}
#print-content h2{font-size:14pt;margin:18pt 0 8pt}
#print-content p{line-height:1.6;white-space:pre-line}
#print-content section{break-inside:avoid}
#print-content .print-note{font-size:9pt;color:#53646c}
}


#map-highlights[hidden],#highlight-line[hidden],#highlight-dot[hidden]{display:none!important}
#map-highlights{position:absolute;z-index:650;top:73px;left:12px;width:calc(100% - 24px);pointer-events:auto;touch-action:auto}
.highlight-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:10px}
#highlight-neighborhood{background:#a71920;color:white;padding:6px 12px;border-radius:4px;font-size:13px;font-weight:700}
#close-highlights{pointer-events:auto;padding:0 8px;border:0;background:white;color:#a71920;font-size:24px;box-shadow:0 2px 8px #163e4d20}
#highlight-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;overflow:visible}
#highlight-items .highlight-bar{pointer-events:auto;margin:0;padding:8px 10px;background:#fffffff2;border-left:4px solid #c52127;border-radius:4px;box-shadow:0 3px 12px #163e4d26;color:#163e4d;font-size:15px;font-weight:700;line-height:1.28;overflow-wrap:anywhere}
#highlight-items strong{color:#c52127;font-size:1.4em;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}
#highlight-line{position:absolute;z-index:640;height:2px;background:#c52127;transform-origin:0 50%;pointer-events:none;box-shadow:0 0 0 1px #ffffffa0}
#highlight-dot{position:absolute;z-index:640;width:12px;height:12px;margin:-6px;border:3px solid white;border-radius:50%;background:#c52127;box-shadow:0 0 0 2px #c52127;pointer-events:none}
.arriving .highlight-bar{animation:highlight-bar-in .4s ease-out both;animation-delay:var(--delay)}
@keyframes highlight-bar-in{from{opacity:0;transform:translateX(-18px);clip-path:inset(0 100% 0 0)}to{opacity:1;transform:translateX(0);clip-path:inset(0)}}
.workspace.with-highlights{min-height:max(580px,var(--highlight-height))}
.presentation #map-highlights{top:62px}
.presentation #highlight-items .highlight-bar{font-size:17px;padding:9px 12px}
.presentation .workspace.with-highlights{min-height:0}
.presentation #highlight-items{gap:6px 14px}
@media(max-width:1150px){#highlight-items .highlight-bar{font-size:14px;padding:7px 9px}}
@media(max-width:1100px){.workspace.with-highlights .map-column{height:calc(var(--highlight-height) + 80px)}.workspace.with-highlights{min-height:0}.presentation .workspace.with-highlights .map-column{height:100%}}
@media(max-width:600px){#highlight-items{grid-template-columns:1fr;gap:7px}.presentation .workspace.with-highlights{position:absolute;height:auto;min-height:100dvh;overflow:visible;grid-template-columns:minmax(0,1fr)}.presentation:has(.with-highlights){overflow:auto}.presentation .workspace.with-highlights .map-column{height:calc(var(--highlight-height) + 80px)}.presentation .workspace.with-highlights .details{height:auto}.presentation #highlight-items .highlight-bar{font-size:15px}}
@media(prefers-reduced-motion:reduce){.arriving .highlight-bar{animation:none}}

.presentation-controls{display:none}
.presentation .presentation-controls{display:flex;gap:8px;position:absolute;top:14px;left:14px;z-index:1000;max-width:calc(100% - 28px)}
.presentation .presentation-controls #exit-presentation{position:static}
.presentation #presentation-reset{background:white;box-shadow:0 2px 12px #163e4d26}
@media(max-width:600px){.presentation .presentation-controls{gap:5px;left:8px;max-width:calc(100% - 16px)}.presentation #presentation-reset,.presentation .presentation-controls #exit-presentation{font-size:11px;padding:8px 6px;white-space:nowrap}}

#photo-gallery[hidden],.gallery-controls[hidden]{display:none!important}
#photo-gallery{pointer-events:auto;margin-top:12px;padding:10px;background:#ffffffed;border-radius:8px;box-shadow:0 3px 12px #163e4d20}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.gallery-heading h3{font-size:13px;margin:0;color:#163e4d}
.gallery-controls{display:flex;gap:6px}
.gallery-controls button{display:grid;place-items:center;width:32px;height:30px;padding:0;font-size:25px;color:#c52127;border:1px solid #e4d9da;background:white}
.gallery-controls button:disabled{opacity:.3;cursor:default}
#photo-track{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c52127 #e7edf0;border-radius:5px}
#photo-track:focus-visible{outline:2px solid #c52127;outline-offset:3px}
.photo-card{flex:0 0 42%;min-width:0;margin:0;scroll-snap-align:start;overflow:hidden;border-radius:5px;background:#eef2f4}
.photo-card img,.photo-unavailable{display:block;width:100%;height:130px;object-fit:cover}
.photo-unavailable{display:grid;place-items:center;color:#596b73;font-size:12px}
.photo-card figcaption{padding:7px 9px;font-size:12px;line-height:1.3;color:#163e4d}
.photo-card figcaption:empty{display:none}
.presentation:has(.with-gallery){overflow:auto}
.presentation .workspace.with-gallery{position:absolute;height:max(100dvh,calc(var(--highlight-height) + 80px));overflow:visible}
@media(max-width:600px){.photo-card{flex-basis:70%}.photo-card img,.photo-unavailable{height:120px}}

#highlight-items .highlight-bar{white-space:pre-line;text-align:left}
#highlight-items .road-trigger{font:inherit;font-size:15px;font-weight:700;line-height:1.28;border:0;border-left:4px solid #c52127;cursor:pointer}
.road-trigger small{display:block;margin-top:8px;color:#a71920;font-size:12px;text-decoration:underline}
#highlight-items .road-trigger:hover{background:#fff3f3}
.road-trigger:focus-visible{outline:3px solid #c52127;outline-offset:2px}
#road-dialog{width:min(640px,calc(100vw - 32px));max-height:85dvh;margin:auto;padding:24px;border:0;border-radius:12px;overflow:auto;color:#163e4d}
#road-dialog::backdrop{background:#12313bd0}
.road-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;position:sticky;top:-24px;background:white;padding-top:12px;z-index:1}
#road-title{font-size:24px;margin:4px 0 12px}
#close-road{font-size:28px;line-height:1;padding:6px 10px;color:#a71920;background:white;flex:none}
#road-summary{white-space:pre-line;font-weight:700;line-height:1.5}
#road-list section{border-top:1px solid #e3e9ed;padding-top:16px;margin-top:20px}
#road-list h3{color:#a71920;font-size:17px;line-height:1.4;margin:0 0 12px}
#road-list ul{padding-left:22px;margin:0;line-height:1.7;font-size:16px}
#road-list li{padding:4px 0;overflow-wrap:anywhere}
.presentation:has(.with-highlights){overflow:auto}
.presentation .workspace.with-highlights{position:absolute;height:max(100dvh,calc(var(--highlight-height) + 80px));overflow:visible}
#highlight-items .measurement{font-size:1em;color:inherit;font-weight:inherit}
.photo-card img{height:180px;object-fit:contain;background:#edf1f3}
.photo-card figcaption{text-align:right;font-variant-numeric:tabular-nums;color:#61747d}
@media(max-width:600px){.photo-card img{height:150px}}

/* Four edge-to-edge thumbnails; the full image is available in the viewer. */
#photo-gallery{padding:0;background:transparent;border-radius:0;box-shadow:none}
#photo-track{gap:6px;border-radius:0}
#photo-track .photo-card{flex:0 0 calc((100% - 18px)/4);padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in;position:relative}
#photo-track .photo-card img,#photo-track .photo-unavailable{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0;display:block}
#photo-track .photo-card:focus-visible{outline:3px solid #c52127;outline-offset:-3px}
#photo-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#101719;color:white;overflow:hidden}
#photo-dialog::backdrop{background:#101719}
.large-photo-header{height:64px;display:flex;align-items:center;gap:16px;padding:10px 20px}
#photo-dialog-title{font-size:17px;margin:0;flex:1;color:white}
#large-photo-count{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
#close-photos{border:0;background:transparent;color:white;font-size:32px;padding:0 8px}
#large-photo-track{display:flex;width:100%;height:calc(100% - 64px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
#large-photo-track::-webkit-scrollbar{display:none}
.large-photo-slide{flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always}
.large-photo-slide img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.large-photo-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:44px;height:44px;padding:0;background:#101719aa;color:white;font-size:36px;line-height:1}
.large-photo-arrow:hover{background:#c52127}
.large-photo-arrow:disabled{opacity:.25;cursor:default}
#large-photo-prev{left:12px}#large-photo-next{right:12px}
@media(max-width:600px){.large-photo-header{padding:8px 12px;gap:8px}#photo-dialog-title{font-size:14px}.large-photo-arrow{width:36px;height:36px}#large-photo-prev{left:6px}#large-photo-next{right:6px}}

/* The information layer is a sibling of Leaflet, so native page swipes work. */
.map-top,.map-bottom{flex-shrink:0}
#highlight-items{touch-action:pan-y pinch-zoom}
#photo-track{touch-action:pan-x pan-y pinch-zoom}
@media(max-width:1100px){
  .workspace{grid-template-columns:minmax(0,1fr)}
  .search input,select{font-size:16px}
  .filters button,#list button{min-height:44px}
  #close-highlights,.gallery-controls button,#close-road,#close-photos,.large-photo-arrow{min-width:44px;min-height:44px}
  .header-right button{min-width:44px;min-height:44px}
  #highlight-items .highlight-bar{font-size:16px;line-height:1.4}
  .presentation{overflow:auto}
  .presentation .workspace,.presentation .workspace.with-highlights,.presentation .workspace.with-gallery{position:relative;inset:auto;grid-template-columns:minmax(0,1fr);height:auto;min-height:100dvh;overflow:visible}
  .presentation .workspace .map-column{height:max(480px,70dvh)}
  .presentation .workspace.with-highlights .map-column{height:calc(var(--highlight-height) + 80px)}
  .presentation .workspace .details{height:auto;overflow:visible;border-top:1px solid var(--line)}
  .presentation .presentation-controls button{min-height:44px}
  .presentation #map-highlights{top:72px}
}
@media(max-width:420px){
  header{padding:0 10px;gap:8px}
  .brand{min-width:0;gap:8px}.brand img{width:125px}
  .department-name{font-size:10px;max-width:82px;padding-left:8px}
  .header-right{gap:4px;flex-shrink:0}
  h1{font-size:30px}
}
