#rmba-preferences { padding: 16px 20px; text-align: center; background: #fff; }
#rmba-preferences button { border: 0; padding: 8px; background: none; color: #475569; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
#rmba-consent { position: fixed; z-index: 99990; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: 20px max(20px, calc((100% - 1200px) / 2)); background: #fff; color: #182029; border-top: 1px solid #dce2e7; box-shadow: 0 -6px 24px #17202a12; font: 14px/1.5 system-ui, sans-serif; letter-spacing: 0; max-height: 70vh; overflow: auto; box-sizing: border-box; }
#rmba-consent[hidden] { display: none !important; }
#rmba-consent .rmba-copy { flex: 1; min-width: 0; }
#rmba-consent strong { font-size: 16px; font-weight: 650; }
#rmba-consent p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
#rmba-consent a { color: #1263cb; text-decoration: underline; }
#rmba-consent .rmba-actions { display: flex; gap: 10px; flex: 0 0 auto; }
#rmba-consent button { min-height: 44px; padding: 10px 16px; border: 1px solid #a8b4c1; border-radius: 6px; background: #fff; color: #182029; font: 600 14px/1.4 system-ui, sans-serif; cursor: pointer; white-space: normal; }
#rmba-consent button:hover { background: #f1f5f9; }
#rmba-consent button:focus-visible, #rmba-preferences button:focus-visible { outline: 3px solid #4285f4; outline-offset: 3px; }
body:has(#rmba-consent:not([hidden])) { padding-bottom: var(--rmba-consent-height, 180px); }
#rmba-qa { margin: 20px; padding: 20px; border: 1px dashed #4285f4; color: #182029; background: #fff; }
#rmba-qa a { display: inline-block; margin: 8px 20px 8px 0; text-decoration: underline; }
#rmba-status { display: block; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  #rmba-consent { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  #rmba-consent .rmba-actions { display: grid; grid-template-columns: 1fr 1fr; }
  #rmba-consent button { padding: 10px 8px; }
}
