.area-explorer{padding:76px 0 82px;scroll-margin-top:90px;background:var(--paper,#f7f5ef);}
.area-explorer>.container{max-width:1320px;}
.area-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px;}
.area-heading h2{font-family:'Fraunces',Georgia,serif;font-size:clamp(32px,3.5vw,46px);line-height:1.12;letter-spacing:-.025em;color:var(--navy);margin:10px 0 0;max-width:650px;}
.area-heading>p{max-width:320px;font-size:15px;line-height:1.65;color:var(--sub);margin:0 0 3px;}
.area-workspace{border:1px solid #c8cfd1;border-radius:16px;background:#fff;box-shadow:0 18px 40px -32px #0b204460;overflow:hidden;}
.area-toolbar{position:relative;z-index:3;padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);}
.area-search{display:flex;gap:8px;flex:1 0 100%;max-width:none;}
.area-search-wrap{position:relative;flex:1;min-width:0;}
.area-search-wrap svg{position:absolute;width:19px;height:19px;left:14px;top:50%;transform:translateY(-50%);color:var(--sub);pointer-events:none;}
.area-search input{width:100%;height:48px;border:1px solid #bfc6cd;border-radius:7px;background:#fff;padding:0 12px 0 42px;font:inherit;font-size:16px;color:var(--navy);}
.area-search .btn{height:48px;white-space:nowrap;padding:0 22px;font-size:14px;}
.area-layers{border:0;padding:0;margin:0;display:flex;gap:16px;flex-wrap:wrap;}
.area-layers label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--navy);cursor:pointer;white-space:nowrap;}
.area-layers input{accent-color:var(--navy);width:17px;height:17px;margin:0;}
.area-map-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap;width:100%;}
.area-tip{position:relative;}
.area-tip[data-tip]:hover::after,.area-tip[data-tip]:focus-within::after{content:attr(data-tip);position:absolute;z-index:8;left:0;top:calc(100% + 6px);padding:5px 8px;border-radius:6px;background:#0B2044;color:#fff;font-size:11px;font-weight:600;line-height:1.3;letter-spacing:0;white-space:nowrap;pointer-events:none;box-shadow:0 6px 16px #0b204433;}
.area-search .area-tip[data-tip]:hover::after,.area-search .area-tip[data-tip]:focus-within::after{left:auto;right:0;}
html.area-map-open,html.area-map-open body{overflow:hidden;}
.area-workspace.is-expanded{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;overflow:auto;}
.area-workspace.is-expanded .area-main{flex:1;min-height:0;}
.area-workspace.is-expanded #area-map{height:100%;min-height:350px;}
.area-workspace.is-expanded .area-sidebar{overflow:auto;}
.area-workspace.is-expanded .area-toolbar,.area-workspace.is-expanded .area-follow,.area-workspace.is-expanded #area-layer-note,.area-workspace.is-expanded .area-bottom{flex:none;}
.area-swatch{width:19px;height:0;border-top:2px dashed #52677e;display:inline-block;flex:none;}
.area-swatch.city{height:10px;border:1px solid #657cb1;background:#8c9fe333;border-radius:2px;}
.area-main{display:grid;grid-template-columns:minmax(0,1fr) 280px;}
.area-map-shell{position:relative;min-width:0;background:#F5F2EA;}
#area-map{height:560px;width:100%;isolation:isolate;background:#F5F2EA;z-index:0;touch-action:none;overscroll-behavior:contain;}
.area-map-prompt{position:absolute;left:24px;bottom:40px;right:70px;z-index:1;pointer-events:none;}
.area-map-prompt span{display:inline-block;background:#fffffff2;color:var(--navy);border:1px solid #cdd2d1;border-radius:6px;padding:9px 13px;box-shadow:0 3px 10px #0b204410;font-size:12px;line-height:1.5;}
.area-map-prompt span:empty{display:none;}
.area-map-loading{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:10px;padding:24px;color:var(--navy);background:linear-gradient(125deg,#e9ede4,#f4f3ec);z-index:2;}
.area-map-loading[hidden]{display:none;}
.area-map-loading button{font:inherit;color:var(--navy);background:#fff;border:1px solid #bec7ca;padding:10px 16px;border-radius:6px;cursor:pointer;}
.area-map-loading .typing,.area-sidebar-wait .typing{display:inline-flex;align-items:center;gap:6px;height:auto;width:max-content;padding:13px 16px;border-radius:12px;background:#fff;border:1px solid var(--line,#e4e0d8);}
.area-map-loading .typing{margin-inline:auto;}
#area-title:has(.typing){font-size:22px;}
#area-title .typing{display:inline-flex;align-items:center;gap:6px;height:10px;margin-left:.22em;vertical-align:baseline;}
.area-map-loading .typing i,.area-sidebar-wait .typing i,#area-title .typing i{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:var(--navy,#0b2044);opacity:.28;transform:scale(.86);animation:map-typing-dot 1.25s cubic-bezier(.4,0,.2,1) infinite;}
.area-map-loading .typing i:nth-child(2),.area-sidebar-wait .typing i:nth-child(2),#area-title .typing i:nth-child(2){animation-delay:.16s;}
.area-map-loading .typing i:nth-child(3),.area-sidebar-wait .typing i:nth-child(3),#area-title .typing i:nth-child(3){animation-delay:.32s;}
@keyframes map-typing-dot{0%,62%,100%{opacity:.28;transform:translateY(0) scale(.86);}30%{opacity:1;transform:translateY(-2px) scale(1);}}
@media (prefers-reduced-motion: reduce){.area-map-loading .typing i,.area-sidebar-wait .typing i,#area-title .typing i{animation:none;opacity:.8;transform:none;}}
.area-sidebar-wait{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0 0 18px;}
.area-sidebar-wait[hidden]{display:none;}
.area-sidebar .area-sidebar-wait p{margin:0;font-weight:700;color:var(--navy);}
.area-sidebar{border-left:1px solid var(--line);padding:28px 24px;display:flex;flex-direction:column;min-width:0;}
.area-sidebar .eyebrow{font-size:10px;letter-spacing:.13em;}
.area-sidebar h3{font-family:'Fraunces',Georgia,serif;font-size:24px;line-height:1.2;color:var(--navy);margin:12px 0;overflow-wrap:anywhere;}
.area-sidebar p{font-size:13.5px;line-height:1.65;color:var(--sub);margin:0 0 14px;}
.area-details{display:grid;gap:14px;margin:5px 0 20px;}
.area-details>div{padding-top:12px;border-top:1px solid var(--line);}
.area-details dt{font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--sub);margin-bottom:4px;}
.area-details dd{margin:0;color:var(--navy);font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;}
.area-examples{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 20px;}
.area-examples button,.area-candidate{font:inherit;font-size:12px;background:var(--paper);color:var(--navy);border:1px solid var(--line);border-radius:5px;padding:9px 11px;cursor:pointer;text-align:left;}
.area-examples button:hover,.area-candidate:hover{border-color:var(--navy);background:#f0f2f4;}
.area-candidates{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:4;display:flex;flex-direction:column;gap:0;list-style:none;margin:0;padding:5px;max-height:320px;max-height:min(320px,45dvh);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #bfc6cd;border-radius:8px;box-shadow:0 10px 28px #0b204426;}
.area-candidates .area-candidate{flex:none;min-height:52px;padding:10px 12px;background:#fff;border:0;border-radius:4px;overflow-wrap:anywhere;}
.area-candidates .area-candidate:hover,.area-candidate[aria-selected="true"]{background:#edf1f7;color:#0b2044;}
.area-search-notice:not(.sr-only){position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:4;padding:13px 16px;background:#fff;color:var(--sub);border:1px solid #bfc6cd;border-radius:8px;box-shadow:0 10px 28px #0b204426;font-size:13px;line-height:1.5;}
.area-search-notice[hidden]{display:none;}
.area-candidate strong,.area-candidate span{display:block;line-height:1.5;}
.area-candidate span{color:var(--sub);font-size:11px;}
.area-follow{border-top:1px solid var(--line);padding:16px 24px 18px;display:flex;flex-direction:column;gap:8px;}
.area-follow[hidden]{display:none;}
.area-actions{display:flex;gap:8px;}
.area-actions[hidden],.area-details[hidden],.area-candidates[hidden],.area-examples[hidden]{display:none;}
.area-actions .btn{flex:1 1 0;width:auto;min-width:0;justify-content:center;text-align:center;font-size:13px;padding:13px 10px;white-space:normal;}
.area-actions .btn[hidden]{display:none !important;}
.area-actions .area-ask{background:var(--navy);color:#fff;border:1px solid var(--navy);}
.area-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:13px 24px;border-top:1px solid var(--line);background:#fafaf7;}
.area-bottom p{font-size:11px;line-height:1.55;color:var(--sub);margin:0;max-width:570px;}
.area-bottom a{color:var(--navy);text-decoration:underline;text-underline-offset:3px;}
.area-source{max-width:360px!important;text-align:right;}
.area-status{font-size:12px;line-height:1.5;min-height:18px;margin:12px 0 0;color:var(--sub);}
.area-status.is-error{color:#a31628;}
.area-explorer button:focus-visible,.area-explorer a:focus-visible,.area-explorer input:focus-visible{outline:3px solid var(--gold,#c9a22a);outline-offset:3px;}
.area-explorer button:disabled{opacity:.6;cursor:wait;}
.area-views,.area-layers{border:0;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;}
.area-views label,.area-layers label{display:flex;align-items:center;gap:6px;min-height:36px;font-size:12px;font-weight:700;color:var(--navy);cursor:pointer;}
.area-views input,.area-layers input{accent-color:#0B2044;width:17px;height:17px;margin:0;}
.area-relationship{font-size:15px;line-height:1.45;font-weight:700;color:#0B2044;margin:0 0 8px;}
.area-relationship:empty{display:none;}
.area-county-heading{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--sub);margin:8px 0;}
.area-counties{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px;}
.area-county{display:flex;align-items:center;gap:8px;width:100%;}
.area-county-name,.area-tools button,.area-text-button{font:inherit;color:#0B2044;background:#fff;border:1px solid #d5dbe2;border-radius:8px;cursor:pointer;}
.area-county-name{flex:1;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;text-align:left;font-weight:700;}
span.area-county-name{cursor:default;}
.area-county-name.is-active,button.area-county-name:hover,.area-county-name:focus-visible{border-color:#0B2044;background:#F5F2EA;}
.area-county-name[aria-current="true"]{border-color:#0B2044;background:#F5F2EA;box-shadow:inset 0 0 0 1px #0B2044;}
.area-text-button{min-height:44px;padding:8px 10px;font-size:12px;font-weight:700;}
.area-swatch-fill{width:16px;height:16px;border-radius:4px;border:1px solid rgba(11,32,68,.4);flex:none;background-color:var(--swatch);background-image:var(--pattern);background-size:var(--pattern-size,auto);}
.area-point{margin:0 0 10px;padding:10px 12px;border-radius:8px;background:#F5F2EA;color:#0B2044;font-size:13.5px;line-height:1.5;}
.area-point[hidden],.area-counties[hidden],.area-tools[hidden],.area-fine[hidden],.area-mobile-summary:empty{display:none;}
.area-tools{display:flex;gap:8px;margin:0;}
.area-tools button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;}
.area-tools button[hidden]{display:none;}
.area-tools button svg{width:19px;height:19px;}
.area-tools button:hover:not(:disabled){background:#f1f4f7;border-color:var(--navy);}
.area-tools button:disabled{opacity:.45;cursor:default;}
.area-tools button:focus-visible{outline:2px solid var(--navy);outline-offset:3px;}
.area-tools .area-tip[data-tip]:hover::after,.area-tools .area-tip[data-tip]:focus-within::after{top:auto;bottom:calc(100% + 8px);}
.area-fine{font-size:12px;line-height:1.5;color:var(--sub);margin:0 0 12px;}
.area-mobile-summary{display:none;}
#area-layer-note{margin:0;padding:2px 24px 16px;font-size:12px;line-height:1.55;color:var(--sub);}
.area-map-shell .maplibregl-ctrl-attrib{font-size:10px;line-height:1.4;background:#fffffff0;max-width:100%;}
.area-map-shell .maplibregl-ctrl-group{border:1px solid #c6ced0;box-shadow:0 3px 10px #0b204416;}
.area-map-shell .maplibregl-ctrl-group button{width:36px;height:36px;}
.area-map-shell #area-expand{display:grid;place-items:center;color:#0B2044;}
.area-map-shell #area-expand[hidden]{display:none;}
.area-map-shell #area-expand svg{width:18px;height:18px;}
.area-map-shell .maplibregl-ctrl-scale{background:#ffffffd9;border-color:#30445b;color:#30445b;font-size:10px;}
@media(max-width:700px){
  .area-mobile-summary{display:block;position:absolute;z-index:1;left:10px;right:56px;top:10px;margin:0;padding:8px 10px;border-radius:8px;background:#fffffff2;color:#0B2044;font-size:13px;font-weight:700;line-height:1.35;pointer-events:none;box-shadow:0 2px 8px #0b20441a;}
}
@media(max-width:700px){.area-map-options{width:100%;justify-content:space-between;gap:8px;}.area-layers{gap:12px;}}
/* Expanded on a phone, the map takes the screen. Below it, the place's name and its counties as buttons that
   wrap, so every county is a tap away; search, views and the other tools return when the map closes. */
@media(max-width:700px),(max-height:500px){
  .area-workspace.is-expanded{overflow:hidden;}
  .area-workspace.is-expanded .area-toolbar,.area-workspace.is-expanded .area-follow,.area-workspace.is-expanded #area-layer-note,.area-workspace.is-expanded .area-bottom{display:none;}
  .area-workspace.is-expanded .area-main{display:flex;flex-direction:column;}
  .area-workspace.is-expanded .area-map-shell{flex:1;min-height:0;}
  .area-workspace.is-expanded #area-map{min-height:0;}
  .area-workspace.is-expanded .area-sidebar{flex:none;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;max-height:42%;overflow:auto;overscroll-behavior:contain;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-left:0;border-top:1px solid var(--line);}
  .area-workspace.is-expanded .area-sidebar>:is(.area-sidebar-wait,.eyebrow,#area-relationship,#area-description,#area-county-heading,#area-details){display:none;}
  .area-workspace.is-expanded #area-title{flex:1 1 100%;margin:0;font-size:19px;}
  .area-workspace.is-expanded .area-point{flex:1 1 100%;margin:0;font-size:12.5px;}
  .area-workspace.is-expanded .area-examples{margin:0;}
  .area-workspace.is-expanded .area-counties{flex-direction:row;flex-wrap:wrap;margin:0;}
  .area-workspace.is-expanded .area-counties .area-fine{display:none;}
  .area-workspace.is-expanded .area-county{width:auto;}
  .area-workspace.is-expanded .area-county-name,.area-workspace.is-expanded .area-text-button{min-height:40px;padding:6px 9px;font-size:13px;}
  .area-workspace.is-expanded .area-county-name{gap:6px;}
  .area-workspace.is-expanded .area-swatch-fill{width:14px;height:14px;}
}
@media(max-width:1000px){.area-heading{align-items:flex-start;flex-direction:column;gap:15px;}.area-heading>p{max-width:620px;}.area-toolbar{flex-wrap:wrap;}.area-search{max-width:none;flex-basis:100%;}.area-main{grid-template-columns:minmax(0,1fr) 280px;}.area-sidebar{padding:23px 19px;}}
@media(max-width:700px){.area-explorer{padding:44px 0;}.area-heading{margin-bottom:22px;}.area-heading h2{font-size:34px;}.area-heading>p{font-size:14px;}.area-toolbar{padding:16px;gap:14px;}.area-search{flex-wrap:wrap;}.area-search-wrap{flex-basis:100%;}.area-search .btn{width:100%;justify-content:center;height:44px;}.area-main{grid-template-columns:1fr;}#area-map{height:350px;}.area-sidebar{border-left:0;border-top:1px solid var(--line);padding:23px 20px;}.area-sidebar h3{font-size:25px;}.area-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.area-bottom{flex-direction:column;padding:14px 20px;gap:9px;}.area-source{text-align:left;}.area-follow{padding:16px 20px 18px;}#area-layer-note{padding:2px 20px 14px;}.area-tools button,.area-actions .btn{padding:8px 4px;font-size:12px;line-height:1.25;}.area-map-prompt{left:12px;bottom:35px;right:12px;}.area-map-prompt span{font-size:11px;}.area-actions{margin-top:4px;}.area-layers label{min-height:28px;}}
