/* The cookie banner from analytics.js. Colors come from the page's own tokens
   (the site and the apps share their names), with the light palette as fallback. */
.nanica-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg, #ffffff);
  color: var(--text, #16161a);
  border-top: 1px solid var(--border, #e4e4e8);
  font-size: 0.85rem;
  line-height: 1.5;
}
.nanica-consent p {
  margin: 0;
  min-width: 0;
}
.nanica-consent a {
  color: inherit;
}
.nanica-consent div {
  display: flex;
  gap: 8px;
}
.nanica-consent button {
  font: inherit;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent, #16161a);
  background: transparent;
  color: var(--accent, #16161a);
  cursor: pointer;
}
.nanica-consent button[data-choice="granted"] {
  background: var(--accent, #16161a);
  color: var(--accent-text, #ffd60a);
}
