.analytics-consent [hidden] { display: none !important; }
.analytics-consent__pixel { position: fixed; bottom: 0; left: 0; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }
.analytics-consent { font-family: Manrope, sans-serif; color: #17313b; color-scheme: light; }
.analytics-consent__panel {
    position: fixed;
    z-index: 1500;
    inset: auto auto max(1rem, env(safe-area-inset-bottom)) 1rem;
    box-sizing: border-box;
    width: calc(100% - 2rem);
    max-width: 28rem;
    max-height: calc(100dvh - max(1rem, env(safe-area-inset-bottom)) - 1rem);
    overflow-y: auto;
    padding: 1.25rem;
    border: 1px solid #d5e2df;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 40px #07141b24;
}
.analytics-consent__heading { display: flex; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.analytics-consent__icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: .75rem; background: #e8f5f3; color: #066f68; }
.analytics-consent__panel h2 { margin: 0; color: #17313b; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.analytics-consent__panel p { margin: 0 0 1rem; color: #52666d; font-size: .85rem; line-height: 1.65; }
.analytics-consent a { color: #066f68; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.analytics-consent button {
    box-sizing: border-box;
    min-height: 44px;
    padding: .65rem .75rem;
    border: 1px solid #b6cbc5;
    border-radius: .65rem;
    background: #fff;
    color: #17313b;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}
.analytics-consent button:focus-visible,
.analytics-consent summary:focus-visible,
.analytics-consent__category input:focus-visible { outline: 2px solid #066f68 !important; outline-offset: 3px; }
.analytics-consent button:hover { background: #edf6f3; border-color: #749e94; }
.analytics-consent__actions > button { padding-inline: .5rem; font-size: .8125rem; }
.analytics-consent [data-consent-all],
.analytics-consent [data-consent-save] { border-color: #066f68; background: #066f68; color: #fff; font-weight: 650; }
.analytics-consent [data-consent-all]:hover,
.analytics-consent [data-consent-save]:hover { border-color: #055b56; background: #055b56; }
.analytics-consent [data-consent-all]:active,
.analytics-consent [data-consent-save]:active { border-color: #044d48; background: #044d48; }
.analytics-consent__preferences { margin-top: .5rem; }
.analytics-consent__preferences > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    min-height: 32px;
    margin-inline: auto;
    padding: .25rem .15rem;
    border-radius: .25rem;
    color: #52666d;
    font-size: .8rem;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}
.analytics-consent__preferences > summary > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.analytics-consent__preferences > summary::-webkit-details-marker { display: none; }
.analytics-consent__preferences > summary:hover { color: #066f68; }
.analytics-consent__preferences > summary:hover > span { text-decoration-thickness: 2px; }
.analytics-consent__preferences > summary > svg { flex: 0 0 auto; }
.analytics-consent__preferences[open] { margin-top: .75rem; padding-top: .25rem; border-top: 1px solid #e2ebe8; }
.analytics-consent__preferences[open] > summary { margin-bottom: .65rem; }
.analytics-consent__preferences[open] > summary > svg { transform: rotate(180deg); }
.analytics-consent__panel .analytics-consent__essential-note { margin-bottom: .75rem; font-size: .8rem; }
.analytics-consent__category {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: .5rem;
    padding: .75rem;
    border: 1px solid #dde7e3;
    border-radius: .75rem;
    background: #f7faf9;
    cursor: pointer;
}
.analytics-consent__category:has(input:checked) { border-color: #7db6aa; background: #edf7f3; }
.analytics-consent__category input { width: 1.125rem; height: 1.125rem; margin: .1rem 0 0; flex: 0 0 auto; accent-color: #066f68; cursor: pointer; }
.analytics-consent__category > span { display: grid; gap: .25rem; min-width: 0; }
.analytics-consent__category strong { color: #17313b; font-size: .82rem; font-weight: 650; line-height: 1.4; }
.analytics-consent__category > span > span { color: #52666d; font-size: .78rem; line-height: 1.55; }
.analytics-consent__panel .analytics-consent__note { margin: .75rem 0; font-size: .78rem; line-height: 1.6; }
.analytics-consent [data-consent-save] { width: 100%; }
.analytics-consent [data-analytics-close] {
    display: block;
    width: fit-content;
    min-height: 32px;
    margin: .5rem auto 0;
    padding: .25rem .5rem;
    border: 0;
    background: transparent;
    color: #52666d;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.analytics-consent [data-analytics-close]:hover { background: transparent; color: #066f68; }
.analytics-consent .analytics-consent__settings {
    position: fixed;
    z-index: 1200;
    inset: auto auto max(.5rem, env(safe-area-inset-bottom)) .5rem;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px #07141b22;
}
@media (max-width: 480px) {
    .analytics-consent__panel { inset-inline: .75rem; width: auto; max-height: calc(100dvh - max(1rem, env(safe-area-inset-bottom)) - .75rem); padding: 1rem; border-radius: 1rem; }
}
