/* Shared by every application page. Keep styles independent of module themes. */
.site-header {
    margin: 0 0 24px;
    padding: 18px 0;
    border-bottom: 1px solid #303940;
    font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #edf2f7;
    text-decoration: none;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
}

.site-header__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #d4a44a;
    color: #11161c;
    font-size: 14px;
    font-weight: 800;
}

.site-header__brand small {
    display: block;
    margin-top: 3px;
    color: #97a5b3;
    font-size: 11px;
    font-weight: 500;
}

.site-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list > li { margin: 0; padding: 0; min-width: 0; }

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid #303940;
    border-radius: 8px;
    background: #111923;
    color: #bec8d3;
    font: 600 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav__link:hover { color: #fff; background: #1d2833; }
.site-nav__link[aria-current="page"] {
    color: #efbd60;
    background: #2d261b;
    border-color: #b58b3e;
}

.site-header a:focus-visible { outline: 2px solid #efbd60; outline-offset: 3px; }

@media (max-width: 640px) {
    .site-header { padding: 14px 0; }
    .site-header__top { gap: 12px; }
    .site-nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-nav__link { min-height: 44px; padding: 9px 10px; }
}
