/* GITEA_TARGET: jarvis/infrastructure|partnerhub/site/hub_chat.css */
/* W1 v1-fix-hub-widget 20260927: hub root chat widget styles (own code per CORRECTION-1.2). */
.hub-chat { position: fixed; right: 18px; bottom: 18px; z-index: 9999; font-family: inherit; }
.hub-chat-sr { position: absolute; left: -9999px; }
.hub-chat-bubble {
  background: #1a4fd8; color: #fff; border: 0; border-radius: 999px;
  padding: 12px 20px; font-size: 15px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.hub-chat-panel {
  position: absolute; right: 0; bottom: 56px; width: 320px; max-width: calc(100vw - 36px);
  background: #fff; color: #111; border: 1px solid #d7dbe2; border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden;
}
/* A-osa HUB-CHAT-FIX-1 20261003: [hidden] must beat display:flex above, else Close/Esc/bubble-toggle never hide the panel. */
.hub-chat-panel[hidden] { display: none !important; }
.hub-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: #f4f6fa; border-bottom: 1px solid #e4e8ef; font-size: 14px;
}
.hub-chat-close { background: none; border: 0; cursor: pointer; font-size: 13px; color: #444; }
.hub-chat-log { padding: 10px 12px; height: 260px; overflow-y: auto; font-size: 14px; line-height: 1.45; }
.hub-chat-log .m-user { margin: 8px 0; text-align: right; }
.hub-chat-log .m-bot { margin: 8px 0; color: #222; white-space: pre-wrap; }
.hub-chat-form { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #e4e8ef; }
.hub-chat-form input {
  flex: 1; border: 1px solid #cbd2dd; border-radius: 8px; padding: 8px 10px; font-size: 14px;
}
.hub-chat-send {
  background: #1a4fd8; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer;
}
.hub-chat-disclosure {
  margin: 0; padding: 8px 12px; font-size: 11.5px; color: #555; background: #f8f9fb;
  border-top: 1px solid #eef1f6;
}
@media (max-width: 480px) {
  .hub-chat-panel { width: calc(100vw - 36px); }
} | A: hidden-fix for hub-chat-panel (Close/Esc/bubble-toggle) 20261003