/* HR 21.53: ESS/MSS agent only; HR/Admin styling untouched */
.p53-launch{position:fixed;right:25px;bottom:23px;z-index:45;border:0;border-radius:42px;background:linear-gradient(135deg,#235de5,#248de7);box-shadow:0 12px 34px #1c4fa350;color:white;padding:14px 20px;display:flex;gap:10px;align-items:center;font-weight:750;cursor:pointer}
.p53-overlay{position:fixed;inset:0;z-index:150;background:#091d365c;display:flex;align-items:flex-end;justify-content:flex-end;padding:20px}
.p53-panel{width:min(490px,100%);height:min(720px,calc(100dvh - 35px));display:flex;flex-direction:column;border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 25px 60px #081c434d;font-family:inherit;color:#19365d}
.p53-bar{display:flex;align-items:center;justify-content:space-between;padding:18px 21px;background:linear-gradient(105deg,#eaf4ff,#fff);border-bottom:1px solid #e4edfa}.p53-title{display:flex;gap:12px;align-items:center}.p53-robot{font-size:27px;color:#2368ec}.p53-title strong{display:block;font-size:17px}.p53-title small{display:block;margin-top:3px;color:#71829d;font-size:11px}.p53-close{background:#eef4fd;border:0;border-radius:50%;width:33px;height:33px;font-size:23px;color:#54719c;cursor:pointer}
.p53-thread{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:22px 18px 12px}.p53-bubble{border-radius:16px;padding:12px 15px;line-height:1.7;max-width:91%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.p53-bubble.agent{align-self:flex-start;background:#eff5ff;color:#25456d;border-bottom-left-radius:4px}.p53-bubble.user{align-self:flex-end;background:#246df0;color:white;border-bottom-right-radius:4px}
.p53-chips{padding:8px 15px;display:flex;gap:7px;flex-wrap:wrap}.p53-chip,.p53-suggestion{background:#f5f9ff;color:#2062c3;border:1px solid #dce9fc;border-radius:30px;padding:8px 10px;font-size:11px;cursor:pointer}.p53-suggestion{align-self:flex-start;margin-left:10px}
.p53-entry{display:flex;align-items:center;gap:7px;margin:5px 13px;border-radius:17px;background:#f3f7ff;border:1px solid #e1eafa;padding:8px}.p53-input{flex:1;resize:none;border:0;outline:0;background:transparent;color:#19365d;min-width:0;font:inherit;font-size:13px;line-height:1.5}.p53-mic,.p53-send{border:0;border-radius:12px;width:37px;height:37px;flex-shrink:0;cursor:pointer}.p53-mic{background:#e8f1ff}.p53-mic.listening{background:#ffe8e8;color:#cf1717}.p53-send{background:#246df0;color:white}
.p53-foot{display:flex;flex-direction:column;gap:4px;padding:4px 17px 14px;color:#71829d;font-size:11px}.p53-voice-toggle{display:flex;gap:7px;align-items:center;cursor:pointer}.p53-foot small{font-size:10px;line-height:1.5}
.p53-proposal{align-self:stretch;border:1px solid #acd0ff;border-radius:14px;background:#f8fbff;padding:14px;display:flex;flex-direction:column;gap:9px;font-size:12px}.p53-proposal strong{font-size:14px}.p53-proposal-value{padding:6px 9px;background:#fff;border-radius:7px;text-transform:capitalize}.p53-proposal small{color:#607ba3}.p53-proposal-actions{display:flex;gap:8px}.p53-proposal-actions button{flex:1;padding:11px;border-radius:10px;border:1px solid #dee8f5;cursor:pointer}.p53-confirm{background:#246df0;color:white}.p53-cancel{background:#fff;color:#27476f}
@media(max-width:900px){.p53-launch{bottom:82px;right:15px;padding:13px;border-radius:50%;font-size:0}.p53-launch .p53-launch-icon{font-size:20px}.p53-overlay{padding:0}.p53-panel{height:100dvh;width:100%;border-radius:0}.p53-foot{padding-bottom:calc(env(safe-area-inset-bottom) + 10px)}}
