/* ===== Dahem chatbot widget (shared by all hub pages) ===== */
#dahem-chat{position:fixed;left:18px;bottom:18px;z-index:200;font-family:inherit}
#dahem-chat-fab{width:58px;height:58px;border-radius:50%;border:none;cursor:pointer;font-size:26px;
  background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;
  box-shadow:0 10px 28px rgba(249,115,22,.45);transition:transform .2s}
#dahem-chat-fab:hover{transform:scale(1.08)}
#dahem-chat-fab .dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;
  background:#22c55e;border:3px solid #fff}
#dahem-chat-fab{position:relative}
#dahem-chat-panel{position:absolute;left:0;bottom:70px;width:340px;max-width:calc(100vw - 36px);
  height:480px;max-height:calc(100vh - 160px);background:#fff;border-radius:20px;overflow:hidden;
  box-shadow:0 24px 60px rgba(13,27,46,.25);display:flex;flex-direction:column;
  border:1px solid #e8edf5;transform-origin:bottom left;animation:dc-pop .25s ease}
@keyframes dc-pop{from{opacity:0;transform:scale(.9) translateY(10px)}to{opacity:1;transform:none}}
#dahem-chat-panel[hidden]{display:none}
.dc-head{background:linear-gradient(135deg,#0d1b2e,#1e3a5f);color:#fff;padding:14px 16px;
  display:flex;align-items:center;justify-content:space-between}
.dc-head strong{font-size:16px;display:block}
.dc-head span{font-size:12px;opacity:.75}
.dc-close{background:rgba(255,255,255,.15);border:none;color:#fff;width:30px;height:30px;
  border-radius:10px;cursor:pointer;font-size:14px}
.dc-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f8fafc}
.dc-msg{max-width:85%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.7;animation:dc-pop .2s ease}
.dc-msg.bot{background:#fff;border:1px solid #e8edf5;border-bottom-right-radius:4px;align-self:flex-start;color:#1e293b;
  box-shadow:0 2px 8px rgba(13,27,46,.06)}
.dc-msg.user{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;border-bottom-left-radius:4px;align-self:flex-end}
.dc-msg.bot a{color:#ea580c;font-weight:800;text-decoration:none;border-bottom:1px dashed #ea580c}
.dc-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.dc-acts a{display:inline-block;background:#fff7ed;border:1.5px solid #f97316;color:#c2410c;font-weight:800;
  font-size:13px;padding:8px 14px;border-radius:12px;text-decoration:none}
.dc-typing{align-self:flex-start;background:#fff;border:1px solid #e8edf5;border-radius:16px;padding:12px 16px}
.dc-typing i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#94a3b8;margin:0 2px;animation:dc-blink 1s infinite}
.dc-typing i:nth-child(2){animation-delay:.2s}.dc-typing i:nth-child(3){animation-delay:.4s}
@keyframes dc-blink{0%,100%{opacity:.3}50%{opacity:1}}
.dc-quick{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;background:#fff;border-top:1px solid #eef2f7;scrollbar-width:none}
.dc-quick::-webkit-scrollbar{display:none}
.dc-quick button{flex-shrink:0;background:#f1f5f9;border:1px solid #e2e8f0;color:#334155;font-size:13px;font-weight:700;
  padding:8px 14px;border-radius:20px;cursor:pointer;white-space:nowrap}
.dc-quick button:hover{background:#fff7ed;border-color:#f97316;color:#c2410c}
.dc-input{display:flex;gap:8px;padding:12px 14px;background:#fff;border-top:1px solid #eef2f7}
.dc-input input{flex:1;border:1.5px solid #e2e8f0;border-radius:12px;padding:10px 14px;font-size:14px;font-family:inherit;outline:none}
.dc-input input:focus{border-color:#f97316}
.dc-input button{background:linear-gradient(135deg,#f97316,#ea580c);border:none;color:#fff;width:44px;height:44px;
  border-radius:12px;cursor:pointer;font-size:18px;flex-shrink:0}
@media(max-width:760px){
  #dahem-chat{left:14px;bottom:88px}
  #dahem-chat-panel{height:440px}
}
