.pc-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:600}
.pc-dlg{width:min(480px,calc(100% - 20px));max-height:92vh;padding:0;border:0;border-radius:18px;background:#fff;color:#1f2a24;box-shadow:0 20px 60px #0006;overflow:hidden}
.pc-dlg::backdrop{background:#0f172a99}
.pc-in{display:flex;flex-direction:column;max-height:92vh;padding:16px}
.pc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.pc-head h2{font-size:17px;line-height:1.3;color:var(--green,#1b5e3f)}
.pc-head small{display:block;margin-top:2px;color:var(--muted,#64748b);font-size:12.5px;overflow-wrap:anywhere}
.pc-x{flex:none;width:36px;height:36px;border:1px solid var(--line,#dbe4d6);border-radius:10px;background:#fff;font-size:15px;cursor:pointer}
.pc-msgs{display:flex;flex-direction:column;gap:6px;height:min(380px,52vh);overflow-y:auto;padding:12px;border:1px solid var(--line,#dbe4d6);border-radius:12px;background:#f8faf7}
.pc-empty{margin:auto;color:var(--muted,#64748b);font-size:13.5px;text-align:center}
.pc-day{align-self:center;margin:4px 0;padding:2px 10px;border-radius:999px;background:#e5ebe2;color:var(--muted,#64748b);font-size:11px}
.pc-bub{max-width:82%;padding:8px 12px;border-radius:16px;font-size:14.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.pc-bub.them{align-self:flex-start;background:#fff;border:1px solid var(--line,#dbe4d6);border-bottom-left-radius:4px}
.pc-bub.me{align-self:flex-end;background:var(--green,#1b5e3f);color:#fff;border-bottom-right-radius:4px}
.pc-bub em{display:block;margin-bottom:4px;padding-bottom:4px;border-bottom:1px dashed currentColor;font-size:11.5px;font-style:normal;opacity:.75}
.pc-bub small{display:block;margin-top:3px;font-size:10.5px;opacity:.7;text-align:right}
.pc-err{margin:6px 0 0;color:#b91c1c;font-size:13px}
.pc-err[hidden]{display:none}
.pc-form{display:flex;gap:8px;align-items:flex-end;margin-top:10px}
.pc-form textarea{flex:1;min-height:42px;max-height:120px;resize:none;padding:10px 12px;border:1px solid var(--line,#dbe4d6);border-radius:12px;font:inherit;font-size:15px;line-height:1.4}
.pc-note{display:block;margin-top:8px;color:var(--muted,#64748b);font-size:12px;line-height:1.5}
.pc-login{padding:18px 4px;text-align:center}
.pc-login p{margin-bottom:12px}
.pc-open{display:inline-flex;align-items:center;gap:6px}

.pc-card{display:flex;gap:10px;align-items:center;min-width:190px;padding:6px;border-radius:12px;background:#fff;color:#1f2a24;text-decoration:none;border:1px solid var(--line,#dbe4d6)}
.pc-card img{flex:none;width:52px;height:52px;border-radius:8px;object-fit:cover;background:#eee}
.pc-card-t{min-width:0;display:flex;flex-direction:column}
.pc-card-t b{font-size:13.5px;font-weight:600;overflow-wrap:anywhere}
.pc-card-t small{display:block;margin:0;font-size:13px;color:var(--green,#1b5e3f);font-weight:600;text-align:left;opacity:1}
