:root{--cream:#fbf7ed;--paper:#fffdf8;--ink:#272b28;--muted:#6c716b;--orange:#d94e1c;--orange-dark:#a93713;--orange-light:#fff0de;--teal:#147568;--line:#e6e1d5;--shadow:0 9px 35px #222a241c;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,summary,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #247e94;outline-offset:3px}button{color:inherit}a{color:var(--orange-dark)}[hidden]{display:none!important}.skip-link{position:absolute;top:-80px;left:10px;z-index:3000;background:var(--paper);padding:12px}.skip-link:focus{top:8px}.topbar{height:88px;padding:0 30px;display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--line);background:var(--cream);position:relative;z-index:500}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:820;font-size:26px;letter-spacing:-1.2px;color:var(--ink);white-space:nowrap}.brand-icon{width:45px;height:45px;border-radius:16px;background:var(--orange);color:#fff5df;display:grid;place-items:center;font-size:34px;font-weight:400;transform:rotate(-7deg)}.brand-caption{display:block;font-weight:450;font-size:11px;letter-spacing:.2px;color:var(--muted);margin-top:1px}.event-label{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:#62675d;max-width:350px}.event-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--orange)}.button{border:1px solid transparent;border-radius:10px;padding:12px 17px;min-height:43px;font-weight:720;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;transition:background .15s,box-shadow .15s}.button.primary{background:var(--orange);color:white;box-shadow:0 3px 0 #a8351820}.button.primary:hover{background:var(--orange-dark)}.button.secondary{background:var(--paper);border-color:#d7d9cd}.button.secondary:hover{background:#efeee6}.button.small{padding:8px 12px;min-height:36px;font-size:12px}.button.full,.text-button.full{width:100%;margin-top:12px}.text-button{border:0;background:transparent;color:var(--orange-dark);font-weight:650;font-size:13px;padding:8px}.text-button:hover{text-decoration:underline}.icon-button{background:transparent;border:1px solid var(--line);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;font-size:19px;line-height:1}.icon-button:hover{background:#eae6da}.toolbar{height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 30px;border-bottom:1px solid var(--line);position:relative;z-index:400;background:var(--paper)}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:10px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.6px;color:var(--muted);display:block}.toolbar-left>.eyebrow{margin-right:12px}.filter-chip{display:flex;align-items:center;gap:6px;border:1px solid #dedfd3;border-radius:999px;padding:8px 12px;font-size:12px;white-space:nowrap;cursor:pointer;background:#fffefb}.filter-chip:has(input:checked){border-color:var(--orange);background:var(--orange-light);color:var(--orange-dark)}input[type=checkbox],input[type=radio]{accent-color:var(--orange);width:16px;height:16px;flex-shrink:0;margin:0}.view-toggle{border:0;background:#f0eee5;border-radius:8px;padding:8px 12px;font-weight:650;display:none;align-items:center;gap:6px}.workspace{display:flex;position:relative;height:calc(100dvh - 184px);min-height:240px}.map-pane{position:relative;flex:1;min-width:0;background:#e9eddf}.map-pane #map{height:100%;width:100%;background:#e9eddf}.leaflet-container{font-family:inherit}.leaflet-control-attribution{font-size:10px!important}.leaflet-top.leaflet-left{top:14px;left:8px}.leaflet-bar{border:1px solid #d5d7c8!important;border-radius:10px!important;overflow:hidden;box-shadow:0 4px 12px #222a2412!important}.leaflet-bar a{color:var(--ink)!important;background:var(--paper)!important;width:33px!important;height:34px!important;line-height:34px!important}.leaflet-bar a:hover{background:#f2eadc!important}.homes-panel{width:340px;flex-shrink:0;background:var(--paper);padding:27px 24px 0;display:flex;flex-direction:column;border-left:1px solid var(--line);overflow:auto;z-index:450}.panel-top{display:flex;align-items:center;justify-content:space-between}.panel-top h1{font-size:22px;line-height:1.3;font-weight:750;letter-spacing:-.6px;margin:8px 0 0}.panel-top h1 span{display:inline-grid;place-items:center;font-size:11px;vertical-align:middle;width:24px;height:24px;background:#f2ebde;color:#796a53;border-radius:50%;margin-left:4px;letter-spacing:0}.list-intro{font-size:12px;color:var(--muted);line-height:1.65;margin:13px 0 20px}.mobile-close{display:none}#homes-list{flex:1}.list-placeholder{font-size:13px;color:var(--muted);line-height:1.6;padding:18px 0}.home-card{width:100%;padding:16px 0;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;display:flex;gap:12px;align-items:flex-start}.home-card:hover .home-address{text-decoration:underline}.home-card.selected{background:var(--orange-light);margin:0 -10px;padding-left:10px;padding-right:10px;width:calc(100% + 20px);border-radius:10px}.home-glyph{display:grid;place-items:center;background:var(--orange-light);width:42px;height:42px;border-radius:13px;flex-shrink:0}.home-copy{min-width:0;flex:1}.home-address{font-weight:730;font-size:13px;line-height:1.4;display:block}.home-meta{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:3px}.home-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.tiny-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;line-height:1.4;padding:3px 6px;border-radius:5px;background:#f0eee5;color:#62665a}.tiny-badge.teal{background:#e0f0ea;color:#17685c}.tiny-badge.open{background:#e5efdf;color:#436126}.tiny-badge.out{background:#ecebe7;color:#76786f}.panel-footer{display:flex;align-items:center;gap:10px;padding:20px 0;border-top:1px solid var(--line);margin-top:20px;color:#787e6d}.panel-footer>span{font-size:35px;color:#b4bba4}.panel-footer p{font-size:11px;line-height:1.65;margin:0}.panel-footer .text-button{padding:0;font-size:10px;color:#727966}.map-notice{position:absolute;z-index:600;top:25px;left:50%;transform:translateX(-50%);background:var(--paper);padding:13px 18px;border-radius:10px;box-shadow:var(--shadow);font-size:13px;max-width:calc(100% - 120px)}.map-notice.error{color:#8d301b;display:flex;gap:8px;align-items:center}.empty-map{position:absolute;z-index:550;left:50%;top:43%;transform:translate(-50%,-50%);width:285px;padding:24px;text-align:center;background:#fffdf8f5;border:1px solid #e2dccb;box-shadow:var(--shadow);border-radius:20px}.empty-illustration{display:block;color:var(--orange);font-size:44px;line-height:1.2;margin-bottom:10px}.empty-map strong{font-size:20px;letter-spacing:-.5px}.empty-map p{font-size:12px;line-height:1.7;color:var(--muted);margin:10px 0 18px}.locate-button{position:absolute;bottom:40px;right:20px;z-index:500;display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid #d8dacd;border-radius:11px;padding:11px 14px;box-shadow:var(--shadow);font-size:12px;font-weight:700}.locate-button>span:first-child{font-size:22px;line-height:1}.map-legend{position:absolute;z-index:400;bottom:38px;left:20px;font-size:9px;background:#fffdf8e8;border:1px solid #d8dacd;padding:8px 10px;border-radius:7px;color:#666c5c;display:flex;align-items:center;gap:5px;pointer-events:none}.legend-dot{width:7px;height:7px;border-radius:50%;background:var(--orange);display:inline-block}.legend-dot.teal{background:var(--teal);margin-left:6px}.statusbar{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:9px;color:#797e70;border-top:1px solid var(--line)}.map-pin{background:transparent;border:0!important}.pin-wrap{width:40px;height:47px;position:relative;filter:drop-shadow(0 3px 3px #373b2c40);transform-origin:50% 90%}.pin-wrap>svg{width:40px;height:47px;display:block}.pin-wrap.muted{filter:grayscale(.85) drop-shadow(0 2px 2px #373b2c25);opacity:.72}.pin-teal{width:12px;height:12px;border-radius:50%;background:var(--teal);border:2px solid white;position:absolute;right:-1px;top:-1px}.map-pin:focus .pin-wrap,.map-pin:hover .pin-wrap{transform:scale(1.12)}.map-pin:focus{outline:3px solid #247e94!important;border-radius:15px}.user-dot{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#247bdd;box-shadow:0 0 0 2px #247bdd55,0 2px 6px #0003}.detail-panel{position:absolute;z-index:700;right:0;top:0;bottom:0;width:340px;background:var(--paper);padding:32px 24px;overflow:auto;box-shadow:-5px 0 18px #222a2410}.detail-close{position:absolute;right:16px;top:16px}.detail-icon{font-size:42px;margin:8px 0 18px}.detail-panel h2{font-size:23px;line-height:1.25;letter-spacing:-.6px;margin:8px 0 14px;padding-right:15px}.detail-panel h3{font-size:12px;letter-spacing:.5px;margin:24px 0 10px}.detail-panel p{font-size:13px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.detail-panel .detail-notes{color:var(--ink);white-space:pre-wrap}.detail-schedule{padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0}.detail-schedule p{margin:0}.detail-time{font-weight:700;color:var(--ink)!important}.detail-badges{display:flex;gap:6px;flex-wrap:wrap}.detail-badges .tiny-badge{font-size:11px;padding:5px 8px}.allergen-badge{display:inline-flex;align-items:center;gap:4px;background:#f3eddf;border-radius:6px;padding:5px 7px;font-size:11px}.allergen-badge svg{width:15px;height:15px}.detail-report{margin-top:22px;border-top:1px solid var(--line);padding-top:12px}.detail-report .text-button{font-size:11px;padding-left:0;color:var(--muted)}.toast{position:fixed;left:50%;bottom:45px;transform:translateX(-50%);z-index:4000;max-width:calc(100vw - 30px);border-radius:12px;background:#2e352d;color:white;padding:13px 20px;font-size:13px;box-shadow:var(--shadow)}dialog{border:1px solid #dfdece;border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #222a2430;margin:auto;padding:27px;max-height:calc(100dvh - 36px);overflow:auto;width:min(570px,calc(100vw - 28px))}dialog::backdrop{background:#1d282678;backdrop-filter:blur(3px)}dialog.compact-dialog{width:min(430px,calc(100vw - 28px))}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:10px}.dialog-heading h2{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:6px 0 0}.compact-dialog .dialog-heading h2{font-size:23px}.dialog-heading .icon-button{margin-top:3px}.dialog-intro,dialog p{font-size:13px;line-height:1.65;color:var(--muted)}dialog h3{font-size:15px;margin:22px 0 0}.field-label,fieldset legend{display:block;font-size:12px;font-weight:750;margin:19px 0 7px}.required,.optional{font-size:10px;font-weight:450;color:var(--muted);margin-left:5px}input:not([type=checkbox]):not([type=radio]),textarea,select{display:block;width:100%;border:1px solid #d8d9cb;background:#fffefa;border-radius:8px;padding:11px 12px;font-size:13px;color:var(--ink);min-height:42px}textarea{resize:vertical}.field-help{font-size:10px!important;line-height:1.6!important;margin:8px 0 12px!important;color:#777c70!important}.position-row{display:flex;align-items:center;gap:8px;margin:10px 0 6px;flex-wrap:wrap}#position-summary{font-size:10px;color:var(--muted);width:100%}.coordinate-details{font-size:11px;color:var(--muted);margin:11px 0}.coordinate-details summary{cursor:pointer}.coordinate-details .two-col{margin-top:10px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-col input{margin-top:7px}.two-col .field-label{margin-bottom:0}fieldset{border:0;padding:0;margin:0 0 15px;min-width:0}fieldset legend{margin-bottom:9px;padding:0}.choice-row{display:flex;gap:8px;flex-wrap:wrap}.choice{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dcdece;border-radius:8px;background:#fffefa;padding:9px 10px;flex:1;white-space:nowrap;font-size:11px;cursor:pointer}.choice:has(input:checked){background:var(--orange-light);border-color:#e0835a;color:#873812}.pin-choices .choice{font-size:10px}.pin-choices .choice>span{font-size:17px}.optional-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:22px}.optional-details>summary{list-style-position:inside;padding:15px 0;font-size:12px;font-weight:750;cursor:pointer}.optional-details>summary>span{float:right;font-size:10px;font-weight:450;color:var(--muted)}.details-body{padding-bottom:12px}.check-line{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.65;margin:9px 0}.check-line input{margin-top:2px}.consent{margin-top:20px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;margin-top:23px}.form-error{font-size:12px;line-height:1.6;padding:12px;background:#fff0e9;border:1px solid #eac3af;border-radius:8px;color:#963e21;margin:16px 0}.allergen-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.allergen-choice{display:flex;align-items:center;gap:6px;padding:8px 6px;font-size:10px;min-width:0;background:#f7f4eb;border:1px solid #e9e2d4;border-radius:7px;cursor:pointer}.allergen-choice svg{width:16px;height:16px;flex-shrink:0}.allergen-choice:has(input:checked){background:#ffead9;border-color:#e6996e}.allergen-choice input{width:13px;height:13px}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.danger{color:#a53520}.danger-button{background:#a53520;color:white}.pick-banner{position:absolute;z-index:800;top:18px;left:50%;transform:translateX(-50%);width:min(390px,calc(100% - 100px));background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:15px}.pick-banner strong{font-size:14px;display:block}.pick-banner>span{font-size:11px;line-height:1.6;display:block;color:var(--muted);margin:6px 0 11px}.picking #map{cursor:crosshair}.picking .empty-map{display:none!important}.picking .map-legend{display:none}.leaflet-tooltip{font-family:inherit!important}.expired-banner{background:#fff0de!important;color:#873812!important}.empty-filter{padding:24px 0;text-align:center;font-size:12px;line-height:1.7;color:var(--muted)}
@media(min-width:1500px){.homes-panel,.detail-panel{width:375px}.topbar,.toolbar{padding-left:42px;padding-right:42px}.homes-panel{padding-left:29px;padding-right:29px}}
@media(max-width:1000px){.toolbar-left>.eyebrow{display:none}.event-label{max-width:230px;font-size:11px}.homes-panel,.detail-panel{width:305px}.topbar,.toolbar{padding-left:20px;padding-right:20px}.map-legend{display:none}}
@media(max-width:700px){.topbar{height:73px;padding:0 15px;gap:12px}.brand{font-size:23px;gap:9px;letter-spacing:-.8px}.brand-icon{width:36px;height:36px;border-radius:13px;font-size:28px}.brand-caption{font-size:9px;max-width:145px;letter-spacing:0}.topbar>.button{margin-left:auto;padding:10px 11px;font-size:12px;min-height:39px}.event-label{display:none}.toolbar{height:58px;padding:0 12px;gap:7px}.toolbar-left{gap:6px}.toolbar-right{gap:6px}.filter-chip{font-size:10px;padding:8px 9px;gap:4px}.filter-chip>span{display:none}.filter-chip input{width:13px;height:13px}.view-toggle{display:flex;font-size:11px;padding:8px 10px}.toolbar-right>.icon-button{width:28px;height:28px;font-size:15px}#owner-open{position:fixed;bottom:38px;left:12px;z-index:650;background:var(--paper);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);padding:9px 10px;font-size:10px}.workspace{height:calc(100dvh - 157px)}.statusbar{height:26px;padding:0 10px;font-size:8px}.statusbar>span:first-child{max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.homes-panel{display:none;position:absolute;top:0;right:0;bottom:0;width:min(350px,100%);padding:23px 22px 0;box-shadow:-10px 0 40px #222a2430;z-index:750}.homes-panel.is-open{display:flex}.mobile-close{display:grid}.locate-button{bottom:28px;right:12px;padding:10px 12px;font-size:11px}.empty-map{width:260px;padding:22px;top:45%}.empty-map p{font-size:11px}.empty-map strong{font-size:19px}.leaflet-top.leaflet-left{top:10px;left:1px}.detail-panel{top:auto;bottom:0;left:0;right:0;width:auto;max-height:68%;border-radius:20px 20px 0 0;padding:23px 24px 28px;box-shadow:0 -6px 25px #222a2430}.detail-panel:before{content:"";position:absolute;left:calc(50% - 20px);top:7px;width:40px;height:4px;border-radius:4px;background:#dcded0}.detail-icon{font-size:30px;margin:0 0 8px}.detail-panel h2{font-size:22px}.detail-panel h3{margin-top:18px}.detail-schedule{margin:14px 0;padding:10px 0}.detail-close{top:17px;right:18px}.map-notice{top:16px;font-size:11px;padding:10px 13px;max-width:calc(100% - 100px)}dialog{padding:23px 20px;border-radius:17px;max-height:calc(100dvh - 22px)}.dialog-heading h2{font-size:23px}.dialog-intro{font-size:12px}.choice{font-size:10px;padding:9px 6px;gap:5px}.choice input{width:13px;height:13px}.pin-choices .choice{font-size:9px;gap:4px}.two-col{gap:9px}.two-col input{font-size:11px!important;padding-left:7px!important;padding-right:7px!important}.allergen-options{gap:5px}.allergen-choice{font-size:9px;padding:8px 4px;gap:4px}.allergen-choice svg{width:13px;height:13px}.toast{bottom:38px;width:max-content;text-align:center}.pick-banner{top:18px;width:calc(100% - 95px);left:auto;right:12px;transform:none}.consent{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.leaflet-zoom-animated{transition:none!important}}
@media(max-width:380px){.brand-caption{display:none}.brand{font-size:21px}.brand-icon{width:32px;height:32px;font-size:25px}.topbar{gap:8px}.toolbar-right>#about-open{display:none}.filter-chip{font-size:9px;padding:8px}.toolbar{gap:4px}.topbar>.button{font-size:11px}}
@media(max-width:700px){.toolbar{z-index:850}.homes-panel,.detail-panel{z-index:950}}
.address-locality{display:grid;grid-template-columns:minmax(0,1fr) 66px 92px;gap:10px}.address-locality .field-label{margin-top:12px}.address-locality input{margin-top:7px}.address-locality #address-state{text-transform:uppercase}.stored-address{margin:18px 0 12px;padding:0 0 12px;border-bottom:1px solid var(--line)}.stored-address .field-label{margin:0 0 6px}.stored-address p{font-weight:700;color:var(--ink);margin:0;overflow-wrap:anywhere}.stored-address .text-button{padding:7px 0 0}.lookup-status{font-size:11px!important;line-height:1.65!important;color:#52634d!important;margin:12px 0!important}.geocode-candidates{display:grid;gap:7px;margin:12px 0}.address-candidate{border:1px solid #d8d9cb;background:#f4f2e8;border-radius:8px;text-align:left;padding:12px;font-size:12px;line-height:1.5}.address-candidate:hover{border-color:var(--orange);background:var(--orange-light)}.pin-preview{margin:17px 0 10px;border:1px solid #dddccf;border-radius:12px;overflow:hidden;background:#fffefa}.pin-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px}.pin-preview-heading strong{font-size:12px}.pin-preview-heading>span{font-size:9px;color:var(--muted);text-align:right}.pin-map-wrap{position:relative}.pin-map-wrap #pin-map{height:225px;width:100%;background:#e9eddf}.pin-preview .field-help{padding:0 13px;margin-top:10px!important;margin-bottom:0!important}.pin-preview>.text-button{padding:7px 13px;font-size:10px}.pin-confirmation{padding:0 13px 8px;margin-top:2px!important;font-weight:700;font-size:11px}.basemap-switch{position:absolute;right:15px;top:15px;z-index:510;display:flex;background:var(--paper);border:1px solid #d7d9cb;border-radius:9px;box-shadow:0 3px 12px #222a241c;padding:3px;gap:2px}.basemap-switch button{border:0;background:transparent;border-radius:6px;padding:8px 11px;font-size:11px;font-weight:750;min-height:33px;color:#626b5c}.basemap-switch button[aria-pressed=true]{background:#373f32;color:white}.pin-map-wrap .basemap-switch{top:10px;right:10px}.pin-map-wrap .basemap-switch button{font-size:9px;padding:6px 8px;min-height:28px}.pin-map-wrap .leaflet-control-attribution{max-width:90%;font-size:8px!important}.pin-map-wrap .leaflet-top.leaflet-left{top:4px;left:1px}.pin-map-wrap .leaflet-bar a{width:28px!important;height:29px!important;line-height:29px!important}
@media(max-width:700px){.address-locality{grid-template-columns:minmax(0,1fr) 57px 78px;gap:8px}.address-locality input{padding-left:8px!important;padding-right:8px!important;font-size:12px!important}.pin-map-wrap #pin-map{height:220px}.map-pane>.basemap-switch{right:12px;top:10px}.basemap-switch button{font-size:10px;padding:7px 9px}.pin-preview-heading{padding:11px}.pin-confirmation{font-size:10px}.pick-banner{top:62px}}
@media(max-width:700px){.topbar{gap:8px}.topbar .theme-toggle{flex-shrink:0;min-width:32px;min-height:34px}.topbar>.button{white-space:nowrap}.brand{min-width:0}}
@media(max-width:420px){.brand-caption{display:none}.topbar{padding-left:12px;padding-right:12px}.brand{font-size:22px;gap:7px}.brand-icon{width:32px;height:32px;font-size:25px}.topbar>.button{padding-left:10px;padding-right:10px}}
@media(max-width:350px){.brand{font-size:20px}.topbar{gap:6px}.topbar>.button{font-size:10px;padding-left:8px;padding-right:8px}}
.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.two-col>*,.address-locality>*,dialog form{min-width:0}dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{min-width:0;max-width:100%}
.shared-hours{margin:20px 0;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.shared-hours>.field-label{margin:0 0 6px}.shared-hours>strong{display:block;font-size:15px;line-height:1.5}.shared-hours>.field-help{margin-bottom:0!important}#header-hours{display:block;font-size:10px;white-space:nowrap;letter-spacing:0}
@media(max-width:700px){#header-hours{font-size:8px;margin-top:2px}.shared-hours>strong{font-size:14px}}

/* A little pumpkin-and-ghost personality around the working map. */
:root{--cream:#fff2df;--paper:#fffaf0;--ink:#432c42;--muted:#796779;--orange-dark:#9b391f;--orange-light:#ffe6c9;--line:#e2d1bf;--shadow:0 6px 0 #54364b0a,0 10px 26px #54364b14}
.brand,.panel-top h1,.empty-map strong,.dialog-heading h2,.admin-main h1,.admin-main h2{font-family:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",sans-serif;font-weight:850;letter-spacing:-.65px}
.brand{gap:10px;font-size:29px;letter-spacing:-1px}.brand-icon{width:52px;height:52px;flex-shrink:0;border-radius:0;background:transparent;transform:rotate(-6deg);display:block;line-height:0}.brand-icon img{display:block;width:100%;height:100%;object-fit:contain}.brand-caption{font-family:ui-sans-serif,system-ui,sans-serif;color:var(--muted);font-weight:650;letter-spacing:0}
.topbar{border-bottom:2px solid var(--line)}.toolbar{background:var(--paper);border-bottom:2px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:.15px;font-weight:750}.toolbar-left>.eyebrow{font-size:12px;color:var(--ink);margin-right:6px}.event-label{color:var(--muted)}.event-dot{width:8px;height:8px;background:var(--orange);box-shadow:0 0 0 4px var(--orange-light)}
.button{border-radius:14px 14px 14px 9px;font-weight:760}.button.primary{border-color:#963a25;box-shadow:0 3px 0 #7e32252b}.button.primary:hover{box-shadow:0 2px 0 #7e32252b}.button.secondary{border-color:#d9bfae;background:#fff7e8}.icon-button{border-color:var(--line);background:var(--paper)}.filter-chip{border-radius:12px;border-color:#d9bfae;background:#fff7e8;font-weight:650}.filter-chip:has(input:checked){background:#ffe0ba;border-color:#c97b53;color:#80371e}.view-toggle{background:#efe2d0;border-radius:10px}.locate-button{border:2px solid var(--line);border-radius:15px 15px 15px 8px}.map-legend{background:#fff7e9f2;color:var(--muted);border-color:var(--line);border-radius:9px}.map-notice{border:1px solid var(--line);border-radius:13px}
.homes-panel{border-left:2px solid var(--line)}.panel-top h1{font-size:26px;margin-top:6px}.panel-top h1 span{background:#f7dfc4;color:#8b4a30;border:1px solid #ebc9a6}.list-intro{margin-top:10px;color:var(--muted)}.home-card{border-color:var(--line);padding-top:18px;padding-bottom:18px}.home-glyph{background:#ffebcf;border-radius:15px 12px 15px 9px}.home-address{font-weight:760}.home-card.selected{background:var(--orange-light)}.tiny-badge{border-radius:7px;background:#f0e5d9;color:#725e73}.tiny-badge.teal{background:#def0e9;color:#1c665b}.tiny-badge.open{background:#e8ebd4;color:#4e612b}.tiny-badge.out{background:#ece4e8;color:#786d79}
.empty-map{left:22px;top:auto;bottom:82px;transform:none;width:260px;padding:17px 20px 20px;background:var(--paper);border:2px solid #dac2ad;border-radius:23px 23px 23px 12px;box-shadow:0 5px 0 #54364b13,0 12px 28px #54364b1a}.empty-map .empty-illustration{display:block;width:162px;height:88px;object-fit:contain;margin:0 auto 3px;font-size:0;line-height:normal}.empty-map strong{display:block;font-size:22px;line-height:1.2;color:var(--ink)}.empty-map p{font-size:12px;line-height:1.55;margin:10px 0 14px}.empty-map .button{min-height:39px;font-size:12px}.empty-filter:before{content:"";display:block;width:76px;height:76px;margin:0 auto 12px;background:url("mascot-ghost.svg") center/contain no-repeat;transform:rotate(-7deg)}.panel-footer{color:var(--muted)}.panel-footer>span{display:block;flex-shrink:0;font-size:0;width:42px;height:45px;background:url("mascot-ghost.svg") center/contain no-repeat;transform:rotate(-8deg)}.panel-footer .text-button{color:var(--muted)}.statusbar{color:var(--muted)}
dialog{border:2px solid #dbc4af;border-radius:23px 23px 23px 13px}.dialog-heading h2{font-size:26px;line-height:1.18}.compact-dialog .dialog-heading h2{font-size:24px}.mascot-heading{gap:11px;align-items:center}.mascot-heading>div{flex:1;min-width:0}.heading-mascot{width:45px;height:49px;flex-shrink:0;object-fit:contain;transform:rotate(-9deg)}.mascot-heading .icon-button{align-self:flex-start}.mascot-heading h2{font-size:25px}.dialog-intro{margin-top:13px}.field-label,fieldset legend{color:var(--ink)}input:not([type=checkbox]):not([type=radio]),textarea,select{background:#fffdf6;border-color:#d6bfad;border-radius:11px}.choice{background:#fff6e7;border-color:#dcc3ad;border-radius:12px}.choice:has(input:checked){background:#ffe3c2;border-color:#cf774b;color:#80371e}.optional-details{border-color:var(--line)}.shared-hours{border-top:1px dashed #d7b99e;border-bottom:1px dashed #d7b99e}.shared-hours>strong{color:#9c4229}.pin-preview{border:2px solid var(--line);border-radius:15px}.pin-preview-heading{background:var(--orange-light)}.basemap-switch{border-radius:12px;border:2px solid var(--line)}.basemap-switch button{border-radius:8px;color:var(--muted)}.basemap-switch button[aria-pressed=true]{background:#664365;color:#fff6ea}.allergen-choice{background:#f6ecdf;border-color:#e4d2be}.allergen-choice:has(input:checked){background:#ffe3c2;border-color:#cf774b}.allergen-badge{background:#f3e5d5}.form-error{border-radius:12px}.toast{background:#50354f;border-radius:15px;color:#fff7e8}
#success-dialog>.dialog-heading:before{content:"";width:49px;height:49px;flex-shrink:0;background:url("mascot-pumpkin.svg") center/contain no-repeat;transform:rotate(-7deg)}#success-dialog>.dialog-heading h2{flex:1}#success-dialog>.dialog-heading{gap:10px;align-items:center}.admin-main>h1{font-size:30px}.admin-main>h1:before{content:"";display:inline-block;vertical-align:middle;width:49px;height:53px;margin-right:10px;background:url("mascot-ghost.svg") center/contain no-repeat;transform:rotate(-8deg)}
@media(max-width:1000px){.brand{font-size:27px}.brand-icon{width:48px;height:48px}}
@media(max-width:700px){.topbar{padding-left:13px;padding-right:13px;gap:8px}.brand{font-size:25px;gap:7px}.brand-icon{width:43px;height:46px}.topbar>.button{font-size:11px;padding:10px 12px}.topbar .theme-toggle{margin-left:auto}.panel-top h1{font-size:26px}.toolbar{border-bottom-width:2px}.empty-map{left:50%;bottom:87px;top:auto;transform:translateX(-50%);width:258px;padding:14px 18px 17px;border-radius:22px 22px 22px 11px}.empty-map .empty-illustration{width:150px;height:81px}.empty-map strong{font-size:22px}.empty-map p{font-size:11px;line-height:1.55}.empty-map .button{font-size:11px;min-height:38px}.homes-panel{border-left-width:2px}.detail-panel{border-radius:23px 23px 0 0}.heading-mascot{width:38px;height:43px}.mascot-heading h2{font-size:23px}.dialog-heading h2{font-size:24px}.compact-dialog .dialog-heading h2{font-size:23px}#header-hours{font-size:8px;letter-spacing:0;display:block}.admin-main>h1{font-size:25px}.admin-main>h1:before{width:38px;height:42px;margin-right:7px}}
@media(max-width:360px){.topbar{padding-left:10px;padding-right:10px;gap:6px}.brand{font-size:22px;gap:5px}.brand-icon{width:37px;height:42px}.topbar>.button{font-size:10px;padding-left:8px;padding-right:8px}.topbar .theme-toggle{width:32px;min-width:32px;height:34px;min-height:34px;padding:7px}.filter-chip{font-size:9px;padding:8px}.empty-map{width:245px}.mascot-heading h2{font-size:21px}.heading-mascot{width:34px}}

/* Icon boxes use their own geometry, without font baselines or native button padding. */
.map-pane{isolation:isolate}
.icon-button{place-items:center;padding:0;line-height:0;text-align:center;vertical-align:middle}
.icon-button>svg{display:block;width:16px;height:16px;margin:0;pointer-events:none}
.brand-icon{display:grid;place-items:center;line-height:0}
.brand-icon>img{object-position:center}
.home-glyph{display:grid;place-items:center;line-height:1;font-size:22px;padding:0;text-align:center}
.home-glyph>svg{display:block;width:26px;height:26px;margin:0}
.detail-icon{display:grid;place-items:center;width:64px;height:64px;padding:0;border-radius:50%;background:var(--orange-light);line-height:1;font-size:36px;text-align:center}
.detail-icon>svg{display:block;width:34px;height:34px;margin:0}
.pin-choices .choice>.pin-choice-icon{display:inline-grid;place-items:center;width:20px;height:20px;flex:0 0 20px;padding:0;margin:0;line-height:0;font-size:0}
.pin-choice-icon>svg{display:block;width:100%;height:100%;margin:0}
.locate-button{align-items:center;justify-content:center}
.locate-button>span:first-child{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;padding:0;margin:0;line-height:0}
.locate-button>span:first-child>svg{display:block;width:20px;height:20px;margin:0}
.view-toggle{align-items:center;justify-content:center;line-height:1}
.view-toggle>span:first-child{display:grid;place-items:center;width:14px;height:14px;flex:0 0 14px;padding:0;margin:0;line-height:0}
.view-toggle>span>svg{display:block;width:14px;height:14px;margin:0}
.panel-top h1 span{display:inline-grid;place-items:center;padding:0;line-height:1;text-align:center;font-variant-numeric:tabular-nums}
.pin-wrap{display:grid;place-items:center;line-height:0}
.pin-wrap>svg{display:block;margin:0;position:relative;z-index:0}
.pin-wrap>.pin-nine,.map-legend>.legend-nine{display:inline-grid;place-items:center;padding:0;line-height:0;flex-shrink:0;vertical-align:middle}
.pin-wrap>.pin-nine>svg,.map-legend>.legend-nine>svg{display:block;width:12px;height:12px;margin:0}
.allergen-badge>svg,.allergen-choice>svg{display:block;flex-shrink:0;margin:0}
.leaflet-bar a{display:grid;place-items:center;padding:0;line-height:1!important}
.leaflet-bar a>svg{display:block;width:16px;height:16px;margin:0;pointer-events:none}
@media(max-width:700px){.detail-icon{width:52px;height:52px;font-size:30px}}

/* Location actions stay together, including cancellation before a first fix. */
.location-controls{position:absolute;bottom:40px;right:20px;z-index:500;display:flex;align-items:center;gap:6px;max-width:calc(100% - 40px)}
.location-controls .locate-button{position:static;min-height:44px;margin:0;white-space:nowrap}
.location-controls .gps-stop{font-size:11px;font-weight:600;padding:8px 12px}
.panel-footer{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:10px}
.panel-footer>span{grid-column:1;grid-row:1}
.panel-footer>p{grid-column:2;grid-row:1;min-width:0}
.panel-footer>.support-link{grid-column:2;justify-self:start;margin-top:0}
.support-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;max-width:100%;margin-top:10px;padding:10px 11px;border:1px solid #cc8e60;border-radius:14px 14px 14px 8px;background:#ffe4be;color:#573345;vertical-align:middle;text-decoration:none;font-family:inherit;font-size:14px;font-weight:750;line-height:1.4;box-shadow:0 2px 0 #75435614;transition:background .15s}
.support-link:hover{background:#ffdab0}
.support-link>img{display:block;flex:0 0 28px;width:28px;height:28px}
.support-link>span:not(.visually-hidden){white-space:nowrap}
[data-theme="dark"] .support-link{background:#503546;border-color:#b37859;color:#ffdfb5;box-shadow:0 2px 0 #100b1740}
[data-theme="dark"] .support-link:hover{background:#604053}
.map-support-link{display:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-card.is-visited .home-glyph{filter:grayscale(1)}
.tiny-badge.visited-badge{background:var(--line);color:var(--ink)}
.pin-wrap.is-visited{filter:drop-shadow(0 2px 3px #373b2c40);opacity:1}
.pin-wrap.is-visited>svg{filter:grayscale(.85);opacity:.72}
.pin-visited{position:absolute;top:20px;left:50%;bottom:auto;transform:translate(-50%,-50%);z-index:2;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--paper);color:#19783c;border:2px solid var(--ink);box-shadow:0 1px 4px #0005;line-height:0}
.pin-visited>svg{display:block;width:17px;height:17px}
[data-theme="dark"] .pin-visited{color:#82e59c}
.pin-wrap.is-visited>.pin-nine{right:-6px;bottom:1px;z-index:3}
.detail-visit-bar{position:sticky;top:-32px;z-index:3;margin:-32px -24px 18px;padding:18px 70px 12px 24px;background:var(--paper);border-bottom:1px solid var(--line)}
.visit-toggle{width:100%;min-height:44px;font-size:13px;padding:10px 12px}
.visit-toggle>svg{display:block;width:20px;height:20px;flex:0 0 20px}
[data-theme] .detail-visit-bar .visit-toggle[aria-pressed="true"]{background:var(--line);border-color:var(--muted);color:var(--ink)}
.visit-help{display:block;margin-top:6px;font-size:10px;line-height:1.4;color:var(--muted)}
.detail-visit-bar .detail-close{width:44px;height:44px;top:17px;right:14px;z-index:4;background:var(--paper)}
@media(max-width:700px){.location-controls{bottom:28px;right:12px;max-width:calc(100% - 24px)}}

/* A full-width, single scroll surface on phones; map controls occupy separate rows. */
.mobile-map-key{display:none}
.map-legend>[data-map-key-open]{pointer-events:auto;font-size:10px;min-height:44px;padding:6px 8px;margin:-8px -6px -8px 3px}
.map-key-list{list-style:none;padding:0;margin:18px 0}
.map-key-list>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;margin:18px 0}
.map-key-list strong{display:block;font-size:13px;line-height:1.45}
.map-key-list p{font-size:12px;line-height:1.55;margin:4px 0 0}
.key-symbol{display:grid;place-items:center;width:28px;height:28px;line-height:0}
.key-symbol .legend-dot{width:12px;height:12px}
.key-symbol .legend-nine{width:22px;height:22px;margin:0}
.key-symbol .pin-visited{position:static;transform:none;width:26px;height:26px}
.key-symbol .pin-visited>svg{width:17px;height:17px}
.key-grey>svg{display:block;width:22px;height:26px;color:var(--muted)}
.key-symbol .cluster-bubble{width:25px;height:25px;font-size:12px}
.key-symbol .cluster-bubble:before{width:5px;height:5px;top:-5px}
.map-key-dialog .dialog-heading{position:sticky;top:-27px;z-index:1;background:var(--paper);padding:8px 0}
.map-key-dialog .icon-button{width:44px;height:44px}
.map-key-dialog .map-key-note{font-size:11px}
.notes-count{display:block;margin:6px 0;font-size:12px;line-height:1.4;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.detail-panel .detail-notes{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
/* Address first; less-used location choices stay out of the main form path. */
#listing-dialog .dialog-intro{font-size:14px;line-height:1.6}
#listing-dialog .field-help{font-size:12px;line-height:1.55}
#listing-dialog .address-locality-options{margin:8px 0 0}
#listing-dialog .address-locality-options>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 0;color:var(--muted);font-size:13px;cursor:pointer}
#listing-dialog .address-locality-options>summary>span:last-child{flex-shrink:0;color:var(--orange-dark);text-decoration:underline;text-underline-offset:3px;font-weight:650}
#address-area-summary{min-width:0;overflow-wrap:anywhere}
#listing-dialog .address-locality{margin:8px 0 12px}
#listing-dialog .address-help-options{margin:12px 0 20px}
#listing-dialog .address-help-options>summary,#listing-dialog .pin-keyboard>summary{min-height:44px;padding:12px 0;font-size:13px;font-weight:650;color:var(--orange-dark);cursor:pointer}
#listing-dialog .position-row{gap:8px;margin:8px 0;flex-wrap:wrap}
#listing-dialog .position-row button,#listing-dialog #pin-use-center{min-height:44px;font-size:13px}
#listing-dialog .pin-preview{scroll-margin-block:20px;margin:20px 0}
#listing-dialog .pin-preview-heading{flex-wrap:wrap;gap:5px 12px;padding:12px}
#listing-dialog .pin-preview-heading>strong{font-size:15px}
#listing-dialog .pin-preview-heading>span{font-size:12px}
#listing-dialog #pin-preview-help{font-size:14px;line-height:1.6;margin:12px;padding:0}
#listing-dialog .pin-keyboard{margin:0 12px 8px}
#listing-dialog .pin-confirmation{display:flex;align-items:flex-start;gap:10px;min-height:64px;margin:12px;padding:13px;border:2px solid var(--orange-dark);border-radius:12px;background:var(--orange-light);font-size:14px;line-height:1.5;cursor:pointer}
#listing-dialog .pin-confirmation input,#listing-dialog .consent input{width:22px;height:22px;flex:0 0 22px;margin:1px 0 0}
#listing-dialog .pin-confirmation strong{display:block;font-size:14px}
#listing-dialog .pin-confirmation small{display:block;margin-top:3px;font-size:12px;line-height:1.45;color:var(--muted)}
#listing-dialog .pin-confirmation:has(input:checked){border-color:var(--teal);background:var(--paper)}
#listing-dialog .check-line:has([aria-invalid="true"]){outline:2px solid var(--orange-dark);outline-offset:3px}
#listing-dialog .consent{align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:20px 0 10px}
#listing-dialog .publish-readiness{font-size:13px;line-height:1.5;margin:12px 0;color:var(--orange-dark)}
#listing-dialog .publish-readiness[data-ready="true"]{color:var(--teal)}
#listing-dialog .form-actions{flex-wrap:wrap;gap:10px}
#listing-dialog .form-actions .button,#listing-dialog #find-home{min-height:48px;font-size:15px}
#listing-dialog .form-actions .text-button{min-height:48px;font-size:14px}
#offering-fieldset .choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#offering-fieldset .choice{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:70px;padding:8px 4px;gap:6px;font-size:13px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere}
#success-dialog .email-save-hint{font-size:14px;line-height:1.6;padding:12px;border-left:3px solid var(--orange-dark);background:var(--orange-light);border-radius:0 10px 10px 0}
/* A normal toolbar row keeps the key outside the map's touch surface. */
@media(max-width:1000px){
  .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) 44px;height:110px;column-gap:7px;row-gap:0}
  .toolbar-left,.toolbar-right{grid-row:1}
  .mobile-map-key{grid-column:1 / -1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:8px;box-shadow:0 -1px 0 var(--line);min-width:0;height:44px;color:var(--muted)}
  .key-preview{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.2;white-space:nowrap}
  .key-preview .legend-dot{margin:0;flex-shrink:0}
  .key-preview .legend-nine{margin:0;flex-shrink:0}
  .mobile-map-key [data-map-key-open]{min-height:44px;padding:6px;font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
  .statusbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr 1fr;column-gap:8px;align-items:center;height:calc(44px + env(safe-area-inset-bottom,0px));padding:0 max(10px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(10px,env(safe-area-inset-left,0px));border-top:0;box-shadow:inset 0 1px 0 var(--line)}
  .statusbar>span{grid-column:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
  .statusbar>span:first-child{grid-row:1;align-self:end;max-width:none;font-size:11px}
  .statusbar>span:nth-child(2){grid-row:2;align-self:start;font-size:9px}
  .statusbar>.map-support-link{display:inline-flex;grid-column:2;grid-row:1 / -1;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 3px;color:var(--orange-dark);font-size:12px;font-weight:650;line-height:1.3;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;border-radius:7px}
  .map-support-link>img{display:block;width:22px;height:22px;flex:0 0 22px}
  .map-support-link:hover{background:var(--orange-light)}
  .workspace{height:calc(100dvh - 242px - env(safe-area-inset-bottom,0px))}
}
@media(max-width:700px){
  .toolbar{height:102px}
  #listing-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),#listing-dialog textarea{font-size:16px}
  #listing-dialog .dialog-intro{font-size:14px}
  #listing-dialog .address-locality{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #listing-dialog .address-locality>label:first-child{grid-column:1 / -1}
  #listing-dialog .address-locality input{font-size:16px!important}
  .panel-footer{grid-template-columns:36px minmax(0,1fr) clamp(104px,28vw,168px);column-gap:8px;row-gap:0;margin-inline:-6px}
  .panel-footer>span{width:36px;height:40px}
  .panel-footer>.support-link{grid-column:3;grid-row:1;justify-self:stretch;width:100%;min-height:48px;gap:6px;padding:10px 8px;font-size:13px;text-align:center}
  .panel-footer>.support-link>img{flex-basis:24px;width:24px;height:24px}
  .panel-footer>.support-link>span:not(.visually-hidden){white-space:normal}
  #notes{font-size:16px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
  #notes-help{font-size:12px!important}
  .workspace{height:calc(100dvh - 219px - env(safe-area-inset-bottom,0px))}
  .map-key-dialog .dialog-heading{top:-23px}
  .detail-panel{position:fixed;inset:0;width:auto;height:100dvh;max-height:none;z-index:1200;padding:0;border:0;border-radius:0;box-shadow:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;scroll-padding-top:calc(120px + env(safe-area-inset-top,0px))}
  .detail-panel:before{display:none}
  .detail-visit-bar{top:0;margin:0 0 20px;display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:4px 12px;align-items:center;padding:calc(16px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px))}
  .detail-panel .visit-toggle{grid-column:1;grid-row:1;min-height:48px;font-size:16px}
  .detail-panel .visit-help{grid-column:1;grid-row:2;margin:0;font-size:14px;line-height:1.4}
  .detail-visit-bar .detail-close{position:static;grid-column:2;grid-row:1;align-self:start;width:48px;height:48px}
  .detail-visit-bar .detail-close>svg{width:20px;height:20px}
  #detail-content{padding:0 max(20px,env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px))}
  .detail-panel .detail-icon{width:64px;height:64px;margin:0 0 18px;font-size:36px}
  .detail-panel .eyebrow{font-size:12px}
  .detail-panel h2{font-size:28px;line-height:1.25;overflow-wrap:anywhere;padding:0;margin:10px 0 18px}
  .detail-panel h3{font-size:15px;line-height:1.5;margin:24px 0 12px}
  .detail-panel p{font-size:17px;line-height:1.65}
  .detail-panel .field-help{font-size:15px!important;line-height:1.6!important;margin:10px 0!important;color:var(--muted)!important}
  .detail-panel .detail-time{font-size:19px}
  .detail-panel .detail-schedule{margin:20px 0;padding:16px 0}
  .detail-panel .tiny-badge{max-width:100%;font-size:14px;line-height:1.5;padding:7px 10px;overflow-wrap:anywhere}
  .detail-panel .allergen-badge{font-size:14px;line-height:1.5;padding:8px 10px}
  .detail-panel .allergen-badge>svg{width:18px;height:18px}
  .detail-panel .button{min-height:48px;font-size:16px;padding:12px 16px}
  .detail-panel .detail-report .text-button{min-height:48px;padding:12px 0;font-size:16px;line-height:1.5;text-align:left}
  body:has(#detail-panel[aria-modal="true"]:not([hidden])) .toast{bottom:calc(20px + env(safe-area-inset-bottom,0px))}
  /* The header already provides Add my home; preserve phone map space. */
  .empty-map{display:none}
  .workspace{min-height:0}
  .homes-panel{inset:0;width:100%;max-width:none;min-height:0;border-left:0;overflow-x:hidden;overflow-y:auto;overflow-anchor:none;overscroll-behavior-y:contain;touch-action:pan-y;padding-bottom:env(safe-area-inset-bottom,0px)}
  .homes-panel>*{flex-shrink:0}
  .homes-panel #homes-list{flex:1 0 auto;min-height:0}
  .homes-panel .panel-top{position:sticky;top:-23px;z-index:2;background:var(--paper);margin:-23px -22px 0;padding:23px 22px 8px}
  .homes-panel .mobile-close{width:44px;height:44px;min-height:44px}
  .location-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:150px;align-items:stretch;bottom:calc(28px + env(safe-area-inset-bottom,0px))}
  .location-controls .locate-button{position:relative;inset:auto;min-width:0;width:100%;min-height:44px;padding:8px 10px;white-space:normal;font-size:11px}
  #owner-open{min-height:44px;max-width:calc(100% - 186px);bottom:calc(56px + env(safe-area-inset-bottom,0px));white-space:normal}
  .toast{bottom:calc(128px + env(safe-area-inset-bottom,0px));pointer-events:none}
  body:has(#gps-stop:not([hidden])) .toast{bottom:calc(180px + env(safe-area-inset-bottom,0px))}
  .workspace:has(.homes-panel.is-open) .location-controls,body:has(.homes-panel.is-open) #owner-open{visibility:hidden}
}

/* Community navigation uses the toolbar, leaving the map's touch surface clear. */
.community-picker{display:flex;align-items:center;gap:10px;min-width:0;flex:0 1 270px}
.community-picker>span{font-size:12px;font-weight:700;white-space:nowrap;color:var(--muted)}
.community-picker>select{flex:1;min-width:0;width:auto;max-width:210px;min-height:40px;margin:0;padding:8px 28px 8px 10px;font-size:13px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:10px}
.toolbar-left{margin-right:auto;min-width:0}
.toolbar-left>.eyebrow{display:none}
@media(max-width:1000px){
  .toolbar{grid-template-rows:48px minmax(0,1fr) 44px;height:158px}
  .community-picker{grid-column:1 / -1;grid-row:1;width:100%;max-width:none;gap:12px}
  .community-picker>select{max-width:none;min-height:40px;font-size:16px;padding-block:6px}
  body:has(#helper-mode:not([hidden])) .community-picker{padding-right:94px}
  .toolbar-right #helper-mode{position:absolute;top:4px;right:20px;min-height:40px;font-size:12px;white-space:nowrap}
  .toolbar-left,.toolbar-right{grid-row:2}
  .mobile-map-key{grid-row:3}
  .workspace{height:calc(100dvh - 290px - env(safe-area-inset-bottom,0px))}
}
@media(max-width:700px){
  .toolbar{height:150px}
  .community-picker{gap:10px}
  .community-picker>span{font-size:12px}
  .toolbar-right #helper-mode{right:12px}
  .workspace{height:calc(100dvh - 267px - env(safe-area-inset-bottom,0px))}
}
@media(max-width:380px){body:has(#helper-mode:not([hidden])) .community-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
