.op-consent { color: #112332; }
.op-consent [hidden] { display: none !important; }
html.op-consent-modal-open { overflow: hidden; }
.op-consent-dialog { color: #112332; background: #fff; width: min(34rem, calc(100% - 2rem)); max-width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); margin: auto; padding: 1.5rem; border: 1px solid #dbe4ed; border-radius: 1rem; box-shadow: 0 1.5rem 5rem rgb(9 28 55 / .22); overflow: auto; overscroll-behavior: contain; }
.op-consent-dialog::backdrop { background: rgb(10 27 48 / .32); }
.op-consent-dialog h2 { margin: 0 2rem .75rem 0; font-size: clamp(1.4rem, 3vw, 1.65rem); line-height: 1.2; letter-spacing: -.02em; }
.op-consent-dialog h2:focus { outline: none; }
.op-consent-dialog h3 { font-size: 1rem; margin: 0 0 .4rem; }
.op-consent-dialog p { font-size: 1rem; line-height: 1.45; margin: .5rem 0 .85rem; overflow-wrap: anywhere; }
.op-consent-dialog .op-consent-eyebrow { margin: 0 2rem .5rem 0; color: #0050a4; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.op-consent-close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #365167; background: transparent; border: 0; border-radius: 50%; }
.op-consent-close:hover { background: #edf3f8; }
.op-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .65rem; }
.op-consent-actions .btn { min-width: 0; min-height: 46px; padding: .65rem .5rem; font-size: 1rem; line-height: 1.3; font-weight: 600; white-space: normal; overflow-wrap: anywhere; border: 1px solid #0047a7; border-radius: .45rem; color: #0047a7; background: #fff; }
.op-consent-actions .btn:hover { color: #00357f; background: #edf3fc; }
.op-consent-details { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; max-width: 100%; margin: .5rem auto 0; padding: .5rem; color: #0047a7; background: transparent; border: 0; text-align: center; text-decoration: underline; text-underline-offset: .2em; font-size: .95rem; font-weight: 600; }
.op-consent-details svg { flex: 0 0 auto; }
.op-consent-dialog .op-consent-age-notice { margin: .75rem 0 0; font-size: .875rem; color: #365167; line-height: 1.45; }
.op-consent-dialog .op-consent-information { margin: .5rem 0 1rem; font-size: .875rem; color: #365167; }
.op-consent-decision { border-top: 1px solid #dbe4ed; padding-top: .9rem; }
.op-consent-dialog .op-consent-decision .op-consent-age-notice { margin: 0; }
.op-consent-dialog .op-consent-technical { margin: .85rem 0 0; font-size: .8125rem; line-height: 1.45; color: #365167; }
.op-consent-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; margin-top: .85rem; padding-top: .4rem; border-top: 1px solid #dbe4ed; }
.op-consent-back { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; margin: 0; padding: .5rem 0; background: transparent; border: 0; color: #365167; text-decoration: underline; text-underline-offset: .2em; font-size: .95rem; }
.op-consent-dialog .op-consent-state { margin: 1rem 0 .5rem; font-size: .9rem; color: #365167; }
.op-consent-expiry-icon { display: none; }
.op-consent-dialog .op-consent-state.op-consent-expiry { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .55rem; align-items: start; padding: .65rem; background: #f3f6f9; border-radius: .5rem; font-size: .875rem; line-height: 1.45; }
.op-consent-dialog .op-consent-expiry .op-consent-expiry-icon { display: block; margin-top: .1rem; }
.op-consent-back svg { flex-shrink: 0; }
.op-consent-status-icon { display: none; }
.op-consent-toast { position: fixed; z-index: 1036; left: calc(16px + env(safe-area-inset-left, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: max-content; max-width: min(28rem, calc(100% - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); display: grid; grid-template-columns: 20px minmax(0, 1fr) 32px; align-items: start; gap: .6rem; padding: .75rem; margin: 0 auto; color: #14253f; background: #fff; border: 1px solid #dbe4ed; border-radius: .65rem; box-shadow: 0 4px 20px rgb(9 28 55 / .16); font-size: .9rem; line-height: 1.4; pointer-events: none; }
.op-consent-toast .op-consent-status-icon { display: block; margin-top: .3rem; color: #0050a4; }
.op-consent-status-error { display: none; }
.op-consent-toast[data-kind="error"] .op-consent-status-icon { color: #8c2c1f; }
.op-consent-toast[data-kind="error"] .op-consent-status-check { display: none; }
.op-consent-toast[data-kind="error"] .op-consent-status-error { display: block; }
.op-consent-toast [data-p05b-status-text] { align-self: center; min-width: 0; overflow-wrap: anywhere; overflow-y: auto; pointer-events: auto; }
.op-consent-toast [data-p05b-status-text]:focus-visible { outline: 2px solid #0050a4; outline-offset: 2px; }
.op-consent-status-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: #365167; background: transparent; border: 0; border-radius: .3rem; pointer-events: auto; }
.op-consent-status-close:hover { background: #edf3f8; }
.op-consent-privacy-link { display: inline-flex; align-items: center; min-height: 24px; color: #365167; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.op-consent-footer .op-consent-privacy-link { min-height: 44px; }
.op-consent-current { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .65rem; align-items: center; margin: .75rem 0 1rem; padding: .75rem; background: #f3f6f9; border-radius: .5rem; color: #365167; }
.op-consent-current-label { display: block; margin-bottom: .2rem; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.op-consent-current strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.4; color: #112332; }
.op-privacy-launcher { position: fixed; z-index: 1035; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; padding: 0; display: grid; place-items: center; background: #0032a0; color: #fff; border: 1px solid #d0ddeb; border-radius: 50%; box-shadow: 0 3px 15px rgb(9 28 55 / .2); }
.op-privacy-launcher:hover { background: #002d72; }
/* This sheet is loaded only with consent UI. Reserve a stable rail for the
   small footer targets and left-aligned primary CTAs; never move the shield. */
.op-footer .op-wrap { padding-inline-start: max(80px, calc(80px + env(safe-area-inset-left, 0px)), var(--q-gutter, 64px)); }
.op-home { --op-consent-cta-inset: max(0px, calc(80px + env(safe-area-inset-left, 0px) - var(--q-gutter))); }
.op-home .q09 .q09-btn { margin-inline-start: var(--op-consent-cta-inset); max-width: calc(100% - var(--op-consent-cta-inset)); }
@media (width < 1000px) {
 .op-home .q06-scene :is(.q06-apply,.q06-all) { margin-inline-start: var(--op-consent-cta-inset); max-width: calc(100% - var(--op-consent-cta-inset)); }
}
@media (max-width: 767px) {
 .op-home .op-next .btn { margin-inline-start: var(--op-consent-cta-inset); max-width: calc(100% - var(--op-consent-cta-inset)); }
}
.op-dev-consent-reset { max-width: 42rem; margin: 3rem auto; padding: 1.5rem; }
.op-dev-consent-reset h1 { font-size: 2rem; }
.op-consent :is(button,a,input):focus-visible { outline: 3px solid #0050a4; outline-offset: 3px; }
.op-consent .op-privacy-launcher:focus-visible { box-shadow: 0 0 0 6px #fff; }
.op-footer [data-p05b-settings] { color: inherit; background: transparent; border: 0; padding: .4rem 0; text-align: left; text-decoration: underline; min-height: 44px; }
.op-privacy-preview-note { padding: 1rem 1.25rem; margin-block: 1.5rem; border-left: 4px solid #0050a4; background: #edf4fb; }
.op-privacy-preview-note p { margin: .5rem 0 0; }
@media (max-width: 480px) {
 .op-consent-dialog { padding: 1.25rem; }
}
