.cookie-banner[hidden]{display:none}
.cookie-banner{position:fixed;z-index:100;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow:auto;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:28px;padding:26px 28px;background:var(--card,#fff);color:var(--ink,#101425);border:1px solid var(--line,#e6eaf5);border-radius:var(--radius,24px);box-shadow:0 18px 65px rgba(19,33,80,.2);animation:cookie-appear .24s ease-out}
.cookie-eyebrow{display:block;color:var(--blue,#2b4acb);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.15em}
.cookie-banner h2,.cookie-dialog h2{margin:5px 0 10px;font-size:24px;line-height:1.2;letter-spacing:-.025em}
.cookie-banner p,.cookie-dialog p{margin:0 0 12px;color:#4f5b75;font-size:14px;line-height:1.6}
.cookie-policy{color:var(--blue,#2b4acb);text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:650}
.cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cookie-btn{border:1px solid #cbd5f4;border-radius:13px;min-height:46px;padding:11px 15px;font:inherit;font-size:14px;font-weight:750;line-height:1.35;cursor:pointer}
.cookie-btn--choice{background:var(--soft,#eef3ff);color:#213ba4}
.cookie-btn--choice:hover{background:#e0e8ff;border-color:#9bafe9}
.cookie-btn--settings{grid-column:1/-1;background:#fff;color:#45516c}
.cookie-btn--settings:hover{background:#f6f8ff}
.cookie-btn:focus-visible,.cookie-close:focus-visible,.cookie-policy:focus-visible,[data-cookie-settings]:focus-visible{outline:3px solid var(--blue,#2b4acb);outline-offset:4px}
.cookie-dialog{width:min(580px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line,#e6eaf5);border-radius:24px;padding:28px;color:var(--ink,#101425);background:#fff;box-shadow:0 28px 90px rgba(19,33,80,.25)}
.cookie-dialog[open]{animation:cookie-appear .2s ease-out}
.cookie-dialog::backdrop{background:rgba(16,20,37,.48)}
body:has(.cookie-dialog[open]){overflow:hidden}
.cookie-dialog__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.cookie-close{flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line,#e6eaf5);border-radius:13px;background:var(--soft,#eef3ff);color:#29334d;font-size:26px;cursor:pointer}
.cookie-category{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;margin:16px 0;border:1px solid var(--line,#e6eaf5);border-radius:16px;background:#fbfcff}
.cookie-category h3,.cookie-category strong{display:block;font-size:16px;font-weight:750;margin:0 0 5px}
.cookie-category p,.cookie-category__description{display:block;font-size:13px;color:#4f5b75;line-height:1.5;margin:0}
.cookie-required{font-size:11px;font-weight:750;color:#127364;background:#e8f8f4;padding:6px 9px;border-radius:999px;white-space:nowrap}
.cookie-category--optional{cursor:pointer}
.cookie-category input{flex-shrink:0;width:24px;height:24px;accent-color:var(--blue,#2b4acb);cursor:pointer}
.cookie-category input:focus-visible{outline:3px solid var(--blue,#2b4acb);outline-offset:4px}
.cookie-dialog .cookie-small{font-size:12px}
.cookie-dialog .cookie-message{color:#8a3a24;font-size:13px}
.cookie-banner .cookie-message{color:#8a3a24;font-size:13px;margin:10px 0 0}
.cookie-message:empty{display:none}
.cookie-dialog__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 16px}
.cookie-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes cookie-appear{from{opacity:0}to{opacity:1}}
@media(max-width:980px){.cookie-banner{grid-template-columns:1fr;gap:18px}.cookie-actions{grid-template-columns:1fr 1fr 1fr}.cookie-btn--settings{grid-column:auto}}
@media(max-width:580px){.cookie-banner{width:calc(100% - 24px);bottom:max(12px,env(safe-area-inset-bottom));padding:20px;border-radius:20px;max-height:calc(100dvh - 24px)}.cookie-actions{grid-template-columns:1fr 1fr}.cookie-btn--settings{grid-column:1/-1}.cookie-banner h2,.cookie-dialog h2{font-size:22px}.cookie-dialog{padding:22px 18px}.cookie-category{gap:12px;padding:14px}.cookie-required{white-space:normal;text-align:center;max-width:90px}.cookie-dialog__actions{grid-template-columns:1fr}.cookie-btn{min-height:48px}}
@media(prefers-reduced-motion:reduce){.cookie-banner,.cookie-dialog[open]{animation:none}}
