/* Cookie settings sits in the footer and opens Google's consent message.
   It is in the markup of every page, and shown only when the middleware
   stamped data-consent-region="eea" (EEA, UK, Switzerland). */

.site-footer .consent-settings {
    background: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    padding-block: 0;
    padding-inline: 8px;
    color: var(--text);
    font: var(--btn-weight) var(--btn-size)/1.4 Outfit, system-ui, sans-serif;
    text-decoration: none;
}
.site-footer .consent-settings:hover { text-decoration: underline; }
.site-footer .consent-settings:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; border-radius: 3px; }

/* An id beats the footer rule that sets display: inline-flex, including the
   planner stylesheet, so the control stays out of the tab order outside the EU. */
html:not([data-consent-region="eea"]) #cookie-settings {
    display: none;
}
