/* /Components/Layout/KochLayout.razor.rz.scp.css */
.koch-layout[b-5uxamfymma] {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--background);
    overflow: hidden;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== App Root ===== */

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

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

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

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

.brand-mark[b-0rv0dge0kd] {
    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-0rv0dge0kd] {
    height: 60px;
    width: auto;
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
    shape-rendering: geometricPrecision;
}

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

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

.header-user[b-0rv0dge0kd] {
    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-0rv0dge0kd] {
    background-color: var(--muted);
}

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

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

.header-dropdown[b-0rv0dge0kd] {
    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-0rv0dge0kd] {
    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-0rv0dge0kd] {
    background-color: var(--muted);
    text-decoration: none;
}

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

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

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

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

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

[b-0rv0dge0kd] .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-0rv0dge0kd] {
    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-0rv0dge0kd] {
    justify-content: center;
    padding: 1rem 0.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

[b-0rv0dge0kd] .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-0rv0dge0kd] .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-0rv0dge0kd] .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-0rv0dge0kd] .ablage-title-pfad-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: monospace;
}

[b-0rv0dge0kd] .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-0rv0dge0kd] .ablage-pfad-copy:hover {
    color: var(--primary);
}

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

[b-0rv0dge0kd] .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-0rv0dge0kd] {
    height: 100dvh;
}

.header-menu-btn[b-0rv0dge0kd] {
    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-0rv0dge0kd] {
    display: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* /Components/Pages/Einkauf.razor.rz.scp.css */
/* Einkaufsmodus: eine Hand, große Treffer, gut lesbar im Laden (Konzept, Nutzungsmoment „Einkaufen“) */

/* Titel in der Action-Bar: Blättern direkt am Datum (wie im Wochenplan) */
.wochen-titel[b-b5qtkwtvqw] {
    gap: 0.25rem;
}

.wochen-titel a.action-btn[b-b5qtkwtvqw] {
    color: var(--foreground);
}

.einkauf-aktionen[b-b5qtkwtvqw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fortschritt[b-b5qtkwtvqw] {
    font-weight: var(--font-weight-medium);
    color: var(--primary);
    padding: 0 0.25rem;
    white-space: nowrap;
}

.einkauf[b-b5qtkwtvqw] {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.laden[b-b5qtkwtvqw] {
    display: flex;
    justify-content: center;
    padding: 3rem;
}

.leer[b-b5qtkwtvqw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--muted-foreground);
}

.gerichte[b-b5qtkwtvqw] {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.gerichte summary[b-b5qtkwtvqw] {
    cursor: pointer;
    padding: 0.25rem 0;
}

.gerichte ul[b-b5qtkwtvqw] {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
    line-height: 1.6;
}

.abteilung[b-b5qtkwtvqw] {
    margin-bottom: 1.25rem;
}

.abteilung h2[b-b5qtkwtvqw],
.abteilung > summary[b-b5qtkwtvqw] {
    margin: 0 0 0.375rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
}

.abteilung > summary[b-b5qtkwtvqw] {
    cursor: pointer;
    padding: 0.25rem 0;
}

.posten[b-b5qtkwtvqw] {
    display: flex;
    align-items: stretch;
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: -1px;
}

.posten-haken[b-b5qtkwtvqw] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-height: 60px;
    padding: 0.5rem 0.75rem;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.haken-kreis[b-b5qtkwtvqw] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 2px solid var(--muted-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.abgehakt .haken-kreis[b-b5qtkwtvqw] {
    background: var(--primary);
    border-color: var(--primary);
}

.posten-text[b-b5qtkwtvqw] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.posten-zeile[b-b5qtkwtvqw] {
    font-size: 1.0625rem;
    line-height: 1.35;
}

.posten-menge[b-b5qtkwtvqw] {
    font-weight: var(--font-weight-medium);
    margin-right: 0.375rem;
}

.posten-info[b-b5qtkwtvqw] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.abgehakt .posten-zeile[b-b5qtkwtvqw] {
    text-decoration: line-through;
    color: var(--muted-foreground);
}

.abgehakt .posten-info[b-b5qtkwtvqw] {
    opacity: 0.6;
}

/* „Haben wir“: durchgestrichen wie gekauft, aber grün hinterlegt (Farben wie .badge-success) */
.posten.vorhanden[b-b5qtkwtvqw] {
    background: #dcfce7;
    border-color: #bbf7d0;
    position: relative;
}

.vorhanden .posten-zeile[b-b5qtkwtvqw] {
    text-decoration: line-through;
    color: #166534;
}

.vorhanden .posten-info[b-b5qtkwtvqw] {
    color: #166534;
}

.vorhanden .haken-kreis[b-b5qtkwtvqw] {
    background: #166534;
    border-color: #166534;
}

.vorhanden .posten-streichen[b-b5qtkwtvqw] {
    color: #166534;
    border-left-color: #bbf7d0;
}

.vorhanden .posten-streichen:hover[b-b5qtkwtvqw] {
    background: #bbf7d0;
}

.posten-streichen[b-b5qtkwtvqw] {
    flex-shrink: 0;
    padding: 0 0.875rem;
    border: none;
    border-left: 1px solid var(--border);
    background: none;
    color: var(--muted-foreground);
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

.posten-streichen:hover[b-b5qtkwtvqw] {
    background: var(--muted);
    color: var(--foreground);
}

.posten.klein[b-b5qtkwtvqw] {
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.posten.klein .posten-zeile[b-b5qtkwtvqw] {
    font-size: 0.9375rem;
}

.nebensache[b-b5qtkwtvqw] {
    margin-top: 1.5rem;
}

.nebensache .posten[b-b5qtkwtvqw] {
    background: transparent;
}

.zuruecksetzen[b-b5qtkwtvqw] {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 1rem;
}

.original[b-b5qtkwtvqw] {
    margin-top: 2rem;
}

.original > summary[b-b5qtkwtvqw] {
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.75rem;
}

.vorrat-text[b-b5qtkwtvqw] {
    margin: 0 0 0.75rem;
    color: var(--muted-foreground);
}

.vorrat-neu[b-b5qtkwtvqw] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vorrat-neu .form-input[b-b5qtkwtvqw] {
    flex: 1;
}

.vorrat-liste[b-b5qtkwtvqw] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vorrat-liste li[b-b5qtkwtvqw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .knopf-text[b-b5qtkwtvqw] {
        display: none;
    }

    .vorrat-neu .form-input[b-b5qtkwtvqw] {
        font-size: 16px;
    }

    .posten.klein[b-b5qtkwtvqw] {
        flex-wrap: wrap;
    }

    .posten.klein .posten-text[b-b5qtkwtvqw] {
        flex-basis: 100%;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
.kennung[b-nqvk2bbtus] {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}
/* /Components/Pages/Favoriten.razor.rz.scp.css */
.rezept-raster[b-v6g44t4b4r] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.leer[b-v6g44t4b4r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--muted-foreground);
}

@media (min-width: 769px) and (max-width: 1100px) {
    .rezept-raster[b-v6g44t4b4r] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .rezept-raster[b-v6g44t4b4r] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ===== Unser Wochenplan (oben, am präsentesten) ===== */

.woche[b-xsbrds1xzg] {
    margin-bottom: 1.5rem;
    border-top: 3px solid var(--primary);
}

.woche-kopf[b-xsbrds1xzg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.woche-titel[b-xsbrds1xzg] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
}

.woche-datum[b-xsbrds1xzg] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.woche-knoepfe[b-xsbrds1xzg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.woche-leer[b-xsbrds1xzg] {
    padding: 1.25rem;
}

.woche-leer p[b-xsbrds1xzg] {
    margin: 0 0 1rem;
    color: var(--muted-foreground);
}

.heute[b-xsbrds1xzg] {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.heute-label[b-xsbrds1xzg] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.heute-nichts[b-xsbrds1xzg] {
    color: var(--muted-foreground);
}

.heute-gericht[b-xsbrds1xzg] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: inherit;
    text-decoration: none;
}

.heute-gericht:hover .heute-titel[b-xsbrds1xzg] {
    color: var(--primary);
}

.heute-bild[b-xsbrds1xzg] {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.heute-bild img[b-xsbrds1xzg] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heute-text[b-xsbrds1xzg] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.heute-titel[b-xsbrds1xzg] {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.25;
}

.heute-kochen[b-xsbrds1xzg] {
    align-self: flex-start;
}

.heute-info[b-xsbrds1xzg] {
    display: flex;
    gap: 1rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.heute-info span[b-xsbrds1xzg] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tage[b-xsbrds1xzg] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-top: 1px solid var(--border);
}

.tag[b-xsbrds1xzg] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.625rem 0.75rem;
    border-right: 1px solid var(--border);
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
    min-width: 0;
}

.tag:last-child[b-xsbrds1xzg] {
    border-right: none;
}

.tag:hover[b-xsbrds1xzg] {
    background: var(--muted);
}

.tag.ist-heute[b-xsbrds1xzg] {
    background: var(--accent);
}

.tag.vergangen[b-xsbrds1xzg] {
    color: var(--muted-foreground);
}

.tag-kopf[b-xsbrds1xzg] {
    font-weight: var(--font-weight-medium);
}

.tag-datum[b-xsbrds1xzg] {
    font-weight: var(--font-weight-normal);
    color: var(--muted-foreground);
}

.tag-inhalt[b-xsbrds1xzg] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.tag-gericht[b-xsbrds1xzg] {
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tag-leer[b-xsbrds1xzg] {
    color: var(--muted-foreground);
}

.suche[b-xsbrds1xzg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
}

.suche .form-input[b-xsbrds1xzg] {
    font-size: 1rem;
}

.abschnitt-kopf[b-xsbrds1xzg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.abschnitt-kopf a[b-xsbrds1xzg] {
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.875rem;
}

.link-knopf[b-xsbrds1xzg] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary);
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.favoriten-leer[b-xsbrds1xzg] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
}

.favoriten-leer span[b-xsbrds1xzg] {
    flex: 1;
}

.raster[b-xsbrds1xzg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.schnellwahl[b-xsbrds1xzg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.schnellwahl a[b-xsbrds1xzg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: inherit;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.schnellwahl a:hover[b-xsbrds1xzg] {
    background: var(--muted);
    color: var(--primary);
}

.stand[b-xsbrds1xzg] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

/* iPad: Tagesleiste zweizeilig wäre zu eng - vier plus drei */
@media (min-width: 769px) and (max-width: 1100px) {
    .tage[b-xsbrds1xzg] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tag:nth-child(4)[b-xsbrds1xzg] {
        border-right: none;
    }

    .tag:nth-child(n + 5)[b-xsbrds1xzg] {
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .woche[b-xsbrds1xzg] {
        margin-bottom: 1rem;
    }

    .woche-kopf[b-xsbrds1xzg] {
        flex-direction: column;
        align-items: stretch;
        padding: 0.875rem 1rem;
    }

    .woche-knoepfe .btn[b-xsbrds1xzg] {
        flex: 1;
        justify-content: center;
    }

    .heute[b-xsbrds1xzg] {
        padding: 0.875rem 1rem;
    }

    .heute-bild[b-xsbrds1xzg] {
        width: 96px;
        height: 96px;
    }

    .heute-titel[b-xsbrds1xzg] {
        font-size: 1.125rem;
    }

    /* Tage als Liste: Tag links, Gericht rechts */
    .tage[b-xsbrds1xzg] {
        grid-template-columns: 1fr;
    }

    .tag[b-xsbrds1xzg] {
        flex-direction: row;
        align-items: baseline;
        gap: 0.75rem;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
    }

    .tag:last-child[b-xsbrds1xzg] {
        border-bottom: none;
    }

    .tag-kopf[b-xsbrds1xzg] {
        flex: 0 0 5.5rem;
    }

    .tag-inhalt[b-xsbrds1xzg] {
        flex: 1;
    }

    .suche[b-xsbrds1xzg] {
        padding: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .suche[b-xsbrds1xzg]  svg {
        display: none;
    }

    .raster[b-xsbrds1xzg] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .schnellwahl[b-xsbrds1xzg] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .favoriten-leer[b-xsbrds1xzg] {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .schnellwahl a[b-xsbrds1xzg] {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/Kategorien.razor.rz.scp.css */
.kategorie-raster[b-je6ael90xf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.kategorie[b-je6ael90xf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: inherit;
    text-decoration: none;
}

.kategorie:hover[b-je6ael90xf] {
    background: var(--muted);
}

.kategorie:hover .kategorie-titel[b-je6ael90xf] {
    color: var(--primary);
}

.kategorie-titel[b-je6ael90xf] {
    font-weight: var(--font-weight-medium);
}

@media (max-width: 768px) {
    .kategorie-raster[b-je6ael90xf] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .kategorie[b-je6ael90xf] {
        padding: 0.875rem 1rem;
    }
}
/* /Components/Pages/Kochen.razor.rz.scp.css */
/* Kochmodus: große Schrift, große Trefferflächen, alles ohne Scrollen der ganzen Seite erreichbar
   (Konzept, Nutzungsmoment „Kochen“: Tablet oder Handy in der Küche, oft mit einer Hand) */

.koch-wach-video[b-vbdnpdpmmb] {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ===== Kopf ===== */

.koch-kopf[b-vbdnpdpmmb] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 60px;
    padding: 0 0.75rem;
    background: var(--card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

.koch-knopf[b-vbdnpdpmmb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: var(--foreground);
    cursor: pointer;
    flex-shrink: 0;
}

.koch-knopf.klein[b-vbdnpdpmmb] {
    width: 36px;
    height: 36px;
}

.koch-knopf:disabled[b-vbdnpdpmmb] {
    opacity: 0.35;
}

.koch-titel[b-vbdnpdpmmb] {
    flex: 1;
    min-width: 0;
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.koch-portionen[b-vbdnpdpmmb] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.koch-wach[b-vbdnpdpmmb] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}

.koch-wach.an[b-vbdnpdpmmb] {
    color: #166534;
    background: #dcfce7;
}

.koch-wach.aus[b-vbdnpdpmmb] {
    border: 1px solid var(--primary);
    background: var(--card);
    color: var(--primary);
    cursor: pointer;
}

.koch-meldung[b-vbdnpdpmmb] {
    padding: 1rem;
}

/* ===== Aufteilung: Zutaten links, Schritt rechts ===== */

.koch-tabs[b-vbdnpdpmmb] {
    display: none;
}

.koch-inhalt[b-vbdnpdpmmb] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(280px, 34%) 1fr;
}

.koch-zutaten[b-vbdnpdpmmb] {
    overflow-y: auto;
    padding: 1rem 1.25rem 2rem;
    background: var(--card);
    border-right: 1px solid var(--border);
}

.koch-hilfe[b-vbdnpdpmmb] {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.koch-gruppe[b-vbdnpdpmmb] {
    margin: 1rem 0 0.375rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.koch-zutaten ul[b-vbdnpdpmmb] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.koch-zutat[b-vbdnpdpmmb] {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.375rem;
    padding: 0.625rem 0.25rem;
    border: none;
    border-bottom: 1px solid var(--border);
    background: none;
    color: inherit;
    font: inherit;
    font-size: 1.0625rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.koch-menge[b-vbdnpdpmmb] {
    font-weight: var(--font-weight-medium);
}

.koch-optional[b-vbdnpdpmmb] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.koch-zutat.bereit[b-vbdnpdpmmb] {
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.koch-hinweise[b-vbdnpdpmmb] {
    margin-top: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

.koch-hinweise summary[b-vbdnpdpmmb] {
    cursor: pointer;
    font-weight: var(--font-weight-medium);
}

.koch-hinweis-titel[b-vbdnpdpmmb] {
    font-weight: var(--font-weight-medium);
    margin-top: 0.5rem;
}

.koch-hinweis-text[b-vbdnpdpmmb] {
    white-space: pre-line;
    line-height: 1.5;
}

.koch-los[b-vbdnpdpmmb] {
    display: none;
}

/* ===== Schritt ===== */

/* Nur der Inhalt scrollt - „Zurück“/„Weiter“ bleiben auch bei langem Text immer sichtbar */
.koch-schritt[b-vbdnpdpmmb] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem 1rem;
    overflow: hidden;
}

.koch-schritt-inhalt[b-vbdnpdpmmb] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.koch-stand[b-vbdnpdpmmb] {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    font-weight: var(--font-weight-medium);
}

.koch-balken[b-vbdnpdpmmb] {
    height: 6px;
    background: var(--muted);
    margin: 0.5rem 0 1.25rem;
}

.koch-balken div[b-vbdnpdpmmb] {
    height: 100%;
    background: var(--primary);
    transition: width 0.25s ease;
}

.koch-schritt-titel[b-vbdnpdpmmb] {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
}

.koch-text[b-vbdnpdpmmb] {
    font-size: 1.5rem;
    line-height: 1.6;
    white-space: pre-line;
    flex: 1;
}

.koch-timer-knoepfe[b-vbdnpdpmmb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.koch-timer-knopf[b-vbdnpdpmmb] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--primary);
    background: var(--accent);
    color: var(--primary);
    font: inherit;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

.koch-navigation[b-vbdnpdpmmb] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-shrink: 0;
}

.koch-zurueck[b-vbdnpdpmmb],
.koch-weiter[b-vbdnpdpmmb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 64px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    font: inherit;
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

.koch-zurueck:disabled[b-vbdnpdpmmb] {
    opacity: 0.4;
    cursor: default;
}

.koch-weiter[b-vbdnpdpmmb] {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.koch-weiter.letzter[b-vbdnpdpmmb] {
    background: #166534;
    border-color: #166534;
}

/* ===== Fertig ===== */

.koch-fertig[b-vbdnpdpmmb] {
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.koch-fertig h2[b-vbdnpdpmmb] {
    margin: 0;
    font-size: 1.75rem;
}

.koch-fertig[b-vbdnpdpmmb]  .koch-fertig-icon {
    width: 56px;
    height: 56px;
    color: var(--primary);
}

.koch-fertig p[b-vbdnpdpmmb] {
    margin: 0;
    color: var(--muted-foreground);
}

.koch-bewertung[b-vbdnpdpmmb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.koch-fertig-knoepfe[b-vbdnpdpmmb] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.link-knopf[b-vbdnpdpmmb] {
    padding: 0;
    border: none;
    background: none;
    color: var(--primary);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

/* ===== Handy: Zutaten und Schritte umschalten, Blättern unten ===== */

@media (max-width: 768px) {
    .koch-kopf[b-vbdnpdpmmb] {
        height: 56px;
        gap: 0.375rem;
        padding: 0 0.25rem;
    }

    .koch-titel[b-vbdnpdpmmb] {
        font-size: 1rem;
    }

    .koch-wach.an[b-vbdnpdpmmb] {
        display: none; /* läuft - kein Platz für die Anzeige */
    }

    .koch-tabs[b-vbdnpdpmmb] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex-shrink: 0;
        background: var(--card);
        border-bottom: 1px solid var(--border);
    }

    .koch-tabs button[b-vbdnpdpmmb] {
        padding: 0.75rem;
        border: none;
        border-bottom: 3px solid transparent;
        background: none;
        font: inherit;
        font-weight: var(--font-weight-medium);
        color: var(--muted-foreground);
        cursor: pointer;
    }

    .koch-tabs button.aktiv[b-vbdnpdpmmb] {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }

    .koch-inhalt[b-vbdnpdpmmb] {
        grid-template-columns: 1fr;
    }

    .koch-inhalt.zeige-zutaten .koch-schritt[b-vbdnpdpmmb],
    .koch-inhalt.zeige-schritte .koch-zutaten[b-vbdnpdpmmb] {
        display: none;
    }

    .koch-zutaten[b-vbdnpdpmmb] {
        border-right: none;
        padding: 0.75rem 1rem 1.5rem;
    }

    .koch-los[b-vbdnpdpmmb] {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 1.25rem;
        min-height: 52px;
        font-size: 1rem;
    }

    .koch-schritt[b-vbdnpdpmmb] {
        padding: 1rem 1rem 0.75rem;
    }

    .koch-text[b-vbdnpdpmmb],
    .koch-schritt-titel[b-vbdnpdpmmb] {
        font-size: 1.25rem;
    }

    .koch-navigation[b-vbdnpdpmmb] {
        margin-top: 0.5rem;
    }

    .koch-zurueck[b-vbdnpdpmmb],
    .koch-weiter[b-vbdnpdpmmb] {
        min-height: 56px;
    }
}
/* /Components/Pages/Monatsplan.razor.rz.scp.css */
/* ===== Action-Bar: Blättern direkt am Monat (wie Wochenplan und Einkaufsliste) ===== */

.monats-titel[b-01yih6jo1l] {
    gap: 0.25rem;
}

.monats-titel a.action-btn[b-01yih6jo1l] {
    color: var(--foreground);
}

.monats-aktionen[b-01yih6jo1l] {
    display: flex;
    gap: 0.5rem;
}

/* ===== Planungsstand ===== */

.stand[b-01yih6jo1l] {
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.stand-zahlen[b-01yih6jo1l] {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.kennzahl[b-01yih6jo1l] {
    display: flex;
    flex-direction: column;
}

.kennzahl-wert[b-01yih6jo1l] {
    font-size: 1.75rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.1;
}

.kennzahl-wert.offen[b-01yih6jo1l] {
    color: var(--primary);
}

.kennzahl-von[b-01yih6jo1l] {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-weight: var(--font-weight-normal);
}

.kennzahl-text[b-01yih6jo1l] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.balken[b-01yih6jo1l] {
    height: 8px;
    background: var(--muted);
    overflow: hidden;
}

.balken-fuellung[b-01yih6jo1l] {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

.naechste[b-01yih6jo1l] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
}

.naechste-label[b-01yih6jo1l] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-right: 0.25rem;
}

.naechste.fertig[b-01yih6jo1l] {
    color: #166534;
    font-size: 0.875rem;
    gap: 0.375rem;
}

/* ===== Kalender: pro Kalenderwoche eine Zeile, links die Wocheninfo ===== */

.kalender[b-01yih6jo1l] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kalender-kopf[b-01yih6jo1l],
.woche[b-01yih6jo1l] {
    display: grid;
    grid-template-columns: 130px repeat(7, minmax(0, 1fr));
}

.kalender-kopf[b-01yih6jo1l] {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    color: var(--muted-foreground);
    padding: 0 0 0.125rem;
}

.kalender-kopf span[b-01yih6jo1l] {
    padding-left: 0.5rem;
}

.woche-info[b-01yih6jo1l] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.625rem 0.75rem;
    border-right: 1px solid var(--border);
    background: var(--secondary);
}

.woche-kw[b-01yih6jo1l] {
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
    text-decoration: none;
}

.woche-kw:hover[b-01yih6jo1l] {
    color: var(--primary);
}

.woche-zeitraum[b-01yih6jo1l] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.woche-stand[b-01yih6jo1l] {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: var(--font-weight-medium);
    margin-top: 0.25rem;
}

.woche-stand.voll[b-01yih6jo1l] {
    color: #166534;
}

.woche-stand.leer[b-01yih6jo1l] {
    color: var(--muted-foreground);
}

.woche-links[b-01yih6jo1l] {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 0.375rem;
    font-size: 0.8125rem;
}

.woche-links a[b-01yih6jo1l] {
    color: var(--primary);
    text-decoration: none;
}

.woche-links a:hover[b-01yih6jo1l] {
    text-decoration: underline;
}

/* Vergangene Woche ohne Plan: alles in einer Zeile */
.eingeklappt .woche-info[b-01yih6jo1l] {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
}

.eingeklappt .woche-zeitraum[b-01yih6jo1l] {
    white-space: nowrap;
}

.eingeklappt .woche-stand[b-01yih6jo1l],
.eingeklappt .woche-links[b-01yih6jo1l] {
    display: none;
}

.woche-leer[b-01yih6jo1l] {
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.tag[b-01yih6jo1l] {
    min-height: 116px;
    padding: 0.375rem 0.5rem 0.5rem;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.tag:last-child[b-01yih6jo1l] {
    border-right: none;
}

.tag.heute[b-01yih6jo1l] {
    background: var(--accent);
    box-shadow: inset 0 3px 0 var(--primary);
}

.tag.ausserhalb[b-01yih6jo1l] {
    background: repeating-linear-gradient(135deg, transparent 0 6px, var(--muted) 6px 7px);
}

.tag.ausserhalb .tag-kopf[b-01yih6jo1l],
.tag.vergangen .tag-kopf[b-01yih6jo1l] {
    color: var(--muted-foreground);
}

.tag.vergangen .tag-gericht[b-01yih6jo1l] {
    opacity: 0.7;
}

.tag-kopf[b-01yih6jo1l] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
}

.tag-name[b-01yih6jo1l] {
    display: none;
    font-weight: var(--font-weight-medium);
}

.tag-datum[b-01yih6jo1l] {
    font-weight: var(--font-weight-medium);
}

.tag-plus[b-01yih6jo1l] {
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
}

/* Plus nur beim Überfahren - bei freien Tagen immer sichtbar, damit Lücken auffallen */
.tag:hover .tag-plus[b-01yih6jo1l],
.tag.frei .tag-plus[b-01yih6jo1l],
.tag-plus:focus-visible[b-01yih6jo1l] {
    opacity: 1;
}

.tag.frei:not(.vergangen):not(.ausserhalb) .tag-plus[b-01yih6jo1l] {
    color: var(--primary);
}

.tag-plus:hover[b-01yih6jo1l] {
    background: var(--muted);
}

.tag-gerichte[b-01yih6jo1l] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.tag-gericht[b-01yih6jo1l] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
    line-height: 1.25;
}

.tag-gericht img[b-01yih6jo1l] {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--muted);
}

.tag-gericht span[b-01yih6jo1l] {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-gericht:hover span[b-01yih6jo1l] {
    color: var(--primary);
}

/* iPad: Bilder zu klein für sinnvolle Vorschau - nur Titel */
@media (min-width: 769px) and (max-width: 1100px) {
    .kalender-kopf[b-01yih6jo1l],
    .woche[b-01yih6jo1l] {
        grid-template-columns: 96px repeat(7, minmax(0, 1fr));
    }

    .tag-gericht img[b-01yih6jo1l] {
        display: none;
    }

    .tag[b-01yih6jo1l] {
        min-height: 88px;
    }
}

/* Handy: jede Woche als Block, darin eine Zeile pro Tag (wie die Tagesleiste der Startseite) */
@media (max-width: 768px) {
    .stand[b-01yih6jo1l] {
        padding: 0.875rem 1rem;
    }

    .stand-zahlen[b-01yih6jo1l] {
        gap: 1.5rem;
    }

    .kennzahl-wert[b-01yih6jo1l] {
        font-size: 1.375rem;
    }

    .naechste .filter-btn[b-01yih6jo1l] {
        padding: 0.5rem 0.75rem;
    }

    .kalender-kopf[b-01yih6jo1l] {
        display: none;
    }

    .woche[b-01yih6jo1l] {
        grid-template-columns: 1fr;
    }

    .woche-leer[b-01yih6jo1l] {
        grid-column: 1;
        padding: 0.5rem 0.75rem;
    }

    .woche-info[b-01yih6jo1l] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 0.75rem;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .woche-stand[b-01yih6jo1l] {
        margin-top: 0;
    }

    .woche-links[b-01yih6jo1l] {
        flex-direction: row;
        gap: 0.75rem;
        margin: 0 0 0 auto;
        padding: 0;
    }

    .tag[b-01yih6jo1l] {
        min-height: 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .tag:last-child[b-01yih6jo1l] {
        border-bottom: none;
    }

    .tag.heute[b-01yih6jo1l] {
        box-shadow: inset 3px 0 0 var(--primary);
    }

    .tag-kopf[b-01yih6jo1l] {
        flex: 0 0 4.75rem;
        font-size: 0.9375rem;
    }

    .tag-name[b-01yih6jo1l] {
        display: inline;
    }

    .tag-datum[b-01yih6jo1l] {
        font-weight: var(--font-weight-normal);
        color: var(--muted-foreground);
    }

    .tag-gerichte[b-01yih6jo1l] {
        flex: 1;
        min-width: 0;
    }

    .tag-gericht[b-01yih6jo1l] {
        font-size: 0.9375rem;
    }

    .tag-gericht img[b-01yih6jo1l] {
        display: none;
    }

    /* Plus am Handy rechts und immer sichtbar (kein Hover) */
    .tag[b-01yih6jo1l] {
        position: relative;
        padding-right: 3rem;
    }

    .tag-plus[b-01yih6jo1l] {
        position: absolute;
        right: 0.375rem;
        top: 0.25rem;
        width: 36px;
        height: 36px;
        margin: 0;
        opacity: 1;
    }

    .tag.frei .tag-gerichte[b-01yih6jo1l]::before {
        content: "-";
        color: var(--muted-foreground);
    }
}

.knopf-text[b-01yih6jo1l] {
    display: inline;
}

@media (max-width: 768px) {
    .knopf-text[b-01yih6jo1l] {
        display: none;
    }
}

/* ===== Druck (A4 quer, benannte Seite „monat“ aus app.css) ===== */
@media print {
    .monat-druck[b-01yih6jo1l] {
        page: monat;
    }

    .druck-titel[b-01yih6jo1l] {
        font-size: 15pt;
        margin: 0 0 3mm;
    }

    .naechste[b-01yih6jo1l],
    .balken[b-01yih6jo1l],
    .woche-links[b-01yih6jo1l],
    .tag-plus[b-01yih6jo1l],
    .tag-gericht img[b-01yih6jo1l] {
        display: none !important;
    }

    .stand[b-01yih6jo1l] {
        flex-direction: row;
        padding: 0 !important;
        margin-bottom: 3mm !important;
        border: none !important;
    }

    .kennzahl-wert[b-01yih6jo1l] {
        font-size: 12pt;
    }

    .kalender[b-01yih6jo1l] {
        gap: 0;
    }

    .kalender-kopf[b-01yih6jo1l],
    .woche[b-01yih6jo1l] {
        grid-template-columns: 22mm repeat(7, minmax(0, 1fr)) !important;
    }

    .woche[b-01yih6jo1l] {
        border: 1px solid #999 !important;
        margin-top: -1px;
        break-inside: avoid;
    }

    .woche-info[b-01yih6jo1l] {
        background: #f3f3f3 !important;
        padding: 1.5mm 2mm;
    }

    .tag[b-01yih6jo1l] {
        min-height: 28mm; /* Platz für handschriftliche Ergänzungen */
        padding: 1.5mm;
        border-right: 1px solid #ccc;
        background: none !important;
        box-shadow: none !important;
    }

    .tag.ausserhalb[b-01yih6jo1l] {
        color: #999;
    }

    .tag-gericht[b-01yih6jo1l] {
        font-size: 8.5pt;
    }

    .tag-gericht span[b-01yih6jo1l] {
        -webkit-line-clamp: 3;
    }

    /* Media Queries werten im Druck gegen A4 hochkant (~680 px) aus - die Handy-Regeln
       greifen also, obwohl die Seite quer gedruckt wird. Kalenderlayout hier erzwingen. */
    .kalender-kopf[b-01yih6jo1l] {
        display: grid !important;
        font-size: 8pt;
    }

    .woche-info[b-01yih6jo1l] {
        flex-direction: column !important;
        border-right: 1px solid #999 !important;
        border-bottom: none !important;
    }

    .tag[b-01yih6jo1l] {
        flex-direction: column !important;
        gap: 1mm !important;
        border-bottom: none !important;
        padding-right: 1.5mm !important;
    }

    .tag-kopf[b-01yih6jo1l] {
        flex: none !important;
        font-size: 8.5pt !important;
    }

    .tag-name[b-01yih6jo1l] {
        display: none !important;
    }

    .tag.frei .tag-gerichte[b-01yih6jo1l]::before {
        content: none !important;
    }

    .tag.vergangen .tag-gericht[b-01yih6jo1l] {
        opacity: 1 !important;
    }
}

/* /Components/Pages/RezeptDetail.razor.rz.scp.css */
.kopf[b-040mat143i] {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    margin-bottom: 1.5rem;
}

.kopf-medien[b-040mat143i] {
    background: var(--muted);
}

.kopf-medien video[b-040mat143i],
.kopf-medien img[b-040mat143i] {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #000;
}

.kopf-medien video[b-040mat143i] {
    object-fit: contain;
}

/* ===== Medien-Karussell: Wischen per Scroll-Snap, Pfeile für die Maus ===== */

.karussell[b-040mat143i] {
    position: relative;
    min-width: 0;
}

.karussell-spur[b-040mat143i] {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.karussell-spur[b-040mat143i]::-webkit-scrollbar {
    display: none;
}

.karussell-folie[b-040mat143i] {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.karussell-pfeil[b-040mat143i] {
    position: absolute;
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--foreground);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.karussell:hover .karussell-pfeil[b-040mat143i],
.karussell-pfeil:focus-visible[b-040mat143i] {
    opacity: 1;
}

.karussell-pfeil.links[b-040mat143i] {
    left: 0.5rem;
}

.karussell-pfeil.rechts[b-040mat143i] {
    right: 0.5rem;
}

/* Punkte unter den Medien statt darüber - sonst verdecken sie die Video-Bedienleiste */
.karussell-punkte[b-040mat143i] {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0;
    background: var(--card);
}

.karussell-punkt[b-040mat143i] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
}

.karussell-punkt.aktiv[b-040mat143i] {
    background: var(--primary);
}

/* Touch-Geräte wischen - Pfeile nur mit Maus */
@media (hover: none) {
    .karussell-pfeil[b-040mat143i] {
        display: none;
    }
}

/* ===== Familiendaten ===== */

.bewertung[b-040mat143i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: -0.25rem;
}

.bewertung-text[b-040mat143i] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.rezept-aktionen[b-040mat143i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.favorit-knopf[b-040mat143i] {
    color: var(--muted-foreground);
}

.favorit-knopf.an[b-040mat143i] {
    color: var(--fk-favorit);
}

.favorit-knopf.an[b-040mat143i]  svg {
    fill: currentColor;
}

.notiz-neu[b-040mat143i] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.notiz-neu textarea[b-040mat143i] {
    width: 100%;
    resize: vertical;
    font: inherit;
}

.notiz[b-040mat143i] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.notiz-kopf[b-040mat143i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dialog-text[b-040mat143i] {
    margin: 0 0 1rem;
    line-height: 1.5;
}

.plan-woche[b-040mat143i] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--muted-foreground);
    margin: 0.75rem 0 0.375rem;
}

.plan-mahlzeit[b-040mat143i] {
    margin-bottom: 0.25rem;
}

.plan-tage[b-040mat143i] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.375rem;
}

.plan-tag[b-040mat143i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid var(--border);
    background: var(--card);
    font: inherit;
    cursor: pointer;
}

.plan-tag:hover:not(:disabled)[b-040mat143i] {
    border-color: var(--primary);
    background: var(--accent);
}

.plan-tag:disabled[b-040mat143i] {
    opacity: 0.4;
    cursor: default;
}

.plan-tag.gewaehlt[b-040mat143i] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
}

.plan-tag-name[b-040mat143i] {
    font-weight: var(--font-weight-medium);
}

.plan-tag-datum[b-040mat143i] {
    font-size: 0.75rem;
}

.eingeplant[b-040mat143i] {
    margin-top: 1rem;
}

.kopf-text[b-040mat143i] {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vorzeile[b-040mat143i] {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: var(--font-weight-medium);
}

.titel[b-040mat143i] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
}

.einleitung[b-040mat143i] {
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.merkmale[b-040mat143i] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.merkmale a.badge[b-040mat143i] {
    text-decoration: none;
}

.spalten[b-040mat143i] {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.zutaten-kopf[b-040mat143i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.portionen[b-040mat143i] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.portionen-wert[b-040mat143i] {
    min-width: 7.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.zutaten-inhalt[b-040mat143i] {
    padding: 0.75rem 1.25rem 1rem;
}

.gruppe[b-040mat143i] {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    margin: 1rem 0 0.25rem;
    color: var(--primary);
}

.zutatenliste[b-040mat143i] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zutatenliste li[b-040mat143i] {
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.4;
}

.zutatenliste li:last-child[b-040mat143i] {
    border-bottom: none;
}

.menge[b-040mat143i] {
    font-weight: var(--font-weight-medium);
    margin-right: 0.25rem;
}

.alternative[b-040mat143i] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    padding-left: 0.75rem;
}

.schrittliste[b-040mat143i] {
    margin: 0;
    padding: 0.75rem 1.25rem 1rem 2.75rem;
}

.schrittliste li[b-040mat143i] {
    padding: 0.5rem 0;
    line-height: 1.6;
}

.schritt-titel[b-040mat143i] {
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.25rem;
}

.text[b-040mat143i] {
    white-space: pre-line;
}

.abschnitt[b-040mat143i] {
    margin-bottom: 1.5rem;
}

.abschnitt .card-header[b-040mat143i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abschnitt-inhalt[b-040mat143i] {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    line-height: 1.5;
}

.hinweis-titel[b-040mat143i] {
    font-weight: var(--font-weight-medium);
}



.wochen[b-040mat143i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.wochen a[b-040mat143i] {
    text-decoration: none;
}

.klein[b-040mat143i] {
    font-size: 0.875rem;
}

.gedaempft[b-040mat143i] {
    color: var(--muted-foreground);
}

.leer[b-040mat143i] {
    padding: 2.5rem 0.75rem;
}

/* iPad hochkant: Spalten untereinander, Kopf bleibt zweispaltig mit schmalerem Bild */
@media (max-width: 1024px) {
    .kopf[b-040mat143i] {
        grid-template-columns: minmax(0, 280px) 1fr;
    }

    .kopf-medien[b-040mat143i] {
        align-self: start;
    }

    .kopf-text[b-040mat143i] {
        padding: 1.25rem 1.5rem;
    }

    .spalten[b-040mat143i] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kopf[b-040mat143i] {
        grid-template-columns: 1fr;
    }

    .kopf[b-040mat143i],
    .spalten[b-040mat143i],
    .abschnitt[b-040mat143i] {
        margin-bottom: 1rem;
    }

    .spalten[b-040mat143i] {
        gap: 1rem;
    }

    .kopf-medien video[b-040mat143i],
    .kopf-medien img[b-040mat143i] {
        aspect-ratio: 1 / 1;
    }

    .kopf-text[b-040mat143i] {
        padding: 1rem;
    }

    .titel[b-040mat143i] {
        font-size: 1.25rem;
    }

    /* Größere Trefferflächen für die Portionen am Handy */
    .portionen[b-040mat143i]  .action-btn {
        width: 40px;
        height: 40px;
    }

    .zutaten-inhalt[b-040mat143i],
    .abschnitt-inhalt[b-040mat143i] {
        padding: 0.75rem 1rem;
    }

    .schrittliste[b-040mat143i] {
        padding: 0.5rem 1rem 0.75rem 2.25rem;
    }

}

@media (max-width: 768px) {
    .knopf-text[b-040mat143i] {
        display: none;
    }

    .plan-tage[b-040mat143i] {
        gap: 0.25rem;
    }

    .plan-tag[b-040mat143i] {
        padding: 0.625rem 0;
    }

    .notiz-neu textarea[b-040mat143i] {
        font-size: 16px;
    }
}

/* ===== „Gekocht am“ ===== */

.gekocht[b-040mat143i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.gekocht-verlauf[b-040mat143i],
.gekocht-heute[b-040mat143i] {
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}

.gekocht-verlauf[b-040mat143i] {
    color: var(--foreground);
    text-decoration: underline dotted;
}

.gekocht-heute[b-040mat143i] {
    color: var(--primary);
}

.gekocht-heute[b-040mat143i]::before {
    content: "+ ";
}

.gekocht-liste[b-040mat143i] {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.gekocht-liste li[b-040mat143i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 280px;
    border-bottom: 1px solid var(--border);
}

/* ===== Druck (A4 hochkant): Kopf mit kleinem Bild, Zutaten vor den Schritten ===== */
@media print {
    .karussell[b-040mat143i],
    .notiz-neu[b-040mat143i],
    .gekocht-heute[b-040mat143i],
    .gekocht-liste[b-040mat143i],
    .plan-mahlzeit[b-040mat143i] {
        display: none !important;
    }

    .kopf[b-040mat143i] {
        display: grid !important;
        grid-template-columns: 45mm 1fr !important;
        gap: 6mm;
        margin-bottom: 5mm;
        border: none !important;
        break-inside: avoid;
    }

    .druck-bild[b-040mat143i] {
        width: 45mm;
        height: 45mm;
        object-fit: cover;
    }

    .kopf-text[b-040mat143i] {
        padding: 0 !important;
        gap: 2mm;
    }

    .titel[b-040mat143i] {
        font-size: 18pt;
    }

    .spalten[b-040mat143i] {
        display: block !important;
    }

    .zutaten[b-040mat143i],
    .schritte[b-040mat143i],
    .abschnitt[b-040mat143i] {
        margin-bottom: 5mm !important;
        border: none !important;
    }

    .card-header[b-040mat143i] {
        padding: 0 0 1.5mm !important;
        border-bottom: 1px solid #999 !important;
        font-size: 12pt;
        background: none !important;
    }

    .zutaten-inhalt[b-040mat143i],
    .abschnitt-inhalt[b-040mat143i] {
        padding: 2mm 0 0 !important;
    }

    /* Zutaten zweispaltig spart Papier */
    .zutatenliste[b-040mat143i] {
        columns: 2;
        column-gap: 8mm;
    }

    .zutatenliste li[b-040mat143i] {
        break-inside: avoid;
        padding: 0.5mm 0 !important;
    }

    .schrittliste li[b-040mat143i] {
        break-inside: avoid;
    }

    .druck-sterne[b-040mat143i] {
        display: inline !important;
        color: #a15c00;
        font-size: 12pt;
        letter-spacing: 1px;
    }

    /* Leere Notizen-Karte nicht drucken */
    .notizen:not(:has(.notiz))[b-040mat143i] {
        display: none !important;
    }
}

/* /Components/Pages/Rezepte.razor.rz.scp.css */
.suche-karte[b-rl7vr6gsbk] {
    padding: 1rem 1.25rem 0.25rem;
    margin-bottom: 1.5rem;
}

.suche-zeile[b-rl7vr6gsbk] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.suche-feld[b-rl7vr6gsbk] {
    position: relative;
    flex: 1 1 320px;
    display: flex;
    align-items: center;
}

.suche-feld[b-rl7vr6gsbk]  svg {
    position: absolute;
    left: 0.75rem;
    color: var(--muted-foreground);
    pointer-events: none;
}

.suche-feld .form-input[b-rl7vr6gsbk] {
    padding-left: 2.25rem;
    font-size: 1rem;
}

.suche-zeile .form-select[b-rl7vr6gsbk] {
    flex: 0 1 auto;
    width: auto;
    min-width: 160px;
}

/* .filter-bar/.filter-btn (STANDARDS 3.8) stehen global in app.css - hier nur die Anpassungen der Rezeptliste */

.rezepte-aktionen[b-rl7vr6gsbk] {
    display: flex;
    gap: 0.5rem;
}

.treffer-anzahl[b-rl7vr6gsbk] {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.rezept-raster[b-rl7vr6gsbk] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.leer[b-rl7vr6gsbk] {
    padding: 2.5rem 0.75rem;
}

.mehr[b-rl7vr6gsbk] {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 0.5rem;
}

@media (max-width: 768px) {
    .suche-karte[b-rl7vr6gsbk] {
        padding: 0.75rem 0.75rem 0;
        margin-bottom: 1rem;
    }

    /* Auswahlfelder zweispaltig unter der Suche */
    .suche-zeile[b-rl7vr6gsbk] {
        gap: 0.5rem;
    }

    .suche-feld[b-rl7vr6gsbk] {
        flex-basis: 100%;
    }

    .suche-zeile .form-select[b-rl7vr6gsbk] {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
    }

    /* Filter-Knöpfe horizontal wischbar statt mehrzeilig */
    .filter-bar[b-rl7vr6gsbk] {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -0.75rem 0.75rem;
        padding: 0 0.75rem 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-btn[b-rl7vr6gsbk] {
        flex-shrink: 0;
        padding: 0.5rem 0.875rem;
    }

    .treffer-anzahl[b-rl7vr6gsbk] {
        flex-shrink: 0;
        padding-left: 0.5rem;
    }

    .rezept-raster[b-rl7vr6gsbk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .rezept-raster[b-rl7vr6gsbk] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .knopf-text[b-rl7vr6gsbk] {
        display: none;
    }
}
/* /Components/Pages/RezeptEditor.razor.rz.scp.css */
.abschnitt[b-0j21prviik] {
    margin-bottom: 1.25rem;
}

.abschnitt-inhalt[b-0j21prviik] {
    padding: 1rem 1.25rem;
}

.formular[b-0j21prviik] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.formular textarea[b-0j21prviik],
.schritt textarea[b-0j21prviik] {
    resize: vertical;
    font: inherit;
}

.herkunft[b-0j21prviik] {
    margin: 0 0 1rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.klein[b-0j21prviik] {
    font-size: 0.8125rem;
}

.gedaempft[b-0j21prviik] {
    color: var(--muted-foreground);
}

.zahlen[b-0j21prviik] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.zahlen > div[b-0j21prviik] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.merkmale[b-0j21prviik] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
}

/* ===== Fotos ===== */

.fotos[b-0j21prviik] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.foto[b-0j21prviik] {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--muted);
}

.foto img[b-0j21prviik] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.foto.titelbild[b-0j21prviik] {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.foto-etikett[b-0j21prviik] {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
}

.foto-knoepfe[b-0j21prviik] {
    position: absolute;
    right: 0.25rem;
    bottom: 0.25rem;
    display: flex;
    gap: 0.25rem;
}

.foto-knoepfe[b-0j21prviik]  .action-btn,
.foto-knoepfe .action-btn[b-0j21prviik] {
    background: rgba(255, 255, 255, 0.9);
}

.foto-neu[b-0j21prviik] {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px dashed var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
    text-align: center;
    padding: 0.5rem;
}

.foto-neu:hover[b-0j21prviik] {
    border-color: var(--primary);
    color: var(--primary);
}

/* Das eigentliche Datei-Feld unsichtbar über die ganze Kachel legen */
.foto-neu[b-0j21prviik]  input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.foto-neu.laedt[b-0j21prviik] {
    cursor: progress;
}

/* ===== Zutaten ===== */

.gruppe[b-0j21prviik] {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.gruppe-kopf[b-0j21prviik] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.gruppe-name[b-0j21prviik] {
    flex: 1;
    font-weight: var(--font-weight-medium);
}

.zutat[b-0j21prviik] {
    display: grid;
    grid-template-columns: 5.5rem 6.5rem minmax(0, 2fr) minmax(0, 1.5fr) auto auto;
    gap: 0.375rem;
    align-items: center;
    margin-bottom: 0.375rem;
}

.z-optional[b-0j21prviik] {
    font-size: 0.8125rem;
    white-space: nowrap;
}

.z-knoepfe[b-0j21prviik],
.schritt-knoepfe[b-0j21prviik] {
    display: flex;
    gap: 0.125rem;
}

.neue-gruppe[b-0j21prviik] {
    margin-top: 0.25rem;
}

/* ===== Schritte ===== */

.schritt[b-0j21prviik] {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.schritt-nummer[b-0j21prviik] {
    font-weight: var(--font-weight-medium);
    min-width: 1.5rem;
    padding-top: 0.5rem;
}

.schritt-felder[b-0j21prviik] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

/* ===== Fußleiste ===== */

.editor-fuss[b-0j21prviik] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.5rem 0 2rem;
}

.fuss-spacer[b-0j21prviik] {
    flex: 1;
}

@media (max-width: 768px) {
    .abschnitt[b-0j21prviik] {
        margin-bottom: 1rem;
    }

    .abschnitt-inhalt[b-0j21prviik] {
        padding: 0.875rem 1rem;
    }

    /* iOS zoomt bei Eingabefeldern unter 16px */
    .editor[b-0j21prviik]  .form-input,
    .editor .form-input[b-0j21prviik] {
        font-size: 16px;
    }

    .zahlen[b-0j21prviik] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .fotos[b-0j21prviik] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    /* Zutat: Menge + Einheit + Knöpfe oben, Zutat und Hinweis darunter */
    .zutat[b-0j21prviik] {
        grid-template-columns: 5rem minmax(0, 1fr) auto;
        grid-template-areas:
            "menge einheit knoepfe"
            "name name name"
            "hinweis hinweis optional";
        padding-bottom: 0.625rem;
        margin-bottom: 0.625rem;
        border-bottom: 1px dashed var(--border);
    }

    .z-menge[b-0j21prviik] { grid-area: menge; }
    .z-einheit[b-0j21prviik] { grid-area: einheit; }
    .z-name[b-0j21prviik] { grid-area: name; }
    .z-hinweis[b-0j21prviik] { grid-area: hinweis; }
    .z-optional[b-0j21prviik] { grid-area: optional; }
    .z-knoepfe[b-0j21prviik] { grid-area: knoepfe; }

    .schritt[b-0j21prviik] {
        flex-wrap: wrap;
    }

    .schritt-felder[b-0j21prviik] {
        flex-basis: calc(100% - 2.25rem);
    }

    .schritt-knoepfe[b-0j21prviik] {
        margin-left: 2.1rem;
    }

    .editor-fuss[b-0j21prviik] {
        flex-wrap: wrap;
    }

    .editor-fuss .btn-primary[b-0j21prviik] {
        flex: 1;
        justify-content: center;
    }
}
/* /Components/Pages/VorlageDetail.razor.rz.scp.css */
.tage[b-iatizxtxv9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.abstand[b-iatizxtxv9] {
    margin-top: 2rem;
}

.leer[b-iatizxtxv9] {
    padding: 2.5rem 0.75rem;
}

.blaettern[b-iatizxtxv9] {
    display: flex;
    gap: 0.5rem;
}

.blaettern .disabled[b-iatizxtxv9] {
    pointer-events: none;
    opacity: 0.5;
}

.dialog-text[b-iatizxtxv9] {
    margin: 0 0 1rem;
    line-height: 1.5;
}

.ziel-wochen[b-iatizxtxv9] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ziel-woche[b-iatizxtxv9] {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--border);
    cursor: pointer;
}

.ziel-woche input[b-iatizxtxv9] {
    grid-row: span 2;
}

.ziel-woche.gewaehlt[b-iatizxtxv9] {
    border-color: var(--primary);
    background: var(--accent);
}

.ziel-name[b-iatizxtxv9] {
    font-weight: var(--font-weight-medium);
}

.ziel-info[b-iatizxtxv9] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.ersetzen[b-iatizxtxv9] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .tage[b-iatizxtxv9] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .tage[b-iatizxtxv9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .abstand[b-iatizxtxv9] {
        margin-top: 1.25rem;
    }

    /* Blättern nur als Pfeile, „Übernehmen“ nur als Icon - damit die Action-Bar in eine Zeile passt */
    .blaettern .btn[b-iatizxtxv9] {
        font-size: 0;
        gap: 0;
        padding: 0.5rem 0.75rem;
    }

    .uebernehmen-text[b-iatizxtxv9] {
        display: none;
    }
}
/* /Components/Pages/Vorlagen.razor.rz.scp.css */
.zeile[b-n3f2867uo6] {
    cursor: pointer;
}

.zeile:hover td[b-n3f2867uo6] {
    background: var(--muted);
}

.spalte-zeitraum[b-n3f2867uo6] {
    white-space: nowrap;
    width: 1%;
}

.spalte-zeitraum a[b-n3f2867uo6] {
    color: var(--primary);
    text-decoration: none;
}

.spalte-liste[b-n3f2867uo6] {
    width: 1%;
    text-align: center;
    color: var(--muted-foreground);
}

.gedaempft[b-n3f2867uo6] {
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .spalte-liste[b-n3f2867uo6] {
        display: none;
    }

    [b-n3f2867uo6] .data-table td,
    [b-n3f2867uo6] .data-table th {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .spalte-zeitraum[b-n3f2867uo6] {
        white-space: normal;
        width: 5.5rem;
    }
}

.einleitung[b-n3f2867uo6] {
    margin: 0 0 1rem;
    color: var(--muted-foreground);
}
/* /Components/Pages/WochenplanSeite.razor.rz.scp.css */
.tage[b-uk4faczhzm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    align-items: start;
}

.tag[b-uk4faczhzm] {
    display: flex;
    flex-direction: column;
}

.tag.heute[b-uk4faczhzm] {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.tag.vergangen .tag-kopf[b-uk4faczhzm] {
    color: var(--muted-foreground);
}

.tag-kopf[b-uk4faczhzm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

.tag-name[b-uk4faczhzm] {
    font-weight: var(--font-weight-medium);
}

.tag-datum[b-uk4faczhzm] {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.tag-spacer[b-uk4faczhzm] {
    flex: 1;
}

.gericht[b-uk4faczhzm] {
    display: flex;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.gericht:last-child[b-uk4faczhzm] {
    border-bottom: none;
}

.gericht-bild[b-uk4faczhzm] {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.gericht-bild img[b-uk4faczhzm] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gericht-text[b-uk4faczhzm] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.gericht-titel[b-uk4faczhzm] {
    color: inherit;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
}

.gericht-titel:hover[b-uk4faczhzm] {
    color: var(--primary);
}

.portionen[b-uk4faczhzm] {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.portionen-wert[b-uk4faczhzm] {
    min-width: 3rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Zwei feste Zeilen statt freiem Umbruch: Portionen … ×, darunter Tag und Mahlzeit */
.gericht-steuerung[b-uk4faczhzm] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 0.375rem;
}

.gericht-rechts[b-uk4faczhzm] {
    display: flex;
    gap: 0.125rem;
}

.zuordnung[b-uk4faczhzm] {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.375rem;
}

.mahlzeit-wahl[b-uk4faczhzm] {
    width: auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.tag-wahl[b-uk4faczhzm] {
    width: auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.leer-hinweis[b-uk4faczhzm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.leer-hinweis .btn[b-uk4faczhzm] {
    white-space: nowrap;
    flex-shrink: 0;
}

.leer-titel[b-uk4faczhzm] {
    font-weight: var(--font-weight-medium);
}

.leer-text[b-uk4faczhzm] {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.herkunft[b-uk4faczhzm] {
    margin: 0 0 1rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Titel in der Action-Bar: die Blättern-Pfeile sitzen direkt am Datum */
.wochen-titel[b-uk4faczhzm] {
    gap: 0.25rem;
}

.wochen-titel a.action-btn[b-uk4faczhzm] {
    color: var(--foreground);
}

.wochen-aktionen[b-uk4faczhzm] {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .tage[b-uk4faczhzm] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .leer-hinweis[b-uk4faczhzm] {
        flex-direction: column;
        align-items: stretch;
    }

    /* Größere Trefferflächen am Handy */
    .portionen[b-uk4faczhzm]  .action-btn,
    .gericht-steuerung[b-uk4faczhzm]  .action-btn,
    .tag-kopf[b-uk4faczhzm]  .action-btn {
        width: 40px;
        height: 40px;
    }

    .tag-wahl[b-uk4faczhzm],
    .mahlzeit-wahl[b-uk4faczhzm] {
        font-size: 16px;
    }

    .knopf-text[b-uk4faczhzm] {
        display: none;
    }

    .wochen-aktionen .btn[b-uk4faczhzm] {
        padding: 0.5rem 0.75rem;
    }
}

/* ===== Druck (A4 hochkant): nur die Tabelle ===== */
@media print {
    .tage[b-uk4faczhzm],
    .leer-hinweis[b-uk4faczhzm],
    .herkunft[b-uk4faczhzm] {
        display: none !important;
    }

    .druck-woche h1[b-uk4faczhzm] {
        font-size: 16pt;
        margin: 0 0 4mm;
    }

    .druck-woche table[b-uk4faczhzm] {
        width: 100%;
        border-collapse: collapse;
    }

    .druck-woche th[b-uk4faczhzm] {
        text-align: left;
        font-size: 9pt;
        color: #555;
        border-bottom: 1.5px solid #333;
        padding: 1.5mm 2mm;
    }

    .druck-woche td[b-uk4faczhzm] {
        padding: 2mm;
        vertical-align: top;
        border-bottom: 1px solid #ddd;
    }

    .druck-woche tr.d-neuer-tag td[b-uk4faczhzm] {
        border-top: 1px solid #999;
    }

    .druck-woche tr[b-uk4faczhzm] {
        break-inside: avoid;
    }

    .d-tag[b-uk4faczhzm] {
        width: 24mm;
        white-space: nowrap;
    }

    .d-zahl[b-uk4faczhzm] {
        width: 20mm;
        text-align: right;
        white-space: nowrap;
    }

    .d-leer[b-uk4faczhzm] {
        color: #999;
    }

    .d-notiz[b-uk4faczhzm] {
        font-size: 9pt;
        font-style: italic;
        color: #555;
        margin-top: 1mm;
    }
}

/* /Components/Shared/FamilienMarken.razor.rz.scp.css */
.marken[b-anwx4a2bfh] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.marke-sterne[b-anwx4a2bfh] {
    display: inline-flex;
    gap: 1px;
}

.marken[b-anwx4a2bfh]  svg {
    width: 14px;
    height: 14px;
}

.marken[b-anwx4a2bfh]  .marke-herz {
    color: var(--fk-favorit);
    fill: currentColor;
}

.marken[b-anwx4a2bfh]  .stern-an {
    color: var(--fk-stern);
    fill: currentColor;
}

.marken[b-anwx4a2bfh]  .stern-aus {
    color: var(--border);
}
/* /Components/Shared/GerichtWaehlen.razor.rz.scp.css */
.waehlen-suche[b-565tvdfi37] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}

.waehlen-suche .form-input[b-565tvdfi37] {
    flex: 1;
}

.waehlen-filter[b-565tvdfi37] {
    margin: 0.75rem 0;
}

.waehlen-leer[b-565tvdfi37] {
    padding: 2rem 0.5rem;
    text-align: center;
    color: var(--muted-foreground);
}

.waehlen-liste[b-565tvdfi37] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.waehlen-treffer[b-565tvdfi37] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem;
    border: 1px solid transparent;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.waehlen-treffer:hover[b-565tvdfi37] {
    background: var(--muted);
    border-color: var(--border);
}

.waehlen-treffer img[b-565tvdfi37],
.waehlen-ohne-bild[b-565tvdfi37] {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: cover;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.waehlen-text[b-565tvdfi37] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.waehlen-titel[b-565tvdfi37] {
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
}

.waehlen-info[b-565tvdfi37] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.waehlen-treffer[b-565tvdfi37]  .waehlen-plus {
    color: var(--primary);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .waehlen-suche .form-input[b-565tvdfi37] {
        font-size: 16px;
    }
}
/* /Components/Shared/Modal.razor.rz.scp.css */
.modal-backdrop[b-0v4w006sk6] {
    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-0v4w006sk6] {
    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-0v4w006sk6] {
    max-width: 820px;
}

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

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

.modal-close[b-0v4w006sk6] {
    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-0v4w006sk6] {
    background: color-mix(in srgb, var(--muted-foreground, #6b7280) 12%, transparent);
    color: inherit;
}

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

.modal-footer[b-0v4w006sk6] {
    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-0v4w006sk6] {
        padding: 0.75rem;
        align-items: stretch;
    }

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

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

    .modal-body[b-0v4w006sk6] {
        padding: 1rem;
    }
}
/* /Components/Shared/OriginalEinkaufsliste.razor.rz.scp.css */
.abstand[b-lcw3f05uig] {
    margin-top: 2rem;
}

.einkaufsliste .card-header[b-lcw3f05uig] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abteilungen[b-lcw3f05uig] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem 2rem;
    padding: 1rem 1.25rem;
}

.abteilung-titel[b-lcw3f05uig] {
    font-weight: var(--font-weight-medium);
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.abteilung ul[b-lcw3f05uig] {
    margin: 0;
    padding-left: 1.125rem;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.coach details[b-lcw3f05uig] {
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
}

.coach details:last-child[b-lcw3f05uig] {
    border-bottom: none;
}

.coach summary[b-lcw3f05uig] {
    cursor: pointer;
    font-weight: var(--font-weight-medium);
}

.coach .text[b-lcw3f05uig] {
    white-space: pre-line;
    line-height: 1.5;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .abstand[b-lcw3f05uig] {
        margin-top: 1.25rem;
    }

    .abteilungen[b-lcw3f05uig] {
        grid-template-columns: 1fr;
        padding: 0.75rem 1rem;
    }

    .coach details[b-lcw3f05uig] {
        padding: 0.75rem 1rem;
    }
}
/* /Components/Shared/PlanNotiz.razor.rz.scp.css */
.plan-notiz[b-bvic60sn5w] {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--muted-foreground);
    line-height: 1.35;
}

.plan-notiz[b-bvic60sn5w]  svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 0.1rem;
}

.plan-notiz-text[b-bvic60sn5w] {
    white-space: pre-line;
}

.kurz .plan-notiz-text[b-bvic60sn5w] {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* /Components/Shared/RezeptKarte.razor.rz.scp.css */
.rezept-karte[b-qfhihve75a] {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.rezept-karte:hover[b-qfhihve75a] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rezept-karte:hover .rezept-karte-titel[b-qfhihve75a] {
    color: var(--primary);
}

.rezept-karte-bild[b-qfhihve75a] {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.rezept-karte-bild img[b-qfhihve75a] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rezept-karte-kennzeichen[b-qfhihve75a] {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    padding: 0.25rem 0.5rem;
}

.rezept-karte-text[b-qfhihve75a] {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.rezept-karte-titel[b-qfhihve75a] {
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
}

.rezept-karte-info[b-qfhihve75a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.rezept-karte-zeit[b-qfhihve75a] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .rezept-karte-text[b-qfhihve75a] {
        padding: 0.5rem 0.625rem 0.625rem;
        gap: 0.375rem;
    }

    .rezept-karte-titel[b-qfhihve75a] {
        font-size: 0.875rem;
    }

    .rezept-karte-info[b-qfhihve75a] {
        font-size: 0.75rem;
        gap: 0.375rem;
    }
}

.rezept-karte-favorit[b-qfhihve75a] {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    display: flex;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--fk-favorit);
}

.rezept-karte-favorit[b-qfhihve75a]  svg {
    fill: currentColor;
}

.rezept-karte-sterne[b-qfhihve75a] {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--fk-stern);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
}

.rezept-karte-sterne[b-qfhihve75a]  svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
}
/* /Components/Shared/Sterne.razor.rz.scp.css */
.sterne[b-pxhgkhy59c] {
    display: inline-flex;
    gap: 0.125rem;
}

.stern[b-pxhgkhy59c] {
    display: flex;
    padding: 0.25rem;
    border: none;
    background: none;
    color: var(--border);
    cursor: pointer;
}

.stern[b-pxhgkhy59c]  svg {
    stroke: var(--muted-foreground);
}

.stern.an[b-pxhgkhy59c] {
    color: var(--fk-stern);
}

.stern.an[b-pxhgkhy59c]  svg {
    fill: currentColor;
    stroke: currentColor;
}

.stern:hover[b-pxhgkhy59c]  svg {
    stroke: var(--fk-stern);
}

@media (max-width: 768px) {
    /* Größere Trefferfläche am Handy */
    .stern[b-pxhgkhy59c] {
        padding: 0.375rem;
    }
}
