body { font-size: .95rem; }
.sidebar { width: 240px; min-height: 100vh; }
.sidebar .nav-link { color: rgba(255,255,255,.75); border-radius: .4rem; margin-bottom: 2px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.12); }
.stat-card .num { font-size: 1.8rem; font-weight: 700; }
.table td, .table th { vertical-align: middle; }
.chat-list { height: calc(100vh - 190px); overflow-y: auto; }
.chat-list .item { cursor: pointer; border-left: 3px solid transparent; }
.chat-list .item.active { background: #eef4ff; border-left-color: #0d6efd; }
.chat-list .item.unread .title { font-weight: 700; }
.chat-box { height: calc(100vh - 300px); overflow-y: auto; background: #f6f7f9; }
.bubble { max-width: 75%; padding: .5rem .8rem; border-radius: 1rem; white-space: pre-wrap; word-wrap: break-word; }
.bubble.visitor { background: #fff; border: 1px solid #e5e7eb; }
.bubble.agent { background: #0d6efd; color: #fff; margin-left: auto; }
.bubble.bot { background: #e9ecef; margin-left: auto; font-style: italic; }
.bubble.system { background: #fff3cd; margin: 0 auto; font-size: .85rem; }
.online-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: #adb5bd; }
.online-dot.on { background: #22c55e; }
.toast-container { z-index: 2000; }
code.key { user-select: all; }
.validation-summary-valid { display: none; }
