.cookie-panel[hidden]{display:none}
.cookie-panel{position:fixed;left:clamp(16px,3vw,40px);bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:10020;width:min(460px,calc(100vw - 32px));max-height:calc(100svh - 120px);overflow:auto;box-sizing:border-box;background:#fff;color:var(--ink);padding:24px;border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 64px #061b3d33;font-family:inherit}
.cookie-panel h2{font-size:19px;line-height:1.3;margin:0 0 10px;color:var(--navy)}
.cookie-panel p{font-size:13.5px;line-height:1.65;margin:0 0 12px;color:var(--slate)}
.cookie-panel>a{font-size:13px;color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.cookie-panel__actions{display:flex;gap:12px;margin-top:18px}
.cookie-panel__actions button{flex:1;min-height:44px;border:1px solid var(--brand);border-radius:10px;background:#fff;color:var(--brand);font:inherit;font-size:14px;font-weight:650;cursor:pointer;padding:10px 16px}
.cookie-panel__actions button:hover{background:#edf4fb}
.cookie-panel button:focus-visible,.cookie-panel a:focus-visible,.footer-cookie-settings:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.cookie-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.site-footer__bottom{flex-wrap:wrap;align-items:center}
.site-footer__credits{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 22px}
.site-footer__credit{color:inherit;font-size:12px}
.site-footer__credit a{text-decoration:underline;text-underline-offset:3px}
.footer-cookie-settings{font:inherit;font-size:12px;color:inherit;background:none;border:0;padding:5px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:600px){.cookie-panel{left:16px;padding:20px;bottom:calc(82px + env(safe-area-inset-bottom,0px))}.site-footer__credits{justify-content:flex-start}.site-footer__bottom{gap:10px 20px}}
/* Compact CookieYes-style layout from the supplied reference, implemented locally. */
.cookie-panel{left:40px;bottom:40px;width:440px;padding:20px 26px;border-color:#f4f4f4;border-radius:6px;box-shadow:0 -1px 10px #acabab4d;color:#212121}
.cookie-panel h2{color:#212121;font-size:18px;line-height:24px;margin-bottom:12px}
.cookie-panel p{color:#212121;font-size:14px;line-height:24px}
.cookie-panel>a{color:#1863dc}
.cookie-panel__actions{gap:8px;flex-wrap:wrap;align-items:center;margin-top:16px}
.cookie-panel__actions button{flex:1 1 auto;min-height:44px;border:2px solid #1863dc;border-radius:2px;padding:8px;font-size:14px;line-height:24px;font-weight:500;color:#fff;background:#1863dc;box-shadow:none}
.cookie-panel__actions button.cookie-panel__customize{color:#1863dc;background:transparent}
.cookie-panel__actions button:hover{background:#1255c2;border-color:#1255c2}
.cookie-panel__actions button.cookie-panel__customize:hover{background:#edf3fd}
.cookie-preferences{width:min(600px,calc(100vw - 32px));max-height:calc(100svh - 48px);padding:0;border:1px solid #f4f4f4;border-radius:6px;background:#fff;color:#212121;font:inherit;box-shadow:0 12px 60px #0003;overflow:auto}
.cookie-preferences::backdrop{background:#0006}
.cookie-preferences__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #eee}
.cookie-preferences__header h2{font-size:18px;line-height:24px;margin:0;color:#212121}
.cookie-preferences__close{font:inherit;font-size:27px;line-height:1;width:36px;height:36px;flex-shrink:0;background:none;border:0;color:#555;cursor:pointer}
.cookie-preferences__body{padding:20px 24px 0}
.cookie-preferences p{font-size:14px;line-height:24px;color:#212121;margin:0 0 16px}
.cookie-preferences__category{padding:18px 0;border-top:1px solid #eee;position:relative}
.cookie-preferences__category h3{font-size:15px;margin:0 0 8px;display:inline-block}
.cookie-preferences__active{float:right;font-size:12px;color:#008000;font-weight:600;margin-left:16px}
.cookie-preferences__category p{margin:0}
.cookie-preferences__toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:15px;font-weight:650;margin-bottom:8px;cursor:pointer}
.cookie-preferences__toggle input{appearance:none;width:42px;height:24px;flex-shrink:0;border-radius:20px;background:#d0d5d2;position:relative;cursor:pointer;margin:0}
.cookie-preferences__toggle input::after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 1px 3px #0002}
.cookie-preferences__toggle input:checked{background:#1863dc}
.cookie-preferences__toggle input:checked::after{left:21px}
.cookie-preferences__actions{margin:0;padding:18px 24px 24px;border-top:1px solid #eee}
.cookie-preferences button:focus-visible,.cookie-preferences input:focus-visible{outline:3px solid #1863dc;outline-offset:3px}
@media(max-width:576px){.cookie-panel{left:0;bottom:0;width:min(440px,100vw);max-width:100vw;max-height:85svh;border-radius:6px 6px 0 0;padding:20px 24px calc(20px + env(safe-area-inset-bottom,0px))}.cookie-preferences{max-height:90svh}.cookie-preferences__header,.cookie-preferences__body{padding-left:20px;padding-right:20px}.cookie-preferences__actions{padding:16px 20px 20px}}
@media(max-width:440px){.cookie-panel__actions{flex-direction:column;align-items:stretch}.cookie-panel__actions button{width:100%;flex:auto}.cookie-panel__actions button:last-child{order:-1}.cookie-preferences__active{float:none;display:block;margin:0 0 8px}}
/* Copyright and creator share one understated attribution line. */
.footer-attribution{display:inline;line-height:1.8;color:inherit}
.footer-attribution .site-footer__credit{font-size:inherit;white-space:normal}
.footer-attribution .site-footer__credit>span{padding-inline:7px;color:inherit}
.footer-attribution a{color:inherit}
@media(max-width:600px){.footer-attribution .site-footer__credit{display:block}.footer-attribution .site-footer__credit>span{display:none}}
.cookie-panel .cookie-panel__more{font-size:13px;line-height:21px}
.cookie-revisit[hidden]{display:none}
.cookie-revisit{position:fixed;bottom:calc(15px + env(safe-area-inset-bottom,0px));left:15px;z-index:10010;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border:0;border-radius:50%;background:#0056a7;color:#fff;cursor:pointer;box-shadow:0 3px 12px #061b3d33;padding:7px}
.cookie-revisit:hover{background:#1863dc}
.cookie-revisit:focus-visible{outline:3px solid #1863dc;outline-offset:4px}
.cookie-preferences__body .cookie-inventory,.cookie-category-info{border-top:1px solid #eee;padding:16px 0;font-size:14px}
.cookie-inventory summary,.cookie-category-info summary{cursor:pointer;font-weight:650;line-height:1.5}
.cookie-inventory p,.cookie-category-info p{margin:12px 0 0;overflow-wrap:anywhere}
.cookie-preferences__privacy{display:inline-block;font-size:14px;color:#1863dc;margin:12px 0 20px;text-decoration:underline;text-underline-offset:3px}
.has-cookie-revisit .back-to-top{left:15px;bottom:calc(76px + env(safe-area-inset-bottom,0px))}
@media(max-width:750px){.has-cookie-revisit .back-to-top{left:13px;bottom:calc(74px + env(safe-area-inset-bottom,0px))}}
.cookie-preferences__header{position:sticky;top:0;background:#fff;z-index:2}
.cookie-preferences__actions{position:sticky;bottom:0;background:#fff;z-index:1}
.cookie-choice-category{position:relative;border-top:1px solid #eee;padding:18px 0}
.cookie-choice-category summary{font-size:15px;font-weight:700;line-height:24px;padding-right:65px;cursor:pointer}
.cookie-choice-category p{margin:12px 0 0}
.cookie-category-switch{appearance:none;-webkit-appearance:none;position:absolute;right:0;top:18px;width:42px;height:24px;margin:0;border:0;border-radius:20px;background:#d0d5d2;cursor:pointer}
.cookie-category-switch::after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002}
.cookie-category-switch:checked{background:#1863dc}
.cookie-category-switch:checked::after{left:21px}
