.dc-wa-shell{display:grid;grid-template-columns:260px 1fr;min-height:560px;border:1px solid #183244;border-radius:16px;overflow:hidden;background:#07131c}
.dc-wa-sidebar{border-left:1px solid #183244;background:#08141e;overflow:auto;max-height:65vh}
.dc-wa-sidebar-head{padding:14px;border-bottom:1px solid #183244;position:sticky;top:0;background:#08141e;z-index:2}
.dc-wa-chat{display:block;width:100%;text-align:right;border:0;border-bottom:1px solid #132838;background:transparent;color:#fff;padding:13px;cursor:pointer}
.dc-wa-chat:hover,.dc-wa-chat.active{background:#0e2533}
.dc-wa-chat b{display:block;margin-bottom:5px}
.dc-wa-chat small{display:block;color:#839db1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-wa-main{display:grid;grid-template-rows:auto 1fr auto;min-width:0;background:#061018}
.dc-wa-head{padding:12px 14px;border-bottom:1px solid #183244;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:#091620}
.dc-wa-messages{padding:16px;overflow:auto;max-height:54vh;min-height:390px;display:flex;flex-direction:column;gap:8px}
.dc-wa-bubble{max-width:78%;border:1px solid #1b3446;border-radius:14px;padding:9px 11px;background:#0a1a25;align-self:flex-start;box-shadow:0 5px 18px #0003}
.dc-wa-bubble.me{align-self:flex-end;background:#0d382c;border-color:#1c5b47}
.dc-wa-bubble .sender{font-size:11px;font-weight:800;color:#65d8ff;margin-bottom:4px}
.dc-wa-bubble.me .sender{color:#86efb6}
.dc-wa-bubble .body{white-space:pre-wrap;word-break:break-word;line-height:1.55}
.dc-wa-bubble .meta{font-size:10px;color:#7890a5;margin-top:5px;text-align:left}
.dc-wa-compose{padding:12px;border-top:1px solid #183244;display:grid;grid-template-columns:1fr auto;gap:8px;background:#091620}
.dc-wa-compose input{min-width:0}
.dc-history-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:12px 0}
.dc-history-card{border:1px solid #183244;background:#08141e;border-radius:14px;padding:12px}
.dc-history-card b{display:block;margin-bottom:7px}
.dc-history-card small{display:block;color:#8fa4b8;line-height:1.7}
@media(max-width:720px){.dc-wa-shell{grid-template-columns:1fr;min-height:0}.dc-wa-sidebar{border-left:0;border-bottom:1px solid #183244;max-height:190px}.dc-wa-messages{min-height:350px;max-height:50vh}.dc-wa-bubble{max-width:90%}}
