/* HEADER */
.header {
    background: var(--surface-card);
    color: var(--text-strong);
    padding: var(--space-5);
    border-bottom: 1px solid var(--border-default);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-height: var(--topbar-height);
}

.header h1 {
    margin: 0;
    font: var(--type-h1);
    color: var(--text-strong);
}

/* ── Hamburger toggle (visible solo en mobile) ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-strong);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-2);
}
.nav-toggle:hover {
    background: var(--surface-accent-soft);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header {
        padding: var(--space-3) var(--space-4);
    }

    .header h1 {
        font-size: var(--text-lg);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
}
