.private-chat-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fbf8ee;color:#193f37;border:1px solid #b7c4af;border-radius:12px;overflow:hidden;font-family:inherit}
.private-chat-panel[hidden],.private-chat-panel [hidden]{display:none!important}
.private-chat-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #c6ceba;background:#e9eedf}
.private-chat-header h2{font-size:16px;line-height:1.3;margin:0;color:#193f37}
.private-chat-panel button,.private-chat-panel select,.private-chat-panel textarea{font-family:inherit;box-sizing:border-box}
.private-chat-panel button{cursor:pointer;font-size:11px;line-height:1.4;border:1px solid #a5b597;border-radius:7px;color:#234a3b;background:#fffbee;min-height:38px;padding:7px 10px}
.private-chat-panel button:disabled{cursor:default;opacity:.65}
.private-chat-panel button:focus-visible,.private-chat-panel select:focus-visible,.private-chat-panel textarea:focus-visible,.private-chat-panel ol:focus-visible,.chat-channel-tab:focus-visible{outline:3px solid #185bd0;outline-offset:2px}
.private-chat-toggle{display:flex;gap:5px;align-items:center;white-space:nowrap}
.private-chat-badge,.chat-private-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:20px;background:#933b22;color:#fff;font-size:10px}
.private-chat-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 12px 10px;overflow:hidden}
.private-chat-privacy{font-size:10px;line-height:1.5;color:#4a5d48;margin:9px 0 8px;flex-shrink:0}
.private-chat-label{display:block;font-size:11px;font-weight:700;margin:0 0 5px;color:#234a3b;flex-shrink:0}
.private-chat-recipient{width:100%;min-height:40px;max-width:100%;font-size:12px;background:#fffef8;color:#153d33;border:1px solid #a7b99b;border-radius:7px;padding:7px;margin:0 0 8px;flex-shrink:0}
.private-chat-empty{font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}
.private-chat-messages{list-style:none;flex:1;min-height:72px;overflow:auto;scrollbar-gutter:stable;margin:3px 0 0;padding:0 8px;border:1px solid #c4cfb8;border-radius:8px;background:#fffdf6}
.private-chat-message{padding:9px 0;border-bottom:1px solid #e0e6d4}
.private-chat-message:last-child{border-bottom:0}
.private-chat-message.is-own{padding-left:7px;border-left:2px solid #427359}
.private-chat-meta{display:flex;gap:7px;justify-content:space-between;align-items:start;font-size:11px;line-height:1.5}
.private-chat-meta strong{overflow-wrap:anywhere}.private-chat-meta time{font-size:9px;white-space:nowrap;color:#50604c}
.private-chat-message p{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}
.private-chat-panel .private-chat-earlier{margin-bottom:5px;background:#edf1e3;flex-shrink:0;min-height:32px}
.private-chat-panel .private-chat-latest{margin-top:5px;background:#1c5543;color:#fffbea;border-color:#1c5543;flex-shrink:0;min-height:32px}
.private-chat-notice,.private-chat-status{font-size:10px;line-height:1.5;margin:6px 0 0;color:#4c5d49;flex-shrink:0;overflow-wrap:anywhere}
.private-chat-notice:empty,.private-chat-status:empty{display:none}
.private-chat-form{padding-top:9px;flex-shrink:0;margin:0}
.private-chat-input{display:block;width:100%;min-height:55px;max-height:105px;resize:vertical;font-size:12px;line-height:1.55;color:#153d33;background:#fffef8;padding:8px 9px;border:1px solid #a7b99b;border-radius:8px}
.private-chat-actions{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:6px}
.private-chat-actions span{font-size:9px;line-height:1.4;color:#53624e;max-width:110px}
.private-chat-panel .private-chat-send{color:#fffbea;background:#1c5543;border-color:#1c5543;min-height:38px;white-space:nowrap}
.private-chat-panel.is-embedded{flex:1;height:100%;border:0;border-radius:0}
.private-chat-panel.is-embedded .private-chat-body{padding:0 10px 10px}
.chat-channels{display:flex;gap:5px;padding:8px 10px;border-bottom:1px solid #c6ceba;background:#f1f3e7;flex-shrink:0}
.chat-channel-tab{display:flex;justify-content:center;align-items:center;gap:5px;flex:1;min-height:38px;padding:6px 8px;border-radius:7px;border:1px solid #a5b597;font-size:11px;font-weight:700;color:#234a3b;background:#fffbee}
.chat-channel-tab[aria-selected=true]{background:#1c5543;color:#fffbea;border-color:#1c5543}
#chat-team-panel,#chat-private-panel{display:flex;flex-direction:column;flex:1;min-height:0}
#chat-team-panel[hidden],#chat-private-panel[hidden],.chat-channels[hidden]{display:none!important}
.team-chat-dock .chat-dock-body{padding:0}
#chat-team-panel{padding:0 12px 12px}
.play-space.chat-private-active:not(.chat-is-collapsed){grid-template-columns:minmax(0,1fr) 320px}
.chat-private-active:not(.chat-is-collapsed)>.team-chat-dock{position:static;width:auto;height:100%;min-height:460px;max-height:calc(100svh - 250px);border-radius:0;border-left:1px solid #b7c4af;box-shadow:none}
.campus-private-chat-host{position:fixed;right:20px;bottom:20px;z-index:25;width:320px;max-width:calc(100vw - 32px)}
.campus-private-chat-host>.private-chat-panel{height:490px;max-height:calc(100svh - 120px);box-shadow:0 6px 28px #183a3233}
.campus-private-chat-host>.private-chat-panel:has(.private-chat-body[hidden]){height:auto}
@media(min-width:1500px){.play-space.chat-private-active:not(.chat-is-collapsed){grid-template-columns:minmax(0,1fr) 350px}}
@media(min-width:701px) and (max-width:1000px){.play-space.chat-private-active:not(.chat-is-collapsed){grid-template-columns:minmax(0,1fr) 290px}.chat-private-active:not(.chat-is-collapsed)>.team-chat-dock{max-height:calc(100svh - 292px)}}
@media(max-width:700px){.play-space.chat-private-active:not(.chat-is-collapsed){display:block}.chat-private-active:not(.chat-is-collapsed)>.team-chat-dock{position:absolute;right:10px;top:85px;bottom:auto;width:min(280px,calc(100% - 24px));height:420px;max-height:calc(100% - 150px);min-height:0;border:1px solid #aabca0;border-radius:12px;box-shadow:0 6px 28px #183a3233}.play-space.is-standard.chat-private-active:not(.chat-is-collapsed)>.team-chat-dock{position:static;width:100%;height:450px;max-height:450px;border-radius:0}.private-chat-body{padding:0 9px 9px}.private-chat-meta{font-size:10px}.private-chat-message p{font-size:11px}.private-chat-privacy{margin:7px 0 5px}.private-chat-recipient{min-height:36px}.private-chat-input{min-height:48px;max-height:85px}.private-chat-form{padding-top:6px}.private-chat-panel .private-chat-send{min-height:34px}.chat-channels{padding:6px 8px}.chat-channel-tab{min-height:34px}.campus-private-chat-host{right:10px;bottom:10px;width:min(290px,calc(100vw - 24px))}.campus-private-chat-host>.private-chat-panel{height:440px;max-height:calc(100svh - 90px)}}
