/* Kit: structure for the cookie chip and the Calm view switch. Each site skins these in its own materials
   (colors, type, edges) but keeps the sizes: the chip is 64 px tall or less on a phone and sits in a corner above the bar.
   --bar-h: the height of the site's fixed bottom bar (set it on :root). */
:root{--bar-h:64px}
.consent-panel{position:fixed;z-index:90;right:10px;bottom:calc(var(--bar-h) + env(safe-area-inset-bottom) + 8px);display:flex;align-items:center;gap:6px;max-width:min(240px,calc(100vw - 20px));min-height:0;max-height:64px;padding:8px 8px 8px 14px;box-sizing:border-box;transform:translateY(12px);opacity:0;transition:transform .45s cubic-bezier(.2,.9,.25,1.15),opacity .3s}
.consent-panel.is-up{transform:none;opacity:1}
.consent-panel[hidden]{display:none}
.consent-panel p{margin:0 6px 0 0;font-size:16px;line-height:1.2;white-space:nowrap}
.consent-panel button{flex:none;min-width:48px;min-height:44px;padding:0 12px;cursor:pointer;font-size:16px}
.calm .consent-panel{transition:none;transform:none;opacity:1}
/* while the footer passes under the chip's corner it steps away; it returns in the footer's reserved room at the page end (consent.js) */
.consent-panel.is-away,.calm .consent-panel.is-away{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media (min-width:900px){.consent-panel{right:20px;bottom:calc(var(--bar-h-desk,0px) + 20px)}}
/* the footer switches */
[data-calm-toggle],[data-cookie-open]{min-height:44px;cursor:pointer;font:inherit;color:inherit;background:none;border:0;padding:0 4px;text-decoration:underline;text-underline-offset:4px}
/* room under the footer's last line for the bar and the chip, reserved from the first layout so the page never grows when the chip appears */
body>footer,footer.site-foot{padding-bottom:calc(var(--bar-h) + 84px + env(safe-area-inset-bottom))}
@media (min-width:900px){body>footer,footer.site-foot{padding-bottom:calc(var(--bar-h-desk,0px) + 100px)}}
