/* The page's own linked brand stays in the first grid cell. */
html body [data-mmh-header]:has(#mika-mobile-tools) {
    --mmh-height: clamp(64px, 16vw, 80px);
    --mmh-inset: clamp(12px, 4.5vw, 24px);
    display: grid !important;
    grid-template: "brand tools" var(--mmh-height) / minmax(0,1fr) auto !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 var(--mmh-inset) !important;
    background: #fff !important;
    overflow: visible !important;
}
html body [data-mmh-header]:has(#mika-mobile-tools) > :not([data-mmh-brand],#mika-mobile-tools,.mmh-panel) {
    display: none !important;
}
html body [data-mmh-header]:has(#mika-mobile-tools) > [data-mmh-brand] {
    grid-area: brand !important;
    justify-self: start !important;
    min-width: 0 !important;
    align-self: center !important;
}
html body #mika-mobile-tools {
    grid-area: tools !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: end !important;
    gap: clamp(0px, calc(2vw - 7.5px), 4px) !important;
    padding: 0 !important;
    margin: 0 !important;
}
html body #mika-mobile-tools button,
html body #mmh-search button,
html body #mmh-language button {
    appearance: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #303236 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    width: 44px !important;
    line-height: 1 !important;
}
html body #mika-mobile-tools svg, html body #mmh-search svg {
    display: block !important;
    width: clamp(23px, 5.3vw, 27px) !important;
    height: clamp(23px, 5.3vw, 27px) !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
}
html body #mika-mobile-tools button[aria-expanded="true"] { color: #141517 !important; }
html body [data-mmh-header]:has(#mika-mobile-tools) :is(button,a,input):focus-visible {
    outline: 2px solid #534a9d !important;
    outline-offset: -2px !important;
}
html body [data-mmh-header]:has(#mika-mobile-tools) > .mmh-panel {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid #eee !important;
    background: #fff !important;
    color: #202020 !important;
    font-family: "Google Sans", Arial, sans-serif !important;
}
html body [data-mmh-header]:has(#mika-mobile-tools) > .mmh-panel[hidden] { display: none !important; }
html body #mmh-menu:not([hidden]) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2px !important;
    padding: 2px 0 6px !important;
}
html body #mmh-menu a {
    display: grid !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 2px !important;
    color: #202020 !important;
    font: 500 clamp(13px, 3.55vw, 16px)/1.2 "Google Sans",Arial,sans-serif !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
html body #mmh-menu a[aria-current="true"] { text-decoration: underline !important; text-underline-offset: 6px !important; }
html body #mmh-language:not([hidden]) { display: block !important; }
html body #mmh-language button { width: auto !important; display: flex !important; gap: 12px !important; font: 500 15px/1.2 "Google Sans",Arial,sans-serif !important; }
html body #mmh-search:not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 44px !important;
    padding: 7px 0 10px !important;
    align-items: center !important;
}
html body #mmh-search input {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #202020 !important;
    box-shadow: none !important;
    font: 400 16px/1.2 "Google Sans",Arial,sans-serif !important;
}
html body #mmh-search svg { width: 20px !important; height: 20px !important; }
html body .mmh-fallback-brand { position: relative; display: inline-block; color: #202020; text-decoration: none; font: 400 28px/1.12 "Google Sans",Arial,sans-serif; letter-spacing: -.045em; padding-right: .43em; }
.mmh-fallback-brand::after { content: ""; position: absolute; top: .04em; right: 0; box-sizing: border-box; width: .3em; height: .3em; border: 2px solid #a2e1d0; border-radius: 50%; }
@media (max-width: 350px) {
    html body [data-mmh-header]:has(#mika-mobile-tools) { --mmh-inset: 8px; }
    html body #mika-mobile-tools { gap: 0 !important; }
}
