.xp-dialog{width:min(1040px,96vw);max-height:92dvh;border:1px solid var(--line,#b8d5ce);border-radius:26px;padding:28px;background:var(--surface,#fff);color:var(--ink,#14232d)}.xp-dialog::backdrop{background:#031b24aa;backdrop-filter:blur(7px)}.xp-content{padding-top:16px}.xp-content h2{font-family:Georgia,serif;font-size:28px}.xp-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.xp-field{display:flex;flex-direction:column;gap:7px;font-size:14px}.xp-field input,.xp-field select{width:100%;min-height:48px;padding:12px;border:1px solid #789f99;border-radius:12px;background:var(--surface,#fff);color:inherit;box-sizing:border-box}.xp-field input[type=checkbox]{width:26px;min-height:26px;accent-color:#008a83}.xp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.xp-card{border:1px solid #83aaa43d;padding:18px;border-radius:20px;box-shadow:0 5px 20px #003b3910;margin:14px 0;background:var(--surface,#fff);overflow:hidden}.xp-card img{width:100%;height:190px;object-fit:cover;border-radius:14px}.xp-card button,.xp-content>.detail-share,.xp-property-tools button{margin:6px 8px 6px 0;min-height:46px}.xp-card p{overflow-wrap:anywhere}.xp-badge{display:inline-block;font-size:12px;padding:7px 10px;margin:8px 0;background:#008a8319;color:var(--teal,#006568);border-radius:20px}.xp-status{grid-column:1/-1;color:var(--muted,#56716d);overflow-wrap:anywhere}.xp-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.xp-shortcuts button{padding:16px 8px;min-height:52px;border-radius:16px}.xp-map{height:48dvh;min-height:300px;border-radius:18px;overflow:hidden}.xp-pin{display:block;background:#006568;color:white;padding:7px 9px;border:2px solid white;border-radius:16px;white-space:nowrap;box-shadow:0 3px 9px #003b3944;font-size:12px}.xp-alert{display:block;width:100%;text-align:left;min-height:52px;padding:14px;border-radius:12px;margin:8px 0}.xp-property-tools{margin:24px 0;padding:20px;border:1px solid #83aaa44d;border-radius:20px}[data-theme=dark] .xp-dialog,[data-theme=dark] .xp-card,[data-theme=dark] .xp-field input,[data-theme=dark] .xp-field select{background:#111111;color:#e9f6f3}@media(max-width:600px){.xp-dialog{padding:18px;width:95vw;max-height:95dvh}.xp-grid,.xp-form{grid-template-columns:1fr}.xp-shortcuts{grid-template-columns:repeat(2,1fr);gap:8px}.xp-content h2{font-size:24px}}

.xp-map-dialog{max-width:none;width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:20px;box-sizing:border-box}.xp-map-dialog .xp-content{height:calc(100% - 25px);display:flex;flex-direction:column;padding:0}.xp-map-dialog h2{margin:4px 0;font-size:26px}.xp-map-dialog .eyebrow{margin:0}.xp-map-dialog .muted{margin:5px 0}.xp-map-dialog .xp-status{margin:6px 0;font-size:13px}.xp-map-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0}.xp-map-toolbar input,.xp-map-toolbar select{background:var(--surface,#fff);color:var(--ink,#14232d);border:1px solid #7a9f9966;border-radius:14px;padding:12px;min-height:46px}.xp-map-toolbar input{flex:1;min-width:180px}.xp-map-chips{display:flex;gap:8px;overflow-x:auto}.xp-map-chips button{min-height:44px;white-space:nowrap;flex-shrink:0}.xp-map-shell{position:relative;flex:1;min-height:240px}.xp-map-dialog .xp-map{height:100%;min-height:240px;border-radius:20px}.xp-map-preview{position:absolute;bottom:24px;left:24px;width:340px;max-height:45%;overflow:auto;z-index:600;background:var(--surface,#fff);border-radius:20px;box-shadow:0 8px 35px #002d3544}.xp-map-preview:empty{display:none}.xp-map-preview .xp-card{margin:0;padding:12px}.xp-map-preview img{height:120px}.xp-map-preview h3,.xp-map-preview p{margin:5px 0}.xp-map-preview .detail-share{display:block;margin:8px;max-width:95%}[data-theme=dark] .xp-map-dialog .leaflet-tile-pane{filter:invert(.9) hue-rotate(160deg) saturate(.65)}@media(max-width:600px){.xp-map-dialog{padding:14px 12px}.xp-map-toolbar{gap:8px}.xp-map-toolbar input{flex-basis:100%}.xp-map-chips{width:100%}.xp-map-preview{left:10px;right:10px;bottom:22px;width:auto;max-height:42%}.xp-map-preview img{float:left;width:95px;height:95px;margin-right:12px}.xp-map-preview .xp-card{min-height:110px}.xp-map-toolbar button{padding:10px}.xp-map-dialog h2{font-size:23px}}

.xp-map-dialog{overflow:hidden}.xp-map-dialog .xp-content{width:100%;max-width:none;margin:0;box-sizing:border-box}.xp-map-toolbar select{width:auto!important;flex:0 0 auto}.xp-map-toolbar input{width:auto!important}.xp-map-toolbar button{margin:0}.xp-map-dialog .xp-map-shell{min-height:0}.xp-map-dialog .xp-map{min-height:0}@media(max-width:600px){.xp-map-toolbar select{max-width:45%}.xp-map-toolbar input{width:100%!important}}
/* Full viewport map with uncluttered floating controls. */
.xp-map-dialog .xp-content{height:100%;padding:0}.xp-map-dialog{padding:16px 24px}.xp-map-dialog>.close{z-index:1000}.xp-map-toolbar{gap:10px;padding:10px 0 14px}.xp-map-toolbar input{flex:1 1 260px;border-radius:22px}.xp-map-chips{flex:1 1 auto}.xp-map-chips button{border-radius:24px;padding:10px 18px}.xp-map-shell{isolation:isolate}.xp-map-dialog .xp-map{border-radius:24px}.xp-map-float{position:absolute;z-index:600;right:18px;top:95px;display:grid;gap:8px}.xp-map-float button{background:var(--surface);box-shadow:0 5px 25px #0003;border:1px solid var(--line);border-radius:20px;min-height:44px}.xp-map-switch{position:absolute;z-index:650;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:6px;background:var(--surface);padding:5px;border-radius:28px;border:1px solid var(--line);box-shadow:0 8px 30px #0004}.xp-map-switch button{border-radius:24px;min-width:110px;margin:0}.xp-map-preview{bottom:88px;left:22px;width:min(470px,calc(100% - 44px));max-height:50%;border:1px solid var(--line);background:var(--surface);backdrop-filter:blur(18px)}.xp-map-property{display:flex;gap:14px;padding:14px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}.xp-map-property>img{float:none;width:115px;height:145px;object-fit:cover;border-radius:16px;flex-shrink:0}.xp-map-property>div{min-width:0;flex:1}.xp-map-property h3{margin:2px 0;font-size:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.xp-map-property p{font-size:12px;margin:6px 0;color:var(--muted)}.xp-map-property strong{font-size:21px;color:var(--green)}.xp-map-property-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.xp-map-property-actions button,.xp-map-property-actions a{font-size:12px;min-height:40px;padding:7px 10px;margin:0!important;display:inline-flex;align-items:center;border-radius:12px}.xp-map-preview .detail-share{display:inline-flex}.xp-map-results{position:absolute;inset:0;z-index:500;overflow:auto;background:var(--bg);padding:12px 12px 90px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-content:start}.xp-map-results[hidden]{display:none}.xp-map-compare{padding:12px}.xp-map-compare .xp-map-property{margin:10px 0}.xp-pin{border:1px solid #9bf0e8;background:#073c44;border-radius:14px;box-shadow:0 5px 18px #001b2580;font-weight:700;padding:8px 12px}
#reel-viewer{padding:0;border:0;border-radius:0;max-width:none;width:100vw;height:100dvh;max-height:100dvh;margin:0;background:#030a0d;color:#fff;overflow:hidden}#reel-viewer>.close{position:absolute;top:calc(16px + env(safe-area-inset-top));right:18px;z-index:5;background:#10282ed9;color:#fff;border-radius:50%;width:44px;height:44px}#reel-feed{width:min(520px,100%);height:100%;margin:auto;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}.reel-slide{height:100%;min-height:100%;width:100%;position:relative;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;display:block}.reel-slide video{width:100%;height:100%;object-fit:contain;background:#020709}.reel-caption{position:absolute;bottom:115px;left:0;right:0;padding:40px 20px 20px;background:linear-gradient(transparent,#000c);pointer-events:none}.reel-caption>*{pointer-events:auto}.reel-caption h2{font:700 20px system-ui;max-width:85%;margin:6px 0}.reel-caption p{max-height:64px;overflow:auto;font-size:13px}.reel-tools{position:absolute;bottom:calc(56px + env(safe-area-inset-bottom));left:12px;right:12px;display:flex;gap:6px;justify-content:center}.reel-tools button{background:#10282ed9;color:#fff;border:1px solid #77c9c755;backdrop-filter:blur(12px);border-radius:18px;min-height:44px;font-size:12px;padding:8px 12px}
@media(max-width:700px){.xp-map-dialog{padding:12px}.xp-map-dialog .eyebrow{display:none}.xp-map-dialog h2{font-size:22px;margin-right:35px}.xp-map-dialog .muted{font-size:11px}.xp-map-toolbar{gap:7px;padding:8px 0}.xp-map-chips{width:100%;order:2}.xp-map-chips button{font-size:12px;padding:8px 14px}.xp-map-toolbar select{font-size:12px;padding:7px;min-height:40px;max-width:48%}.xp-map-toolbar input{flex-basis:100%;min-height:44px}.xp-map-float{right:10px;top:85px}.xp-map-float button{font-size:11px;padding:8px;max-width:95px}.xp-map-preview{left:8px;width:calc(100% - 16px);bottom:75px;max-height:44%}.xp-map-property{padding:10px;gap:10px}.xp-map-property>img{width:85px;height:115px;float:none}.xp-map-property h3{font-size:14px}.xp-map-property strong{font-size:18px}.xp-map-property-actions{gap:4px}.xp-map-property-actions button,.xp-map-property-actions a{font-size:10px;min-height:35px;padding:5px 8px}.xp-map-results{grid-template-columns:1fr}.xp-map-switch{bottom:10px}.xp-map-switch button{min-height:40px}.xp-map-dialog .xp-status{font-size:11px;margin:2px 0}.xp-map-dialog .xp-map{border-radius:18px}input,select,textarea{font-size:16px}#web-chat,#simple{width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}#simple-content{padding-bottom:40px}.xp-map-dialog .xp-map-property-actions a{white-space:nowrap}}

.xp-map-float[hidden]{display:none}.xp-map-chips{scrollbar-width:none}.xp-map-dialog h2{padding-right:48px}.xp-map-dialog .xp-map[hidden]{display:none}@media(max-width:700px){.xp-dialog:not(.xp-map-dialog){width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;box-sizing:border-box}.xp-map-dialog h2{margin-right:0;font-size:20px}.xp-map-preview .xp-map-property>img{width:72px;height:96px}}
body:has(dialog[open]){overflow:hidden}.xp-map-dialog>.close{position:absolute;top:12px;right:12px}.xp-map-dialog .xp-content{box-sizing:border-box}.xp-map-dialog .xp-status{max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
