/* Chat widget styles (moved out of site.css so the new pages need not load it). Colours are literal: this widget is self-contained. */
.hc-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; border-radius: 999px; padding: .5rem 1.2rem .5rem .6rem; display: inline-flex; align-items: center; gap: .45rem; }
.hc-panel {
  position: fixed; right: 1rem; bottom: 4.6rem; z-index: 61; width: min(380px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 6.5rem)); display: flex; flex-direction: column; gap: .6rem;
  background: #fff; color: #0c1219; border: 1px solid #dde6ef; border-radius: 16px; box-shadow: 0 2px 4px rgba(6,18,32,.05),0 22px 48px -18px rgba(6,18,32,.30); padding: .9rem;
}
.hc-panel[hidden] { display: none; }
.hc-head { display: flex; align-items: center; justify-content: space-between; }
.hc-who { display: flex; align-items: center; gap: .5rem; }
.hc-sub { color: #586578; font-size: .85rem; }
.hc-mascot { display: block; flex: none; }
.hc-row { display: flex; align-items: flex-end; gap: .4rem; max-width: 92%; }
.hc-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #586578; padding: 0 .3rem; }
.hc-log { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 120px; display: flex; flex-direction: column; gap: .45rem; }
.hc-msg { padding: .55rem .75rem; border-radius: 10px; background: #f2f7fc; color: #3f4b5a; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.hc-me { align-self: flex-end; max-width: 85%; background: #0f2a3f; color: #fff; }
.hc-note { background: #fff6e3; color: #9a6206; }
.hc-wait { color: #586578; }
.hc-form { display: flex; gap: .5rem; align-items: flex-end; }
.hc-form textarea { flex: 1; resize: none; font: inherit; padding: .5rem .6rem; border: 1px solid #dde6ef; border-radius: 10px; }
.hc-foot { margin: 0; font-size: .78rem; color: #586578; }
@media print { .hc-fab, .hc-panel { display: none; } }
.hc-fab{background:#f5a524;color:#0f2a3f;border:1px solid #0f2a3f;font-weight:700;min-height:44px;cursor:pointer}
.hc-form button{background:#f5a524;color:#0f2a3f;border:1px solid #0f2a3f;border-radius:3px;padding:.5rem .9rem;font-weight:700;cursor:pointer}
.footer-legal{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;margin-top:1.5rem}a[data-app-path]:not([href]){cursor:default}
