.htb{position:fixed;right:20px;bottom:92px;z-index:10000;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 14px 40px #0f172a38;color:#1f2937;font-size:14px;text-align:left;transform-origin:calc(100% - 30px) calc(100% + 40px);animation:htbMo .2s ease-out}.htb[hidden]{display:none}@keyframes htbMo{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}.htb-head{flex:none;display:flex;align-items:center;gap:8px;padding:10px 10px 10px 14px;border-bottom:1px solid #eef0f3}.htb-back,.htb-x{flex:none;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:#7f7f7f1a;color:inherit;font-size:14px;cursor:pointer;padding:0}.htb-back[hidden]{display:none}.htb-x{font-size:20px;line-height:1}.htb-tt{flex:1;min-width:0;display:flex;flex-direction:column}.htb-ten{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.htb-phu{font-size:12px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.htb-phu.on{color:#16a34a}.htb-full{flex:none;width:32px;height:32px;box-sizing:border-box;display:grid;place-items:center;border:1px solid #e5e7eb;border-radius:50%;color:#374151!important;font-size:13px;text-decoration:none!important}.htb-of{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.htb-of button{display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 12px;border-radius:9px;font-size:13px;font-weight:700;cursor:pointer}.htb-of .y{background:#16a34a;border:0;color:#fff}.htb-of .n{background:transparent;border:1.5px solid #dfe3ea;color:#5b6170}.htb-of button:disabled{opacity:.6;cursor:not-allowed}.htb-of .hoi{flex-basis:100%;font-size:13px;font-weight:600}.night-mode .htb-of .n{border-color:#ffffff26;color:#c9cfdb}.htb-full:hover{background:#f6f8fb}.htb-v{flex:1;min-height:0;display:flex;flex-direction:column}.htb-v[hidden]{display:none}.htb-list{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.htb-tk{display:block;width:100%;padding:11px 12px;border:1px solid #e5e7eb;border-radius:12px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.htb-tk:hover{background:#f6f8fb}.htb-tk.is-moi{border-color:#fe2c5573}.htb-tk .d1{display:flex;align-items:flex-start;gap:8px}.htb-tk .cd{flex:1;min-width:0;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.htb-tk .d2{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12px;color:#6b7280}.htb-tk .cham{width:7px;height:7px;border-radius:50%;background:#fe2c55}.htb-tt2{flex:none;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap;color:#0e9aa0;background:#25c2c81f}.htb-tt2.xl{color:#d98a00;background:#ffb02024}.htb-tt2.dg{color:#00a761;background:#3ef2a624}.htb-trong{margin:auto;color:#6b7280;text-align:center;padding:20px}.htb-trong a{font-weight:600}.htb-day{flex:none;padding:10px 12px 12px;border-top:1px solid #eef0f3}.htb-btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;border:0;border-radius:10px;background:var(--color-sky,#0ea5e9);color:#fff;font-weight:700;font-size:14px;cursor:pointer}.htb-btn:disabled{opacity:.6;cursor:not-allowed}.htb-msgs{flex:1;overflow-y:auto;padding:12px;background:#f5f6fb}.htb-m{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:10px}.htb-m.u{align-items:flex-end}.htb-m label{font-size:11px;color:#6b7280;margin:0 0 3px}.htb-m .nd{max-width:82%;padding:8px 11px;border-radius:4px 12px 12px;background:#fff;border:1px solid #e5e7eb;line-height:1.5;overflow-wrap:anywhere}.htb-m.u .nd{border:0;border-radius:12px 4px 12px 12px;background:linear-gradient(135deg,#fe2c55,#ff5c7a);color:#fff}.htb-m.auto .nd{border-style:dashed;color:#6b7280}.htb-m .tg{font-size:10.5px;color:#9ca3af;margin-top:3px}.htb .htb-msg{margin:8px 12px 0!important}.htb-tao .htb-msg{margin:10px 0 0!important}.htb-nhap{flex:none;display:flex;gap:8px;align-items:flex-end;padding:10px 12px 12px;border-top:1px solid #eef0f3}.htb-nhap textarea{flex:1;min-height:40px;max-height:110px;resize:none;box-sizing:border-box;padding:9px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:inherit;font:inherit;line-height:1.4}.htb-gui{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:#fe2c55;color:#fff;cursor:pointer}.htb-form{flex:1;overflow-y:auto;padding:14px}.htb-form label{display:block;margin:0 0 6px;font-weight:600}.htb-form input,.htb-form textarea{display:block;width:100%;box-sizing:border-box;margin:0 0 12px;padding:9px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:inherit;font:inherit;resize:vertical}.htb-form .htb-btn{margin-top:12px}.night-mode .htb{background:#161922;border-color:var(--border-dark,#2a2f3a);color:#e5e7eb}.night-mode .htb-head,.night-mode .htb-day,.night-mode .htb-nhap{border-color:#ffffff14}.night-mode .htb-full,.night-mode .htb-tk,.night-mode .htb-m .nd,.night-mode .htb-nhap textarea,.night-mode .htb-form input,.night-mode .htb-form textarea{border-color:#ffffff1a;background:#1d2130;color:#e5e7eb!important}.night-mode .htb-full:hover,.night-mode .htb-tk:hover{background:#ffffff0d}.night-mode .htb-msgs{background:#0f1220}@media(max-width:480px){.htb{right:16px;bottom:88px;height:calc(100vh - 170px);max-height:none}}@media(prefers-reduced-motion:reduce){.htb{animation:none}}
