*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}:root{--bg:#fff;--ink:#172139;--muted:#6e7d91;--line:#e5eaf0;--soft:#f5f7fa;--accent:#1268ed;--map:#eaf0e8;--block:#e0e7de;--sea:#bce5ea;--road:#fff;--park:#c1d9c4;--shadow:0 12px 40px #10233a19}body.dark{--bg:#101726;--ink:#e9edf5;--muted:#a0adbf;--line:#2b3547;--soft:#1b2435;--accent:#71b5ff;--map:#252e31;--block:#303b3c;--sea:#163e52;--road:#455054;--park:#304d42;--shadow:0 12px 40px #0005}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit;background:var(--bg);border:1px solid var(--line)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}header{height:76px;display:flex;align-items:center;padding:0 34px;gap:40px;background:#090f20;color:#fff}.brand{display:flex;align-items:center;color:inherit;text-decoration:none;font-size:23px;letter-spacing:-1px;font-weight:850}.brand img{width:54px;height:54px;object-fit:contain;margin-left:-12px}.brand span{font-size:8px;letter-spacing:1.7px;margin-left:22px;color:#aab3c8;font-weight:600}nav{display:flex;height:100%;align-items:center;gap:28px;margin-left:auto;font-size:13px;color:#b4bfd2}nav span{height:100%;display:flex;align-items:center}.nav-active{border-bottom:2px solid #7cb7ff;color:#fff}.settings{display:flex;gap:8px}.settings button,.settings select{border:1px solid #293248;background:#171e30;color:#fff;border-radius:9px;height:34px;padding:0 10px}.toolbar{padding:20px 30px 16px;border-bottom:1px solid var(--line)}.search{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:var(--soft);border-radius:14px;padding:12px 18px;max-width:780px;margin:auto}.search-icon{font-size:27px;line-height:20px;color:var(--accent)}.search input{min-width:0;border:0;background:none;outline:0;flex:1;color:var(--ink);font-size:14px}.search input::placeholder{color:var(--muted)}.location{border-left:1px solid var(--line);padding-left:20px;font-size:12px;color:var(--muted)}.filters{display:flex;align-items:center;gap:8px;margin-top:16px}.chip{border-radius:24px;padding:9px 17px;font-size:12px}.chip.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}.users-only{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}input[type=checkbox]{accent-color:var(--accent)}main{display:grid;grid-template-columns:minmax(320px,38%) 1fr;height:calc(100dvh - 212px);min-height:530px}aside{overflow:auto;padding:28px 26px}.eyebrow{font-size:8px;letter-spacing:1.7px;color:var(--accent);font-weight:750}h1{font-size:27px;letter-spacing:-1px;margin:12px 0 8px;font-weight:750}.list-heading p{font-size:11px;color:var(--muted);margin:0 0 22px}.result{width:100%;display:grid;grid-template-columns:136px 1fr;gap:16px;text-align:left;border:0;border-radius:15px;padding:10px;margin-bottom:7px;background:var(--bg);transition:background .15s}.result:hover,.result.selected{background:var(--soft)}.result.selected{box-shadow:inset 3px 0 var(--accent)}.result img{width:136px;height:122px;object-fit:cover;border-radius:11px}.result h2{font-size:14px;line-height:1.45;margin:8px 0;font-weight:650}.source{font-size:9px;display:inline-flex;gap:5px;align-items:center;color:var(--accent);font-weight:600}.source.seed{color:var(--muted)}.source:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.price{font-size:15px;font-weight:750;letter-spacing:-.25px}.currency{font-size:10px;color:var(--muted);font-weight:500;margin-left:3px}.result .area{font-size:10px;color:var(--muted);margin-top:7px}.list-note{font-size:10px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin:18px 10px}.map{position:relative;overflow:hidden;isolation:isolate;background:var(--map)}#map-content{position:absolute;inset:0;transition:transform .25s}.basemap{width:100%;height:100%}.land{fill:var(--map)}.block{fill:var(--block)}.road{fill:none;stroke:var(--road);stroke-width:8}.beach{fill:#f6eed5}.dark .beach{fill:#655f47}.sea{fill:var(--sea)}.avenue-shadow{fill:none;stroke:var(--block);stroke-width:28}.avenue{fill:none;stroke:var(--road);stroke-width:17}.park{fill:var(--park)}.map-labels{fill:var(--muted);font-size:11px;font-weight:500;letter-spacing:1px}.map-labels .sea-label{fill:#448b9b;letter-spacing:5px;font-size:15px}.map-labels .district{font-size:18px;letter-spacing:4px;opacity:.5}.map-top{position:absolute;top:22px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.map-title{font-size:12px;background:var(--bg);padding:12px 16px;border-radius:24px;box-shadow:var(--shadow);display:flex;align-items:center;gap:8px}.live-dot{height:6px;width:6px;background:var(--accent);border-radius:50%}.demo-label{font-size:9px;color:var(--muted);background:var(--bg);padding:5px 8px;border-radius:6px}.map-legend{position:absolute;bottom:34px;right:20px;background:var(--bg);padding:10px 13px;border-radius:10px;font-size:9px;display:flex;gap:13px;box-shadow:var(--shadow)}.map-legend>span{display:flex;align-items:center;gap:5px}.color-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.seed-dot{background:#82909b}.map-controls{position:absolute;right:20px;top:86px;display:flex;flex-direction:column;box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.map-controls button{width:36px;height:36px;font-size:20px}.map-controls button:disabled{opacity:.45}.map-footer{position:absolute;bottom:8px;right:12px;font-size:8px;color:var(--muted)}.marker{position:absolute;transform:translate(-50%,-100%);z-index:1;border:0;background:none;padding:8px;min-width:44px;min-height:44px;display:flex;align-items:center;filter:drop-shadow(0 3px 5px #1c344723)}.marker img{width:60px;height:60px;object-fit:contain;pointer-events:none}.marker .marker-price{border-radius:25px;background:var(--bg);border:1px solid var(--line);font-size:11px;font-weight:750;padding:9px 12px;margin-left:-13px;white-space:nowrap}.marker.seed img{filter:grayscale(1);opacity:.75}.marker.seed .marker-price{color:var(--muted)}.marker:hover,.marker:focus,.marker.selected{z-index:4}.marker:hover .marker-price,.marker.selected .marker-price{background:var(--ink);color:var(--bg);border-color:var(--ink)}.marker.selected img{transform:scale(1.14)}.cluster{position:absolute;top:24%;left:69%;width:45px;height:45px;border:5px solid var(--bg);border-radius:50%;background:var(--ink);color:var(--bg);box-shadow:0 0 0 5px #8093a229;font-size:13px;font-weight:700;z-index:2}.cluster.expanded{background:var(--bg);color:var(--ink);border-color:var(--line)}#preview{position:absolute;left:25px;bottom:34px;z-index:5;width:270px;background:var(--bg);border-radius:17px;overflow:hidden;box-shadow:0 14px 42px #12273b33}#preview[hidden]{display:none}#preview>img{width:100%;height:146px;object-fit:cover}#preview .preview-body{padding:16px}#preview h2{font-size:15px;line-height:1.4;margin:8px 0 12px}#preview p{font-size:10px;line-height:1.6;color:var(--muted);margin:9px 0 0}#preview .close{position:absolute;right:9px;top:9px;border-radius:50%;height:28px;width:28px;font-size:18px;background:#fffffff2;color:#18223a;border:0}#preview .preview-label{position:absolute;top:12px;left:12px;background:#fff;color:#283447;padding:5px 8px;border-radius:6px;font-size:9px}#show-list{display:none}.no-results{font-size:13px;color:var(--muted);padding:30px 0}@media(min-width:1500px){aside{padding:35px 40px}.result{grid-template-columns:160px 1fr}.result img{width:160px;height:140px}.result h2{font-size:16px}}@media(max-width:1000px){.brand span{display:none}.result{grid-template-columns:100px 1fr;gap:10px}.result img{width:100px;height:113px}.result h2{font-size:12px}aside{padding:25px 15px}h1{font-size:23px}.marker .marker-price{font-size:10px;padding:8px}.map-legend{right:10px;gap:8px;padding:8px}.map-top{left:14px;right:14px}}@media(max-width:680px){header{height:62px;padding:0 16px;gap:18px}.brand{font-size:20px}.brand img{width:46px;height:46px}nav{gap:16px;font-size:11px}.settings{gap:4px}.settings button,.settings select{padding:0 7px;font-size:11px;height:31px}.toolbar{padding:12px 14px}.search{padding:10px 12px;gap:8px}.search input{font-size:12px}.location{padding-left:10px;font-size:9px;max-width:94px}.filters{gap:5px;flex-wrap:wrap;margin-top:12px}.chip{font-size:10px;padding:8px 12px}.users-only{font-size:10px;margin-left:2px}main{display:block;height:calc(100dvh - 209px);min-height:490px;position:relative}.map{height:100%;width:100%}aside{display:none;position:absolute;inset:0;z-index:8;background:var(--bg);padding:22px 18px 85px}body.list-open aside{display:block}.result{grid-template-columns:126px 1fr}.result img{width:126px;height:122px}.result h2{font-size:14px}.map-top{top:15px}.map-title{padding:10px 13px;font-size:10px}.demo-label{font-size:8px}.map-controls{right:12px;top:67px}.map-legend{bottom:69px;right:50%;transform:translateX(50%);white-space:nowrap}#show-list{display:block;position:absolute;left:50%;bottom:19px;transform:translateX(-50%);z-index:9;background:var(--ink);color:var(--bg);border-radius:24px;padding:11px 22px;font-size:11px;white-space:nowrap}#preview{left:12px;right:12px;bottom:62px;width:auto;display:grid;grid-template-columns:120px 1fr;min-height:138px}#preview>img{width:120px;height:100%;min-height:138px}#preview .preview-body{padding:14px 34px 14px 13px}#preview .preview-label{font-size:8px;top:auto;bottom:8px;left:8px;max-width:106px}#preview h2{font-size:13px;margin:5px 0 8px}#preview .price{font-size:14px}#preview p{font-size:9px;margin-top:5px}.marker img{width:53px;height:53px}.marker .marker-price{font-size:9px;padding:8px 10px}.map-footer{bottom:3px;left:8px;font-size:7px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.marker img{clip-path:polygon(50% 10%,63% 12%,73% 19%,78% 28%,79% 40%,75% 51%,50% 86%,25% 51%,21% 40%,22% 28%,27% 19%,37% 12%)}

@media(max-width:360px){header{padding:0 12px;gap:12px}nav span:not(.nav-active){display:none}.brand{font-size:18px}nav{font-size:10px}}

#map-empty{position:absolute;top:35%;left:50%;transform:translateX(-50%);width:min(85%,320px);padding:22px;background:var(--bg);border-radius:14px;font-size:13px;line-height:1.6;box-shadow:var(--shadow)}#map-empty[hidden]{display:none}
@media(max-width:680px){.marker[data-id="north-home"]:not(.selected) .marker-price,.marker[data-id="north-goods"]:not(.selected) .marker-price{display:none}.cluster.expanded{top:15%;left:76%}}

/* Shared RUMAPA header direction; local prototype only. */
body{display:flex;flex-direction:column;height:100dvh;min-height:640px}.site-header{position:relative;z-index:20;flex:none;height:86px;padding:0 32px;gap:24px;background:radial-gradient(ellipse at 83% 0,#132944 0,transparent 50%),#071222}.site-header .brand{font-size:25px;letter-spacing:.4px;white-space:nowrap;gap:4px}.site-header .brand img{width:51px;height:55px;margin-left:-10px}.site-header nav{margin:auto;gap:25px}.site-header nav a{display:flex;align-items:center;height:100%;font-size:12px;font-weight:600;text-decoration:none;color:#b7c3d6;white-space:nowrap}.site-header nav a:hover,.site-header nav .nav-active{color:#fff}.site-header .nav-active{border-bottom:2px solid #51bbf9}.site-header .settings{align-items:center;gap:12px}.settings .language-pills{display:flex;gap:1px;padding:4px;border:1px solid #263a55;border-radius:26px;background:#09182e}.settings .language-pills button{border:0;border-radius:50%;background:transparent;height:32px;width:32px;font-size:10px;font-weight:650;padding:0;color:#9eabc1}.settings .language-pills button.active{background:linear-gradient(135deg,#00c9c2,#1787ee);color:#fff}.settings #language{display:none}.settings #theme{border-radius:50%;width:36px;height:36px;padding:0;background:#0a1930;border:1px solid #253951;font-size:23px;color:#e8f2ff;display:grid;place-items:center}.settings .sun{display:none;font-size:19px}.dark .settings .moon{display:none}.dark .settings .sun{display:inline}.settings .get-app{border-radius:24px;padding:12px 20px;color:#fff;font-size:11px;font-weight:750;text-decoration:none;white-space:nowrap;background:linear-gradient(105deg,#00c8c9,#227bff 55%,#8d45f8)}#menu{display:none}.toolbar{flex:none}main{height:auto;min-height:400px;flex:1}body.dark{--map:#1c2838;--block:#253448;--sea:#102f45;--road:#3c4f64;--park:#29463f}.dark .map-labels{fill:#a4b5c9}.dark .map-labels .sea-label{fill:#80b1c9}.dark .beach{fill:#55594e}.marker{filter:drop-shadow(0 3px 5px #13243526);gap:0}.marker img{width:32px;height:42px;clip-path:none;filter:none;opacity:1;transition:transform .16s}.marker.seed img{filter:none;opacity:1}.marker .marker-price{margin-left:5px}.dark .marker{filter:drop-shadow(0 3px 5px #0006)}.dark .marker .marker-price{background:#172235;border-color:#576a81;color:#edf5ff}.dark .marker.seed .marker-price{color:#c3cedd;border-color:#42536a}.dark .marker:hover .marker-price,.dark .marker.selected .marker-price{background:#1470dc;border-color:#70baff;color:white}.dark .marker.seed.selected .marker-price{background:#53657c;border-color:#bbc9da}.dark .marker.selected img{filter:drop-shadow(0 0 5px #69bfff80)}.dark .marker.seed.selected img{filter:drop-shadow(0 0 4px #b4c5dc60)}.marker.selected img{transform:scale(1.12)}.marker:focus-visible{border-radius:12px}.dark .cluster{background:#243b59;border-color:#94a8c0;color:white;box-shadow:0 0 0 5px #98bad51a}
@media(max-width:1120px){.site-header{gap:16px;padding:0 22px}.site-header nav{gap:15px}.site-header nav a{font-size:11px}.settings .get-app{padding:11px 14px}.site-header .settings{gap:8px}.site-header .brand{font-size:22px}.site-header .brand img{width:45px}}
@media(max-width:920px){.site-header{height:70px}.settings .get-app{display:none}.site-header nav{display:none;position:absolute;top:100%;left:0;right:0;height:auto;background:#0a182c;padding:14px 22px;gap:0;box-shadow:0 10px 20px #0002}.menu-open .site-header nav{display:grid;grid-template-columns:repeat(3,1fr)}.site-header nav a{height:auto;padding:14px;border:0;justify-content:center;font-size:12px}.settings #menu{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:transparent;border:1px solid #263951;height:36px;width:36px;border-radius:50%;padding:0}.settings #menu span{display:block;width:14px;height:1.5px;background:#d6e5f4}.site-header .settings{margin-left:auto}.site-header nav .nav-active{background:#122b47;border-radius:10px}}
@media(max-width:680px){.site-header{height:64px;padding:0 16px;gap:8px}.site-header .brand{font-size:20px;gap:2px}.site-header .brand img{width:43px;height:48px}.site-header .settings{gap:7px}.settings .language-pills{display:none}.settings #language{display:block;width:52px;height:34px;border-radius:18px;background:#0a1930;border-color:#263951;font-size:10px}.settings #theme{width:34px;height:34px}.settings #menu{width:34px;height:34px}.marker img{width:29px;height:38px}.marker .marker-price{margin-left:4px}.site-header nav a{font-size:11px}.menu-open .site-header nav{grid-template-columns:repeat(2,1fr)}}
@media(max-width:360px){.site-header{padding:0 12px;gap:6px}.site-header .brand{font-size:18px}.site-header .brand img{width:37px;height:43px}.site-header .settings{gap:5px}.settings #theme,.settings #menu{width:31px;height:31px}.settings #language{width:47px;height:31px}}

.basemap{transition:transform .2s}.marker{transition:left .2s,top .2s}.site-header .brand:focus-visible,.site-header a:focus-visible{outline-color:#86c9ff}

/* Shared transient demo favorites: sibling controls avoid nested buttons. */
.result-wrap{position:relative}.result-wrap .result{width:100%}.favorite-button{display:grid;place-items:center;position:absolute;left:14px;top:14px;z-index:2;width:44px;height:44px;padding:10px;border:1px solid #d7dfeb;background:#fffffff2;color:#25344b;border-radius:50%;box-shadow:0 2px 8px #12273b12}.favorite-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.favorite-button[aria-pressed="true"]{color:#176cdb}.favorite-button[aria-pressed="true"] svg{fill:currentColor}.favorite-button:disabled{opacity:.55;cursor:default}.favorite-button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.dark .favorite-button{background:#18283eee;color:#dce7f7;border-color:#52647c}.dark .favorite-button[aria-pressed="true"]{color:#80bfff}#preview>.favorite-button{left:auto;right:9px;top:48px}.marker.is-favorite .marker-price:before{content:'♥';color:var(--accent);margin-right:5px}.favorites-note{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 14px}#favorites-reset{margin-bottom:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#favorites-reset[hidden]{display:none}@media(max-width:680px){.result-wrap .favorite-button{left:12px;top:12px}#preview>.favorite-button{left:8px;right:auto;top:8px}.filters{gap:6px}}

.map-controls button{min-width:44px;min-height:44px}.map-controls button:disabled{opacity:.46}.map-controls button:focus-visible,.cluster:focus-visible,.marker:focus-visible{outline:3px solid var(--blue,#3272c7);outline-offset:3px}
.buyer-login{width:min(360px,90vw);padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink)}
.buyer-login form{display:grid;gap:12px}.buyer-login input{min-width:0;font:inherit;font-size:16px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--ink)}
.buyer-login p:empty{display:none}.buyer-login::backdrop{background:#10182766}.buyer-no-photo{display:grid;place-items:center;min-height:72px;background:var(--soft);color:var(--muted);border-radius:12px;font-size:12px}

.location-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}.location-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.geographic-map{position:absolute;inset:0;z-index:0;background:#e3e9e7}.geographic #map-content{pointer-events:none}.geographic .basemap,.geographic .map-footer,.geographic .demo-label{display:none}.geographic .city-group{pointer-events:auto;left:18px!important;top:62px!important;transform:none}.geo-badge{display:inline-block;transform:translate(-50%,-50%);white-space:nowrap;background:#185bd4;color:white;border:2px solid white;padding:5px 9px;border-radius:16px;font:650 12px/1.35 system-ui;box-shadow:0 2px 8px #14273d44}.geo-badge.seed{background:#536171}.geo-badge.grouped{min-width:34px;text-align:center;background:#192842}.geo-icon:focus-visible .geo-badge{outline:3px solid #009cb1}.geo-choices{max-height:160px;overflow:auto;display:grid}.geo-choices button{padding:10px;background:white;color:#192842}.geographic .leaflet-control-attribution{font-size:10px}
.geographic .map-labels{display:none}.ai-map-search{flex:none;white-space:nowrap;color:var(--accent);background:var(--bg);font-weight:650}.search:has(.ai-map-search) input{min-width:0}.map-ai-status{margin:6px 0;font-size:.85rem;color:var(--ink)}@media(max-width:680px){.search:has(.ai-map-search) .location{display:none}}
.tile-notice{background:var(--bg);color:var(--ink);font-size:11px;line-height:1.3;border-radius:12px;padding:6px 9px;box-shadow:var(--shadow)}.tile-notice[hidden]{display:none}.geo-icon{min-height:1px;min-width:1px}.geo-badge::before{content:'';position:absolute;inset:-9px -3px}
.geographic .city-group{width:auto;height:auto;min-height:44px;padding:7px 12px;border-radius:14px;font-size:12px;max-width:65%}.dark .geographic .leaflet-tile-pane{filter:brightness(.76) saturate(.8)}
.location-dialog{width:min(92vw,370px);border:1px solid var(--line);border-radius:18px;padding:22px;color:var(--ink);background:var(--bg);box-shadow:var(--shadow)}.location-dialog[open]{display:grid;gap:10px}.location-dialog::backdrop{background:#101b3090}.location-dialog h2,.location-dialog p{margin:0}.location-dialog label{font-size:13px;font-weight:650}.location-dialog select,.location-dialog button{min-height:44px;padding:8px 12px;border-radius:12px}.location-dialog select{color:var(--ink);background:var(--bg);border:1px solid var(--line)}.location-dialog .primary{background:#185bd4;color:#fff}.location-dialog .secondary{background:var(--soft);color:var(--ink)}.filters:has(.city-trigger) .city-trigger{font-weight:700}.search:has(.ai-map-search) .location{display:none}
.awaiting-city #map-content,.awaiting-city .map-controls,.awaiting-city .map-footer,.awaiting-city .map-legend,.awaiting-city #map-empty{visibility:hidden}
.catalog-detail{width:min(92vw,600px);max-height:88dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:clamp(16px,3vw,28px);background:var(--bg);color:var(--ink);box-shadow:var(--shadow)}.catalog-detail::backdrop{background:#101b3099}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.detail-header h2{margin:0;overflow-wrap:anywhere}.catalog-detail button,.catalog-open{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:12px;min-height:44px;padding:7px 12px}.catalog-open{display:block;background:#185bd4;color:white;font-weight:650;margin-top:8px}.catalog-detail strong{display:block;font-size:1.4rem;margin-top:16px}.catalog-detail p{color:var(--ink);line-height:1.5}.listing-description{white-space:pre-wrap;overflow-wrap:anywhere}.catalog-detail .saved-gallery-stage{display:grid;place-items:center;height:clamp(160px,36vh,320px);position:relative;background:var(--soft);border-radius:14px;overflow:hidden}.catalog-detail .saved-gallery-stage img{position:absolute;width:100%;height:100%;object-fit:contain}.catalog-detail .saved-gallery.is-empty .saved-gallery-stage{height:64px}.catalog-detail .saved-gallery-controls:not([hidden]){display:flex;gap:12px;justify-content:center;align-items:center;margin-top:8px}
.catalog-categories{font:inherit;font-size:.875rem;font-weight:650;min-height:44px;max-width:100%;padding-inline:12px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:14px;cursor:pointer}.catalog-categories:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.catalog-more{display:block;width:100%;min-height:46px;margin:16px 0 4px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:var(--ink);font:inherit;font-weight:650;cursor:pointer}.catalog-more[hidden]{display:none}.catalog-more:disabled{opacity:.65;cursor:wait}.catalog-more-status{font-size:.85rem;color:var(--muted);text-align:center}.catalog-more-status:empty{display:none}
.budget-dialog form{display:grid;gap:16px}.budget-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px}.budget-fields label{display:block;margin-bottom:5px}.budget-fields input,.budget-fields select{width:100%;box-sizing:border-box;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--bg);font:inherit}.budget-actions{display:flex;gap:10px}.budget-actions button{flex:1}.budget-dialog [role=alert]:empty{display:none}
.budget-dialog{max-width:400px}.budget-dialog h2{margin:0}.budget-dialog .primary{background:#185bd4;color:#fff}

.catalog-sort{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.catalog-sort label{font-size:.8125rem;font-weight:600;color:var(--muted)}
.catalog-sort select{width:auto;padding-inline:10px;min-height:44px}
.catalog-sort[hidden],.catalog-sort select[hidden]{display:none}

dialog[aria-labelledby="catalog-detail-title"]{overscroll-behavior:contain}

.price-recovery{display:block;min-height:44px;margin:10px auto 0;max-width:100%;white-space:normal}

.catalog-detail .saved-gallery { position: relative; }
.catalog-detail .saved-gallery-stage { touch-action: pan-y pinch-zoom; }
.catalog-detail .gallery-expand {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
  border: 1px solid #ffffff55; border-radius: 12px; background: #152136df;
  color: white; font-size: 22px; cursor: pointer;
}
.catalog-photo-viewer[open] {
  box-sizing: border-box; width: min(96vw, 1100px); max-height: 96dvh;
  padding: 14px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg); color: var(--ink);
}
.catalog-photo-viewer::backdrop { background: #081020d9; }
.catalog-photo-viewer .viewer-close { display: block; margin: 0 0 10px auto; min-height: 44px; }
.catalog-detail .catalog-photo-viewer .saved-gallery-stage { height: min(68dvh, 720px); aspect-ratio: auto; }
.catalog-detail .catalog-photo-viewer .saved-gallery-stage img { object-fit: contain; }

.geo-icon .geo-pin, .geo-pin.google-pin {
  display:flex; align-items:center; gap:2px; width:max-content;
  transform:translate(-16px,-100%); padding:0; border:0;
  box-shadow:none; background:transparent;
}
.geo-pin img { width:36px; height:36px; object-fit:contain; display:block; filter:drop-shadow(0 2px 2px #12203855); }
.geo-pin span {
  background:var(--bg); color:var(--ink); padding:3px 7px;
  border:1px solid var(--line); border-radius:10px; box-shadow:0 1px 4px #15213a25;
}
.geo-icon:hover,.geo-icon:focus-visible { z-index:10000 !important; }
.geo-badge.grouped.seed { background:#546173; }

.geo-pin.seed img { filter:grayscale(1) contrast(.85) drop-shadow(0 2px 2px #12203855); }
.dark .geo-pin img { filter:drop-shadow(0 0 1px #fff) drop-shadow(0 2px 2px #0009); }
.dark .geo-pin.seed img { filter:grayscale(1) contrast(.92) drop-shadow(0 0 1px #fff9); }
.geo-badge.google-pin { transform:none; }

.city-shortcuts { border-top:1px solid var(--line); padding-top:10px; }
.city-shortcuts summary { cursor:pointer; padding:8px 0; font-weight:650; }
.city-shortcuts div,.city-directory nav { display:grid; gap:6px; grid-template-columns:repeat(auto-fit,minmax(128px,1fr)); }
.city-shortcuts a,.city-directory a { padding:10px; min-height:44px; display:flex; align-items:center; color:var(--ink); background:var(--soft); border-radius:10px; text-decoration:none; }
.city-shortcuts a:hover,.city-directory a:hover { text-decoration:underline; }
.city-directory { max-width:1000px; margin:5vh auto; padding:20px; }
.city-directory small,.city-directory strong { display:block; }

a.result,a.catalog-open { text-decoration:none; }
a.result { color:var(--ink); }
a.catalog-open { text-align:center; }
a.catalog-open::after { content:' ↗'; }

.geo-pin.is-focused img { outline:2px solid var(--ink); outline-offset:2px; border-radius:40%; }

.geo-badge.grouped {display:inline-flex;align-items:center;gap:3px;padding:3px 7px 3px 3px;}
.geo-badge.grouped::before {content:'';position:static;width:22px;height:25px;background:url(assets/rumapa-pin-96.png) center/contain no-repeat;flex:none;}
.geo-badge.grouped.seed::before {filter:grayscale(1);}
.geo-pin img {width:42px;height:42px;}
a.catalog-open::after {content:'';}

.geo-pin { transform-origin:16px bottom; transition:scale .16s ease-out; }
.geo-pin.is-selected { scale:1.35; }
.geo-pin.is-selected span { outline:2px solid #3986e8; outline-offset:1px; }
.geo-pin.is-selected img { filter:drop-shadow(0 0 2px white) drop-shadow(0 2px 3px #18344a99); }
.geo-pin.seed.is-selected img { filter:grayscale(1) drop-shadow(0 0 2px white) drop-shadow(0 2px 3px #18344a99); }
.geographic-map button:has(> .geo-pin.is-selected),.geo-icon:has(.geo-pin.is-selected) { z-index:10001!important; }
@media(prefers-reduced-motion:reduce){.geo-pin{transition:none;}}
