.kh-header .kh-language-shortcut {
    position: static;
    min-width: 30px;
    min-height: 30px;
    width: auto;
    padding: 3px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
}
.kh-header .kh-language-shortcut:hover { text-decoration: underline; }
#accessibility-panel.from-utility {
    inset: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) auto auto;
    max-height: calc(100dvh / var(--kit-display-scale, 1) - 24px);
    letter-spacing: normal;
    font-size: 1rem;
}
#accessibility-panel .cookie-preferences {
    margin: .9rem 0 0;
    padding: .75rem 0 0;
    border: 0;
    border-top: 1px solid var(--panel-divider);
}
.cookie-preferences summary { width: fit-content; font-weight: 600; cursor: pointer; }
.cookie-preferences[open] summary { margin-bottom: .45rem; }
.cookie-preferences p { margin-bottom: .5rem; font-size: .85rem; }
#accessibility-panel [data-cookie-consent] {
    padding: .4rem .6rem;
    margin: .4rem .2rem 0 0;
    color: var(--panel-text);
    background: var(--panel-field);
    border: 1px solid var(--panel-line);
    border-radius: .4rem;
    font-size: .85rem;
}
#accessibility-panel [data-cookie-consent][aria-pressed="true"] {
    background: var(--panel-action);
    color: var(--panel-on-action);
}
.kh-footer { flex-wrap: wrap; gap: 1.2rem; }

/* The kit has both pixel- and rem-based type. Zoom scales controls and their
   content together, including embedded pages with fixed-size typography. */
@supports (zoom: 1) {
    html.kit-root:is(.font-size-small, .font-size-large, .font-size-xlarge, .font-size-xxlarge) { font-size: 100%; zoom: var(--kit-display-scale); }
    html.kit-root.font-size-small { --kit-display-scale: .875; }
    html.kit-root.font-size-large { --kit-display-scale: 1.125; }
    html.kit-root.font-size-xlarge { --kit-display-scale: 1.25; }
    html.kit-root.font-size-xxlarge { --kit-display-scale: 1.375; }
}
@supports not (zoom: 1) {
    html.kit-root.font-size-small { font-size: 87.5%; }
    html.kit-root.font-size-large { font-size: 112.5%; }
    html.kit-root.font-size-xlarge { font-size: 125%; }
    html.kit-root.font-size-xxlarge { font-size: 137.5%; }
}
