.sip-analytics-banner {
  position: fixed;
  z-index: 999996;
  inset-inline: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 20px;
  width: auto;
  max-width: 1000px;
  max-height: calc(100dvh - 32px);
  margin-inline: auto;
  padding: 20px;
  overflow: auto;
  border: 1px solid #536079;
  border-radius: 12px;
  background: #13182e;
  box-shadow: 0 8px 32px rgb(0 0 0 / 35%);
  color: #f8fafc;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.5;
}
.sip-analytics-banner[hidden],
.sip-analytics-banner [hidden] { display: none !important; }
.sip-analytics-copy { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.sip-analytics-banner h2 { margin: 0 0 6px; color: #f8fafc; font: 700 17px/1.3 var(--sans, system-ui, sans-serif); }
.sip-analytics-banner p { margin: 0; color: #cbd5e1; }
.sip-analytics-banner .sip-analytics-status { margin-top: 6px; color: #f8fafc; font-size: 12px; }
.sip-analytics-actions { display: flex; flex: 0 1 340px; flex-wrap: wrap; gap: 8px; min-width: 0; }
.sip-analytics-actions button,
.sip-analytics-settings {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  background: #222c44;
  color: #f8fafc;
  font: 600 13px/1.35 var(--sans, system-ui, sans-serif);
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.sip-analytics-actions button { flex: 1 1 calc(50% - 4px); min-width: 0; }
.sip-analytics-actions button:hover,
.sip-analytics-settings:hover { border-color: #c4b5fd; background: #313c56; }
.sip-analytics-actions button:focus-visible,
.sip-analytics-settings:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }
.sip-analytics-settings { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; background: transparent; }
.sip-analytics-settings-wrap { padding: 16px; text-align: center; }
/* Existing navigation dialogs keep their own focus and visual stacking. */
body.menu-open .sip-analytics-banner,
body.ugeh-lang-open .sip-analytics-banner,
body.language-hub-open .sip-analytics-banner { visibility: hidden; pointer-events: none; }
/* The floating support bubble otherwise covers consent actions on phones. */
body.sip-analytics-open .uicwv-wa-dock { visibility: hidden; pointer-events: none; }
@media (max-width: 700px) {
  .sip-analytics-banner { inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; max-height: calc(100dvh - 24px); }
  .sip-analytics-copy { flex: auto; }
  .sip-analytics-actions { flex: auto; }
}
