/* Shared between the landing and the preference control on legal pages. */
.cookie-consent { position: fixed; inset: auto 1rem 1rem; box-sizing: border-box; width: min(44rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin: 0 auto; padding: 1.5rem; border: 1px solid #08764e; border-radius: 1rem; background: #fffdf7; color: #173c30; box-shadow: 0 8px 40px #173c3033; z-index: 1000; font: 1rem/1.5 Inter, system-ui, sans-serif; }
.cookie-consent:not([open]), .cookie-consent [hidden], [data-cookie-preferences][hidden] { display: none; }
.cookie-consent h2 { margin: 0 0 .6rem; font-size: 1.25rem; }
.cookie-consent p { margin: .5rem 0; }
.cookie-consent a { color: #075e40; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.cookie-actions button { flex: 1 1 8rem; min-height: 44px; padding: .7rem 1rem; border: 2px solid #08764e; border-radius: .5rem; background: #08764e; color: white; font: inherit; font-weight: 600; cursor: pointer; }
.cookie-actions [data-cookie-close] { background: transparent; color: #075e40; }
[data-cookie-preferences] { padding: .25rem 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.cookie-consent :focus-visible, [data-cookie-preferences]:focus-visible { outline: 3px solid #a1470a; outline-offset: 3px; }
