/* PGPata 1.8 — single search + minimal filter dialog; homepage only. */
.pg18-hero,.pg18-results,.pg18-dialog,.pg18-owner{--p18-ink:#193153;--p18-blue:#235cdd;--p18-muted:#7384a0}
.pg18-hero{background:radial-gradient(ellipse at 18% 4%,#e9f1ff 0,transparent 48%),radial-gradient(ellipse at 87% 8%,#e9faf5 0,transparent 40%),#f8fbff;border-bottom:1px solid #e8eef7}
.pg18-hero-inner{padding:65px 0 63px;max-width:1040px}
.pg18-intro{text-align:center;margin:0 auto 25px}
.pg18-kicker{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:#4771b5;letter-spacing:.01em}
.pg18-kicker>span{display:grid;place-items:center;width:24px;height:24px;background:#e4edff;border-radius:8px;font-size:20px}
.pg18-hero h1{margin:11px 0 10px;color:#182d4e;font-size:clamp(34px,5.25vw,58px);line-height:1.17;letter-spacing:-.05em}
.pg18-hero h1 span{color:#245ddd}
.pg18-intro p{color:#7687a2;font-size:14px;line-height:1.5;margin:0}
.pg18-search{max-width:900px;margin:0 auto;background:#fff;border:1px solid #e0e8f7;border-radius:20px;padding:16px;box-shadow:0 18px 50px #204a8318,0 2px 7px #204a830b}
.pg18-types{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border:0;margin:0 0 14px;padding:0;min-width:0}
.pg18-types .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pg18-types label{cursor:pointer;position:relative}
.pg18-types input{position:absolute;opacity:0;width:1px;height:1px}
.pg18-types label span{display:block;padding:10px 16px;border:1px solid transparent;border-radius:11px;font-size:12px;font-weight:750;color:#667891;transition:background .18s,border-color .18s,color .18s}
.pg18-types input:checked+span{color:#1f59d0;background:#eaf1ff;border-color:#d8e6ff}
.pg18-types input:focus-visible+span{outline:3px solid #8aaff8;outline-offset:2px}
.pg18-types label:hover span{background:#f5f8ff}
.pg18-search-row{display:flex;gap:10px;align-items:stretch;min-width:0}
.pg18-location{display:flex;align-items:center;gap:13px;flex:1;min-width:0;padding:9px 16px;border-radius:12px;border:1px solid #e0e8f5;background:#f9fbff;cursor:text;min-height:64px}
.pg18-location:focus-within{border-color:#80a6ef;box-shadow:0 0 0 3px #e6efff}
.pg18-search-icon{font-size:27px;color:#2e65da;line-height:1}
.pg18-location-body{min-width:0;flex:1;display:block}
.pg18-location-body>span{display:block;font-size:11px;font-weight:800;color:#607595;line-height:1.25;margin-bottom:5px}
.pg18-location input{border:0!important;outline:none!important;background:transparent!important;padding:0!important;min-width:0!important;width:100%;height:23px!important;color:#1e385e;font-size:14px!important;font-weight:650;box-shadow:none!important}
.pg18-location input::placeholder{color:#96a6bb;font-weight:500}
.pg18-near,.pg18-go{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 20px;border-radius:12px;min-height:62px;font-size:13px;font-weight:800;white-space:nowrap;transition:background .16s,transform .16s,box-shadow .16s}
.pg18-near{background:#f1f6ff;border:1px solid #dbe8fd;color:#2759b9}
.pg18-near span{font-size:22px;line-height:1}
.pg18-near:hover{background:#e6f0ff}
.pg18-go{background:#225ce0;border:1px solid #225ce0;color:white;min-width:132px;box-shadow:0 8px 17px #2860d82b}
.pg18-go:hover{background:#1b4fc5;box-shadow:0 12px 23px #2860d82e;transform:translateY(-1px)}
.pg18-go span{font-size:20px}
.pg18-go:focus-visible,.pg18-near:focus-visible{outline:3px solid #93b6f9;outline-offset:3px}
.pg18-results{padding-top:54px;padding-bottom:75px}
.pg18-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.pg18-result-head h2{font-size:clamp(25px,3vw,34px);margin:0 0 5px;letter-spacing:-.035em;color:#192f54}
.pg18-result-head p{font-size:13px;color:#7f90a8;margin:0}
.pg18-total{font-size:12px;font-weight:800;white-space:nowrap;color:#2a5fc9;background:#eef4ff;border:1px solid #deebff;border-radius:100px;padding:9px 13px}
.pg18-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid #e4eaf4;border-radius:15px;margin-bottom:24px;box-shadow:0 8px 26px #1d407c0c}
.pg18-tools-start,.pg18-tools-end{display:flex;align-items:center;gap:13px;min-width:0}
.pg18-filter-btn{display:inline-flex;align-items:center;gap:9px;min-height:39px;padding:0 16px;border:1px solid #dbe5f9;border-radius:11px;background:#f1f6ff;color:#2457bc;font-size:13px;font-weight:800}
.pg18-filter-btn:hover{background:#e7f0ff;border-color:#c8dafd}
.pg18-filter-btn>span:first-child{font-size:19px;font-weight:500;line-height:1}
.pg18-filter-count{display:grid;place-items:center;border-radius:30px;background:#2560da;color:white;min-width:20px;height:20px;font-size:10px;padding:0 5px}
.pg18-clear-link{font-size:12px;color:#73839d;font-weight:700;white-space:nowrap}
.pg18-clear-link:hover{color:#235ad4}
.pg18-sort{display:flex;align-items:center;gap:9px;color:#6e819d;font-size:12px;font-weight:700;min-width:0}
.pg18-sort select{min-width:170px;width:auto;max-width:225px;min-height:39px;border:1px solid #e2e9f4;border-radius:10px;background:#fcfdff;padding:0 10px;color:#2d456c;font-size:12px;font-weight:700}
.pg18-views{display:flex;gap:4px;padding:3px;border-radius:11px;background:#f2f5fa;border:1px solid #e1e8f2}
.pg18-views button{padding:9px 12px;border-radius:8px;font-size:12px;font-weight:800;color:#627594;border:0;background:transparent;white-space:nowrap}
.pg18-views button.active{background:#fff;color:#2458ce;box-shadow:0 2px 8px #234b8621}
.pg18-views button[disabled]{opacity:.4;cursor:not-allowed}
.pg18-listings .pg-card{border-radius:17px;box-shadow:0 4px 16px #2647790b}
.pg18-listings .pg-card:hover{box-shadow:0 13px 28px #2647791a}
.pg18-empty{grid-column:1/-1;width:100%;text-align:center;padding:42px 16px 44px;border:1px dashed #d2e0f3;background:linear-gradient(180deg,#f7faff,#fff);border-radius:18px}
.pg18-empty-icon{width:52px;height:52px;border-radius:16px;margin:0 auto 14px;display:grid;place-items:center;background:#eaf1ff;color:#285bd2;font-size:32px}
.pg18-empty h3{font-size:21px;color:#1c3357;margin:0 0 5px}
.pg18-empty p{font-size:13px;color:#7b8ca4;margin:0 0 19px}
.pg18-empty>div{display:flex;gap:17px;align-items:center;justify-content:center;flex-wrap:wrap}
.pg18-empty .button{min-height:42px}
.pg18-empty-link{font-size:13px;font-weight:800;color:#2658c7}
.pg18-owner{background:#2456d6;padding:0}
.pg18-owner-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:37px 0}
.pg18-owner h2{color:#fff;font-size:28px;margin:0 0 6px}
.pg18-owner p{color:#e4ebff;font-size:13px;margin:0}
.pg18-owner .button{flex-shrink:0}
.pg18-dialog{position:fixed;inset:0;margin:auto;border:1px solid #e2eaf7;border-radius:22px;background:#fff;width:min(95vw,560px);max-height:min(88dvh,740px);padding:0;box-shadow:0 24px 90px #12254745;color:var(--p18-ink);overflow:hidden}
.pg18-dialog::backdrop{background:rgba(15,31,56,.38);backdrop-filter:blur(4px)}
.pg18-dialog[open]{display:flex;flex-direction:column;animation:pg18In .24s cubic-bezier(.2,.8,.2,1) both}
.pg18-modal-head{display:flex;align-items:start;justify-content:space-between;gap:15px;padding:24px 25px 19px;border-bottom:1px solid #edf1f7}
.pg18-modal-head h2{color:#183153;font-size:23px;letter-spacing:-.035em;margin:0 0 4px}
.pg18-modal-head p{margin:0;color:#8492a7;font-size:12px}
.pg18-close{width:33px;height:33px;display:grid;place-items:center;background:#f3f6fb;border:1px solid #e7edf7;border-radius:10px;color:#607590;font-size:23px;line-height:1;flex:none}
.pg18-close:hover{background:#e9effa}
.pg18-modal-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:23px 25px 26px;overflow:auto;min-height:0}
.pg18-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.pg18-field label{font-size:12px;font-weight:800;color:#4d6586}
.pg18-field select{min-height:48px;width:100%;border-radius:11px;border:1px solid #dce5f2;background:#f9fbff;color:#263c5e;padding:0 12px;font-size:13px;font-weight:650;min-width:0}
.pg18-field select:focus{outline:3px solid #e4edff;border-color:#86a9ea}
.pg18-field.pg18-wide{grid-column:1/-1}
.pg18-modal-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 25px;border-top:1px solid #edf1f7;background:#fcfdff}
.pg18-reset{min-height:45px;border:1px solid #e0e8f4;background:#fff;border-radius:11px;padding:0 17px;color:#5d7190;font-size:12px;font-weight:800}
.pg18-reset:hover{background:#f2f6fd}
.pg18-apply{display:flex;align-items:center;justify-content:center;gap:14px;min-height:45px;padding:0 22px;color:white;background:#225ce0;border:1px solid #225ce0;border-radius:11px;font-size:13px;font-weight:800}
.pg18-apply:hover{background:#164bc0}
.pg18-apply span{font-size:19px}
@keyframes pg18In{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){.pg18-hero-inner{padding:44px 0 48px}.pg18-result-head{align-items:start}.pg18-results{padding-top:40px}.pg18-toolbar{flex-wrap:wrap}.pg18-tools-end{justify-content:space-between;flex:1}.pg18-sort select{min-width:140px}.pg18-owner-inner{padding:27px 0;flex-direction:column;align-items:flex-start}}
@media(max-width:540px){.pg18-hero-inner{padding:35px 0 39px}.pg18-hero h1{font-size:clamp(33px,9.5vw,44px)}.pg18-intro p{font-size:12px}.pg18-search{padding:13px;border-radius:17px}.pg18-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin-bottom:12px}.pg18-types label{min-width:0}.pg18-types label span{padding:10px 4px;text-align:center;font-size:11px;white-space:nowrap}.pg18-search-row{display:grid;grid-template-columns:1fr auto;gap:8px}.pg18-location{grid-column:1/-1;min-height:58px}.pg18-go{grid-column:1;grid-row:2;min-height:46px;min-width:0}.pg18-near{grid-column:2;grid-row:2;min-height:46px;padding:0 12px}.pg18-result-head h2{font-size:26px}.pg18-result-head p{font-size:12px}.pg18-total{padding:8px 10px;font-size:10px}.pg18-toolbar{padding:10px;gap:10px}.pg18-sort span{display:none}.pg18-sort select{min-width:0;max-width:165px}.pg18-views button{padding:8px 9px}.pg18-dialog{inset:auto 0 0;max-height:91dvh;min-height:0;width:100%;margin:0;border-radius:21px 21px 0 0;border-bottom:0}.pg18-dialog[open]{animation:pg18SheetIn .22s ease-out both}.pg18-modal-head{padding:19px 19px 16px}.pg18-modal-body{padding:18px 19px 22px;gap:13px}.pg18-modal-foot{padding:14px 19px calc(14px + env(safe-area-inset-bottom))}.pg18-owner h2{font-size:24px}}
@media(max-width:360px){.pg18-tools-end{flex-wrap:wrap}.pg18-sort{flex:1}.pg18-sort select{width:100%;max-width:unset}.pg18-modal-body{grid-template-columns:1fr}.pg18-field.pg18-wide{grid-column:1}.pg18-hero h1{font-size:31px}}
@keyframes pg18SheetIn{from{opacity:.8;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.pg18-dialog[open],.pg18-go,.pg18-types label span{animation:none;transition:none}}

/* Unclutter compact controls on narrow screens. */
@media(max-width:540px){.pg18-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px}.pg18-tools-start{grid-column:1;grid-row:1}.pg18-tools-end{display:contents}.pg18-views{grid-column:2;grid-row:1}.pg18-sort{grid-column:1/-1;grid-row:2;width:100%;gap:12px}.pg18-sort span{display:inline}.pg18-sort select{width:100%;flex:1;max-width:none;min-width:0}.pg18-sort select option{max-width:none}}

/* v1.9: focused light filter sheet; all controls inside one scrollable area. */
.pg19-modal-body{display:block;padding:3px 24px 14px;overflow:auto;overscroll-behavior:contain}
.pg19-section{padding:18px 0 21px;border-bottom:1px solid #eef2f8}
.pg19-section-last{border-bottom:0}
.pg19-section h3{font-size:14px;color:#243b60;margin:0 0 13px;letter-spacing:-.015em}
.pg19-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pg19-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pg19-section-title>span{font-size:11px;color:#8291a8}
.pg19-facility-group{margin-top:15px}
.pg19-facility-group>p{font-size:11px;color:#8492ab;font-weight:750;margin:0 0 8px}
.pg19-facilities{display:flex;flex-wrap:wrap;gap:8px}
.pg19-check{position:relative;display:inline-flex;cursor:pointer;max-width:100%}
.pg19-check input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.pg19-check span{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:10px;border:1px solid #e1e8f4;background:#fff;color:#4f6280;font-weight:700;font-size:12px;line-height:1.35;transition:background .14s,border-color .14s,color .14s}
.pg19-check input:checked+span{background:#edf4ff;border-color:#a9c4f9;color:#2158bd}
.pg19-check input:checked+span:before{content:'✓';font-weight:900;color:#225bd8}
.pg19-check input:focus-visible+span{outline:3px solid #9cbbf3;outline-offset:2px}
.pg19-check:hover span{border-color:#abc3f1}
.pg19-owner-food .form-fields{margin-bottom:6px}
.pg19-detail-food{display:flex;flex-wrap:wrap;gap:12px;color:#4d6280;font-size:13px}
.pg19-detail-food>span{background:#f6f9fe;border:1px solid #e6edf7;border-radius:10px;padding:11px 15px}
.pg19-detail-food b{display:block;color:#1e385d;font-size:12px}
@media(max-width:540px){.pg19-modal-body{padding:0 17px 12px}.pg19-section{padding:16px 0 19px}.pg19-field-grid{gap:10px}.pg19-facilities{gap:7px}.pg19-check span{font-size:11px;padding:9px 10px}.pg18-dialog{max-height:94dvh}.pg18-modal-head{flex-shrink:0}.pg18-modal-foot{flex-shrink:0}}
@media(max-width:350px){.pg19-field-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.pg19-check span{transition:none}}
