/* APIgoat Consent — a bar at the foot of the window, in the site's idiom:
   paper, a thin rule, mono type, one green action. Fixed, so accepting or
   refusing never reflows what the visitor was reading. */

.acx {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--paper, #fff);
  border-top: 1px solid var(--rule, #e5e7e5);
  box-shadow: 0 -8px 24px rgba(10, 10, 10, 0.06);
  transform: translateY(100%);
  transition: transform .22s ease;
  font-family: var(--mono, ui-monospace, Menlo, Consolas, monospace);
}
.acx.is-open { transform: translateY(0); }

.acx__inner {
  max-width: var(--maxw, 1320px);
  margin: 0 auto;
  padding: 16px var(--pad, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.acx__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3, #525252);
  max-width: 76ch;
}
.acx__text a {
  color: var(--ink-2, #262626);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--brand, #2DCA3D);
}
.acx__text a:hover { color: var(--brand-ink, #166B22); }

.acx__actions {
  display: flex;
  gap: 10px;
  flex: none;
}

.acx__btn {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.acx__btn--ghost {
  background: transparent;
  border: 1px solid var(--rule, #e5e7e5);
  color: var(--ink-3, #525252);
}
.acx__btn--ghost:hover {
  border-color: var(--ink-4, #a3a3a3);
  color: var(--ink, #0a0a0a);
}
.acx__btn--accept {
  background: var(--brand, #2DCA3D);
  border: 1px solid var(--brand, #2DCA3D);
  color: #0a0a0a;
  font-weight: 500;
}
.acx__btn--accept:hover {
  background: var(--brand-deep, #1FA02D);
  border-color: var(--brand-deep, #1FA02D);
}

.acx__btn:focus-visible {
  outline: 2px solid var(--brand-ink, #166B22);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .acx__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .acx__actions { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .acx { transition: none; }
}
