.handteq-analytics-banner[hidden],
.handteq-analytics-settings[hidden] {
  display: none !important;
}

.handteq-analytics-banner {
  position: fixed;
  z-index: 99999;
  right: 20px;
  bottom: 20px;
  width: min(560px, calc(100vw - 40px));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #171717;
  color: #fff;
  border: 1px solid #666;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .35);
  font-size: 14px;
  line-height: 1.5;
}

.handteq-analytics-banner p { margin: 0; }
.handteq-analytics-banner a { color: #fff; text-decoration: underline; }
.handteq-analytics-actions { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.handteq-analytics-actions button { min-height: 38px; padding: 7px 13px; border: 1px solid #fff; border-radius: 6px; cursor: pointer; font: inherit; }
#handteq-analytics-allow { background: #fff; color: #111; }
#handteq-analytics-decline { background: transparent; color: #fff; }
.handteq-analytics-banner button:focus-visible,
.handteq-analytics-settings:focus-visible { outline: 3px solid #9cc8ff; outline-offset: 3px; }

.handteq-analytics-settings {
  display: inline-block;
  margin: 8px 0;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 600px) {
  .handteq-analytics-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    box-sizing: border-box;
    display: block;
  }
  .handteq-analytics-actions { flex-direction: row; margin-top: 14px; }
  .handteq-analytics-actions button { flex: 1; }
}
