/* Scoped to the Reparatoo consent component. */
#reparatoo-consent[hidden], #reparatoo-privacy-control[hidden], #reparatoo-privacy-browser[hidden] { display: none !important; }
#reparatoo-consent { position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom)); z-index: 10000; width: min(940px, calc(100% - 32px)); margin-inline: auto; display: flex; align-items: center; gap: 24px; padding: 24px; border: 1px solid #b9cca5; border-radius: 18px; background: #fffdf8; color: #1f1611; box-shadow: 0 8px 40px #1f16112b; max-height: 85vh; max-height: 85dvh; overflow: auto; font-family: 'DM Sans', system-ui, sans-serif; }
#reparatoo-consent .rp-consent-copy { flex: 1; min-width: 0; }
#reparatoo-consent h2 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 1.25rem; line-height: 1.3; margin: 0 0 10px; color: #2a4524; }
#reparatoo-consent p { font-size: .9rem; line-height: 1.6; margin: 0 0 8px; }
#reparatoo-consent .rp-consent-details { font-size: .78rem; margin-bottom: 0; }
#reparatoo-consent a { color: #2a4524; text-decoration: underline; text-underline-offset: 3px; }
#reparatoo-consent .rp-consent-actions { display: flex; flex-direction: column; flex-shrink: 0; gap: 10px; }
#reparatoo-consent .rp-consent-actions button { appearance: none; font: inherit; font-size: .86rem; font-weight: 600; line-height: 1.4; border: 2px solid #3d5e35; border-radius: 9px; background: #fffdf8; color: #2a4524; padding: 12px 16px; min-height: 48px; min-width: 214px; cursor: pointer; text-align: center; }
#reparatoo-consent .rp-consent-actions button:hover { background: #edf2e6; }
#reparatoo-consent button:focus-visible, #reparatoo-consent a:focus-visible, #reparatoo-consent h2:focus-visible, #reparatoo-privacy-control:focus-visible { outline: 3px solid #1f1611; outline-offset: 4px; }
#reparatoo-privacy-control { position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 9999; max-width: calc(100% - 24px); min-height: 44px; padding: 10px 16px; border: 1px solid #b9cca5; border-radius: 999px; box-shadow: 0 2px 12px #1f161122; background: #fffdf8; color: #2a4524; font: 600 .78rem/1.4 'DM Sans', system-ui, sans-serif; cursor: pointer; }
#reparatoo-privacy-browser { margin-top: 10px !important; font-weight: 600; }
.rp-consent-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button[data-analytics-preferences] { appearance: none; border: 2px solid #3d5e35; border-radius: 9px; background: #fffdf8; color: #2a4524; font: inherit; font-weight: 600; padding: 10px 14px; min-height: 44px; cursor: pointer; }
button[data-analytics-preferences]:focus-visible { outline: 3px solid #1f1611; outline-offset: 4px; }
@media (max-width: 660px) {
  #reparatoo-consent { inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 18px; gap: 14px; flex-direction: column; align-items: stretch; }
  #reparatoo-consent h2 { font-size: 1.12rem; }
  #reparatoo-consent .rp-consent-actions { flex-direction: column; }
  #reparatoo-consent .rp-consent-actions button { width: 100%; min-width: 0; }
}
