@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
:root{--ink:#27392f;--muted:#7a827b;--green:#245c49;--green-soft:#edf3ee;--line:#e7e9e2;--paper:#fcfcf8;--nursery:#d9924d;--kindergarten:#bc79a8;--kodomo:#739a66;--elementary:#458f8d;--junior:#5f7bb8;--high:#9581b1;font-family:'Noto Sans JP',sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled,select:disabled{cursor:default;opacity:.5}a{color:var(--green)}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #a5ba71;outline-offset:3px}input:focus-visible{outline:0}svg[aria-hidden="true"]{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}span[data-icon]{display:inline-flex;flex-shrink:0}button span[data-icon]{pointer-events:none}[hidden]{display:none!important}.skip{position:fixed;top:-60px;left:8px;z-index:9999;background:white;padding:12px}.skip:focus{top:8px}
.header{height:88px;display:flex;align-items:center;padding:0 34px;border-bottom:1px solid var(--line);background:#fff;gap:46px;position:relative;z-index:1200}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);flex-shrink:0}.brand-mark{width:43px;height:43px;background:var(--green);border-radius:13px;align-items:center;justify-content:center;color:#fff}.brand-mark svg{width:31px;height:31px;stroke-width:1.5}.brand b{font-size:20px;letter-spacing:1px;font-weight:800}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:3px}.main-nav{display:flex;height:100%;gap:27px;margin-left:auto}.nav-button{padding:0 3px;display:flex;align-items:center;gap:8px;border:0;background:none;font-size:13px;font-weight:600;position:relative;color:#888e86}.nav-button.active{color:var(--green)}.nav-button.active:after{content:'';height:3px;background:var(--green);position:absolute;bottom:0;left:0;right:0;border-radius:3px 3px 0 0}.nav-button svg{width:18px;height:18px}.favorite-total{font-size:10px;background:#f0f2eb;padding:2px 6px;border-radius:9px}.about-button{border:0;background:#f5f6f0;display:flex;align-items:center;gap:7px;font-size:11px;border-radius:8px;padding:11px 13px;margin-left:5px;color:#747b70}.about-button svg{width:15px;height:15px}
.app-shell{height:calc(100dvh - 88px);min-height:540px;display:grid;grid-template-columns:426px minmax(0,1fr)}.sidebar{background:var(--paper);display:flex;flex-direction:column;overflow:hidden;position:relative;z-index:1100;border-right:1px solid #dce2d8}.search-panel{padding:27px 28px 18px;flex-shrink:0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.3px;color:var(--green);display:flex;align-items:center;gap:6px}.eyebrow>span{width:5px;height:5px;background:#94ac79;border-radius:50%}h1{font-size:28px;letter-spacing:1.2px;line-height:1.6;margin:9px 0 7px;font-weight:700}.intro{font-size:10px;letter-spacing:.25px;color:var(--muted);margin:0 0 21px}.search-wrap{position:relative;display:flex;align-items:center;border:1px solid #d9dfd3;border-radius:9px;background:#fff;box-shadow:0 2px 5px #27392f04;padding:0 12px;gap:9px;height:46px;z-index:1300}.search-wrap:focus-within{border-color:#59866d;box-shadow:0 0 0 3px #245c4910}.search-wrap>span{color:#8c9689}.search-wrap>span svg{width:17px}.search-wrap input{width:100%;min-width:0;border:0;background:none;font-size:12px;height:100%;color:var(--ink);padding-right:20px}.search-wrap input::placeholder{color:#a0a69b}.search-wrap input::-webkit-search-cancel-button{display:none}.clear-search{position:absolute;right:4px}.icon-button{border:0;background:none;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.icon-button:hover{background:#edf1e8}.icon-button svg{width:17px}.filter-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:600;margin:18px 0 9px}.text-button{padding:0;border:0;background:none;color:#8b9388;font-size:9px;font-weight:400}.text-button:hover{text-decoration:underline}.city-filters{display:flex;gap:5px}.city-chip{flex:1;padding:7px 0;font-size:10px;border:1px solid var(--line);border-radius:6px;background:white;white-space:nowrap}.city-chip.active{color:#fff;border-color:var(--green);background:var(--green)}.type-label{margin-top:16px}.type-label span:last-child{color:#969e92;font-weight:400;font-size:9px}.category-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.category-chip{display:flex;align-items:center;gap:7px;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px 4px;font-size:10px;transition:.15s}.color-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:var(--category-color)}.category-chip.active{background:color-mix(in srgb,var(--category-color) 9%,white);border-color:var(--category-color);box-shadow:inset 0 0 0 .3px var(--category-color)}.nearby-row{display:flex;gap:7px;margin-top:17px}.locate-button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:9px 5px;border:1px solid #dbe4d4;background:#f1f5ec;color:var(--green);border-radius:6px;font-size:10px;font-weight:600}.locate-button:hover{background:#e6efdf}.locate-button svg{width:15px;height:15px}.nearby-row select{font-size:9px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#747e70;max-width:113px;padding:0 7px}.location-state{font-size:9px;line-height:1.8;margin-top:7px;color:#6b7e62}.location-state.error{color:#aa6549}.results-panel{display:flex;flex-direction:column;min-height:0;flex:1;border-top:1px solid var(--line);padding:19px 0 0}.results-toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 28px}.results-toolbar>div{display:flex;gap:10px;align-items:center}.results-toolbar h2{font-size:12px;font-weight:600;margin:0}.result-count{font-size:10px;color:#7c8876}.result-count strong{font-size:19px;font-weight:600;color:var(--green)}.results-toolbar select{background:transparent;border:0;color:#848b80;font-size:10px;max-width:112px}.results-meta{font-size:9px;color:#9ba294;padding:4px 28px 11px;min-height:28px}.results{overflow:auto;padding:0 17px 12px;scrollbar-width:thin;scrollbar-color:#d6ded0 transparent}.facility-card{background:white;border:1px solid var(--line);border-radius:9px;padding:14px 13px 13px;margin-bottom:9px;position:relative;transition:border-color .15s,box-shadow .15s}.facility-card:hover,.facility-card.active{border-color:#8eaf95;box-shadow:0 3px 10px #23483207}.card-top{display:flex;align-items:center;gap:6px;margin-bottom:9px}.category-badge{display:inline-flex;align-items:center;gap:4px;background:color-mix(in srgb,var(--category-color) 10%,white);color:color-mix(in srgb,var(--category-color) 80%,#27392f);padding:3px 6px;border-radius:4px;font-size:8px}.category-badge .color-dot{width:4px;height:4px}.city-label{font-size:9px;color:#8c9385}.save-button{border:0;background:transparent;color:#b4bbaf;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;position:absolute;top:9px;right:8px}.save-button svg{width:17px;height:17px}.save-button.saved{color:#b77f6f}.save-button.saved svg{fill:#b77f6f}.save-button:hover{background:#f6f6f0}.card-name{font-size:14px;letter-spacing:.2px;font-weight:600;line-height:1.7;border:0;background:none;padding:0;text-align:left;display:block;max-width:calc(100% - 17px)}.card-name:after{content:'›';font-size:20px;font-weight:400;position:absolute;right:13px;top:48px;color:#a4b29e}.card-name:hover{color:var(--green)}.card-address{display:flex;align-items:flex-start;gap:4px;font-size:9px;color:#959b90;margin:6px 0 8px;line-height:1.6}.card-address svg{width:11px;height:14px;flex-shrink:0}.card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#8d9785}.map-card-button{color:#668160;background:none;border:0;padding:2px 0;font-size:9px;display:flex;align-items:center;gap:3px}.map-card-button svg{width:11px;height:11px}.distance{font-size:10px;font-weight:600;color:var(--green)}.distance.approx:before{content:'約 ';font-size:8px;font-weight:400}.empty-state{padding:30px 16px;text-align:center;font-size:12px;color:#77866f;line-height:2}.empty-state svg{width:32px;height:32px;margin:0 auto 10px;color:#acb8a5}.empty-state p{font-size:10px}.sidebar-footer{font-size:8px;color:#929c89;padding:11px 23px;border-top:1px solid var(--line);display:flex;align-items:center;gap:5px;background:var(--paper);flex-shrink:0}.verified-dot{width:5px;height:5px;border-radius:50%;background:#9aaf7c}.sidebar-footer button{margin-left:auto;background:none;border:0;color:#8b9780;font-size:8px;padding:0}
.map-panel{position:relative;background:#e5eadd;min-height:0}.map-panel #map{height:100%;width:100%;z-index:1;background:#e9ecdf}.leaflet-tile-pane{filter:none}.map-heading{position:absolute;left:25px;top:23px;z-index:500;display:flex;align-items:center;gap:10px;background:#ffffffed;padding:13px 17px;border:1px solid #ffffff;border-radius:9px;box-shadow:0 3px 14px #2a44250c;pointer-events:none}.map-heading>span{color:var(--green)}.map-heading svg{width:21px;height:21px}.map-heading b{font-size:12px;font-weight:600;display:block}.map-heading small{font-size:9px;color:#919989;margin-top:3px;display:block}.leaflet-control-zoom{border:1px solid #e1e7da!important;box-shadow:0 3px 15px #2137180c!important;border-radius:9px!important;overflow:hidden;margin-top:23px!important;margin-right:23px!important}.leaflet-control-zoom a{color:#62765a!important;background:#fff!important;width:36px!important;height:36px!important;line-height:36px!important;font-size:20px!important;font-weight:400!important;border-color:#edf0e7!important}.map-actions{position:absolute;right:23px;top:110px;z-index:500;display:flex;flex-direction:column;gap:9px}.map-actions button{width:38px;height:38px;border:1px solid #e1e7da;background:#fff;border-radius:9px;color:#62765a;box-shadow:0 3px 15px #2137180c;display:flex;align-items:center;justify-content:center}.map-actions svg{width:18px;height:18px}.map-actions button:hover{background:#f4f7ed}.map-bottom{position:absolute;bottom:28px;left:25px;z-index:500;pointer-events:none}.legend{display:flex;gap:13px;background:#fffffff0;border:1px solid #fff;padding:12px 15px;border-radius:7px;box-shadow:0 3px 14px #2a44250c;flex-wrap:wrap;max-width:560px}.legend-item{display:flex;gap:5px;align-items:center;font-size:9px;color:#77816e;white-space:nowrap}.legend-item .color-dot{width:6px;height:6px}.map-tip{display:flex;align-items:center;gap:5px;font-size:9px;color:#66745f;margin:10px 2px 0;text-shadow:0 1px white}.map-tip svg{width:12px;height:12px}.map-status{z-index:600;position:absolute;top:100px;left:25px;right:76px;background:#fffffff2;border:1px solid #e2e8d7;border-radius:7px;padding:12px;color:#7a7656;font-size:11px;line-height:1.8}.school-marker{background:none!important;border:0!important}.pin{width:29px;height:35px;position:relative;filter:drop-shadow(0 2px 2px #283a2e38);transition:transform .15s;transform-origin:50% 100%}.pin:before{content:'';position:absolute;width:27px;height:27px;background:var(--category-color);border:2px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);top:0;left:0}.pin svg{position:absolute;width:14px;height:14px;top:7px;left:7px;stroke:white;stroke-width:1.8}.school-marker.highlight .pin{transform:scale(1.3);filter:drop-shadow(0 3px 4px #27392f55)}.leaflet-marker-icon:focus-visible{outline:3px solid var(--green);border-radius:50%}.leaflet-popup-content-wrapper{border-radius:12px!important;box-shadow:0 6px 25px #2b3b2820!important}.leaflet-popup-content{font-family:'Noto Sans JP',sans-serif;margin:17px!important;min-width:210px}.popup-title{font-size:14px;font-weight:600;color:var(--ink);margin:9px 0 5px}.popup-address{font-size:10px;color:#8b9683;margin-bottom:12px;line-height:1.8}.popup-button{border:0;color:#fff;background:var(--green);padding:8px 15px;border-radius:5px;width:100%;font-size:11px}.leaflet-control-attribution{font-size:9px!important;color:#788270!important;background:#ffffffe0!important}.mobile-switch{display:none}.user-dot{width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#367bc7;box-shadow:0 0 0 7px #367bc722}
.suggestions{list-style:none;padding:5px;margin:0;position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #dfe5d8;border-radius:9px;box-shadow:0 7px 25px #263b2520;max-height:278px;overflow:auto}.suggestions li{padding:9px;border-radius:5px;cursor:pointer;display:flex;gap:9px;align-items:center}.suggestions li:hover,.suggestions li.selected{background:#f0f5e9}.suggestion-icon{background:#f1f4eb;border-radius:6px;padding:7px;color:#8c9d7f}.suggestion-icon svg{width:15px;height:15px}.suggestion-label{font-size:11px;font-weight:500;display:block;line-height:1.6}.suggestion-sub{font-size:9px;color:#9aa18f;display:block;margin-top:2px}.suggestions .no-suggestion{font-size:10px;color:#8b9682;pointer-events:none}
dialog{border:1px solid #e1e7d9;border-radius:17px;padding:30px;color:var(--ink);background:#fcfcf8;max-height:calc(100dvh - 40px);box-shadow:0 25px 80px #193a292a}dialog::backdrop{background:#18322355;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:12px;right:12px;background:#edf1e8}.detail-dialog{width:460px;max-width:calc(100vw - 28px)}.detail-icon{width:52px;height:52px;background:color-mix(in srgb,var(--category-color) 13%,white);color:var(--category-color);border-radius:15px;display:flex;align-items:center;justify-content:center;margin-bottom:19px}.detail-icon svg{width:27px;height:27px}.detail-dialog h2{font-size:23px;line-height:1.6;margin:11px 0 7px;letter-spacing:.4px}.detail-city{font-size:11px;color:#8c9784;margin-bottom:20px}.detail-row{display:flex;gap:11px;padding:13px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.9}.detail-row>span{margin-top:3px;color:#7d8d70}.detail-row svg{width:17px;height:17px}.detail-row small{display:block;color:#97a08e;font-size:9px;margin-bottom:2px}.detail-note{font-size:10px;line-height:1.9;color:#88947e;background:#f1f4e9;padding:10px 12px;border-radius:7px}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 13px}.primary-action,.secondary-action{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 8px;border-radius:7px;font-size:11px;font-weight:500;text-decoration:none;border:1px solid var(--green)}.primary-action{background:var(--green);color:#fff}.secondary-action{background:#fff;color:var(--green);border-color:#d6dfcc}.detail-actions svg{width:15px;height:15px}.detail-links{font-size:10px;display:flex;gap:15px;flex-wrap:wrap;margin-top:16px}.detail-verified{font-size:9px;color:#a2aa99;margin:15px 0 0}.about-dialog{width:620px;max-width:calc(100vw - 28px);padding:36px}.dialog-eyebrow{font-size:10px;letter-spacing:2px;color:#8e9e7f;margin-bottom:15px}.about-dialog h2{font-size:23px;line-height:1.7;letter-spacing:.7px}.about-dialog p{font-size:11px;line-height:2.1;color:#7d8973}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin:25px 0;padding:21px;background:#eff3e8;border-radius:10px}.about-grid span{color:#779365}.about-grid b{display:block;font-size:12px;margin:10px 0}.about-grid p{margin:0;font-size:10px}.about-dialog h3{font-size:14px;margin-top:25px}.source-links{padding-left:17px;font-size:10px;line-height:2.4}.license-note{font-size:9px!important}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#244836f2;color:#fff;padding:12px 20px;border-radius:8px;font-size:12px;z-index:5000;box-shadow:0 8px 25px #18322522;max-width:90vw;line-height:1.7}
@media(min-width:1500px){.app-shell{grid-template-columns:455px minmax(0,1fr)}.search-panel{padding:34px 33px 23px}h1{font-size:32px}.intro{font-size:11px;margin-bottom:25px}.search-wrap{height:50px}.filter-label{margin-top:20px}.category-chip{padding:10px 5px;font-size:11px}.city-chip{font-size:11px;padding:9px 0}.facility-card{padding:17px}.card-name{font-size:15px}.results{padding:0 23px 16px}.card-address{font-size:10px}.card-name:after{top:54px}.sidebar-footer{font-size:9px;padding:14px 28px}}
@media(max-height:820px) and (min-width:761px){.search-panel{padding-top:20px;padding-bottom:14px}h1{font-size:25px;line-height:1.45;margin:8px 0}h1 br{display:none}.intro{font-size:9px;margin-bottom:16px}.filter-label{margin-top:13px}.nearby-row{margin-top:13px}.results-panel{padding-top:14px}}
@media(max-width:1100px){.header{padding:0 22px;gap:20px}.about-button>span:last-child{display:none}.about-button{padding:10px}.app-shell{grid-template-columns:385px minmax(0,1fr)}.search-panel{padding-left:22px;padding-right:22px}.legend{max-width:290px;gap:9px 14px}.map-heading{left:18px;top:20px}.map-bottom{left:18px}.brand b{font-size:18px}.main-nav{gap:19px}}
@media(max-width:760px),(max-height:500px) and (max-width:1100px){.header{height:73px;padding:0 16px;gap:12px}.brand{gap:9px}.brand b{font-size:16px;letter-spacing:.6px}.brand small{font-size:7px;letter-spacing:1.4px}.brand-mark{width:36px;height:36px;border-radius:11px}.brand-mark svg{width:27px}.main-nav{gap:8px;margin-left:auto}.nav-button{font-size:0;padding:0 6px;gap:3px}.nav-button svg{width:20px;height:20px}.favorite-total{font-size:8px;padding:1px 4px}.about-button{margin:0;padding:7px;background:none}.about-button svg{width:18px;height:18px}.app-shell{height:calc(100dvh - 73px);min-height:0;display:block;position:relative}.sidebar{height:100%;border-right:0}.search-panel{padding:20px 20px 15px}h1{font-size:23px;line-height:1.5;letter-spacing:.6px;margin:8px 0}h1 br{display:none}.intro{font-size:9px;margin-bottom:17px}.eyebrow{font-size:9px}.search-wrap{height:45px}.filter-label{margin-top:14px}.city-chip{font-size:10px;padding:8px 0}.category-chip{padding:8px 4px}.type-label{margin-top:14px}.nearby-row{margin-top:14px}.results-toolbar{padding:0 22px}.results-meta{padding-left:22px}.results-panel{padding-top:15px}.results{padding:0 15px 80px}.facility-card{padding:14px 15px}.card-name{font-size:14px}.card-address{font-size:10px}.sidebar-footer{padding:10px 20px;font-size:8px}.map-panel{position:absolute;inset:0;visibility:hidden;pointer-events:none}.mobile-map .map-panel{visibility:visible;pointer-events:auto}.mobile-map .sidebar{visibility:hidden}.mobile-switch{display:flex;gap:8px;align-items:center;justify-content:center;position:fixed;z-index:1800;bottom:45px;left:50%;transform:translateX(-50%);border:0;border-radius:28px;padding:14px 23px;background:var(--green);color:white;font-size:12px;box-shadow:0 5px 20px #23433035;visibility:visible;pointer-events:auto;white-space:nowrap}.mobile-switch svg{width:17px;height:17px}.map-heading{padding:11px 13px;top:16px;left:14px}.map-heading b{font-size:11px}.map-heading small{font-size:8px}.leaflet-control-zoom{margin:16px 14px 0 0!important}.map-actions{right:14px;top:104px}.map-bottom{left:14px;bottom:100px}.legend{padding:10px 12px;max-width:280px;gap:7px 12px}.legend-item{font-size:8px}.map-tip{font-size:8px}.map-status{top:89px;left:14px;font-size:10px}.leaflet-control-attribution{font-size:8px!important}.about-dialog{padding:30px 23px}.about-dialog h2{font-size:20px}.about-grid{gap:14px;padding:16px}.detail-dialog{padding:26px}.detail-dialog h2{font-size:22px}.toast{bottom:108px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.brand b{font-size:19px;letter-spacing:.5px}.brand-mark{width:39px;height:39px;border-radius:12px}.header{height:75px}.app-shell{height:calc(100vh - 75px);height:calc(100dvh - 75px)}.search-panel{padding:23px 26px 17px}h1{font-size:19px;line-height:1.5;margin:0 0 18px;letter-spacing:.4px}.filter-label{font-size:11px;margin-top:17px}.text-button{font-size:10px}.city-chip{font-size:11px;padding:9px 0}.category-chip{font-size:11px;padding:10px 3px}.nearby-row{margin-top:18px}.locate-button{font-size:11px;padding:10px 5px}.nearby-row select{font-size:10px}.search-wrap input{font-size:13px}.results-meta:empty{display:none}.results-meta{min-height:0;padding-bottom:8px}.results-toolbar{margin-bottom:12px}.results-toolbar h2{font-size:13px}.results-toolbar select{font-size:11px}.facility-card{padding:14px 14px 12px}.card-top{margin-bottom:8px}.category-badge{font-size:10px}.city-label{font-size:10px}.card-name{font-size:15px}.card-address{font-size:11px;margin-top:6px;margin-bottom:10px}.card-bottom{font-size:10px}.map-card-button{font-size:10px}.card-name:after{top:48px}.sidebar-footer{font-size:9px;padding:11px 25px}.sidebar-footer button{font-size:10px}.map-bottom{bottom:24px}.legend{font-size:10px}.legend-item{font-size:10px}.about-button{background:transparent;padding:9px;color:#788670}.about-button svg{width:19px;height:19px}.about-dialog h2{font-size:21px;margin-top:0}.about-dialog p{font-size:12px}.source-links{font-size:11px}.map-card-button svg{width:12px;height:12px}
@media(max-width:760px),(max-height:500px) and (max-width:1100px){.header{height:64px;padding:0 16px}.app-shell{height:calc(100vh - 64px);height:calc(100dvh - 64px)}.brand b{font-size:16px}.brand-mark{width:33px;height:33px}.brand-mark svg{width:25px;height:25px}.search-panel{padding:19px 20px 16px}h1{font-size:18px;margin:0 0 15px}.city-chip{font-size:11px;padding:8px 0}.category-chip{font-size:11px;padding:9px 3px}.filter-label{font-size:11px;margin-top:15px}.nearby-row{margin-top:15px}.locate-button{font-size:11px}.card-address{font-size:11px}.card-name{font-size:15px}.legend-item{font-size:9px}.sidebar-footer{padding:11px 20px}.about-button{padding:5px}.about-button svg{width:17px;height:17px}}
.card-phone{margin:0 0 8px}.phone-link{display:inline-flex;gap:6px;align-items:center;color:#42624b;font-size:12px;text-decoration:none;letter-spacing:.35px}.phone-link svg{width:12px;height:12px;stroke-width:1.5}.phone-link:hover{text-decoration:underline}.phone-unavailable{font-size:10px;color:#a0a896}.popup-phone{font-size:14px!important;margin:0 0 14px;color:var(--green)!important}.popup-phone svg{width:14px;height:14px}.card-address{margin-bottom:6px}.card-bottom{margin-top:8px}.leaflet-popup-content .phone-link{color:var(--green)}
.type-label>span{color:var(--ink)!important;font-size:11px!important;font-weight:600!important}
.about-button>span[data-icon]{display:inline-flex}

.map-status .text-button{color:var(--green);font-size:11px;text-decoration:underline;padding:3px 5px}.map-status{top:22px}

@media(max-height:500px) and (max-width:1100px){.sidebar{overflow-y:auto}.results-panel{flex:none;min-height:240px}.results{max-height:75vh}.search-panel{padding-top:15px}h1{margin-bottom:12px}.mobile-switch{bottom:24px}.map-bottom{bottom:80px}}

@media(max-width:760px),(max-height:500px) and (max-width:1100px){.mobile-map .map-bottom{left:14px;width:calc(100% - 28px);bottom:calc(24px + env(safe-area-inset-bottom,0px))}.mobile-map .legend{max-width:min(280px,calc(100% - 100px))}.mobile-map .mobile-switch{position:absolute;bottom:calc(100% + 12px);left:50%;pointer-events:auto}}

@media(max-width:760px),(max-height:500px) and (max-width:1100px){.map-bottom{z-index:1800}}

.location-state{font-size:10px}.location-state .text-button{font-size:10px;padding:2px 4px;text-decoration:underline}.locate-button[aria-busy="true"],.map-actions button[aria-busy="true"]{opacity:.72}

.history-dialog{width:570px;max-width:calc(100vw - 28px);padding:29px}.history-dialog h2{font-size:21px;line-height:1.5;margin:0 40px 19px 0}.history-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8b9682;margin-bottom:13px}.history-toolbar .text-button{font-size:10px}.history-list{display:flex;flex-direction:column;gap:8px}.history-row{position:relative;display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;background:white}.history-replay{display:flex;align-items:center;gap:11px;text-align:left;background:transparent;border:0;padding:13px 40px 13px 13px;width:100%;border-radius:9px}.history-replay:hover{background:#eff4e9}.history-symbol{display:flex;color:#849779;flex-shrink:0}.history-symbol svg{width:18px;height:18px}.history-copy{display:block;min-width:0;flex:1}.history-name{display:block;font-size:13px;line-height:1.7;font-weight:600;overflow-wrap:anywhere}.history-conditions{display:block;font-size:10px;color:#819073;line-height:1.8;margin:3px 0}.history-date{font-size:9px;color:#9aa38e}.history-count{font-size:10px;font-weight:500;color:#6e825f;margin-left:9px}.history-delete{position:absolute;right:6px;top:9px;color:#9da992}.history-more{width:100%;margin-top:14px;font-size:11px;padding:10px}.history-note{font-size:10px;color:#9aa58e;margin:17px 0 0}.history-empty{font-size:12px;line-height:1.9;color:#8a977e;padding:25px 0;text-align:center}.history-suggestion-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#98a28d;padding:5px 9px!important;cursor:default!important}.history-suggestion-heading:hover{background:none!important}.history-suggestion-heading button{font-size:9px}.clear-history-dialog{width:390px;max-width:calc(100vw - 28px);padding:26px}.clear-history-dialog h2{font-size:17px;line-height:1.9;margin:0 0 17px}.clear-history-dialog .detail-actions{margin-bottom:0}.clear-history-dialog .primary-action{cursor:pointer}
@media(max-width:760px),(max-height:500px) and (max-width:1100px){.header{gap:8px}.main-nav{gap:3px}.nav-button{padding-left:5px;padding-right:5px}.brand b{font-size:15px}.history-dialog{padding:25px 20px}.history-dialog h2{font-size:20px}.history-replay{padding-left:10px;gap:9px}.history-name{font-size:12px}.history-conditions{font-size:9px}}
@media(max-width:359px){.header{padding-left:12px;padding-right:12px;gap:6px}.brand{gap:6px}.brand-mark{width:30px;height:30px}.brand-mark svg{width:23px;height:23px}.brand b{font-size:13px;letter-spacing:0}.main-nav{gap:1px}.nav-button{padding-left:3px;padding-right:3px}}
.school-button{position:absolute;right:41px;top:9px;color:#a8ad9f}.school-button.registered{color:#a37c32;background:#fbf3df}.school-button.registered svg{fill:#e6cf91;stroke:#856323}.card-top{padding-right:64px}.school-pin{position:absolute;top:-7px;right:-7px;width:15px;height:15px;border-radius:50%;background:#c29336;border:2px solid white;color:white;display:grid;place-items:center}.school-pin svg{width:9px;height:9px;stroke-width:3}.school-marker.registered .pin{box-shadow:0 0 0 3px #d1ab54,0 2px 5px #283d2930}.popup-school{margin-top:8px;padding:8px;font-size:11px;width:100%}.popup-school.registered{border-color:#d7bd7d;background:#fbf3df;color:#856323}.detail-school{width:100%;margin-top:10px}.detail-school.registered{background:#fbf3df;border-color:#d7bd7d;color:#856323}.footer-sync{display:flex;gap:4px;align-items:center;margin-left:auto}.footer-sync svg{width:12px;height:12px}.footer-sync.linked{color:var(--green)}.history-tools{display:flex;gap:17px}.sync-dialog{width:460px;max-width:calc(100vw - 28px);padding:29px}.sync-dialog h2{font-size:21px;margin:0 40px 16px 0}.sync-status{font-size:11px;color:#78916f;margin:0 0 20px}.sync-status.error{color:#aa6549}.sync-dialog .primary-action{width:100%}.sync-dialog form{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.sync-dialog label{font-size:11px;display:block;margin-bottom:9px;color:#7f8b76}.sync-dialog input{min-width:0;width:100%;border:1px solid #d9dfd3;border-radius:7px;padding:10px 12px;color:var(--ink);background:white;font-size:13px}.sync-dialog input:focus-visible{outline:2px solid #a5ba71}.sync-dialog form .secondary-action{margin-top:10px;width:100%}.sync-code-row{display:flex;gap:10px;align-items:center}.sync-code-row input{flex:1;font-family:monospace}.sync-code-row button{font-size:11px;white-space:nowrap}.sync-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.sync-bottom{display:flex;justify-content:space-between;gap:14px;margin-top:22px}.sync-bottom .text-button{font-size:10px}.sync-qr{margin:18px auto 0;background:white;max-width:250px}.sync-qr svg{display:block;width:100%;height:auto;fill:black;stroke:none}.sync-note{font-size:10px;color:#8e9982;line-height:1.9;margin:22px 0 0}
@media(max-width:760px),(max-height:500px) and (max-width:1100px){.main-nav{gap:1px}.nav-button{padding-left:4px;padding-right:4px;gap:0}.favorite-total{display:none}.brand b{font-size:14px}.sidebar-footer{gap:12px}.sync-dialog{padding:25px 20px}}
.school-pin svg{position:static;stroke:white;left:auto;top:auto}.school-marker.registered .pin{box-shadow:none}.school-marker.registered .pin:before{outline:2px solid #d1ab54;outline-offset:1px}.popup-school svg{width:14px;height:14px}.detail-school svg{width:16px;height:16px}
@media(max-width:359px){.brand b{font-size:12px}.brand{gap:5px}.header{gap:4px}.nav-button{padding-left:2px;padding-right:2px}}

/* One scrolling list; the search input and condition toggles stay within reach. */
:root{--control-height:40px;--dock-offset:132px}
body{overflow:hidden}.app-shell{min-height:0}.sidebar{min-height:0;overflow:hidden}.sidebar-scroll{flex:1;min-height:0;overflow:auto;overflow-anchor:none;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#ccd7c8 transparent}.sidebar-scroll:focus-visible{outline:2px solid #a5ba71;outline-offset:-2px}
.search-panel.search-dock{position:sticky;top:0;z-index:1400;padding:18px 20px 14px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 3px 10px #243c2905;overflow-anchor:none}.search-wrap{height:44px}.search-wrap input{font-size:14px}.filter-switches{display:grid;grid-template-columns:1fr 1.35fr var(--control-height) var(--control-height);gap:6px;margin-top:10px}.filter-toggle{height:var(--control-height);display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;border:1px solid #dce3d6;border-radius:8px;background:white;color:#65785e;padding:0 8px;font-size:11px;font-weight:500;white-space:nowrap}.filter-toggle:hover{background:#edf3e8}.filter-toggle svg{width:14px;height:14px}.filter-toggle .filter-chevron{margin-left:auto}.filter-chevron svg{width:11px;height:11px;transition:transform .15s}.filter-toggle[aria-expanded="true"] .filter-chevron{transform:rotate(180deg)}.filter-toggle.has-selection{border-color:#9ab194;color:var(--green);background:#f0f5ec}.filter-icon{padding:0}.filter-icon svg{width:17px;height:17px}.filter-options{padding-top:12px}.city-chip,.category-chip{height:var(--control-height);min-width:0;border-radius:7px;padding:0 4px;font-size:11px}.city-filters{gap:5px}.category-filters{gap:6px}.category-chip{gap:6px}.nearby-row{margin-top:0;gap:7px}.locate-button,.nearby-row select{height:var(--control-height);border-radius:7px;font-size:11px;padding:0 9px;min-width:0}.locate-button{gap:7px}.nearby-row select{width:118px;max-width:42%;flex-shrink:0;color:#607354}.location-state{margin-top:8px}.search-dock.is-compact{box-shadow:0 5px 12px #243c2910}.results-panel{display:block;flex:none;min-height:0;border-top:0;padding-top:17px}.results{overflow:visible;max-height:none;padding:0 16px 18px}.results-toolbar{padding:0 20px;gap:8px;margin-bottom:12px}.results-toolbar>div{gap:7px;min-width:0}.results-toolbar select{height:36px;border:1px solid #e0e5da;border-radius:7px;background:white;padding:0 8px;max-width:118px;font-size:11px;color:#63745b}.results-meta{padding:0 20px 12px}.facility-card{scroll-margin-top:calc(var(--search-dock-height,126px) + 8px)}.sidebar-footer{padding:10px 20px;gap:12px}.sidebar-footer button{min-height:24px}.save-button,.school-button{width:36px;height:36px;top:8px}.school-button{right:47px}.save-button{right:8px}.card-top{padding-right:76px}.icon-button.clear-search{width:34px;height:34px}.phone-link{min-height:22px}.primary-action,.secondary-action{min-height:40px;border-radius:7px}
.suggestions[popover]{position:fixed;inset:auto;margin:0;padding:5px;background:white;color:var(--ink);border:1px solid #dfe5d8;border-radius:9px;box-shadow:0 8px 24px #263b2520;width:auto;max-width:none;z-index:2500;overflow:auto;overscroll-behavior:contain}.suggestions li{padding:10px}.suggestion-label{font-size:12px}.suggestion-sub{font-size:10px}
.basemap-control{position:absolute;top:22px;left:20px;z-index:600;display:flex;align-items:center;gap:7px;background:#fffffff2;border:1px solid #dce4d4;border-radius:8px;padding-left:11px;box-shadow:0 3px 12px #21371810;color:#62765b}.basemap-control svg{width:17px;height:17px}.basemap-control select{height:40px;border:0;background:transparent;color:var(--ink);font-size:12px;padding:0 9px 0 0;min-width:104px}.leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important}.map-actions{top:120px;gap:9px}.map-actions button{width:40px;height:40px}.map-status{top:22px;left:180px;right:80px}.leaflet-control-attribution{max-width:calc(100vw - 40px);white-space:normal}
@media(max-width:760px),(max-height:500px) and (max-width:1100px){:root{--control-height:44px;--dock-offset:136px}.search-panel.search-dock{padding:14px 16px 12px}.search-wrap input{font-size:16px}.filter-toggle{font-size:11px}.filter-toggle .filter-chevron{display:none}.results{padding:0 15px 84px;max-height:none}.results-panel{flex:none;min-height:0;padding-top:15px}.sidebar{overflow:hidden}.sidebar-footer{padding:8px 16px;font-size:8px;gap:9px}.sidebar-footer button{font-size:9px;min-height:28px}.results-toolbar{padding:0 17px}.results-meta{padding-left:17px;padding-right:17px}.basemap-control{top:16px;left:14px;padding-left:10px}.basemap-control select{height:40px;min-width:98px}.map-actions{top:111px;right:14px}.map-status{top:63px;left:14px;right:69px}.leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important}.mobile-switch{min-height:44px;padding-top:11px;padding-bottom:11px}.suggestion-label{font-size:13px}.suggestion-sub{font-size:11px}}
@media(max-height:500px) and (max-width:1100px){.search-panel.search-dock{padding-top:8px;padding-bottom:8px}.filter-switches{margin-top:6px}.filter-options{padding-top:8px}.results{max-height:none}}
@media(prefers-reduced-motion:reduce){.filter-chevron svg{transition:none}}
.map-bottom{bottom:max(24px,calc(var(--map-credit-height,12px) + 12px))}@media(max-width:760px),(max-height:500px) and (max-width:1100px){.mobile-map .map-bottom{bottom:calc(max(24px,calc(var(--map-credit-height,12px) + 12px)) + env(safe-area-inset-bottom,0px))}}
@media(max-height:500px) and (max-width:1100px){.category-filters{grid-template-columns:repeat(6,minmax(0,1fr))}.filter-options{padding-top:8px}}
.district-control{display:flex;align-items:center;gap:2px;max-width:100%;width:max-content;background:#fffffff5;border:1px solid #dce5e9;border-radius:9px;box-shadow:0 3px 12px #243c2910;margin-bottom:8px;pointer-events:auto;color:#285e80;padding:3px}.district-control button{border:0;background:transparent;color:inherit;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:6px;min-height:38px;font-size:11px}.district-toggle{padding:0 10px}.district-toggle[aria-pressed="false"]{color:#7c857f}.district-toggle[aria-pressed="false"] .district-swatch{background:transparent;border-style:dashed}.district-swatch{display:inline-block;width:16px;height:12px;border:2px solid #3f82b5;background:#6cadd533;border-radius:2px;flex-shrink:0}.district-control button:hover{background:#edf4f7}.district-icon{width:36px;flex-shrink:0}.district-icon svg{width:16px;height:16px}.district-control a{color:#285e80;font-size:11px;padding:8px;line-height:1.6}.district-note{font-size:10px;color:#73816f;line-height:1.8;margin:7px 0}.district-sources{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;line-height:1.8}.district-source,.district-sources a{color:#47716b}.district-map-link{display:inline-flex;align-items:center;gap:5px;min-height:30px}.district-map-link svg{width:13px;height:13px}.popup-district{border-top:1px solid var(--line);margin-top:10px;padding-top:4px}.detail-district{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:16px;padding:10px 0}.detail-district .district-note,.detail-district .district-sources{font-size:11px}.leaflet-popup-content{max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:760px),(max-height:500px) and (max-width:1100px){.district-control button{min-height:40px}.district-control{max-width:calc(100% - 10px)}.district-control a{max-width:210px}.district-icon{width:38px}}
@media(min-width:600px) and (max-height:500px) and (max-width:1100px){.mobile-map .map-bottom{display:flex;align-items:flex-end;gap:8px}.district-control{margin-bottom:0}.mobile-map .legend{max-width:280px}}
.leaflet-popup-content{max-width:calc(100vw - 60px)}.district-year{font-size:9px;color:#7a8776;margin-left:4px}@media(max-width:760px),(max-height:500px) and (max-width:1100px){.map-panel.has-popup .basemap-control,.map-panel.has-popup .map-actions,.map-panel.has-popup .leaflet-control-zoom{visibility:hidden}}
@media(max-height:500px) and (max-width:1100px){.map-panel.has-popup .map-bottom{display:none}}

/* Distance stays beside the public address, before phone actions. */
.facility-distance{font-size:11px;line-height:1.6;color:#64725d;margin:5px 0 8px}.facility-distance[hidden]{display:none}.card-distance{margin-left:21px}.popup-distance{font-size:10px}.detail-distance{margin-bottom:0}

/* The town-wide partial overlay is explicitly different from listed full towns. */
.district-control{flex-wrap:wrap}.district-reference-legend{flex:0 0 100%;display:grid;gap:3px;padding:2px 9px 7px;font-size:10px;line-height:1.6;color:#5e6e72;max-width:310px}.district-reference-legend[hidden]{display:none}.district-reference-legend span{display:flex;align-items:center;gap:6px}.district-key{display:inline-block;flex:0 0 14px;height:10px;border:2px solid #3f82b5;background:#6cadd533;border-radius:2px}.district-key.partial{border-color:#ad651b;border-style:dashed;background:#e5ac6538}.district-reference-note{font-size:10px;line-height:1.7;color:#875119;margin:6px 0}.district-dates{font-size:10px;line-height:1.7;color:#65736d;margin:6px 0}.detail-district .district-reference-note{font-size:11px}

/* Viewport units resolve to the map iframe, so the map wins room on every host. */
.app-shell{grid-template-columns:clamp(280px,25vw,336px) minmax(0,1fr)}
@media(min-width:761px){.search-panel.search-dock{padding-left:12px;padding-right:12px}.results{padding-left:10px;padding-right:10px}.results-toolbar,.results-meta{padding-left:12px;padding-right:12px}.sidebar-footer{padding-left:12px;padding-right:12px}.filter-toggle{padding-left:5px;padding-right:5px;gap:3px}.filter-toggle:not(.filter-icon) .filter-chevron{display:none}.city-chip{font-size:10px;padding-left:2px;padding-right:2px}.card-name{overflow-wrap:anywhere}.card-address{overflow-wrap:anywhere}}
.popup-location{margin:6px 0 9px;font-size:10px;line-height:1.6;color:#64725d}.popup-location .text-button{font-size:11px;min-height:32px;color:#285e70;text-align:left}.popup-location>span{margin-left:7px;color:#64725d;font-size:10px}.popup-location p{margin:4px 0;color:#985f30}.popup-distance{font-weight:600;color:#285e70}
@media(max-width:760px),(max-height:600px) and (orientation:landscape){.legend{background:rgba(255,255,255,.70);border-color:rgba(255,255,255,.72);backdrop-filter:blur(2px)}.district-control{background:rgba(255,255,255,.76);backdrop-filter:blur(2px)}.basemap-control{background:rgba(255,255,255,.76);backdrop-filter:blur(2px)}.map-actions button,.leaflet-control-zoom a{background:rgba(255,255,255,.78)!important;backdrop-filter:blur(2px)}.mobile-switch{background:rgba(36,92,73,.86);backdrop-filter:blur(2px)}.map-status{background:rgba(255,255,255,.84)}}
/* Compact landscape keeps list + map together; portrait retains its list/map switch. */
@media(min-width:560px) and (max-height:600px) and (orientation:landscape){
 .app-shell{display:grid;grid-template-columns:clamp(220px,30vw,280px) minmax(0,1fr);min-height:0}
 .sidebar,.mobile-map .sidebar{visibility:visible;height:100%;border-right:1px solid #dce2d8;overflow:hidden;min-width:0}
 .map-panel,.mobile-map .map-panel{position:relative;inset:auto;visibility:visible;pointer-events:auto;min-width:0}
 .mobile-switch,.mobile-map .mobile-switch{display:none}
 .search-panel.search-dock{padding:8px 10px}.filter-switches{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 44px 44px;gap:4px}.filter-toggle{padding:0 2px;font-size:10px;gap:0}.filter-toggle:not(.filter-icon) svg{display:none}
 .city-filters{flex-wrap:wrap}.city-chip{flex:1 1 52px;font-size:10px}.category-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.category-chip{font-size:10px}.nearby-row{flex-wrap:wrap}.nearby-row .locate-button{flex-basis:100%}.nearby-row select{max-width:100%;width:100%;height:36px}
 .results{padding:0 8px 12px}.results-panel{padding-top:8px}.results-toolbar{padding:0 10px;gap:4px;flex-wrap:wrap}.results-toolbar>div{gap:4px}.results-toolbar select{max-width:100px;font-size:10px}.results-meta{padding:0 10px 8px}.facility-card{padding:12px 10px}.card-top{gap:3px}.category-badge{font-size:8px;padding:3px}.city-label{font-size:9px}.card-name{font-size:14px;overflow-wrap:anywhere}.card-address{font-size:10px;overflow-wrap:anywhere}.sidebar-footer{padding:5px 9px;font-size:8px;gap:5px;flex-wrap:wrap}.sidebar-footer button{min-height:26px}
 .map-bottom,.mobile-map .map-bottom{display:block;left:10px;width:calc(100% - 20px);bottom:max(18px,calc(var(--map-credit-height,12px) + 8px))}.district-control{max-width:100%;margin-bottom:6px}.district-control button{min-height:40px}.district-toggle{padding:0 6px;font-size:10px}.district-icon{width:38px}.district-reference-legend{font-size:9px;padding:0 6px 5px;max-width:100%}.legend,.mobile-map .legend{max-width:100%;gap:5px 9px;padding:7px 9px}.legend-item{font-size:8px}.map-panel.has-popup .map-bottom{display:none}.leaflet-control-attribution{max-width:calc(100% - 6px);font-size:8px!important}
}

/* Hidden portrait map controls cannot widen the document after rotation. */
.map-panel{overflow:hidden;min-width:0}.map-bottom{max-width:calc(100% - 28px)}.district-reference-legend{max-width:100%}

.facility-card{cursor:pointer}.facility-card:focus-within{border-color:#6c927b}.card-name:focus-visible{outline:2px solid #477b61;outline-offset:4px;border-radius:3px}.facility-card a,.facility-card button{cursor:pointer}

/* Compact mobile map controls keep the geography visible. */
.map-legend{pointer-events:auto}.map-legend>summary{display:none}.map-legend>.legend{display:flex}.district-info-toggle{display:none!important}
@media(max-width:760px),(max-height:600px) and (orientation:landscape){
 .header{height:52px}.app-shell{height:calc(100vh - 52px);height:calc(100dvh - 52px)}
 .district-reference-legend{display:none}.district-control.show-legend .district-reference-legend{display:grid}.district-info-toggle{display:flex!important;min-width:40px;font-size:10px!important;padding:0 5px}
 .district-control{max-width:100%;margin-bottom:4px;padding:1px}.district-control button{min-height:36px}.district-toggle{padding:0 6px;font-size:10px!important;gap:4px!important}.district-icon{width:32px}.district-icon svg{width:14px;height:14px}
 .map-legend{width:max-content;max-width:100%;border:1px solid #e0e7dc;background:#ffffffe8;border-radius:7px;position:relative}.map-legend>summary{display:block;cursor:pointer;padding:7px 11px;font-size:10px;color:#536e59;min-height:32px;list-style:none}.map-legend>summary::after{content:' ＋'}.map-legend[open]>summary::after{content:' −'}.map-legend:not([open])>.legend{display:none!important}.map-legend>.legend{max-width:100%!important;padding:8px 10px;box-shadow:none}
 .map-bottom,.mobile-map .map-bottom{left:10px;width:calc(100% - 20px);bottom:calc(max(18px,calc(var(--map-credit-height,12px) + 7px)) + env(safe-area-inset-bottom,0px))}
 .mobile-map .mobile-switch{position:absolute;bottom:0;left:auto;right:0;transform:none;padding:8px 13px;min-height:36px;font-size:11px}.mobile-map .map-legend{max-width:calc(100% - 115px)}
 .map-panel.has-popup .map-bottom{display:none}.leaflet-popup-content{margin:12px!important;max-height:calc(100dvh - 132px);min-width:205px}.popup-title{font-size:13px;margin:5px 0}.popup-address{margin-bottom:5px}.popup-location{margin:2px 0 4px}.popup-phone{margin:3px 0!important}.popup-school{margin-top:5px;padding:6px}.popup-district{margin-top:6px}.popup-district .district-reference-note{font-size:9px;margin:3px 0}.popup-district .district-year{display:none}
}
@media(min-width:560px) and (max-height:600px) and (orientation:landscape){.app-shell{display:grid}.mobile-map .mobile-switch,.mobile-switch{display:none}.mobile-map .map-legend{max-width:100%}}

@media(max-width:760px){.map-panel.has-popup .map-bottom{display:block}.map-panel.has-popup .district-control,.map-panel.has-popup .map-legend{display:none}.map-panel.has-popup .mobile-switch{pointer-events:auto}}

/* Mobile legend backgrounds let more of the map show through. */
@media(max-width:760px),(max-height:600px) and (orientation:landscape){
 .map-legend,.district-control{background:rgba(255,255,255,.35);border-color:rgba(255,255,255,.45);backdrop-filter:none}
 .map-legend>.legend{background:transparent;border-color:transparent;backdrop-filter:none}
 .map-legend>summary,.legend-item,.district-reference-legend{color:#324d3c;font-weight:600;text-shadow:0 1px 2px #fff}
}
