#pwChatDock{position:fixed;bottom:18px;left:18px;z-index:85;padding:12px 17px;border-radius:25px;background:linear-gradient(110deg,#07568c,#0c8c80);color:#fff;border:2px solid #b9e2df;box-shadow:0 6px 22px #073e7033;font-weight:800}.pw-dialog{width:min(1040px,calc(100vw - 24px));max-height:calc(100dvh - 100px);padding:0;border:1px solid #b6cfdc;border-radius:18px;background:#f2f8fc;color:#17384c;overflow:auto}.pw-dialog>header{position:sticky;top:0;display:flex;gap:12px;height:auto;min-height:60px;padding:15px;background:linear-gradient(120deg,#073d70,#0c807e);color:#fff;z-index:2}.pw-dialog h2{font-size:21px;margin:0;color:inherit}.pw-dialog>header button{background:white;color:#07568a}.pw-dialog main{padding:18px}.pw-dialog [role=status]{padding:0 18px;overflow-wrap:anywhere;color:#744c00}.pw-dialog button,.pw-launch{background:#087184;color:#fff;padding:10px 14px;border-radius:8px;white-space:normal}.pw-dialog button:disabled{opacity:.45}.pw-launch{margin:8px 4px}.pw-dialog label{display:grid;gap:5px}.pw-dialog input:not([type=checkbox]),.pw-dialog select,.pw-dialog textarea{width:100%;min-width:0;padding:10px;box-sizing:border-box;border:1px solid #adc8d7;border-radius:8px;background:#fff;color:#19384b}.pw-dialog form{display:grid;gap:11px}.pw-dialog a{color:#07578d}.pw-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#e4eff5;padding:12px;border-radius:9px;max-height:300px;overflow:auto}.pw-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.pw-warning{padding:12px;border-left:4px solid #dcac3b;background:#fff2ce}.pw-summary{display:flex;flex-wrap:wrap;gap:14px;padding:14px;margin:12px 0;background:#e0f3ed;border-radius:12px}.pw-summary b{display:block}.pw-notice-list{display:grid;gap:12px}.pw-notice-list article,.pw-docs article{padding:16px;border:1px solid #bdd4df;border-radius:12px;background:white;margin-top:12px;overflow-wrap:anywhere}.pw-docs iframe{width:100%;height:65vh;border:1px solid #b6d3df;background:white;border-radius:9px}.pw-docs button{margin:8px}.pw-dialog details{padding:14px;border:1px solid #bdd4df;border-radius:10px;background:white;margin:14px 0}.pw-dialog summary{font-weight:700;cursor:pointer}.pw-scroll{overflow:auto}.pw-scroll table{border-collapse:collapse;width:100%;font-size:12px}.pw-scroll th,.pw-scroll td{padding:10px;border-bottom:1px solid #bdd4df;text-align:left;white-space:nowrap}.pw-chat{width:min(1000px,calc(100vw - 24px))}.pw-chat-note{font-size:12px;color:#4d6878}.pw-chat-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:14px}.pw-chat-grid aside{position:static;inset:auto;transform:none;width:auto;max-height:58vh;overflow:auto;padding:8px;background:#e4f0f5;border-radius:12px;display:block}.pw-chat-grid aside button{display:flex;align-items:center;gap:9px;width:100%;background:white;color:#19384b;text-align:left;padding:12px 9px;margin-bottom:7px;border:1px solid #bdd4df}.pw-chat-grid aside button.selected{border:2px solid #0b8382;background:#daf5ee}.pw-chat-grid aside b,.pw-chat-grid aside small{display:block}.pw-chat-grid aside small{font-size:10px;color:#587182}.pw-chat-grid aside em{background:#d9485e;color:white;border-radius:12px;padding:2px 7px;font-style:normal;margin-left:auto}.pw-dot{display:inline-block;width:11px;height:11px;min-width:11px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #aabcc6}.pw-dot.online{background:#149b64}.pw-dot.offline{background:#d7475d}.pw-chat-thread{min-width:0}.pw-chat-thread h3{margin:0;padding:10px;background:#dff1f2;border-radius:9px}.pw-chat-thread [data-chat-messages]{height:37vh;min-height:200px;overflow:auto;padding:13px;background:linear-gradient(140deg,#e4f1f5,#f5f8ed);border-radius:12px;margin:10px 0;display:flex;flex-direction:column;gap:10px}.pw-chat-thread article{padding:10px 13px;border-radius:13px;max-width:85%;overflow-wrap:anywhere;box-shadow:0 3px 9px #123e5010}.pw-chat-thread article.mine{align-self:flex-end;background:#ccefe4}.pw-chat-thread article.theirs{align-self:flex-start;background:#fff}.pw-chat-thread article p{margin:0 0 5px;white-space:normal}.pw-chat-thread article small{display:block;color:#587182;font-size:10px}.pw-chat-compose{display:flex;gap:10px;align-items:end}.pw-chat-compose label{flex:1;min-width:0;font-size:11px}.pw-empty{text-align:center;color:#5e7684}.pw-chat-file{font-size:11px}@media(max-width:640px){.pw-dialog main{padding:12px}.pw-dialog h2{font-size:18px}.pw-chat-grid{grid-template-columns:1fr}.pw-chat-grid aside{max-height:150px}.pw-chat-grid aside button{padding:8px;margin-bottom:5px}.pw-chat-thread [data-chat-messages]{height:30vh;min-height:170px}.pw-chat-compose{flex-wrap:wrap}.pw-chat-compose button{width:100%}#pwChatDock{left:12px;bottom:12px;font-size:12px;padding:10px 13px}.pw-scroll table{min-width:650px}}
.pw-unread{background:#a24c00!important;color:#fff!important;border:2px solid #ffd585}
