#comm-older[hidden]{display:none}
.comm-shortcut{position:fixed;right:18px;bottom:18px;z-index:60;background:#173f36;color:#fff;box-shadow:0 3px 15px #0002;border-radius:24px;min-height:48px;padding:10px 22px}
#comm-alert{position:fixed;right:18px;bottom:78px;max-width:min(360px,90vw);z-index:65;background:#fff5db;border:1px solid #c89939;padding:18px;box-shadow:0 4px 18px #0002;text-align:left;white-space:normal}
#comm-gate{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:26px;border:2px solid #c58b27;border-radius:16px;overflow:auto;color:#142523;background:#fff}
#comm-gate::backdrop{background:#142523bb;backdrop-filter:blur(3px)}
.comm-gate-head{font-size:12px;font-weight:700;color:#95600d;letter-spacing:.08em}.comm-notice-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;background:#f6f8f6;padding:16px;border-radius:8px;max-height:45vh;overflow:auto}
#comm-gate h2{margin:18px 0;font-size:25px;overflow-wrap:anywhere}#comm-gate button{min-height:48px;margin:8px 8px 0 0;white-space:normal}
.comm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.comm-chat{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden;min-height:550px;margin-bottom:60px}
#comm-channels{border-right:1px solid var(--line);max-height:680px;overflow:auto;padding:10px}#comm-channels button{display:flex;justify-content:space-between;gap:8px;width:100%;padding:14px;text-align:left;border:0;background:transparent;white-space:normal}#comm-channels button.selected{background:#e5f1eb;color:#173f36}#comm-channels strong{background:#173f36;color:white;border-radius:12px;padding:0 7px}
.comm-conversation{padding:18px;min-width:0}.comm-conversation h2{font-size:20px;margin:0 0 14px}#comm-messages{height:390px;overflow:auto;overscroll-behavior:contain;padding:8px;background:#f7f8f7;border-radius:8px}.comm-message{max-width:88%;width:fit-content;margin:0 auto 12px 0;padding:12px 15px;background:#fff;border:1px solid #e0e7e2;border-radius:12px}.comm-message.mine{margin-left:auto;margin-right:0;background:#dff0e7}.comm-message header{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#547061}.comm-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:6px 0 0}#comm-send label{display:block;margin:12px 0 6px}#comm-send textarea{width:100%;resize:vertical}#comm-send .row{margin-top:10px}.comm-recipients{max-height:260px;overflow:auto;margin:12px 0}.comm-receipts{margin:18px 0}.comm-receipts p{margin:8px 0}#comm-notices .panel{margin-bottom:18px}#comm-notices h2{font-size:20px}
@media(max-width:700px){.comm-chat{grid-template-columns:minmax(0,1fr)}#comm-channels{display:flex;overflow-x:auto;max-height:140px;border-right:0;border-bottom:1px solid var(--line)}#comm-channels button{min-width:150px}.comm-conversation{padding:12px}#comm-messages{height:45dvh;min-height:240px}.comm-message{max-width:96%}.comm-toolbar{align-items:flex-start}.comm-shortcut{right:10px;bottom:10px}#comm-gate{padding:18px}#comm-gate button{width:100%;margin-right:0}.comm-notice-text{max-height:40dvh}}
@media print{#comm-gate,#comm-shortcut,#comm-alert{display:none}}
