/* Compact consent card at the bottom; choices stay equally prominent. */
.privacy-banner { position: fixed; z-index: 1100; left: 16px; right: 16px; bottom: 16px; max-width: 1100px; margin: 0 auto; padding: 16px 18px; background: #fff; border: 1px solid #a7bacb; border-radius: 8px; box-shadow: 0 4px 24px #172e3b26; }
.privacy-inner { display: grid; grid-template-columns: minmax(0,1fr) 304px; align-items: center; gap: 18px; width: 100%; max-width: none; max-height: calc(100dvh - 68px); margin: 0; }
.privacy-copy { min-width: 0; min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.privacy-banner h2 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 6px; }
.privacy-banner p { font-size: 1rem; line-height: 1.45; margin: 0; }
.privacy-banner a { text-decoration: underline; text-underline-offset: .2em; }
.privacy-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; min-width: 0; }
.privacy-choice { min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #315bcc; border-radius: 5px; background: #fff; color: #172e3b; font: inherit; font-size: .9375rem; line-height: 1.35; font-weight: 600; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.privacy-choice:hover { background: #f1f5fb; }
.privacy-banner [data-privacy-status] { margin-top: 6px; font-size: .875rem; font-weight: 600; }
.privacy-actions [data-privacy-keep] { position: absolute; top: 5px; right: 5px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 0; }
.privacy-actions [data-privacy-keep]::before { content: '×'; font-size: 25px; font-weight: 400; }
.privacy-copy:has([data-privacy-status]:not([hidden])) h2 { padding-right: 30px; }
.privacy-settings { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; color: inherit; background: none; font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.privacy-banner:focus { outline: none; }
.privacy-banner:focus-visible { outline: 3px solid #172e3b; outline-offset: 3px; }
body { padding-bottom: var(--privacy-space,0px); }
html { scroll-padding-bottom: var(--privacy-space,0px); }
@media(max-width:850px) { .privacy-inner { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; gap: 12px; } }
@media(max-width:640px) { .privacy-banner { left: 12px; right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); padding: 14px; } .privacy-inner { max-height: calc(100dvh - 56px - env(safe-area-inset-bottom)); } .privacy-choice { padding: 10px 8px; } }

@media(min-width:851px) { .privacy-banner:has([data-privacy-keep]:not([hidden])) { padding-right: 62px; } }

/* Short mobile labels retain the full button names for assistive technology. */
.privacy-label-short { display: none; }
@media(max-width:640px) {
  .privacy-banner { left: 8px; right: 8px; bottom: max(8px,env(safe-area-inset-bottom)); padding: 12px; box-shadow: 0 2px 12px #172e3b1a; }
  .privacy-inner { gap: 8px; }
  .privacy-banner h2 { font-size: 1rem; margin-bottom: 4px; }
  .privacy-banner p { line-height: 1.35; }
  .privacy-secondary { display: none; }
  .privacy-choice { padding: 8px; }
  .privacy-label-short { display: block; }
  .privacy-label-full { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}
