.marketing-preferences{position:fixed;bottom:12px;left:12px;z-index:90;border:1px solid #afc5cf;border-radius:20px;padding:9px 14px;background:#fffdf8;color:#173a59;font:500 .78rem/1.4 system-ui;cursor:pointer;box-shadow:0 3px 15px #173a5915}
.marketing-consent{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:100;width:min(820px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #cadde6;border-radius:22px;background:#fffdf8;color:#173a59;box-shadow:0 12px 70px #173a5940;font:400 .88rem/1.55 system-ui}
.marketing-consent h2{font:500 1.4rem/1.3 Georgia,serif;color:#173a59;margin:0 0 10px}.marketing-consent p{margin:10px 0}.marketing-consent a{color:#285875;text-decoration:underline}.marketing-consent-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.marketing-consent-actions button{flex:1;min-width:180px;padding:12px;border:1px solid #397b99;border-radius:12px;background:#e6f1f6;color:#173a59;font:600 .85rem/1.4 system-ui;cursor:pointer}.marketing-consent button:focus-visible,.marketing-preferences:focus-visible{outline:3px solid #4d9ec4;outline-offset:3px}
@media(max-width:600px){.marketing-consent{padding:18px;bottom:10px}.marketing-consent-actions{flex-direction:column}.marketing-consent-actions button{min-width:0}}

/* In the app, keep preferences in the sidebar flow above language and logout. */
.marketing-preferences--sidebar{position:static;order:-1;z-index:auto;box-sizing:border-box;width:100%;padding:10px 8px;white-space:normal;overflow-wrap:anywhere;border-color:#ffffff50;border-radius:10px;background:#ffffff0d;color:#fff;box-shadow:none;font-size:.78rem}
.dashboard__sidebar:has(.marketing-preferences--sidebar){overflow-y:auto;min-height:0;height:100dvh}
.dashboard__sidebar:has(.marketing-preferences--sidebar)>*{flex-shrink:0}
.dashboard__sidebar-bottom:has(.marketing-preferences--sidebar){flex-shrink:0;padding-top:16px}
@media(max-width:720px){
 .dashboard__sidebar:has(.marketing-preferences--sidebar){height:auto;overflow:visible}
 .dashboard__sidebar-bottom:has(.marketing-preferences--sidebar){display:grid;grid-template-columns:auto auto;gap:8px;padding-top:0}
 .marketing-preferences--sidebar{grid-column:1/-1;grid-row:1}
}

.marketing-preferences--landing{position:static;z-index:auto;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:break-word;box-shadow:none}
/* vh fallback for WebViews without dynamic viewport units. */
.marketing-consent{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
