/* ORM toolbar layout, adapted to the public ZZL palette and local Geologica. */
.analytics-consent, .analytics-settings { --cookie-bg: #111111; --cookie-accent: #c8381a; --cookie-soft: #e8a08f; font-family: 'Geologica', 'Segoe UI', sans-serif; }
.analytics-consent[hidden], .analytics-settings[hidden], .cookie-preferences[hidden] { display: none; }
.analytics-consent, .analytics-consent *, .analytics-settings { box-sizing: border-box; }
.analytics-consent { position: fixed; inset: auto 0 0; z-index: 10000; background: var(--cookie-bg); color: #fff; border-top: 1px solid #ffffff14; box-shadow: 0 -8px 40px #0005; max-height: calc(100dvh - 24px); overflow-y: auto; animation: cookie-toolbar-enter .25s ease-out; }
.cookie-toolbar-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; }
.cookie-toolbar-row { display: flex; align-items: center; gap: 12px; }
.cookie-toolbar-copy { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.cookie-toolbar-icon { color: var(--cookie-soft); flex-shrink: 0; margin-top: 2px; }
.analytics-consent p { margin: 0; font-size: 13px; line-height: 1.65; color: #ffffffb8; }
.cookie-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-shrink: 0; }
.analytics-consent button { font: inherit; cursor: pointer; }
.cookie-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; padding: 8px 16px; min-height: 36px; border: 1px solid transparent; transition: background .18s, border-color .18s; }
.analytics-consent .cookie-button { font-size: 12px; font-weight: 600; }
.analytics-consent .cookie-button-settings { background: #ffffff0f; border-color: #ffffff1a; color: #ffffffb3; padding: 8px 12px; font-weight: 400; }
.cookie-button-secondary { background: #ffffff14; border-color: #ffffff26; color: #fff; }
.cookie-button-primary { background: var(--cookie-accent); color: #fff; }
.cookie-button-primary:hover { background: #b03015; }
.cookie-button-settings:hover, .cookie-button-secondary:hover { background: #ffffff24; border-color: #ffffff40; }
.cookie-close { display: inline-flex; align-items: center; justify-content: center; padding: 8px; min-width: 32px; min-height: 36px; border: 0; border-radius: 8px; background: transparent; color: #ffffff80; }
.cookie-close:hover { background: #ffffff1a; color: #fff; }
.cookie-more { display: inline; padding: 0; border: 0; background: transparent; color: var(--cookie-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-more:hover { color: #f7c6ba; }
.cookie-chevron { transition: transform .18s; }
[data-cookie-expand][aria-expanded="true"] .cookie-chevron { transform: rotate(180deg); }
.cookie-preferences { border-bottom: 1px solid #ffffff14; }
.cookie-preferences .cookie-toolbar-inner { padding-top: 20px; padding-bottom: 20px; }
.analytics-consent .cookie-preferences-intro { margin-bottom: 16px; font-size: 12px; color: #ffffffa3; }
.cookie-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cookie-category { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #ffffff14; border-radius: 12px; background: #ffffff0a; }
.cookie-category-copy { flex: 1; min-width: 0; }
.cookie-category h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; color: #fff; font-size: 13px; line-height: 1.5; font-weight: 600; }
.analytics-consent .cookie-category p { color: #ffffffa3; font-size: 11px; }
.cookie-required { padding: 2px 6px; border-radius: 100px; background: #c8381a26; color: var(--cookie-soft); font-size: 10px; font-weight: 400; }
.cookie-switch { position: relative; flex-shrink: 0; margin-top: 2px; width: 40px; height: 22px; padding: 0; border: 0; border-radius: 11px; background: #ffffff26; transition: background .2s; }
.cookie-switch span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cookie-switch[aria-checked="true"] { background: var(--cookie-accent); }
.cookie-switch[aria-checked="true"] span { transform: translateX(18px); }
.cookie-switch:disabled { cursor: not-allowed; opacity: .7; }
.analytics-settings { position: fixed; bottom: 12px; left: 16px; z-index: 9999; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #ddd8d1; border-radius: 100px; background: #f7f4ef; color: #555; font-size: 11px; cursor: pointer; box-shadow: 0 2px 10px #0001; }
.analytics-settings svg { color: var(--cookie-accent); }
.analytics-settings:hover { background: #f0ebe3; }
.analytics-consent button:focus-visible, .analytics-settings:focus-visible { outline: 2px solid var(--cookie-soft); outline-offset: 3px; }
button.footer-slim__link { padding: 0; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
@keyframes cookie-toolbar-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 900px) { .cookie-toolbar-row { flex-direction: column; align-items: flex-start; } }
@media (max-width: 639px) {
    .cookie-toolbar-inner { padding: 16px; }
    .cookie-categories { grid-template-columns: 1fr; }
    .cookie-toolbar-actions { width: 100%; gap: 8px; }
    .cookie-button { flex: 1 1 auto; }
    .cookie-close { flex-shrink: 0; }
    .analytics-consent p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .analytics-consent { animation: none; } .analytics-consent *, .analytics-settings { transition: none; } }
