/* screens/chat.js: Chat, 1440 x 935 (from the app.dev capture) */
.ap-chat{background:#fff}
.ch-side{position:absolute;left:0;top:68px;bottom:0;width:418px;border-right:1px solid #DEDDD2;background:#fff}
.ch-side header{display:flex;align-items:center;gap:16px;height:64px;padding:0 20px}
.ch-side header b{flex:1;font-size:16px;font-weight:600}
.ch-side header svg{width:19px;height:19px;color:#4a4f48}
.ch-q{display:flex;align-items:center;gap:9px;height:36px;margin:0 12px 10px;padding:0 12px;border:1px solid #DEDDD2;border-radius:12px;font-size:13px;color:#8a8f86}
.ch-q svg{width:15px;height:15px;color:#71766D}
.ch-lk{display:flex;align-items:center;gap:10px;height:30px;padding:0 21px;font-size:13.5px;color:#62675f}
.ch-lk svg{width:16px;height:16px}
.ch-lk em{margin-left:auto;font-style:normal;font-size:12px;font-weight:600;color:#171A17}
.ch-list{margin-top:10px;padding:8px 8px 0;border-top:1px solid #DEDDD2}
.ch-c{display:flex;align-items:center;gap:12px;height:57px;padding:0 12px;border-radius:10px}
.ch-c.on{background:#E3EAE4}
.ch-ti,.ch-av{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:9px;background:#F0EFE9;color:#62675f}
.ch-ti svg{width:18px;height:18px}
.ch-c span{flex:1;min-width:0}
.ch-c b{display:block;font-size:14px;font-weight:500}
.ch-c small{display:block;margin-top:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:#71766D}
.ch-c.un b{font-weight:700}
.ch-c.un small{color:#171A17}
.ch-c em{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#41694F;color:#fff;font-style:normal;font-size:11px;font-weight:600}
.ch-main{position:absolute;left:419px;right:0;top:68px;bottom:0}
.ch-main>header{display:flex;align-items:baseline;gap:12px;height:64px;padding:22px 24px 0;border-bottom:1px solid #DEDDD2}
.ch-main>header b{font-size:17px;font-weight:700}
.ch-main>header small{font-size:13px;color:#71766D}
.ch-hi{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;color:#4a4f48}
.ch-hi svg{width:17px;height:17px}
.ch-hi svg:nth-child(1){margin-right:14px}
.ch-hi svg:nth-child(4){width:14px;height:14px}
.ch-hi svg:last-child{margin-left:14px}
.ch-day{display:flex;justify-content:center;margin:18px 0 6px;position:relative}
.ch-day::before{content:"";position:absolute;left:24px;right:24px;top:50%;height:1px;background:#EAE9E1}
.ch-day span{position:relative;padding:3px 12px;border:1px solid #DEDDD2;border-radius:12px;background:#fff;font-size:11.5px;font-weight:500}
.ch-m{display:flex;gap:13px;padding:10px 24px}
.ch-mav{width:38px;height:38px}
.ch-mh{display:flex;align-items:center;gap:8px}
.ch-mh b{font-size:14px;font-weight:600}
.ch-role{padding:1px 6px;border-radius:4px;background:#E3EAE4;color:#41694F;font-size:11px;font-weight:500}
.ch-mh small{font-size:12px;color:#71766D}
.ch-mb{margin-top:3px;font-size:14px;line-height:21px;color:#2d322c}
.ch-re{display:flex;gap:6px;margin-top:6px}
.ch-re span{padding:2px 9px;border:1px solid #DEDDD2;border-radius:12px;background:#F7F6F1;font-size:12.5px}
.ch-poll{width:430px;margin-top:8px;padding:14px;border:1px solid #DEDDD2;border-radius:12px;background:#fff}
.ch-pq{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;font-weight:600}
.ch-pq svg{width:16px;height:16px;color:#4F8078}
.ch-pq small{margin-left:auto;font-size:12px;font-weight:400;color:#71766D}
.ch-po{position:relative;display:flex;justify-content:space-between;align-items:center;height:34px;margin-top:6px;padding:0 12px;border:1px solid #E3E2DA;border-radius:8px;overflow:hidden;font-size:13px}
.ch-po i{position:absolute;left:0;top:0;bottom:0;background:#EEF1EE}
.ch-po.on{border-color:#4F8078}
.ch-po.on i{background:#DDE3E2}
.ch-po span,.ch-po b{position:relative}
.ch-po b{font-weight:600}
.ch-comp{position:absolute;left:14px;right:14px;bottom:14px;height:128px;border:1px solid #DEDDD2;border-radius:14px;background:#fff}
.ch-tb{display:flex;gap:18px;height:40px;align-items:center;padding:0 16px;border-bottom:1px solid #EAE9E1;font:600 14px/1 Geist,sans-serif;color:#62675f}
.ch-tb i{font-family:Georgia,serif}
.ch-ph{padding:12px 16px;font-size:14px;color:#9a9f96}
.ch-ft{position:absolute;left:14px;right:12px;bottom:10px;display:flex;align-items:center;gap:14px;color:#62675f}
.ch-ft svg{width:19px;height:19px}
.ch-send{margin-left:auto;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#41694F;color:#fff}
.ch-send svg{width:17px;height:17px}

/* ---- the page's moment cards (on the page, not in the screen) ---- */
.ch-gbar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 8px}
.ch-gbar p{padding:9px 11px;border-radius:9px;background:#F7F6F1}
.ch-gbar b{display:block;font:500 22px/1 Geist,sans-serif;letter-spacing:-.02em}
.ch-gbar span{font-size:12px;color:#71766D}
.ch-gr{display:flex;align-items:center;gap:10px;height:38px;border-bottom:1px solid #F0EFE9;font-size:13.5px}
.ch-gr:last-child{border-bottom:0}
.ch-gr .pt-av{width:26px;height:26px;border-radius:7px;font-size:9.5px}
.ch-gr span{flex:1}
.ch-gr em{font-style:normal;font-size:12px;font-weight:500}
.ch-gr em.ok{color:#41694F}.ch-gr em.dl{color:#436381}.ch-gr em.no{color:#8A5F1C}
.ch-plq{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.ch-plq svg{width:18px;height:18px;color:#4F8078}
.ch-plq b{font-size:16px;font-weight:600}
.ch-plq small{margin-left:auto;font-size:12px;color:#71766D}
.ch-plo{position:relative;display:flex;justify-content:space-between;align-items:center;height:40px;margin-top:7px;padding:0 13px;border:1px solid #E3E2DA;border-radius:9px;overflow:hidden;font-size:14px}
.ch-plo i{position:absolute;left:0;top:0;bottom:0;width:var(--w);background:#EEF1EE;transition:width 1.2s cubic-bezier(.2,.7,.2,1)}
.ch-plo.on{border-color:#4F8078}.ch-plo.on i{background:#DDE3E2}
.ch-plo span,.ch-plo b{position:relative}
.ch-plo b{font-weight:600}
.fx-m:not(.in) .ch-plo i{width:0}
.ch-pladd{margin-top:10px;font-size:13px;font-weight:500;color:#4F8078}
.ch-plset{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid #ECEBE3}
.ch-plset span{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 9px;border-radius:7px;background:#F7F6F1;font-size:12px;color:#4d534b}
.ch-plset svg{width:13px;height:13px;color:#4F8078}
.ch-tlh{margin-bottom:6px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#8a8f86}
.ch-lr{display:flex;align-items:center;gap:11px;padding:9px 8px;border-radius:9px}
.ch-lr:first-of-type{background:#F3F7F4}
.ch-lt{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:9px;background:#F0EFE9;color:#62675f}
.ch-lt svg{width:17px;height:17px}
.ch-lt.done{background:#E3EAE4;color:#41694F}
.ch-lr span{flex:1;min-width:0}
.ch-lr b{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
.ch-lr small{display:block;margin-top:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:#71766D}
.ch-lr em{padding:2px 6px;border-radius:4px;font-style:normal;font-size:10.5px;font-weight:500}
.ch-lr em.pri{background:#F5E4E2;color:#AA4038}
.ch-lr em.cm{background:#E3EAE4;color:#41694F}
.ch-tlm{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #ECEBE3;font-size:12px;color:#71766D}
.ch-tlm span{margin-right:auto}
.ch-tlm b{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:8px;border:1px solid #DEDDD2;font-weight:500;color:#171A17}
.ch-tlm svg{width:13px;height:13px}
.ch-draft{padding:12px 14px;border:1px solid #DCDBD2;border-radius:11px;font-size:14px;line-height:1.45}
.ch-sl{margin:14px 0 6px;font-size:12.5px;font-weight:600;color:#3d433c}
.ch-opt{display:flex;align-items:center;justify-content:space-between;height:38px;padding:0 12px;border-radius:9px;font-size:13.5px}
.ch-opt small{font-size:12.5px;color:#71766D}
.ch-opt.on{background:#DDE3E2;font-weight:500}
.ch-sch .pt-done svg{width:14px;height:14px}
.ch-c .ap-av{flex:none}
/* phones: the card's footer buttons wrap instead of widening the card */
@media (max-width:520px){.ch-tlm,.ch-lr b{flex-wrap:wrap}.ch-lr>span{min-width:0}}
