/* Privacy-choice status and consent controls; the controller selects the accepted profile. */

.consent-panel {
  max-width: 72ch;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cool);
}

.consent-panel .eyebrow {
  margin-bottom: 8px;
}

.consent-panel .consent-state {
  color: var(--ink);
}

.consent-panel [data-review-consent] {
  margin-top: 18px;
}

.consent-banner {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 55px var(--surface-shadow);
}

.consent-banner h2 {
  font-size: 18px;
  line-height: 1.3;
}

.consent-banner p:not(.eyebrow) {
  max-width: 68ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-actions a {
  min-height: 44px;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 850px) {
  .consent-banner {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 14px;
  }

  .consent-actions {
    align-items: stretch;
  }

  .consent-actions .button {
    flex: 1;
    min-width: 110px;
  }
  .consent-actions a {
    width: 100%;
    text-align: center;
  }
}

.consent-actions .button {
  min-height: 44px;
  padding: 10px 16px;
  border-color: var(--ink);
  color: var(--ink);
  font-size: 14px;
}
