/* Cookie consent banner (built by consent.js) and the footer's "Cookie settings" button. White card, black ink, the one 1Me blue. */
.cookie-consent { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(460px, calc(100vw - 48px)); color: var(--ink); font-family: var(--font); }
.cookie-consent[hidden] { display: none; }
.cookie-consent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: 0 24px 70px rgba(0, 0, 0, .16); outline: none; }
.cookie-consent-card:focus-visible { box-shadow: 0 24px 70px rgba(0, 0, 0, .16), 0 0 0 3px var(--blue-soft); }
.cookie-consent-head { display: flex; align-items: center; gap: 12px; }
.cookie-consent-icon { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.cookie-consent h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.cookie-consent-card > p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--body); }
.cookie-consent-card > p a { color: var(--blue); font-weight: 500; }
.cookie-consent-options { display: grid; gap: 10px; margin-top: 16px; }
.cookie-consent-options[hidden] { display: none; }
.cookie-consent-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--flat); cursor: pointer; }
.cookie-consent-option strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.cookie-consent-option small { display: block; font-size: 13px; line-height: 1.55; color: var(--body); margin-top: 3px; }
.cookie-consent-option input { accent-color: var(--blue); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; cursor: pointer; }
.cookie-consent-option input:disabled { opacity: .7; cursor: not-allowed; }
.cookie-consent-option:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--blue-soft); }
.cookie-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.cookie-consent-actions .button[hidden] { display: none; }
.cookie-consent-manage { margin-left: auto; background: none; border: 0; padding: 8px 0; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-consent-manage:hover { color: var(--blue); }
.site-cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.site-cookie-settings:hover { color: #fff; }
.prose .site-cookie-settings.inline { color: var(--blue); font-weight: 500; }
.prose .site-cookie-settings.inline:hover { text-decoration: underline; color: var(--blue); }
@media (max-width: 700px) { .cookie-consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); } .cookie-consent-card { padding: 20px; } .cookie-consent-actions .button { flex: 1 1 140px; } .cookie-consent-manage { margin-left: 0; width: 100%; text-align: left; } }
@media (prefers-reduced-motion: no-preference) { .cookie-consent-card { animation: cookie-consent-in .45s cubic-bezier(.22, 1, .36, 1); } }
@keyframes cookie-consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media print { .cookie-consent { display: none; } }
