/* Shared consent and Asu UI. Source file included in site-enhancements.css. */
:root { --ensutex-consent-offset: 0px; }
.ensutex-consent {
  position: fixed;
  z-index: 120;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: min(calc(100% - 32px), 760px);
  margin-left: auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: rgba(8, 8, 8, .96);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .34);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.ensutex-consent__copy strong { display: block; font-size: 1rem; }
.ensutex-consent__copy p { margin: 5px 0 0; color: #d4d4d8; font-size: .875rem; line-height: 1.45; }
.ensutex-consent__copy a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ensutex-consent__actions { display: flex; align-items: center; gap: 8px; }
.ensutex-consent__actions button {
  min-height: 44px;
  padding: 10px 14px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  font-size: .8125rem;
  font-weight: 900;
  cursor: pointer;
}
.ensutex-consent__actions button[data-consent="all"] { background: #1fb8d0; border-color: #1fb8d0; color: #041014; }
.ensutex-consent__actions button:focus-visible { outline: 3px solid #87ceeb; outline-offset: 3px; }
.analytics-sentinel { display: block; width: 1px; height: 1px; pointer-events: none; }
.qc-summary-bar,
#sticky-cta-mobile { bottom: var(--ensutex-consent-offset) !important; }
body:has(.qc-drawer.qc-open) .ensutex-consent {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-widgets { position: fixed; z-index: 90; right: 24px; bottom: calc(24px + var(--ensutex-consent-offset)) !important; }
.floating-widgets > div { align-items: center; display: flex; justify-content: flex-end; position: relative; }
.chatbot-cta-fixed {
  align-items: center;
  background: #0a0a0a;
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(0,0,0,.24);
  color: #fff;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  margin-right: .7rem;
  min-height: 40px;
  padding: .65rem .9rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.chatbot-cta-short { display: none; }
#chatbot-trigger.ens-chat-trigger {
  width: 64px;
  height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
}
#chatbot-trigger.ens-chat-trigger img { width: 100%; height: 100%; object-fit: contain; }
#chatbot-panel.ens-chat-panel {
  position: fixed;
  z-index: 95;
  right: 24px;
  bottom: calc(104px + var(--ensutex-consent-offset)) !important;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100dvh - 132px - var(--ensutex-consent-offset))) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #18181b;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(.98);
  transition: opacity .22s ease-out, transform .22s ease-out, visibility 0s linear .22s;
}
#chatbot-panel.ens-chat-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
.ens-chat-close { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: transparent; border: 0; border-radius: 50%; }
.ens-chat-close:hover { background: rgba(255,255,255,.12); }
.ens-chat-message { width: fit-content; max-width: 88%; padding: .72rem .86rem; color: #27272a; background: #f4f4f5; border-radius: 14px 14px 14px 4px; line-height: 1.5; white-space: pre-wrap; }
.ens-chat-message--user { margin-left: auto; color: #fff; background: #0a0a0a; border-radius: 14px 14px 4px 14px; }
.ens-chat-typing { width: fit-content; display: flex; gap: 4px; padding: .8rem; background: #f4f4f5; border-radius: 14px; }
.ens-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: #71717a; animation: ens-chat-dot .8s ease-in-out infinite alternate; }
.ens-chat-typing span:nth-child(2) { animation-delay: .12s; }
.ens-chat-typing span:nth-child(3) { animation-delay: .24s; }
@keyframes ens-chat-dot { to { opacity: .3; transform: translateY(-3px); } }
#chat-options-wrap { flex: 0 0 auto; max-height: 190px; overflow-y: auto; padding: .65rem .75rem; border-top: 1px solid #e4e4e7; }
#chat-options { display: grid; gap: .45rem; }
.ens-chat-lead { display: grid; gap: .58rem; width: 100%; }
.ens-chat-lead > strong { font-size: .78rem; letter-spacing: .04em; }
.ens-chat-lead label { display: grid; gap: .25rem; color: #4b5563; font-size: .68rem; font-weight: 800; }
.ens-chat-lead input,
.ens-chat-lead select,
.ens-chat-lead textarea { width: 100%; min-height: 42px; padding: .58rem .65rem; border: 1px solid #cfd5dc; border-radius: 10px; background: #fff; color: #111827; font: inherit; font-size: .82rem; }
.ens-chat-lead textarea { min-height: 64px; resize: vertical; }
.ens-chat-lead > div { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ens-chat-lead button { min-height: 44px; border: 0; border-radius: 999px; background: #080b0e; color: #fff; font-size: .78rem; font-weight: 850; }
.ens-chat-lead button:hover { background: #18bdd5; color: #061417; }
.ens-chat-lead button:disabled { opacity: .55; cursor: wait; }
.ens-chat-lead small { color: #9a3412; font-size: .68rem; line-height: 1.4; }
.ens-chat-option { min-height: 44px; padding: .65rem .75rem; display: flex; align-items: center; justify-content: center; color: #18181b; background: #fff; border: 1px solid #d4d4d8; border-radius: 10px; font-size: .8125rem; font-weight: 850; text-align: center; text-decoration: none; }
.ens-chat-option--primary { color: #fff; background: #e20613; border-color: #e20613; }
.ens-chat-form { flex: 0 0 auto; padding: .65rem; display: flex; align-items: center; gap: .5rem; background: #fff; border-top: 1px solid #e4e4e7; }
.ens-chat-form input { min-width: 0; min-height: 44px; flex: 1; padding: .65rem .75rem; border: 1px solid #c4c4c8; border-radius: 10px; font-size: 1rem; }
.ens-chat-form button { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; color: #fff; background: #0a0a0a; border: 0; border-radius: 10px; }
.ens-chat-form input:focus-visible, .ens-chat-form button:focus-visible, .ens-chat-close:focus-visible, .ens-chat-option:focus-visible { outline: 3px solid #87ceeb; outline-offset: 2px; }

@media (max-width: 680px) {
  .ensutex-consent { grid-template-columns: 1fr; width: auto; padding: 16px; }
  .ensutex-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .floating-widgets { right: 14px !important; bottom: calc(16px + env(safe-area-inset-bottom) + var(--ensutex-consent-offset)) !important; }
  #chatbot-panel.ens-chat-panel { right: 8px !important; left: 8px !important; bottom: calc(78px + env(safe-area-inset-bottom) + var(--ensutex-consent-offset)) !important; width: auto !important; height: min(650px, calc(100dvh - 96px - var(--ensutex-consent-offset))) !important; max-height: calc(100dvh - 96px - var(--ensutex-consent-offset)) !important; }
  .chatbot-cta-fixed { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .ensutex-consent { background: #080808; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  #chatbot-panel.ens-chat-panel { transition: none; transform: none; }
  .ens-chat-typing span { animation: none; }
}
