/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* Die globalen .login-*-Klassen stehen in app.css. Hier nur, was das Handy braucht. */

/* Safari auf iOS: 100vh schließt die Browserleiste mit ein - dvh passt sich an */
.login-page[b-73td76zh9t] {
    min-height: 100dvh;
}

@media (max-width: 768px) {
    .login-page[b-73td76zh9t] {
        padding: 1rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== App Root ===== */

.app-root[b-sgogpgag7l] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
}

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

.main-header[b-sgogpgag7l] {
    height: 68px;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
    position: relative;
}

.header-logo[b-sgogpgag7l] {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark[b-sgogpgag7l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.header-logo-img[b-sgogpgag7l] {
    height: 60px;
    width: auto;
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
    shape-rendering: geometricPrecision;
}

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

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

.header-user[b-sgogpgag7l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius);
    position: relative;
    user-select: none;
}

.header-user:hover[b-sgogpgag7l] {
    background-color: var(--muted);
}

.header-user-name[b-sgogpgag7l] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.dropdown-overlay[b-sgogpgag7l] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 49;
}

.header-dropdown[b-sgogpgag7l] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.375rem;
    padding: 0.375rem 0;
    background-color: var(--popover);
    color: var(--popover-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 240px;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.header-dropdown-item[b-sgogpgag7l] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.header-dropdown-item:hover[b-sgogpgag7l] {
    background-color: var(--muted);
    text-decoration: none;
}

.header-dropdown-separator[b-sgogpgag7l] {
    height: 1px;
    background-color: var(--border);
    margin: 0.25rem 0;
}

.header-dropdown-item-danger[b-sgogpgag7l] {
    color: var(--destructive);
}

.header-dropdown-item-danger:hover[b-sgogpgag7l] {
    background-color: #fee2e2;
    color: var(--destructive);
}

/* Abmelden ist ein POST-Formular (STANDARDS.md 3.20) - der Knopf soll wie ein Menüeintrag aussehen */
.header-dropdown-form[b-sgogpgag7l] {
    margin: 0;
}

.header-dropdown-zu[b-sgogpgag7l] {
    display: none;
}

button.header-dropdown-item[b-sgogpgag7l] {
    width: 100%;
    border: none;
    background: none;
    font-family: inherit;
    font-weight: var(--font-weight-normal);
    text-align: left;
    cursor: pointer;
}

button.header-dropdown-item-danger:hover[b-sgogpgag7l] {
    background-color: #fee2e2;
}

@media (max-width: 768px) {
    .header-user-name[b-sgogpgag7l] {
        display: none;
    }
}

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

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

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

.sidebar-header[b-sgogpgag7l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--sidebar-border);
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

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

.sidebar-toggle-btn[b-sgogpgag7l] {
    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-sgogpgag7l] {
    background-color: var(--muted);
    color: var(--foreground);
}

.sidebar-nav[b-sgogpgag7l] {
    flex: 1;
    overflow-y: auto;
}

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

.sidebar-app-info[b-sgogpgag7l] {
    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-sgogpgag7l] {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.1s ease;
}

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

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

.sidebar-resize-handle[b-sgogpgag7l] {
    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-sgogpgag7l] {
    background-color: rgba(12, 93, 166, 0.5);
}

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

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

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

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

[b-sgogpgag7l] .ablage-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    min-height: 2.5rem;
    flex: 0 1 auto;
    overflow: hidden;
}

[b-sgogpgag7l] .ablage-title-name {
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    border: none;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-sgogpgag7l] .ablage-title-pfad {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--muted-foreground);
    line-height: 1;
    height: 0.6875rem;
    min-width: 0;
}

[b-sgogpgag7l] .ablage-title-pfad-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: monospace;
}

[b-sgogpgag7l] .ablage-pfad-copy {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
    height: 0.6875rem;
    min-height: 0;
    overflow: visible;
    line-height: 0;
    transition: color 0.15s ease;
}

[b-sgogpgag7l] .ablage-pfad-copy:hover {
    color: var(--primary);
}

[b-sgogpgag7l] .ablage-pfad-copy svg {
    width: 13px;
    height: 13px;
    overflow: visible;
}

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

/* ===== Responsive (DS.Familienküche: iPhone, iPad, Notebook) ===== */

/* Safari auf iOS: 100vh schließt die Browserleiste mit ein - dvh passt sich an */
.app-root[b-sgogpgag7l] {
    height: 100dvh;
}

.header-menu-btn[b-sgogpgag7l] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -0.5rem;
    border: none;
    background: none;
    color: var(--foreground);
    cursor: pointer;
}

.sidebar-backdrop[b-sgogpgag7l] {
    display: none;
}

@media (max-width: 768px) {
    .main-header[b-sgogpgag7l] {
        height: 56px;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .header-menu-btn[b-sgogpgag7l] {
        display: flex;
    }

    .brand-mark[b-sgogpgag7l] {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    /* Navigation als Schublade über dem Inhalt statt fester Spalte */
    [b-sgogpgag7l] .sidebar {
        position: fixed;
        top: 56px;
        bottom: 0;
        left: 0;
        width: 280px !important;
        z-index: 40;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    [b-sgogpgag7l] .sidebar.sidebar-mobil-offen {
        transform: none;
    }

    .sidebar-backdrop[b-sgogpgag7l] {
        display: block;
        position: fixed;
        inset: 56px 0 0 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 35;
    }

    .sidebar-resize-handle[b-sgogpgag7l],
    .sidebar-toggle-btn[b-sgogpgag7l] {
        display: none;
    }

    [b-sgogpgag7l] .action-bar {
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }

    [b-sgogpgag7l] .action-bar-title {
        font-size: 1rem;
        white-space: normal;
    }

    [b-sgogpgag7l] .content-area {
        padding: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    [b-sgogpgag7l] .content-area {
        padding: 1.5rem;
    }

    [b-sgogpgag7l] .action-bar {
        padding: 0.5rem 1.5rem;
    }
}

/* Eingeklappt (64px) passt der Fußtext nicht - ausblenden statt abschneiden */
[b-sgogpgag7l] .sidebar-collapsed .sidebar-app-info {
    display: none;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-gs54loc5mp] {
    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-gs54loc5mp] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

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

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

/* Icon darf nicht schrumpfen */
[b-gs54loc5mp] .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-gs54loc5mp] .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-gs54loc5mp]  .nav-link-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

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

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

/* ===== Nav-SubMenu (flache Untermenue-Gruppe) ===== */

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

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

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

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

[b-gs54loc5mp] .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-gs54loc5mp] .nav-submenu-toggle:hover {
    background-color: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
}

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

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

/* Aufgeklappter Kinder-Block - dunklerer Hintergrund unterstreicht die Gruppe */
[b-gs54loc5mp] .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-gs54loc5mp] .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-gs54loc5mp]  .nav-submenu-children,
.nav-collapsed[b-gs54loc5mp]  .nav-submenu-chevron,
.nav-collapsed[b-gs54loc5mp]  .nav-submenu-toggle {
    display: none;
}

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

/* /Components/Pages/Error.razor.rz.scp.css */
.kennung[b-f3cdsru6qr] {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Eine Karte je Quelle: drei nebeneinander auf dem Notebook, zwei auf dem iPad, eine auf dem iPhone */
.quellen-raster[b-gabkza046e] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .quellen-raster[b-gabkza046e] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .quellen-raster[b-gabkza046e] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Volle Breite, damit die Knöpfe gut zu treffen sind */
    .knopf-zeile .btn[b-gabkza046e] {
        flex: 1 1 100%;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Brand-Kästchen auf der Anmeldeseite: gleiche Box wie im Header, nur größer
   (übernommen aus DS.ClaudeStats). Globale .login-*-Klassen kommen aus app.css. */
.login-logo-box[b-bk288dpdnb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.login-logo-text[b-bk288dpdnb] {
    font-size: 2rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
}

.login-error[b-bk288dpdnb] {
    align-items: flex-start;
}

.login-error[b-bk288dpdnb]  svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Nur für Passwort-Manager, nicht für Menschen */
.login-benutzer[b-bk288dpdnb] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
/* /Components/Pages/Protokoll.razor.rz.scp.css */
.filter-zeile[b-ekcb0z63co] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-zeile label[b-ekcb0z63co] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
}

.filter-suche[b-ekcb0z63co] {
    flex: 1 1 16rem;
    max-width: 28rem;
}

.filter-anzahl[b-ekcb0z63co] {
    margin-left: auto;
    padding-bottom: 0.5rem;
}

.zelle-bereich[b-ekcb0z63co] {
    white-space: nowrap;
    font-size: 0.8125rem;
}

.protokoll-ausnahme[b-ekcb0z63co] {
    margin-top: 0.375rem;
}

.protokoll-ausnahme summary[b-ekcb0z63co] {
    cursor: pointer;
    font-size: 0.8125rem;
}

.protokoll-ausnahme pre[b-ekcb0z63co] {
    margin: 0.375rem 0 0;
    padding: 0.5rem;
    max-height: 18rem;
    overflow: auto;
    font-size: 0.75rem;
    white-space: pre-wrap;
    word-break: break-word;
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .filter-zeile[b-ekcb0z63co] {
        gap: 0.75rem;
    }

    .filter-suche[b-ekcb0z63co] {
        flex-basis: 100%;
        max-width: none;
    }

    .filter-anzahl[b-ekcb0z63co] {
        margin-left: 0;
        padding-bottom: 0;
    }

    .zelle-bereich[b-ekcb0z63co] {
        white-space: normal;
        word-break: break-word;
    }
}
/* /Components/Pages/SchluesselSeite.razor.rz.scp.css */
.rollen-erklaerung[b-8k5gzzijpl] {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    min-width: 14rem;
}

/* Maskierter Wert mit den Knöpfen "Anzeigen" und "Kopieren" */
.schluessel-wert[b-8k5gzzijpl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.schluessel-wert code[b-8k5gzzijpl] {
    min-width: 12rem;
}

.dialog-felder[b-8k5gzzijpl] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dialog-felder .text-klein[b-8k5gzzijpl] {
    margin-top: 0.375rem;
}

/* Der frisch angelegte Schlüssel - gut sichtbar und vollständig markierbar */
.neuer-schluessel[b-8k5gzzijpl] {
    padding: 0.875rem 1rem;
    border: 1px solid var(--primary);
    background-color: color-mix(in srgb, var(--primary) 6%, transparent);
    user-select: all;
}

.neuer-schluessel code[b-8k5gzzijpl] {
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .schluessel-wert code[b-8k5gzzijpl] {
        min-width: 0;
    }
}
/* /Components/Pages/Verbindungen.razor.rz.scp.css */
/* Schritt-für-Schritt-Anleitung (Health Auto Export) */
.schritte[b-omhfq7ql96] {
    margin: 0;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    max-width: 95ch;
}

.schritte strong[b-omhfq7ql96] {
    font-weight: var(--font-weight-medium);
}

.schritt-wert[b-omhfq7ql96] {
    margin-top: 0.375rem;
    max-width: 640px;
}

/* Eingeklappter Bereich für seltene Fälle */
.erweitert[b-omhfq7ql96] {
    border: 1px solid var(--border);
    background-color: var(--background);
}

.erweitert summary[b-omhfq7ql96] {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    user-select: none;
}

.erweitert summary:hover[b-omhfq7ql96] {
    background-color: var(--muted);
}

.erweitert-inhalt[b-omhfq7ql96] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .schritte[b-omhfq7ql96] {
        padding-left: 1.25rem;
    }

    /* Volle Breite, damit die Knöpfe gut zu treffen sind */
    .knopf-zeile .btn[b-omhfq7ql96] {
        flex: 1 1 100%;
    }
}
/* /Components/Shared/Modal.razor.rz.scp.css */
.modal-backdrop[b-gz2qb401hq] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 1.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.modal-panel[b-gz2qb401hq] {
    width: 100%;
    max-width: 560px;
    background: var(--card, #fff);
    border-radius: var(--radius, 0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 6rem);
}

.modal-wide[b-gz2qb401hq] {
    max-width: 820px;
}

.modal-header[b-gz2qb401hq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.modal-title[b-gz2qb401hq] {
    font-weight: 600;
    flex: 1;
}

.modal-close[b-gz2qb401hq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: none;
    border: none;
    border-radius: 6px;
    color: var(--muted-foreground, #6b7280);
    cursor: pointer;
}

.modal-close:hover[b-gz2qb401hq] {
    background: color-mix(in srgb, var(--muted-foreground, #6b7280) 12%, transparent);
    color: inherit;
}

.modal-body[b-gz2qb401hq] {
    padding: 1.25rem;
    overflow-y: auto;
}

.modal-footer[b-gz2qb401hq] {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border, #e5e7eb);
}

/* Handy: fast bildschirmfüllend, damit Suchfeld und Trefferliste Platz haben */
@media (max-width: 768px) {
    .modal-backdrop[b-gz2qb401hq] {
        padding: 0.75rem;
        align-items: stretch;
    }

    .modal-panel[b-gz2qb401hq] {
        max-height: calc(100dvh - 1.5rem);
    }

    .modal-header[b-gz2qb401hq],
    .modal-footer[b-gz2qb401hq] {
        padding: 0.75rem 1rem;
    }

    .modal-body[b-gz2qb401hq] {
        padding: 1rem;
    }
}
