/* AgentOS Buyers dashboard, search v2. Entry card on the Buyers page plus AgentOS specific overrides for the showcase search. */
.by-zentry{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:12px}
.by-zgo{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:12px 22px;border:0;border-radius:999px;cursor:pointer;
  font:600 15px/1 Inter,system-ui,sans-serif;color:#1f1708;background:linear-gradient(180deg,#efe2bd,#d6bd84);box-shadow:0 8px 24px rgba(201,164,92,.25)}
.by-zgo svg{width:20px;height:20px}
.by-zgo:hover{filter:brightness(1.04)}
.by-zgo:focus-visible{outline:2px solid #e8d193;outline-offset:3px}
.by-zfor{font:500 14px/1.4 Inter,system-ui,sans-serif;color:inherit;opacity:.85}
.by-zfor b{font-weight:700}
.by-zhint{flex-basis:100%;font:400 13px/1.45 Inter,system-ui,sans-serif;opacity:.7}

/* Search open: the overlay and its tab pill sit above every AgentOS bar, menu and chat button. */
body.by-zsearch-on{padding-bottom:0 !important}
body.by-zsearch-on .bk-search-overlay{z-index:1200}
body.by-zsearch-on .bk-tabbar.by-ztabs{z-index:1260}
body.by-zsearch-on #detail{z-index:1300 !important}
body.by-zsearch-on .bk-suggest{z-index:2400}
.bk-tabbar.by-ztabs[hidden]{display:none !important}
body:not(.by-zsearch-on) .bk-tabbar.by-ztabs{display:none !important}
.bk-tabbar.by-ztabs button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bk-tabbar.by-ztabs button svg{fill:none}

/* Lean listing detail (AgentOS only). Day is white, night is AgentOS near black with soft glows. */
#detail.by-zdetail{position:fixed;inset:0;overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#1f1b16;-webkit-overflow-scrolling:touch}
#detail.by-zdetail[hidden]{display:none !important}
.by-zd{max-width:880px;margin:0 auto;padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}
.by-zd-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:10px;padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px;
  background:rgba(255,255,255,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(31,27,22,.08)}
.by-zd-back{width:40px;height:40px;border-radius:999px;border:1px solid rgba(201,162,39,.45);background:rgba(255,255,255,.9);color:#1f1b16;display:grid;place-items:center;cursor:pointer;padding:0}
.by-zd-back svg{width:22px;height:22px}
.by-zd-who{flex:1;font:600 13px/1.2 Inter,system-ui,sans-serif;color:#6b5f4f}
.by-zd-heart .bk-heart{position:static}
.by-zd-photos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:4px;background:#f2efe8}
.by-zd-photos img{flex:0 0 100%;width:100%;height:min(62vw,460px);object-fit:cover;scroll-snap-align:start;display:block}
.by-zd-nophoto{width:100%;height:200px;display:grid;place-items:center;color:#6b5f4f;font:500 14px Inter,system-ui,sans-serif}
.by-zd-count{font:500 12px/1 Inter,system-ui,sans-serif;color:#6b5f4f;padding:8px 16px 0}
.by-zd-body{padding:12px 16px 0}
.by-zd-price{font:700 28px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.01em}
.by-zd-was{font-size:15px;font-weight:500;color:#6b5f4f;text-decoration:line-through}
.by-zd-facts{font:500 15px/1.4 Inter,system-ui,sans-serif;margin-top:4px}
.by-zd-addr{font:500 16px/1.4 Inter,system-ui,sans-serif;margin:4px 0 12px;color:#3d352b}
.by-zd-acts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.by-zd-btn{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid rgba(201,162,39,.55);background:#fff;color:#1f1b16;
  font:600 14px/1 Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.by-zd-dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0 0 16px;padding:14px;border-radius:16px;background:#faf7f1;border:1px solid rgba(31,27,22,.06)}
@media (min-width:800px){.by-zd-dl{grid-template-columns:repeat(3,minmax(0,1fr))}}
.by-zd-dl div{min-width:0}
.by-zd-dl dt{font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#7a6c58}
.by-zd-dl dd{margin:3px 0 0;font:500 14px/1.35 Inter,system-ui,sans-serif;overflow-wrap:anywhere}
.by-zd h3{font:600 16px/1.3 Inter,system-ui,sans-serif;margin:0 0 6px}
.by-zd-rem{font:400 15px/1.6 Inter,system-ui,sans-serif;margin:0 0 14px;white-space:pre-line}
.by-zd-fine{font:400 12px/1.5 Inter,system-ui,sans-serif;color:#6b5f4f;margin:0}
body.bk-night #detail.by-zdetail{color:#f4f1ea;background-color:#0B0B0B;
  background-image:radial-gradient(60% 50% at 10% 0%,rgba(232,201,140,.22),transparent 70%),radial-gradient(50% 50% at 95% 30%,rgba(140,190,240,.16),transparent 70%),radial-gradient(60% 50% at 40% 100%,rgba(236,160,178,.14),transparent 70%);background-attachment:fixed}
body.bk-night .by-zd-top{background:rgba(20,20,22,.6);border-bottom-color:rgba(255,255,255,.1)}
body.bk-night .by-zd-back,body.bk-night .by-zd-btn{background:rgba(255,255,255,.08);color:#f4f1ea;border-color:rgba(232,209,147,.45)}
body.bk-night .by-zd-who,body.bk-night .by-zd-count,body.bk-night .by-zd-was,body.bk-night .by-zd-fine{color:rgba(244,241,234,.75)}
body.bk-night .by-zd-addr{color:rgba(244,241,234,.9)}
body.bk-night .by-zd-photos{background:rgba(255,255,255,.05)}
body.bk-night .by-zd-dl{background:linear-gradient(150deg,rgba(255,255,255,.1),rgba(255,255,255,.04));border-color:rgba(255,255,255,.14)}
body.bk-night .by-zd-dl dt{color:#e8d193}

/* ---------- Property Finder page ---------- */
body.pf-page{overflow:hidden}
body.pf-page > header, body.pf-page .np-top{visibility:hidden}
.pf-who{position:fixed;z-index:1215;left:50%;transform:translateX(-50%);bottom:calc(var(--bk-tabs-h,84px) + 10px + env(safe-area-inset-bottom,0px));
  display:inline-flex;align-items:center;gap:8px;max-width:calc(100vw - 140px);padding:6px 14px;border-radius:999px;cursor:pointer;
  font:500 12px/1.2 Inter,system-ui,sans-serif;color:#1f1b16;background:rgba(255,253,248,.82);border:1px solid rgba(201,162,39,.45);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 6px 18px rgba(31,23,8,.14)}
.pf-who b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf-who-k{opacity:.7;white-space:nowrap}
body.bk-night .pf-who{color:#f4f1ea;background:linear-gradient(150deg,rgba(255,255,255,.14),rgba(255,255,255,.05));border-color:rgba(232,209,147,.5)}
body.pf-sheet-on .pf-who,body.bk-detail-open .pf-who{display:none}
@media (min-width:800px){.pf-who{left:auto;right:16px;transform:none;bottom:calc(var(--bk-tabs-h,84px) + 12px)}}

.pf-sheet{position:fixed;inset:0;z-index:1250;background:rgba(10,10,12,.32);display:flex;align-items:flex-end;justify-content:center}
.pf-sheet[hidden]{display:none !important}
.pf-sh-in{width:min(560px,100%);max-height:min(82dvh,720px);overflow-y:auto;overscroll-behavior:contain;padding:14px 16px calc(var(--bk-tabs-h,84px) + 16px + env(safe-area-inset-bottom,0px));
  border-radius:22px 22px 0 0;color:#1f1b16;background:rgba(255,253,248,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(201,162,39,.35);border-bottom:0;box-shadow:0 -12px 40px rgba(0,0,0,.18);font:400 14px/1.45 Inter,system-ui,sans-serif}
@media (min-width:800px){.pf-sheet{align-items:center}.pf-sh-in{border-radius:22px;border-bottom:1px solid rgba(201,162,39,.35);padding-bottom:20px;margin-bottom:var(--bk-tabs-h,84px)}}
body.bk-night .pf-sheet{background:rgba(0,0,0,.45)}
body.bk-night .pf-sh-in{color:#f4f1ea;background-color:rgba(16,16,18,.82);border-color:rgba(232,209,147,.35);
  background-image:radial-gradient(70% 60% at 10% 0%,rgba(232,201,140,.22),transparent 70%),radial-gradient(60% 60% at 100% 40%,rgba(140,190,240,.16),transparent 70%),radial-gradient(60% 50% at 30% 100%,rgba(236,160,178,.14),transparent 70%)}
.pf-sh-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.pf-sh-hd h2{margin:0;font:600 20px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.01em}
.pf-x{width:38px;height:38px;border-radius:999px;border:1px solid rgba(201,162,39,.45);background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}
.pf-x svg{width:18px;height:18px}
.pf-cur{margin:0 0 10px;opacity:.9}
.pf-find{display:flex;gap:8px;align-items:center}
.pf-find input,.pf-new input{flex:1;min-width:0;width:100%;min-height:44px;padding:10px 14px;border-radius:999px;border:1px solid rgba(201,162,39,.5);background:#fff;color:#1f1b16;font:500 16px/1.2 Inter,system-ui,sans-serif}
body.bk-night .pf-find input,body.bk-night .pf-new input{background:rgba(255,255,255,.08);color:#f4f1ea;border-color:rgba(232,209,147,.45)}
.pf-find input::placeholder{color:#7a6c58}
body.bk-night .pf-find input::placeholder{color:rgba(244,241,234,.6)}
.pf-plus{flex:none;width:44px;height:44px;border-radius:999px;border:0;cursor:pointer;display:grid;place-items:center;color:#1f1708;background:linear-gradient(180deg,#efe2bd,#d6bd84);box-shadow:0 6px 16px rgba(201,164,92,.3)}
.pf-plus svg{width:22px;height:22px}
.pf-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.pf-contact{width:100%;text-align:left;display:grid;gap:2px;padding:10px 14px;border-radius:16px;cursor:pointer;color:inherit;font:inherit;
  border:1px solid rgba(201,162,39,.28);background:linear-gradient(150deg,rgba(247,231,196,.55),rgba(255,255,255,.7))}
.pf-list li:nth-child(4n+2) .pf-contact{background:linear-gradient(150deg,rgba(244,214,222,.55),rgba(255,255,255,.7))}
.pf-list li:nth-child(4n+3) .pf-contact{background:linear-gradient(150deg,rgba(204,232,228,.55),rgba(255,255,255,.7))}
.pf-list li:nth-child(4n+4) .pf-contact{background:linear-gradient(150deg,rgba(222,214,244,.55),rgba(255,255,255,.7))}
body.bk-night .pf-contact{border-color:rgba(255,255,255,.16);background:linear-gradient(150deg,rgba(232,201,140,.2),rgba(255,255,255,.05))}
body.bk-night .pf-list li:nth-child(4n+2) .pf-contact{background:linear-gradient(150deg,rgba(236,160,178,.2),rgba(255,255,255,.05))}
body.bk-night .pf-list li:nth-child(4n+3) .pf-contact{background:linear-gradient(150deg,rgba(130,210,200,.18),rgba(255,255,255,.05))}
body.bk-night .pf-list li:nth-child(4n+4) .pf-contact{background:linear-gradient(150deg,rgba(180,160,240,.2),rgba(255,255,255,.05))}
.pf-contact b{font-weight:600}
.pf-contact span{font-size:13px;opacity:.8;overflow-wrap:anywhere}
.pf-tags{display:flex;gap:4px;flex-wrap:wrap}
.pf-tags i{font-style:normal;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(201,162,39,.4)}
.pf-note{margin:10px 0 0;font-size:13px;opacity:.85}
.pf-warn{color:#9a2a1c;opacity:1}
body.bk-night .pf-warn{color:#ffc9c0}
.pf-ok{color:#2f6b3a;opacity:1}
body.bk-night .pf-ok{color:#bfe8c6}
.pf-h3{margin:18px 0 8px;font:600 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8a6d2f}
body.bk-night .pf-h3{color:#e8d193}
.pf-chips{display:flex;flex-wrap:wrap;gap:8px}
.pf-chip{min-height:38px;padding:8px 14px;border-radius:999px;cursor:pointer;font:600 13px/1 Inter,system-ui,sans-serif;color:inherit;background:transparent;border:1px solid rgba(201,162,39,.5)}
.pf-chip.on{color:#1f1708;background:linear-gradient(180deg,#efe2bd,#d6bd84);border-color:transparent}
.pf-fine{margin:14px 0 0;font-size:12px;opacity:.75}
.pf-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pf-btn{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:9px 18px;border-radius:999px;cursor:pointer;text-decoration:none;font:600 14px/1 Inter,system-ui,sans-serif;color:inherit;background:transparent;border:1px solid rgba(201,162,39,.55)}
.pf-btn svg{width:16px;height:16px}
.pf-btn.gold{color:#1f1708;background:linear-gradient(180deg,#efe2bd,#d6bd84);border-color:transparent}
.pf-btn.sm{min-height:34px;padding:6px 12px;font-size:13px}
.pf-btn[disabled]{opacity:.6;cursor:default}
.pf-new{display:grid;gap:10px;margin-top:6px}
.pf-new h3{margin:0;font:600 16px/1.3 Inter,system-ui,sans-serif}
.pf-new label{display:grid;gap:4px;font:600 12px/1.2 Inter,system-ui,sans-serif}
.pf-new input{border-radius:14px}
.pf-dl{display:grid;gap:6px;margin:0;padding:12px;border-radius:14px;border:1px solid rgba(201,162,39,.3)}
.pf-dl dt{font:600 11px/1.2 Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.pf-dl dd{margin:2px 0 0}
.pf-saved li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;border:1px solid rgba(201,162,39,.28)}
.pf-saved li span{flex:1;min-width:0;overflow-wrap:anywhere}
.pf-draft{padding:12px 14px;border-radius:16px;border:1px solid rgba(201,162,39,.35);background:linear-gradient(150deg,rgba(204,232,228,.4),rgba(255,255,255,.5))}
body.bk-night .pf-draft{background:linear-gradient(150deg,rgba(130,210,200,.16),rgba(255,255,255,.04));border-color:rgba(255,255,255,.16)}
.pf-badge{display:inline-block;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:999px;background:rgba(201,162,39,.2)}
.pf-link{margin:8px 0 0;font:600 14px/1.4 Inter,system-ui,sans-serif;overflow-wrap:anywhere}
.pf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Buyers page compact entry ---------- */
.by-zentry{display:grid;gap:10px;margin-top:12px}
.by-zform{display:flex;gap:8px;flex-wrap:wrap}
.by-zform input{flex:1 1 220px;min-width:0;min-height:48px;padding:12px 18px;border-radius:999px;border:1px solid rgba(232,209,147,.5);background:rgba(255,255,255,.08);color:inherit;font:500 16px/1.2 Inter,system-ui,sans-serif}
.by-zform input::placeholder{color:rgba(244,241,234,.6)}
/* Phone: the pin mini card sits under the slim top pills so the back arrow, filters and search stay tappable. */
@media (max-width:799px){
  body.by-zsearch-on #bk-search-host.bk-zillow.bk-mode-map .bk-pin-tray.bk-mini-wrap,
  body.by-zsearch-on .bk-zillow.bk-mode-map .bk-pin-tray.bk-mini-wrap{top:calc(104px + env(safe-area-inset-top,0px)) !important}
}
/* Night top bar in AgentOS: near black frost, no navy, chip row transparent (desktop showed a light strip). */
body.bk-night.by-zsearch-on #bk-search-host .bk-ztop,
body.bk-night.by-zsearch-on #bk-search-host form.bk-filters{background:rgba(11,11,11,.84) !important;background-color:rgba(11,11,11,.84) !important}
body.bk-night.by-zsearch-on #bk-search-host .bk-chips{background:transparent !important}
body.bk-search-open.bk-night.by-zsearch-on #bk-search-host.bk-zillow .bk-ztop,
body.bk-search-open.bk-night.by-zsearch-on .bk-zillow .bk-here.bk-here-on{background:rgba(11,11,11,.84) !important}
body.bk-search-open.bk-night.by-zsearch-on .leaflet-control-attribution{background:rgba(11,11,11,.8)}
body.bk-search-open.bk-night.by-zsearch-on #bk-search-host[data-sheet="full"] .bk-list-tools .bk-sort-lab select{background-color:rgba(11,11,11,.84) !important}
/* AgentOS night chrome: near black glass in place of the showcase navy (#1a2330). Map tiles keep the bluish Mapbox night. */
html body.bk-night.by-zsearch-on .bk-search-overlay,
html body.bk-night.by-zsearch-on .bk-z-panels,
html body.bk-night.by-zsearch-on .bk-z-panel.search,
html body.bk-night.by-zsearch-on .bk-zsearch,
html body.bk-night.by-zsearch-on .bk-zillow .bk-res,
html body.bk-night.by-zsearch-on #bk-search-host .bk-sheet,
html body.bk-night.by-zsearch-on #bk-sheet,
html body.bk-night.by-zsearch-on #bk-search-host .bk-sheet-handle,
html body.bk-night.by-zsearch-on #bk-search-host .bk-count-row,
html body.bk-night.by-zsearch-on #bk-search-host .bk-count{background:#0e0e0f !important;color:#f4f1ea !important}
html body.bk-night.by-zsearch-on #bk-search-host.bk-zillow .bk-ztop,
html body.bk-night.by-zsearch-on #bk-search-host.bk-zillow[data-sheet="full"] .bk-ztop,
html body.bk-night.by-zsearch-on .bk-zillow .bk-filters,
html body.bk-night.by-zsearch-on .bk-tabbar,
html body.bk-night.by-zsearch-on .bk-search-back,
html body.bk-night.by-zsearch-on #bk-search-host.bk-zillow:not([data-sheet="full"]) .bk-area input,
html body.bk-night.by-zsearch-on #bk-search-host.bk-zillow:not([data-sheet="full"]) .bk-save{background:rgba(14,14,15,.86) !important}
html body.bk-night.by-zsearch-on .bk-filt-body input,
html body.bk-night.by-zsearch-on .bk-filt-body select,
html body.bk-night.by-zsearch-on .bk-ai-prompts button,
html body.bk-night.by-zsearch-on .bk-ai-ans{background:#161617 !important}
html body.bk-night.by-zsearch-on .bk-fab-filt-ico circle{fill:#0e0e0f}
html body.bk-night.by-zsearch-on #bk-search-host .bk-area input,
html body.bk-night.by-zsearch-on #bk-search-host .bk-save,
html body.bk-night.by-zsearch-on #bk-search-host .bk-save *{color:#f4f1ea !important;-webkit-text-fill-color:#f4f1ea}
html body.bk-night.by-zsearch-on #bk-search-host .bk-area input{background:rgba(14,14,15,.86) !important;border-color:rgba(201,162,39,.45) !important}
html body.bk-night.by-zsearch-on #bk-search-host .bk-area input::placeholder{color:rgba(244,241,234,.6);-webkit-text-fill-color:rgba(244,241,234,.6)}
html body.bk-night.by-zsearch-on #bk-search-host .bk-save{background:rgba(14,14,15,.86) !important;border-color:rgba(201,162,39,.55) !important}
html body.bk-night.by-zsearch-on #bk-search-host .bk-area button,html body.bk-night.by-zsearch-on #bk-search-host .bk-area svg{color:#f4f1ea !important}
/* Buyers favorites map: same red price pins as Property Finder (the agent map used rose pills). */
.bk-fav-map .bk-pill{background:#b0182a !important;color:#fff !important;border:0 !important;border-radius:6px !important;padding:4px 8px !important;font:700 12px/1.1 Inter,system-ui,sans-serif !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;box-shadow:0 1px 3px rgba(0,0,0,.35) !important}
.bk-fav-map .bk-pill:after{content:"";position:absolute;left:50%;bottom:-5px;margin-left:-5px;border:5px solid transparent;border-top-color:#b0182a}
.bk-fav-map .bk-pill.both{box-shadow:0 0 0 2px #b8933f,0 1px 3px rgba(0,0,0,.35) !important}
.bk-fav-map .bk-pill-new,.bk-fav-map .bk-pill-h{color:#fff !important}
.bk-fav-map .bk-pill.has-photo{background:#fff !important;border-radius:8px !important;overflow:visible !important;padding:0 !important}
.bk-fav-map .bk-pill.has-photo .bk-pill-p{background:#b0182a;color:#fff;border-radius:0 0 8px 8px;padding:3px 6px 7px}
.bk-fav-map .bk-pill.has-photo:after{border-top-color:#b0182a}
.bk-fav-map .bk-seg button.on,.bk-fav-map .bk-seg [aria-pressed="true"]{background:#e8d193;color:#1f1708}


/* Shared Filters panel sits above the Property Finder overlay (z-index 1200).
   The kit appends #bk-filt-page to document.body at z-index 220, which left
   the panel open but fully hidden behind the overlay — the Filters button
   looked dead. Keep it under the listing detail (1300) and typeahead (2400). */
body.by-zsearch-on .bk-filt-page,
body.by-zsearch-on .bk-ai-page{z-index:1280 !important}
body.by-zsearch-on.bk-filters-open .pf-who,
body.by-zsearch-on.bk-ai-open .pf-who{display:none}

/* Frosted aurora glass, gold controls. Day and night. No navy, no charcoal tiles. */
body.by-zsearch-on .bk-filt-page{
  background:rgba(20,16,10,.28);
  align-items:center;
  justify-content:center
}
body.by-zsearch-on .bk-filt-card,
body.by-zsearch-on .bk-filt-foot{
  color:#1f1b16 !important;
  background:linear-gradient(150deg,rgba(255,253,248,.94),rgba(246,226,180,.55)) !important;
  backdrop-filter:blur(22px) saturate(1.35) !important;
  -webkit-backdrop-filter:blur(22px) saturate(1.35) !important;
  border:1px solid rgba(201,162,39,.45) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 16px 40px rgba(20,16,10,.22)
}
body.by-zsearch-on .bk-filt-head{border-bottom-color:rgba(201,162,39,.35)}
body.by-zsearch-on .bk-filt-head h2,
body.by-zsearch-on .bk-filt-x,
body.by-zsearch-on .bk-filt-body,
body.by-zsearch-on .bk-filt-body label,
body.by-zsearch-on .bk-filt-price,
body.by-zsearch-on .bk-filt-price legend,
body.by-zsearch-on .bk-filt-section legend,
body.by-zsearch-on .bk-filt-checks label{color:#1f1b16 !important}
body.by-zsearch-on .bk-filt-x{font:600 14px Inter,system-ui,sans-serif;padding:0 12px;border-radius:999px;border:1px solid rgba(201,162,39,.45);background:rgba(255,255,255,.7)}
body.by-zsearch-on .bk-filt-body input,
body.by-zsearch-on .bk-filt-body select{
  background:#fffdf8 !important;
  color:#1f1b16 !important;
  border:1px solid rgba(201,162,39,.4) !important;
  border-radius:12px
}
body.by-zsearch-on .bk-filt-body input:focus,
body.by-zsearch-on .bk-filt-body select:focus{
  outline:2px solid #c9a227;
  outline-offset:2px
}
body.by-zsearch-on .bk-filt-checks input{accent-color:#b8933f}
body.by-zsearch-on .bk-filt-foot{border-top-color:rgba(201,162,39,.35)}
body.by-zsearch-on .bk-filt-foot .bk-clear{
  border:1px solid rgba(201,162,39,.55) !important;
  background:rgba(255,253,248,.85) !important;
  color:#1f1b16 !important;
  border-radius:12px
}
body.by-zsearch-on .bk-filt-foot .bk-go{
  background:linear-gradient(180deg,#efe2bd,#d6bd84) !important;
  color:#1f1708 !important;
  border:0 !important;
  border-radius:12px;
  font:700 16px Inter,system-ui,sans-serif
}

/* Phone: bottom sheet. Desktop keeps the centered card. */
@media (max-width:799px){
  body.by-zsearch-on .bk-filt-page{align-items:flex-end}
  body.by-zsearch-on .bk-filt-card{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:min(94dvh, 940px);
    margin:0;
    border-radius:22px 22px 0 0 !important;
    border-bottom:0 !important
  }
}
@media (min-width:800px){
  body.by-zsearch-on .bk-filt-card{
    width:min(560px, calc(100% - 48px));
    max-height:92vh;
    margin:4vh auto;
    border-radius:22px !important
  }
}

/* Night: same cream glass on a near-black veil. Never navy, never charcoal-on-black. */
html body.bk-night.by-zsearch-on .bk-filt-page{background:rgba(11,11,11,.58) !important}
html body.bk-night.by-zsearch-on .bk-filt-card,
html body.bk-night.by-zsearch-on .bk-filt-foot{
  color:#1f1b16 !important;
  background-color:#efe4c8 !important;
  background-image:linear-gradient(150deg,rgba(255,253,248,.9),rgba(246,226,180,.62)) !important;
  border-color:rgba(201,162,39,.5) !important
}
html body.bk-night.by-zsearch-on .bk-filt-head h2,
html body.bk-night.by-zsearch-on .bk-filt-x,
html body.bk-night.by-zsearch-on .bk-filt-body,
html body.bk-night.by-zsearch-on .bk-filt-body label,
html body.bk-night.by-zsearch-on .bk-filt-price,
html body.bk-night.by-zsearch-on .bk-filt-price legend,
html body.bk-night.by-zsearch-on .bk-filt-section legend,
html body.bk-night.by-zsearch-on .bk-filt-checks label{color:#1f1b16 !important}
html body.bk-night.by-zsearch-on .bk-filt-x{background:rgba(255,253,248,.78);color:#1f1b16 !important;border-color:rgba(201,162,39,.5)}
html body.bk-night.by-zsearch-on .bk-filt-body input,
html body.bk-night.by-zsearch-on .bk-filt-body select{
  background:#fffdf8 !important;
  color:#1f1b16 !important;
  border-color:rgba(201,162,39,.45) !important
}
html body.bk-night.by-zsearch-on .bk-filt-foot .bk-clear{
  background:rgba(255,253,248,.88) !important;
  color:#1f1b16 !important
}
html body.bk-night.by-zsearch-on .bk-filt-foot .bk-go{
  background:linear-gradient(180deg,#efe2bd,#d6bd84) !important;
  color:#1f1708 !important
}
