@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@400;500;600;700;800&display=swap');
@import url('./tokens.css');
:root{font-family:var(--font-family);color:var(--navy);background:var(--mist)}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:var(--focus-ring);outline-offset:3px}button{border:0;background:none;color:inherit}button:disabled{cursor:default}.header{height:78px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy)}.brand strong{font-size:25px;letter-spacing:-1.5px}.brand-symbol{width:30px;height:38px;flex-shrink:0;color:var(--blue);display:block}.tagline{font-size:var(--text-base);color:#5c6e85;margin-left:12px}.detail-badge{color:var(--plum);background:#fbecf1;border:1px solid #eed3dd;padding:8px 12px;font-size:var(--text-sm);font-weight:700;border-radius:5px}.medical{background:var(--navy);color:white;padding:var(--space-3) 18px;border-radius:var(--radius-lg);font-size:var(--text-base);font-weight:700}.medical.active{background:var(--plum)}.app{display:grid;grid-template-columns:var(--rail-width) 1fr;height:calc(100dvh - 78px)}.rail{background:#fff;display:flex;flex-direction:column;z-index:2;border-right:1px solid var(--line);min-height:0}.search-panel{padding:26px 25px 18px}h1{font-size:var(--text-title);line-height:1.48;letter-spacing:-1.4px;margin:22px 0 21px;font-weight:800}.search-box{display:flex;border:1px solid #d2ddeb;background:var(--mist);align-items:center;border-radius:9px;padding:7px 10px;gap:var(--space-2)}.search-box>span{font-size:var(--text-title);color:var(--blue)}.search-box input{min-width:0;width:100%;border:0;background:transparent;font-size:var(--text-base);padding:8px 0;color:var(--navy)}.search-box input:focus{outline:none}.search-box:focus-within{outline:2px solid var(--blue)}#clear{font-size:22px;color:#6d7e93}.chips{display:flex;flex-wrap:wrap;gap:7px}.categories{margin:18px 0 23px}.chips button{padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-md);font-size:var(--text-sm);background:var(--surface);white-space:nowrap}.categories button{border:0;background:var(--mist);font-weight:600}.chips button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:white}.results-panel{min-height:0;overflow-y:auto;border-top:8px solid var(--mist)}.results-heading{padding:20px 25px 15px;display:flex;align-items:center;justify-content:space-between}.results-heading h2{font-size:var(--text-md);margin:0 0 7px}.results-heading p{font-size:var(--text-xs);color:#60728a;margin:0}.place-card{display:block;width:100%;text-align:left;padding:18px 25px;border-top:1px solid #e7ecf3;position:relative}.place-card:hover,.place-card.selected{background:#f1f5fc}.place-card.selected:before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--blue)}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:var(--text-xs);color:#62758e}.category-label{display:flex;align-items:center;gap:7px}.category-symbol{display:inline-flex;color:var(--teal)}.category-symbol.med{color:var(--plum)}.category-icon{width:18px;height:18px;display:block;flex-shrink:0}.place-card h3{font-size:var(--text-lg);letter-spacing:-.5px;margin:10px 0 8px}.address{font-size:var(--text-xs);color:#718198;margin:0 0 12px}.card-tags{display:flex;gap:5px;flex-wrap:wrap}.card-tags span{font-size:9px;background:#edf5f3;color:var(--teal);padding:5px 6px;border-radius:3px}.card-tags .benefit{color:var(--blue);background:#eaf0fd}.card-tags .warn{color:var(--plum);background:#f8edf1}.source-line{display:flex;justify-content:space-between;margin-top:13px;font-size:9px;color:#75859b}.rail-foot{font-size:9px;text-align:center;padding:23px;color:#79889b}.map-section{position:relative;overflow:hidden;background:#e7eced}#map{position:absolute;inset:0}.area-search{position:absolute;z-index:2;top:var(--space-3);left:50%;transform:translateX(-50%);background:var(--surface);border:1px solid var(--blue);border-radius:22px;color:var(--blue);padding:var(--space-3) 20px;box-shadow:0 3px 12px #172b4820;font-size:var(--text-base)}.map-actions{position:absolute;right:24px;bottom:85px;display:grid;gap:1px;z-index:2;box-shadow:0 2px 12px #172b481a;border-radius:var(--radius-lg);overflow:hidden}.map-actions button{width:43px;height:43px;background:var(--surface);font-size:22px}.map-legend{position:absolute;z-index:1;bottom:25px;left:28px;background:#fffffff2;padding:13px 15px;font-size:var(--text-xs);display:flex;align-items:center;gap:var(--space-2);border-radius:5px}.map-legend i{width:7px;height:7px;border-radius:50%;background:var(--teal)}.map-legend i.plum{background:var(--plum);margin-left:8px}.map-legend span{margin-left:18px;color:#718198}.map-status{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:2;width:min(360px,85%);background:var(--surface);border:1px solid var(--line);padding:30px;text-align:center;border-radius:var(--radius-panel);box-shadow:var(--shadow-panel)}.map-status strong{display:block;font-size:var(--text-lg);margin:15px 0 8px}.map-status p{font-size:var(--text-sm);line-height:1.8;color:#66778e}.map-status button,.empty-state button{background:var(--blue);color:white;padding:10px 15px;font-size:var(--text-sm);border-radius:var(--radius-md);margin-top:8px}.spinner{display:inline-block;width:20px;height:20px;border:2px solid #d5e0f6;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.map-marker{position:relative;width:44px;height:48px;padding:0;display:block;color:white;background:transparent}.marker-body{position:absolute;z-index:0;top:0;left:3px;display:grid;place-items:center;width:38px;height:38px;border:2px solid white;border-radius:50%;background:var(--teal);box-shadow:0 2px 6px #172b4833}.marker-body:after{content:'';position:absolute;top:29px;left:10px;width:14px;height:14px;background:inherit;border-right:2px solid white;border-bottom:2px solid white;transform:rotate(45deg);z-index:-1}.map-marker .category-icon{width:21px;height:21px}.map-marker.med .marker-body{background:var(--plum)}.map-marker.selected .marker-body{background:var(--blue);box-shadow:0 0 0 3px #2855c733,0 2px 6px #172b4833}.map-marker:focus-visible{outline-offset:3px;border-radius:var(--radius-md)}.sheet-handle{display:none}.empty-state{padding:45px 25px;text-align:center}.empty-state h3{font-size:var(--text-lg)}.empty-state p{font-size:var(--text-sm);line-height:1.8;color:#687b91}dialog{border:0;border-radius:16px;width:460px;max-width:calc(100vw - 24px);max-height:85dvh;padding:32px;box-shadow:var(--shadow-modal);color:var(--navy)}dialog::backdrop{background:#172b4866}.close-detail{position:absolute;right:15px;top:10px;font-size:var(--text-title);color:#657790}dialog h2{font-size:23px;margin:20px 0 8px;letter-spacing:-1px}dialog h3{font-size:13px;margin:25px 0 12px}.detail-disclaimer{font-size:var(--text-sm);padding:var(--space-3);background:#f9ecf1;color:var(--plum);line-height:1.8;border-radius:var(--radius-md)}.facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.evidence + .facts{margin-top:var(--space-3)}.fact{display:flex;justify-content:space-between;gap:var(--space-2);font-size:var(--text-sm);padding:10px;background:var(--mist);border-radius:var(--radius-sm)}.fact span:last-child{color:var(--teal);flex-shrink:0}.fact .uncertain{color:var(--plum)!important}.evidence{font-size:var(--text-sm);line-height:1.9;color:#697c93;background:var(--mist);padding:14px;border-radius:var(--radius-md)}.safety{font-size:var(--text-sm);line-height:1.8;color:var(--plum);border-left:3px solid var(--plum);padding-left:12px}.confirm-buttons{display:flex;gap:var(--space-2)}.confirm-buttons button{flex:1;border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-3);font-size:var(--text-sm)}.place-phone{font-size:var(--text-sm);color:#66788e;margin-top:16px}.toast{position:fixed;bottom:60px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;z-index:10;border-radius:var(--radius-lg);padding:15px 22px;font-size:var(--text-base);max-width:90vw}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media(max-width:760px){.header{height:61px;padding:0 16px;gap:10px}.brand strong{font-size:22px}.brand-symbol{width:25px;height:32px}.tagline{display:none}.medical{font-size:var(--text-xs);padding:9px 10px}.app{height:calc(100dvh - 61px);display:block;position:relative}.map-section{position:absolute;inset:0}.rail{position:absolute;inset:0;pointer-events:none;background:transparent;border:0;z-index:3}.search-panel{pointer-events:auto;background:var(--surface);margin:12px 12px 0;padding:14px;border-radius:10px;box-shadow:0 3px 15px #172b4817}h1{display:none}.search-box{margin-top:12px}.categories{flex-wrap:nowrap;overflow:auto;margin:12px 0;padding-bottom:2px}.filter-heading{display:none}.filters{flex-wrap:nowrap;overflow:auto;padding-bottom:2px}.and-note{margin-top:7px;font-size:9px}.results-panel{pointer-events:auto;position:absolute;left:0;right:0;bottom:0;height:35%;border:0;border-radius:18px 18px 0 0;background:var(--surface);box-shadow:0 -4px 20px #172b481a;transition:height .2s}.results-panel.expanded{height:70%}.results-panel.collapsed{height:90px}.sheet-handle{display:block;width:100%;height:22px;padding:8px}.sheet-handle span{display:block;width:35px;height:4px;background:#c8d3e2;border-radius:var(--radius-sm);margin:auto}.results-heading{padding:2px 22px 13px}.place-card{padding:16px 22px}.map-legend{display:none}.map-actions{right:15px;bottom:calc(35% + 20px)}.area-search{top:240px}.map-status{top:48%;padding:20px}.map-status strong{font-size:13px}.toast{bottom:39%;width:max-content;font-size:var(--text-sm)}.results-panel .rail-foot{padding-bottom:32px}dialog{padding:25px;max-height:88dvh}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}[hidden]{display:none!important}

/* Shared primitives: compose these with semantic component classes. */
.ui-button{min-height:40px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:600;border:1px solid var(--line);background:var(--surface)}.ui-button--primary{background:var(--blue);color:var(--surface);border-color:var(--blue)}.ui-badge{display:inline-flex;align-items:center;padding:var(--space-1) var(--space-2);font-size:var(--text-xs);border-radius:var(--radius-sm);background:var(--blue-soft);color:var(--blue)}.ui-status{padding:var(--space-5);text-align:center;background:var(--surface);border-radius:var(--radius-panel)}
@media(max-width:350px){.facts{grid-template-columns:1fr}.header{padding-right:12px;padding-left:12px}}
/* The actual SDK viewport ends above the sheet, preserving map attribution. */
@media(max-width:760px){
 .app{--sheet-height:35%}
 .app[data-sheet=expanded]{--sheet-height:55%}
 .app[data-sheet=collapsed]{--sheet-height:min(90px,35%)}
 .app .results-panel,.app .results-panel.expanded,.app .results-panel.collapsed{height:var(--sheet-height);transition:none}
 .app .map-section{--map-controls-bottom:36px;bottom:var(--sheet-height)}
 .app.sheet-dragging .results-panel,.app.sheet-dragging .map-section{transition:none}
 .sheet-handle{position:sticky;top:0;z-index:2;height:44px;touch-action:none;cursor:grab;background:var(--surface);border-radius:18px 18px 0 0}
 .sheet-handle:active{cursor:grabbing}
 .sheet-handle span{width:38px;height:4px}
 .map-actions{display:flex;right:12px;bottom:var(--map-controls-bottom);gap:1px}
 .map-actions button{width:38px;height:38px}
 .map-status{top:65%}
 .area-search{top:auto;bottom:var(--map-controls-bottom);left:var(--space-3);transform:none;height:38px;max-width:calc(100% - 152px);padding:var(--space-2);font-size:var(--text-base);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .map-section>.open-toggle{position:absolute;z-index:4;top:12px;left:12px;width:auto;min-height:32px;margin:0;padding:5px 9px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);box-shadow:0 2px 8px #172b4820;font-size:11px;line-height:1.4}
 .map-section>.open-toggle::before{width:24px;height:14px;margin-right:6px;vertical-align:0}
 .map-section>.open-toggle::after{left:11px;width:10px;height:10px}
 .map-section>.open-toggle[aria-checked="true"]::after{transform:translate(10px,-50%)}
}
/* Keep place labels and facts readable at narrow widths. */
.card-tags span{font-size:11px;line-height:1.35}
.fact{align-items:flex-start;line-height:1.5;min-width:0}
.fact span:last-child{flex-shrink:1;text-align:right;overflow-wrap:anywhere}
@media(max-width:500px){.facts{grid-template-columns:1fr}}

/* External map actions in the place detail. */
.external-maps{margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--line)}
.external-maps h3{margin:0 0 var(--space-3);font-size:var(--text-md)}
.external-map-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2)}
.external-map-link{display:flex;align-items:center;justify-content:space-between;gap:var(--space-1);min-height:44px;padding:var(--space-2) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--navy);font-size:var(--text-sm);font-weight:700;line-height:1.35;text-decoration:none}
.external-map-link:hover{background:var(--blue-soft);border-color:var(--blue);color:var(--blue)}
.external-map-arrow{font-size:var(--text-base);color:inherit;flex-shrink:0}
@media(max-width:370px){.external-map-links{grid-template-columns:1fr}}

/* Pregnancy benefit and pediatric care information. */
.place-card .benefit-summary{margin:11px 0 0;padding:10px 12px;border-left:3px solid var(--teal);background:var(--teal-soft);border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--navy);font-size:var(--text-base);font-weight:600;line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.place-card .medical-note{display:inline-block;margin:9px 6px 0 0;padding:5px 8px;background:var(--plum-soft);border-radius:var(--radius-sm);color:var(--plum);font-size:var(--text-sm);font-weight:700}
.place-card .card-location-note{margin:9px 0 0;color:var(--plum);font-size:var(--text-sm);font-weight:700}
.source-line,.rail-foot{font-size:var(--text-sm);line-height:1.5}
dialog h3{font-size:var(--text-md);line-height:1.5}
.benefit-detail-summary{margin:10px 0 18px;padding:16px;border-left:4px solid var(--teal);background:var(--teal-soft);border-radius:0 var(--radius-md) var(--radius-md) 0;font-size:var(--text-md);font-weight:700;line-height:1.7;overflow-wrap:anywhere;white-space:pre-line}
.benefit-facts{display:grid;grid-template-columns:minmax(90px,30%) minmax(0,1fr);margin:0;border-top:1px solid var(--line);font-size:var(--text-sm);line-height:1.7}
.benefit-facts dt,.benefit-facts dd{margin:0;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;white-space:pre-line}
.benefit-facts dt{color:var(--text-muted);font-weight:700;padding-right:12px}
.benefit-facts dd{color:var(--navy)}
.care-types{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.care-types > span,.care-explainer-trigger{display:inline-flex;align-items:center;min-height:40px;box-sizing:border-box;padding:8px 10px;border-radius:var(--radius-md);background:var(--plum-soft);color:var(--plum);font-size:var(--text-sm);font-weight:700}
.care-explainer-trigger{gap:6px}
.care-explainer-trigger .care-info-icon{display:grid;place-items:center;width:17px;height:17px;flex:none;border:1.5px solid currentColor;border-radius:50%;font-family:Arial,sans-serif;font-size:12px;font-weight:700;line-height:1}
.care-explainer-text{margin:-8px 0 18px;padding:12px 14px;border-radius:var(--radius-md);background:var(--mist);color:var(--navy);font-size:var(--text-sm);line-height:1.7}
.medical-note.uncertain,.care-types .uncertain{border:1px solid var(--plum);background:var(--surface)}
.medical-schedule{margin:22px 0 18px;padding:18px;background:var(--mist);border-radius:var(--radius-md)}
.medical-schedule h3{margin:0 0 8px;font-size:var(--text-base)}
.medical-schedule-list{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:7px}
.medical-schedule-list li{padding:9px 11px;background:var(--surface);border-radius:var(--radius-sm);font-size:var(--text-sm);line-height:1.5;overflow-wrap:anywhere}
.medical-schedule-empty{margin:8px 0 0;color:var(--text-muted);font-size:var(--text-sm)}
.category-symbol.beauty{color:var(--beauty)}
.map-marker.beauty .marker-body{background:var(--beauty)}
.current-location{position:relative;width:44px;height:44px;border-radius:var(--radius-pill);background:var(--location-soft);pointer-events:none}
.current-location:before{content:'';position:absolute;inset:13px;border:3px solid var(--surface);border-radius:var(--radius-pill);background:var(--location);box-shadow:0 1px 5px #172b4840}
.current-location-label{position:absolute;top:calc(100% + 2px);left:50%;transform:translateX(-50%);padding:var(--space-1) var(--space-2);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);color:var(--navy);box-shadow:var(--shadow-control);font-size:var(--text-base);font-weight:700;line-height:1.4;white-space:nowrap}
.map-legend i.beauty{background:var(--beauty);margin-left:8px}
.beauty-service-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.beauty-service-tags span{display:inline-flex;align-items:center;padding:6px 9px;border-radius:var(--radius-sm);background:var(--beauty-soft);color:var(--beauty);font-size:var(--text-sm);font-weight:700;line-height:1.4}
.beauty-service-tags .beauty-mode{background:var(--mist);color:var(--navy)}
.beauty-service-detail{margin:20px 0;padding:16px;background:var(--mist);border-radius:var(--radius-md)}
.beauty-service-detail h3{margin:0 0 12px}
.beauty-service-detail .beauty-service-tags{margin:0}
.beauty-service-mode{font-size:var(--text-sm);font-weight:700;margin:16px 0 0}
.beauty-location-note{font-size:var(--text-sm);line-height:1.6;margin:12px 0 0;color:var(--text-muted)}
.load-more{display:block;width:calc(100% - 40px);margin:18px 20px 22px;padding:12px;border:1px solid var(--blue);border-radius:var(--radius-md);background:var(--surface);color:var(--blue);font-size:var(--text-base);font-weight:700}
.load-more:hover{background:var(--blue-soft)}
@media(max-width:760px){.place-card .benefit-summary{font-size:var(--text-sm)}.benefit-detail-summary{font-size:var(--text-base)}}

.open-toggle{min-height:40px;padding:8px 12px;border:1px solid var(--plum);border-radius:var(--radius-md);background:var(--surface);color:var(--plum);font-size:var(--text-sm);font-weight:700}
.open-toggle[aria-pressed=true]{background:var(--plum);color:var(--surface)}
.open-note{margin:0 25px 15px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--mist);color:var(--text-muted);font-size:var(--text-xs);line-height:1.6}
@media(max-width:760px){.open-note{margin:0 22px 13px}}

.contact-entry{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;font-size:var(--text-xs);color:var(--text-muted)}
.contact-entry button{min-height:36px;flex-shrink:0;color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:6px 0 6px 8px}
.contact-note{font-size:var(--text-sm);line-height:1.7;color:var(--text-muted)}
 .contact-form{display:grid;gap:10px}
.contact-form fieldset{margin:8px 0;padding:0;border:0;min-width:0}
.contact-form legend,.contact-form>label{font-size:var(--text-sm);font-weight:700}
.contact-form>label span{font-weight:400;color:var(--text-muted)}
.contact-kinds{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.contact-kinds label{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:var(--radius-md);font-size:var(--text-sm);cursor:pointer}
.contact-kinds label:has(input:checked){border-color:var(--blue);background:var(--blue-soft);color:var(--blue)}
.contact-kinds input{accent-color:var(--blue);margin:0}
.contact-form textarea,.contact-form>input{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--navy);font:inherit;font-size:16px;line-height:1.6}
.contact-form textarea{resize:vertical;min-height:130px}
.contact-hint{margin:0;color:var(--text-muted);font-size:var(--text-sm);line-height:1.6}
.contact-status{margin:0;font-size:var(--text-sm);line-height:1.6;overflow-wrap:anywhere}
.contact-status:empty{display:none}
.contact-status[data-state=error]{color:var(--plum)}
.contact-status[data-state=success]{color:var(--teal)}
.contact-form>button{min-height:44px}
.contact-form>button:disabled{opacity:.65}
@media(max-width:760px){.contact-entry{margin-top:5px;font-size:12px}.contact-entry button{min-height:44px}}

.results-heading>div{width:100%;min-width:0}
.results-heading .contact-entry{margin-top:0;flex-wrap:wrap}
.results-heading{padding:10px 25px 9px;display:flex;flex-direction:column;align-items:stretch}
.search-panel{padding:18px 25px 10px}
.categories{margin:12px 0 12px}
.open-toggle{position:relative;display:inline-flex;align-items:center;align-self:flex-end;width:auto;min-height:32px;margin:0 0 8px;padding:5px 2px;border:0;border-radius:var(--radius-pill);background:transparent;text-align:right;font-size:var(--text-sm);font-weight:700;color:var(--navy)}
.open-toggle[hidden],.open-note[hidden]{display:none}
.open-toggle[aria-checked="true"]{color:var(--blue)}
.open-toggle::before{content:'';display:inline-block;width:24px;height:14px;margin-right:6px;border-radius:10px;vertical-align:0;background:#c8d3e2;transition:background .15s}
.open-toggle[aria-checked="true"]::before{background:var(--blue)}
.open-toggle::after{content:'';position:absolute;top:50%;left:4px;width:10px;height:10px;border-radius:50%;background:white;transform:translateY(-50%);transition:transform .15s}
.open-toggle[aria-checked="true"]::after{transform:translate(10px,-50%)}
.open-note{margin:5px 0 8px}
.results-heading .contact-entry button{min-height:36px}
.place-type-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.place-type-tags span{padding:5px 8px;border-radius:var(--radius-sm);background:var(--mist);color:var(--navy);font-size:var(--text-xs);font-weight:600;line-height:1.4}
.external-map-link.naver{background:#03c75a;border-color:#03a84c;color:#07351c}
.external-map-link.kakao{background:#fee500;border-color:#dfc900;color:#332d00}
.external-map-link.google{background:#fff;border-color:#c5ceda;color:#172b48}
.external-map-link:hover{filter:brightness(.95)}

.detail-correction{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0;padding:14px 0;border-top:1px solid var(--line);font-size:14px;color:var(--text-muted)}
.detail-correction button{border:0;background:transparent;color:var(--blue);font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.contact-place{padding:12px 16px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px}
.contact-place p{margin:6px 0 0;font-size:13px;color:var(--text-muted)}

/* Mobile header search: the same form moves beside the brand, with categories below. */
.header-main{display:flex;align-items:center;width:100%;min-width:0}
.header>#categories{display:none}
.header-search{display:flex;align-items:center;gap:6px;min-width:0}
.header-search>button{display:none;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border-radius:var(--radius-md);color:var(--blue)}
.header-search>button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.header-search>button[hidden]{display:none}
@media(max-width:760px){
 body{display:flex;flex-direction:column;height:100dvh}
 .header{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px 12px 9px}
 .header-main{min-height:44px;justify-content:space-between;gap:8px}
 .brand{gap:8px;min-width:0}
 .header-search{flex:1;justify-content:flex-end}
 .header-search>button{display:flex}
 .header-search #search-form{flex:1;min-width:0;max-width:none;margin:0;padding:4px 8px;gap:6px;border-radius:var(--radius-md)}
 .header-search #search-form>span{font-size:22px}
 .header-search #search-form input{padding:7px 0;font-size:16px}
 .header-search #search-form #clear{font-size:20px;flex:0 0 28px}
 .header>#categories{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;white-space:nowrap;margin:0;padding:0 1px;min-height:34px;touch-action:pan-x}
 .header>#categories::-webkit-scrollbar{display:none}
 .header>#categories button{min-height:32px;padding:5px 9px;flex:0 0 auto;font-size:11px;line-height:1.4}
 .search-panel{display:none}
 .categories{margin:0}
 .app{height:auto;min-height:0;flex:1 1 auto}
}

/* SEO: keep the screen-reader page heading exposed on every viewport (mobile hides bare h1). */
.app>h1.sr-only{display:block;margin:-1px}
.rail-foot a{color:var(--blue);font-weight:600;text-decoration:none}
.rail-foot a:hover{text-decoration:underline}
.noscript-note{position:absolute;z-index:5;inset:12px 12px auto;margin:0;padding:var(--space-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);font-size:var(--text-md);line-height:1.7}
