/* Cookie consent (public/src/php/cookies.php). Loaded by the partial itself, so every page that shows the notice
   (public pages, guides, home and the signed-in app) gets these styles whatever its own stylesheets are. */
.cookie-notice{--cn-surface:var(--app-surface,#fff);--cn-text:var(--app-text,#142b25);--cn-muted:var(--app-muted,#576d65);--cn-border:var(--app-border,#a7cbbf);--cn-link:var(--app-link,#006550);
 position:fixed;left:20px;bottom:20px;z-index:99998;width:min(400px,calc(100vw - 40px));margin:0;padding:18px 20px 18px;
 background:var(--cn-surface);color:var(--cn-text);border:1px solid var(--cn-border);border-radius:14px;box-shadow:0 18px 40px -18px rgba(20,43,37,.45);
 font-family:inherit;animation:cookie-notice-in .32s cubic-bezier(.2,.8,.2,1) both;outline:0}
.cookie-notice[hidden]{display:none}
html[data-theme=dark] .cookie-notice{--cn-surface:#1d2523;--cn-text:#eef4f1;--cn-muted:#b7c6c0;--cn-border:#3a4a45;--cn-link:#7fd8a1;box-shadow:0 18px 40px -16px rgba(0,0,0,.7)}
.cookie-notice .cookie-notice-title{margin:0 0 6px;font-size:15px;line-height:1.3;font-weight:700;color:var(--cn-text)!important;letter-spacing:0}
.cookie-notice .cookie-notice-text{margin:0 0 6px;font-size:14px;line-height:1.5;color:var(--cn-muted)!important}
.cookie-notice a.cookie-notice-link{display:inline-block;margin-top:2px;font-size:14px;font-weight:600;color:var(--cn-link)!important;text-decoration:underline;text-underline-offset:3px}
.cookie-notice a.cookie-notice-link:is(:hover,:focus-visible){text-decoration-thickness:2px}
.cookie-notice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.cookie-notice-button{min-height:42px;padding:0 16px;border:1.5px solid #147c48;border-radius:999px;background:#147c48;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.cookie-notice-button:hover{background:#0f6439;border-color:#0f6439}
.cookie-notice :is(.cookie-notice-button,.cookie-notice-link):focus-visible{outline:3px solid var(--cn-link);outline-offset:3px}
.cookie-notice.is-leaving{animation:cookie-notice-out .2s ease-in both}
@keyframes cookie-notice-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes cookie-notice-out{to{opacity:0;transform:translateY(16px)}}
@media (max-width:575px){.cookie-notice{left:12px;right:12px;bottom:12px;width:auto}}
@media (prefers-reduced-motion:reduce){.cookie-notice,.cookie-notice.is-leaving{animation:none}}
.public-footer button.public-footer-cookie-settings{padding:0;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.public-footer button.public-footer-cookie-settings:is(:hover,:focus-visible){text-decoration:underline}
.cookie-settings-button{min-height:40px;padding:0 18px;border:1.5px solid #147c48;border-radius:999px;background:transparent;color:#147c48;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.cookie-settings-button:is(:hover,:focus-visible){background:#147c48;color:#fff}
html[data-theme=dark] .cookie-settings-button{border-color:#7fd8a1;color:#7fd8a1}
