/* ==================== ARTBOARD NAVIGATION ==================== */
.ab-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-primary)
}

.ab-bar-actions {
    display: flex;
    gap: 4px;
    padding-right: 8px;
    border-right: 1px solid var(--border-primary)
}

.ab-bar-actions button {
    font-size: 10px;
    padding: 3px 7px;
    background: transparent;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    color: var(--fg-muted);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    font-family: inherit
}

.ab-bar-actions button:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px)
}

.ab-bar-actions button:active {
    transform: translateY(0) scale(.97)
}

.ab-nav-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    padding: 2px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-primary) transparent
}

.ab-nav-strip::-webkit-scrollbar {
    height: 4px
}

.ab-nav-strip::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 2px
}

.ab-thumb {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    flex-shrink: 0;
    min-width: 0
}

.ab-thumb:hover {
    background: var(--accent-softer);
    border-color: var(--accent-border)
}

.ab-thumb.act {
    background: var(--accent-soft);
    border-color: var(--accent)
}

.ab-preview {
    width: 32px;
    height: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--glass-border)
}

.ab-preview .ab-idx {
    font-size: 8px;
    font-weight: 700;
    color: var(--fg-secondary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3)
}

.ab-name {
    font-size: 9px;
    color: var(--fg-muted);
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none
}

.ab-thumb.act .ab-name {
    color: var(--fg-primary)
}