/* Dial2Hire redesign v25 — chrome & engines, scoped to .rd (generated from dial2hire-redesign/assets site.css [plan bar → end], search.css, inbox.css). */
/* ---------- plan bar (every dashboard + flow page) ---------- */
.rd .planbar{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 14px;margin:0 0 14px;font-size:13.5px}
.rd .planbar .pb-plan{display:inline-flex;align-items:center;gap:8px;font-weight:800}
.rd .planbar .pb-plan i{font-style:normal;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--accent-50)}
.rd .planbar .pb-bal{display:flex;flex-direction:column;min-width:160px;flex:1}
.rd .planbar .pb-bal span{color:var(--muted);font-size:12.5px}
.rd .planbar .pb-bal b{font-size:14px}
.rd .planbar .cr-meter{margin:4px 0 0;max-width:260px}
.rd .planbar .pb-note{font-size:12.5px;color:var(--ink-2);background:var(--bg);border-radius:99px;padding:4px 10px}
.rd .planbar .pb-acts{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}
@media(max-width:639px){.rd .planbar .pb-acts{margin-left:0;width:100%}.rd .planbar .pb-acts .btn{flex:1}}

/* ---------- flow stepper (post → announce → plan → scheduled) ---------- */
.rd .flow{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0;counter-reset:fl;list-style:none;padding:0}
.rd .flow li{position:relative;padding:8px 10px 8px 38px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:12.5px;line-height:1.3;color:var(--muted);font-weight:600;min-height:48px;display:flex;flex-direction:column;justify-content:center}
.rd .flow li b{display:block;color:var(--ink-2);font-size:13px}
.rd .flow li::before{counter-increment:fl;content:counter(fl);position:absolute;left:9px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:var(--bg);color:var(--muted);font-size:11.5px;font-weight:800;display:grid;place-items:center}
.rd .flow li.done::before{content:"✓";background:var(--green);color:#fff}
.rd .flow li.done b{color:var(--green)}
.rd .flow li.now{border-color:var(--brand);background:var(--brand-50)}
.rd .flow li.now::before{background:var(--brand);color:#fff}
.rd .flow li.now b{color:var(--brand)}
.rd .flow li a{color:inherit;text-decoration:none}
@media(max-width:639px){.rd .flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.rd .flow li{padding:30px 4px 6px;text-align:center;font-size:0}.rd .flow li b{font-size:11px}.rd .flow li::before{left:50%;top:6px;transform:translateX(-50%)}}

/* ---------- footer v20 ---------- */
.rd .journey-band{background:linear-gradient(100deg,#0f1a2e,#1c3a7a);color:#fff;border-radius:20px;padding:20px;display:grid;gap:14px;margin-bottom:28px}
@media(min-width:900px){.rd .journey-band{grid-template-columns:auto 1fr auto;align-items:center;padding:22px 26px}}
.rd .journey-band h3{margin:0;font-size:18px;color:#fff}
.rd .journey-band ol{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.rd .journey-band li{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border-radius:99px;padding:6px 12px 6px 6px;font-size:13px;font-weight:700}
.rd .journey-band li i{font-style:normal;width:22px;height:22px;border-radius:50%;background:var(--accent);display:grid;place-items:center;font-size:11px}
.rd .journey-band .btn{background:#fff;color:var(--ink)}
.rd .site-footer .foot-grid{grid-template-columns:1fr 1fr}
@media(min-width:700px){.rd .site-footer .foot-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.rd .site-footer .foot-grid{grid-template-columns:1.5fr repeat(5,1fr)}}
.rd .site-footer .foot-grid .about{grid-column:1/-1}
@media(min-width:1000px){.rd .site-footer .foot-grid .about{grid-column:auto}}

/* ---------- generic page bits used by plans / success / how-it-works ---------- */
.rd .pg-hero{padding:22px 0 8px}
.rd .pg-hero h1{font-size:clamp(26px,4vw,40px);margin:6px 0 8px}
.rd .pg-hero p{color:var(--muted);max-width:680px;margin:0}
.rd .kick{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--brand);background:var(--brand-50);padding:4px 10px;border-radius:99px}
.rd .card2{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
@media(min-width:640px){.rd .card2{padding:22px}}
.rd .sec-t{font-size:20px;margin:0 0 4px}
.rd .sec-s{color:var(--muted);margin:0 0 14px;font-size:14px}

/* =========================================================
   v21 · wallet: confirm modal, same-page plan sheet & gateway, footer plans band
   ========================================================= */
body.w-lock{overflow:hidden}
.rd .w-modal{position:fixed;inset:0;z-index:110;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,26,46,0);transition:background .18s}
.rd .w-modal.on{background:rgba(15,26,46,.55)}
.rd .w-modal[hidden]{display:none}
.rd .w-box{background:#fff;width:100%;max-width:440px;border-radius:22px 22px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom));transform:translateY(30px);opacity:0;transition:.2s;max-height:92vh;overflow-y:auto}
.rd .w-modal.on .w-box{transform:none;opacity:1}
@media(min-width:640px){.rd .w-modal{align-items:center;padding:20px}.rd .w-box{border-radius:22px}}
.rd .w-big{max-width:980px}
.rd .w-ico{width:52px;height:52px;border-radius:16px;background:var(--accent-50);display:grid;place-items:center;font-size:24px;margin-bottom:10px}
.rd .w-box h2{font-size:20px;margin:0 0 4px}
.rd .w-lines{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:12px 0}
.rd .w-lines div{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-top:1px solid var(--line-2);font-size:14px}
.rd .w-lines div:first-child{border-top:0}
.rd .w-acts{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
.rd .ws-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.rd .ws-top h2{font-size:22px}
.rd .ws-x{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:16px;cursor:pointer;flex:none}
.rd .ws-status{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.rd .ws-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;background:var(--bg);border:1px solid var(--line);border-radius:99px;padding:5px 11px}
.rd .ws-chip span{color:var(--muted)}
.rd .ws-chip i{width:8px;height:8px;border-radius:50%;background:#94a3b8}
.rd .ws-chip.ok i{background:var(--green)}
.rd .ws-chip.ok{border-color:#bfe8cf;background:var(--green-50)}
.rd .ws-reason{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:10px 12px;font-size:14px;margin-bottom:10px}
.rd .ws-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);margin:4px 0 14px}
.rd .ws-tabs button{flex:none;border:0;background:none;font:inherit;font-weight:800;font-size:14px;color:var(--muted);padding:10px 12px;border-bottom:3px solid transparent;cursor:pointer}
.rd .ws-tabs button[aria-selected=true]{color:var(--brand);border-bottom-color:var(--brand)}
.rd .ws-note{margin:12px 0 0}
.rd .ws-tip{background:var(--brand-50);border-radius:12px;padding:10px 12px;font-size:13.5px;margin-bottom:12px}
.rd .wp-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.rd .wp{position:relative;border:1.5px solid var(--line);border-radius:18px;padding:18px 14px 14px;display:flex;flex-direction:column;gap:8px;background:#fff}
.rd .wp.pop{border-color:var(--accent);box-shadow:0 10px 28px rgba(255,122,26,.16)}
.rd .wp.cur{border-color:var(--green)}
.rd .wp-tag{position:absolute;top:-10px;left:14px;font-size:10.5px;font-weight:800;color:#fff;background:var(--accent);border-radius:99px;padding:2px 9px}
.rd .wp-tag.soft{background:var(--ink)}
.rd .wp h3{margin:0;font-size:17px}
.rd .wp-amt{font-size:28px;font-weight:800;line-height:1}
.rd .wp-amt small{font-size:12.5px;color:var(--muted);font-weight:700}
.rd .wp-val{font-size:12.5px;font-weight:800;color:var(--green)}
.rd .wp-val s{color:var(--muted);font-weight:600}
.rd .wp ul{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:13.5px;flex:1}
.rd .wp li{display:flex;gap:7px}
.rd .wp li::before{content:"✓";color:var(--green);font-weight:800;flex:none}
.rd .wp li.no{color:var(--muted)}
.rd .wp li.no::before{content:"✕";color:#cbd5e1}
.rd .wk-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.rd .wk{position:relative;display:grid;gap:2px;padding:14px;border:1.5px solid var(--line);border-radius:16px;background:#fff;font:inherit;text-align:left;cursor:pointer}
.rd .wk b{font-size:24px}
.rd .wk span{font-size:12px;color:var(--muted);font-weight:700}
.rd .wk em{font-style:normal;font-size:12px;font-weight:800;color:var(--green)}
.rd .wk em.no{color:transparent}
.rd .wk strong{font-size:16px;margin-top:6px}
.rd .wk:hover,.rd .wk.fit{border-color:var(--accent);background:#fffaf5}
.rd .wk.fit::after{content:"Enough for this";position:absolute;top:-9px;right:10px;font-size:10.5px;font-weight:800;background:var(--green);color:#fff;border-radius:99px;padding:2px 8px}
.rd .ws-rates{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.rd .ws-rates div{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-top:1px solid var(--line-2);font-size:13.5px}
.rd .ws-rates div:first-child{border-top:0}
.rd .ws-rates b{white-space:nowrap}
.rd .ws-rates i,.rd .wrate-plan{font-style:normal;font-size:10.5px;font-weight:800;background:var(--brand-50);color:var(--brand);border-radius:6px;padding:1px 6px;margin-left:4px}
.rd .gw{max-width:460px;margin:0 auto}
.rd .gw-head{display:flex;align-items:center;gap:10px;background:#0f1a2e;color:#fff;border-radius:16px;padding:12px 14px;margin:10px 0}
.rd .gw-logo{width:38px;height:38px;border-radius:10px;background:var(--brand);display:grid;place-items:center;font-weight:800;font-size:13px}
.rd .gw-head small{display:block;opacity:.7;font-size:12px}
.rd .gw-amt{margin-left:auto;font-size:20px}
.rd .gw-sum{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.rd .gw-sum div{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-top:1px solid var(--line-2);font-size:14px}
.rd .gw-sum div:first-child{border-top:0}
.rd .gw-methods{display:grid;gap:6px;margin:12px 0}
.rd .gw-m{display:flex;gap:10px;align-items:center;padding:11px 12px;border:1.5px solid var(--line);border-radius:12px;cursor:pointer}
.rd .gw-m:has(input:checked){border-color:var(--brand);background:var(--brand-50)}
.rd .gw-m small{display:block;color:var(--muted);font-size:12px}
.rd .gw-upi{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.rd .gw-upi input{flex:1;min-width:180px;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit}
.rd .gw-upi[hidden]{display:none}
.rd .gw-pay{min-height:52px;font-size:16px}
.rd .gw-wait{text-align:center;padding:40px 10px}
.rd .gw-spin{width:44px;height:44px;border-radius:50%;border:4px solid var(--brand-100);border-top-color:var(--brand);margin:0 auto 14px;animation:gwS 1s linear infinite}
@keyframes gwS{to{transform:rotate(360deg)}}
.rd .gw-ok{text-align:center;max-width:460px;margin:0 auto;padding:10px 0}
.rd .gw-tick{width:68px;height:68px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:32px;font-weight:800;margin:0 auto 10px;box-shadow:0 0 0 10px rgba(18,161,80,.12);animation:gwPop .35s ease-out}
@keyframes gwPop{from{transform:scale(.5)}}
.rd .gw-ok h3{font-size:22px;margin:4px 0}
.rd .gw-coins{display:inline-flex;gap:10px;align-items:center;background:var(--accent-50);border-radius:99px;padding:8px 16px;margin:8px 0 12px;font-size:15px}
.rd .gw-coins span{color:var(--muted);text-decoration:line-through}
.rd .gw-coins b{color:#c2540a;font-size:18px}
.rd .gw-pin{background:#e7fbe9;border:1px solid #bdf0c4;border-radius:14px;padding:10px 12px;font-size:14px;text-align:left;margin:0 0 12px}
.rd .gw-pin small{display:block;color:#15803d;font-weight:800;font-size:11.5px}
.rd .gw-pin b{font-size:20px;letter-spacing:.12em}
.rd .gw-next{display:grid;gap:8px;margin-bottom:10px}
.rd .linkish{border:0;background:none;padding:0;font:inherit;color:var(--brand);font-weight:700;cursor:pointer;text-decoration:underline}
/* footer plans band */
.rd .fp{display:grid;gap:14px;background:linear-gradient(120deg,#1a1033,#3b1d6e 55%,#5b21b6);color:#fff;border-radius:22px;padding:20px;margin-bottom:16px}
@media(min-width:1000px){.rd .fp{grid-template-columns:320px 1fr;align-items:center;padding:24px}}
.rd .fp h3{color:#fff;margin:8px 0 4px;font-size:20px}
.rd .fp p{margin:0;opacity:.8;font-size:14px}
.rd .fp-me{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;font-size:12.5px}
.rd .fp-me span{background:rgba(255,255,255,.12);border-radius:99px;padding:4px 10px}
.rd .fp-cards{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.rd .fp-c{display:grid;gap:2px;text-align:left;padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;font:inherit;cursor:pointer;transition:.15s}
.rd .fp-c:hover{background:rgba(255,255,255,.16);transform:translateY(-2px)}
.rd .fp-c b{font-size:15px}
.rd .fp-c span{font-size:13px;font-weight:700}
.rd .fp-c small{font-size:11.5px;opacity:.75}
.rd .fp-c.pop{background:#fff;color:var(--ink);border-color:#fff}
.rd .fp-c.agent{border-style:dashed}

/* top-of-page replies bar (every page) */
.rd .rbar{background:linear-gradient(90deg,#fff7ed,#fffbeb);border-bottom:1px solid #fde4c8}
.rd .rbar .container{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:9px;padding-bottom:9px;font-size:13.5px}
.rd .rbar .bell{width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:14px;flex:none;animation:rbRing 2.4s ease-in-out infinite}
@keyframes rbRing{0%,80%,100%{transform:none}84%{transform:rotate(14deg)}88%{transform:rotate(-12deg)}92%{transform:rotate(8deg)}}
.rd .rbar b.n{font-size:15px}
.rd .rbar .secs{display:flex;gap:6px;flex-wrap:wrap}
.rd .rbar .secs a{font-size:12px;font-weight:800;background:#fff;border:1px solid #fde4c8;border-radius:99px;padding:3px 9px;color:var(--ink-2);text-decoration:none}
.rd .rbar .go{margin-left:auto;display:flex;gap:6px;align-items:center}
.rd .rbar .x{border:0;background:none;font-size:16px;cursor:pointer;color:var(--muted);padding:4px}
.rd .rbar .wa{font-size:11.5px;font-weight:800;background:#e7fbe9;color:#15803d;border-radius:99px;padding:3px 9px}
@media(max-width:639px){.rd .rbar .secs{display:none}.rd .rbar .go{margin-left:auto}}
.rd .ws-chip i.off,.rd [data-plan-dot].off{background:#94a3b8}
.rd .planbar .pb-st{display:block;font-size:11.5px;font-weight:700;color:var(--muted)}
/* v21 editable chat templates */
.rd .mc-tplh,.rd .ib-wqh{font-size:11.5px;font-weight:800;color:var(--muted);padding:8px 12px 0;background:#fff}
.rd .mc-compose{align-items:flex-end}
.rd .mc-compose textarea,.rd .ib-wf textarea{flex:1;min-height:44px;max-height:140px;resize:vertical;border:1.5px solid var(--brand-100);border-radius:14px;padding:9px 12px;font:inherit;font-size:14px;line-height:1.4;background:#fbfdff}
.rd .mc-compose textarea:focus,.rd .ib-wf textarea:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd .ib-wf{align-items:flex-end}
.rd .ib-wf textarea{min-height:40px;max-height:110px;border-radius:12px;padding:8px 11px}
.rd .mc-hint{font-size:11.5px;color:var(--muted);padding:0 12px 6px}
.rd .mp-up{display:grid;gap:2px;background:linear-gradient(110deg,#fff7ed,#fff1e3);border:1px solid #fed7aa;border-radius:14px;padding:10px 12px;margin:10px 0}
.rd .mp-up span{font-size:13px;color:var(--ink-2)}
.rd #mcPay .modal-actions{grid-template-columns:1.3fr 1fr}
.rd .mm-panel.four{grid-template-columns:repeat(4,minmax(170px,1fr));min-width:820px;max-width:calc(100vw - 40px)}
.rd .fp-inline{margin-top:6px}

@media(min-width:640px){.rd .rbar .container{flex-wrap:nowrap}.rd .rbar .secs{flex:1;min-width:0;overflow:hidden;flex-wrap:nowrap;mask-image:linear-gradient(90deg,#000 85%,transparent)}.rd .rbar .go{flex:none}}
.rd .rbar .secs a{white-space:nowrap}
.rd .wk-t{font-size:10.5px;font-weight:800;color:var(--accent);text-transform:uppercase;letter-spacing:.04em}
.rd .a-kind{width:100%;height:52px;border:1.5px solid var(--brand-100);border-radius:14px;padding:0 14px;font:inherit;font-size:15px;font-weight:700;color:var(--ink);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231f5ce0' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;appearance:none;-webkit-appearance:none;cursor:pointer}
.rd .a-kind:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd #aPlans .plan-card .pp{font-size:26px}
/* =========================================================
   Dial2Hire · search pages v22 — search bar · results list · detail preview · chat inside the ad
   Used by property.html, candidates.html, jobs.html, business-search.html, hotels.html
   ========================================================= */
.rd .sr-page{background:linear-gradient(180deg,#0b3fb0 0,#1f5ce0 120px,var(--bg) 120px);padding:14px 0 34px}
.rd .sr-page.v-jobs{background:linear-gradient(180deg,#0b5d3a 0,#0f7a4f 120px,var(--bg) 120px)}
.rd .sr-page.v-candidates{background:linear-gradient(180deg,#3b1d6e 0,#6d28d9 120px,var(--bg) 120px)}
.rd .sr-page.v-business{background:linear-gradient(180deg,#9a3412 0,#ea580c 120px,var(--bg) 120px)}
.rd .sr-page.v-hotels{background:linear-gradient(180deg,#134e4a 0,#0f766e 120px,var(--bg) 120px)}

/* ---- search bar ---- */
.rd .sr-bar{background:#fff;border-radius:16px;box-shadow:var(--sh-lg);padding:10px;display:grid;gap:8px;position:relative;z-index:5}
.rd .sr-sum{display:none;align-items:center;gap:8px;width:100%;border:0;background:none;font:inherit;text-align:left;padding:4px;cursor:pointer}
.rd .sr-sum b{display:block;font-size:14px}
.rd .sr-sum small{display:block;color:var(--muted);font-size:12.5px}
.rd .sr-sum .ed{margin-left:auto;font-size:12.5px;font-weight:800;color:var(--brand);background:var(--brand-50);border-radius:99px;padding:6px 12px;flex:none}
.rd .sr-form{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1000px){.rd .sr-form{grid-template-columns:var(--sr-cols,auto 1fr 1fr 1.6fr .8fr 1fr auto);align-items:end}}
.rd .sr-f{display:flex;flex-direction:column;gap:3px;min-width:0}
.rd .sr-f.wide{grid-column:1/-1}
@media(min-width:1000px){.rd .sr-f.wide{grid-column:auto}}
.rd .sr-f>label,.rd .sr-f>.lb{font-size:10.5px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;padding-left:2px}
.rd .sr-f input,.rd .sr-f select{height:40px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;font-size:13.5px;background:#fff;color:var(--ink);min-width:0;width:100%}
.rd .sr-f input:focus,.rd .sr-f select:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd .sr-seg{display:inline-flex;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:3px;height:40px}
.rd .sr-seg button{border:0;background:none;font:inherit;font-size:13px;font-weight:800;color:var(--muted);padding:0 14px;border-radius:7px;cursor:pointer;white-space:nowrap;flex:1}
.rd .sr-seg button[aria-pressed=true]{background:#fff;color:var(--brand);box-shadow:var(--sh-sm)}
.rd .sr-go{height:40px;border:0;border-radius:10px;background:var(--brand);color:#fff;font:inherit;font-weight:800;font-size:13.5px;padding:0 22px;cursor:pointer;letter-spacing:.03em;grid-column:1/-1}
@media(min-width:1000px){.rd .sr-go{grid-column:auto}}
.rd .sr-go:hover{background:var(--brand-600)}
.rd .v-jobs .sr-go{background:#0f7a4f}.rd .v-candidates .sr-go{background:#6d28d9}.rd .v-business .sr-go{background:#ea580c}.rd .v-hotels .sr-go{background:#0f766e}
.rd .sr-more{display:flex;justify-content:flex-end;gap:12px;margin:8px 2px 10px}
.rd .sr-more button,.rd .sr-more a{border:0;background:none;font:inherit;font-size:12.5px;font-weight:800;color:#fff;cursor:pointer;opacity:.95}
.rd .sr-xf{display:none;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;border-top:1px dashed var(--line);padding-top:10px}
.rd .sr-xf.on{display:grid}
@media(max-width:999px){
  .rd .sr-sum{display:flex}
  .rd .sr-bar:not(.open) .sr-form,.rd .sr-bar:not(.open) .sr-xf{display:none}
  .rd .sr-more{justify-content:space-between}
}

/* ---- results shell ---- */
.rd .sr-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--sh-sm)}
.rd .sr-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--line-2);margin-bottom:12px}
.rd .sr-head h1{font-size:clamp(17px,2.2vw,21px);margin:0}
.rd .sr-head .crumb{font-size:12.5px;font-weight:700;color:var(--brand);margin-top:3px}
.rd .sr-head .prot{font-size:12px;color:var(--muted);margin-top:2px}
.rd .sr-head .meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.rd .sr-head .meta span{font-size:12px;font-weight:800;border-radius:99px;padding:4px 10px;background:var(--bg);color:var(--ink-2)}
.rd .sr-head .meta .free{background:var(--green-50);color:var(--green)}
.rd .sr-grid{display:grid;gap:16px}
@media(min-width:1000px){.rd .sr-grid{grid-template-columns:minmax(330px,420px) minmax(0,1fr);align-items:start}}
.rd .sr-list{display:grid;gap:10px;align-content:start}
@media(min-width:1000px){.rd .sr-list{max-height:calc(100vh - var(--header-h) - 120px);overflow-y:auto;padding-right:6px;scrollbar-width:thin;position:sticky;top:calc(var(--header-h) + 12px)}}
/* 03-11-2026: the sticky list covered the pager below it. Desktop: list + pager share one sticky column; the list scrolls, the pager stays visible under it. */
@media(min-width:1000px){.rd .sr-grid>div:has(>.sr-list+.sr-pg){position:sticky;top:calc(var(--header-h) + 12px);display:flex;flex-direction:column;max-height:calc(100vh - var(--header-h) - 80px)}.rd .sr-grid>div:has(>.sr-list+.sr-pg)>.sr-list{position:static;max-height:none;flex:1 1 auto;min-height:0}.rd .sr-grid>div:has(>.sr-list+.sr-pg)>.sr-pg{flex:none;flex-wrap:wrap;padding-top:8px;margin:0;border-top:1px solid var(--line)}}
.rd .sr-card{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px;border:1.5px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;text-align:left;font:inherit;color:inherit;width:100%;transition:border-color .12s,background .12s}
.rd .sr-card:hover{border-color:var(--brand-100)}
.rd .sr-card.on{border-color:var(--brand);background:#f5f9ff;box-shadow:0 0 0 3px rgba(31,92,224,.08)}
.rd .sr-card .ph{width:96px;height:84px;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:var(--bg)}
.rd .sr-card .ph svg{width:100%;height:100%;display:block}
.rd .sr-card .ph .av{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:22px}
.rd .sr-card h3{margin:0;font-size:14.5px;line-height:1.3;padding-right:12px}
.rd .sr-card .loc{font-size:12px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .sr-card .pr{font-size:16px;font-weight:800;color:var(--brand);margin-top:4px}
.rd .v-jobs .sr-card .pr{color:#0f7a4f}.rd .v-candidates .sr-card .pr{color:#6d28d9}.rd .v-business .sr-card .pr{color:#c2540a}.rd .v-hotels .sr-card .pr{color:#0f766e}
.rd .sr-card .tg{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;padding-right:62px}
.rd .sr-card .tg span{font-size:11px;font-weight:700;background:var(--brand-50);color:var(--brand);border-radius:6px;padding:2px 7px}
.rd .sr-card .tg span+span{background:var(--bg);color:var(--ink-2)}
.rd .sr-card .dot{position:absolute;top:10px;right:10px;width:8px;height:8px;border-radius:50%;background:var(--green)}
.rd .sr-card .dot.off{background:#cbd5e1}
.rd .sr-card .ch{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:1px solid var(--brand-100);border-radius:8px;background:#eef3fe;color:var(--brand);font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.rd .sr-card .ch.on{background:var(--brand);color:#fff}
.rd .sr-card .ch:hover{background:var(--brand-100)}
.rd .sr-empty{padding:30px 14px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px}
.rd .sr-pg{display:flex;justify-content:center;gap:6px;margin:10px 0 2px}
.rd .sr-pg button{min-width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;color:var(--ink-2)}
.rd .sr-pg button[aria-current=page]{background:var(--brand);color:#fff;border-color:var(--brand)}
.rd .sr-pg span{align-self:center;color:var(--muted)}
.rd .sr-cta{display:grid;gap:8px;background:linear-gradient(120deg,#fff7ed,#fff1e3);border:1px solid #fed7aa;border-radius:14px;padding:12px}
.rd .sr-cta b{font-size:14px}
.rd .sr-cta span{font-size:12.5px;color:var(--ink-2)}

/* ---- detail ---- */
.rd .sr-detail{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;min-width:0}
@media(min-width:1000px){.rd .sr-detail{position:sticky;top:calc(var(--header-h) + 12px);max-height:calc(100vh - var(--header-h) - 24px);overflow-y:auto;scrollbar-width:thin}}
.rd .sd-back{display:none}
.rd .sd-hero{position:relative;height:280px;background:var(--bg)}
.rd .sd-hero svg{width:100%;height:100%;display:block}
.rd .sd-hero .sd-n{position:absolute;bottom:10px;right:12px;background:rgba(15,26,46,.7);color:#fff;font-size:12px;font-weight:800;border-radius:99px;padding:3px 10px}
.rd .sd-hero .sd-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:5px}
.rd .sd-hero .sd-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.6)}
.rd .sd-hero .sd-dots i.on{background:#fff}
.rd .sd-hero .sd-arw{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.9);font-size:16px;cursor:pointer;box-shadow:var(--sh)}
.rd .sd-hero .sd-arw.l{left:10px}.rd .sd-hero .sd-arw.r{right:10px}
.rd .sd-hero .sd-save{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:#fff;font-size:16px;cursor:pointer;box-shadow:var(--sh)}
.rd .sd-person{display:flex;gap:14px;align-items:center;padding:18px 18px 0}
.rd .sd-person .av{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:26px;flex:none}
.rd .sd-b{padding:16px 18px 18px}
.rd .sd-b h2{font-size:20px;margin:0}
.rd .sd-b .loc{font-size:13px;color:var(--muted);margin-top:3px}
.rd .sd-b .pr{font-size:24px;font-weight:800;color:var(--brand);margin:10px 0 12px}
.rd .v-jobs .sd-b .pr{color:#0f7a4f}.rd .v-candidates .sd-b .pr{color:#6d28d9}.rd .v-business .sd-b .pr{color:#c2540a}.rd .v-hotels .sd-b .pr{color:#0f766e}
.rd .sd-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media(min-width:640px){.rd .sd-facts{grid-template-columns:repeat(4,minmax(0,1fr))}}
.rd .sd-facts div{border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fbfcfe}
.rd .sd-facts span{display:block;font-size:10.5px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.rd .sd-facts b{font-size:13.5px}
.rd .sd-desc{font-size:13.5px;color:var(--ink-2);margin:12px 0 8px;line-height:1.6}
.rd .sd-sub{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:12px 0 6px}
.rd .sd-chips{display:flex;flex-wrap:wrap;gap:5px}
.rd .sd-chips span{font-size:11.5px;font-weight:700;background:var(--brand-50);color:var(--brand);border-radius:6px;padding:3px 8px}
.rd .sd-chips.n span{background:var(--bg);color:var(--ink-2)}
.rd .sd-list{margin:0;padding-left:18px;font-size:13.5px;color:var(--ink-2);display:grid;gap:3px}
.rd .sd-contact{display:flex;align-items:center;gap:10px;border:1.5px dashed var(--line);border-radius:14px;padding:10px 12px;margin:14px 0 10px}
.rd .sd-contact .a{width:38px;height:38px;border-radius:50%;background:var(--brand-50);color:var(--brand);display:grid;place-items:center;font-weight:800;flex:none}
.rd .sd-contact b{display:block;font-size:14px}
.rd .sd-contact small{display:block;color:var(--muted);letter-spacing:.06em}
.rd .sd-contact .ul{margin-left:auto;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:10px;background:var(--accent);color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.rd .sd-contact .ul small{display:inline;color:#fff;opacity:.85;letter-spacing:0}
.rd .sd-contact .call{margin-left:auto;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:10px;background:var(--green);color:#fff;font-weight:800;font-size:13px;text-decoration:none}
.rd .sd-chat{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border:0;border-radius:12px;background:var(--brand);color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.rd .v-jobs .sd-chat{background:#0f7a4f}.rd .v-candidates .sd-chat{background:#6d28d9}.rd .v-business .sd-chat{background:#ea580c}.rd .v-hotels .sd-chat{background:#0f766e}
.rd .sd-note{font-size:12px;color:var(--muted);text-align:center;margin:8px 0 0}

/* ---- chat inside the ad ---- */
.rd .sc{display:flex;flex-direction:column;min-height:520px}
@media(min-width:1000px){.rd .sc{height:calc(100vh - var(--header-h) - 26px)}}
.rd .sc-top{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line-2);background:#fbfcfe}
.rd .sc-top button{border:1px solid var(--line);background:#fff;border-radius:10px;height:34px;padding:0 10px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;flex:none}
.rd .sc-top .th{width:46px;height:40px;border-radius:8px;overflow:hidden;flex:none;display:grid;place-items:center}
.rd .sc-top .th svg{width:100%;height:100%}
.rd .sc-top .t{flex:1;min-width:0}
.rd .sc-top .t b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .sc-top .t small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .sc-who{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line-2);font-size:13px}
.rd .sc-who .a{width:30px;height:30px;border-radius:50%;background:var(--brand-50);color:var(--brand);display:grid;place-items:center;font-weight:800;font-size:12px}
.rd .sc-who .on{color:var(--green);font-weight:800;font-size:12px}
.rd .sc-who .ul2{margin-left:auto}
.rd .sc-body{flex:1;overflow-y:auto;padding:14px;background:#f4f6fa;display:flex;flex-direction:column;gap:6px;min-height:200px}
.rd .sc-msg{max-width:84%;padding:8px 11px;border-radius:14px;font-size:14px;line-height:1.45;background:#fff;border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px;white-space:pre-wrap}
.rd .sc-msg.me{align-self:flex-end;background:var(--brand);color:#fff;border-color:var(--brand);border-radius:14px 14px 4px 14px}
.rd .sc-msg time{display:block;font-size:10.5px;opacity:.6;text-align:right;margin-top:2px}
.rd .sc-sys{align-self:center;font-size:11.5px;font-weight:700;color:var(--muted);background:#e9edf4;border-radius:99px;padding:3px 10px;text-align:center}
.rd .sc-typing{align-self:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;gap:4px}
.rd .sc-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:scDot 1s infinite}
.rd .sc-typing i:nth-child(2){animation-delay:.15s}.rd .sc-typing i:nth-child(3){animation-delay:.3s}
@keyframes scDot{50%{transform:translateY(-4px);opacity:.4}}
.rd .sc-tplh{font-size:11.5px;font-weight:800;color:var(--muted);padding:8px 12px 0;background:#fff}
.rd .sc-tpl{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:6px 12px 0;background:#fff}
.rd .sc-tpl::-webkit-scrollbar{display:none}
.rd .sc-tpl button{flex:none;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:30px;border-radius:99px;border:1px solid var(--brand-100);background:var(--brand-50);color:var(--brand);font:inherit;font-size:12.5px;font-weight:700;padding:0 11px;cursor:pointer}
.rd .sc-form{display:flex;gap:8px;align-items:flex-end;padding:8px 12px 6px;background:#fff}
.rd .sc-form textarea{flex:1;min-height:46px;max-height:140px;resize:vertical;border:1.5px solid var(--brand-100);border-radius:14px;padding:9px 12px;font:inherit;font-size:14px;line-height:1.4;background:#fbfdff}
.rd .sc-form textarea:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd .sc-form button{height:46px;padding:0 18px;border:0;border-radius:12px;background:var(--brand);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.rd .sc-hint{font-size:11.5px;color:var(--muted);padding:0 12px 10px;background:#fff}
/* gates inside the chat: verify mobile, free chats used */
.rd .sc-gate{margin:auto 0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--sh);display:grid;gap:10px;align-self:stretch}
.rd .sc-gate h3{margin:0;font-size:18px}
.rd .sc-gate p{margin:0;font-size:13.5px;color:var(--ink-2)}
.rd .sc-gate .f{display:grid;gap:4px}
.rd .sc-gate label{font-size:12px;font-weight:800;color:var(--muted)}
.rd .sc-gate input{height:46px;border:1.5px solid var(--line);border-radius:12px;padding:0 12px;font:inherit;font-size:15px}
.rd .sc-gate input:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd .sc-gate .mob{display:flex;align-items:stretch;border:1.5px solid var(--line);border-radius:12px;overflow:hidden}
.rd .sc-gate .mob span{display:grid;place-items:center;padding:0 12px;background:var(--bg);font-weight:800;color:var(--ink-2)}
.rd .sc-gate .mob input{border:0;border-radius:0;flex:1;min-width:0}
.rd .sc-gate .err{color:#dc2626;font-size:12.5px;font-weight:700;min-height:16px}
.rd .sc-otp{display:flex;gap:8px;justify-content:center}
.rd .sc-otp input{width:52px;height:56px;text-align:center;font-size:24px;font-weight:800;padding:0}
.rd .sc-gate .demo{font-size:12.5px;background:#e7fbe9;border:1px solid #bdf0c4;border-radius:10px;padding:7px 10px;text-align:center}
.rd .sc-gate .why{display:grid;gap:4px;font-size:12.5px;color:var(--muted)}
.rd .sc-gate .row{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:12.5px}
.rd .sc-gate .btn{min-height:46px}

/* phones & tablets: detail opens full screen */
@media(max-width:999px){
  .rd .sr-detail{position:fixed;inset:0;z-index:92;border-radius:0;border:0;overflow-y:auto;transform:translateY(100%);transition:transform .25s ease;visibility:hidden}
  .rd .sr-detail.open{transform:none;visibility:visible}
  .rd .sd-back{display:flex;align-items:center;gap:8px;position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid var(--line-2);padding:10px 12px calc(10px);padding-top:calc(10px + env(safe-area-inset-top))}
  .rd .sd-back button{border:1px solid var(--line);background:#fff;border-radius:10px;height:36px;padding:0 12px;font:inherit;font-weight:800;cursor:pointer}
  .rd .sd-back b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rd .sd-hero{height:220px}
  .rd .sc{min-height:calc(100vh - 57px)}
  .rd .sc-form{padding-bottom:calc(6px + env(safe-area-inset-bottom))}
  body.sr-lock{overflow:hidden}
  .rd .sr-card{grid-template-columns:84px minmax(0,1fr)}
  .rd .sr-card .ph{width:84px;height:76px}
}
.rd .sc-top .th .av{width:40px;height:40px;font-size:14px;border-radius:8px!important}
.rd .sr-card .ph .av{border-radius:50%}
.rd .sd-badge{display:inline-block;margin-top:4px;font-size:11.5px;font-weight:800;border-radius:99px;padding:3px 10px;background:var(--green-50);color:var(--green)}
.rd .sd-rel{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.rd .sd-rel button{border:1px solid var(--line);background:#fff;border-radius:8px;width:32px;height:30px;cursor:pointer}
.rd .sd-res{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;border:1.5px solid var(--ink);border-radius:12px;background:#fff;font:inherit;font-weight:800;font-size:14px;cursor:pointer;margin-bottom:8px}
.rd .sd-b mark,.rd .sd-chips mark{background:#fef08a;color:inherit;padding:0 1px;border-radius:2px}
.rd .sr-card .tg span:empty{display:none}
/* =========================================================
   My Property — ads & requirements response inbox (v19)
   Namespaced .ib-* so it never clashes with app.js widgets
   ========================================================= */
.rd .ib{--st-new:#1f5ce0;--st-talking:#0891b2;--st-visit:#d97706;--st-nego:#ea580c;--st-closed:#12a150;--role-agent:#6d28d9}
.rd .ib *{min-width:0}

/* ---- "people are waiting" strip ---- */
.rd .ib-pulse{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(100deg,#0f1a2e,#1c2f57);color:#fff;border-radius:var(--r-lg);padding:14px 16px;margin-bottom:14px}
.rd .ib-pulse .dot{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 rgba(255,122,26,.6);animation:ibPing 1.8s infinite;flex:none}
@keyframes ibPing{70%{box-shadow:0 0 0 10px rgba(255,122,26,0)}100%{box-shadow:0 0 0 0 rgba(255,122,26,0)}}
.rd .ib-pulse .txt{flex:1;min-width:200px}
.rd .ib-pulse .txt b{font-size:16px;display:block;line-height:1.3}
.rd .ib-pulse .txt span{font-size:13px;opacity:.75}
.rd .ib-pulse .btn{background:#fff;color:var(--ink)}
.rd .ib-pulse .ib-stack .ib-av{border-color:#1c2f57}
.rd .ib-pulse.calm{background:var(--green-50);color:var(--ink)}
.rd .ib-pulse.calm .dot{background:var(--green);animation:none}
.rd .ib-pulse.calm .btn{display:none}

/* ---- two big tabs ---- */
.rd .ib-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-bottom:14px}
.rd .ib-tab{position:relative;display:flex;align-items:center;gap:12px;text-align:left;padding:14px;border-radius:var(--r-lg);border:1.5px solid var(--line);background:#fff;font:inherit;color:var(--ink);cursor:pointer;transition:.15s}
.rd .ib-tab:hover{border-color:var(--brand-100)}
.rd .ib-tab[aria-selected=true]{border-color:var(--brand);background:var(--brand-50);box-shadow:0 0 0 3px rgba(31,92,224,.08)}
.rd .ib-tab .ti{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:#fff;border:1px solid var(--line);flex:none}
.rd .ib-tab .tl{flex:1}
.rd .ib-tab .tl b{display:block;font-size:16px;line-height:1.25}
.rd .ib-tab .tl small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;margin-top:2px}
.rd .ib-tab .tn{text-align:right;flex:none}
.rd .ib-tab .tn b{display:block;font-size:26px;font-weight:800;line-height:1}
.rd .ib-tab .tn small{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.rd .ib-tab .new{position:absolute;top:-8px;right:12px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px}
.rd .ib-tab .new[hidden]{display:none}
@media(max-width:639px){
  .rd .ib-tab{flex-direction:column;align-items:flex-start;gap:6px;padding:12px}
  .rd .ib-tab .ti{width:36px;height:36px;font-size:18px}
  .rd .ib-tab .tn{text-align:left;display:flex;align-items:baseline;gap:6px}
  .rd .ib-tab .tn b{font-size:22px}
  .rd .ib-tab .tl b{font-size:14.5px}
}

/* ---- toolbar ---- */
.rd .ib-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.rd .ib-search{flex:1;min-width:200px;position:relative}
.rd .ib-search input{width:100%;height:42px;border:1px solid var(--line);border-radius:var(--r);padding:0 12px 0 36px;font:inherit;font-size:14px;background:#fff}
.rd .ib-search input:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd .ib-search::before{content:"🔍";position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;opacity:.6}
.rd .ib-toggle{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r);background:#fff;font:inherit;font-size:14px;font-weight:700;color:var(--ink-2);cursor:pointer}
.rd .ib-toggle[aria-pressed=true]{background:var(--accent-50);border-color:#ffc79e;color:#c2540a}
.rd .ib-sel{height:42px;border:1px solid var(--line);border-radius:var(--r);padding:0 10px;font:inherit;font-size:14px;font-weight:600;background:#fff;color:var(--ink-2)}
@media(max-width:639px){.rd .ib-search{flex-basis:100%}.rd .ib-toggle,.rd .ib-sel{flex:1}}

/* ---- post card ---- */
.rd .ib-post{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);margin-bottom:12px;overflow:hidden;transition:box-shadow .15s}
.rd .ib-post.open{box-shadow:var(--sh);border-color:#d5ddeb}
.rd .ib-post.closedpost{opacity:.7}
.rd .ib-ph{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;width:100%;background:none;border:0;font:inherit;color:inherit;text-align:left;cursor:pointer}
.rd .ib-ph:hover .ib-title{color:var(--brand)}
.rd .ib-thumb{position:relative;width:76px;height:76px;border-radius:14px;display:grid;place-items:center;font-size:32px}
.rd .ib-thumb .badge{position:absolute;left:4px;bottom:4px;font-size:10px;padding:2px 6px;background:#fff}
.rd .ib-title{display:block;font-size:16px;font-weight:800;margin:0 0 2px;line-height:1.3;transition:color .15s}
.rd .ib-meta{display:block;font-size:13px;color:var(--muted);line-height:1.45}
.rd .ib-meta b{color:var(--ink);font-weight:800}
.rd .ib-bar{display:flex;height:6px;border-radius:99px;overflow:hidden;background:var(--line-2);margin-top:9px;max-width:420px}
.rd .ib-bar i{display:block;height:100%}
.rd .ib-legend{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:6px;font-size:11.5px;font-weight:700;color:var(--muted)}
.rd .ib-legend span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c);margin-right:4px;vertical-align:1px}
.rd .ib-count{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.rd .ib-count .n{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
.rd .ib-count .n b{font-size:24px;font-weight:800;line-height:1}
.rd .ib-count .n span{font-size:12.5px;font-weight:700;color:var(--muted)}
.rd .ib-count .fresh{font-size:11.5px;font-weight:800;color:#fff;background:var(--accent);border-radius:99px;padding:2px 8px}
.rd .ib-count .chev{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--bg);font-size:12px;transition:transform .2s}
.rd .ib-post.open .ib-count .chev{transform:rotate(180deg);background:var(--brand-50);color:var(--brand)}
.rd .ib-countrow{display:flex;align-items:center;gap:8px}
@media(max-width:639px){
  .rd .ib-ph{grid-template-columns:60px minmax(0,1fr);gap:10px 12px;padding:12px}
  .rd .ib-thumb{width:60px;height:60px;font-size:26px;border-radius:12px}
  .rd .ib-title{font-size:15px}
  .rd .ib-count{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px dashed var(--line);padding-top:10px}
}

.rd .ib-stack{display:flex;align-items:center}
.rd .ib-stack .ib-av{width:26px;height:26px;font-size:10.5px;border:2px solid #fff;margin-left:-8px}
.rd .ib-stack .ib-av:first-child{margin-left:0}
.rd .ib-stack .more{font-size:11.5px;font-weight:800;color:var(--muted);margin-left:6px}

.rd .ib-acts{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 12px}
.rd .ib-acts .btn{min-height:32px;font-size:13px;padding:0 10px}
.rd .ib-post.open .ib-acts{border-bottom:1px solid var(--line-2)}

/* ---- inbox inside an open post ---- */
.rd .ib-inbox{display:none;padding:12px 14px 14px;background:#fbfcfe}
.rd .ib-post.open .ib-inbox{display:block}
.rd .ib-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;margin-bottom:10px;align-items:center}
.rd .ib-chips::-webkit-scrollbar{display:none}
.rd .ib-chip{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:99px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13px;font-weight:700;color:var(--ink-2);cursor:pointer}
.rd .ib-chip i{font-style:normal;font-size:11px;color:var(--muted);font-weight:800}
.rd .ib-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.rd .ib-chip[aria-pressed=true] i{color:rgba(255,255,255,.7)}
.rd .ib-chip.dotc::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c)}
.rd .ib-chips .sp{flex:1}
.rd .ib-view{flex:none;display:inline-flex;border:1px solid var(--line);border-radius:99px;overflow:hidden;background:#fff}
.rd .ib-view button{border:0;background:none;font:inherit;font-size:12.5px;font-weight:700;padding:0 11px;height:30px;color:var(--muted);cursor:pointer}
.rd .ib-view button[aria-pressed=true]{background:var(--brand-50);color:var(--brand)}

.rd .ib-rows{display:grid;gap:6px}
.rd .ib-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:var(--r);background:#fff;border:1px solid var(--line);cursor:pointer;text-align:left;font:inherit;color:inherit;width:100%;transition:.12s;position:relative}
.rd .ib-row:hover{border-color:var(--brand-100);background:#fdfeff}
.rd .ib-row.active{border-color:var(--brand);box-shadow:inset 3px 0 0 var(--brand)}
.rd .ib-row.unread{background:#fffaf5;border-color:#ffe1c8}
.rd .ib-row .nm{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-weight:800;font-size:14.5px;line-height:1.3}
.rd .ib-row .pv{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.rd .ib-row.unread .pv{color:var(--ink);font-weight:600}
.rd .ib-row .rt{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.rd .ib-row .tm{font-size:11.5px;color:var(--muted);font-weight:700;white-space:nowrap}
.rd .ib-row .un{min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.rd .ib-row .offer{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:700;color:var(--ink-2);background:var(--bg);border-radius:6px;padding:2px 7px;margin-top:4px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rd .ib-row .star{border:0;background:none;font-size:16px;cursor:pointer;padding:0;line-height:1;filter:grayscale(1);opacity:.35}
.rd .ib-row .star.on{filter:none;opacity:1}
@media(max-width:639px){.rd .ib-row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:10px}}

.rd .ib-av{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff;flex:none;position:relative}
.rd .ib-av.on::after{content:"";position:absolute;right:0;bottom:0;width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid #fff}
@media(max-width:639px){.rd .ib-row .ib-av{width:38px;height:38px;font-size:13px}}

.rd .ib-role{display:inline-flex;align-items:center;font-size:10.5px;font-weight:800;padding:2px 7px;border-radius:99px;text-transform:uppercase;letter-spacing:.03em;background:var(--brand-50);color:var(--brand)}
.rd .ib-role.Tenant{background:var(--green-50);color:var(--green)}
.rd .ib-role.Agent{background:#f3eefe;color:var(--role-agent)}
.rd .ib-role.Investor,.rd .ib-role.Builder{background:var(--accent-50);color:#c2540a}
.rd .ib-role.Owner{background:#e7f5ee;color:#0f7a4f}
.rd .ib-vf{font-size:11px;color:var(--green);font-weight:800}
.rd .ib-stg{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:var(--c);white-space:nowrap}
.rd .ib-stg::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c)}

.rd .ib-more{display:block;width:100%;margin-top:8px;height:40px;border:1.5px dashed var(--line);border-radius:var(--r);background:#fff;font:inherit;font-size:13.5px;font-weight:700;color:var(--brand);cursor:pointer}
.rd .ib-more:hover{border-color:var(--brand)}
.rd .ib-empty{padding:18px;text-align:center;color:var(--muted);font-size:14px;background:#fff;border:1px dashed var(--line);border-radius:var(--r)}

/* compare offers table (requirements) */
.rd .ib-cmp{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.rd .ib-cmp table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:620px}
.rd .ib-cmp th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:9px 12px;background:var(--bg);font-weight:800;cursor:pointer;user-select:none;white-space:nowrap}
.rd .ib-cmp th[aria-sort]::after{content:" ↓";color:var(--brand)}
.rd .ib-cmp td{padding:9px 12px;border-top:1px solid var(--line-2);vertical-align:middle}
.rd .ib-cmp tr:hover td{background:#fbfcff}
.rd .ib-cmp .best td{background:#f2fbf5}
.rd .ib-fit{display:inline-flex;align-items:center;gap:6px;font-weight:800}
.rd .ib-fit i{display:inline-block;width:44px;height:6px;border-radius:9px;background:var(--line-2);overflow:hidden;position:relative}
.rd .ib-fit i::after{content:"";position:absolute;inset:0;width:var(--w);background:var(--green);border-radius:9px}

/* ---- chat dock (collapsible windows) ---- */
.rd .ib-dock{position:fixed;right:16px;bottom:0;z-index:70;display:flex;flex-direction:row-reverse;align-items:flex-end;gap:12px;pointer-events:none}
.rd .ib-win{pointer-events:auto;width:350px;height:min(540px,calc(100vh - var(--header-h) - 24px));background:#fff;border:1px solid #d5ddeb;border-bottom:0;border-radius:16px 16px 0 0;box-shadow:var(--sh-lg);display:flex;flex-direction:column;overflow:hidden;animation:ibUp .2s ease-out}
@keyframes ibUp{from{transform:translateY(24px);opacity:0}}
.rd .ib-win.min{height:auto}
.rd .ib-win.min .ib-wctx,.rd .ib-win.min .ib-wb,.rd .ib-win.min .ib-wl,.rd .ib-win.min .ib-wq,.rd .ib-win.min .ib-wf{display:none}
.rd .ib-wh{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px;background:var(--ink);color:#fff;cursor:pointer;flex:none}
.rd .ib-win.focus .ib-wh{background:var(--brand)}
.rd .ib-wh .ib-av{width:34px;height:34px;font-size:12px}
.rd .ib-wh .ib-av.on::after{border-color:var(--ink)}
.rd .ib-wh .who{flex:1;min-width:0;line-height:1.25}
.rd .ib-wh .who b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .ib-wh .who small{display:block;font-size:11.5px;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .ib-wh .un{background:var(--accent);color:#fff;font-size:11px;font-weight:800;border-radius:99px;padding:1px 7px}
.rd .ib-wh button{width:30px;height:30px;border-radius:8px;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:15px;cursor:pointer;display:grid;place-items:center;flex:none}
.rd .ib-wh button:hover{background:rgba(255,255,255,.25)}
.rd .ib-wh .back{display:none}
.rd .ib-wctx{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line-2);background:var(--bg);font-size:12.5px;flex:none}
.rd .ib-wctx .ib-pi{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:15px;line-height:1;flex:none}
.rd .ib-wctx .pt{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;color:var(--ink-2)}
.rd .ib-wctx select{height:28px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:12px;font-weight:800;padding:0 6px;background:#fff;color:var(--c);flex:none}
.rd .ib-wl{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid var(--line-2);font-size:13px;flex:none;flex-wrap:wrap}
.rd .ib-wl .unlock-link,.rd .ib-wl .unlocked-num{font-size:13px;padding:0}
.rd .ib-wl .call{display:inline-flex;gap:4px;align-items:center;height:28px;padding:0 10px;border-radius:8px;background:var(--green);color:#fff;font-weight:800;font-size:12.5px;text-decoration:none!important}
.rd .ib-wb{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:6px;background:#f4f6fa;overscroll-behavior:contain}
.rd .ib-msg{max-width:84%;padding:8px 11px;border-radius:14px;font-size:14px;line-height:1.45;background:#fff;border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px;word-wrap:break-word}
.rd .ib-msg.me{align-self:flex-end;background:var(--brand);color:#fff;border-color:var(--brand);border-bottom-left-radius:14px;border-bottom-right-radius:4px}
.rd .ib-msg time{display:block;font-size:10.5px;opacity:.6;margin-top:2px;text-align:right}
.rd .ib-msg.me time::after{content:" ✓✓"}
.rd .ib-sys{align-self:center;font-size:11.5px;font-weight:700;color:var(--muted);background:#e9edf4;border-radius:99px;padding:3px 10px;text-align:center;margin:4px 0}
.rd .ib-day{align-self:center;font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:6px 0 2px}
.rd .ib-card{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;margin:6px 0 2px;padding:7px;border-radius:10px;background:var(--bg);border:1px solid var(--line);color:var(--ink)}
.rd .ib-msg.me .ib-card{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25);color:#fff}
.rd .ib-card .ib-pi{width:54px;height:54px;border-radius:8px;display:grid;place-items:center;font-size:24px;line-height:1}
.rd .ib-card b{display:block;font-size:13.5px;line-height:1.3}
.rd .ib-card small{display:block;font-size:12px;opacity:.75;line-height:1.35}
.rd .ib-card .pp{font-weight:800;font-size:13.5px;color:var(--green)}
.rd .ib-msg.me .ib-card .pp{color:#fff}
.rd .ib-typing{align-self:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;gap:4px}
.rd .ib-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:ibDot 1s infinite}
.rd .ib-typing i:nth-child(2){animation-delay:.15s}.rd .ib-typing i:nth-child(3){animation-delay:.3s}
@keyframes ibDot{50%{transform:translateY(-4px);opacity:.4}}
.rd .ib-wq{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:8px 10px 0;flex:none;background:#fff}
.rd .ib-wq::-webkit-scrollbar{display:none}
.rd .ib-wq button{flex:none;height:30px;border-radius:99px;border:1px solid var(--brand-100);background:var(--brand-50);color:var(--brand);font:inherit;font-size:12.5px;font-weight:700;padding:0 10px;cursor:pointer}
.rd .ib-wq button:hover{background:var(--brand-100)}
.rd .ib-wf{display:flex;gap:8px;padding:8px 10px 10px;background:#fff;flex:none}
.rd .ib-wf input{flex:1;height:40px;border:1px solid var(--line);border-radius:99px;padding:0 14px;font:inherit;font-size:14px}
.rd .ib-wf input:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.rd .ib-wf button{width:40px;height:40px;border-radius:50%;border:0;background:var(--brand);color:#fff;font-size:16px;cursor:pointer;flex:none}

/* phones & small tablets: one full-screen chat, others become pills */
@media(max-width:899px){
  .rd .ib-dock{left:0;right:0;bottom:calc(66px + env(safe-area-inset-bottom));flex-direction:row;gap:6px;padding:0 10px;overflow-x:auto;scrollbar-width:none}
  .rd .ib-dock::-webkit-scrollbar{display:none}
  .rd .ib-win:not(.min){position:fixed;inset:0;width:auto;height:auto;border-radius:0;border:0;z-index:90;animation:ibSheet .22s ease-out}
  @keyframes ibSheet{from{transform:translateY(40px);opacity:.4}}
  .rd .ib-win:not(.min) .ib-wh{padding-top:calc(10px + env(safe-area-inset-top))}
  .rd .ib-win:not(.min) .ib-wh .back{display:grid}
  .rd .ib-win:not(.min) .ib-wh .mn{display:none}
  .rd .ib-win:not(.min) .ib-wf{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .rd .ib-win.min{width:auto;max-width:220px;flex:none;border-radius:99px;border:0;box-shadow:var(--sh)}
  .rd .ib-win.min .ib-wh{padding:5px 6px 5px 5px;border-radius:99px;gap:7px}
  .rd .ib-win.min .ib-wh .ib-av{width:28px;height:28px;font-size:11px}
  .rd .ib-win.min .ib-wh small,.rd .ib-win.min .ib-wh .mn{display:none}
  .rd .ib-win.min .ib-wh b{font-size:13px;max-width:110px}
  .rd .ib-win.min .ib-wh button{width:24px;height:24px;font-size:12px}
  .rd .ib-msg{max-width:88%}
}
body.ib-lock{overflow:hidden}

/* ---------- v20 additions: generic sections ---------- */
@media(max-width:639px){.rd .ib-tabs{grid-template-columns:1fr 1fr}}
.rd .ib-tab.static .tn b{font-size:20px}
.rd .ib-tab.static{border-style:dashed}
.rd .ib-tab.static[aria-selected=true]{border-style:solid}
.rd .ib-jump{flex:1 1 260px;min-width:200px;height:42px;border:1px solid var(--line);border-radius:var(--r);padding:0 10px;font:inherit;font-size:14px;font-weight:700;background:#fff;color:var(--ink)}
.rd .ib-jumpwrap{display:flex;align-items:center;gap:8px;flex:1 1 320px;min-width:0}
.rd .ib-jumpwrap label{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
@media(max-width:639px){.rd .ib-jumpwrap{flex-basis:100%}.rd .ib-jumpwrap label{display:none}}
.rd .ib-grouphead{display:flex;align-items:center;gap:10px;margin:18px 0 8px;font-size:13px;font-weight:800;color:var(--ink-2)}
.rd .ib-grouphead:first-child{margin-top:0}
.rd .ib-grouphead .lg{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#fff;font-size:11px;flex:none}
.rd .ib-grouphead small{font-weight:700;color:var(--muted)}
.rd .ib-grouphead::after{content:"";flex:1;height:1px;background:var(--line)}
.rd .ib-src{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;font-weight:800;padding:2px 7px;border-radius:99px;background:#fff7ed;color:#c2540a;border:1px solid #fed7aa}
.rd .ib-src.g{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.rd .ib-row .nm .who{border:0;background:none;padding:0;font:inherit;font-weight:800;color:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
.rd .ib-row .nm .who:hover{color:var(--brand);text-decoration-color:currentColor}
.rd .ib-prof{border:0;background:var(--bg);color:var(--ink-2);font:inherit;font-size:11.5px;font-weight:800;border-radius:6px;padding:3px 7px;cursor:pointer;white-space:nowrap}
.rd .ib-prof:hover{background:var(--brand-50);color:var(--brand)}
.rd .ib-static[hidden]{display:none}
.rd .ib-tabhint{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-left:4px solid var(--ws,var(--brand));border-radius:var(--r);padding:10px 12px;font-size:13.5px;color:var(--ink-2);margin-bottom:12px}
.rd .ib-tabhint b{color:var(--ink)}
.rd .ib-tabhint .btn{margin-left:auto;flex:none}
@media(max-width:639px){.rd .ib-tabhint{flex-wrap:wrap}.rd .ib-tabhint .btn{margin-left:0}}

/* profile drawer — check who is responding before chatting or unlocking */
.rd .ib-scrim{position:fixed;inset:0;background:rgba(15,26,46,.45);z-index:95;opacity:0;pointer-events:none;transition:opacity .2s}
.rd .ib-scrim.on{opacity:1;pointer-events:auto}
.rd .ib-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;z-index:96;box-shadow:var(--sh-lg);transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column}
.rd .ib-drawer.on{transform:none}
@media(max-width:639px){.rd .ib-drawer{top:auto;left:0;width:100%;max-height:92vh;border-radius:20px 20px 0 0;transform:translateY(105%)}}
.rd .ib-dh{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line-2)}
.rd .ib-dh b{flex:1;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.rd .ib-dh button{width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:15px}
.rd .ib-db{flex:1;overflow-y:auto;padding:16px;overscroll-behavior:contain}
.rd .ib-pfh{display:flex;gap:14px;align-items:center}
.rd .ib-pfh .ib-av{width:64px;height:64px;font-size:22px}
.rd .ib-pfh h3{margin:0;font-size:20px}
.rd .ib-pfh p{margin:2px 0 0;color:var(--muted);font-size:13.5px}
.rd .ib-trust{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.rd .ib-trust span{font-size:12px;font-weight:700;padding:4px 9px;border-radius:99px;background:var(--green-50);color:var(--green)}
.rd .ib-trust span.no{background:var(--bg);color:var(--muted)}
.rd .ib-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.rd .ib-kpis div{background:var(--bg);border-radius:12px;padding:10px;text-align:center}
.rd .ib-kpis b{display:block;font-size:18px;font-weight:800}
.rd .ib-kpis span{font-size:11.5px;color:var(--muted);font-weight:700}
.rd .ib-facts{display:grid;gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:12px 0}
.rd .ib-facts div{display:flex;justify-content:space-between;gap:12px;padding:9px 12px;font-size:13.5px;border-top:1px solid var(--line-2)}
.rd .ib-facts div:first-child{border-top:0}
.rd .ib-facts span{color:var(--muted)}
.rd .ib-facts b{text-align:right}
.rd .ib-tags{display:flex;flex-wrap:wrap;gap:6px}
.rd .ib-tags span{font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:99px;border:1px solid var(--line);background:#fff}
.rd .ib-safe{font-size:12.5px;color:var(--muted);background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:8px 10px;margin-top:12px}
.rd .ib-df{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line-2)}
.rd .ib-df .full{grid-column:1/-1}
.rd .ib-df .unlock-link,.rd .ib-df .unlocked-num{justify-content:center;border:1px dashed var(--line);border-radius:12px;min-height:44px}

/* =========================================================
   Laravel glue for the v25 pages (server-rendered versions of search.js / inbox.js / site.js widgets)
   ========================================================= */
.rd [hidden]{display:none!important}
/* sr pager as links */
.rd .sr-pg a{min-width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:800;color:var(--ink-2);display:grid;place-items:center;text-decoration:none;padding:0 6px}
.rd .sr-pg a[aria-current=page]{background:var(--brand);color:#fff;border-color:var(--brand)}
.rd .v-jobs .sr-pg a[aria-current=page]{background:#0f7a4f;border-color:#0f7a4f}.rd .v-candidates .sr-pg a[aria-current=page]{background:#6d28d9;border-color:#6d28d9}.rd .v-business .sr-pg a[aria-current=page]{background:#ea580c;border-color:#ea580c}.rd .v-hotels .sr-pg a[aria-current=page]{background:#0f766e;border-color:#0f766e}
.rd .sr-pg a[aria-disabled=true]{opacity:.4;pointer-events:none}
/* real photos / avatars in cards and the preview */
.rd .sr-card .ph img{width:100%;height:100%;object-fit:cover;display:block}
.rd .sr-card .ph .av img,.rd .sd-person .av img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.rd .sr-card .ph .av,.rd .sd-person .av{overflow:hidden}
.rd .sr-card .ph .ico{font-size:40px;line-height:1}
.rd .sd-hero img{width:100%;height:100%;object-fit:cover;display:block}
.rd .sd-hero .ico{display:grid;place-items:center;height:100%;font-size:110px;background:linear-gradient(135deg,#eef3fe,#fff2e8)}
.rd .v-business .sd-hero .ico{background:linear-gradient(135deg,#fff2e8,#fef3c7)}
.rd .v-hotels .sd-hero .ico{background:linear-gradient(135deg,#ccfbf1,#eef3fe)}
.rd .sr-card .ch{text-decoration:none}
.rd .sr-card{outline:0}.rd .sr-card:focus-visible{box-shadow:0 0 0 3px var(--brand-100)}
/* Laravel location box inside .sr-f */
.rd .sr-f .loc-in{position:relative}
.rd .sr-f input.gp-ok{border-color:#bfe8cf}
/* buttons that run site.js actions inside the preview */
.rd .sd-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.rd .sd-acts .btn{min-height:44px}
.rd .sd-contact .ul.is-busy,.rd .sd-chat.is-busy{opacity:.6;pointer-events:none}
.rd .sd-contact .call.b-opened span{display:none}
.rd .sd-contact .ok{margin-left:auto;font-size:12px;font-weight:800;color:var(--green);background:var(--green-50);border-radius:99px;padding:4px 10px}
.rd .sd-b .sd-more{display:inline-block;margin-top:10px;font-size:13px;font-weight:800}
.rd .sr-intro{color:rgba(255,255,255,.88);font-size:13px;margin:0 2px 10px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}
.rd .sr-intro a{color:#fff;font-weight:800}
.rd .sr-intro .rs{display:inline-flex;background:rgba(255,255,255,.14);border-radius:99px;padding:3px;gap:2px}
.rd .sr-intro .rs a{padding:5px 12px;border-radius:99px;font-size:12.5px;text-decoration:none;color:#fff;opacity:.85}
.rd .sr-intro .rs a.on{background:#fff;color:var(--ink);opacity:1}
.rd .sr-ann{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:linear-gradient(110deg,#fff7ed,#fff1e3);border:1px solid #fed7aa;border-radius:14px;padding:10px 12px;margin:0 0 12px;font-size:13.5px}
.rd .sr-ann .btn{margin-left:auto}
/* class names site.css also uses (.tg, .x, .b, .n, .who, .dot, .ok, .two, .free): start clean inside .rd */
.rd.rd :where(.tg,.x){all:revert;box-sizing:border-box}
/* the coloured band also covers the "I want to hire / I want a job" row and More filters */
.rd .sr-page:has(.sr-intro){background:linear-gradient(180deg,#0b3fb0 0,#1f5ce0 170px,var(--bg) 170px)}
.rd .sr-page.v-jobs:has(.sr-intro){background:linear-gradient(180deg,#0b5d3a 0,#0f7a4f 170px,var(--bg) 170px)}
.rd .sr-page.v-candidates:has(.sr-intro){background:linear-gradient(180deg,#3b1d6e 0,#6d28d9 170px,var(--bg) 170px)}
.rd .sr-page.v-business:has(.sr-intro){background:linear-gradient(180deg,#9a3412 0,#ea580c 170px,var(--bg) 170px)}
.rd .sr-page.v-hotels:has(.sr-intro){background:linear-gradient(180deg,#134e4a 0,#0f766e 170px,var(--bg) 170px)}
@media(max-width:999px){.rd .sr-page:has(.sr-intro){background-size:100% 100%}.rd .sr-intro{font-size:12px}}
.rd .sr-more{min-height:20px}
/* credits meter (site.css .cr-meter) */
.rd .cr-meter{display:block;height:8px;border-radius:99px;background:var(--line-2);overflow:hidden;margin:8px 0 4px}
.rd .cr-meter i{display:block;height:100%;background:linear-gradient(90deg,var(--accent),#ffb36b);border-radius:99px}
.rd .planbar .pb-plan>span{display:flex;flex-direction:column;line-height:1.25}

/* ===== Dashboard v19/v20 look on the existing panels ===== */
/* big tabs (.sub-tabs.ib-tabs keeps the old data-sub switching) */
.rd .sub-tabs.ib-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;border:0;overflow:visible;margin-bottom:14px;padding-top:8px}
.rd .sub-tabs.ib-tabs button.ib-tab{position:relative;display:flex;align-items:center;gap:12px;text-align:left;padding:14px;border-radius:var(--r-lg);border:1.5px solid var(--line);background:#fff;font:inherit;color:var(--ink);cursor:pointer;transition:.15s;margin:0}
.rd .sub-tabs.ib-tabs button.ib-tab:hover{border-color:var(--brand-100)}
.rd .sub-tabs.ib-tabs button.ib-tab[aria-selected=true]{border-color:var(--ws,var(--brand));background:var(--ws-bg,var(--brand-50));color:var(--ink);box-shadow:0 0 0 3px rgba(31,92,224,.08)}
.rd .sub-tabs .ib-tab .ti{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:#fff;border:1px solid var(--line);flex:none}
.rd .sub-tabs .ib-tab .tl{flex:1;min-width:0}
.rd .sub-tabs .ib-tab .tl b{display:block;font-size:15.5px;line-height:1.25}
.rd .sub-tabs .ib-tab .tl small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;margin-top:2px}
.rd .sub-tabs .ib-tab .tn{text-align:right;flex:none}
.rd .sub-tabs .ib-tab .tn b{display:block;font-size:24px;font-weight:800;line-height:1}
.rd .sub-tabs .ib-tab .tn small{font-size:10.5px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.rd .sub-tabs.ib-tabs em{position:absolute;top:-8px;right:12px;height:auto;min-width:0;background:var(--accent);color:#fff;font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px;font-style:normal}
.rd .sub-tabs.ib-tabs em::after{content:" new"}
.rd .sub-tabs.ib-tabs em.quiet{background:var(--ink);color:#fff}
.rd .sub-tabs.ib-tabs em.quiet::after{content:""}
@media(max-width:639px){
  .rd .sub-tabs.ib-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rd .sub-tabs.ib-tabs button.ib-tab{flex-direction:column;align-items:flex-start;gap:6px;padding:12px}
  .rd .sub-tabs .ib-tab .ti{width:36px;height:36px;font-size:18px}
  .rd .sub-tabs .ib-tab .tn{text-align:left;display:flex;align-items:baseline;gap:6px}
  .rd .sub-tabs .ib-tab .tn b{font-size:20px}
  .rd .sub-tabs .ib-tab .tl b{font-size:14px}
}
/* post cards (listing / requirement / job) styled as .ib-post */
.rd .item.ib-item{border-radius:var(--r-lg);margin-bottom:12px;transition:box-shadow .15s}
.rd .item.ib-item:has(details[open]){box-shadow:var(--sh);border-color:#d5ddeb}
.rd .item.ib-item .item-top{grid-template-columns:76px minmax(0,1fr);gap:14px;padding:14px}
@media(min-width:780px){.rd .item.ib-item .item-top{grid-template-columns:76px minmax(0,1fr) auto}}
.rd .item.ib-item .item-img{width:76px;height:76px;border-radius:14px;font-size:32px;overflow:hidden}
.rd .item.ib-item .item-img img{width:100%;height:100%;object-fit:cover}
.rd .item.ib-item .item-top h3{font-size:16px;font-weight:800;line-height:1.3}
.rd .item.ib-item .item-acts .btn{min-height:32px;font-size:13px;padding:0 10px}
.rd .item.ib-item .item-chat>summary{background:#fff;border-top:1px solid var(--line-2);font-size:14px}
.rd .item.ib-item .item-chat[open]>summary{background:#fbfcfe}
.rd .item.ib-item .item-chat>summary::after{content:"▼";width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--bg);font-size:11px}
.rd .item.ib-item .item-chat[open]>summary::after{background:var(--brand-50);color:var(--brand)}
.rd .item.ib-item .item-chat>summary .ib-stack{margin-left:auto}
.rd .item.ib-item .item-chat>summary .ib-stack+.you{margin-left:8px}
.rd .ib-stack .ib-av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:10.5px;border:2px solid #fff;margin-left:-8px}
.rd .ib-pulse .ib-stack .ib-av{border-color:#1c2f57}
.rd .ib-pulse a.btn{text-decoration:none}
/* overview: waiting list rows */
.rd .attn a{border-radius:14px}
.rd .filters .f-done{display:inline-flex}
@media(min-width:980px){.rd .filters .f-done{display:none}}
@media(max-width:999px){.rd .sr-page:has(.sr-intro) .sr-more button,.rd .sr-page:has(.sr-intro) .sr-more a{color:var(--ink-2)}.rd .sr-intro .rs a{padding:5px 10px}.rd .sr-ann{font-size:12.5px}}
@media(max-width:999px){.rd .sr-detail{z-index:1090}}
.rd .sd-contact>span:nth-child(2){min-width:0}
.rd .sd-contact small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.02em}
/* site.js popups (unlock / invite / login / plans) and toasts above the full-screen preview and the docked chat bar */
.ov{z-index:1150}
.toast{z-index:1300}
/* dashboard inbox engine: photos in post thumbs and avatars; static panels */
.rd .ib-thumb:has(>img){overflow:hidden}
.rd .ib-thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.rd .ib-av:has(>img){overflow:hidden}
.rd .ib-av img{width:100%;height:100%;object-fit:cover}
.rd .ib-static{margin-top:4px}
/* site.css global .pv (search preview panel) must not style the inbox row preview line */
.rd .ib-row .pv{position:static;display:block;background:none;border:0;border-radius:0;padding:0;gap:0;top:auto}
#ibHost{position:static}
/* above the sticky header (1030) and the phone bottom bar (1040); site.js popups (.ov 1150) stay on top */
#ibHost .ib-dock{z-index:1045}
#ibHost .ib-scrim{z-index:1100}
#ibHost .ib-drawer{z-index:1101}
@media(max-width:899px){#ibHost .ib-win:not(.min){z-index:1095}}
