/* Uses the active Okay theme's type and company colours. The dialog covers the page until a choice is made; accept is the primary action, decline stays one click away. */
.format-consent { font:inherit; color:var(--okay-body-text,#282828); }
.format-consent [hidden], .format-consent[hidden] { display:none!important; }
.format-consent__settings { display:inline-flex; align-items:center; max-width:100%; min-height:44px; padding:10px 0; box-sizing:border-box; font:inherit; font-size:13px; line-height:1.4; overflow-wrap:anywhere; text-underline-offset:3px; cursor:pointer; }
.footer__copyright .format-consent__settings { text-decoration:underline; }
.format-consent__settings[hidden] { display:none!important; }
.format-consent__settings:focus-visible { outline:3px solid #2766a1; outline-offset:3px; }
.format-consent__panel { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); width:calc(100% - 40px); max-width:640px; max-height:calc(100vh - 44px); max-height:calc(100vh - 44px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); max-height:calc(100dvh - 44px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); overflow:auto; overscroll-behavior:contain; overflow-wrap:anywhere; z-index:100001; padding:40px; background:#fff; border:0; box-shadow:0 24px 80px #0b121c66; border-radius:20px; box-sizing:border-box; text-align:center; }
.format-consent__backdrop { display:none; position:fixed; top:0; right:0; bottom:0; left:0; z-index:100000; background:#0b121cc7; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.format-consent__panel:not([hidden]) + .format-consent__backdrop { display:block; }
.format-consent--required .format-consent__close { display:none; }
.format-consent--required .format-consent__heading { justify-content:center; }
html:has(.format-consent:not(.format-consent--card) .format-consent__panel:not([hidden])) { overflow:hidden; }
.format-consent__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; }
.format-consent__heading h2 { min-width:0; font-family:inherit; color:inherit; font-size:28px; line-height:1.25; font-weight:700; margin:0; }
.format-consent__close { display:flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; margin:-8px -8px -8px 0; padding:0; border:0; border-radius:8px; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.format-consent__close span { position:relative; display:block; width:16px; height:16px; }
.format-consent__close span::before,.format-consent__close span::after { content:""; position:absolute; top:7px; left:0; width:16px; height:1.5px; border-radius:1px; background:currentColor; transform:rotate(45deg); }
.format-consent__close span::after { transform:rotate(-45deg); }
.format-consent__close:hover { background:#f4f5f6; }
.format-consent__panel p { font-size:16px; line-height:1.55; margin:0 0 12px; }
.format-consent__documents { display:flex; justify-content:center; gap:4px 16px; flex-wrap:wrap; margin:4px 0 12px; font-size:12px; line-height:1.5; }
.format-consent__documents a { display:inline-flex; align-items:center; min-height:44px; }
.format-consent__tools { display:flex; gap:0 16px; flex-wrap:wrap; margin:16px 0 0; padding-top:8px; border-top:1px solid #e9ebee; }
.format-consent__documents a,.format-purpose-consent a { text-decoration:underline; text-underline-offset:2px; color:inherit; }
.format-consent__choices { display:flex; flex-direction:column; align-items:center; gap:6px; margin:24px 0 0; }
.format-consent__choices button { min-width:0; font:inherit; overflow-wrap:anywhere; cursor:pointer; }
.format-consent__choices .format-consent__accept { width:100%; min-height:68px; padding:16px 24px; border:0; border-radius:14px; background:var(--okay-basic-company,#00a8dc); color:#06202e; font-size:20px; line-height:1.3; font-weight:700; box-shadow:0 8px 24px #00a8dc59; }
.format-consent__choices .format-consent__accept:hover { filter:brightness(1.07); }
.format-consent__choices .format-consent__decline { min-height:44px; padding:8px 12px; border:0; background:transparent; color:#7a828c; font-size:13px; line-height:1.4; font-weight:400; text-decoration:underline; text-underline-offset:3px; }
.format-consent__choices .format-consent__decline:hover { color:#3c444e; }
.format-consent__link { min-height:44px; max-width:100%; padding:8px 0; border:0; background:transparent; font:inherit; font-size:12px; line-height:1.5; overflow-wrap:anywhere; text-align:left; text-decoration:underline; text-underline-offset:3px; cursor:pointer; color:inherit; }
.format-consent button:focus-visible,.format-consent a:focus-visible,.format-purpose-consent input:focus-visible,.format-purpose-consent a:focus-visible { outline:3px solid #2766a1; outline-offset:3px; }
.format-consent button:disabled { opacity:.55; cursor:wait; }
.format-consent__dev,.format-purpose-consent__dev { color:#775312; background:#fff6df; border-left:3px solid #b88625; padding:8px; font-size:12px; }
.format-consent__history { padding-left:20px; margin:12px 0 0; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.format-consent__status:empty { display:none; }
.format-consent__noscript { font-size:13px; padding:12px; }
.format-purpose-consent { margin:14px 0; width:100%; font-size:13px; line-height:1.45; text-align:left; color:inherit; }
.format-purpose-consent label { display:flex; align-items:flex-start; gap:9px; margin-bottom:4px; cursor:pointer; }
.format-purpose-consent input[type=checkbox] { appearance:auto!important; position:static!important; opacity:1!important; width:18px!important; height:18px!important; flex:0 0 18px; margin:1px 0 0!important; }
.format-purpose-consent__dev { display:block; margin-top:7px; }
/* Card variant: a large corner card over visible content, no page lock. */
.format-consent--card .format-consent__backdrop { display:none!important; }
.format-consent--card .format-consent__panel { left:auto; top:auto; right:24px; bottom:24px; bottom:calc(24px + env(safe-area-inset-bottom,0px)); transform:none; max-width:500px; padding:32px; text-align:left; border:1px solid #e1e4e8; border-radius:24px; box-shadow:0 24px 72px #0b121c52,0 4px 14px #0b121c1f; }
.format-consent--card .format-consent__heading,.format-consent--card.format-consent--required .format-consent__heading { justify-content:space-between; }
.format-consent--card .format-consent__heading h2 { font-size:25px; }
.format-consent--card .format-consent__documents { flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:0; margin:4px 0 8px; font-size:14px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; }
.format-consent--card .format-consent__documents a { color:#2766a1; text-decoration:none; }
.format-consent--card .format-consent__documents a:hover { text-decoration:underline; }
.format-consent--card .format-consent__choices { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 20px; margin:20px 0 0; }
.format-consent--card .format-consent__choices .format-consent__accept { width:auto; min-width:180px; min-height:56px; padding:14px 40px; font-size:19px; }
@media(max-width:480px) { .format-consent--card .format-consent__panel { right:12px; bottom:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:calc(100% - 24px); padding:24px 20px; } .format-consent--card .format-consent__heading h2 { font-size:22px; } .format-consent--card .format-consent__choices .format-consent__accept { width:100%; } }
@media(max-width:480px) { .format-consent__panel { width:calc(100% - 24px); max-height:calc(100vh - 36px); max-height:calc(100vh - 36px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); max-height:calc(100dvh - 36px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); padding:28px 20px; } .format-consent__heading h2 { font-size:23px; } .format-consent__choices .format-consent__accept { min-height:64px; font-size:18px; } }
@media(prefers-reduced-motion:reduce) { .format-consent *, .format-purpose-consent * { scroll-behavior:auto; transition:none; animation:none; } }
