/* DIE KONSOLE IN DER GESTALT VON LC INSIGHTS (Martin 29.10.2026: „vom layout her hätte ich alles (außer valuestreams, das ist
   immer extra) gerne mehr wie lc insights. modern, etwas eckiger usw.").

   ÜBER DIE TOKEN, NICHT SEITE FÜR SEITE (Martins Wahl am selben Tag): Fast jede Regel der Konsole nimmt `var(--r-…)`,
   `var(--shadow-…)` und `var(--font-ui)`; an der Schale neu gesetzt, folgen Karten, Knöpfe, Felder und Tabellen ohne eine
   Zeile Markup. Dazu die Stellen, an denen Insights eine andere FORM hat: die Kopfleiste in Navy und die leichten Titel.

   WAS NICHT MITGEHT: LC Valuestreams hat eine eigene Hülle und steht nicht in `.shell`, Legacy (`data-bereich="apps"`)
   trägt die Gestalt von Scaliento (kihub-konsole.css). Pills bleiben rund — in Insights sind sie es auch.

   Nach app.css und den Stilen der Komponenten geladen; die Auswahl `.shell:not([data-bereich="apps"])` wiegt schwerer als
   die Regeln dort, auch als die mit dem Attribut der Komponente. */

.shell:not([data-bereich="apps"]) {
    --r-sm: 3px;
    --r-md: 3px;
    --r-lg: 4px;
    --font-ui: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px rgba(23, 27, 51, .06), 0 14px 32px -20px rgba(23, 27, 51, .38);
    --titel: var(--brand);

    /* Die Schrift steht am `body` schon ausgerechnet; ein neuer Wert am Token erreicht sie erst, wenn die Schale sie
       selbst setzt. */
    font-family: var(--font-ui);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .shell:not([data-bereich="apps"]) {
        --titel: var(--ink);
    }
}

:root[data-theme="dark"] .shell:not([data-bereich="apps"]) {
    --titel: var(--ink);
}

/* ===================== TITEL: leicht und gross, wie die Abschnitte in Insights ===================== */

.shell:not([data-bereich="apps"]) .mid h1 {
    font-size: 26px;
    line-height: 32px;
    font-weight: 300;
    letter-spacing: -.01em;
    color: var(--titel);
}

.shell:not([data-bereich="apps"]) .mid h2 {
    font-weight: 700;
    letter-spacing: 0;
}

/* ===================== DIE KOPFLEISTE: Navy mit Verlauf, wie der Kopf von Insights ===================== */

.shell:not([data-bereich="apps"]) > .bar {
    background: linear-gradient(120deg, #2E3370 0%, #272B5B 55%, #171A3D 100%);
    border-bottom: 0;
    color: #FFFFFF;
}

.shell:not([data-bereich="apps"]) > .bar .path,
.shell:not([data-bereich="apps"]) > .bar .path span,
.shell:not([data-bereich="apps"]) > .bar .path b {
    color: #FFFFFF;
}

.shell:not([data-bereich="apps"]) > .bar .path a {
    color: #C9CCE6;
}

.shell:not([data-bereich="apps"]) > .bar .path a:hover {
    color: #FFFFFF;
}

/* DER BEREICH VORNE IM PFAD in der Farbe der Marke von Insights („LC" in Versalien, Orange-Hell). */
.shell:not([data-bereich="apps"]) > .bar .path .krume-bereich {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #FFC57A;
}

.shell:not([data-bereich="apps"]) > .bar .sep {
    background: rgba(255, 255, 255, .22);
}

.shell:not([data-bereich="apps"]) > .bar button.ghost {
    background: transparent;
    border-color: transparent;
    color: #FFFFFF;
}

.shell:not([data-bereich="apps"]) > .bar button.ghost:hover {
    background: rgba(255, 255, 255, .14);
    color: #FFFFFF;
}

/* DIE BEREICHE ALS REITER IN DER LEISTE: hell auf Navy, der aktive mit oranger Kante unten — wie die Reiter in Insights. */
.shell:not([data-bereich="apps"]) > .bar .bereichswahl {
    align-self: stretch;
    gap: 2px;
    padding: 0;
    margin-right: var(--s2);
    border: 0;
    border-radius: 0;
    background: transparent;
}

.shell:not([data-bereich="apps"]) > .bar .bereichswahl a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 0;
    color: #C9CCE6;
}

.shell:not([data-bereich="apps"]) > .bar .bereichswahl a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, .08);
}

.shell:not([data-bereich="apps"]) > .bar .bereichswahl a.on {
    background: transparent;
    box-shadow: inset 0 -3px 0 #E8870C;
    color: #FFFFFF;
    font-weight: 600;
}

/* DAS KONTO: Kürzel orange auf Navy; die Klappe darunter bleibt eine helle Karte mit dunkler Schrift. */
.shell:not([data-bereich="apps"]) > .bar .who {
    color: #FFFFFF;
}

.shell:not([data-bereich="apps"]) > .bar .who .av {
    background: #E8870C;
    color: #171B33;
}

/* DER TITEL BEKOMMT BEIM SEITENWECHSEL DEN FOKUS (`FocusOnNavigate`, für Vorlesehilfen). Er ist kein Bedienelement; ein Rahmen
   darum las sich mit den eckigen Formen wie ein Eingabefeld. */
.shell:not([data-bereich="apps"]) .mid h1[tabindex="-1"]:focus {
    outline: none;
}
