.office-header {
    position: sticky;
    top: 0;
    z-index: 110;
    background: var(--office-surface);
    border-bottom: 1px solid var(--office-border);
}

.office-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: var(--office-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.office-header__left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.office-header__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--office-border);
    border-radius: var(--office-radius-sm);
    background: var(--office-surface-2);
    color: var(--office-text);
    cursor: pointer;
}

.office-header__menu-toggle svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .office-header__menu-toggle {
        display: inline-flex;
    }
}

.office-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--office-text);
    text-decoration: none;
}

.office-header__logo {
    width: 32px;
    height: 32px;
    border-radius: var(--office-radius-sm);
    background: var(--office-accent);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.office-header__title {
    font-size: 0.95rem;
    font-weight: 600;
}

.office-header__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.office-header__role {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.office-header__role--manager {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.office-header__role--editor {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
}

.office-header__email {
    color: var(--office-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.office-header__profile {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    line-height: 0;
    flex-shrink: 0;
}

.office-header__profile:focus-visible {
    outline: 2px solid var(--office-accent);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .office-header__email {
        display: none;
    }
}
