/* app-shell-header.css — App Shell Header for local-models */

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.3rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.55rem;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark svg {
    width: 1.1rem;
    height: 1.1rem;
    opacity: 0.9;
}

.brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
    color: var(--ink);
    background: var(--line);
}

#auth-area {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2rem;
}

#auth-area .auth-email {
    font-size: 0.84rem;
    color: var(--muted);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .topbar { padding: 0.75rem 0.9rem; }
    .brand-name { font-size: 0.95rem; }
}
