/* .base-tabs | Änderungsprotokoll: 2026-11-06 | parent-agent | @skill-css-rules, @skill-ui-tabs, @skill-change-provenance | Ordner-Reiter nur mit Grundlinie */
.base-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: var(--color-border);
    box-sizing: border-box;
}

/* .base-tab | Änderungsprotokoll: 2026-11-06 | parent-agent | @skill-css-rules, @skill-ui-tabs, @skill-change-provenance | Inaktiver Ordner-Reiter */
.base-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 36px;
    margin: 0;
    padding: 0.4rem 0.9rem;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: var(--color-border);
    border-bottom-color: transparent;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--color-background-tertiary);
    color: var(--color-text-secondary);
    box-shadow: none;
    opacity: 1;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
}

/* .base-tab-is-active | Änderungsprotokoll: 2026-11-06 | parent-agent | @skill-css-rules, @skill-ui-tabs, @skill-change-provenance | Aktiver Reiter unterbricht die Grundlinie */
.base-tab-is-active,
.base-tab[aria-selected="true"] {
    position: relative;
    z-index: 1;
    margin-bottom: -1px;
    background: var(--color-background);
    color: var(--color-text-primary);
    border-color: var(--color-primary);
    border-bottom-color: var(--color-background);
}

/* [role="dialog"] .base-tab-is-active | Änderungsprotokoll: 2026-11-06 | parent-agent | @skill-css-rules, @skill-ui-tabs, @skill-change-provenance | Aktive Fläche im Dialog */
[role="dialog"] .base-tab-is-active,
[role="dialog"] .base-tab[aria-selected="true"] {
    background: var(--color-surface);
    border-bottom-color: var(--color-surface);
}

/* .base-tab-home | Änderungsprotokoll: 2026-11-06 | parent-agent | @skill-css-rules, @skill-ui-tabs, @skill-change-provenance | All-Reiter nur Home-Icon */
.base-tab-home {
    min-width: 2.75rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

/* .base-tab-home-icon | Änderungsprotokoll: 2026-11-06 | parent-agent | @skill-css-rules, @skill-ui-tabs, @skill-change-provenance | Home-SVG im All-Reiter */
.base-tab-home-icon {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
}
