/* ---------- 沟通页 ---------- */
.nav-item .dot.comm{background:#3b82f6;display:none;width:auto;min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  color:#fff;font-size:10px;line-height:16px;text-align:center;font-style:normal}
.nav-item .dot.comm.hot{display:inline-block}

.comm-wrap{display:flex;gap:14px;align-items:flex-start;min-height:520px}
.comm-side{width:190px;flex:0 0 190px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:8px}
.comm-side-head{font-size:11px;color:var(--muted);padding:6px 8px 4px;letter-spacing:.05em}
.comm-chans{display:flex;flex-direction:column;gap:2px}

.comm-chan{display:flex;align-items:center;gap:6px;width:100%;padding:7px 9px;border:0;background:transparent;
  border-radius:8px;cursor:pointer;text-align:left;color:var(--text);font:inherit;line-height:1.3}
.comm-chan:hover{background:var(--hover)}
.comm-chan.active{background:var(--accent-soft);color:var(--accent-ink)}
.comm-chan-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.comm-chan-tag{font-size:10px;color:var(--muted);flex:0 0 auto}
.comm-badge{flex:0 0 auto;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#ef4444;color:#fff;
  font-size:10px;line-height:16px;text-align:center;font-weight:600}
.comm-badge.hidden{display:none}

.comm-main{flex:1;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:12px;
  display:flex;flex-direction:column;overflow:hidden}
.comm-chat{display:flex;flex-direction:column;min-height:520px}
.comm-chat-head{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid var(--line)}
.comm-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:12px;max-height:440px}
.comm-empty{color:var(--muted);font-size:13px;text-align:center;padding:40px 0}

.comm-msg{display:flex;gap:9px;align-items:flex-start}
.comm-avatar{width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.comm-msg.mine .comm-avatar{background:#dbeafe;color:#1d4ed8}
.comm-bubble-wrap{min-width:0;flex:1}
.comm-meta{display:flex;align-items:center;gap:6px;margin-bottom:3px;flex-wrap:wrap}
.comm-meta b{font-size:12.5px}
.comm-role{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:0 4px}
.comm-time{font-size:10.5px;color:var(--muted)}
.comm-all{font-size:10px;color:#b45309;background:#fef3c7;border-radius:4px;padding:0 4px;font-weight:600}
.comm-bubble{background:var(--hover);border-radius:2px 10px 10px 10px;padding:8px 11px;font-size:13px;
  line-height:1.55;white-space:pre-wrap;word-break:break-word}
.comm-msg.mine .comm-bubble{background:#dbeafe;color:#12325e}

.comm-compose{border-top:1px solid var(--line);padding:9px 12px}
.comm-input{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font:inherit;font-size:13px;
  resize:vertical;background:var(--bg);color:var(--text)}
.comm-input:focus{outline:none;border-color:var(--accent)}
.comm-compose-foot{display:flex;align-items:center;gap:10px;margin-top:7px}
.comm-compose-foot .hint-sm{flex:1}
.comm-compose-foot .cbx.hidden{display:none}

.notice-card{border:1px solid var(--line);border-radius:10px;padding:11px 13px;background:var(--bg)}
.notice-card.unread{border-left:3px solid #3b82f6}
.notice-card.lv-urgent.unread{border-left-color:#ef4444}
.notice-card.lv-warn.unread{border-left-color:#f59e0b}
.notice-card.read{opacity:.72;cursor:pointer}
.notice-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.notice-head b{flex:1;font-size:13.5px;display:flex;align-items:center;gap:6px}
.notice-dot{width:6px;height:6px;border-radius:50%;background:#3b82f6;display:inline-block;flex:0 0 auto}
.notice-lv{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:0 5px;flex:0 0 auto}
.notice-scope{font-size:11px;color:var(--muted);margin-bottom:6px}
.notice-body{font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
