.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: calc(100% - 36px); max-width: 1120px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 45px #2223; z-index: 2000; padding: 24px 48px 24px 24px; border-radius: 7px; display: flex; gap: 24px; align-items: center; max-height: 80dvh; overflow: auto; }
.analytics-consent-copy { flex: 1 1 450px; min-width: 0; }
.analytics-consent h2 { font-size: 25px; margin: 0 0 8px; }
.analytics-consent p { font-size: 13px; line-height: 1.7; margin: 0; }
.analytics-consent .eyebrow { font-size: 10px; color: var(--wine); margin-bottom: 6px; }
.analytics-consent-details { font-size: 12px; margin-top: 10px; }
.analytics-consent-details summary { cursor: pointer; color: var(--wine); font-weight: 600; }
.analytics-consent-details p { margin-top: 8px; }
.analytics-consent-controls { flex: 0 1 340px; }
.analytics-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.analytics-consent-actions form { margin: 0; flex: 1; }
.analytics-consent-actions .button { font-size: 12px; padding: 12px 16px; width: 100%; justify-content: center; white-space: nowrap; min-height: 44px; }
.analytics-consent [data-consent-status] { margin-top: 8px; font-size: 12px; }
.analytics-consent [data-consent-status].is-error { color: #8e3434; }
.analytics-consent-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink); font-size: 25px; cursor: pointer; }
@media (max-width: 760px) {
  .analytics-consent { padding: 20px; gap: 16px; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); flex-direction: column; align-items: stretch; }
  .analytics-consent h2 { font-size: 23px; padding-right: 18px; }
  .analytics-consent-copy, .analytics-consent-controls { flex: auto; }
}
