.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: var(--border-width) solid var(--color-border);
    background: var(--color-bg);
}

.site-header__inner {
    display: flex;
    width: min(100%, var(--content-width));
    min-height: var(--tap-target);
    margin: 0 auto;
    padding: var(--space-2) var(--space-4);
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-header__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: var(--space-3);
}

.site-header__brand {
    display: inline-flex;
    height: 40px;
    width: auto;
    cursor: pointer;
    text-decoration: none;
}

.site-header__tagline {
    color: var(--color-text);
    font-size: var(--text-s);
    line-height: var(--leading-tight);
}

.site-header__account {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.site-header__name {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.site-header__logout {
    margin: 0;
}

.site-header__logout-button {
    display: inline-flex;
    width: var(--tap-target);
    height: var(--tap-target);
    padding: 0;
    border: var(--border-width) solid var(--color-border-strong);
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    color: var(--color-action);
    cursor: pointer;
}

.site-header__logout-button:hover {
    border-color: var(--color-action);
    background: var(--color-action-soft);
}

.site-header__logout-icon {
    width: var(--space-4);
    height: var(--space-4);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

@media print {
    .site-header {
        display: none;
    }
}
