/* Non-modal notice. The page stays clear, scrollable and interactive. */
.consent-dialog {
  position: fixed; inset: auto auto 20px 20px; z-index: 1000; margin: 0;
  width: min(400px, calc(100vw - 40px)); max-width: none;
  max-height: calc(100dvh - 40px); overflow-y: auto; box-sizing: border-box;
  padding: 22px; border: 1px solid #dce3ed; border-radius: 18px;
  color: #1b2a42; background: #fff; box-shadow: 0 8px 36px #1020391c;
}
.consent-dialog::backdrop { background: transparent; backdrop-filter: none; }
.consent-dialog h2 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; padding-right: 25px; }
.consent-dialog p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; }
.consent-dialog [hidden] { display: none !important; }
.consent-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f4f7fc; color: #263c5b; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.consent-actions { display: flex; gap: 8px; flex-wrap: nowrap; margin-top: 14px; }
.consent-actions button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 10px 8px; font-size: 13px; font-weight: 600; color: #1b2a42; }
.consent-actions button:hover, .consent-close:hover { background: #e8effb; border-color: #829dc9; }
.consent-dialog button:focus-visible, .consent-dialog a:focus-visible { outline: 3px solid #2358d8; outline-offset: 3px; }
.consent-dialog .consent-status { color: #3b5275; font-size: 12px; }
.consent-dialog .consent-details { font-size: 11px; margin-bottom: 0; }
.consent-dialog .consent-details a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .consent-dialog { inset: auto auto 12px 12px; margin: 0; width: calc(100vw - 24px); max-width: 400px; max-height: calc(100dvh - 24px); padding: 18px; border-radius: 16px; }
}
@media print { .consent-dialog { display: none; } }
