/* Property groups — WhatsApp-style home (design C) + group chat, 390px-first */
.cg-home{padding:0 0 24px;max-width:640px;margin:0 auto}
.cg-search{padding:10px 12px 6px}
.cg-pill{display:flex;align-items:center;gap:8px;background:#f0f4f2;border:1.5px solid #e2e9e6;border-radius:999px;padding:0 12px}
.cg-pill svg{width:18px;height:18px;stroke:#64748b;fill:none;stroke-width:2;flex:none}
.cg-pill input[type=search]{flex:1;min-width:0;border:0;background:transparent;padding:10px 0;font:500 15px/1.3 system-ui,sans-serif;outline:0}
.cg-pill:focus-within{border-color:#00a884;background:#fff;box-shadow:0 0 0 3px rgba(0,168,132,.18)}
.cg-subline{display:flex;align-items:center;justify-content:space-between;padding:2px 14px 8px;color:#64748b;font-size:12px}
.cg-subline a{color:#00806a;font-weight:700;text-decoration:none}
 .cg-popular{display:flex;gap:10px;padding:4px 12px 10px;overflow:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .cg-popular::-webkit-scrollbar{display:none}
.cg-popular a{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;width:72px;gap:4px;text-decoration:none;color:#334155}
.cg-popular small{font:700 10.5px/1.15 system-ui,sans-serif;text-align:center;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cg-chips{display:flex;gap:8px;padding:0 12px 8px;overflow:auto;scrollbar-width:none}
.cg-chips::-webkit-scrollbar{display:none}
.cg-chip{flex:0 0 auto;border:1.5px solid #dfe7e3;background:#fff;color:#334155;border-radius:999px;padding:6px 12px;font:700 12.5px/1 system-ui,sans-serif;cursor:pointer}
.cg-chip.on{background:#00a884;border-color:#00a884;color:#fff}
.cg-list{display:flex;flex-direction:column}
.cg-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #eef2f0;text-decoration:none;color:#0f172a}
.cg-row:active{background:#f3faf7}
.cg-av{flex:0 0 52px;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 16px/1 Poppins,system-ui,sans-serif;color:#fff}
.cg-popular .cg-av{flex:0 0 54px;width:54px;height:54px}
.cg-av-sm{flex:0 0 48px;width:48px;height:48px;font-size:15px}
.cg-tx{flex:1;min-width:0}
.cg-tx b{display:block;font:700 15.5px/1.2 system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cg-m{display:block;color:#64748b;font:500 13.5px/1.3 system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.cg-m.unr{color:#0f172a;font-weight:600}
.cg-meta{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.cg-meta small{color:#94a3b8;font-size:11.5px}
.cg-meta small.unr{color:#00a884;font-weight:700}
.cg-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#00a884;color:#fff;font:700 11px/20px system-ui,sans-serif;text-align:center}
.cg-empty{color:#64748b;text-align:center;padding:28px 12px;font-size:14px}
.cg-more{text-align:center;padding:12px;color:#00a884;font:700 13px system-ui,sans-serif}

/* group chat */
.cg-chat-page{display:flex;flex-direction:column;min-height:calc(100dvh - var(--fbt-h,118px) - 84px);max-width:640px;margin:0 auto}
.cg-hd{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #eef2f0;background:#fff;flex:none}
.cg-back{font-size:26px;color:#00806a;text-decoration:none;padding:0 4px;font-weight:700;line-height:1}
.cg-hd-t{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.cg-hd-t b{font:700 16px/1.2 system-ui,sans-serif;color:#0f172a}
.cg-hd-t small{color:#64748b;font-size:12px}
.cg-hd-t a{color:#00806a;font-weight:700;text-decoration:none}
.cg-thread{flex:1;min-height:40vh;overflow:auto;background:#efeae2;padding:12px 10px 14px;display:flex;flex-direction:column;gap:8px}
.cg-thread .wa-m{max-width:92%;align-self:flex-start;display:flex;gap:6px;align-items:flex-end}
.cg-thread .wa-m.o{align-self:flex-end;flex-direction:row-reverse}
.cg-mav{flex:0 0 40px;width:40px;height:40px;border-radius:50%;object-fit:cover;background:#d1d5db;display:block}
.cg-thread .wa-b{background:#fff;border-radius:12px;padding:7px 10px;box-shadow:0 1px 1px rgba(0,0,0,.08);min-width:0;max-width:calc(100% - 46px)}
.cg-thread .wa-m.o .wa-b{background:#d9fdd3}
.cg-who-row{display:flex;align-items:center;gap:8px;margin:0 0 3px;min-width:0}
.cg-who{display:block;font:700 16px/1.2 system-ui,sans-serif;color:#00806a;margin:0;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cg-txt{font-size:14.5px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}
.cg-quote{background:rgba(0,0,0,.06);border-left:4px solid #00a884;border-radius:6px;padding:5px 8px;margin:0 0 6px;cursor:pointer}
.cg-thread .wa-m.o .cg-quote{border-left-color:#25D366}
.cg-quote b{display:block;font:700 12px/1.2 system-ui,sans-serif;color:#00806a;margin:0 0 1px}
.cg-quote span{display:block;font:400 12.5px/1.3 system-ui,sans-serif;color:#54656f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cg-reply-btn{background:none;border:0;color:#00806a;font:700 11px/1 system-ui,sans-serif;padding:0 8px 0 0;cursor:pointer}
.cg-img{display:block;margin:6px 0}
.cg-img img{max-width:220px;max-height:220px;border-radius:8px;display:block}
.cg-lid{display:inline-block;margin-top:6px;color:#00806a;font:700 13px/1 system-ui,sans-serif;text-decoration:none}
.cg-contact{flex:none;display:inline-block;margin:0;background:#00a884;color:#fff!important;text-decoration:none;font:700 11px/1 system-ui,sans-serif;padding:4px 9px;border-radius:999px;border:0;cursor:pointer}
.cg-tm{display:block;color:#94a3b8;font-size:11px;margin-top:4px;text-align:right}
.cg-ticks{color:#53bdeb;letter-spacing:-1px;margin-left:2px}
.cg-send{display:flex;gap:8px;align-items:flex-end;margin:0;padding:8px 10px;background:#f0f2f5;flex:none}
.cg-send textarea{flex:1;margin:0;border:0;border-radius:22px;padding:10px 14px;font:500 15px/1.3 system-ui,sans-serif;resize:none;min-height:44px;max-height:120px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.05)}
.cg-send textarea:focus{outline:0}
.cg-go{width:44px;height:44px;border:0;border-radius:50%;background:#00a884;color:#fff;font-size:18px;flex:none;cursor:pointer;display:grid;place-items:center;text-decoration:none;line-height:1}
.cg-go[disabled]{opacity:.6}
.cg-send-guest{align-items:center}
.cg-guest-box{flex:1;background:#fff;border-radius:22px;padding:12px 14px;color:#94a3b8;font-size:15px;text-decoration:none;box-shadow:0 1px 1px rgba(0,0,0,.05)}
.cg-guest-login{width:auto;padding:0 14px;border-radius:22px;font:700 13px/44px Poppins,system-ui,sans-serif}
.cg-btn{background:#00a884;color:#fff;border:0;border-radius:999px;padding:11px 18px;font:700 14px/1 Poppins,system-ui,sans-serif;cursor:pointer}
.cg-btn[disabled]{opacity:.6}
.cg-btn-wide{width:100%;margin-top:8px}
.cg-loginneed{text-align:center;padding:10px;font-weight:700}
.cg-loginneed a{color:#00806a;text-decoration:none}
.fbsdlg .cg-pop{padding:4px 2px 8px;overflow:auto;max-height:calc(78vh - 70px);display:block}
.cg-pop label{display:block;font:700 12px/1.2 system-ui,sans-serif;color:#075E54;text-transform:uppercase;margin:0 0 10px;letter-spacing:.02em}
.cg-pop input,.cg-pop select,.cg-pop textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1.5px solid #dfe7e3;border-radius:12px;padding:10px 12px;font:500 15px/1.3 system-ui,sans-serif;background:#fff;text-transform:none;letter-spacing:0;color:#0f172a;font-weight:500}
.cg-pop-err{color:#b91c1c;font:600 13px/1.3 system-ui,sans-serif;margin:0 0 8px}
@media (min-width:640px){
  .cg-home{padding-bottom:32px}
}

/* Find/Post sheets stay hidden unless explicitly opened. */
#dlgFindProp,#dlgPostProp{display:none}
#dlgFindProp[hidden],#dlgPostProp[hidden]{display:none!important}
#dlgFindProp.open,#dlgPostProp.open{display:flex}

/* Round skyline thumbs in group list / popular / chat header */
.cg-av{overflow:hidden;padding:0}
.cg-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}

.cg-reply-bar{display:flex;align-items:center;gap:8px;margin:0 10px;padding:8px 10px;background:#fff;border-left:4px solid #00a884;border-radius:8px 8px 0 0;box-shadow:0 1px 0 #e2e9e6}
.cg-reply-bar[hidden]{display:none!important}
.cg-reply-bar-in{flex:1;min-width:0}
.cg-reply-bar-in b{display:block;font:700 12px/1.2 system-ui,sans-serif;color:#00806a}
.cg-reply-bar-in span{display:block;font:400 12px/1.3 system-ui,sans-serif;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cgReplyClear{border:0;background:transparent;font-size:22px;color:#64748b;cursor:pointer;line-height:1;padding:0 4px}
#cgContactDlg{position:fixed;inset:0;z-index:90;background:rgba(17,24,39,.45);display:flex;align-items:flex-end;justify-content:center;padding:0}
#cgContactDlg[hidden]{display:none!important}
.cg-ct-card{position:relative;background:#fff;width:100%;max-width:640px;border-radius:16px 16px 0 0;padding:18px 16px 28px;box-shadow:0 -8px 32px rgba(0,0,0,.18)}
.cg-ct-card h3{margin:0 32px 12px 0;font:700 18px/1.2 Poppins,system-ui,sans-serif;color:#0f172a}
.cg-ct-x{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:26px;line-height:1;color:#64748b;cursor:pointer;padding:4px 8px}
.cg-ct-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eef2f0;font:500 14px/1.3 system-ui,sans-serif}
.cg-ct-row b{color:#64748b;font-weight:600}
.cg-ct-row span{color:#0f172a;font-weight:700;text-align:right;word-break:break-word}
.cg-ct-row.locked span{color:#94a3b8;letter-spacing:.18em;font-weight:700}
.cg-ct-cta{display:block;width:100%;box-sizing:border-box;margin-top:14px;background:#00a884;color:#fff!important;text-align:center;text-decoration:none;border:0;border-radius:12px;padding:13px 12px;font:700 15px/1 Poppins,system-ui,sans-serif;cursor:pointer}
.cg-ct-cta.ghost{background:#fff;color:#00806a!important;border:1.5px solid #00a884;margin-top:8px}
.cg-ct-note{color:#64748b;font:500 13px/1.4 system-ui,sans-serif;margin:4px 0 0}
