.cookie-notice[hidden] { display: none; }
.cookie-notice {
  box-sizing: border-box; position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom));
  z-index: 1000; max-width: 1050px; margin-inline: auto; padding: 22px;
  border: 1px solid #cbd4e6; border-top: 3px solid #0d1a3a; border-radius: 4px; background: #fff; color: #0d1a3a;
  box-shadow: 0 30px 60px -20px rgba(13, 26, 58, .45); font: 16px/1.6 "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  max-height: 45dvh; overflow: auto; text-align: left;
}
.cookie-notice h2 { margin: 0 0 6px; padding: 0; border: 0; color: #0d1a3a; font: 600 19px/1.4 "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.01em; }
.cookie-notice p { margin: 0 0 14px; max-width: none; color: #46526e; font-size: 15px; }
.cookie-notice p a { display: inline; min-height: 0; border: 0; border-radius: 0; padding: 0; color: #0f46b8; font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.cookie-notice button, .cookie-notice a { box-sizing: border-box; min-height: 44px; border-radius: 10px; padding: 10px 16px; font: 600 15px/1.5 "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.cookie-notice button { background: #1560ee; color: #fff; border: 1.5px solid #1560ee; cursor: pointer; }
.cookie-notice button:hover { background: #0f46b8; border-color: #0f46b8; }
.cookie-notice button[data-cookie-choice="all"], .cookie-notice button[data-cookie-choice="decline"] { background: transparent; border-color: #9aa8c4; color: #0d1a3a; }
.cookie-notice button[data-cookie-choice="all"]:hover, .cookie-notice button[data-cookie-choice="decline"]:hover { background: #f2f4f9; border-color: #0d1a3a; }
.cookie-notice a { color: #0f46b8; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice :is(a,button):focus-visible { outline: 3px solid #6a2df0; outline-offset: 3px; }
.cookie-settings-link { background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.auth-legal-note { color: #475569; font-size: 13px; line-height: 1.6; margin: 12px 0 0; }
.auth-legal-note a { color: #4338ca; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .cookie-notice { inset-inline: 10px; padding: 14px; max-height: 40dvh; } .cookie-notice h2 { font-size: 17px; margin-bottom: 3px; } .cookie-notice p { font-size: 14px; line-height: 1.45; margin-bottom: 8px; } .cookie-notice-actions { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(105px,.9fr); gap: 7px; } .cookie-notice-actions button { width: 100%; min-height: 42px; padding: 8px; text-align: center; font-size: 14px; } .cookie-notice-actions button:nth-child(3) { grid-column: 1 / -1; } }
@media (forced-colors: active) { .cookie-notice { border: 2px solid CanvasText; } }
