/* Co;Gether Growth — Analytics Consent Notice (Phase 3B). Design-System-Tokens. */
.cg-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9998;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--cg-surface, #fff);
  color: var(--cg-ink, #1f2a2e);
  border: 1px solid var(--cg-line, rgba(31, 42, 46, .14));
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 30, 34, .18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.cg-consent.is-visible { opacity: 1; transform: translateY(0); }
.cg-consent__inner { padding: 1.1rem 1.25rem 1.2rem; }
.cg-consent__title {
  margin: 0 0 .35rem;
  font-weight: 600;
  font-size: .98rem;
}
.cg-consent__text {
  margin: 0 0 1rem;
  font-size: .86rem;
  line-height: 1.5;
  opacity: .9;
}
.cg-consent__link { color: var(--cg-accent, #1f6f6f); text-decoration: underline; }
.cg-consent__actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.cg-consent__btn {
  flex: 1 1 8rem;
  padding: .6rem 1rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--cg-line, rgba(31, 42, 46, .2));
  background: transparent;
  color: inherit;
}
.cg-consent__btn--accept {
  background: var(--cg-accent, #1f6f6f);
  border-color: var(--cg-accent, #1f6f6f);
  color: #fff;
}
.cg-consent__btn:focus-visible {
  outline: 2px solid var(--cg-accent, #1f6f6f);
  outline-offset: 2px;
}
.cg-consent-settings-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (min-width: 640px) {
  .cg-consent__actions { justify-content: flex-end; }
  .cg-consent__btn { flex: 0 0 auto; min-width: 8.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cg-consent { transition: none; }
}
