/* v1.9 · thẻ thông tin người nhắn (sender190.js) */
.zgs-msg-row>.zgs-av[data-sp19p-ready]{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.zgs-msg-row>.zgs-av[data-sp19p-ready]:hover{transform:scale(1.08);box-shadow:0 0 0 2px #bfd6ff}
.zgs-msg-row>.zgs-av[data-sp19p-ready]:focus-visible{outline:2px solid #1565ff;outline-offset:2px}
.sp19p-back{position:fixed;inset:0;z-index:2147482000;background:rgba(15,23,42,.38);display:grid;place-items:center;padding:16px;animation:sp19pFade .12s ease}
@keyframes sp19pFade{from{opacity:0}to{opacity:1}}
.sp19p{position:relative;width:min(380px,100%);max-height:min(86vh,680px);overflow:auto;background:#fff;color:#1f2937;border-radius:18px;box-shadow:0 24px 60px rgba(15,23,42,.28);outline:none;padding-bottom:12px}
.sp19p .sp19p-x{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;min-width:0;min-height:0;margin:0;padding:0;line-height:0;font-size:0;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#334155;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.14)}
.sp19p .sp19p-x svg{display:block;width:14px;height:14px;margin:0}
.sp19p .sp19p-x:hover{background:#fff;color:#0f172a}
.sp19p-cover{height:92px;background:linear-gradient(135deg,#dbeafe,#e0e7ff) center/cover no-repeat;border-radius:18px 18px 0 0}
.sp19p-head{display:flex;gap:12px;align-items:flex-start;padding:0 18px;margin-top:-36px}
.sp19p>.sp19p-head:first-of-type:not(:nth-child(3)){margin-top:0;padding-top:20px;align-items:center}
.sp19p>.sp19p-head:first-of-type:not(:nth-child(3)) .sp19p-id{padding-top:0}
.sp19p-av{flex:none;width:72px;height:72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#e8edf5;border:3px solid #fff;font-size:28px;font-weight:800;color:#456;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.sp19p-av img{width:100%;height:100%;object-fit:cover;display:block}
.sp19p-id{min-width:0;padding:44px 26px 0 0}
.sp19p-id h3{margin:0;font-size:18px;line-height:1.25;word-break:break-word}
.sp19p-sub{font-size:12px;color:#64748b;margin-top:2px}
.sp19p-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.sp19p-badge{font-style:normal;font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:999px;background:#eef2f6;color:#475569}
.sp19r-owner{background:#fff4d6;color:#a16207}.sp19r-deputy{background:#e7f0ff;color:#1d4ed8}.sp19r-left{background:#fde8e8;color:#b42318}.sp19r-friend{background:#e8f7ee;color:#15803d}
.sp19p-status{margin:12px 18px 0;padding:8px 12px;border-radius:10px;background:#f8fafc;color:#475569;font-size:13px;font-style:italic}
.sp19p-rows{margin:12px 18px 0;border-top:1px solid #eef1f5}
.sp19p-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eef1f5;font-size:13px}
.sp19p-row>span{flex:none;width:112px;color:#64748b}
.sp19p-row>b{flex:1;min-width:0;font-weight:600;word-break:break-word}
.sp19p-row>button{flex:none}
.sp19p-note{margin:10px 18px 0;font-size:12px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:8px 10px}
.sp19p-sec{margin:14px 18px 0}
.sp19p-sec h4{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.3px;color:#64748b}
.sp19p-conv{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:8px 10px;margin-bottom:4px;border:1px solid #e5e9ef;border-radius:10px;background:#fff;cursor:pointer;font:inherit;color:inherit}
.sp19p-conv:hover{background:#f3f7ff;border-color:#cfe0ff}
.sp19p-conv b{flex:1;min-width:0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp19p-conv small{flex:none;font-size:11px;color:#64748b}
.sp19p-direct{border-color:#cfe0ff;background:#f5f9ff}
.sp19p-more{font-size:12px;color:#64748b;padding:2px 2px 0}
.sp19p-foot{display:flex;justify-content:flex-end;gap:8px;margin:12px 18px 0}
html.m18 .sp19p-back{place-items:end center;padding:0}
html.m18 .sp19p{width:100%;max-height:88vh;border-radius:18px 18px 0 0;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
html[data-zsc-scheme="dark"] .sp19p{background:#111827;color:#e5e7eb}
html[data-zsc-scheme="dark"] :is(.sp19p-row,.sp19p-rows){border-color:#1f2937}
html[data-zsc-scheme="dark"] .sp19p-status{background:#1f2937;color:#cbd5e1}
html[data-zsc-scheme="dark"] .sp19p-conv{background:#111827;border-color:#334155}
html[data-zsc-scheme="dark"] .sp19p-conv:hover,html[data-zsc-scheme="dark"] .sp19p-direct{background:#172036;border-color:#1e3a8a}
html[data-zsc-scheme="dark"] .sp19p-av{border-color:#111827;background:#1f2937;color:#cbd5e1}
html[data-zsc-scheme="dark"] .sp19p-x{background:rgba(31,41,55,.9);color:#e5e7eb}
html[data-zsc-scheme="dark"] .sp19p-note{background:#2a2111;border-color:#78350f;color:#fcd34d}
/* SĐT liên hệ do nhân viên nhập (ai nhập, lúc nào: chỉ trong Nhật ký hoạt động) · Nhân viên ZSC của Zalo này */
.sp19p-none{color:#94a3b8!important;font-weight:400!important}
.sp19p-cpform{display:flex;gap:6px;flex:1;min-width:0}
.sp19p-cpform input,.sp19p-cpform select{flex:1;min-width:0;padding:7px 10px;border:1px solid #93c5fd;border-radius:8px;font:inherit;font-size:13px;outline:2px solid #dbeafe;background:#fff;color:inherit}
.sp19p-cpform select{padding:6px 8px}
.sp19p-cphint{font-size:11px;color:#64748b;padding:4px 0 6px 122px}
.sp19p .sp19p-cpedit{min-width:32px}
html.m18 .sp19p-cphint{padding-left:0}
html[data-zsc-scheme="dark"] :is(.sp19p-cpform input,.sp19p-cpform select){background:#0b1220;border-color:#1e40af;outline-color:#1e3a8a}
html[data-zsc-scheme="dark"] .sp19p-none{color:#64748b!important}
