.vlsiGa4Root {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 2147483000;
  max-inline-size: min(544px, calc(100vw - 32px));
  color: #111827;
  font: 500 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vlsiGa4Banner,
.vlsiGa4SettingsPanel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #9ca3af;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgb(0 0 0 / 20%);
}

.vlsiGa4Copy {
  display: grid;
  gap: 6px;
}

.vlsiGa4Title {
  color: #111827;
  font-size: 16px;
}

.vlsiGa4Summary,
.vlsiGa4Status {
  margin: 0;
  color: #374151;
}

.vlsiGa4Actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vlsiGa4Button,
.vlsiGa4SettingsButton {
  min-block-size: 44px;
  padding: 10px 14px;
  border: 1px solid #4b5563;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  cursor: pointer;
}

.vlsiGa4PrimaryButton {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #ffffff;
}

.vlsiGa4SettingsButton {
  box-shadow: 0 6px 16px rgb(0 0 0 / 18%);
}

.vlsiGa4SettingsPanel {
  margin-block-start: 8px;
}

.vlsiGa4Link {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vlsiGa4Button:focus-visible,
.vlsiGa4SettingsButton:focus-visible,
.vlsiGa4Link:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

@media (max-width: 576px) {
  .vlsiGa4Root {
    inset: auto 12px 12px;
    max-inline-size: none;
  }
}

@media (prefers-color-scheme: dark) {
  .vlsiGa4Banner,
  .vlsiGa4SettingsPanel,
  .vlsiGa4Button,
  .vlsiGa4SettingsButton {
    border-color: #9ca3af;
    background: #111827;
    color: #f9fafb;
  }

  .vlsiGa4Title,
  .vlsiGa4Summary,
  .vlsiGa4Status {
    color: #f9fafb;
  }

  .vlsiGa4PrimaryButton {
    border-color: #93c5fd;
    background: #dbeafe;
    color: #172554;
  }

  .vlsiGa4Link {
    color: #bfdbfe;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlsiGa4Root * {
    scroll-behavior: auto;
  }
}
