/* Deliberately scoped: consent stays readable over both site themes. */
.aj-consent[hidden], .aj-consent [hidden] { display:none !important; }
.aj-consent { position:fixed; z-index:100000; bottom:24px; left:24px; width:460px; max-width:calc(100vw - 48px); max-height:calc(100dvh - 48px); overflow:auto; padding:26px; border:1px solid #dce4ee; border-radius:20px; background:#fff; color:#10243b; box-shadow:0 18px 70px #081b3433; font-family:inherit; }
.aj-consent__top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.aj-consent__top span { font-size:10px; letter-spacing:1.6px; font-weight:700; color:#526880; }
.aj-consent .aj-consent__top button { border:0; background:#eef3f8; color:#223b56; border-radius:50%; width:32px; height:32px; flex-shrink:0; font-size:24px; line-height:1; cursor:pointer; }
.aj-consent h2 { color:#10243b; font-size:26px; line-height:1.2; letter-spacing:-.7px; margin:0 0 12px; }
.aj-consent p, .aj-consent__description { color:#53667c; font-size:13px; line-height:1.7; margin:0 0 18px; display:block; }
.aj-consent a { color:#1460ad; text-decoration:underline; }
.aj-consent__actions { display:flex; flex-wrap:wrap; gap:8px; }
.aj-consent__actions button { flex:1 1 110px; min-height:44px; padding:10px 12px; border:1px solid #b6c5d6; border-radius:10px; color:#163c66; background:#f4f7fb; font-size:12px; font-weight:600; line-height:1.4; cursor:pointer; }
.aj-consent__actions button:hover { background:#e6eff9; }
.aj-consent__actions [data-save], .aj-consent__actions [data-notify] { color:#fff; background:#155b9f; border-color:#155b9f; }
.aj-consent__actions button:disabled { opacity:.6; cursor:wait; }
.aj-consent button:focus-visible,.aj-consent input:focus-visible,.aj-consent-link:focus-visible { outline:3px solid #348be7; outline-offset:3px; }
.aj-consent__option { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 0; border-top:1px solid #e1e8f0; }
.aj-consent__option strong { font-size:14px; color:#10243b; }
.aj-consent__option p,.aj-consent__description { margin:4px 0 0; font-size:12px; }
.aj-consent__option input { width:20px; height:20px; accent-color:#155b9f; flex-shrink:0; }
.aj-consent [data-details] { margin-bottom:18px; }
.aj-consent [data-notifications]:not(:first-child) { margin-top:20px; }
.aj-consent-link { padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
@media(max-width:560px) { .aj-consent { left:12px; bottom:max(12px,env(safe-area-inset-bottom)); width:calc(100vw - 24px); max-width:none; max-height:calc(100dvh - 24px); padding:20px; border-radius:16px; } .aj-consent h2 { font-size:24px; } }

.aj-consent__actions [data-save]:hover, .aj-consent__actions [data-notify]:hover { background:#104b85; color:#fff; }
