/* The matching spacer keeps the last page controls scrollable above the notice. */
.privacy-notice {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem max(1rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: #f1f5f9;
  color: #1e293b;
  border-top: 1px solid #cbd5e1;
  font: 0.875rem/1.5 system-ui, sans-serif;
}
.privacy-notice p { flex: 1 1 24rem; margin: 0; }
.privacy-notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.privacy-notice a { color: #1e293b; text-decoration: underline; padding: 0.625rem 0; }
.privacy-notice button {
  color: #1e293b;
  background: #fff;
  border: 1px solid #64748b;
  border-radius: 0.375rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  cursor: pointer;
}
.privacy-notice :is(a, button):focus-visible { outline: 2px solid #1e293b; outline-offset: 3px; }
