.legal-links {display:flex;align-items:center;gap:.65rem 1.25rem;flex-wrap:wrap;padding-block:1rem 2rem}
.legal-links a,.legal-links button {font:inherit;font-size:.9rem;color:inherit;text-decoration:underline;text-underline-offset:3px}
.legal-links button {padding:.3rem 0;border:0;background:transparent;cursor:pointer}
.cookie-panel[hidden],button[data-cookie-settings][hidden] {display:none}
.cookie-panel {position:fixed;z-index:100;bottom:max(1rem,env(safe-area-inset-bottom));left:1rem;width:min(29rem,calc(100% - 2rem));box-sizing:border-box;padding:1.15rem 1.3rem;background:#fffef8;border:1px solid #7e917e;border-radius:14px;color:#203d2e;box-shadow:0 5px 24px #172a1e25;max-height:70vh;overflow:auto}
.cookie-panel h2 {font:inherit;font-weight:700;font-size:1.28rem;margin:0;letter-spacing:normal}
.cookie-panel p {margin:.45rem 0 .85rem;font-size:.95rem;line-height:1.45}
.cookie-panel a,.legal-document a,.lead-permission a {color:inherit;text-decoration:underline;text-underline-offset:3px}
.cookie-actions {display:flex;flex-wrap:wrap;gap:.5rem}
.cookie-actions button {flex:1 1 10rem;border:1px solid #40624a;background:#fffef8;color:#203d2e;border-radius:8px;font:inherit;font-weight:600;font-size:.91rem;padding:.65rem;min-height:44px;cursor:pointer}
.cookie-actions button:hover,.cookie-actions button:focus-visible {background:#e9f3dc}
body:has(.cookie-panel:not([hidden])) {padding-bottom:min(17rem,70vh)}
.legal-document {max-width:50rem;margin-inline:auto;padding-block:clamp(2rem,6vw,5rem);line-height:1.6}
.legal-document h1 {font-size:clamp(2rem,5vw,3.6rem);line-height:1.08;margin:1.4rem 0 .65rem;overflow-wrap:break-word}
.legal-document h2 {font-size:clamp(1.25rem,3vw,1.65rem);margin:2rem 0 .55rem;line-height:1.25}
.legal-document p {margin:.55rem 0}
.legal-date {color:#556558}
.brief .lead-permission {display:flex;align-items:flex-start;gap:.7rem;margin:.8rem 0;line-height:1.45;font-size:.92rem}
.brief .lead-permission input {width:1.25rem;height:1.25rem;min-height:0;padding:0;margin:.14rem 0 0;flex-shrink:0;appearance:auto;accent-color:#30513b}
.brief .lead-permission label {display:inline;font:inherit;cursor:pointer}
@media(max-width:420px){.cookie-panel{padding:1rem;left:.6rem;width:calc(100% - 1.2rem);bottom:max(.6rem,env(safe-area-inset-bottom))}.cookie-actions button{flex-basis:100%}}
