.cookie-consent[hidden], .cookie-consent [hidden] { display: none !important; }
.cookie-consent {
    box-sizing: border-box;
    position: fixed;
    z-index: 1060;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(600px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #b5c8c3;
    border-radius: 10px;
    background: #fff;
    color: #172d30;
    box-shadow: 0 6px 28px #172d3026;
    font: 400 14px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-consent *, .cookie-consent *::before, .cookie-consent *::after { box-sizing: border-box; }
.cookie-consent h2, .public-page .cookie-consent h2 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.cookie-consent p, .public-page .cookie-consent p { margin: 0 0 12px; color: #526467; }
.cookie-consent a { color: #126456; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions { display: flex; gap: 12px; }
.cookie-consent-button {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #126456;
    border-radius: 6px;
    background: #fff;
    color: #126456;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.cookie-consent-button:hover { background: #f3f7f5; }
.cookie-preferences-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #126456;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.cookie-consent > .cookie-preferences-link { margin-top: 12px; }
.cookie-consent :focus-visible, .cookie-preferences-link:focus-visible { outline: 3px solid #a65716; outline-offset: 4px; }
.cookie-consent-choice:empty { display: none; }
.cookie-consent-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cookie-guest-preferences { padding: 16px; text-align: center; font-size: .85rem; }
.public-page .site-footer nav { flex-wrap: wrap; }
@media (max-width: 640px) {
    .cookie-consent { padding: 18px; bottom: max(12px, env(safe-area-inset-bottom)); max-height: calc(100dvh - 24px); }
    .cookie-consent-actions { flex-direction: column; gap: 10px; }
    .cookie-consent-button { width: 100%; flex: auto; }
}
