/* /Components/Drucker/DruckenBereich.razor.rz.scp.css */
/* Reiter "Drucken" (adr-druckstart.md): Farbfeld der Spule und Auswahl der Datei nebeneinander. */
.farbfeld[b-hlttnkzo8z] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
    vertical-align: -0.1875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.drucken-auswahl[b-hlttnkzo8z] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    gap: 1rem;
    margin-bottom: 0.75rem;
}

/* Freier G-Code (Admin-Weg, ADR-009): eingeklappt und abgesetzt, damit er nicht der Normalfall wird. */
.frei-weg[b-hlttnkzo8z] {
    margin: 1rem 0 0.75rem;
    padding: 0.75rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.frei-weg summary[b-hlttnkzo8z] {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Vorschaubild des Slice-Ergebnisses (ADR-011): beim Slicen gespeichert, 640 × 480 verkleinert; im Verlauf als kleines Vorschaubild. */
.slice-vorschau[b-hlttnkzo8z] {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.verlauf-vorschau[b-hlttnkzo8z] {
    width: 48px;
    height: 36px;
    margin-left: 0.375rem;
    vertical-align: middle;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.zeile-aktiv td[b-hlttnkzo8z] {
    background: var(--surface-muted, var(--bg-subtle, transparent));
}
/* /Components/Drucker/DruckerEinstellungenBereich.razor.rz.scp.css */
/* Leere Draufsicht des Betts im Reiter „Einstellungen“ (ADR-015), wie .platte-draufsicht der Auftragsseite. */
.bett-draufsicht[b-i52qex4gyo] {
    border: 1px solid var(--border);
    background: var(--card);
}

.bett-draufsicht[b-i52qex4gyo]  svg {
    display: block;
    width: 100%;
    height: auto;
}
/* /Components/Drucker/KamerasKarte.razor.rz.scp.css */
/* Kameras im Reiter „Einstellungen“ (ADR-020): Stand je Kamera klein unter bzw. neben dem go2rtc-Badge. */
.kamera-stand-text[b-guowh7yqu0] {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}
/* /Components/Drucker/KameraVorschau.razor.rz.scp.css */
/* Kamerabild (ADR Kamera): Standbild in Karten, Livebild in der Karte oder im breiten Modal (Lupe). Seitenverhältnis 16:9 wie die Kamera
   des K2 Plus; andere Kameras werden ohne Verzerrung eingepasst. */
.kamera-vorschau[b-vjjzwyw2vc] {
    margin-bottom: 1rem;
}

.kamera-knopf[b-vjjzwyw2vc] {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border);
    background-color: var(--muted);
    cursor: pointer;
}

.kamera-knopf:focus-visible[b-vjjzwyw2vc] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Rahmen um Standbild bzw. Livebild in der Karte, damit Lupe und Stopp oben rechts darüber liegen können. */
.kamera-rahmen[b-vjjzwyw2vc] {
    position: relative;
}

.kamera-ecke[b-vjjzwyw2vc] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
}

.kamera-eckknopf[b-vjjzwyw2vc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.kamera-eckknopf:hover[b-vjjzwyw2vc] {
    background-color: rgba(0, 0, 0, 0.75);
}

.kamera-eckknopf:focus-visible[b-vjjzwyw2vc] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.kamera-karte-aktionen[b-vjjzwyw2vc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.kamera-bild[b-vjjzwyw2vc] {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.kamera-live-marke[b-vjjzwyw2vc] {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.55);
}

.kamera-stand[b-vjjzwyw2vc] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.kamera-platzhalter[b-vjjzwyw2vc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    aspect-ratio: 16 / 9;
    padding: 1rem;
    border: 1px dashed var(--border);
    background-color: var(--background);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
}

.kamera-live[b-vjjzwyw2vc] {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background-color: #000;
}

.kamera-live-info[b-vjjzwyw2vc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-variant-numeric: tabular-nums;
}

.kamera-live-fehler[b-vjjzwyw2vc] {
    margin-top: 0.5rem;
}

/* Livebild als Video (MSE): fest 16:9 und gestreckt. Die Kamera des K2 Plus liefert 1920x1080 mit quadratischen Pixeln,
   die MP4-Hülle von go2rtc trägt aber Maße aus dem SDP-Profil (Baseline), und Chrome zeichnet danach 4:3 (Bild verzerrt,
   s3-infra ffprobe 02.12.). Breite so begrenzt, dass 70vh Höhe nicht überschritten werden. */
video.kamera-live[b-vjjzwyw2vc] {
    width: min(100%, calc(70vh * 16 / 9));
    max-height: none;
    height: auto;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    object-fit: fill;
}

.kamera-live-status[b-vjjzwyw2vc] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Umschalter bei mehreren Kameras (ADR-020): schmale Knopfleiste über Standbild und Livebild, scrollt seitlich statt umzubrechen. */
.kamera-wahl[b-vjjzwyw2vc] {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    overflow-x: auto;
}

.kamera-wahl-knopf[b-vjjzwyw2vc] {
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    border: 1px solid var(--border);
    background-color: var(--card);
    color: var(--foreground);
    cursor: pointer;
}

.kamera-wahl-knopf:hover[b-vjjzwyw2vc] {
    background-color: var(--muted);
}

.kamera-wahl-knopf.aktiv[b-vjjzwyw2vc] {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.kamera-wahl-knopf:focus-visible[b-vjjzwyw2vc] {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}
/* /Components/Drucker/LichtSchalter.razor.rz.scp.css */
/* Kammerlicht (ADR-013): Zeile in der Statuskarte, Hinweis über dem Kamerabild bzw. über dem Livebild. */
.licht-zeile[b-vu5jt7msnh] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.licht-label[b-vu5jt7msnh] {
    color: var(--muted-foreground);
}

.licht-hinweis[b-vu5jt7msnh] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #fef9c3;
    color: #854d0e;
    font-size: 0.875rem;
    font-weight: 600;
}

.licht-nur-admin[b-vu5jt7msnh] {
    font-weight: 400;
}

.licht-fehler[b-vu5jt7msnh] {
    margin: 0.5rem 0;
}
/* /Components/Filament/FarbPunkt.razor.rz.scp.css */
.farb-punkt[b-rzj29s29pr] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.4rem;
    vertical-align: -0.1rem;
    border: 1px solid var(--border);
}
/* /Components/Filament/RestBalken.razor.rz.scp.css */
.rest-balken[b-6bcjbvc42i] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 14rem;
}

.rest-zahl[b-6bcjbvc42i] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rest-knapp[b-6bcjbvc42i] {
    background-color: #ca8a04;
}
/* /Components/Katalog/AuftragSeite.razor.rz.scp.css */
/* Draufsicht neben der Liste der Regelverletzungen; schmal untereinander. */
.platte-raster[b-ngajplg3ow] {
    display: grid;
    grid-template-columns: minmax(280px, 560px) 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .platte-raster[b-ngajplg3ow] {
        grid-template-columns: 1fr;
    }
}

.platte-draufsicht[b-ngajplg3ow] {
    border: 1px solid var(--border);
    background: var(--card);
}

/* Schräges Vorschaubild der Platte (PlattenVorschau) unter der Draufsicht; Thumbnail aus dem G-Code im Slice-Ergebnis. */
.platte-vorschau[b-ngajplg3ow] {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0.5rem;
    border: 1px solid var(--border);
    background: var(--card);
}

.slice-thumbnail[b-ngajplg3ow] {
    float: right;
    width: 150px;
    height: 150px;
    margin: 0 0 0.5rem 1rem;
    border: 1px solid var(--border);
    background: #1f2937;
}

.platte-draufsicht[b-ngajplg3ow]  svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Slice-Ergebnis einer Platte (ADR-009): Kennzahlen und Prüfbericht unter der Teileliste. */
.slice-ergebnis[b-ngajplg3ow] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.slice-ergebnis h3[b-ngajplg3ow] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.fehlertext[b-ngajplg3ow] {
    white-space: pre-wrap;
    margin: 0;
    font-size: 0.8125rem;
}

/* Zielplatte zum Umsetzen eines Teils (ADR-015) neben den Knöpfen der Zeile. */
.umsetzen-wahl[b-ngajplg3ow] {
    display: inline-block;
    width: auto;
    margin-left: 0.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
/* /Components/Katalog/TeilSeite.razor.rz.scp.css */
/* Ansicht der Auflage von oben (SVG aus DraufsichtSvg.Auflage) und Datei-Knopf im Kartenkopf. */
.katalog-ansicht[b-ueepdx1y3b] {
    max-width: 420px;
    margin-top: 0.75rem;
    border: 1px solid var(--border);
    background: var(--card);
}

.katalog-ansicht[b-ueepdx1y3b]  svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
}

/* 3D-Ansicht (wwwroot/js/teil-3d.js): Zeichenfläche und Legende; Farben wie FARBEN im Skript. */
.teil3d[b-ueepdx1y3b] {
    --teil3d-hintergrund: #f4f6f8;
    position: relative;
    width: 100%;
    height: 440px;
    margin-top: 0.75rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.teil3d-legende[b-ueepdx1y3b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    align-items: center;
}

.teil3d-farbe[b-ueepdx1y3b] {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0.35rem;
    border-radius: 2px;
    vertical-align: -1px;
}

.teil3d-blick[b-ueepdx1y3b] {
    margin-left: auto;
    display: inline-flex;
    gap: 0.375rem;
}

.teil3d-auflage[b-ueepdx1y3b] { background: #2e9d4b; }
.teil3d-ueberhang[b-ueepdx1y3b] { background: #f08c00; }
.teil3d-flach[b-ueepdx1y3b] { background: #d32f2f; }
.teil3d-bruecke[b-ueepdx1y3b] { background: #1e88e5; }
.teil3d-normal[b-ueepdx1y3b] { background: #b8c0cc; }

.teil3d-wahl[b-ueepdx1y3b] {
    width: auto;
    min-width: 14rem;
}

.teil3d-wahl-label[b-ueepdx1y3b] {
    margin: 0 0.5rem 0 0;
}

@media (max-width: 700px) {
    .teil3d[b-ueepdx1y3b] {
        height: 320px;
    }
}

[b-ueepdx1y3b] .katalog-datei {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

label.btn[b-ueepdx1y3b] {
    position: relative;
    cursor: pointer;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== App Root ===== */

/* Header über die volle Breite (STANDARDS.md 3.1), darunter Sidebar + Inhalt - Aufbau wie S3.FinCenter.vNext. */
.app-root[b-n1glla05jh] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
}

.app-body[b-n1glla05jh] {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    min-height: 0;
}

/* ===== Header ===== */

/* Über der Sidebar (z-index 30), damit der Schatten des Headers auf die Sidebar fällt. */
.main-header[b-n1glla05jh] {
    height: 68px;
    z-index: 40;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
    position: relative;
}

/* Logo und Titel im Header wie S3.FinCenter.vNext (Layout/MainLayout.razor.css). */
.header-logo[b-n1glla05jh] {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* Projekt-Icon (quadratisch) statt der S3-Wortmarke: 40 px, damit es im 68-px-Header Luft hat - die Wortmarke
   der Vorlage ist 60 px hoch, aber flach. */
.header-logo-img[b-n1glla05jh] {
    height: 40px;
    width: auto;
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
    shape-rendering: geometricPrecision;
}

.header-title[b-n1glla05jh] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    white-space: nowrap;
}

.header-spacer[b-n1glla05jh] {
    flex: 1;
}

/* Benutzermenü (.header-user*, .header-dropdown*): global in app.css, damit das Kunden-Theme (Menülinie) greift. */

/* ===== Layout with sidebar ===== */

[b-n1glla05jh] .layout {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

[b-n1glla05jh] .sidebar {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.14);
}

/* Sidebar-Kopf wie S3.FinCenter.vNext: weißer Streifen mit Beschriftung und Umschalter. */
.sidebar-header[b-n1glla05jh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-header-collapsed[b-n1glla05jh] {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.sidebar-header-collapsed .sidebar-header-label[b-n1glla05jh] {
    display: none;
}

.sidebar-header-label[b-n1glla05jh] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
}

.sidebar-toggle-btn[b-n1glla05jh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover[b-n1glla05jh] {
    background-color: var(--muted);
    color: var(--foreground);
}

.sidebar-nav[b-n1glla05jh] {
    flex: 1;
    overflow-y: auto;
    /* Kein waagerechter Rollbalken, wenn ein Eintrag breiter ist als die (eingeklappte) Sidebar. */
    overflow-x: hidden;
}

/* ===== Sidebar App Info ===== */

.sidebar-app-info[b-n1glla05jh] {
    padding: 1rem 1.5rem;
    background-color: var(--card);
    border-top: 1px solid var(--border);
    font-size: 0.6875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-text[b-n1glla05jh] {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.1s ease;
}

.sidebar-version[b-n1glla05jh] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

/* ===== Sidebar Resize Handle ===== */

.sidebar-resize-handle[b-n1glla05jh] {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    cursor: col-resize;
    z-index: 15;
    transition: background-color 0.15s ease;
}

.sidebar-resize-handle:hover[b-n1glla05jh] {
    background-color: color-mix(in srgb, var(--primary) 50%, transparent);
}

/* ===== Main Content ===== */

.main-content[b-n1glla05jh] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

[b-n1glla05jh] .action-bar {
    z-index: 5;
    flex-shrink: 0;
}

.action-bar-spacer[b-n1glla05jh] {
    flex: 1;
}

[b-n1glla05jh] .content-area {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

/* ===== Bereichs-Modus (STANDARDS.md 3.18) =====
   Für Module ohne Reiter (Administration): Der Sidebar-Kopf nennt den Bereich und trägt die Aktionsfarbe
   statt Weiß (Daniel Simon, 2026-11-10) - kein zusätzlicher Streifen unter dem Kopf. */
.sidebar-header-bereich[b-n1glla05jh] {
    background-color: var(--primary);
    border-bottom-color: var(--primary);
}

.sidebar-header-bereich .sidebar-header-label[b-n1glla05jh] {
    color: var(--primary-foreground);
}

.sidebar-header-bereich .sidebar-toggle-btn[b-n1glla05jh] {
    color: var(--primary-foreground);
}

.sidebar-header-bereich .sidebar-toggle-btn:hover[b-n1glla05jh] {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--primary-foreground);
}

/* Schmale Bildschirme (aus KS): Benutzermenü nur mit Symbol, Kopf ohne Überlauf. */
@media (max-width: 700px) {
    .header-user[b-n1glla05jh] {
        padding: 0.375rem 0.25rem;
    }

    .main-header[b-n1glla05jh] {
        min-width: 0;
    }

}

/* Eingeklappt: Der Fuß (Name, Version, Copyright) passt nicht in 64 px - ausblenden statt abschneiden
   (S3.FinCenter.vNext). */
.sidebar-collapsed .sidebar-app-info[b-n1glla05jh] {
    display: none;
}
/* /Components/Layout/ModuleTabs.razor.rz.scp.css */
/* Modul-Reiter im Header wie S3.FinCenter.vNext (Layout/ModuleTabs.razor.css): Icon + Label, gedämpft; Hover mit
   Fläche; aktiv in Primärfarbe mit leichter Fläche und Unterstrich, der aus der Mitte wächst. Hier ein schlichtes
   <a> statt NavLink (aktiv nach Modul, nicht nach Pfad), daher ohne ::deep. */
.module-tabs[b-71dfi74qg6] {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    margin-left: 1.75rem;
    gap: 0.15rem;
}

.module-tabs .module-tab[b-71dfi74qg6] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 1.1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease;
}

/* Animierter Unterstrich: wächst beim Aktivieren aus der Mitte. */
.module-tabs .module-tab[b-71dfi74qg6]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.module-tabs .module-tab:hover[b-71dfi74qg6] {
    color: var(--foreground);
    background: var(--secondary);
    text-decoration: none;
}

.module-tabs .module-tab.active[b-71dfi74qg6] {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.module-tabs .module-tab.active[b-71dfi74qg6]::after {
    transform: scaleX(1);
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-3dsi37pv4u] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem 0;
    min-height: 100%;
}

/* Bereichs-Nav (§3.18): schiebt Exit-Link ans untere Ende */
.nav-bottom[b-3dsi37pv4u] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

[b-3dsi37pv4u] .nav-link-exit {
    color: var(--sidebar-foreground);
    opacity: 0.75;
}

[b-3dsi37pv4u] .nav-link-exit:hover {
    opacity: 1;
}

/* Icon darf nicht schrumpfen */
[b-3dsi37pv4u] .nav-icon {
    flex-shrink: 0;
}

/* Text wird per overflow hidden abgeschnitten wenn Sidebar schrumpft.
   ::deep, damit auch NavLinks in Unterkomponenten (NavSubMenu, NavTreeNode)
   erfasst werden. */
[b-3dsi37pv4u] .nav-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    transition: opacity 0.15s ease;
}

/* Collapsed: Text unsichtbar, Icons zentriert */
.nav-collapsed[b-3dsi37pv4u]  .nav-link-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.nav-collapsed[b-3dsi37pv4u]  .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

/* Separator between Ablagen and admin links */
.nav-separator[b-3dsi37pv4u] {
    height: 1px;
    background-color: var(--sidebar-border);
    margin: 0.5rem 1rem;
}

/* ===== Nav-SubMenu (flache Untermenü-Gruppe) ===== */

[b-3dsi37pv4u] .nav-submenu {
    display: flex;
    flex-direction: column;
}

/* Toggle-only Header (ohne Href) - ganze Zeile klappt auf/zu */
[b-3dsi37pv4u] .nav-submenu-header {
    cursor: pointer;
    user-select: none;
}

/* Split-Header (mit Href): Link links + Chevron-Button rechts in einer Zeile */
[b-3dsi37pv4u] .nav-submenu-header-row {
    display: flex;
    align-items: stretch;
}

[b-3dsi37pv4u] .nav-submenu-header-link {
    flex: 1;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

[b-3dsi37pv4u] .nav-submenu-toggle {
    background: none;
    border: none;
    color: var(--sidebar-foreground);
    cursor: pointer;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    border-radius: 0 var(--radius) var(--radius) 0;
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}

[b-3dsi37pv4u] .nav-submenu-toggle:hover {
    background-color: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
}

[b-3dsi37pv4u] .nav-submenu-chevron {
    margin-left: auto;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

[b-3dsi37pv4u] .nav-submenu-chevron-open {
    transform: rotate(90deg);
}

/* Aufgeklappter Kinder-Block - dunklerer Hintergrund unterstreicht die Gruppe */
[b-3dsi37pv4u] .nav-submenu-children {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.25rem 0;
    background-color: var(--sidebar-submenu);
    border-top: 1px solid var(--sidebar-border);
    border-bottom: 1px solid var(--sidebar-border);
}

/* Kinder eingerückt - Abstand passt zur Icon-Breite im Header */
[b-3dsi37pv4u] .nav-submenu-children .nav-link {
    padding-left: 2.75rem;
    border-radius: 0;
}

/* Collapsed Sidebar: Kinder, Chevron, Toggle-Button ausblenden; Header bleibt als Icon */
.nav-collapsed[b-3dsi37pv4u]  .nav-submenu-children,
.nav-collapsed[b-3dsi37pv4u]  .nav-submenu-chevron,
.nav-collapsed[b-3dsi37pv4u]  .nav-submenu-toggle {
    display: none;
}

.nav-collapsed[b-3dsi37pv4u]  .nav-submenu-header-link {
    border-radius: var(--radius);
}


/* ===== Modul-Sidebar (OP-16) ===== */

/* Abschnittstitel innerhalb eines Moduls (Muster S3.FinCenter.vNext, NavMenu.razor.css). */
.nav-section-label[b-3dsi37pv4u] {
    padding: 0.5rem 1rem 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sidebar-foreground, #b0b0b0);
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-collapsed .nav-section-label[b-3dsi37pv4u] {
    display: none;
}

/* Die Dokumente-Sidebar bleibt beim Modulwechsel im DOM und wird nur ausgeblendet
   (Muster S3.DocCenter, NavMenu.razor.css). */
.nav-modul[b-3dsi37pv4u] {
    display: contents;
}

.nav-modul-aus[b-3dsi37pv4u] {
    display: none;
}

/* Eingeklappt: keine Zähler in der Dokumente-Sidebar, nur Icons. */
.nav-collapsed[b-3dsi37pv4u]  .tree-count {
    display: none;
}

/* Zahl „heute fällig oder überfällig“ an Mein Dashboard und Akut: rote Pille rechts; eingeklappt als kleiner Punkt am Symbol. */
.nav-badge[b-3dsi37pv4u] {
    margin-left: auto;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    border-radius: 999px;
    background-color: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.nav-collapsed .nav-badge[b-3dsi37pv4u] {
    position: absolute;
    margin: 0;
    transform: translate(0.55rem, -0.55rem);
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    font-size: 0.5625rem;
    line-height: 1rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-vu07c1q2ca],
.components-reconnect-repeated-attempt-visible[b-vu07c1q2ca],
.components-reconnect-failed-visible[b-vu07c1q2ca],
.components-pause-visible[b-vu07c1q2ca],
.components-resume-failed-visible[b-vu07c1q2ca],
.components-rejoining-animation[b-vu07c1q2ca] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-retrying[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-failed[b-vu07c1q2ca],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-vu07c1q2ca] {
    display: block;
}


#components-reconnect-modal[b-vu07c1q2ca] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-vu07c1q2ca 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-vu07c1q2ca 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-vu07c1q2ca 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-vu07c1q2ca]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-vu07c1q2ca 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-vu07c1q2ca {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-vu07c1q2ca {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-vu07c1q2ca {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-vu07c1q2ca] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-vu07c1q2ca] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-vu07c1q2ca] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-vu07c1q2ca] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-vu07c1q2ca] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-vu07c1q2ca] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-vu07c1q2ca] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-vu07c1q2ca 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-vu07c1q2ca] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-vu07c1q2ca {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ApiDokuSeite.razor.rz.scp.css */
/* API-Doku: Hinweis oben, darunter Scalar im Rahmen bis zum unteren Rand des Inhaltsbereichs. Scalar rollt selbst
   (eigene Seitenleiste mit den Endpunkten), die Seite nicht. */
.api-doku-hinweis[b-2201090stg] {
    margin-bottom: 1rem;
}

.api-doku-hinweis a[b-2201090stg] {
    color: var(--primary);
    text-decoration: underline;
}

.api-doku-rahmen[b-2201090stg] {
    display: block;
    width: 100%;
    height: calc(100vh - 15rem);
    min-height: 36rem;
    border: 1px solid var(--border);
    background: var(--card);
}
/* /Components/Pages/ApiSchluesselSeite.razor.rz.scp.css */
/* Seite API-Schlüssel - Hinweisblock des neuen Schlüssels, Anlegezeile, Beispieldefinition (Muster KTG.TrackerBackend). */
.schluessel-neu[b-69qf2k7fuv] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2, 0.5rem);
    margin-bottom: var(--space-4, 1rem);
}

.schluessel-neu-titel[b-69qf2k7fuv] {
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    font-weight: 600;
}

.schluessel-wert[b-69qf2k7fuv] {
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    flex-wrap: wrap;
}

.schluessel-wert code[b-69qf2k7fuv] {
    font-size: 0.95em;
    word-break: break-all;
    user-select: all;
}

.schluessel-anlegen[b-69qf2k7fuv] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-3, 0.75rem);
    flex-wrap: wrap;
    margin-top: var(--space-4, 1rem);
}

.schluessel-anlegen .form-group[b-69qf2k7fuv] {
    margin-bottom: 0;
    flex: 1 1 16rem;
}

.schluessel-definition[b-69qf2k7fuv] {
    margin: 0;
    padding: 0.75rem 1rem;
    background: var(--muted);
    border: 1px solid var(--border);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    user-select: all;
}
/* /Components/Pages/DruckprofilSeite.razor.rz.scp.css */
/* Lange Orca-Werte (G-Code-Vorlagen, Listen) umbrechen statt die Tabelle zu verbreitern (ADR-015). */
.profil-wert[b-7un9mwioch] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-width: 40rem;
}
/* /Components/Pages/SpuleSeite.razor.rz.scp.css */
.spule-aktionen[b-qtrezvaizk] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
/* /Components/Shared/Card.razor.rz.scp.css */
.fc-card[b-5tj8bs48hx] {
    display: flex;
    flex-direction: column;
}

.fc-card-header[b-5tj8bs48hx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-weight: var(--font-weight-medium);
}

.fc-card-header-spacer[b-5tj8bs48hx] {
    flex: 1;
}

.fc-card-body[b-5tj8bs48hx] {
    padding: 1.25rem;
}

/* Eingeklappt steht nur der Kopf - dann ohne eigene Trennlinie. */
.fc-card-header:last-child[b-5tj8bs48hx] {
    border-bottom: none;
}

/* Titel und Knöpfe im Kopf brechen nicht um; umbrechen darf nur ein Filterblock (.kopf-filter). */
.fc-card-title[b-5tj8bs48hx] {
    white-space: nowrap;
}

.fc-card-header[b-5tj8bs48hx]  .btn {
    white-space: nowrap;
}

/* Schmale Bildschirme: Kartenkopf darf umbrechen (Titel oben, Knöpfe darunter). */
@media (max-width: 700px) {
    .fc-card-header[b-5tj8bs48hx] {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }
}
/* /Components/Shared/Ladegeruest.razor.rz.scp.css */
.lg[b-ttvl7c5fvp] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.lg-karte[b-ttvl7c5fvp] {
    padding: 1rem 1.25rem;
}

.lg-text[b-ttvl7c5fvp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
}

/* Platzhalter gedaempft; die Ladezeile bleibt voll lesbar. */
.lg-kacheln[b-ttvl7c5fvp],
.lg-zeilen[b-ttvl7c5fvp],
.lg-tabelle[b-ttvl7c5fvp],
.lg-sektion-kopf[b-ttvl7c5fvp],
.lg-sektion-zeilen[b-ttvl7c5fvp] {
    opacity: 0.6;
}

.lg-kacheln[b-ttvl7c5fvp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
}

.lg-kachel[b-ttvl7c5fvp] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.lg-zeilen[b-ttvl7c5fvp] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lg-tabelle[b-ttvl7c5fvp] {
    display: grid;
    gap: 0.85rem 1.25rem;
    align-items: center;
}

.lg-tabelle .lg-kopf[b-ttvl7c5fvp] {
    width: 50%;
    height: 0.6rem;
    margin-bottom: 0.2rem;
}

.lg-tabelle .lg-num[b-ttvl7c5fvp] {
    justify-self: end;
}

/* Form "karten": Karten wie die der Seite, Titelzeile mit Symbol, darunter Bezeichnung links und Betrag rechts. */
.lg-sektion[b-ttvl7c5fvp] {
    padding: 0;
}

.lg-sektion-kopf[b-ttvl7c5fvp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.lg-sektion-kopf .lg-symbol[b-ttvl7c5fvp] {
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
}

.lg-sektion-zeilen[b-ttvl7c5fvp] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 9rem);
    gap: 0.85rem 2rem;
    align-items: center;
    padding: 1rem 1.25rem 1.25rem;
}

.lg-sektion-zeilen .lg-num[b-ttvl7c5fvp] {
    justify-self: end;
}
/* /Components/Shared/StartpasswortAnzeige.razor.rz.scp.css */
/* Einmalige Anzeige des Startpassworts (Aufbau wie der neue Schlüssel auf /api-schluessel). */
.startpasswort-band[b-het4b5ogn4] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2, 0.5rem);
    margin-bottom: var(--space-4, 1rem);
}

.startpasswort-titel[b-het4b5ogn4] {
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
}

.startpasswort[b-het4b5ogn4] {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    user-select: all;
}
