/* Privacy UI is self-contained; no external fonts or resources. */
.consent-banner[hidden], .consent-dialog:not([open]), [data-cookie-settings][hidden] { display: none !important; }
.consent-banner {
  position: fixed; z-index: 1000; inset: auto 1.25rem 1.25rem; max-width: 1160px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.5rem 1.75rem; border: 1px solid #d4dfeb; border-radius: 18px;
  background: #fff; color: #112d4a; box-shadow: 0 12px 60px #0c284d24;
  font-family: inherit; text-align: left;
}
.consent-banner h2 { margin: 0 0 .4rem; font-family: inherit; font-size: 1.05rem; line-height: 1.4; letter-spacing: -.01em; color: #112d4a; }
.consent-banner p { margin: 0 0 .4rem; max-width: 650px; font-size: .83rem; line-height: 1.6; color: #4b6076; }
.consent-actions { flex: 0 0 210px; display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }
.consent-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1rem; border: 1px solid #163b64; border-radius: 9px; background: #fff; color: #163b64; font-family: inherit; font-size: .83rem; font-weight: 600; line-height: 1.25; cursor: pointer; transition: background .15s ease; }
.consent-button:hover { background: #edf4fa; }
.consent-button-primary { background: #163b64; color: #fff; }
.consent-button-primary:hover { background: #0d294a; }
.consent-settings-link { min-height: 32px; padding: .2rem .5rem; border: 0; background: transparent; color: #274c72; font: inherit; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-policy-link { color: #204e7e; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.consent-dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 2rem)); max-height: min(86dvh, 850px); overflow-y: auto; margin: auto; padding: 2rem; border: 1px solid #d4dfeb; border-radius: 20px; color: #112d4a; background: #fff; box-shadow: 0 24px 100px #081b4850; font-family: inherit; }
.consent-dialog::backdrop { background: #071e3c99; backdrop-filter: blur(5px); }
.consent-dialog.is-fallback { z-index: 1100; outline: 100vmax solid #071e3c99; }
.consent-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.consent-eyebrow { font-size: .66rem; font-weight: 700; letter-spacing: .13em; color: #365e86; }
.consent-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: #eff4f8; color: #183c62; border: 0; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.consent-close:hover { background: #dde8f2; }
.consent-dialog h2 { margin: 0 0 .8rem; font-family: inherit; color: #112d4a; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; letter-spacing: -.04em; }
.consent-dialog > p { margin: 0 0 1.5rem; color: #4b6076; font-size: .9rem; line-height: 1.65; }
.consent-category { padding: 1.1rem 0; border-top: 1px solid #dbe4ed; }
.consent-category-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .5rem; }
.consent-category h3 { margin: 0; font-family: inherit; font-size: .94rem; font-weight: 700; letter-spacing: -.015em; color: #173c63; }
.consent-category-status { display: inline-block; padding: .2rem .6rem; border-radius: 20px; background: #e8f2ed; color: #22613e; font-size: .65rem; font-weight: 700; white-space: nowrap; }
.consent-category-inactive .consent-category-status { background: #edf1f5; color: #475b70; }
.consent-category p { margin: 0; color: #50647a; font-size: .8rem; line-height: 1.65; }
.consent-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.consent-live-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent-noscript { padding: 1rem 1.5rem; margin: 0; text-align: center; color: #173c63; background: #eff4f8; font-size: .8rem; }
.consent-button:focus-visible, .consent-close:focus-visible, .consent-settings-link:focus-visible, .consent-policy-link:focus-visible { outline: 3px solid #1684cc; outline-offset: 4px; }
@media (max-width: 680px) {
  .consent-banner { inset: auto .65rem .65rem; padding: 1rem 1.1rem; flex-direction: column; gap: .9rem; align-items: stretch; max-height: calc(100dvh - 1.3rem); overflow-y: auto; border-radius: 14px; }
  .consent-banner h2 { font-size: .98rem; }
  .consent-banner p { font-size: .75rem; line-height: 1.5; }
  .consent-actions { flex: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions .consent-settings-link { grid-column: 1 / -1; }
  .consent-button { font-size: .76rem; padding: .65rem .6rem; }
  .consent-dialog { padding: 1.3rem; border-radius: 15px; }
  .consent-dialog-heading { margin-bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .consent-button { transition: none; } }
@media print { .consent-banner, .consent-dialog, .consent-live-status, [data-cookie-settings] { display: none !important; } }
