/* Géométrie et typographie indépendantes des styles des pages. */
.site-header {
    --sh-accent: #2459a6;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 20px;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid #e4e7ec;
    background: #fff;
    color: #344054;
    font: 14px/1.4 system-ui, sans-serif;
}
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header.hidden, .site-header [hidden] { display: none !important; }
.site-header a, .site-header button {
    font: inherit;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.site-header button, .site-header .sh-nav a, .site-header .sh-account a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}
.site-header a:hover, .site-header button:hover { background: #f2f4f7; }
.site-header [aria-current="page"] { color: var(--sh-accent); background: #edf3fc; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid var(--sh-accent); outline-offset: 2px; }
.site-header .sh-brand { flex: none; font-size: 16px; font-weight: 700; }
.sh-nav, .sh-account { display: flex; align-items: center; gap: 2px; min-width: 0; }
.sh-nav { flex: none; }
.sh-search { margin-left: auto; flex: none; }
.site-header .rs-trigger { gap: 7px; font-size: 14px; border-color: #e4e7ec; }
.site-header .rs-trigger svg { width: 18px; height: 18px; flex: none; }
.site-header .rs-trigger kbd { display: none; }
.site-header .sh-name { min-width: 0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header .sh-menu { display: none; }
.page-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 24px; min-width: 0; }
.page-heading.hidden { display: none; }
.page-heading h1 { font-size: 20px; margin: 0; }
.page-heading .caller { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) and (max-width: 1100px) {
    .site-header { gap: 8px; padding-inline: 16px; }
    .site-header .rs-trigger .rs-label { display: none; }
    .site-header .sh-name { max-width: 100px; }
}
@media (max-width: 767px) {
    .site-header { height: 60px; padding: 0 16px; gap: 8px; flex-wrap: wrap; }
    .site-header .sh-brand { margin-right: auto; }
    .site-header .sh-menu { display: inline-flex; }
    .site-header .sh-search { margin-left: 0; }
    .site-header .rs-trigger .rs-label { display: none; }
    .site-header .sh-nav, .site-header .sh-account { display: none; }
    .site-header.sh-open { height: auto; min-height: 60px; padding-block: 11px; max-height: 100dvh; overflow-y: auto; }
    .site-header.sh-open .sh-nav, .site-header.sh-open .sh-account { display: flex; flex: 1 1 100%; flex-wrap: wrap; }
    .site-header .sh-nav { order: 5; }
    .site-header .sh-account { order: 6; }
    .site-header .sh-name { max-width: 100%; flex: 1 1 100%; }
    .page-heading { padding: 16px; }
}
