
.cookie-banner[hidden]{display:none}
.cookie-banner{position:fixed;inset:auto 20px 16px;z-index:50;margin:auto;width:min(1140px,calc(100% - 40px));max-height:calc(100svh - 32px);overflow:auto;padding:18px 24px;background:rgba(249,249,246,.97);color:#172c3c;border:1px solid #d6dcd9;border-radius:8px;box-shadow:0 5px 24px #0c1c2914;backdrop-filter:blur(12px);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 28px;font-size:13px;line-height:1.6}
.cookie-banner h2{font-size:17px;margin:0;letter-spacing:-.02em}.cookie-banner p{margin:0;color:#526773;grid-column:1}.cookie-banner a{text-decoration:underline;text-underline-offset:3px}.cookie-actions{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:10px}.cookie-actions .button{min-height:42px;min-width:105px;padding:10px 16px;border:1px solid #a6b3b9;background:transparent;color:#173346;cursor:pointer;border-radius:4px;font-size:12px}.cookie-actions .button[data-cookie-accept]{background:#173346;color:#fff;border-color:#173346}.cookie-actions .button:hover{transform:none;background:#e2e8e7}.cookie-actions .button[data-cookie-accept]:hover{background:#284b60}
.cookie-settings{border:0;padding:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font:inherit}.cookie-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.cookie-banner{inset:auto 12px 12px;width:calc(100% - 24px);padding:16px 18px;grid-template-columns:1fr;gap:8px}.cookie-actions{grid-column:1;grid-row:auto;margin-top:4px}.cookie-actions .button{flex:1;min-width:0}.cookie-banner h2{font-size:16px}}

/* Explicit contrast inside the light preferences dialog. */
#window-preferences .mac-content{background:#f6f5f0;color:#172c3c}
#window-preferences #cookie-banner{background:transparent;color:#172c3c;position:static;width:100%;padding:0;border:0;box-shadow:none;display:block}
#window-preferences #cookie-banner[hidden]{display:none}
#window-preferences #cookie-title{color:#172c3c;font-size:23px;font-weight:500;line-height:1.3;margin:0 0 16px;opacity:1}
#window-preferences #cookie-description{color:#455e6c;font-size:14px;font-weight:400;line-height:1.8;margin:0 0 26px;opacity:1}
#window-preferences #cookie-description a{color:#234e65;text-decoration:underline;text-underline-offset:3px}
#window-preferences .cookie-actions{display:flex;gap:14px;flex-wrap:wrap}
#window-preferences .cookie-actions .button{flex:1;min-height:48px;min-width:120px;border-radius:5px;border:1px solid #607785;background:transparent;color:#173346;font-size:13px;font-weight:600;cursor:pointer}
#window-preferences .cookie-actions [data-cookie-accept]{background:#173346;border-color:#173346;color:#fff}
#window-preferences .cookie-actions .button:hover{background:#e9b14c;border-color:#e9b14c;color:#142b3b;transform:none}
#window-preferences .mac-titlebar .mac-caption{color:#455e6c}