.container {
    width: min(1040px, 92vw);
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
}

.header-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-controls {
    display: grid;
    gap: 0.55rem;
    justify-items: end;
}

.user-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    background: #ecf5ef;
    border: 1px solid #d2e2d7;
}

.user-chip-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.user-chip-role {
    color: var(--muted);
    font-size: 0.84rem;
}

.logo {
    margin-bottom: 0.2rem;
}

.tagline {
    margin: 0;
    color: var(--muted);
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: flex-end;
}

.site-header nav a {
    text-decoration: none;
    font-weight: 600;
}

.main-content {
    padding: 1.2rem 0 2rem;
}

.site-footer {
    padding-bottom: 2rem;
}

@media (max-width: 760px) {
    .header-row {
        flex-direction: column;
    }

    .header-controls {
        justify-items: start;
    }

    .site-header nav {
        justify-content: flex-start;
    }
}
