.cookie-banner[hidden], .cookie-settings-link[hidden] { display:none; }
.cookie-banner, .cookie-dialog { color:var(--ink,#173f38); background:#fffdf8; border:1px solid #d9ded7; box-shadow:0 12px 48px #173f3826; }
.cookie-banner { position:fixed; z-index:120; left:24px; bottom:24px; width:min(540px,calc(100% - 48px)); padding:24px; border-radius:22px; }
.cookie-banner h2, .cookie-dialog h2 { font:400 1.75rem/1.15 var(--serif,serif); margin:0 0 10px; }
.cookie-banner p, .cookie-dialog p { font:400 .92rem/1.6 var(--sans,sans-serif); margin:0 0 16px; }
.cookie-banner a, .cookie-dialog a { color:inherit; text-underline-offset:3px; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.cookie-choice { flex:1 1 130px; border:1px solid #173f38; border-radius:999px; padding:12px 18px; min-height:46px; background:#173f38; color:white; font:600 .88rem/1.2 var(--sans,sans-serif); cursor:pointer; }
.cookie-choice:hover { background:#24594e; }
.cookie-manage { display:block; border:0; background:none; color:inherit; text-decoration:underline; text-underline-offset:3px; font:500 .82rem/1.4 var(--sans,sans-serif); padding:8px 2px 0; cursor:pointer; }
.site-footer .cookie-settings-link { color:inherit; padding:0; margin-top:.6rem; border:0; background:none; text-align:left; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.cookie-dialog { width:min(560px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:28px; border-radius:22px; overflow:auto; }
.cookie-dialog::backdrop { background:#0a211baa; }
.cookie-dialog-head { display:flex; justify-content:space-between; align-items:start; gap:16px; }
.cookie-close { border:1px solid #d9ded7; background:white; color:#173f38; border-radius:50%; width:40px; height:40px; flex:0 0 40px; font-size:1.5rem; cursor:pointer; }
.cookie-option { display:grid; gap:6px; margin:18px 0; padding:16px; border:1px solid #d9ded7; border-radius:14px; }
.cookie-option label { display:flex; align-items:center; gap:10px; cursor:pointer; font-weight:650; }
.cookie-option input { width:20px; height:20px; accent-color:#173f38; }
.cookie-option p { margin:0; font-size:.85rem; }
.cookie-banner :focus-visible, .cookie-dialog :focus-visible, .cookie-settings-link:focus-visible { outline:3px solid #b18b4f; outline-offset:4px; }
@media(max-width:650px) {
 .cookie-banner { left:12px; bottom:max(12px,env(safe-area-inset-bottom)); width:calc(100% - 24px); padding:20px; border-radius:18px; max-height:calc(100dvh - 24px); overflow:auto; }
 .cookie-banner h2 { font-size:1.5rem; }
 .cookie-dialog { padding:20px; }
}
.legal .cookie-manage { display:inline; padding:0; font:inherit; }
.legal table { width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:.9rem; }
.legal th, .legal td { text-align:left; vertical-align:top; padding:.7rem; border-bottom:1px solid #d9ded7; overflow-wrap:anywhere; }
@media(max-width:650px) { .legal th, .legal td { padding:.45rem; font-size:.78rem; } }
