/* /Components/Layout/AccountMenu.razor.rz.scp.css */
/* Account row at the bottom of the sidebar; the panel opens above it (design "Sidebar überall"). */
.app-account[b-i2dfh4axyr] {
    position: relative;
    padding-top: 12px;
    border-top: 1px solid var(--field-border);
}

.app-account-row[b-i2dfh4axyr] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px;
    border-radius: var(--card-radius);
    color: var(--text-primary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}
.app-account-row[b-i2dfh4axyr]::-webkit-details-marker { display: none; }
.app-account-row:hover[b-i2dfh4axyr],
.app-account[open] > .app-account-row[b-i2dfh4axyr] { background: var(--message-background); }
.app-account-row:focus-visible[b-i2dfh4axyr] {
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}

/* Same look as the plus circle of "Neuer Chat" (--sidebar-action*). */
.app-account-avatar[b-i2dfh4axyr] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border: 1px solid var(--sidebar-action-border, var(--primary));
    border-radius: 50%;
    background: var(--sidebar-action, var(--primary));
    color: var(--sidebar-action-icon, var(--accent-on-dark));
    font-size: calc(14px * var(--font-scale));
    font-weight: 800;
}

.app-account-text[b-i2dfh4axyr] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.app-account-name[b-i2dfh4axyr] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.app-account-role[b-i2dfh4axyr] {
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 400;
}
.app-account-more[b-i2dfh4axyr] {
    flex: none;
    color: var(--text-body);
}

.app-account-panel[b-i2dfh4axyr] {
    position: absolute;
    z-index: 51;
    right: 0;
    bottom: calc(100% + 8px);
    left: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 6px;
    border: 1px solid var(--field-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: var(--overlay-shadow);
}

.app-account-head[b-i2dfh4axyr] {
    margin: 0 0 6px;
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--divider);
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
    overflow-wrap: anywhere;
}

.app-account-item[b-i2dfh4axyr] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    font: 600 calc(14px * var(--font-scale))/1.4 var(--font-family);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.app-account-item:hover[b-i2dfh4axyr] { background: var(--divider); }
.app-account-item:focus-visible[b-i2dfh4axyr] {
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}
.app-account-item--danger[b-i2dfh4axyr] { color: var(--error-text); }

.app-account-divider[b-i2dfh4axyr] {
    width: 100%;
    height: 1px;
    margin: 6px 0;
    border: 0;
    background: var(--divider);
}

/* Two-line item: label above, version below. */
.app-account-item--stacked[b-i2dfh4axyr] {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding-top: 6px;
    padding-bottom: 6px;
}
/* --text-secondary keeps a contrast of at least 4.5:1 on the surface. */
.app-account-item--stacked .app-version[b-i2dfh4axyr] {
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 400;
    overflow-wrap: anywhere;
}

/* Display choice (#711) between the release notes and the logout. */
[b-i2dfh4axyr] .app-account-scheme { padding: 6px 12px 8px; }
/* /Components/Layout/LandingLayout.razor.rz.scp.css */
.landing-shell[b-8x3kxwp7xq] {
    min-height: 100vh;
    background: var(--page-background);
    color: var(--text-primary);
    font-family: var(--font-family);
    /* The overlapping phone screenshot in the hero must not cause a horizontal scrollbar on small screens. */
    overflow-x: clip;
}

main:focus[b-8x3kxwp7xq],
.landing-header:focus[b-8x3kxwp7xq] { outline: none; }

.skip-link[b-8x3kxwp7xq] {
    position: fixed;
    top: 8px;
    left: 20px;
    z-index: 1200;
    padding: 10px;
    transform: translateY(-200%);
    background: var(--surface);
    color: var(--text-primary);
}

.skip-link:focus[b-8x3kxwp7xq] { transform: none; }

.landing-shell[b-8x3kxwp7xq]  a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.landing-header[b-8x3kxwp7xq] {
    border-bottom: 1px solid var(--card-border);
    background: var(--surface);
}

.landing-header-inner[b-8x3kxwp7xq],
.landing-footer-inner[b-8x3kxwp7xq] {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    max-width: 1248px;
    padding: 12px 24px;
    margin: 0 auto;
}

.landing-header-inner[b-8x3kxwp7xq] { min-height: 72px; }

.landing-brand[b-8x3kxwp7xq] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
}

.landing-brand .bb-logo[b-8x3kxwp7xq] { height: 36px; }

.landing-brand-name[b-8x3kxwp7xq] {
    font-size: 16px;
    font-weight: 800;
}

.landing-nav[b-8x3kxwp7xq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    font-size: 15px;
    font-weight: 500;
}

.landing-nav a:not(.bb-btn-secondary)[b-8x3kxwp7xq] {
    color: var(--link);
    text-decoration: none;
}

.landing-nav a:not(.bb-btn-secondary):hover[b-8x3kxwp7xq] {
    color: var(--link-hover);
    text-decoration: underline;
}

/* "Nach oben": floats above the content once the header has scrolled out of view (bbBackToTop in browser-api.js). */
.landing-to-top[b-8x3kxwp7xq] {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1100;
    box-shadow: var(--overlay-shadow);
}

.landing-to-top[hidden][b-8x3kxwp7xq] { display: none; }

/* Light halo inside and outside the focus ring, so it stays visible over the dark sections as well. */
.landing-to-top:focus-visible[b-8x3kxwp7xq] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 9px var(--surface), var(--overlay-shadow); }

/* Room below the footer links, so the floating link never covers them at the end of the page. */
.landing-footer[b-8x3kxwp7xq] { padding-bottom: 76px; }

.landing-footer-inner[b-8x3kxwp7xq] {
    padding-top: 36px;
    padding-bottom: 36px;
    color: var(--text-body);
    font-size: 14px;
}

.landing-footer-inner strong[b-8x3kxwp7xq] {
    color: var(--text-primary);
    font-weight: 800;
}

.landing-footer nav[b-8x3kxwp7xq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.landing-footer a[b-8x3kxwp7xq] { color: var(--text-body); }

/* Small screens: the in-page links would crowd the header, so only brand and sign-in remain. */
@media (max-width: 640px) {
    .landing-nav a:not(.bb-btn-secondary)[b-8x3kxwp7xq] { display: none; }
    .landing-brand-name[b-8x3kxwp7xq] { font-size: 15px; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Top bar with the brand; small screens only (from 1024 px the sidebar takes over, see below). */
.app-header[b-nsffgj00tl] {
    border-bottom: 1px solid var(--card-border);
    background: var(--surface);
}

.app-header-inner[b-nsffgj00tl] {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
    min-height: 72px;
    padding: 12px 32px;
}

.app-shell--navigation[b-nsffgj00tl] { padding: 0; }

.app-content[b-nsffgj00tl] {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 1240px;
    padding: 48px 32px 64px;
    margin: 0 auto;
}

/* Pages of an app area with a sub-navigation (SectionNav): from 1024 px the navigation is a left column next to page
   and footer, and the area may use more width than the default content column. Below 1024 px it is a row above the page. */
@media (min-width: 1024px) {
    .app-content--section[b-nsffgj00tl] {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: start;
        column-gap: 40px;
        max-width: 1480px;
        padding-left: 24px;
    }
    /* Without the sub-navigation (no permission, e.g. on the not-found page of an area path) the page spans both columns. */
    .app-content--section > main[b-nsffgj00tl] { grid-column: 1 / -1; }
    .app-content--section > .section-nav ~ main[b-nsffgj00tl] { grid-column: 2; }
}

.app-shell--onboarding .app-content[b-nsffgj00tl] {
    max-width: 1200px;
    padding: 0;
}

.app-brand[b-nsffgj00tl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
}

.app-brand-name[b-nsffgj00tl] {
    font-size: calc(16px * var(--font-scale));
    font-weight: 800;
}

.app-header .bb-logo[b-nsffgj00tl] { height: 36px; }

/* Onboarding and usage limit page: brand header inside the content column, no navigation. */
.app-header--onboarding[b-nsffgj00tl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--field-border);
    background: transparent;
}

main:focus[b-nsffgj00tl] { outline: none; }

.skip-link[b-nsffgj00tl] {
    position: fixed;
    top: 8px;
    left: 20px;
    z-index: 1200;
    padding: 10px;
    transform: translateY(-200%);
    background: var(--surface);
    color: var(--text-primary);
}

.skip-link:focus[b-nsffgj00tl] { transform: none; }

.app-shell[b-nsffgj00tl]  a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.global-toast-region[b-nsffgj00tl] {
    position: fixed;
    z-index: 1100;
    top: 88px;
    right: 24px;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.global-toast-region[b-nsffgj00tl]  .global-toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 14px 14px 14px 16px;
    border: 1px solid var(--field-border);
    border-left: 4px solid var(--text-secondary);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: var(--overlay-shadow);
    color: var(--text-primary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    pointer-events: auto;
}
.global-toast-region[b-nsffgj00tl]  .global-toast--success { border-color: var(--success-border); border-left-color: var(--success); }
.global-toast-region[b-nsffgj00tl]  .global-toast--error { border-color: var(--error); border-left-color: var(--error); }
.global-toast-region[b-nsffgj00tl]  .global-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--field-background);
    color: var(--text-secondary);
    font-weight: 800;
}
.global-toast-region[b-nsffgj00tl]  .global-toast--success .global-toast__icon { background: var(--success-surface); color: var(--success); }
.global-toast-region[b-nsffgj00tl]  .global-toast--error .global-toast__icon { background: var(--error-surface); color: var(--error-text); }
.global-toast-region[b-nsffgj00tl]  .global-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font: 600 calc(22px * var(--font-scale))/1 var(--font-family);
}
.global-toast-region[b-nsffgj00tl]  .global-toast__close:hover { background: var(--field-background); color: var(--text-primary); }
.global-toast-region[b-nsffgj00tl]  .global-toast__close:focus-visible { outline: 3px solid var(--accent-border); outline-offset: 2px; }

@media (max-width: 560px) {
    .app-brand-name[b-nsffgj00tl] { font-size: calc(14px * var(--font-scale)); }
    .app-shell--onboarding[b-nsffgj00tl] { padding: 24px 16px; }
    .global-toast-region[b-nsffgj00tl] { top: 76px; right: 16px; left: 16px; width: auto; }
}

/* Sidebar in the layout of common chat apps (spec kompakte-seitenleiste.md). From 1024 px every page with navigation has
   the full-height sidebar left of the content; the top bar is hidden and the sidebar stays in place while the page
   scrolls. Chat pages fill the display, so only the sidebar and the chat thread scroll. Below 1024 px the top bar with the
   menu button opens the same sidebar as a menu from the left; the chat fills the display without the top bar and has its
   own slim bar with a menu button (Chat.razor.css). */
.app-sidebar[b-nsffgj00tl] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    background: var(--sidebar-background);
}

@media (min-width: 1024px) {
    .app-shell--navigation[b-nsffgj00tl] {
        display: grid;
        grid-template-columns: 272px minmax(0, 1fr);
        align-items: start;
    }
    .app-shell--navigation .app-header[b-nsffgj00tl] { display: none; }
    .app-sidebar[b-nsffgj00tl] {
        position: sticky;
        top: 0;
        height: 100dvh;
        padding: 18px 14px 14px;
        border-right: 1px solid var(--card-border);
    }
    /* The navigation takes the free height, so the account menu sits at the bottom. */
    .app-sidebar[b-nsffgj00tl]  .app-nav { flex: 1 0 auto; }
    .app-shell--chat[b-nsffgj00tl] { height: 100dvh; align-items: stretch; }
    /* The chat page fills the remaining area (Chat.razor.css); no content column or padding. */
    .app-shell--chat .app-content[b-nsffgj00tl] {
        display: flex;
        flex-direction: column;
        min-height: 0;
        max-width: none;
        padding: 0;
    }
    .app-shell--chat main[b-nsffgj00tl] { display: flex; flex: 1; min-height: 0; }
    .global-toast-region[b-nsffgj00tl] { top: 24px; }
    .app-sidebar-close[b-nsffgj00tl], .app-menu-toggle[b-nsffgj00tl], .app-sidebar-backdrop[b-nsffgj00tl] { display: none; }
}

/* Brand row of the sidebar with the close button of the menu (small screens only). Smaller logo, the name does not wrap. */
.app-sidebar-top[b-nsffgj00tl] { display: flex; align-items: center; gap: 8px; min-width: 0; }
.app-sidebar-brand[b-nsffgj00tl] {
    flex: 1;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    padding: 4px 2px;
}
.app-sidebar-brand .bb-logo[b-nsffgj00tl] { height: 30px; }
/* A long product name (Product:Name) is shortened with an ellipsis instead of pushing the BETA badge out of the sidebar;
   13 px with tight gaps so that „KI-Lernbegleiter“ beside the NWB logo fits the 272 px sidebar unshortened (#957). */
.app-sidebar-brand .app-brand-name[b-nsffgj00tl] { font-size: calc(13px * var(--font-scale)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* „Neuer Chat“ and „Suchen“ (SidebarSections.razor.css) as plain rows like the navigation entries, directly above them. */
.app-sidebar-actions[b-nsffgj00tl] { display: flex; flex-direction: column; gap: 2px; margin-bottom: -10px; }
.app-new-chat[b-nsffgj00tl] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--card-radius);
    color: var(--text-body);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}
.app-new-chat:hover[b-nsffgj00tl] { background: var(--message-background); color: var(--text-primary); }
/* The plus keeps the brand color of the primary action in a small circle; the border keeps it visible in the dark display,
   where its fill is close to the sidebar. */
.app-new-chat-icon[b-nsffgj00tl] {
    flex: none;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 0 -1px;
    border: 1px solid var(--sidebar-action-border, var(--primary));
    border-radius: 50%;
    background: var(--sidebar-action, var(--primary));
    color: var(--sidebar-action-icon, var(--accent-on-dark));
    font-size: calc(17px * var(--font-scale));
    font-weight: 700;
    line-height: 1;
}

/* Small screens (below 1024 px): top bar with the menu button, the sidebar as a menu from the left over a backdrop. It is
   opened by the menu button and closed by its close button, the backdrop, Escape or a choice in it (browser-api.js,
   bbSidebarDrawer); while open, the rest of the page is inert and does not scroll (app.css). */
@media (max-width: 1023.98px) {
    .app-header-inner[b-nsffgj00tl] {
        flex-wrap: nowrap;
        gap: 4px;
        min-height: 56px;
        padding: max(8px, var(--top-inset, env(safe-area-inset-top))) max(16px, env(safe-area-inset-right)) 8px max(6px, env(safe-area-inset-left));
    }
    .app-header .bb-logo[b-nsffgj00tl] { height: 32px; }
    /* The top bar stays at the top while the page scrolls. Its height is --header-space in app.css; keep both in sync. */
    .app-header[b-nsffgj00tl] { position: sticky; z-index: 10; top: 0; }
    /* Bottom padding keeps the last content clear of the home indicator. */
    .app-shell--navigation .app-content[b-nsffgj00tl] {
        padding: 16px max(16px, env(safe-area-inset-right)) calc(var(--bottom-inset) + 32px) max(16px, env(safe-area-inset-left));
    }
    .app-shell--chat .app-header[b-nsffgj00tl] { display: none; }
    .app-shell--chat .app-content[b-nsffgj00tl] { padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); }
    /* Toasts appear at the top. */
    .app-shell--navigation .global-toast-region[b-nsffgj00tl] { top: calc(12px + var(--top-inset, env(safe-area-inset-top, 0px))); }

    .app-menu-toggle[b-nsffgj00tl], .app-sidebar-close[b-nsffgj00tl] { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-primary); cursor: pointer; }
    .app-menu-toggle:focus-visible[b-nsffgj00tl], .app-sidebar-close:focus-visible[b-nsffgj00tl] { outline: 3px solid var(--primary); outline-offset: 2px; }
    .app-sidebar[b-nsffgj00tl] {
        position: fixed;
        z-index: 1100;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(320px, 85vw);
        padding: max(12px, var(--top-inset)) 12px max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        overscroll-behavior: contain;
        box-shadow: var(--overlay-shadow);
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .2s ease, visibility 0s linear .2s;
    }
    /* translateX(0) instead of none: the sidebar stays the containing block of fixed content inside it (the undo of the
       chat history), which therefore stays within the menu. */
    .app-sidebar[data-open][b-nsffgj00tl] { transform: translateX(0); visibility: visible; transition: transform .2s ease; }
    .app-sidebar-backdrop[b-nsffgj00tl] { display: none; }
    .app-sidebar[data-open] + .app-sidebar-backdrop[b-nsffgj00tl] { position: fixed; z-index: 1090; inset: 0; display: block; background: rgba(17, 24, 39, 0.45); }
}
@media (max-width: 1023.98px) and (prefers-reduced-motion: reduce) {
    .app-sidebar[b-nsffgj00tl], .app-sidebar[data-open][b-nsffgj00tl] { transition: none; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Vertical navigation in the sidebar: icon plus label per row. */
.app-nav[b-szxmazo5el] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-nav[b-szxmazo5el]  .nav-item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--card-radius);
    color: var(--text-body);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    text-decoration: none;
}
.app-nav[b-szxmazo5el]  .nav-item .nav-icon { flex: none; }
.app-nav[b-szxmazo5el]  .nav-item:hover { background: var(--message-background); color: var(--text-primary); }
/* Active: white row with a hairline ring, dark and bold label (aria-current="page" from NavLink), so color is not the only cue.
   The dark display lifts the row with --nav-active, since --surface barely differs from the sidebar there. */
.app-nav[b-szxmazo5el]  .nav-item.active {
    background: var(--nav-active, var(--surface));
    box-shadow: inset 0 0 0 1px var(--card-border);
    color: var(--text-primary);
    font-weight: 700;
}

/* A group (e.g. administration) is set apart by its caption in sentence case, like the days of the chat history (spec
   kompakte-seitenleiste.md). */
.nav-group[b-szxmazo5el] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-group:not(:first-child)[b-szxmazo5el] { margin-top: 4px; }
.nav-group-label[b-szxmazo5el] {
    margin: 0 0 2px;
    padding: 0 12px;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
}

/* Collapsible group (flag CollapsibleAdminNavigation): the caption is the toggle; the chevron follows it and points down
   while the group is open, right while it is collapsed. */
.nav-group-links[b-szxmazo5el] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
}
.nav-group-toggle[b-szxmazo5el] {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-height: 44px;
    margin: 0;
    border-radius: var(--card-radius);
    cursor: pointer;
    list-style: none;
}
.nav-group-toggle[b-szxmazo5el]::-webkit-details-marker { display: none; }
.nav-group-toggle:hover[b-szxmazo5el] { background: var(--message-background); color: var(--text-primary); }
/* Same focus ring as the account row, the other disclosure in the sidebar. */
.nav-group-toggle:focus-visible[b-szxmazo5el] {
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}
.nav-group-toggle[b-szxmazo5el]  .nav-icon { flex: none; width: 14px; height: 14px; transform: rotate(-90deg); transition: transform .15s ease; }
.nav-group--collapsible[open] > .nav-group-toggle[b-szxmazo5el]  .nav-icon { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .nav-group-toggle[b-szxmazo5el]  .nav-icon { transition: none; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Blazor reconnect state classes are controlled by the framework. */
#components-reconnect-modal[b-kwuyrgwa5j] {
    box-sizing: border-box;
    position: fixed;
    width: min(90vw, 590px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: clamp(24px, 5vw, 48px);
    overflow-y: auto;
    border: 1px solid var(--card-border, #eee);
    border-radius: var(--card-radius, 20px);
    background: var(--surface, #fff);
    color: var(--text-primary, #111);
    box-shadow: var(--overlay-shadow, 0 12px 32px rgba(0, 0, 0, .16));
    font-family: var(--font-family, 'Segoe UI', sans-serif);
    text-align: center;
}
#components-reconnect-modal[b-kwuyrgwa5j]::backdrop {
    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(3px);
}
.components-reconnect-container[b-kwuyrgwa5j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
#components-reconnect-modal h2[b-kwuyrgwa5j] {
    margin: 0;
    font-size: calc(clamp(21px, 3vw, 27px) * var(--font-scale));
    font-weight: 750;
    line-height: 1.25;
}
#components-reconnect-modal p[b-kwuyrgwa5j] {
    margin: 0;
    line-height: 1.6;
    color: var(--text-body, #555);
}
#components-reconnect-modal .components-reconnect-hint[b-kwuyrgwa5j] {
    color: var(--text-secondary, #666);
    font-size: calc(13px * var(--font-scale));
}
.components-reconnect-indicator[b-kwuyrgwa5j] {
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb, 254, 237, 0), .09);
}
.components-reconnect-indicator svg[b-kwuyrgwa5j] {
    width: 82px;
    height: 82px;
    color: var(--text-secondary, #666);
}
.components-reconnect-track[b-kwuyrgwa5j] {
    stroke: rgba(var(--accent-rgb, 254, 237, 0), .2);
    stroke-width: 4;
}
.components-reconnect-progress[b-kwuyrgwa5j] {
    stroke: var(--accent, #feed00);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 66 170;
    transform-origin: center;
    animation: reconnect-rotate-b-kwuyrgwa5j 1.8s linear infinite;
}
@keyframes reconnect-rotate-b-kwuyrgwa5j {
    to { transform: rotate(360deg); }
}
.components-reconnect-actions[b-kwuyrgwa5j] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}
#components-reconnect-modal button[b-kwuyrgwa5j] {
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid var(--field-border, #e0e0d8);
    border-radius: var(--button-radius, 12px);
    background: var(--surface, #fff);
    color: var(--text-primary, #111);
    font: 700 calc(14px * var(--font-scale))/1.4 var(--font-family, sans-serif);
    cursor: pointer;
}
#components-reconnect-modal #components-reconnect-button[b-kwuyrgwa5j],
#components-reconnect-modal #components-resume-button[b-kwuyrgwa5j] {
    border-color: var(--accent-border, #c4b600);
    background: var(--accent, #feed00);
    color: var(--accent-text, #0a0d15);
}
#components-reconnect-modal button:hover[b-kwuyrgwa5j] { filter: brightness(.96); }
#components-reconnect-modal button:focus-visible[b-kwuyrgwa5j] {
    outline: 3px solid var(--accent-border, #c4b600);
    outline-offset: 3px;
}
#components-reconnect-modal .components-reconnect-countdown[b-kwuyrgwa5j] {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--divider, #f0f0ea);
    color: var(--text-muted, #999);
    font-size: calc(12px * var(--font-scale));
}
.components-reconnect-connecting-visible[b-kwuyrgwa5j],
.components-reconnect-first-attempt-visible[b-kwuyrgwa5j],
.components-reconnect-repeated-attempt-visible[b-kwuyrgwa5j],
.components-reconnect-failed-visible[b-kwuyrgwa5j],
.components-pause-visible[b-kwuyrgwa5j],
.components-resume-failed-visible[b-kwuyrgwa5j],
.components-reconnect-retry-visible[b-kwuyrgwa5j] { display: none; }

#components-reconnect-modal.components-reconnect-show .components-reconnect-connecting-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-connecting-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-retry-visible[b-kwuyrgwa5j],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-retry-visible[b-kwuyrgwa5j] {
    display: block;
}
/* Circuit lost and not reloaded automatically (unsaved input or reload budget used up), set by ReconnectModal.razor.js:
   only the reload helps, so it replaces the retry texts and becomes the primary action. */
.bb-reconnect-expired-visible[b-kwuyrgwa5j] { display: none; }
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-connecting-visible[b-kwuyrgwa5j],
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-first-attempt-visible[b-kwuyrgwa5j],
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-repeated-attempt-visible[b-kwuyrgwa5j],
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-failed-visible[b-kwuyrgwa5j],
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-retry-visible[b-kwuyrgwa5j],
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-hint[b-kwuyrgwa5j] {
    display: none;
}
/* Nothing is in progress any more; the spinner would suggest otherwise. */
#components-reconnect-modal.bb-reconnect-expired .components-reconnect-progress[b-kwuyrgwa5j] {
    animation: none;
}
#components-reconnect-modal.bb-reconnect-expired .bb-reconnect-expired-visible[b-kwuyrgwa5j] {
    display: block;
}
#components-reconnect-modal.bb-reconnect-expired #components-reload-button[b-kwuyrgwa5j] {
    border-color: var(--accent-border, #c4b600);
    background: var(--accent, #feed00);
    color: var(--accent-text, #0a0d15);
}
@media (max-width: 480px) {
    .components-reconnect-actions[b-kwuyrgwa5j] { flex-direction: column; }
    #components-reconnect-modal button[b-kwuyrgwa5j] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .components-reconnect-progress[b-kwuyrgwa5j] { animation: none; }
    #components-reconnect-modal[b-kwuyrgwa5j]::backdrop { backdrop-filter: none; }
}
/* /Components/Layout/SectionNav.razor.rz.scp.css */
/* Small screens: one row of pill links above the page content that scrolls sideways instead of widening the page. */
.section-nav[b-88h85f591u] {
    min-width: 0;
    margin: 0 0 16px;
}

.section-nav__label[b-88h85f591u] {
    display: none;
}

.section-nav__links[b-88h85f591u] {
    display: flex;
    gap: 8px;
    margin: 0 -4px;
    padding: 4px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.section-nav__links[b-88h85f591u]::-webkit-scrollbar {
    display: none;
}

.section-nav__links > li[b-88h85f591u] {
    flex: none;
}

.section-nav__link[b-88h85f591u] {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--field-border);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.section-nav__link:hover[b-88h85f591u] {
    background: var(--field-background);
}

/* Current entry: accent surface plus bold label (aria-current="page"), so color is not the only cue. */
.section-nav__link--active[b-88h85f591u],
.section-nav__link--active:hover[b-88h85f591u] {
    border-color: var(--accent-border);
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 800;
}

.section-nav__link:focus-visible[b-88h85f591u] {
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}

/* From 1024 px: a sticky left column next to the page (grid of .app-content--section in MainLayout.razor.css). */
@media (min-width: 1024px) {
    .section-nav[b-88h85f591u] {
        position: sticky;
        top: 24px;
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .section-nav__label[b-88h85f591u] {
        display: block;
        margin: 0 0 12px;
        padding: 0 12px;
        color: var(--text-secondary);
        font-size: calc(12px * var(--font-scale));
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .section-nav__links[b-88h85f591u] {
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .section-nav__link[b-88h85f591u] {
        width: 100%;
        padding: 10px 12px;
        border-color: transparent;
        border-radius: var(--card-radius);
        white-space: normal;
    }
}
/* /Components/Layout/SidebarSections.razor.rz.scp.css */
/* Below the navigation without a divider; fills the free height of the sidebar (app.css). On short screens a section keeps
   some height and the sidebar scrolls. */
.app-sidebar-sections[b-ooho2akcs0] { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 240px; margin: 0 -14px; padding: 0 14px; }

/* „Suchen“: a plain row like „Neuer Chat“ and the navigation entries (spec kompakte-seitenleiste.md). */
.app-sidebar-search[b-ooho2akcs0] { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--card-radius); background: transparent; color: var(--text-body); font: 600 calc(14px * var(--font-scale))/1.3 var(--font-family); text-align: left; cursor: pointer; }
.app-sidebar-search:hover[b-ooho2akcs0] { background: var(--message-background); color: var(--text-primary); }
.app-sidebar-search:focus-visible[b-ooho2akcs0] { outline: 3px solid var(--primary); outline-offset: 3px; }
.app-sidebar-search[b-ooho2akcs0]  .nav-icon { flex: none; }

@media (max-width: 1023.98px) {
    .app-sidebar-sections[b-ooho2akcs0] { min-height: 200px; margin: 0 -12px; padding: 0 12px; }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-page[b-tw3uk4wp3r] {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Greeting and question form next to the exam countdown (ExamCountdown); the countdown wraps below on narrow widths. */
.home-hero[b-tw3uk4wp3r] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
}

.home-intro[b-tw3uk4wp3r] {
    display: flex;
    flex: 999 1 560px;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.home-greeting[b-tw3uk4wp3r] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-greeting time[b-tw3uk4wp3r] {
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
}

.home-greeting h1[b-tw3uk4wp3r] {
    margin: 0;
    color: var(--text-primary);
    font-size: calc(clamp(34px, 4vw, 52px) * var(--font-scale));
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.home-ask[b-tw3uk4wp3r] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: var(--card-padding);
    border: 1px solid var(--field-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: var(--card-shadow);
}

.home-ask:focus-within[b-tw3uk4wp3r] { border-color: var(--primary); }

.home-ask label[b-tw3uk4wp3r] {
    color: var(--text-body);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
}

.home-ask-row[b-tw3uk4wp3r] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* The bordered form is the visible field; the input itself stays borderless and shows focus via the form. */
.home-ask-input[b-tw3uk4wp3r] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font: 400 calc(18px * var(--font-scale))/1.4 var(--font-family);
}

.home-ask-input[b-tw3uk4wp3r]::placeholder { color: var(--text-secondary); }

.home-ask-send[b-tw3uk4wp3r] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    cursor: pointer;
}

.home-ask-chips[b-tw3uk4wp3r] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-ask-chip[b-tw3uk4wp3r] {
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    background: var(--surface);
    color: var(--primary);
    cursor: pointer;
    font: 400 calc(14px * var(--font-scale))/1.4 var(--font-family);
    text-align: left;
}

.home-ask-send:hover:not(:disabled)[b-tw3uk4wp3r] { background: var(--primary-hover); }
.home-ask-chip:hover:not(:disabled)[b-tw3uk4wp3r] { background: var(--primary); color: var(--on-primary); }

.home-ask-send:focus-visible[b-tw3uk4wp3r],
.home-ask-chip:focus-visible[b-tw3uk4wp3r] {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.home-ask-send:disabled[b-tw3uk4wp3r],
.home-ask-chip:disabled[b-tw3uk4wp3r] { cursor: wait; opacity: 0.72; }
.home-topic-action[aria-disabled="true"][b-tw3uk4wp3r] { cursor: wait; opacity: 0.72; }

.home-week[b-tw3uk4wp3r] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-week-head[b-tw3uk4wp3r] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    padding-bottom: 12px;
}

.home-week-head h2[b-tw3uk4wp3r] {
    margin: 0;
    color: var(--heading);
    font-size: calc(24px * var(--font-scale));
    font-weight: 600;
    line-height: 1.25;
}

.home-week-link[b-tw3uk4wp3r] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--link);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    text-decoration: none;
}
.home-week-link:hover[b-tw3uk4wp3r] { color: var(--link-hover); text-decoration: underline; }

.home-week-note[b-tw3uk4wp3r] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
}

.home-topics[b-tw3uk4wp3r] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Rows separated by dividers (NWB database hit list), on every width. */
.home-topic[b-tw3uk4wp3r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    min-width: 0;
    padding: 16px 0;
    border-top: 1px solid var(--card-border);
}

.home-topic:last-child[b-tw3uk4wp3r] { border-bottom: 1px solid var(--card-border); }

.home-topic-text[b-tw3uk4wp3r] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-topic-text strong[b-tw3uk4wp3r] {
    color: var(--heading);
    font-size: calc(16px * var(--font-scale));
    font-weight: 600;
}

.home-topic--empty .home-topic-text strong[b-tw3uk4wp3r] { color: var(--text-secondary); }

.home-topic-text small[b-tw3uk4wp3r] {
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
    font-style: italic;
}

.home-topic-action[b-tw3uk4wp3r] {
    flex: 0 0 auto;
    padding: 6px 20px;
}

.home-topic-badge[b-tw3uk4wp3r] {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: var(--divider);
    color: var(--text-body);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
}

/* Learning preferences card (#223): status and the link to the questionnaire. */
.home-preferences[b-tw3uk4wp3r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.home-preferences-text[b-tw3uk4wp3r] {
    display: flex;
    flex: 1 1 280px;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-preferences-text h2[b-tw3uk4wp3r] {
    margin: 0 0 4px;
    color: var(--heading);
    font-size: calc(24px * var(--font-scale));
    font-weight: 600;
    line-height: 1.25;
}

.home-preferences-text p[b-tw3uk4wp3r] {
    margin: 0;
    color: var(--text-body);
    font-size: calc(14px * var(--font-scale));
}

.home-preferences-text .home-preferences-status[b-tw3uk4wp3r] {
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

@media (max-width: 1023.98px) {
    .home-page[b-tw3uk4wp3r] { gap: 20px; }
    .home-hero[b-tw3uk4wp3r] { gap: 20px; }
    .home-intro[b-tw3uk4wp3r] { gap: 20px; }

    /* Compact field: label for screen readers only, smaller send button; the frame moves to the input row, so the
       suggestions sit below it. */
    .home-ask[b-tw3uk4wp3r] { gap: 8px; padding: 0; border: 0; }
    .home-ask-row[b-tw3uk4wp3r] { padding: 8px 8px 8px 16px; border: 1px solid var(--field-border); border-radius: var(--card-radius); background: var(--surface); }
    .home-ask-row:focus-within[b-tw3uk4wp3r] { border-color: var(--primary); }
    .home-ask label[b-tw3uk4wp3r] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .home-ask-input[b-tw3uk4wp3r] { font-size: 16px; }
    .home-ask-send[b-tw3uk4wp3r] { width: 44px; height: 44px; }
    /* Suggestions as one swipeable row. */
    .home-ask-chips[b-tw3uk4wp3r] { flex-wrap: nowrap; margin: -6px -16px; padding: 6px 16px; overflow-x: auto; scrollbar-width: none; }
    .home-ask-chip[b-tw3uk4wp3r] { flex: none; white-space: nowrap; }

    .home-week[b-tw3uk4wp3r] {
        gap: 8px;
        padding: 0;
        border: 0;
        background: transparent;
    }
    .home-week-head[b-tw3uk4wp3r] { align-items: center; padding-bottom: 0; }
    .home-week-head h2[b-tw3uk4wp3r],
    .home-preferences-text h2[b-tw3uk4wp3r] { font-size: calc(18px * var(--font-scale)); }
    /* Short label "Lernplan", so heading and link fit into one row. */
    .home-week-link-prefix[b-tw3uk4wp3r] { display: none; }
    .home-week-link[b-tw3uk4wp3r] { display: inline-flex; align-items: center; min-height: 44px; }
    /* Same divider list as on wide screens, no card per topic (#908). */
    .home-topic[b-tw3uk4wp3r] { flex-wrap: nowrap; gap: 12px; padding: 12px 0; }
    .home-topic-text small[b-tw3uk4wp3r] { font-size: calc(13px * var(--font-scale)); }
    .home-topic-action[b-tw3uk4wp3r] { padding: 6px 16px; font-size: calc(14px * var(--font-scale)); }
}
/* /Components/Pages/InvitationAccept.razor.rz.scp.css */
.invite-page[b-lj7dajg4pf] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite-content[b-lj7dajg4pf] {
    width: 100%;
    max-width: 560px;
}

.invite-card-header[b-lj7dajg4pf] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.invite-card-header h2[b-lj7dajg4pf] {
    margin: 0;
    font-size: calc(17px * var(--font-scale));
    font-weight: 800;
}

.invite-intro[b-lj7dajg4pf] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

.invite-submit[b-lj7dajg4pf] {
    box-sizing: border-box;
    width: 100%;
    text-decoration: none;
}

.invite-card[b-lj7dajg4pf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.invite-card > .bb-alert[b-lj7dajg4pf] {
    margin: 0;
}

.invite-checking[b-lj7dajg4pf] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}
/* /Components/Pages/Landing.razor.rz.scp.css */
/* Public landing page. Colors and type come from the brand tokens (brand.css, LoginBrand.CssVariables), so every brand
   keeps its own look; --primary is the dark ground of the buttons and the platform section. */

.landing-container[b-f5eay3ve4h] {
    box-sizing: border-box;
    max-width: 1248px;
    padding: 0 24px;
    margin: 0 auto;
}

.landing-split[b-f5eay3ve4h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
}

.landing-split > *[b-f5eay3ve4h] { min-width: 0; }

/* Text below the screenshot on small screens, screenshot left of the text on wide ones. */
.landing-split--reverse[b-f5eay3ve4h] { flex-wrap: wrap-reverse; }

.landing-split--top[b-f5eay3ve4h] { align-items: flex-start; }

.landing-stack[b-f5eay3ve4h] {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

h1[b-f5eay3ve4h],
h2[b-f5eay3ve4h],
h3[b-f5eay3ve4h],
h4[b-f5eay3ve4h] {
    margin: 0;
    color: var(--heading);
    font-weight: 800;
}

h1[b-f5eay3ve4h] {
    font-size: 64px;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

h2[b-f5eay3ve4h] {
    max-width: 720px;
    font-size: 44px;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

h3[b-f5eay3ve4h] {
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h4[b-f5eay3ve4h] {
    font-size: 24px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

p[b-f5eay3ve4h] {
    margin: 0;
    color: var(--text-body);
    font-size: 17px;
    line-height: 1.65;
}

.landing-eyebrow[b-f5eay3ve4h] {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero */
.landing-hero[b-f5eay3ve4h] { padding: 72px 0 112px; }

.landing-hero-text[b-f5eay3ve4h] {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.landing-meta[b-f5eay3ve4h] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-lead[b-f5eay3ve4h] {
    max-width: 520px;
    font-size: 19px;
    line-height: 1.6;
}

.landing-actions[b-f5eay3ve4h] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 6px;
}

.landing-cta[b-f5eay3ve4h] {
    min-height: 52px;
    padding: 0 26px;
    font-size: 16px;
    font-weight: 700;
}

.landing-cta--accent[b-f5eay3ve4h] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--accent-border);
    border-radius: var(--button-radius);
    background: var(--accent);
    color: var(--accent-text);
    text-decoration: none;
}

.landing-cta--accent:focus-visible[b-f5eay3ve4h] {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.landing-trust[b-f5eay3ve4h] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
    margin: 0;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.landing-trust li[b-f5eay3ve4h] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-dot[b-f5eay3ve4h] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    outline: 1px solid var(--accent-border);
}

.landing-hero-visual[b-f5eay3ve4h] {
    position: relative;
    flex: 1.25 1 520px;
    padding-bottom: 24px;
}

.landing-browser[b-f5eay3ve4h] {
    overflow: hidden;
    border: 1px solid var(--field-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(20, 20, 10, 0.12);
}

.landing-browser-bar[b-f5eay3ve4h] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    background: var(--divider);
}

.landing-browser-bar span[b-f5eay3ve4h] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--field-border);
}

img[b-f5eay3ve4h] {
    display: block;
    width: 100%;
    height: auto;
}

.landing-phone[b-f5eay3ve4h] {
    box-sizing: border-box;
    padding: 8px;
    border-radius: 30px;
    background: #111111;
    box-shadow: 0 20px 50px rgba(20, 20, 10, 0.2);
}

.landing-phone img[b-f5eay3ve4h] { border-radius: 23px; }

.landing-phone--overlap[b-f5eay3ve4h] {
    position: absolute;
    right: -12px;
    bottom: -48px;
    width: 26%;
    min-width: 120px;
    padding: 7px;
    border-radius: 26px;
}

.landing-phone--overlap img[b-f5eay3ve4h] { border-radius: 20px; }

/* Features */
.landing-features[b-f5eay3ve4h] {
    padding: 96px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: var(--surface);
}

.landing-feature-text[b-f5eay3ve4h] {
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.landing-shot[b-f5eay3ve4h] {
    flex: 1.4 1 480px;
    box-sizing: border-box;
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    background: var(--page-background);
}

.landing-shot img[b-f5eay3ve4h] {
    border: 1px solid var(--field-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px rgba(20, 20, 10, 0.08);
}

.landing-soon[b-f5eay3ve4h] {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.landing-soon-head[b-f5eay3ve4h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.landing-soon-grid[b-f5eay3ve4h] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.landing-soon-card[b-f5eay3ve4h] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    background: var(--page-background);
}

.landing-soon-card p[b-f5eay3ve4h] { font-size: 16px; }

.landing-soon-visual[b-f5eay3ve4h] {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
    border: 2px dashed var(--field-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    color: var(--text-secondary);
}

/* Mobile */
.landing-mobile[b-f5eay3ve4h] { padding: 96px 0; }

.landing-mobile .landing-feature-text[b-f5eay3ve4h] { flex-basis: 380px; gap: 16px; }

.landing-phones[b-f5eay3ve4h] {
    flex: 1 1 460px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.landing-phones .landing-phone[b-f5eay3ve4h] { flex: 0 1 230px; }

.landing-phone--offset[b-f5eay3ve4h] { margin-top: 56px; }

/* FAQ */
.landing-faq[b-f5eay3ve4h] { padding: 0 24px 96px; }

.landing-faq-inner[b-f5eay3ve4h] {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

.landing-faq-list[b-f5eay3ve4h] {
    padding: 0 24px;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
}

.landing-faq-item[b-f5eay3ve4h] { border-bottom: 1px solid var(--divider); }

.landing-faq-item:last-child[b-f5eay3ve4h] { border-bottom: 0; }

.landing-faq-item summary[b-f5eay3ve4h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    box-sizing: border-box;
    padding: 18px 0;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
}

.landing-faq-item summary[b-f5eay3ve4h]::-webkit-details-marker { display: none; }

.landing-faq-item summary[b-f5eay3ve4h]::after {
    flex: 0 0 auto;
    content: "+";
    font-size: 22px;
    font-weight: 500;
}

.landing-faq-item[open] summary[b-f5eay3ve4h]::after { content: "\2212"; }

.landing-faq-item summary:focus-visible[b-f5eay3ve4h] {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.landing-faq-item p[b-f5eay3ve4h] {
    max-width: 720px;
    padding-bottom: 20px;
    font-size: 16px;
}

/* Beta call to action */
.landing-beta[b-f5eay3ve4h] {
    padding: 72px 0;
    background: var(--accent);
}

.landing-beta-inner[b-f5eay3ve4h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.landing-beta h2[b-f5eay3ve4h] {
    margin-bottom: 10px;
    color: var(--accent-text);
    font-size: 40px;
}

.landing-beta p[b-f5eay3ve4h] {
    color: var(--accent-text);
    font-size: 18px;
}

/* Platform for publishers */
.landing-platform[b-f5eay3ve4h] {
    padding: 88px 0;
    background: var(--primary);
    color: var(--on-primary);
}

.landing-platform .landing-feature-text[b-f5eay3ve4h] { flex-basis: 420px; gap: 18px; }

.landing-platform .landing-eyebrow[b-f5eay3ve4h] { color: var(--accent-on-dark); }

.landing-platform h2[b-f5eay3ve4h] { color: var(--on-primary); }

.landing-platform p[b-f5eay3ve4h] {
    max-width: 520px;
    color: var(--on-primary-muted);
}

.landing-platform-grid[b-f5eay3ve4h] {
    flex: 1 1 420px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-platform-grid li[b-f5eay3ve4h] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: var(--card-padding);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, 0.06);
}

.landing-platform-grid strong[b-f5eay3ve4h] {
    font-size: 17px;
    font-weight: 800;
}

.landing-platform-grid span[b-f5eay3ve4h] {
    color: var(--on-primary-muted);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .landing-hero[b-f5eay3ve4h] { padding: 40px 0 88px; }
    .landing-split[b-f5eay3ve4h] { gap: 40px; }
    .landing-stack[b-f5eay3ve4h] { gap: 72px; }
    .landing-features[b-f5eay3ve4h],
    .landing-mobile[b-f5eay3ve4h] { padding: 64px 0; }
    .landing-hero-text[b-f5eay3ve4h],
    .landing-hero-visual[b-f5eay3ve4h],
    .landing-feature-text[b-f5eay3ve4h],
    .landing-shot[b-f5eay3ve4h],
    .landing-phones[b-f5eay3ve4h],
    .landing-platform-grid[b-f5eay3ve4h] { flex-basis: 100%; }
    .landing-shot[b-f5eay3ve4h] { padding: 16px; }
    .landing-phone--overlap[b-f5eay3ve4h] { right: 0; }
    h1[b-f5eay3ve4h] { font-size: 44px; }
    h2[b-f5eay3ve4h] { font-size: 32px; }
    h3[b-f5eay3ve4h] { font-size: 26px; }
    .landing-beta h2[b-f5eay3ve4h] { font-size: 32px; }
}

/* Scroll-in animations: only with scroll-driven animation support and without reduced motion, so content is never hidden. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal[b-f5eay3ve4h],
        .reveal-left[b-f5eay3ve4h],
        .reveal-right[b-f5eay3ve4h],
        .reveal-zoom[b-f5eay3ve4h] {
            animation-duration: 1ms;
            animation-fill-mode: both;
            animation-range: entry 0% entry 70%;
            animation-timeline: view();
            animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
        }

        .reveal[b-f5eay3ve4h] { animation-name: landing-up-b-f5eay3ve4h; }
        .reveal-left[b-f5eay3ve4h] { animation-name: landing-left-b-f5eay3ve4h; }
        .reveal-right[b-f5eay3ve4h] { animation-name: landing-right-b-f5eay3ve4h; }
        .reveal-zoom[b-f5eay3ve4h] { animation-name: landing-zoom-b-f5eay3ve4h; }
        .reveal-late[b-f5eay3ve4h] { animation-range: entry 20% entry 95%; }
    }
}

@keyframes landing-up-b-f5eay3ve4h {
    from { opacity: 0; transform: translateY(56px); }
    to { opacity: 1; transform: none; }
}

@keyframes landing-left-b-f5eay3ve4h {
    from { opacity: 0; transform: translateX(-96px); }
    to { opacity: 1; transform: none; }
}

@keyframes landing-right-b-f5eay3ve4h {
    from { opacity: 0; transform: translateX(96px); }
    to { opacity: 1; transform: none; }
}

@keyframes landing-zoom-b-f5eay3ve4h {
    from { opacity: 0; transform: translateY(40px) scale(0.92); }
    to { opacity: 1; transform: none; }
}
/* /Components/Pages/PasswordReset.razor.rz.scp.css */
.reset-page[b-tei5sxs4h8] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-content[b-tei5sxs4h8] {
    width: 100%;
    max-width: 560px;
}

.reset-card-header[b-tei5sxs4h8] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reset-card-header h2[b-tei5sxs4h8] {
    margin: 0;
    font-size: calc(17px * var(--font-scale));
    font-weight: 800;
}

.reset-intro[b-tei5sxs4h8] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

.reset-login-link[b-tei5sxs4h8] {
    box-sizing: border-box;
    width: 100%;
    text-decoration: none;
}

.reset-card[b-tei5sxs4h8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.reset-card > .bb-alert[b-tei5sxs4h8] {
    margin: 0;
}

.reset-checking[b-tei5sxs4h8] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}
/* /Components/Pages/ReleaseNotes.razor.rz.scp.css */
.release-notes-page[b-p7xr12yzp7] { max-width: 720px; }

.release-notes-lead[b-p7xr12yzp7] { margin: -8px 0 8px; color: var(--text-body); font-size: calc(16px * var(--font-scale)); overflow-wrap: anywhere; }

/* Section headings "Aktuelle Version" / "Frühere Versionen": real h2 elements, styled like the captions on "Mehr". */
.release-notes-heading[b-p7xr12yzp7] {
    margin: 28px 0 10px;
    padding: 0 4px;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Anchor target (#v2026-10-27-231): lands below the sticky top bar, with some air above the card (--header-space, app.css). */
.release-version[b-p7xr12yzp7] {
    scroll-margin-top: calc(var(--header-space, 0px) + 16px);
    margin-bottom: 16px;
    padding: 20px 24px;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
}

/* The running version carries an accent bar in addition to its heading, so it does not rely on color alone. */
/* The thicker bar takes 3 px away from the padding, so the text of all versions lines up. */
.release-version--current[b-p7xr12yzp7] { padding-left: 21px; border-left: 4px solid var(--accent-border); }

.release-version h3[b-p7xr12yzp7] { margin: 0 0 2px; font-size: calc(20px * var(--font-scale)); font-weight: 800; overflow-wrap: anywhere; }
.release-date[b-p7xr12yzp7] { margin: 0 0 12px; color: var(--text-body); font-size: calc(13px * var(--font-scale)); }
.release-note[b-p7xr12yzp7] { margin: 12px 0 0; color: var(--text-body); }
.release-version h4[b-p7xr12yzp7] { margin: 14px 0 6px; font-size: calc(14px * var(--font-scale)); font-weight: 800; }
.release-version ul[b-p7xr12yzp7] { margin: 0; padding-left: 20px; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 560px) {
    .release-version[b-p7xr12yzp7] { padding: 16px; }
    .release-version--current[b-p7xr12yzp7] { padding-left: 13px; }
}
/* /Components/Pages/UsageLimitReached.razor.rz.scp.css */
.limit-page[b-4pqy8bb39u] {
    display: flex;
    justify-content: center;
    padding: 0 0 48px;
}

.limit-content[b-4pqy8bb39u] {
    width: min(100%, 620px);
}

.limit-content .bb-headline[b-4pqy8bb39u] {
    margin-bottom: 12px;
}

.limit-intro[b-4pqy8bb39u] {
    max-width: 52ch;
    margin: 0 0 28px;
    color: var(--text-body);
    font-size: calc(18px * var(--font-scale));
    line-height: 1.55;
}

.limit-card h2[b-4pqy8bb39u] {
    margin: 24px 0 10px;
    font-size: calc(22px * var(--font-scale));
    line-height: 1.2;
}

.limit-card p[b-4pqy8bb39u] {
    color: var(--text-body);
}

.limit-actions[b-4pqy8bb39u] {
    margin-top: 20px;
}

.limit-admin-note[b-4pqy8bb39u] {
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--divider);
    font-size: calc(14px * var(--font-scale));
}
/* /Components/Shared/Breadcrumb.razor.rz.scp.css */
.breadcrumb ol[b-2qyl30ucta] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
}

.breadcrumb li[b-2qyl30ucta] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

/* Separator hidden from screen readers (generated CSS content would be announced). */
.breadcrumb__separator[b-2qyl30ucta] {
    padding: 0 6px;
}

.breadcrumb a[b-2qyl30ucta] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb span[b-2qyl30ucta] {
    overflow-wrap: anywhere;
}

.breadcrumb--truncate ol[b-2qyl30ucta] {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.breadcrumb--truncate li[b-2qyl30ucta] {
    flex: none;
}

.breadcrumb--truncate li:last-child[b-2qyl30ucta] {
    flex: 0 1 auto;
}

.breadcrumb--truncate li:last-child span[b-2qyl30ucta] {
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
}
/* /Components/Shared/ColorSchemeSwitch.razor.rz.scp.css */
/* Segmented control Hell / Dunkel / System (#711): label above, three equal pills; the current choice is filled. */
.color-scheme-switch[b-rcp6wz1676] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.color-scheme-switch__label[b-rcp6wz1676] {
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
}

.color-scheme-switch__options[b-rcp6wz1676] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--field-border);
    border-radius: var(--button-radius);
    background: var(--field-background);
}

.color-scheme-switch__option[b-rcp6wz1676] {
    min-width: 0;
    min-height: 36px;
    padding: 0 8px;
    border: 0;
    border-radius: var(--button-radius);
    background: transparent;
    color: var(--text-primary);
    font: 600 calc(13px * var(--font-scale))/1.2 var(--font-family);
    cursor: pointer;
}
.color-scheme-switch__option:hover[b-rcp6wz1676] { background: var(--divider); }
.color-scheme-switch__option[aria-pressed="true"][b-rcp6wz1676] {
    background: var(--primary);
    color: var(--on-primary);
}
.color-scheme-switch__option:focus-visible[b-rcp6wz1676] {
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}
/* /Components/Shared/ContextMenu.razor.rz.scp.css */
.bb-context-menu[b-k8p6hhdnq9] {
    position: relative;
}

.bb-context-menu__button[b-k8p6hhdnq9] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--field-border);
    border-radius: var(--button-radius);
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
}

.bb-context-menu__button:hover[b-k8p6hhdnq9],
.bb-context-menu__button[aria-expanded="true"][b-k8p6hhdnq9] {
    background: var(--divider);
}

.bb-context-menu__button:focus-visible[b-k8p6hhdnq9] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.bb-context-menu__button:disabled[b-k8p6hhdnq9] {
    cursor: not-allowed;
    opacity: 0.6;
}

.bb-context-menu__backdrop[b-k8p6hhdnq9] {
    position: fixed;
    inset: 0;
    z-index: 50;
}

.bb-context-menu__panel[b-k8p6hhdnq9] {
    position: absolute;
    z-index: 51;
    top: calc(100% + 6px);
    right: 0;
    box-sizing: border-box;
    display: grid;
    gap: 2px;
    min-width: 15rem;
    padding: 6px;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: var(--overlay-shadow);
}

/* Items are authored by the caller, so their styles need ::deep to reach the projected content. */
.bb-context-menu__panel[b-k8p6hhdnq9]  .bb-context-menu__item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    font: 600 calc(14px * var(--font-scale))/1.4 var(--font-family);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.bb-context-menu__panel[b-k8p6hhdnq9]  .bb-context-menu__item:hover {
    background: var(--divider);
}

.bb-context-menu__panel[b-k8p6hhdnq9]  .bb-context-menu__item:focus-visible {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.bb-context-menu__panel[b-k8p6hhdnq9]  .bb-context-menu__item--danger {
    color: var(--error-text);
}

@media (max-width: 640px) {
    .bb-context-menu__panel[b-k8p6hhdnq9] {
        min-width: min(15rem, calc(100vw - 4rem));
    }
}
/* /Components/Shared/DateInput.razor.rz.scp.css */
.bb-date-input[b-q0g5p27qu6] {
    position: relative;
    width: 100%;
}

.bb-date-input__control[b-q0g5p27qu6] {
    position: relative;
    width: 100%;
}

.bb-date-input__text[b-q0g5p27qu6] {
    box-sizing: border-box;
    width: 100%;
    padding-right: 52px;
    font-variant-numeric: tabular-nums;
}

.bb-date-input__text[b-q0g5p27qu6]::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.bb-date-input__text[aria-invalid="true"][b-q0g5p27qu6] {
    border-color: var(--error);
    box-shadow: var(--error-focus-shadow);
}

.bb-date-input__picker[b-q0g5p27qu6] {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

.bb-date-input__picker:hover:not(:disabled)[b-q0g5p27qu6] {
    background: var(--surface);
    color: var(--text-primary);
}

.bb-date-input__picker:focus-visible[b-q0g5p27qu6],
.bb-date-input__month-button:focus-visible[b-q0g5p27qu6],
.bb-date-input__day:focus-visible[b-q0g5p27qu6] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.bb-date-input__picker:disabled[b-q0g5p27qu6] {
    cursor: wait;
    opacity: 0.6;
}

.bb-date-input__picker svg[b-q0g5p27qu6] {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bb-date-input__calendar[b-q0g5p27qu6] {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    left: 0;
    box-sizing: border-box;
    width: min(320px, 100%);
    padding: 12px;
    border: 1px solid var(--field-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    box-shadow: var(--overlay-shadow);
}

.bb-date-input__calendar-header[b-q0g5p27qu6] {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.bb-date-input__month[b-q0g5p27qu6] {
    text-align: center;
    text-transform: capitalize;
}

.bb-date-input__month-button[b-q0g5p27qu6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font: 700 calc(22px * var(--font-scale))/1 var(--font-family);
}

.bb-date-input__month-button:hover:not(:disabled)[b-q0g5p27qu6] {
    background: var(--field-background);
}

.bb-date-input__month-button:disabled[b-q0g5p27qu6] {
    color: var(--text-faint);
    cursor: not-allowed;
}

.bb-date-input__weekdays[b-q0g5p27qu6],
.bb-date-input__days[b-q0g5p27qu6] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bb-date-input__weekdays[b-q0g5p27qu6] {
    margin-bottom: 4px;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
    text-align: center;
}

.bb-date-input__weekdays span[b-q0g5p27qu6] {
    padding: 5px 0;
}

.bb-date-input__day[b-q0g5p27qu6],
.bb-date-input__day-placeholder[b-q0g5p27qu6] {
    aspect-ratio: 1;
}

.bb-date-input__day[b-q0g5p27qu6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font: 600 calc(13px * var(--font-scale))/1 var(--font-family);
}

.bb-date-input__day:hover:not(:disabled)[b-q0g5p27qu6] {
    background: var(--field-background);
}

.bb-date-input__day--today[b-q0g5p27qu6] {
    box-shadow: inset 0 0 0 1px var(--accent-border);
}

.bb-date-input__day--selected[b-q0g5p27qu6] {
    background: var(--primary);
    color: var(--on-primary);
}

.bb-date-input__day--selected:hover:not(:disabled)[b-q0g5p27qu6] {
    background: var(--primary);
}

.bb-date-input__day:disabled[b-q0g5p27qu6] {
    color: var(--text-faint);
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .bb-date-input__calendar[b-q0g5p27qu6] {
        width: 100%;
    }
}
/* /Components/Shared/Dialog.razor.rz.scp.css */
.bb-dialog[b-8gcpg18vyr] {
    box-sizing: border-box;
    width: min(92vw, 30rem);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 24px;
    overflow-y: auto;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: var(--overlay-shadow);
    font-family: var(--font-family);
}

.bb-dialog--wide[b-8gcpg18vyr] {
    width: min(92vw, 36rem);
}

.bb-dialog[b-8gcpg18vyr]::backdrop {
    background: rgba(17, 24, 39, 0.55);
}

.bb-dialog__header[b-8gcpg18vyr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.bb-dialog__heading[b-8gcpg18vyr] {
    min-width: 0;
}

.bb-dialog__title[b-8gcpg18vyr] {
    margin: 0;
    font-size: calc(22px * var(--font-scale));
    line-height: 1.25;
}

.bb-dialog__subtitle[b-8gcpg18vyr] {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
    overflow-wrap: anywhere;
}

.bb-dialog__close[b-8gcpg18vyr] {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: -8px -8px 0 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--button-radius);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.bb-dialog__close:hover[b-8gcpg18vyr] {
    background: var(--divider);
}

.bb-dialog__close:focus-visible[b-8gcpg18vyr] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.bb-dialog__close:disabled[b-8gcpg18vyr] {
    cursor: not-allowed;
    opacity: 0.6;
}

.bb-dialog__body[b-8gcpg18vyr] {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* Body and actions are authored by the caller, so their styles need ::deep. */
.bb-dialog__body[b-8gcpg18vyr]  p {
    margin: 0;
    line-height: 1.55;
}

.bb-dialog__actions[b-8gcpg18vyr] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .bb-dialog__actions[b-8gcpg18vyr] {
        flex-direction: column-reverse;
    }

    .bb-dialog__actions[b-8gcpg18vyr]  .bb-btn-primary,
    .bb-dialog__actions[b-8gcpg18vyr]  .bb-btn-secondary {
        width: 100%;
    }
}
/* /Components/Shared/ExamCountdown.razor.rz.scp.css */
/* Petrol countdown card next to the question form on the start page; --accent-on-dark keeps the large number readable for every brand.
   The dark display (#711) sets the --feature-* tokens: a dark card with the brand accent instead of the light --primary. */
.exam-countdown[b-e22iek018m] {
    display: flex;
    flex: 1 1 300px;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    background: var(--feature-surface, var(--primary));
    color: var(--on-feature-surface, var(--on-primary));
}

.exam-countdown__head[b-e22iek018m] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exam-countdown__label[b-e22iek018m] {
    color: var(--on-feature-surface-muted, var(--on-primary-muted));
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.exam-countdown__meta[b-e22iek018m] {
    font-size: calc(16px * var(--font-scale));
    font-weight: 600;
    overflow-wrap: anywhere;
}

.exam-countdown__days[b-e22iek018m] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: calc(18px * var(--font-scale));
    font-weight: 700;
}

.exam-countdown__days strong[b-e22iek018m] {
    color: var(--accent-on-feature-surface, var(--accent-on-dark));
    font-size: calc(88px * var(--font-scale));
    font-weight: 800;
    line-height: 0.9;
}

/* Shown instead of the day count when there is no upcoming exam date (#654). */
.exam-countdown__note[b-e22iek018m] {
    margin: 0;
    font-size: calc(18px * var(--font-scale));
    font-weight: 600;
}

/* Desktop shows only "Tage" under the "Abschlussprüfung" caption; screen readers always get the full phrase. */
.exam-countdown__suffix[b-e22iek018m] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 1023.98px) {
    /* Countdown as a single row: the number left, "Tage bis zur Prüfung" above program and date right of it. */
    .exam-countdown[b-e22iek018m] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 2px 16px;
        padding: 18px 20px;
    }
    .exam-countdown__head[b-e22iek018m],
    .exam-countdown__days[b-e22iek018m] { display: contents; }
    .exam-countdown__label[b-e22iek018m] { display: none; }
    .exam-countdown__days strong[b-e22iek018m] { grid-column: 1; grid-row: 1 / span 2; font-size: calc(48px * var(--font-scale)); line-height: 1; }
    .exam-countdown__unit[b-e22iek018m] { grid-column: 2; grid-row: 1; align-self: end; font-size: calc(15px * var(--font-scale)); }
    /* Without a day count the card stacks the note above the date. */
    .exam-countdown--note[b-e22iek018m] { display: flex; gap: 4px; }
    .exam-countdown--note .exam-countdown__meta[b-e22iek018m] { order: 1; }
    .exam-countdown__note[b-e22iek018m] { font-size: calc(15px * var(--font-scale)); }
    .exam-countdown__meta[b-e22iek018m] { grid-column: 2; grid-row: 2; align-self: start; color: var(--on-feature-surface-muted, var(--on-primary-muted)); font-size: calc(13px * var(--font-scale)); font-weight: 400; }
    .exam-countdown__suffix[b-e22iek018m] { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
/* /Components/Shared/InfoDisclosure.razor.rz.scp.css */
.bb-info-disclosure[b-et7vhe4fed] {
    margin-bottom: 1.25rem;
}

/* Styled as a quiet text link: help should not compete with the page's actions. */
.bb-info-disclosure__toggle[b-et7vhe4fed] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
    color: var(--text-body);
    font: 500 calc(14px * var(--font-scale))/1.4 var(--font-family);
    list-style: none;
    cursor: pointer;
}

.bb-info-disclosure__toggle[b-et7vhe4fed]::-webkit-details-marker {
    display: none;
}

.bb-info-disclosure__label[b-et7vhe4fed] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bb-info-disclosure__toggle:hover[b-et7vhe4fed] {
    color: var(--text-primary);
}

/* --accent-border is too light on white for a focus indicator (WCAG 1.4.11), so use the primary text colour. */
.bb-info-disclosure__toggle:focus-visible[b-et7vhe4fed] {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.bb-info-disclosure__chevron[b-et7vhe4fed] {
    transition: transform 0.15s ease;
}

.bb-info-disclosure[open] .bb-info-disclosure__chevron[b-et7vhe4fed] {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .bb-info-disclosure__chevron[b-et7vhe4fed] {
        transition: none;
    }
}

.bb-info-disclosure__panel[b-et7vhe4fed] {
    margin-top: 0.5rem;
    padding: 14px 18px;
    border-radius: var(--button-radius);
    background: var(--divider);
    color: var(--text-body);
}

/* Content is authored by the caller, so its styles need ::deep to reach the projected markup. */
.bb-info-disclosure__panel[b-et7vhe4fed]  ul {
    max-width: 70ch;
    margin: 0;
    padding-left: 1.25rem;
}

.bb-info-disclosure__panel[b-et7vhe4fed]  li + li {
    margin-top: 0.5rem;
}
/* /Components/Shared/NewPasswordForm.razor.rz.scp.css */
.npf[b-y33m304gqf] {
    display: grid;
    gap: 1rem;
}

.npf > .bb-alert[b-y33m304gqf] {
    margin: 0;
}

.npf-field .bb-field[b-y33m304gqf] {
    box-sizing: border-box;
}

.npf-field[b-y33m304gqf] {
    display: grid;
    gap: 0.35rem;
}

.npf-field label[b-y33m304gqf] {
    font-weight: 600;
}

.npf-hint[b-y33m304gqf] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
}

.npf-submit[b-y33m304gqf] {
    box-sizing: border-box;
    width: 100%;
    text-decoration: none;
}
/* /Components/Shared/Skeleton.razor.rz.scp.css */
.bb-skeleton[b-yare16y8k1] {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 100%;
    background: currentColor;
    vertical-align: middle;
    opacity: 0.14;
    animation: bb-skeleton-pulse-b-yare16y8k1 1.4s ease-in-out infinite;
}

@keyframes bb-skeleton-pulse-b-yare16y8k1 {
    50% { opacity: 0.06; }
}

@media (prefers-reduced-motion: reduce) {
    .bb-skeleton[b-yare16y8k1] { animation: none; }
}
/* /Components/Shared/StatTile.razor.rz.scp.css */
.stat-tile[b-7si8a5g5t0] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
}

.stat-tile__label[b-7si8a5g5t0] {
    margin: 0 0 0.25rem;
    font-size: calc(0.8125rem * var(--font-scale));
    color: var(--text-secondary);
}

.stat-tile__value[b-7si8a5g5t0] {
    margin: 0 0 0.35rem;
    font-size: calc(2rem * var(--font-scale));
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-body);
}

.stat-tile__hint[b-7si8a5g5t0] {
    margin: 0;
    color: var(--text-secondary);
}

/* Round arrow button in the bottom-right corner; it sits in its own row below the text, so it never covers it. */
.stat-tile__go[b-7si8a5g5t0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin-top: auto;
    border: 2px solid var(--field-border);
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary);
    font-size: calc(1.25rem * var(--font-scale));
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.stat-tile__go:hover[b-7si8a5g5t0] {
    border-color: var(--accent-border);
    background: var(--accent);
    color: var(--accent-text);
}

.stat-tile__go:focus-visible[b-7si8a5g5t0] {
    outline: 3px solid var(--accent-border);
    outline-offset: 3px;
}
/* /Modules/Administration/Pages/AdminFeedback.razor.rz.scp.css */
.admin-content[b-wl8giglvvz] {
    max-width: 1080px;
    margin: 32px auto 0;
}

.text-muted[b-wl8giglvvz] {
    color: var(--text-secondary);
}

.feedback-lead[b-wl8giglvvz] {
    max-width: 60ch;
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

.feedback-list[b-wl8giglvvz] {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.feedback-item p[b-wl8giglvvz] {
    margin: 0.5rem 0 0;
}

.feedback-meta[b-wl8giglvvz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    font-size: calc(0.875rem * var(--font-scale));
}

.feedback-comment[b-wl8giglvvz] {
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.feedback-consents[b-wl8giglvvz] {
    font-size: calc(0.875rem * var(--font-scale));
    overflow-wrap: anywhere;
}

.feedback-item details[b-wl8giglvvz] {
    margin-top: 0.5rem;
}

.feedback-item summary[b-wl8giglvvz] {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: calc(0.875rem * var(--font-scale));
    font-weight: 700;
    cursor: pointer;
}

.feedback-item summary[b-wl8giglvvz]::before {
    content: "▸";
    flex: none;
    width: 1.25em;
}

.feedback-item details[open] > summary[b-wl8giglvvz]::before {
    content: "▾";
}

.feedback-quote[b-wl8giglvvz] {
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--accent-border);
    background: var(--field-background);
    color: var(--text-body);
    font-size: calc(0.9375rem * var(--font-scale));
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.feedback-turn + .feedback-turn[b-wl8giglvvz] {
    margin-top: 0.5rem;
}
/* /Modules/Administration/Pages/AdminOverview.razor.rz.scp.css */
.admin-content[b-2vuenfbybo] {
    max-width: 1080px;
    margin: 32px auto 0;
}

.text-muted[b-2vuenfbybo] {
    color: var(--text-secondary);
}

.overview-lead[b-2vuenfbybo] {
    max-width: 60ch;
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

.overview-tiles[b-2vuenfbybo] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.overview-tiles > li[b-2vuenfbybo] {
    display: flex;
}

/* Two columns on small screens, so 375 px shows a 2x2 grid. */
@media (max-width: 700px) {
    .overview-tiles[b-2vuenfbybo] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.overview-note[b-2vuenfbybo] {
    margin: 0.75rem 0 0;
    font-size: calc(0.875rem * var(--font-scale));
}

.overview-quick[b-2vuenfbybo] {
    margin-top: 1.25rem;
}

.overview-actions[b-2vuenfbybo] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.overview-actions a[b-2vuenfbybo] {
    text-decoration: none;
}
/* /Modules/Administration/Pages/AdminUsers.razor.rz.scp.css */
.admin-content[b-6cqz0p6lif] {
    max-width: 1080px;
    margin: 32px auto 0;
}

.admin-field[b-6cqz0p6lif] {
    display: grid;
    gap: 0.35rem;
}

.admin-field label[b-6cqz0p6lif] {
    font-weight: 600;
}

.users-toolbar[b-6cqz0p6lif] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
}

.users-search[b-6cqz0p6lif] {
    display: flex;
    flex: 1 1 24rem;
    align-items: flex-end;
    gap: 0.75rem;
    max-width: 36rem;
}

/* Status filter chips (#372): wrap on wider screens, one swipeable row on smartphones. */
.status-chips[b-6cqz0p6lif] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.status-chip[b-6cqz0p6lif] {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--field-border);
    border-radius: 999px;
    background: transparent;
    color: var(--text-body);
    font: inherit;
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.status-chip:hover:not(:disabled)[b-6cqz0p6lif] {
    border-color: var(--text-secondary);
}

.status-chip[aria-pressed="true"][b-6cqz0p6lif] {
    border-color: var(--text-body);
    background: var(--text-body);
    color: var(--surface);
}

.status-chip:focus-visible[b-6cqz0p6lif] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.status-chip:disabled[b-6cqz0p6lif] {
    cursor: default;
    opacity: 0.6;
}

.users-search-field[b-6cqz0p6lif] {
    flex: 1;
}

.visually-hidden[b-6cqz0p6lif] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-muted[b-6cqz0p6lif] {
    color: var(--text-secondary);
}

.user-list[b-6cqz0p6lif] {
    margin-top: 1.5rem;
}

/* One slim row per account; actions live in the menu on the right. */
.user-rows[b-6cqz0p6lif] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-row[b-6cqz0p6lif] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--divider);
}

.user-avatar[b-6cqz0p6lif] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
}

.user-avatar--active[b-6cqz0p6lif] {
    background: var(--success-surface);
    color: var(--success);
}

.user-avatar--pending[b-6cqz0p6lif] {
    background: var(--notice-surface);
    color: var(--notice);
}

.user-avatar--locked[b-6cqz0p6lif] {
    background: var(--error-surface);
    color: var(--error-text);
}

.user-avatar--expired[b-6cqz0p6lif] {
    background: var(--field-border);
    color: var(--notice);
}

.user-avatar--deactivated[b-6cqz0p6lif] {
    background: var(--field-border);
    color: var(--text-secondary);
}

.user-main[b-6cqz0p6lif] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.user-email[b-6cqz0p6lif] {
    margin: 0;
    font-size: calc(15px * var(--font-scale));
    font-weight: 600;
    overflow-wrap: anywhere;
}

.user-meta[b-6cqz0p6lif] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: calc(13px * var(--font-scale));
}

.user-role[b-6cqz0p6lif] {
    color: var(--text-body);
    font-weight: 600;
}

.user-meta-note[b-6cqz0p6lif] {
    font-size: calc(13px * var(--font-scale));
}

.status-pill[b-6cqz0p6lif] {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid var(--field-border);
    border-radius: 999px;
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
    white-space: nowrap;
}

.status-pill--active[b-6cqz0p6lif] {
    border-color: var(--success-border);
    background: var(--success-surface);
    color: var(--success);
}

.status-pill--locked[b-6cqz0p6lif] {
    border-color: var(--error);
    background: var(--error-surface);
    color: var(--error-text);
}

.status-pill--pending[b-6cqz0p6lif] {
    border-color: var(--notice-border);
    background: var(--notice-surface);
    color: var(--notice);
}

.status-pill--expired[b-6cqz0p6lif] {
    border-color: var(--notice-border);
    background: transparent;
    color: var(--notice);
    border-style: dashed;
}

.status-pill--deactivated[b-6cqz0p6lif] {
    border-color: var(--field-border);
    background: transparent;
    color: var(--text-secondary);
}

.user-dialog-list[b-6cqz0p6lif] {
    margin: 0 0 0.75rem;
    padding-left: 1.25rem;
}

.user-link-control[b-6cqz0p6lif] {
    display: flex;
    gap: 0.5rem;
}

.user-link-control input[b-6cqz0p6lif] {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: calc(12px * var(--font-scale));
}

.user-link-expiry[b-6cqz0p6lif] {
    font-size: calc(13px * var(--font-scale));
}

.user-count[b-6cqz0p6lif] {
    margin-top: 0.75rem;
}

@media (max-width: 640px) {
    .users-toolbar[b-6cqz0p6lif],
    .users-search[b-6cqz0p6lif] {
        flex-direction: column;
        align-items: stretch;
    }

    .users-search[b-6cqz0p6lif] {
        flex-basis: auto;
    }
}

/* Six chips do not fit next to each other on a smartphone: keep one row and let it scroll sideways. */
@media (max-width: 767.98px) {
    .status-chips[b-6cqz0p6lif] {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: -4px;
        padding: 4px;
        scrollbar-width: none;
    }

    .status-chips[b-6cqz0p6lif]::-webkit-scrollbar {
        display: none;
    }

    .status-chip[b-6cqz0p6lif] {
        flex: none;
    }
}

@media (max-width: 480px) {
    .user-link-control[b-6cqz0p6lif] {
        flex-direction: column;
    }

    .user-link-control input[b-6cqz0p6lif] {
        flex: none;
    }
}

/* iOS Safari zooms into form fields below 16 px. */
@media (max-width: 767.98px) {
    .user-link-control input[b-6cqz0p6lif] { font-size: 16px; }
}

/* Usage limit dialog (#303). */
.user-dialog-facts[b-6cqz0p6lif] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    margin: 0 0 1rem;
}

.user-dialog-facts dt[b-6cqz0p6lif] {
    color: var(--text-secondary);
}

.user-dialog-facts dd[b-6cqz0p6lif] {
    margin: 0;
    font-weight: 600;
}

.user-field-error[b-6cqz0p6lif] {
    margin: 0.35rem 0 0;
    color: var(--error-text);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

/* Invitation dialog: several addresses at once. */
.user-invite-emails[b-6cqz0p6lif] {
    width: 100%;
    min-height: 7rem;
    resize: vertical;
}

/* Only the list scrolls, so the dialog actions (copy table, done) stay in view with up to 50 addresses. */
.user-batch-list[b-6cqz0p6lif] {
    list-style: none;
    margin: 0;
    padding: 0 0.25rem 0 0;
    display: grid;
    gap: 0.75rem;
    max-height: clamp(8rem, calc(100dvh - 27rem), 26rem);
    overflow-y: auto;
}

.user-batch-item[b-6cqz0p6lif] {
    display: grid;
    gap: 0.25rem;
}

.user-batch-email[b-6cqz0p6lif] {
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* Read-only link with a copy icon inside the field. */
.user-link-field[b-6cqz0p6lif] {
    position: relative;
}

.user-link-field input[b-6cqz0p6lif] {
    width: 100%;
    box-sizing: border-box;
    padding-right: 3rem;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: calc(12px * var(--font-scale));
}

.user-link-field__copy[b-6cqz0p6lif] {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--button-radius);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.user-link-field__copy:hover[b-6cqz0p6lif] {
    background: var(--divider);
}

.user-link-field__copy:focus-visible[b-6cqz0p6lif] {
    outline: 3px solid var(--accent-border);
    outline-offset: -3px;
}

@media (max-width: 767.98px) {
    .user-link-field input[b-6cqz0p6lif] { font-size: 16px; }
}
/* /Modules/Administration/Pages/UsageMeter.razor.rz.scp.css */
.usage-meter[b-xznpidvsdp] {
    display: grid;
    gap: 4px;
    font-size: calc(13px * var(--font-scale));
    color: var(--text-body);
}

.usage-meter__bar[b-xznpidvsdp] {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: var(--field-border);
    overflow: hidden;
}

.usage-meter__fill[b-xznpidvsdp] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--success);
}

.usage-meter__fill--full[b-xznpidvsdp] {
    background: var(--error);
}
/* /Modules/Chat/Components/ChatAnswer.razor.rz.scp.css */
/* Answers without bubble or avatar across the full reading column (design reference "KI-Chat – Desktop"). */
.chat-bot[b-qqjqm278xw] { flex-shrink: 0; }
.chat-answer[b-qqjqm278xw] { min-width: 0; overflow-wrap: anywhere; font-size: calc(16px * var(--font-scale)); }
.chat-markdown[b-qqjqm278xw] { line-height: 1.7; }
.chat-markdown[b-qqjqm278xw]  > :first-child { margin-top: 0; }
.chat-markdown[b-qqjqm278xw]  > :last-child { margin-bottom: 0; }
.chat-markdown[b-qqjqm278xw]  p { margin: 0 0 14px; }
.chat-markdown[b-qqjqm278xw]  h2, .chat-markdown[b-qqjqm278xw]  h3 { margin: 22px 0 8px; color: var(--heading); font-size: calc(17px * var(--font-scale)); font-weight: 700; line-height: 1.3; }
.chat-markdown[b-qqjqm278xw]  ul, .chat-markdown[b-qqjqm278xw]  ol { margin: 0 0 14px; padding-left: 22px; }
/* Citation markers as numbered chips (spec chat-darstellung.md). */
.chat-markdown[b-qqjqm278xw]  .chat-cite { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin: 0; padding: 0 5px; box-sizing: border-box; border: 0; border-radius: var(--radius-sm); background: var(--message-background); color: var(--primary); font: inherit; font-size: calc(12px * var(--font-scale)); font-weight: 700; line-height: 1; vertical-align: 1px; cursor: pointer; }
.chat-markdown[b-qqjqm278xw]  .chat-cite:hover { background: var(--accent); color: var(--accent-text); }
.chat-markdown[b-qqjqm278xw]  .chat-cite:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.chat-actions[b-qqjqm278xw] { display: flex; gap: 4px; margin: 10px 0 0 -8px; }
.chat-copy[b-qqjqm278xw], .chat-rate[b-qqjqm278xw] { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); cursor: pointer; }
.chat-copy .bb-icon[b-qqjqm278xw], .chat-rate .bb-icon[b-qqjqm278xw] { width: 17px; height: 17px; }
.chat-rate--selected[b-qqjqm278xw] { background: var(--message-background); color: var(--text-primary); }
.chat-rate:disabled[b-qqjqm278xw] { cursor: default; }
.chat-rate:disabled:not(.chat-rate--selected)[b-qqjqm278xw] { opacity: 0.45; }
.chat-rate-thanks[b-qqjqm278xw] { align-self: center; margin-left: 6px; color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); }
.chat-copy:hover:not(:disabled)[b-qqjqm278xw], .chat-rate:hover:not(:disabled)[b-qqjqm278xw] { background: var(--message-background); color: var(--text-primary); }
.chat-copy:focus-visible[b-qqjqm278xw], .chat-rate:focus-visible[b-qqjqm278xw] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-markdown + .chat-markdown[b-qqjqm278xw] { margin-top: 12px; }
.chat-visual-pending[b-qqjqm278xw], .chat-visual-invalid[b-qqjqm278xw], .chat-visual-aborted[b-qqjqm278xw] { margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--field-border); border-radius: var(--card-radius); color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }
.chat-visual-invalid[b-qqjqm278xw], .chat-visual-aborted[b-qqjqm278xw] { border-style: solid; border-color: var(--notice-border); background: var(--notice-surface); }

/* Readable layout (#670): text lines stay at about 65 to 80 characters instead of the whole
   column, graphics keep the full width. Sections marked by AnswerSections get room above them; definition and example
   share one frame, the check question has a stronger one, and the bold label is the small heading of its frame (spec
   chat-darstellung.md). Narrow displays use the full width, so text never scrolls sideways. */
.chat-answer .chat-markdown[b-qqjqm278xw] { max-width: 62ch; }
.chat-answer .chat-markdown[b-qqjqm278xw]  h2:not(:first-child), .chat-answer .chat-markdown[b-qqjqm278xw]  h3:not(:first-child) { margin-top: 28px; }
.chat-answer .chat-markdown[b-qqjqm278xw]  .chat-section:not(:first-child) { margin-top: 22px; }
.chat-answer .chat-markdown[b-qqjqm278xw]  :is(.chat-section--definition, .chat-section--example) { padding: 14px 18px 16px; border: 1px solid var(--card-border); border-radius: var(--card-radius); background: var(--field-background); }
.chat-answer .chat-markdown[b-qqjqm278xw]  .chat-section--check { padding: 14px 18px 16px; border: 1.5px solid var(--primary); border-radius: var(--card-radius); background: var(--surface); }
.chat-answer .chat-markdown[b-qqjqm278xw]  :is(.chat-section--definition, .chat-section--example, .chat-section--check) > strong:first-child { display: block; margin-bottom: 6px; color: var(--primary); font-size: calc(12px * var(--font-scale)); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Head of the answer (spec chat-darstellung.md): the product name and the backing mark. */
.chat-answer-head[b-qqjqm278xw] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.chat-answer-name[b-qqjqm278xw] { color: var(--text-primary); font-size: calc(14px * var(--font-scale)); font-weight: 700; }
.chat-backing[b-qqjqm278xw] { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border: 1px solid transparent; border-radius: 999px; font-size: calc(12px * var(--font-scale)); font-weight: 600; line-height: 1.3; }
.chat-backing .bb-icon[b-qqjqm278xw] { flex: none; width: 14px; height: 14px; }
.chat-backing--backed[b-qqjqm278xw] { border-color: var(--success-border); background: var(--success-surface); color: var(--success); }
.chat-backing--missing[b-qqjqm278xw] { border-color: var(--notice-border); background: var(--notice-surface); color: var(--text-primary); }
/* /Modules/Chat/Components/ChatAvatar.razor.rz.scp.css */
.chat-avatar[b-sz2te61x4b] { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-text); font-size: calc(10px * var(--font-scale)); font-weight: 800; }
.chat-avatar--large[b-sz2te61x4b] { width: 44px; height: 44px; border-radius: var(--card-radius); font-size: calc(15px * var(--font-scale)); }
/* /Modules/Chat/Components/ChatComposer.razor.rz.scp.css */
/* White composer with a soft shadow, send button next to the text (design reference "KI-Chat – Desktop");
   same column width as the thread (Chat.razor.css). */
.chat-composer-wrap[b-n49nohz0yd] { flex: none; box-sizing: border-box; width: 100%; padding: 0 max(24px, calc((100% - 720px) / 2)) 16px; }
.chat-composer[b-n49nohz0yd] { display: flex; align-items: flex-end; gap: 10px; padding: 14px 14px 14px 20px; border: 1px solid var(--composer-border); border-radius: 18px; background: var(--surface); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08); }
.chat-composer--invalid[b-n49nohz0yd] { border: 2px solid var(--error); }
.chat-composer textarea[b-n49nohz0yd] { display: block; flex: 1 1 auto; box-sizing: border-box; min-width: 0; max-height: 200px; padding: 8px 0; border: 0; background: transparent; color: var(--text-primary); font: 400 calc(16px * var(--font-scale))/1.5 var(--font-family); resize: none; }
/* 16px keeps iOS Safari from zooming into the field on focus. */
@media (max-width: 767.98px) {
    .chat-composer textarea[b-n49nohz0yd] { font-size: 16px; }
}
.chat-composer textarea:focus[b-n49nohz0yd] { outline: none; }
.chat-composer:focus-within[b-n49nohz0yd] { border-color: var(--primary); }
.chat-send[b-n49nohz0yd] { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--primary); color: var(--on-primary); cursor: pointer; }
.chat-send:hover:not(:disabled)[b-n49nohz0yd] { background: var(--primary-hover); }
.chat-send:disabled[b-n49nohz0yd] { background: var(--message-background); color: var(--text-secondary); cursor: not-allowed; }
.chat-send--stop .bb-icon[b-n49nohz0yd] { width: 14px; height: 14px; }
.chat-send--stop[b-n49nohz0yd] { border: 1px solid var(--field-border); background: var(--surface); color: var(--text-primary); }
.chat-send:focus-visible[b-n49nohz0yd] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-field-error[b-n49nohz0yd] { margin: 6px 14px 0; color: var(--error-text); font-size: calc(13px * var(--font-scale)); font-weight: 600; }
/* Check question being answered (#671) above the field: the label on its own line, the question up to four lines (300
   characters at most, about three to four lines on phones); the close button removes only the reference. */
.chat-reference[b-n49nohz0yd] { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; padding: 8px 8px 8px 14px; border-left: 3px solid var(--primary); border-radius: var(--radius-sm); background: var(--message-background); }
.chat-reference-text[b-n49nohz0yd] { flex: 1 1 auto; min-width: 0; margin: 0; padding-top: 4px; font-size: calc(14px * var(--font-scale)); line-height: 1.4; overflow-wrap: anywhere; }
.chat-reference-label[b-n49nohz0yd] { display: block; font-weight: 600; }
.chat-reference-question[b-n49nohz0yd] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.chat-reference-clear[b-n49nohz0yd] { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-secondary); cursor: pointer; }
.chat-reference-clear:hover[b-n49nohz0yd] { background: var(--message-background); color: var(--text-primary); }
.chat-reference-clear:focus-visible[b-n49nohz0yd] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-reference-clear .bb-icon[b-n49nohz0yd] { width: 16px; height: 16px; }
.chat-hint[b-n49nohz0yd] { margin: 8px 0 0; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); line-height: 1.3; text-align: center; }

/* No safe area at the bottom: below 1024 px the chat panel ends above the home indicator (--chat-bottom-inset, app.css) or
   directly above the open keyboard. */
@media (max-width: 680px) {
    .chat-composer[b-n49nohz0yd] { padding: 8px 8px 8px 16px; }
    .chat-send[b-n49nohz0yd] { width: 44px; height: 44px; }
    .chat-composer-wrap[b-n49nohz0yd] { padding: 0 max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left)); }
    .chat-hint[b-n49nohz0yd] { margin-top: 6px; font-size: calc(11px * var(--font-scale)); }
    .chat-reference[b-n49nohz0yd] { margin-bottom: 6px; padding-left: 12px; }
    .chat-reference-clear[b-n49nohz0yd] { width: 44px; height: 44px; margin: -6px -4px -6px 0; }
}

/* /Modules/Chat/Components/ChatEmptyState.razor.rz.scp.css */
/* Greeting and question left-aligned in the reading column, the suggestions as pills below (spec chat-darstellung.md).
   Auto margins center the block vertically but, unlike justify-content, never clip it when it is taller than the thread. */
.chat-empty[b-eap04sfg5h] { flex-shrink: 0; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: auto 0; text-align: left; }
.chat-empty h2[b-eap04sfg5h] { margin: 0; font-size: calc(32px * var(--font-scale)); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.chat-empty p[b-eap04sfg5h] { margin: 4px 0 20px; color: var(--text-secondary); }
.chat-empty .chat-empty-greeting[b-eap04sfg5h] { margin: 0; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); font-weight: 600; }
.chat-empty .chat-suggestions-label[b-eap04sfg5h] { margin: 0; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); font-weight: 600; }
.chat-suggestions[b-eap04sfg5h] { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.chat-suggestion[b-eap04sfg5h] { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--field-border); border-radius: 99px; background: var(--surface); color: var(--text-body); cursor: pointer; font: 500 calc(14px * var(--font-scale))/1.2 var(--font-family); }
.chat-suggestion:hover[b-eap04sfg5h] { border-color: var(--primary); color: var(--text-primary); }
.chat-suggestion:focus-visible[b-eap04sfg5h] { outline: 3px solid var(--primary); outline-offset: 2px; }

@media (max-width: 680px) {
    .chat-empty h2[b-eap04sfg5h] { font-size: calc(26px * var(--font-scale)); }
    .chat-suggestion[b-eap04sfg5h] { min-height: 44px; }
}
/* /Modules/Chat/Components/ChatErrorAlert.razor.rz.scp.css */
.chat-bot[b-p1urwqhzdw] { flex-shrink: 0; }
.chat-alert[b-p1urwqhzdw] { padding: 14px 16px; border: 1px solid var(--error); border-radius: var(--card-radius); background: var(--error-surface); color: var(--error-text); }
.chat-retry[b-p1urwqhzdw] { min-height: 44px; margin-top: 10px; padding: 6px 16px; font-size: calc(14px * var(--font-scale)); }
/* /Modules/Chat/Components/ChatFeedbackDialog.razor.rz.scp.css */
.chat-feedback-field[b-v85eumxfhc] { display: grid; gap: 6px; }
.chat-feedback-field label[b-v85eumxfhc] { color: var(--text-primary); font-size: calc(14px * var(--font-scale)); font-weight: 700; }
.chat-feedback-field textarea[b-v85eumxfhc] { min-height: 96px; resize: vertical; }
.chat-feedback-hint[b-v85eumxfhc] { margin: 0; color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); }
.chat-feedback-notice[b-v85eumxfhc] { margin: 0; padding: 10px 12px; border-radius: var(--card-radius); background: var(--field-background); color: var(--text-body); font-size: calc(14px * var(--font-scale)); }
.chat-feedback-check[b-v85eumxfhc] { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; color: var(--text-body); font-size: calc(14px * var(--font-scale)); line-height: 1.5; cursor: pointer; }
.chat-feedback-check input[b-v85eumxfhc] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.chat-feedback-check b[b-v85eumxfhc] { overflow-wrap: anywhere; }
/* /Modules/Chat/Components/ChatHistoryPanel.razor.rz.scp.css */
/* Chat history (#448) in the sidebar of the layout below the navigation, from 1024 px and in the menu below (spec
   kompakte-seitenleiste.md): fills the free height, only its list scrolls. Days are collapsible captions in sentence case
   like the groups of the navigation, one line per chat, „…“ only on hover, focus, the open chat or an open menu. */
.chat-history[b-o1msfeaud6] { flex: 1; display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; min-height: 0; color: var(--text-primary); }
.chat-history h2:focus[b-o1msfeaud6] { outline: none; }

.chat-history-body[b-o1msfeaud6] { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 4px; margin: 0 -4px; padding: 0 4px 8px; overflow-y: auto; overscroll-behavior: contain; }
.chat-history-note[b-o1msfeaud6] { margin: 0; padding: 4px 8px; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); line-height: 1.4; }
.chat-history-note p[b-o1msfeaud6] { margin: 0 0 12px; }

.chat-history-group[b-o1msfeaud6] { display: flex; flex-direction: column; gap: 2px; }
.chat-history-group-label[b-o1msfeaud6] { display: flex; align-items: center; gap: 4px; min-height: 44px; margin: 0; padding: 0 12px; border-radius: var(--card-radius); color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.chat-history-group-label[b-o1msfeaud6]::-webkit-details-marker { display: none; }
.chat-history-group-label:hover[b-o1msfeaud6] { background: var(--message-background); color: var(--text-primary); }
.chat-history-group-label:focus-visible[b-o1msfeaud6] { outline: 3px solid var(--text-primary); outline-offset: -3px; }
.chat-history-group-label svg[b-o1msfeaud6] { flex: none; transform: rotate(-90deg); transition: transform .15s ease; }
.chat-history-group[open] > .chat-history-group-label svg[b-o1msfeaud6] { transform: none; }
.chat-history-list[b-o1msfeaud6] { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }

.chat-history-item[b-o1msfeaud6] { position: relative; }
.chat-history-row[b-o1msfeaud6] { display: flex; align-items: stretch; border-radius: var(--radius-sm); }
.chat-history-row:hover[b-o1msfeaud6] { background: var(--message-background); }
/* The open chat in NWB yellow; text stays dark on it. */
.chat-history-item--current .chat-history-row[b-o1msfeaud6],
.chat-history-item--current .chat-history-row:hover[b-o1msfeaud6] { background: var(--accent); color: var(--accent-text); }
.chat-history-open[b-o1msfeaud6] { flex: 1; min-width: 0; display: flex; align-items: center; min-height: 40px; padding: 0 2px 0 12px; border: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: transparent; color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
.chat-history-title[b-o1msfeaud6] { min-width: 0; overflow: hidden; font-size: calc(14px * var(--font-scale)); font-weight: 400; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.chat-history-item--current .chat-history-title[b-o1msfeaud6] { font-weight: 600; }
.chat-history-more[b-o1msfeaud6] { flex: none; display: grid; place-items: center; width: 40px; padding: 0; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: transparent; color: inherit; cursor: pointer; }
.chat-history-open:focus-visible[b-o1msfeaud6],
.chat-history-more:focus-visible[b-o1msfeaud6] { outline: 3px solid var(--primary); outline-offset: -3px; }
/* Only with pointers that can hover; on touch screens (also touch laptops) „…“ stays visible. */
@media (hover: hover) and (not (any-pointer: coarse)) {
    .chat-history-more[b-o1msfeaud6] { opacity: 0; }
    .chat-history-row:is(:hover, :focus-within) .chat-history-more[b-o1msfeaud6],
    .chat-history-item--current .chat-history-more[b-o1msfeaud6],
    .chat-history-more[aria-expanded="true"][b-o1msfeaud6] { opacity: 1; }
}

/* The menu opens in the flow below its entry, so the scrolling list never cuts it off. */
.chat-history-menu[b-o1msfeaud6] { display: flex; flex-direction: column; width: fit-content; min-width: 180px; margin: 2px 0 4px auto; padding: 4px 0; border: 1px solid var(--card-border); border-radius: var(--field-radius); background: var(--surface); box-shadow: var(--card-shadow); }
.chat-history-menu-item[b-o1msfeaud6] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--text-primary); font-family: inherit; font-size: calc(15px * var(--font-scale)); text-align: left; cursor: pointer; }
.chat-history-menu-item:hover[b-o1msfeaud6] { background: var(--message-background); }
.chat-history-menu-item:focus-visible[b-o1msfeaud6] { outline: 3px solid var(--primary); outline-offset: -3px; }
.chat-history-menu-item--danger[b-o1msfeaud6] { color: var(--error-text); }

@media (prefers-reduced-motion: reduce) {
    .chat-history-group-label svg[b-o1msfeaud6] { transition: none; }
}

/* Undo after a delete: top right from 1024 px; below at the bottom of the menu, where the history is. */
.chat-undo-region:empty[b-o1msfeaud6] { display: none; }
.chat-undo[b-o1msfeaud6] { position: fixed; z-index: 30; top: 24px; right: 24px; display: flex; align-items: center; gap: 16px; max-width: calc(100% - 48px); box-sizing: border-box; padding: 8px 8px 8px 18px; border-radius: var(--field-radius); background: var(--primary); box-shadow: var(--button-hover-shadow); color: var(--on-primary); font-size: calc(15px * var(--font-scale)); }
.chat-undo-text[b-o1msfeaud6] { min-width: 0; overflow-wrap: anywhere; }
.chat-undo-button[b-o1msfeaud6] { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--button-radius); background: var(--accent); color: var(--accent-text); font-family: inherit; font-size: calc(15px * var(--font-scale)); font-weight: 700; cursor: pointer; }
.chat-undo-button:focus-visible[b-o1msfeaud6] { outline: 3px solid var(--accent); outline-offset: 2px; }

@media (max-width: 1023.98px) {
    .chat-undo[b-o1msfeaud6] { top: auto; right: 12px; bottom: calc(var(--bottom-inset, 0px) + 16px); left: 12px; max-width: none; }
}
/* /Modules/Chat/Components/ChatSearchDialog.razor.rz.scp.css */
/* Search dialog of the sidebar: field on top, the chats below scroll within the dialog. */
.chat-search[b-50dq1lwm34] { position: relative; }
.chat-search .bb-icon[b-50dq1lwm34] { position: absolute; top: 13px; left: 12px; width: 18px; height: 18px; color: var(--text-secondary); pointer-events: none; }
.chat-search input[b-50dq1lwm34] { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--field-border); border-radius: var(--field-radius); background: var(--field-background); color: var(--text-primary); font-family: inherit; font-size: calc(15px * var(--font-scale)); }
.chat-search input[b-50dq1lwm34]::placeholder { color: var(--text-secondary); }
.chat-search input:focus-visible[b-50dq1lwm34] { outline: 3px solid var(--primary); outline-offset: 1px; }

.chat-search-results[b-50dq1lwm34] { display: flex; flex-direction: column; gap: 16px; max-height: min(60dvh, 480px); margin: 16px -8px 0; padding: 0 8px; overflow-y: auto; overscroll-behavior: contain; }
.chat-search-note[b-50dq1lwm34] { margin: 0; padding: 4px; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }
.chat-search-group-label[b-50dq1lwm34] { margin: 0 0 4px; padding: 0 12px; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); font-weight: 600; }
.chat-search-list[b-50dq1lwm34] { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.chat-search-result[b-50dq1lwm34] { display: flex; flex-direction: column; gap: 2px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--card-radius); background: transparent; color: var(--text-primary); font-family: inherit; text-align: left; cursor: pointer; }
.chat-search-result:hover[b-50dq1lwm34] { background: var(--message-background); }
.chat-search-result:focus-visible[b-50dq1lwm34] { outline: 3px solid var(--primary); outline-offset: -3px; }
.chat-search-line[b-50dq1lwm34] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.chat-search-title[b-50dq1lwm34] { min-width: 0; overflow: hidden; font-size: calc(14px * var(--font-scale)); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.chat-search-when[b-50dq1lwm34] { flex: none; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); }
.chat-search-preview[b-50dq1lwm34] { overflow: hidden; color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); text-overflow: ellipsis; white-space: nowrap; }
/* /Modules/Chat/Components/ChatSearchSteps.razor.rz.scp.css */
/* Work steps of the agentic chat (design "Agentische Funktionen im Chat"): a white card with a timeline while the answer
   is written, afterwards a pill above the answer that expands the same timeline. */
.chat-steps-card[b-tf9rb19ca8] { display: flex; flex-direction: column; gap: 12px; margin: 0 0 14px; padding: 12px 14px 0; border: 1px solid var(--field-border); border-radius: var(--card-radius); background: var(--surface); }
.chat-steps-card--list[b-tf9rb19ca8] { margin: 10px 0 14px; }
.chat-steps-head[b-tf9rb19ca8] { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-primary); font-size: calc(14px * var(--font-scale)); font-weight: 700; }
.chat-steps-pulse[b-tf9rb19ca8] { flex: none; box-sizing: border-box; width: 10px; height: 10px; border: 1.5px solid var(--text-primary); border-radius: 50%; background: var(--accent); animation: chat-steps-pulse-b-tf9rb19ca8 1.4s ease-in-out infinite; }
@keyframes chat-steps-pulse-b-tf9rb19ca8 { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.chat-steps-toggle[b-tf9rb19ca8] { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px 6px 8px; border: 1px solid var(--field-border); border-radius: 999px; background: var(--surface); color: var(--text-primary); font-family: inherit; font-size: calc(13px * var(--font-scale)); font-weight: 600; cursor: pointer; }
.chat-steps-toggle:hover[b-tf9rb19ca8] { border-color: var(--composer-border); }
.chat-steps-toggle:focus-visible[b-tf9rb19ca8] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-steps-meta[b-tf9rb19ca8] { color: var(--text-secondary); font-weight: 400; }
.chat-steps-chevron[b-tf9rb19ca8] { width: 16px; height: 16px; transform: rotate(-90deg); }
.chat-steps-chevron--open[b-tf9rb19ca8] { transform: rotate(90deg); }
.chat-steps-done[b-tf9rb19ca8] { margin: 0 0 14px; }
.chat-steps-done .chat-steps-card--list[b-tf9rb19ca8] { margin-bottom: 0; }
.chat-steps-card[hidden][b-tf9rb19ca8] { display: none; }

/* Marks of the pill and of the timeline (ChatStepList), hence ::deep. */
[b-tf9rb19ca8] .chat-step-mark { display: flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
[b-tf9rb19ca8] .chat-step-mark .bb-icon { width: 12px; height: 12px; }
[b-tf9rb19ca8] .chat-step-mark--small { width: 20px; height: 20px; }
[b-tf9rb19ca8] .chat-step-mark--small .bb-icon { width: 11px; height: 11px; }
[b-tf9rb19ca8] .chat-step-mark--notice { border: 1.5px solid var(--notice); background: var(--notice-surface); color: var(--notice); }

@media (prefers-reduced-motion: reduce) {
    .chat-steps-pulse[b-tf9rb19ca8] { animation: none; }
}
/* /Modules/Chat/Components/ChatSources.razor.rz.scp.css */
/* Source list below an answer as cards in two columns (one below 680 px), the number as a chip like the markers in the
   text (spec chat-darstellung.md); an answer without cited excerpts gets a small hint chip instead. */
.chat-sources-label[b-79xzi4002g] { margin: 20px 0 8px; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); font-weight: 600; line-height: 1.25; }
.chat-source[b-79xzi4002g] { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px dashed var(--field-border); border-radius: var(--card-radius); background: var(--surface); color: var(--text-body); font-size: calc(13px * var(--font-scale)); font-weight: 600; line-height: 1.2; }
.chat-source--hint[b-79xzi4002g] { gap: 6px; margin: 12px 0 0; padding: 5px 12px; border-style: solid; border-radius: 999px; color: var(--text-secondary); font-weight: 400; line-height: 1.3; }
.chat-source--hint .bb-icon[b-79xzi4002g] { width: 14px; height: 14px; }
.chat-source-list[b-79xzi4002g] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.chat-source-list > li[b-79xzi4002g] { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; border: 1px solid var(--card-border); border-radius: var(--card-radius); background: var(--surface); }
.chat-source-list > li:hover[b-79xzi4002g] { background: var(--field-background); }
.chat-source--open[b-79xzi4002g] { flex: 1; min-width: 0; gap: 10px; box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: var(--card-radius); background: transparent; color: var(--heading); font-family: inherit; font-size: calc(14px * var(--font-scale)); text-align: left; cursor: pointer; }
.chat-source--open[aria-current="true"][b-79xzi4002g] { box-shadow: inset 0 0 0 2px var(--primary); }
.chat-source--open:focus-visible[b-79xzi4002g] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-source-number[b-79xzi4002g] { flex: none; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box; border-radius: var(--radius-sm); background: var(--message-background); color: var(--primary); font-size: calc(12px * var(--font-scale)); font-weight: 700; }
.chat-source-text[b-79xzi4002g] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-source-list li[hidden][b-79xzi4002g] { display: none; }
.chat-sources-toggle[b-79xzi4002g] { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; margin: 4px 0 0; padding: 0 4px; border: 0; background: none; color: var(--text-secondary); font-family: inherit; font-size: calc(12px * var(--font-scale)); font-weight: 700; text-align: left; cursor: pointer; }
.chat-sources-toggle:hover[b-79xzi4002g] { color: var(--text-primary); }
.chat-sources-toggle:focus-visible[b-79xzi4002g] { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: var(--card-radius); }
/* A source with a publisher link: card and link share the card. */
.chat-source-row .chat-source--open[b-79xzi4002g] { flex: 1; min-width: 0; }

@media (max-width: 680px) {
    .chat-source-list[b-79xzi4002g] { grid-template-columns: minmax(0, 1fr); }
}
/* Hover preview of a marker [n] (design variant B): browser-api.js clones the hidden preview of the card next to the
   marker and places it with --preview-left and --preview-top, so it is never cut off by the scrolling thread. */
.chat-source-preview[b-79xzi4002g] { display: none; }
.chat-source-preview--shown[b-79xzi4002g] { position: fixed; z-index: 60; top: var(--preview-top, 0); left: var(--preview-left, 0); display: flex; flex-direction: column; gap: 10px; box-sizing: border-box; width: min(380px, calc(100vw - 32px)); padding: 16px 18px; border: 1px solid var(--text-primary); border-top: 6px solid var(--accent); border-radius: var(--card-radius); background: var(--surface); color: var(--text-primary); box-shadow: var(--card-shadow); font-family: var(--font-family); pointer-events: auto; }
.chat-source-preview__head[b-79xzi4002g] { display: flex; align-items: flex-start; gap: 10px; }
.chat-source-preview__number[b-79xzi4002g] { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-text); font-size: calc(14px * var(--font-scale)); font-weight: 700; }
.chat-source-preview__titles[b-79xzi4002g] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-source-preview__work[b-79xzi4002g] { color: var(--heading); font-size: calc(16px * var(--font-scale)); font-weight: 700; line-height: 1.3; }
.chat-source-preview__place[b-79xzi4002g] { color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); line-height: 1.3; }
.chat-source-preview__excerpt[b-79xzi4002g] { display: -webkit-box; margin: 0; overflow: hidden; font-size: calc(15px * var(--font-scale)); line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow-wrap: anywhere; }
.chat-source-preview__excerpt mark[b-79xzi4002g] { padding: 0 2px; background: var(--accent); color: var(--accent-text); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.chat-source-preview__hint[b-79xzi4002g] { margin: 0; padding-top: 10px; border-top: 1px solid var(--card-border); color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }

/* /Modules/Chat/Components/ChatStepList.razor.rz.scp.css */
/* Timeline of the work steps of the agentic chat (ChatSearchSteps). */
.chat-steps[b-0ama6j1tfh] { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.chat-step[b-0ama6j1tfh] { display: flex; gap: 10px; }
.chat-step-rail[b-0ama6j1tfh] { display: flex; flex: none; flex-direction: column; align-items: center; width: 22px; }
.chat-step-spinner[b-0ama6j1tfh] { width: 22px; height: 22px; border-color: var(--field-border); border-top-color: var(--primary); }
.chat-step-line[b-0ama6j1tfh] { flex: 1; width: 2px; min-height: 10px; margin: 3px 0; background: var(--field-border); }
.chat-step-body[b-0ama6j1tfh] { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 1px 0 12px; }
.chat-step-title[b-0ama6j1tfh] { color: var(--text-primary); font-size: calc(14px * var(--font-scale)); font-weight: 600; line-height: 20px; }
.chat-step--failed .chat-step-title[b-0ama6j1tfh], .chat-step--cancelled .chat-step-title[b-0ama6j1tfh] { color: var(--notice); }
.chat-step-detail[b-0ama6j1tfh] { color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); line-height: 18px; overflow-wrap: anywhere; }
/* /Modules/Chat/Components/ChatUserMessage.razor.rz.scp.css */
/* Own question: light grey round bubble on the right, so it stands apart from the answers, which have no bubble (spec
   chat-darstellung.md). */
.chat-me[b-kx4lduv9gf] { flex-shrink: 0; align-self: flex-end; max-width: 80%; padding: 12px 16px; border: 0; border-radius: 18px 18px 4px 18px; background: var(--message-background); color: var(--text-primary); font-size: calc(16px * var(--font-scale)); line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }

@media (max-width: 680px) {
    .chat-me[b-kx4lduv9gf] { max-width: 85%; }
}

/* /Modules/Chat/Components/ChatWaitIndicator.razor.rz.scp.css */
/* Wait animations of a streaming answer (design reference "KI-Chat Warteanimationen"), in the brand accent.
   Shapes in the accent get a thin dark edge so light accents stay visible on white. */
.chat-wait[b-ihj6v7z3t9] { display: inline-block; line-height: 1.5; }
.chat-wait-label[b-ihj6v7z3t9] { font-weight: 500; color: var(--text-primary); }
.chat-wait-icon[b-ihj6v7z3t9] { display: inline-flex; align-items: center; justify-content: center; height: 1em; vertical-align: -0.14em; }
.chat-wait--labelled .chat-wait-icon[b-ihj6v7z3t9] { margin-left: 6px; }
.chat-wait--labelled .chat-wait-icon--block[b-ihj6v7z3t9], .chat-wait--labelled .chat-wait-icon--pulse[b-ihj6v7z3t9] { margin-left: 4px; }
.chat-wait-icon--sweep[b-ihj6v7z3t9] { align-items: flex-end; }

.chat-wait-block[b-ihj6v7z3t9], .chat-wait-pulse-dot[b-ihj6v7z3t9], .chat-wait-dots span[b-ihj6v7z3t9], .chat-wait-eq span[b-ihj6v7z3t9], .chat-wait-morph[b-ihj6v7z3t9], .chat-wait-orbit-core[b-ihj6v7z3t9], .chat-wait-orbit-sat[b-ihj6v7z3t9] { box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.35); }

.chat-wait-block[b-ihj6v7z3t9] { display: inline-block; width: .5em; height: 1em; border-radius: .04em; background: var(--accent); animation: chat-wait-blink-b-ihj6v7z3t9 1.1s ease-in-out infinite; }
@keyframes chat-wait-blink-b-ihj6v7z3t9 { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }

.chat-wait-pulse[b-ihj6v7z3t9] { position: relative; display: inline-block; width: 1em; height: 1em; }
.chat-wait-pulse-dot[b-ihj6v7z3t9] { position: absolute; inset: .27em; border-radius: 50%; background: var(--accent); animation: chat-wait-breathe-b-ihj6v7z3t9 1.4s ease-in-out infinite; }
.chat-wait-pulse-ring[b-ihj6v7z3t9] { position: absolute; inset: .27em; box-sizing: border-box; border: .05em solid var(--accent); border-radius: 50%; animation: chat-wait-ripple-b-ihj6v7z3t9 1.4s ease-out infinite; }
@keyframes chat-wait-breathe-b-ihj6v7z3t9 { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1); } }
@keyframes chat-wait-ripple-b-ihj6v7z3t9 { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }

.chat-wait-dots[b-ihj6v7z3t9] { display: inline-flex; align-items: center; gap: .16em; height: 1em; }
.chat-wait-dots span[b-ihj6v7z3t9] { display: block; width: .22em; height: .22em; border-radius: 50%; background: var(--accent); animation: chat-wait-hop-b-ihj6v7z3t9 1.2s ease-in-out infinite; }
.chat-wait-dots span:nth-child(2)[b-ihj6v7z3t9] { animation-delay: .15s; }
.chat-wait-dots span:nth-child(3)[b-ihj6v7z3t9] { animation-delay: .3s; }
@keyframes chat-wait-hop-b-ihj6v7z3t9 { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-.28em); opacity: 1; } }

.chat-wait-eq[b-ihj6v7z3t9] { display: inline-flex; align-items: center; gap: .09em; height: 1em; }
.chat-wait-eq span[b-ihj6v7z3t9] { display: block; width: .12em; height: .9em; border-radius: .06em; background: var(--accent); transform: scaleY(.3); animation: chat-wait-eq-b-ihj6v7z3t9 .9s ease-in-out infinite; }
.chat-wait-eq span:nth-child(1)[b-ihj6v7z3t9] { animation-delay: -.45s; }
.chat-wait-eq span:nth-child(2)[b-ihj6v7z3t9] { animation-delay: -.15s; animation-duration: 1.1s; }
.chat-wait-eq span:nth-child(3)[b-ihj6v7z3t9] { animation-delay: -.6s; }
.chat-wait-eq span:nth-child(4)[b-ihj6v7z3t9] { animation-delay: -.3s; animation-duration: 1.2s; }
@keyframes chat-wait-eq-b-ihj6v7z3t9 { 0%, 100% { transform: scaleY(.28); } 50% { transform: scaleY(1); } }

.chat-wait-arc[b-ihj6v7z3t9] { display: inline-block; box-sizing: border-box; width: .8em; height: .8em; border: .11em solid var(--field-border); border-top-color: var(--accent); border-right-color: var(--accent); border-radius: 50%; animation: chat-wait-spin-b-ihj6v7z3t9 .9s cubic-bezier(.55, .15, .45, .85) infinite; }
@keyframes chat-wait-spin-b-ihj6v7z3t9 { to { transform: rotate(360deg); } }

.chat-wait-sweep[b-ihj6v7z3t9] { position: relative; display: block; overflow: hidden; width: 1.6em; height: .14em; border-radius: .07em; background: var(--field-border); }
.chat-wait-sweep span[b-ihj6v7z3t9] { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: .07em; background: var(--accent); animation: chat-wait-slide-b-ihj6v7z3t9 1.3s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes chat-wait-slide-b-ihj6v7z3t9 { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.chat-wait-morph[b-ihj6v7z3t9] { display: inline-block; width: .6em; height: .6em; border-radius: .06em; background: var(--accent); animation: chat-wait-morph-b-ihj6v7z3t9 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes chat-wait-morph-b-ihj6v7z3t9 { 0% { border-radius: .06em; transform: rotate(0) scale(1); } 50% { border-radius: 50%; transform: rotate(180deg) scale(.72); } 100% { border-radius: .06em; transform: rotate(360deg) scale(1); } }

.chat-wait-orbit[b-ihj6v7z3t9] { position: relative; display: inline-block; width: 1em; height: 1em; }
.chat-wait-orbit-path[b-ihj6v7z3t9] { position: absolute; inset: .1em; border: .03em solid var(--composer-border); border-radius: 50%; }
.chat-wait-orbit-core[b-ihj6v7z3t9] { position: absolute; top: 50%; left: 50%; width: .26em; height: .26em; margin: -.13em 0 0 -.13em; border-radius: 50%; background: var(--accent); animation: chat-wait-core-b-ihj6v7z3t9 1.6s ease-in-out infinite; }
.chat-wait-orbit-arm[b-ihj6v7z3t9] { position: absolute; inset: 0; animation: chat-wait-spin-b-ihj6v7z3t9 1.6s linear infinite; }
.chat-wait-orbit-sat[b-ihj6v7z3t9] { position: absolute; top: .1em; left: 50%; width: .16em; height: .16em; margin: -.08em 0 0 -.08em; border-radius: 50%; background: var(--accent); }
@keyframes chat-wait-core-b-ihj6v7z3t9 { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1.1); } }

.chat-wait-spark[b-ihj6v7z3t9] { position: relative; display: inline-block; width: 1em; height: 1em; }
.chat-wait-spark svg[b-ihj6v7z3t9] { position: absolute; display: block; overflow: visible; animation: chat-wait-twinkle-b-ihj6v7z3t9 1.6s cubic-bezier(.65, 0, .35, 1) infinite; }
.chat-wait-spark path[b-ihj6v7z3t9] { fill: var(--accent); stroke: var(--text-primary); stroke-opacity: .4; stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.chat-wait-spark-a[b-ihj6v7z3t9] { top: .12em; left: .08em; width: .8em; height: .8em; }
.chat-wait-spark .chat-wait-spark-b[b-ihj6v7z3t9] { top: 0; right: 0; width: .32em; height: .32em; animation-delay: -.8s; }
@keyframes chat-wait-twinkle-b-ihj6v7z3t9 { 0%, 100% { transform: scale(.55) rotate(0deg); opacity: .7; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .chat-wait-icon *[b-ihj6v7z3t9] { animation: none !important; }
}
/* /Modules/Chat/Components/ExternalSourceLink.razor.rz.scp.css */
.chat-source-link[b-j6aumlvwan] { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--link); font-size: calc(14px * var(--font-scale)); font-weight: 600; white-space: nowrap; text-decoration: none; }
.chat-source-link:hover[b-j6aumlvwan] { text-decoration: underline; }
.chat-source-link:focus-visible[b-j6aumlvwan] { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.chat-source-link__arrow[b-j6aumlvwan] { margin-left: 2px; }
/* /Modules/Chat/Components/VisualBlock.razor.rz.scp.css */
/* The answer column breaks anywhere; tables keep whole words and scroll sideways on narrow screens instead. */
.vb[b-4vfx25mny9] { margin: 12px 0; padding: 14px; border: 1px solid var(--card-border); border-radius: var(--card-radius); background: var(--surface); overflow-x: auto; overflow-wrap: normal; hyphens: auto; }
.vb-title[b-4vfx25mny9] { margin: 0 0 10px; font-weight: 700; }
.vb-table[b-4vfx25mny9], .vb-taccount[b-4vfx25mny9] { border-collapse: collapse; width: 100%; min-width: 260px; font-size: calc(14px * var(--font-scale)); }
.vb-table--booking[b-4vfx25mny9] { min-width: 480px; }
.vb-table th[b-4vfx25mny9], .vb-table td[b-4vfx25mny9], .vb-taccount td[b-4vfx25mny9] { padding: 4px 8px; text-align: left; vertical-align: top; }
.vb-table thead th[b-4vfx25mny9], .vb-taccount thead th[b-4vfx25mny9] { border-bottom: 2px solid var(--text-primary); font-weight: 700; text-align: left; padding: 4px 8px; }
.vb-table tfoot th[b-4vfx25mny9], .vb-table tfoot td[b-4vfx25mny9] { border-top: 1px solid var(--text-primary); font-weight: 700; }
.vb-num[b-4vfx25mny9] { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vb-indent[b-4vfx25mny9] { padding-left: 20px !important; }
.vb-group th[b-4vfx25mny9] { padding-top: 8px; font-weight: 600; color: var(--text-secondary); }
.vb-sum td[b-4vfx25mny9], .vb-sum th[b-4vfx25mny9] { border-top: 3px double var(--text-primary); font-weight: 700; }
.vb-warning[b-4vfx25mny9] { margin: 8px 0 0; color: var(--error-text); font-size: calc(14px * var(--font-scale)); }
.vb-note[b-4vfx25mny9] { margin: 8px 0 0; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }
.vb-taccounts[b-4vfx25mny9] { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.vb-taccount caption[b-4vfx25mny9] { font-weight: 700; text-align: center; padding-bottom: 4px; }
.vb-taccount thead th:last-child[b-4vfx25mny9], .vb-split[b-4vfx25mny9] { border-left: 2px solid var(--text-primary); }
.vb-balance[b-4vfx25mny9] { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vb-flow[b-4vfx25mny9] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; }
.vb-flow-item[b-4vfx25mny9] { display: flex; flex-direction: column; align-items: center; }
.vb-flow-item + .vb-flow-item[b-4vfx25mny9] { margin-top: 6px; }
.vb-node[b-4vfx25mny9] { position: relative; box-sizing: border-box; width: min(100%, 460px); padding: 10px 14px 10px 40px; border: 2px solid var(--field-border); border-radius: var(--radius-sm); background: var(--surface); font-size: calc(14px * var(--font-scale)); }
.vb-node--start[b-4vfx25mny9], .vb-node--ende[b-4vfx25mny9] { border-radius: 99px; border-color: var(--accent-border); background: var(--accent); color: var(--accent-text); }
.vb-node--frage[b-4vfx25mny9] { border-color: var(--notice-border); background: var(--notice-surface); border-style: dashed; }
.vb-node-number[b-4vfx25mny9] { position: absolute; left: 10px; top: 9px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--text-primary); color: var(--surface); font-size: calc(12px * var(--font-scale)); font-weight: 700; }
.vb-arrow[b-4vfx25mny9] { line-height: 1; padding: 4px 0; font-size: calc(18px * var(--font-scale)); color: var(--text-secondary); }
.vb-links[b-4vfx25mny9] { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: calc(13px * var(--font-scale)); color: var(--text-secondary); }
.vb-links li[b-4vfx25mny9] { padding: 2px 10px; border: 1px solid var(--field-border); border-radius: 99px; }
.vb-link-label[b-4vfx25mny9] { font-weight: 700; color: var(--text-primary); }
/* While a component is being written (#500), totals keep their place but stay empty. */
.vb--partial .vb-table tfoot td.vb-num:empty[b-4vfx25mny9]::before, .vb--partial .vb-sum td.vb-num:empty[b-4vfx25mny9]::before { content: ""; display: inline-block; width: 64px; height: 10px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--divider) 0 6px, transparent 6px 10px); }
/* /Modules/Chat/Components/VisualChart.razor.rz.scp.css */
.vc[b-ps2rm1qb5q] { display: block; width: 100%; min-width: 440px; height: auto; max-width: 720px; }
.vc-grid[b-ps2rm1qb5q] { stroke: var(--divider); stroke-width: 1; }
.vc-axis[b-ps2rm1qb5q] { stroke: var(--text-secondary); stroke-width: 1.5; }
/* SVG text is written as markup (see SvgText) and has no scope attribute. */
.vc[b-ps2rm1qb5q]  .vc-tick { fill: var(--text-secondary); font-size: calc(11px * var(--font-scale)); }
.vc[b-ps2rm1qb5q]  .vc-axis-label { fill: var(--text-secondary); font-size: calc(12px * var(--font-scale)); }
.vc-line[b-ps2rm1qb5q] { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.vc-series-0[b-ps2rm1qb5q] { --vc-color: #2563eb; }
.vc-series-1[b-ps2rm1qb5q] { --vc-color: #d97706; }
.vc-series-2[b-ps2rm1qb5q] { --vc-color: #059669; }
.vc-series-3[b-ps2rm1qb5q] { --vc-color: #db2777; }
.vc-series-4[b-ps2rm1qb5q] { --vc-color: #7c3aed; }
.vc-series-5[b-ps2rm1qb5q] { --vc-color: #4b5563; }
rect[class^="vc-series"][b-ps2rm1qb5q] { fill: var(--vc-color); }
polyline.vc-line[b-ps2rm1qb5q] { stroke: var(--vc-color); }
.vc-legend[b-ps2rm1qb5q] { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: calc(13px * var(--font-scale)); color: var(--text-secondary); }
.vc-swatch[b-ps2rm1qb5q] { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; background: var(--vc-color); vertical-align: -1px; }
.vc-data[b-ps2rm1qb5q] { margin-top: 8px; font-size: calc(13px * var(--font-scale)); }
.vc-data summary[b-ps2rm1qb5q] { cursor: pointer; color: var(--text-secondary); }
.vc-data table[b-ps2rm1qb5q] { border-collapse: collapse; margin: 6px 0; }
.vc-data caption[b-ps2rm1qb5q] { text-align: left; font-weight: 600; }
.vc-data th[b-ps2rm1qb5q], .vc-data td[b-ps2rm1qb5q] { padding: 2px 10px 2px 0; text-align: left; }
/* /Modules/Chat/Components/VisualCheckQuestion.razor.rz.scp.css */
/* Check question (spec chat-darstellung.md): a frame with a primary border, the label as a small heading and the action as
   the primary button. */
.vk[b-zcmcssy8cy] { padding: 16px 18px; border: 1.5px solid var(--primary); border-radius: var(--card-radius); background: var(--surface); }
.vk-label[b-zcmcssy8cy] { margin: 0 0 6px; color: var(--primary); font-size: calc(12px * var(--font-scale)); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vk-question[b-zcmcssy8cy] { margin: 0; font-size: calc(16px * var(--font-scale)); font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.vk-try[b-zcmcssy8cy] { margin-top: 12px; border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.vk-try:hover:not(:disabled)[b-zcmcssy8cy] { background: var(--primary-hover); }
/* /Modules/Chat/Components/VisualChoice.razor.rz.scp.css */
.vq[b-hbypy2xnk3] { min-width: 0; margin: 0; padding: 0; border: 0; }
.vq-question[b-hbypy2xnk3] { padding: 0; font-weight: 600; }
.vq-hint[b-hbypy2xnk3] { margin: 4px 0 10px; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }
.vq-options[b-hbypy2xnk3] { display: flex; flex-direction: column; gap: 8px; }
.vq-option[b-hbypy2xnk3] { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; overflow-wrap: anywhere; }
.vq-option:hover[b-hbypy2xnk3] { border-color: var(--accent-border); }
.vq-option:has(input:focus-visible)[b-hbypy2xnk3] { outline: 3px solid var(--primary); outline-offset: 2px; }
.vq-option--selected[b-hbypy2xnk3] { border-color: var(--accent-border); background: var(--notice-surface); }
.vq-option input[b-hbypy2xnk3] { flex-shrink: 0; margin: 3px 0 0; accent-color: var(--primary); }
.vq-letter[b-hbypy2xnk3] { flex-shrink: 0; font-weight: 700; }
.vq-text[b-hbypy2xnk3] { flex: 1; }
.vq[disabled] .vq-option[b-hbypy2xnk3] { cursor: default; }
.vq[disabled] .vq-option:not(.vq-option--selected)[b-hbypy2xnk3] { color: var(--text-secondary); }
.vq[disabled] .vq-option:hover:not(.vq-option--selected)[b-hbypy2xnk3] { border-color: var(--field-border); }
.vq-send[b-hbypy2xnk3] { margin-top: 12px; }
.vq-send:focus-visible[b-hbypy2xnk3] { outline: 3px solid var(--primary); outline-offset: 2px; }
.vq-sent[b-hbypy2xnk3] { margin: 10px 0 0; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }
/* /Modules/Chat/Components/VisualDepreciation.razor.rz.scp.css */
/* Two inputs per row on phones, all four in one row from about 700 px of answer width. */
.vd-inputs[b-0omrg65mu4] { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 16px; margin-bottom: 12px; }
/* Label, control and error share rows across the fields (subgrid), so the controls line up when a label wraps. */
.vd-field[b-0omrg65mu4] { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 4px; min-width: 0; }
.vd-field label[b-0omrg65mu4] { align-self: end; font-size: calc(14px * var(--font-scale)); font-weight: 600; }
.vd-field .bb-field[b-0omrg65mu4], .vd-range[b-0omrg65mu4] { align-self: center; }
.vd-value[b-0omrg65mu4] { font-weight: 700; }
.vd-range[b-0omrg65mu4] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.vd-range:focus-visible[b-0omrg65mu4] { outline: 3px solid var(--primary); outline-offset: 2px; }
.vd-field .bb-field[aria-invalid="true"][b-0omrg65mu4] { border-color: var(--error); }
.vd-error[b-0omrg65mu4] { margin: 0; color: var(--error-text); font-size: calc(14px * var(--font-scale)); }
.vd-summary[b-0omrg65mu4] { margin: 0 0 8px; }
.vd-plan caption[b-0omrg65mu4] { text-align: left; font-weight: 700; padding-bottom: 4px; }
/* Like the tables of VisualBlock (scoped CSS does not reach into this component). */
.vd-plan[b-0omrg65mu4] { border-collapse: collapse; width: 100%; min-width: 260px; font-size: calc(14px * var(--font-scale)); }
.vd-plan th[b-0omrg65mu4], .vd-plan td[b-0omrg65mu4] { padding: 4px 6px; text-align: left; vertical-align: top; }
/* Headers may wrap so the four columns fit into the answer at 390 px without scrolling. */
.vd-plan thead th[b-0omrg65mu4] { border-bottom: 2px solid var(--text-primary); font-weight: 700; vertical-align: bottom; white-space: normal; }
.vd-plan tbody th[b-0omrg65mu4] { font-weight: 400; }
.vd-plan tfoot th[b-0omrg65mu4], .vd-plan tfoot td[b-0omrg65mu4] { border-top: 3px double var(--text-primary); font-weight: 700; }
.vd-num[b-0omrg65mu4] { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vd-note[b-0omrg65mu4] { margin: 8px 0 0; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }
/* /Modules/Chat/Pages/Chat.razor.rz.scp.css */
.chat-page[b-rye68ebmos] { width: 100%; }

/* Full-height column without a card (design reference "KI-Chat – Desktop"): title on top, the thread scrolls and the
   composer stays at the bottom. From 1024 px the panel fills the area right of the sidebar and below the top bar (MainLayout). */
.chat-panel[b-rye68ebmos] { display: flex; flex-direction: column; box-sizing: border-box; height: 100dvh; min-height: 480px; }
.chat-body[b-rye68ebmos] { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* From 1024 px the chat title stands left in a bar with a divider (spec chat-darstellung.md). */
.chat-panel-head[b-rye68ebmos] { flex: none; display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 12px 24px; border-bottom: 1px solid var(--divider); }
.chat-panel-head h1[b-rye68ebmos] { margin: 0; font-size: calc(18px * var(--font-scale)); font-weight: 700; }
.chat-title[b-rye68ebmos] { min-width: 0; margin: 0; overflow: hidden; color: var(--text-primary); font-size: calc(16px * var(--font-scale)); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
/* Icon button of the slim bar below 1024 px: "Neuer Chat", 44 px touch targets without a frame. */
.chat-round[b-rye68ebmos] { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-primary); cursor: pointer; }
.chat-round .bb-icon[b-rye68ebmos] { width: 22px; height: 22px; }
.chat-round:hover:not(:disabled)[b-rye68ebmos] { background: var(--message-background); }
.chat-round:disabled[b-rye68ebmos] { cursor: default; opacity: .4; }
.chat-round:focus-visible[b-rye68ebmos] { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Reading column of at most 768 px including its padding, centered. */
.chat-thread[b-rye68ebmos] { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 28px; box-sizing: border-box; width: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 24px max(24px, calc((100% - 720px) / 2)) 32px; }
/* Message components set flex-shrink themselves; the empty state centers itself with auto margins. */
.chat-thread--empty[b-rye68ebmos] { align-items: center; }

.chat-panel--static[b-rye68ebmos] { height: auto; min-height: 0; }
.chat-panel--static .chat-body[b-rye68ebmos] { flex: none; }
.chat-state[b-rye68ebmos] { margin: 0; padding: 32px 24px; }
.chat-unavailable[b-rye68ebmos] { box-sizing: border-box; width: min(640px, 100%); margin: 24px auto; border: 1px solid var(--card-border); border-radius: var(--card-radius); background: var(--surface); text-align: center; }
.chat-unavailable h2[b-rye68ebmos] { margin: 0 0 8px; font-size: calc(20px * var(--font-scale)); }
.chat-unavailable p[b-rye68ebmos] { margin: 0 0 16px; color: var(--text-secondary); }

/* The page name is the active entry of the top navigation and "Neuer Chat" is in the sidebar: the header keeps the h1 for
   screen readers only. */
@media (min-width: 1024px) {
    .chat-page[b-rye68ebmos] { display: flex; flex-direction: column; min-height: 0; }
    .chat-panel[b-rye68ebmos] { flex: 1; height: auto; min-height: 0; }
    .chat-panel:not(.chat-panel--static) .chat-panel-head h1[b-rye68ebmos] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .chat-round[b-rye68ebmos] { display: none; }
}

/* Below 1024 px the chat has neither top bar nor sidebar (MainLayout) and fills the display, so the answer gets the room: a
   slim bar on top (menu button, chat title above the page name, centered as in common chat apps, and "Neuer Chat") and the
   composer at the bottom. The panel is fixed to the visible area (--bb-visible-top and --bb-visible-height, browser-api.js)
   minus the home indicator (--chat-bottom-inset, app.css; 0 while the keyboard is open), so an iOS keyboard neither covers
   the composer nor pushes the slim bar out of view when Safari pans to the input field. */
@media (max-width: 1023.98px) {
    .chat-panel[b-rye68ebmos] { position: fixed; top: var(--bb-visible-top, 0px); right: env(safe-area-inset-right); left: env(safe-area-inset-left); height: calc(var(--bb-visible-height, 100dvh) - var(--chat-bottom-inset, 0px)); min-height: 0; }
    .chat-panel--static[b-rye68ebmos] { position: static; height: auto; min-height: 100dvh; padding-bottom: var(--chat-bottom-inset, 0px); }
    .chat-panel-head[b-rye68ebmos] { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "menu title new" "menu name new"; align-content: center; align-items: center; gap: 0 4px; box-sizing: border-box; min-height: 56px; padding: max(6px, var(--top-inset, env(safe-area-inset-top))) max(6px, env(safe-area-inset-right)) 6px max(6px, env(safe-area-inset-left)); border-bottom: 1px solid var(--card-border); text-align: center; }
    .chat-menu[b-rye68ebmos] { grid-area: menu; }
    .chat-new[b-rye68ebmos] { grid-area: new; }
    .chat-title[b-rye68ebmos] { grid-area: title; align-self: end; font-size: calc(15px * var(--font-scale)); font-weight: 700; line-height: 1.3; }
    .chat-panel-head h1[b-rye68ebmos] { grid-area: name; align-self: start; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); font-weight: 400; line-height: 1.3; }
}

@media (max-width: 680px) {
    .chat-thread[b-rye68ebmos] { padding: 16px; gap: 24px; }
}

/* Source panel (design variant A): the sources of one answer next to the thread. From 1024 px the page becomes a row and
   the thread narrows; below it the panel covers the chat like the slim bar's full-screen views. */
.chat-source-panel[b-rye68ebmos] { display: flex; flex-direction: column; box-sizing: border-box; min-height: 0; background: var(--surface); color: var(--text-primary); }
.chat-source-panel-head[b-rye68ebmos] { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--card-border); }
.chat-source-panel-head h2[b-rye68ebmos] { display: flex; align-items: center; gap: 10px; margin: 0; font-size: calc(20px * var(--font-scale)); font-weight: 700; line-height: 1.25; }
.chat-source-panel-head h2[b-rye68ebmos]::before { content: ""; flex: none; width: 6px; height: 24px; border-radius: 3px; background: var(--accent); }
.chat-source-panel-head h2:focus[b-rye68ebmos] { outline: none; }
.chat-source-panel-head h2:focus-visible[b-rye68ebmos] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-source-panel-tools[b-rye68ebmos] { display: flex; gap: 4px; }
.chat-source-panel-tool[b-rye68ebmos] { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--card-border); border-radius: 50%; background: var(--surface); color: var(--text-primary); cursor: pointer; }
.chat-source-panel-tool:last-child[b-rye68ebmos] { border-color: transparent; background: transparent; }
.chat-source-panel-tool:hover[b-rye68ebmos] { background: var(--message-background); }
.chat-source-panel-tool:focus-visible[b-rye68ebmos] { outline: 3px solid var(--primary); outline-offset: 2px; }
.chat-source-panel-body[b-rye68ebmos] { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 24px; padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.chat-source-panel-section[b-rye68ebmos] { display: flex; flex-direction: column; gap: 8px; }
.chat-source-panel-label[b-rye68ebmos] { margin: 0; color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.chat-source-panel-work[b-rye68ebmos] { margin: 0; color: var(--heading); font-size: calc(19px * var(--font-scale)); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.chat-source-panel-place[b-rye68ebmos] { margin: 0; color: var(--text-secondary); font-size: calc(16px * var(--font-scale)); line-height: 1.4; overflow-wrap: anywhere; }
.chat-source-panel-pages[b-rye68ebmos] { align-self: flex-start; margin: 4px 0 0; padding: 4px 10px; border-radius: var(--radius-sm); background: var(--primary); color: var(--on-primary); font-size: calc(14px * var(--font-scale)); font-weight: 700; }
.chat-source-panel-excerpt[b-rye68ebmos] { margin: 0; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 0 var(--field-radius) var(--field-radius) 0; background: var(--message-background); color: var(--text-primary); font-size: calc(16px * var(--font-scale)); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.chat-source-panel-note[b-rye68ebmos] { margin: 0; color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); line-height: 1.4; }
.chat-source-panel-actions[b-rye68ebmos] { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-source-panel-actions .bb-icon[b-rye68ebmos] { width: 16px; height: 16px; }
.chat-source-panel-all[b-rye68ebmos] { padding-top: 16px; border-top: 1px solid var(--card-border); }
.chat-source-panel-list[b-rye68ebmos] { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.chat-source-panel-item[b-rye68ebmos] { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 56px; padding: 8px 12px; border: 0; border-left: 4px solid transparent; background: none; color: var(--text-primary); font-family: inherit; text-align: left; cursor: pointer; }
.chat-source-panel-item:hover[b-rye68ebmos] { background: var(--divider); }
.chat-source-panel-item[aria-current="true"][b-rye68ebmos] { border-left-color: var(--primary); background: var(--message-background); }
.chat-source-panel-item:focus-visible[b-rye68ebmos] { outline: 3px solid var(--primary); outline-offset: -3px; }
.chat-source-panel-number[b-rye68ebmos] { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-text); font-size: calc(15px * var(--font-scale)); font-weight: 700; }
.chat-source-panel-item-text[b-rye68ebmos] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-source-panel-item-title[b-rye68ebmos] { font-size: calc(15px * var(--font-scale)); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.chat-source-panel-item-pages[b-rye68ebmos] { color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); }

@media (min-width: 1024px) {
    .chat-page--sources[b-rye68ebmos] { flex-direction: row; }
    .chat-page--sources .chat-panel[b-rye68ebmos] { min-width: 0; }
    .chat-source-panel[b-rye68ebmos] { flex: none; width: clamp(360px, 34%, 480px); border-left: 1px solid var(--card-border); }
}

@media (max-width: 1023.98px) {
    /* The covered chat is hidden, so neither Tab nor a screen reader reaches it behind the panel. */
    .chat-page--sources .chat-panel[b-rye68ebmos] { visibility: hidden; }
    .chat-source-panel[b-rye68ebmos] { position: fixed; z-index: 20; top: var(--bb-visible-top, 0px); right: 0; left: 0; height: var(--bb-visible-height, 100dvh); padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
    .chat-source-panel-body[b-rye68ebmos] { padding: 20px 16px; }
    .chat-source-panel-head[b-rye68ebmos] { padding-left: 16px; }
}
/* /Modules/ContentImport/ChunkCard.razor.rz.scp.css */
.chunk-card[b-l0poikfz5n] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.chunk-card p[b-l0poikfz5n] {
    margin: 0;
}

.chunk-card__meta[b-l0poikfz5n] {
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
    line-height: 1.7;
}

.chunk-card__meta .bb-status[b-l0poikfz5n] {
    margin-right: 8px;
}

.chunk-card__number[b-l0poikfz5n] {
    color: var(--text-primary);
}

.chunk-card__context[b-l0poikfz5n] {
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
    overflow-wrap: anywhere;
}

.chunk-card__overlap[b-l0poikfz5n] {
    padding-left: 0.75rem;
    border-left: 3px solid var(--divider);
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chunk-card__label[b-l0poikfz5n] {
    font-weight: 600;
}

/* Text of the stored version of a changed chunk; the strike-through plus the hidden "Bisher:" carry the meaning. */
.chunk-card__previous[b-l0poikfz5n] {
    color: var(--error-text);
    font-size: calc(14px * var(--font-scale));
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chunk-card__text[b-l0poikfz5n] {
    color: var(--text-primary);
    font-size: calc(15px * var(--font-scale));
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chunk-card__hint[b-l0poikfz5n] {
    color: var(--notice);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}
/* /Modules/ContentImport/Pages/AdminContentDocument.razor.rz.scp.css */
.document-topbar[b-5bq9rosujq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 12px;
}

/* The breadcrumb shrinks first; its last item ends in an ellipsis instead of wrapping. */
.document-topbar[b-5bq9rosujq] >  .breadcrumb {
    flex: 1 1 20rem;
    min-width: 0;
}

.document-topbar[b-5bq9rosujq] >  .breadcrumb ol {
    margin: 0;
}

.document-topbar__actions[b-5bq9rosujq] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.document-header[b-5bq9rosujq] {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

/* Compact page title: at most two lines, the full title stays in the title attribute. */
.document-title[b-5bq9rosujq] {
    display: -webkit-box;
    max-width: 65rem;
    margin: 0;
    overflow: hidden;
    color: var(--text-primary);
    font-size: calc(28px * var(--font-scale));
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.document-facts[b-5bq9rosujq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.document-muted[b-5bq9rosujq] {
    color: var(--text-secondary);
}

.document-retry[b-5bq9rosujq] {
    margin-top: 12px;
}

/* The chat uses chunks of an older version (or none yet): an amber notice above the content. */
.document-notice[b-5bq9rosujq] {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid var(--notice-border);
    border-radius: var(--card-radius);
    background: var(--notice-surface);
    color: var(--notice);
    font-weight: 600;
}

.document-card-head[b-5bq9rosujq] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 16px;
}

.document-card-head h2[b-5bq9rosujq],
.document-aside h2[b-5bq9rosujq] {
    margin: 0;
    font-size: calc(20px * var(--font-scale));
}

.document-aside h2:focus[b-5bq9rosujq] {
    outline: none;
}

.document-card-sub[b-5bq9rosujq] {
    color: var(--text-secondary);
    font-size: calc(15px * var(--font-scale));
    font-weight: 400;
}

.document-search[b-5bq9rosujq] {
    display: grid;
    flex: 0 1 24rem;
    gap: 4px;
    min-width: 0;
}

.document-search label[b-5bq9rosujq] {
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

.document-search__row[b-5bq9rosujq] {
    display: flex;
    gap: 8px;
}

.document-search__row .bb-field[b-5bq9rosujq] {
    flex: 1;
}

.document-chips[b-5bq9rosujq] {
    margin-bottom: 16px;
}

.document-chunks__body[b-5bq9rosujq] {
    display: grid;
    gap: 16px;
    border-top: 1px solid var(--divider);
    padding-top: 8px;
}

/* Wide main column: the outline sits left of the chunks. */
@media (min-width: 1280px) {
    .document-chunks__body--outline[b-5bq9rosujq] {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }
}

.document-chunk-list[b-5bq9rosujq] {
    min-width: 0;
}

.document-outline__title[b-5bq9rosujq] {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.document-outline__list[b-5bq9rosujq] {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Below 1280 px the outline is a compact scrollable box above the chunks. */
@media (max-width: 1279.98px) {
    .document-outline__list[b-5bq9rosujq] {
        max-height: 14rem;
        overflow-y: auto;
    }
}

.document-outline__entry[b-5bq9rosujq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    font: 600 calc(14px * var(--font-scale))/1.35 var(--font-family);
    text-align: left;
    cursor: pointer;
}

.document-outline__entry:hover[b-5bq9rosujq] {
    background: var(--field-background);
}

.document-outline__entry[aria-pressed="true"][b-5bq9rosujq] {
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 800;
}

.document-outline__entry:focus-visible[b-5bq9rosujq] {
    outline: 3px solid var(--accent-border);
    outline-offset: 1px;
}

.document-outline__entry > span:first-child[b-5bq9rosujq] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.document-outline__count[b-5bq9rosujq] {
    flex: none;
    font-weight: 400;
}

.document-empty[b-5bq9rosujq] {
    margin: 16px 0 0;
    color: var(--text-body);
}

.document-more[b-5bq9rosujq] {
    margin-top: 12px;
}

.document-count[b-5bq9rosujq] {
    margin: 12px 0 0;
}

.document-count:empty[b-5bq9rosujq],
.document-refresh:empty[b-5bq9rosujq] {
    display: none;
}

.document-refresh[b-5bq9rosujq] {
    margin: 4px 0 0;
}

.document-details[b-5bq9rosujq] {
    display: grid;
    grid-template-columns: minmax(6rem, 40%) minmax(0, 1fr);
    gap: 8px 16px;
    margin: 16px 0 0;
    font-size: calc(14px * var(--font-scale));
}

.document-details dt[b-5bq9rosujq] {
    color: var(--text-secondary);
}

.document-details dd[b-5bq9rosujq] {
    margin: 0;
    overflow-wrap: anywhere;
}

.document-jobs[b-5bq9rosujq] {
    margin-top: 8px;
}

.document-jobs p[b-5bq9rosujq] {
    margin: 0;
}

.document-job__head[b-5bq9rosujq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.document-jobs .document-job__meta[b-5bq9rosujq] {
    margin-top: 4px;
}

.document-job__retry[b-5bq9rosujq] {
    min-height: 44px;
    margin-top: 10px;
    font-size: calc(14px * var(--font-scale));
}

@media (max-width: 480px) {
    .document-details[b-5bq9rosujq] {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .document-details dd[b-5bq9rosujq] {
        margin-bottom: 8px;
    }
}

.document-delete[b-5bq9rosujq] {
    color: var(--error-text);
}

.document-delete-list[b-5bq9rosujq] {
    margin: 0 0 16px;
    padding-left: 20px;
}

.document-delete-list li + li[b-5bq9rosujq] {
    margin-top: 8px;
}

.document-deleted p:first-child[b-5bq9rosujq] {
    font-weight: 600;
}

/* Link to the publisher's page of the document's work (#554). */
.document-work-link[b-5bq9rosujq] {
    display: grid;
    gap: 8px;
}

.document-work-link label[b-5bq9rosujq] {
    font-weight: 700;
}

.document-work-link__hint[b-5bq9rosujq] {
    margin: 0 0 12px;
}

.document-work-link__actions[b-5bq9rosujq] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.document-work-link__current[b-5bq9rosujq] {
    margin: 12px 0 0;
    overflow-wrap: anywhere;
}

.document-field-error[b-5bq9rosujq] {
    margin: 0;
    color: var(--error-text);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}
/* /Modules/ContentImport/Pages/AdminContentImport.razor.rz.scp.css */
.content-lead[b-f7fmqr8jd4] {
    max-width: 62ch;
    margin: 0 0 24px;
    color: var(--text-body);
}

/* Three steps; the current one has a dark border and aria-current="step", done steps a check mark. */
.import-steps[b-f7fmqr8jd4] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.import-step[b-f7fmqr8jd4] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--surface);
}

.import-step--current[b-f7fmqr8jd4] {
    border: 2px solid var(--text-primary);
}

.import-step__mark[b-f7fmqr8jd4] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid var(--field-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-weight: 800;
}

.import-step--current .import-step__mark[b-f7fmqr8jd4] {
    border-color: var(--accent-border);
    background: var(--accent);
    color: var(--accent-text);
}

.import-step--done .import-step__mark[b-f7fmqr8jd4] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--on-primary);
}

.import-step__text[b-f7fmqr8jd4] {
    display: grid;
    min-width: 0;
}

.import-step__text strong[b-f7fmqr8jd4] {
    font-size: calc(15px * var(--font-scale));
}

/* Small screens: the steps form a compact list. */
@media (max-width: 767.98px) {
    .import-steps[b-f7fmqr8jd4] {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .import-step[b-f7fmqr8jd4] {
        padding: 8px 12px;
    }
}

.import-main[b-f7fmqr8jd4] {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.import-card h2[b-f7fmqr8jd4] {
    margin: 0 0 12px;
    font-size: calc(20px * var(--font-scale));
}

.import-card__head[b-f7fmqr8jd4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.import-card__head h2[b-f7fmqr8jd4] {
    margin: 0;
}

/* File field: label, the picker box with the selection and the submit button in one row; they stack on small screens. */
.content-form[b-f7fmqr8jd4] {
    display: grid;
    /* minmax(0, …): the flex basis of the picker must not widen the card on small screens. */
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.import-file-label[b-f7fmqr8jd4] {
    font-weight: 700;
}

.import-file-row[b-f7fmqr8jd4] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

/* The box of the visually hidden file input: shows the selection and the focus of the input. */
.import-picker[b-f7fmqr8jd4] {
    position: relative;
    display: flex;
    flex: 1 1 20rem;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 56px;
    padding: 4px 6px 4px 14px;
    border: 2px solid var(--text-primary);
    border-radius: var(--field-radius);
    background: var(--field-background);
}

.import-picker:focus-within[b-f7fmqr8jd4] {
    box-shadow: var(--accent-focus-shadow);
}

.import-picker--invalid[b-f7fmqr8jd4] {
    border-color: var(--error);
}

.import-picker--invalid:focus-within[b-f7fmqr8jd4] {
    box-shadow: var(--error-focus-shadow);
}

.import-picker__choose[b-f7fmqr8jd4] {
    flex: none;
    min-height: 44px;
    box-sizing: border-box;
    padding: 8px 14px;
    border-color: var(--text-primary);
    background: var(--surface);
}

.import-picker:has(.import-picker__choose)[b-f7fmqr8jd4] {
    padding-left: 6px;
}

.import-picker__empty[b-f7fmqr8jd4] {
    min-width: 0;
    overflow: hidden;
    color: var(--text-secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.import-picker__name[b-f7fmqr8jd4] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.import-picker__size[b-f7fmqr8jd4] {
    flex: none;
    margin-right: auto;
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
}

.import-picker__size--invalid[b-f7fmqr8jd4] {
    color: var(--error-text);
    font-weight: 600;
}

.import-picker__remove[b-f7fmqr8jd4] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.import-picker__remove:hover[b-f7fmqr8jd4] {
    background: var(--divider);
}

.import-picker__remove:focus-visible[b-f7fmqr8jd4] {
    outline: 3px solid var(--accent-border);
    outline-offset: 1px;
}

.import-file-submit[b-f7fmqr8jd4] {
    flex: none;
    min-height: 56px;
}

.import-file-submit[aria-busy="true"][b-f7fmqr8jd4] {
    cursor: progress;
}

.import-busy[b-f7fmqr8jd4] {
    margin: 0;
    color: var(--text-secondary);
}

.import-busy:empty[b-f7fmqr8jd4] {
    display: none;
}

/* Problem at the field: icon and text in the error color, linked to the input via aria-describedby. */
.import-field-error[b-f7fmqr8jd4] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 0;
    color: var(--error-text);
    font-weight: 600;
}

.import-field-error .bb-icon[b-f7fmqr8jd4],
.import-problem > .bb-icon[b-f7fmqr8jd4] {
    margin-top: 1px;
}

/* Problem with the file content (--error) or a temporary failure with retry (neutral): title, hint and details. */
.import-problem[b-f7fmqr8jd4] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--field-border);
    border-radius: var(--card-radius);
    background: var(--field-background);
}

.import-problem--error[b-f7fmqr8jd4] {
    border-color: rgba(var(--error-rgb), 0.35);
    background: var(--error-surface);
}

.import-problem--error > .bb-icon[b-f7fmqr8jd4] {
    color: var(--error-text);
}

.import-problem__text[b-f7fmqr8jd4] {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--text-body);
    font-size: calc(14px * var(--font-scale));
}

.import-problem__text strong[b-f7fmqr8jd4] {
    color: var(--text-primary);
    font-size: calc(15px * var(--font-scale));
}

.import-problem__details summary[b-f7fmqr8jd4] {
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
}

.import-problem__details code[b-f7fmqr8jd4] {
    display: block;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(var(--error-rgb), 0.35);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: calc(13px * var(--font-scale));
    overflow-wrap: anywhere;
}

.import-problem__actions[b-f7fmqr8jd4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 4px;
}

.import-problem__actions .bb-btn-secondary[b-f7fmqr8jd4] {
    min-height: 44px;
    border-color: var(--text-primary);
    background: var(--surface);
}

.import-problem__id[b-f7fmqr8jd4] {
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

@media (max-width: 767.98px) {
    .import-file-submit[b-f7fmqr8jd4] {
        flex: 1 1 100%;
    }
}

.content-error[b-f7fmqr8jd4] {
    margin-top: 1rem;
}

.content-retry[b-f7fmqr8jd4] {
    margin-top: 0.75rem;
}

/* Comparison with the stored version: amber notice surface with four counts. */
.import-compare[b-f7fmqr8jd4] {
    padding: 20px;
    border: 1px solid var(--notice-border);
    border-radius: var(--card-radius);
    background: var(--notice-surface);
}

.import-compare h2[b-f7fmqr8jd4] {
    margin: 0 0 8px;
    font-size: calc(18px * var(--font-scale));
    overflow-wrap: anywhere;
}

.import-compare > p[b-f7fmqr8jd4] {
    margin: 0 0 12px;
}

.import-compare a[b-f7fmqr8jd4] {
    color: var(--text-primary);
}

.import-compare__tiles[b-f7fmqr8jd4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.import-compare__tiles > li[b-f7fmqr8jd4] {
    display: flex;
}

@media (max-width: 700px) {
    .import-compare__tiles[b-f7fmqr8jd4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.import-new[b-f7fmqr8jd4] {
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--info-border);
    border-radius: var(--card-radius);
    background: var(--info-surface);
    color: var(--text-primary);
}

/* The whole label is the target (at least 44 px high). */
.import-toggle[b-f7fmqr8jd4] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 600;
    cursor: pointer;
}

.import-toggle input[b-f7fmqr8jd4] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--primary);
}

.import-toggle input:focus-visible[b-f7fmqr8jd4] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.import-count[b-f7fmqr8jd4] {
    margin: 8px 0 0;
}

.import-empty[b-f7fmqr8jd4] {
    margin: 16px 0 0;
    color: var(--text-body);
}

.import-removed-title[b-f7fmqr8jd4] {
    margin: 24px 0 0;
    font-size: calc(16px * var(--font-scale));
}

.content-summary[b-f7fmqr8jd4] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px 16px;
    margin: 0;
    font-size: calc(14px * var(--font-scale));
}

.content-summary dt[b-f7fmqr8jd4] {
    color: var(--text-secondary);
}

.content-summary dd[b-f7fmqr8jd4] {
    margin: 0;
    overflow-wrap: anywhere;
}

.content-note[b-f7fmqr8jd4] {
    margin: 0 0 12px;
    color: var(--notice);
    font-weight: 600;
}

.content-list[b-f7fmqr8jd4] {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    font-size: calc(14px * var(--font-scale));
}

.import-card h3[b-f7fmqr8jd4] {
    margin: 12px 0 8px;
    font-size: calc(16px * var(--font-scale));
}

.content-import[b-f7fmqr8jd4] {
    border: 2px solid var(--text-primary);
}

.import-actions[b-f7fmqr8jd4] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.content-import-status:empty[b-f7fmqr8jd4] {
    display: none;
}

.content-import-status[b-f7fmqr8jd4] {
    margin: 0.75rem 0 0;
    font-weight: 600;
}
/* /Modules/ContentImport/Pages/AdminContentLibrary.razor.rz.scp.css */
.content-header[b-7y5arwi6bd] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 24px;
}

.content-header__text[b-7y5arwi6bd] {
    flex: 1 1 32rem;
    min-width: 0;
}

.content-header .bb-headline[b-7y5arwi6bd] {
    margin-bottom: 12px;
}

.content-lead[b-7y5arwi6bd] {
    max-width: 62ch;
    margin: 0;
    color: var(--text-body);
}

.content-header__actions[b-7y5arwi6bd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.content-format[b-7y5arwi6bd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--field-border);
    border-radius: 999px;
    background: var(--surface);
    font-size: calc(13px * var(--font-scale));
}

.content-muted[b-7y5arwi6bd] {
    color: var(--text-secondary);
}

.content-retry[b-7y5arwi6bd] {
    margin-top: 12px;
}

.content-tiles[b-7y5arwi6bd] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.content-tiles > li[b-7y5arwi6bd] {
    display: flex;
}

/* Two columns on small screens, so 375 px shows a 2x2 grid. */
@media (max-width: 700px) {
    .content-tiles[b-7y5arwi6bd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.content-card + .content-card[b-7y5arwi6bd] {
    margin-top: 20px;
}

.content-card__head[b-7y5arwi6bd] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 16px;
}

.content-card__head h2[b-7y5arwi6bd] {
    margin: 0;
    font-size: calc(20px * var(--font-scale));
}

.content-card__head h2:focus[b-7y5arwi6bd] {
    outline: none;
}

.content-search[b-7y5arwi6bd] {
    display: grid;
    flex: 0 1 22rem;
    gap: 4px;
    min-width: 0;
}

.content-search label[b-7y5arwi6bd] {
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

.content-search__row[b-7y5arwi6bd] {
    display: flex;
    gap: 8px;
}

.content-search__row .bb-field[b-7y5arwi6bd] {
    flex: 1;
    min-width: 0;
}

.content-chips[b-7y5arwi6bd] {
    margin-bottom: 12px;
}

.content-empty[b-7y5arwi6bd] {
    margin: 16px 0 0;
    color: var(--text-body);
}

/* position: relative keeps the absolutely positioned screen-reader texts of the cells inside the scroll box; otherwise
   they would widen the page on small screens. */
.content-table-wrap[b-7y5arwi6bd] {
    position: relative;
    overflow-x: auto;
    border-top: 1px solid var(--divider);
}

.content-table-wrap:focus-visible[b-7y5arwi6bd] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.content-table[b-7y5arwi6bd] {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: calc(14px * var(--font-scale));
}

.content-table th[b-7y5arwi6bd] {
    padding: 12px 10px;
    border-bottom: 1px solid var(--divider);
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.content-table td[b-7y5arwi6bd] {
    padding: 14px 10px;
    border-bottom: 1px solid var(--divider);
    vertical-align: middle;
}

.content-table tr:last-child td[b-7y5arwi6bd] {
    border-bottom: 0;
}

.content-table th:first-child[b-7y5arwi6bd],
.content-table td:first-child[b-7y5arwi6bd] {
    padding-left: 0;
}

.content-doc-link[b-7y5arwi6bd] {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
}

.content-doc-link:hover[b-7y5arwi6bd] {
    text-decoration: underline;
}

.content-cell-sub[b-7y5arwi6bd] {
    display: block;
    margin-top: 4px;
}

.content-nowrap[b-7y5arwi6bd],
.content-work[b-7y5arwi6bd] {
    white-space: nowrap;
}

.content-open[b-7y5arwi6bd] {
    min-height: 44px;
    padding: 8px 16px;
    font-size: calc(14px * var(--font-scale));
    white-space: nowrap;
}

.content-count[b-7y5arwi6bd] {
    margin: 12px 0 0;
}

.content-refresh[b-7y5arwi6bd] {
    margin: 0;
}

.content-refresh:empty[b-7y5arwi6bd] {
    display: none;
}

.content-jobs[b-7y5arwi6bd] {
    border-top: 1px solid var(--divider);
}

.content-job[b-7y5arwi6bd] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px 16px;
}

.content-job__text[b-7y5arwi6bd] {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.content-job__text a[b-7y5arwi6bd] {
    color: var(--text-primary);
}

.content-job__text .bb-meta[b-7y5arwi6bd] {
    font-weight: 400;
}

.content-job__retry[b-7y5arwi6bd] {
    min-height: 44px;
    font-size: calc(14px * var(--font-scale));
}

.content-job__time[b-7y5arwi6bd] {
    white-space: nowrap;
}

/* Small screens: badge and time above, text and retry below. */
@media (max-width: 767.98px) {
    .content-job[b-7y5arwi6bd] {
        grid-template-columns: auto 1fr;
    }

    .content-job__text[b-7y5arwi6bd] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .content-job__time[b-7y5arwi6bd] {
        grid-row: 1;
        grid-column: 2;
        justify-self: end;
    }

    .content-job__retry[b-7y5arwi6bd] {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .content-search[b-7y5arwi6bd] {
        flex-basis: 100%;
    }
}
/* /Modules/ContentImport/Pages/AdminContentRetrievalTest.razor.rz.scp.css */
.retrieval-lead[b-1gyjnoaqo6] {
    max-width: 62ch;
    margin: 0 0 8px;
    color: var(--text-body);
}

.retrieval-cost[b-1gyjnoaqo6] {
    max-width: 62ch;
    margin: 0 0 24px;
}

.retrieval-form[b-1gyjnoaqo6] {
    display: grid;
    gap: 8px;
}

.retrieval-form label[b-1gyjnoaqo6] {
    font-weight: 700;
}

.retrieval-form__actions[b-1gyjnoaqo6] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.retrieval-field-error[b-1gyjnoaqo6] {
    margin: 0;
    color: var(--error-text);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

.retrieval-results[b-1gyjnoaqo6] {
    margin-top: 24px;
}

.retrieval-results__head[b-1gyjnoaqo6] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 12px;
}

.retrieval-results__head h2[b-1gyjnoaqo6] {
    margin: 0;
    font-size: calc(22px * var(--font-scale));
}

.retrieval-results__head h2:focus[b-1gyjnoaqo6] {
    outline: none;
}

.retrieval-results__head p[b-1gyjnoaqo6] {
    margin: 0;
}

.retrieval-empty[b-1gyjnoaqo6] {
    margin: 0;
}

.retrieval-hits[b-1gyjnoaqo6] {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.retrieval-hit[b-1gyjnoaqo6] {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
}

.retrieval-hit__rank[b-1gyjnoaqo6] {
    margin: 0;
    color: var(--text-primary);
    font-size: calc(28px * var(--font-scale));
    font-weight: 800;
    line-height: 1;
}

.retrieval-hit__body[b-1gyjnoaqo6] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.retrieval-hit__head[b-1gyjnoaqo6],
.retrieval-hit__match[b-1gyjnoaqo6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0;
}

.retrieval-hit__doc[b-1gyjnoaqo6] {
    color: var(--text-primary);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.retrieval-similarity[b-1gyjnoaqo6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

/* Decorative: the number next to it carries the value. */
.retrieval-similarity__bar[b-1gyjnoaqo6] {
    display: inline-block;
    width: 80px;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--divider);
}

.retrieval-similarity__bar > span[b-1gyjnoaqo6] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--info);
}

@media (max-width: 480px) {
    .retrieval-hit[b-1gyjnoaqo6] {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .retrieval-hit__rank[b-1gyjnoaqo6] {
        font-size: calc(22px * var(--font-scale));
    }
}
/* /Modules/Flashcards/FlashcardsToday.razor.rz.scp.css */
/* Compact: "Heute fällig" and the forecast share a row on wide screens, the topics follow below. */
.flashcards-today[b-vrgg1jyn2c] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.flashcards-today > .flashcards-due[b-vrgg1jyn2c] { flex: 1 1 300px; }
.flashcards-today > .flashcards-forecast[b-vrgg1jyn2c] { flex: 2 1 380px; }
.flashcards-today > .flashcards-topics[b-vrgg1jyn2c] { flex: 1 1 100%; }

/* Dark card with the cards due today, like the exam countdown (ExamCountdown): the --feature-* tokens of the dark display (#711). */
.flashcards-due[b-vrgg1jyn2c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 20px 24px;
    border-radius: var(--card-radius);
    background: var(--feature-surface, var(--primary));
    color: var(--on-feature-surface, var(--on-primary));
}

.flashcards-due-text[b-vrgg1jyn2c] {
    display: flex;
    flex: 1 1 180px;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.flashcards-due h2[b-vrgg1jyn2c] {
    margin: 0;
    color: var(--on-feature-surface-muted, var(--on-primary-muted));
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.flashcards-due-count[b-vrgg1jyn2c] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: calc(17px * var(--font-scale));
    font-weight: 700;
}

.flashcards-due-count strong[b-vrgg1jyn2c] {
    color: var(--accent-on-feature-surface, var(--accent-on-dark));
    font-size: calc(40px * var(--font-scale));
    font-weight: 800;
    line-height: 1;
}

.flashcards-due-note[b-vrgg1jyn2c] {
    margin: 0;
    color: var(--on-feature-surface-muted, var(--on-primary-muted));
    font-size: calc(14px * var(--font-scale));
}

/* Main action in the brand accent; --accent-text keeps the label readable for every brand. */
.flashcards-due-action[b-vrgg1jyn2c] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 8px 20px;
    border: 1px solid var(--accent-border);
    border-radius: var(--button-radius);
    background: var(--accent);
    color: var(--accent-text);
    font-size: calc(15px * var(--font-scale));
    font-weight: 800;
    text-decoration: none;
}

.flashcards-due-action:hover[b-vrgg1jyn2c] { border-color: var(--accent-text); }

.flashcards-due-action:focus-visible[b-vrgg1jyn2c] {
    outline: 3px solid var(--on-feature-surface, var(--on-primary));
    outline-offset: 3px;
}

/* Without due cards the link only leads to the overview; outlined so the number stays the focus. */
.flashcards-due-action--quiet[b-vrgg1jyn2c] {
    border-color: var(--on-feature-surface, var(--on-primary));
    background: transparent;
    color: var(--on-feature-surface, var(--on-primary));
    font-weight: 700;
}

/* Placeholder for parts of the design without data yet; the pill names the state, the text what is coming. */
.flashcards-soon[b-vrgg1jyn2c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
    color: var(--on-feature-surface-muted, var(--on-primary-muted));
    font-size: calc(13px * var(--font-scale));
}

.flashcards-soon .bb-pill[b-vrgg1jyn2c] {
    border-color: currentColor;
    color: inherit;
}

.flashcards-soon--light[b-vrgg1jyn2c] {
    margin: 0;
    color: var(--text-secondary);
}

.flashcards-head[b-vrgg1jyn2c] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
}

.flashcards-head h2[b-vrgg1jyn2c] {
    margin: 0;
    color: var(--heading);
    font-size: calc(16px * var(--font-scale));
    font-weight: 800;
}

.flashcards-head .bb-meta[b-vrgg1jyn2c] { margin: 0; }

.flashcards-link[b-vrgg1jyn2c] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    color: var(--link);
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
    text-decoration: none;
}

.flashcards-link:hover[b-vrgg1jyn2c] { color: var(--link-hover); text-decoration: underline; }

.flashcards-forecast[b-vrgg1jyn2c] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    --card-padding: 16px 20px;
}

.flashcards-forecast-days[b-vrgg1jyn2c] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    height: 84px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flashcards-forecast-day[b-vrgg1jyn2c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 0;
}

.flashcards-forecast-count[b-vrgg1jyn2c] {
    color: var(--text-primary);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
}

.flashcards-forecast-track[b-vrgg1jyn2c] {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

/* A day without cards keeps a thin line so the row of days stays readable. */
.flashcards-forecast-bar[b-vrgg1jyn2c] {
    width: 100%;
    max-width: 56px;
    min-height: 3px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: var(--divider);
}

.flashcards-forecast-day--today .flashcards-forecast-bar[b-vrgg1jyn2c] {
    border: 1px solid var(--accent-border);
    border-bottom: 0;
    background: var(--accent);
}

.flashcards-forecast-label[b-vrgg1jyn2c] {
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
}

.flashcards-forecast-day--today .flashcards-forecast-label[b-vrgg1jyn2c] { color: var(--text-primary); font-weight: 800; }

.flashcards-topics[b-vrgg1jyn2c] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flashcards-topic-list[b-vrgg1jyn2c] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flashcards-topic[b-vrgg1jyn2c] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    --card-padding: 14px 16px;
}

.flashcards-topic-head[b-vrgg1jyn2c] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.flashcards-topic h3[b-vrgg1jyn2c] {
    margin: 0;
    color: var(--heading);
    font-size: calc(15px * var(--font-scale));
    font-weight: 800;
    overflow-wrap: anywhere;
}

.flashcards-topic .bb-meta[b-vrgg1jyn2c] { margin: 0; }

.flashcards-topic-due[b-vrgg1jyn2c] {
    flex: none;
    padding: 4px 8px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.35);
    color: var(--text-primary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
    white-space: nowrap;
}

.flashcards-topic-bar[b-vrgg1jyn2c] {
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--divider);
}

.flashcards-topic-bar span[b-vrgg1jyn2c] {
    display: block;
    height: 100%;
    background: var(--primary);
}

.flashcards-topic-secure[b-vrgg1jyn2c] {
    margin: 0;
    color: var(--text-body);
    font-size: calc(13px * var(--font-scale));
}

@media (max-width: 640px) {
    .flashcards-forecast-days[b-vrgg1jyn2c] { gap: 4px; height: 72px; }
    .flashcards-due-action[b-vrgg1jyn2c] { justify-content: center; width: 100%; }
}
/* /Modules/Flashcards/Pages/Flashcards.razor.rz.scp.css */
.flashcards-page[b-e0c2rs53tn] {
    display: flex;
    flex-direction: column;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 24px 0 48px;
}

.flashcards-header[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.flashcards-header .bb-headline[b-e0c2rs53tn] {
    margin: 0;
}

.flashcards-actions[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.flashcards-add[b-e0c2rs53tn],
.flashcards-learn[b-e0c2rs53tn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flashcards-learn[b-e0c2rs53tn] {
    text-decoration: none;
}

/* On small screens both actions span the width, one below the other, with the same size. */
@media (max-width: 767.98px) {
    .flashcards-actions[b-e0c2rs53tn] {
        width: 100%;
    }

    .flashcards-actions > *[b-e0c2rs53tn] {
        flex: 1 1 100%;
        justify-content: center;
    }
}

.flashcard[b-e0c2rs53tn] {
    display: grid;
    gap: 8px;
}

.flashcards-title[b-e0c2rs53tn] {
    display: grid;
    gap: 8px;
}

.flashcards-summary[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-body);
    font-size: calc(17px * var(--font-scale));
}

.flashcards-decks[b-e0c2rs53tn] {
    display: grid;
    gap: 20px;
}

/* A deck: the topic as header row, its cards as rows below (design „Stapelübersicht“). */
.flashcard-deck[b-e0c2rs53tn] {
    padding: 0;
    overflow: hidden;
}

.flashcard-deck-header[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--card-border);
    background: var(--deck-header-background, var(--field-background));
}

.flashcard-deck-title[b-e0c2rs53tn] {
    margin: 0;
    color: var(--heading);
    font-size: calc(19px * var(--font-scale));
    font-weight: 800;
    overflow-wrap: anywhere;
}

.flashcard-deck-count[b-e0c2rs53tn] {
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
}

/* One row per card (#983): the deck defines the columns and every row takes them over (subgrid), so answer, learning
   state, origin and actions line up across the rows. Question and answer share the free width; a card without learning
   state leaves its column empty. */
.flashcard-deck-cards[b-e0c2rs53tn] {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) max-content auto auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flashcard-deck-cards .flashcard[b-e0c2rs53tn] {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
    gap: 0 12px;
    padding: 4px 16px 4px 28px;
}

/* While loading: rows as high as a card row with its buttons (content box, without the padding). */
.flashcard--skeleton[b-e0c2rs53tn] {
    min-height: 36px;
}

.flashcard-deck-cards .flashcard + .flashcard[b-e0c2rs53tn] {
    border-top: 1px solid var(--divider);
}

/* Answer and learning state are columns of the row; the wrapper only groups them for the narrow layout. */
.flashcard-detail[b-e0c2rs53tn] {
    display: contents;
}

.flashcard-deck-cards .flashcard-question[b-e0c2rs53tn] {
    grid-column: 1;
}

.flashcard-deck-cards .flashcard-answer[b-e0c2rs53tn] {
    grid-column: 2;
}

.flashcard-deck-cards .flashcard-schedule[b-e0c2rs53tn] {
    grid-column: 3;
    white-space: nowrap;
}

.flashcard-deck-cards .flashcard-origin[b-e0c2rs53tn] {
    grid-column: 4;
}

.flashcard-deck-cards .flashcard-actions[b-e0c2rs53tn] {
    grid-column: 5;
    flex-wrap: nowrap;
    gap: 0;
    margin-left: 0;
}

/* Shortened to one line; the full text is in the tooltip and read by screen readers. */
.flashcard-deck-cards .flashcard-question[b-e0c2rs53tn],
.flashcard-deck-cards .flashcard-answer[b-e0c2rs53tn] {
    overflow: hidden;
    font-size: calc(15px * var(--font-scale));
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The origin as icon only; its label is the tooltip and the screen reader text. */
.flashcard-origin[b-e0c2rs53tn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.flashcard-deck-cards .flashcard-origin[b-e0c2rs53tn] {
    width: 26px;
    height: 26px;
    padding: 0;
}

/* AI cards stand out by the tinted accent; the label (tooltip, screen reader) names the origin, the color only supports
   it. The dark display tints more quietly and draws the icon in the accent (--generated-*). */
.flashcard-origin--generated[b-e0c2rs53tn] {
    border-color: var(--generated-border, var(--accent-border));
    background: var(--generated-surface, rgba(var(--accent-rgb), 0.18));
    color: var(--generated-text, var(--text-primary));
}

.flashcard-question[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-primary);
    font-size: calc(17px * var(--font-scale));
    font-weight: 700;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.flashcard-answer[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-body);
    overflow-wrap: anywhere;
    white-space: pre-line;
}

/* „Dein Stand“ above the decks: four numbers and the cards per Leitner box (reference prototype). */
.flashcards-stats[b-e0c2rs53tn] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.flashcards-stats-title[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.flashcards-stats-numbers[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin: 0;
}

/* The number above its label, like the tiles of the closing view of a session. */
.flashcards-stats-numbers div[b-e0c2rs53tn] {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.flashcards-stats-numbers dt[b-e0c2rs53tn] {
    color: var(--text-body);
    font-size: calc(14px * var(--font-scale));
}

.flashcards-stats-numbers dd[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-primary);
    font-size: calc(26px * var(--font-scale));
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.flashcards-boxes[b-e0c2rs53tn] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    height: 96px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flashcards-box[b-e0c2rs53tn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 0;
}

.flashcards-box-count[b-e0c2rs53tn] {
    color: var(--text-primary);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
}

.flashcards-box-track[b-e0c2rs53tn] {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

/* The higher the box, the stronger the accent; an empty box keeps a thin line so the row stays readable. */
.flashcards-box-bar[b-e0c2rs53tn] {
    width: 100%;
    max-width: 72px;
    min-height: 3px;
    border: 1px solid var(--accent-border);
    border-bottom: 0;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: rgba(var(--accent-rgb), calc(0.3 + var(--box-level, 5) * 0.14));
}

.flashcards-box-bar--empty[b-e0c2rs53tn] {
    border: 0;
    background: var(--divider);
}

.flashcards-box-label[b-e0c2rs53tn] {
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
}

.flashcards-stats-legend[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

/* Topic filter and downloads above the decks. */
.flashcards-toolbar[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 20px;
}

/* Topic filter above the overview (#208). */
.flashcards-filter[b-e0c2rs53tn] {
    display: grid;
    gap: 6px;
    width: min(100%, 320px);
}

.flashcards-export[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.flashcards-export .flashcard-action[b-e0c2rs53tn] {
    text-decoration: none;
}

/* The Leitner state of a card; a due card is named in the primary text color. */
.flashcard-schedule[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

.flashcard-schedule--due[b-e0c2rs53tn] {
    color: var(--text-primary);
}

.flashcards-filter label[b-e0c2rs53tn] {
    font-weight: 700;
}

/* Quiet buttons (icon buttons in a card row, text links for the downloads), so the question stays the focus. */
.flashcard-actions[b-e0c2rs53tn] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-left: -8px;
}

.flashcard-action[b-e0c2rs53tn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 4px 8px;
    border: 0;
    border-radius: var(--button-radius);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font: 600 calc(14px * var(--font-scale))/1.4 var(--font-family);
}

.flashcard-action:hover[b-e0c2rs53tn] {
    background: var(--field-background);
    text-decoration: underline;
}

.flashcard-action:focus-visible[b-e0c2rs53tn] {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.flashcard-action--danger[b-e0c2rs53tn] {
    color: var(--error-text);
}

/* Icon buttons of a card row: square, at least the 36 px of the text buttons. */
.flashcard-action--icon[b-e0c2rs53tn] {
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
}

/* A marked card shows a filled star; the name stays „Markieren“, aria-pressed carries the state. */
.flashcard-mark[aria-pressed="true"][b-e0c2rs53tn] {
    color: var(--text-primary);
}

.flashcard-delete-text[b-e0c2rs53tn] {
    margin: 0;
}

.flashcards-empty[b-e0c2rs53tn] {
    border-top: 4px solid var(--accent);
}

.flashcards-empty h2[b-e0c2rs53tn] {
    margin: 0 0 8px;
    font-size: calc(20px * var(--font-scale));
}

.flashcards-empty p[b-e0c2rs53tn] {
    margin: 0;
}

.flashcard-form[b-e0c2rs53tn] {
    display: grid;
    gap: 16px;
}

.flashcard-field[b-e0c2rs53tn] {
    display: grid;
    gap: 6px;
}

.flashcard-field label[b-e0c2rs53tn] {
    font-weight: 700;
}

.flashcard-field textarea[b-e0c2rs53tn] {
    resize: vertical;
}

/* Confirmation of „Speichern und nächste“ in the dialog's live region (visually hidden while there is no card yet). */
.flashcard-saved[b-e0c2rs53tn] {
    margin: 0;
    color: var(--success);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

/* Keyboard hint below the answer while creating (#793). */
.flashcard-field-hint[b-e0c2rs53tn] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

.flashcard-field-error[b-e0c2rs53tn] {
    margin: 0;
    color: var(--error-text);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}

@media (max-width: 640px) {
    .flashcards-page[b-e0c2rs53tn] {
        padding: 16px 0 32px;
    }

    .flashcards-add[b-e0c2rs53tn] {
        width: 100%;
        justify-content: center;
    }

    .flashcards-filter[b-e0c2rs53tn] {
        width: 100%;
    }

    .flashcard-deck-header[b-e0c2rs53tn] {
        padding-inline: 20px;
    }
}

/* Too narrow for one row: each row has its own grid, question, origin and actions above, answer and learning state below
   across the full width. The learning state keeps its full text, the answer is shortened. */
@media (max-width: 767.98px) {
    .flashcard-deck-cards[b-e0c2rs53tn] {
        display: block;
    }

    .flashcard-deck-cards .flashcard[b-e0c2rs53tn] {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 0 8px;
        padding: 4px 8px 8px 20px;
    }

    .flashcard-deck-cards .flashcard-question[b-e0c2rs53tn] {
        grid-area: 1 / 1;
    }

    .flashcard-deck-cards .flashcard-origin[b-e0c2rs53tn] {
        grid-area: 1 / 2;
    }

    .flashcard-deck-cards .flashcard-actions[b-e0c2rs53tn] {
        grid-area: 1 / 3;
    }

    .flashcard-deck-cards .flashcard-detail[b-e0c2rs53tn] {
        display: flex;
        grid-area: 2 / 1 / 3 / -1;
        align-items: baseline;
        gap: 8px;
        min-width: 0;
    }

    .flashcard-deck-cards .flashcard-answer[b-e0c2rs53tn] {
        flex: 1 1 0;
        min-width: 0;
    }

    .flashcard-deck-cards .flashcard-schedule[b-e0c2rs53tn] {
        flex: none;
    }

    .flashcard--skeleton .flashcard-answer[b-e0c2rs53tn] {
        grid-area: 2 / 1 / 3 / -1;
    }
}
/* /Modules/Flashcards/Pages/FlashcardSession.razor.rz.scp.css */
.session-page[b-hap0cu0id6] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 24px 0 48px;
}

.session-page .bb-headline[b-hap0cu0id6] {
    margin: 0 0 8px;
}

.session-back[b-hap0cu0id6] {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
}

.session-back:hover[b-hap0cu0id6] {
    color: var(--text-primary);
    text-decoration: underline;
}

.session-progress[b-hap0cu0id6] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
}

.session-progress-bar[b-hap0cu0id6] {
    height: 8px;
    border-radius: 4px;
    background: var(--divider);
    overflow: hidden;
}

.session-progress-bar span[b-hap0cu0id6] {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--primary);
}

.session-card[b-hap0cu0id6] {
    display: grid;
    gap: 16px;
}

.session-card-meta[b-hap0cu0id6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.session-intro[b-hap0cu0id6] {
    margin: 0;
    color: var(--text-body);
}

/* Mark of the current card: a quiet text button like the actions of the overview; aria-pressed carries the state. */
.session-mark[b-hap0cu0id6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin-left: auto;
    padding: 4px 8px;
    border: 0;
    border-radius: var(--button-radius);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font: 600 calc(14px * var(--font-scale))/1.4 var(--font-family);
}

.session-mark:hover[b-hap0cu0id6] {
    background: var(--field-background);
    text-decoration: underline;
}

.session-mark:focus-visible[b-hap0cu0id6] {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.session-mark[aria-pressed="true"][b-hap0cu0id6] {
    color: var(--text-primary);
}

.session-topic[b-hap0cu0id6] {
    overflow-wrap: anywhere;
}

.session-label[b-hap0cu0id6] {
    margin: 0 0 -8px;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.session-question[b-hap0cu0id6] {
    margin: 0;
    color: var(--heading);
    font-size: calc(22px * var(--font-scale));
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.session-question:focus[b-hap0cu0id6],
.session-answer:focus[b-hap0cu0id6] {
    outline: none;
}

.session-question:focus-visible[b-hap0cu0id6],
.session-answer:focus-visible[b-hap0cu0id6] {
    outline: 3px solid var(--accent-border);
    outline-offset: 4px;
}

.session-reveal[b-hap0cu0id6] {
    justify-self: start;
}

.session-answer[b-hap0cu0id6] {
    display: grid;
    gap: 8px;
    padding: 16px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--card-radius) var(--card-radius) 0;
    background: var(--field-background);
}

.session-answer .session-label[b-hap0cu0id6] {
    margin: 0;
}

.session-answer-text[b-hap0cu0id6] {
    margin: 0;
    color: var(--text-body);
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.session-assessment[b-hap0cu0id6] {
    display: grid;
    gap: 16px;
}

.session-difficulty[b-hap0cu0id6] {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.session-difficulty legend[b-hap0cu0id6] {
    margin-bottom: 10px;
    padding: 0;
    font-weight: 700;
}

.session-difficulty-options[b-hap0cu0id6] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Radio buttons styled as chips; the native input stays focusable and announces the choice. */
.session-difficulty-option[b-hap0cu0id6] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--field-border);
    border-radius: 999px;
    color: var(--text-body);
    font-weight: 600;
    cursor: pointer;
}

.session-difficulty-option input[b-hap0cu0id6] {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.session-difficulty-option:hover[b-hap0cu0id6] {
    border-color: var(--text-secondary);
}

.session-difficulty-option:has(input:checked)[b-hap0cu0id6] {
    border-color: var(--text-body);
    background: var(--text-body);
    color: var(--surface);
}

.session-difficulty-option:has(input:focus-visible)[b-hap0cu0id6] {
    outline: 3px solid var(--accent-border);
    outline-offset: 2px;
}

.session-field-error[b-hap0cu0id6] {
    margin: 0;
    color: var(--error-text);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
}

.session-actions[b-hap0cu0id6] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.session-empty[b-hap0cu0id6],
.session-done[b-hap0cu0id6] {
    display: grid;
    justify-items: start;
    gap: 12px;
    border-top: 4px solid var(--accent);
}

.session-empty h2[b-hap0cu0id6],
.session-done h2[b-hap0cu0id6] {
    margin: 0;
    font-size: calc(20px * var(--font-scale));
}

.session-empty p[b-hap0cu0id6],
.session-done p[b-hap0cu0id6] {
    margin: 0;
}

/* Closing view: check mark, heading and summary centred, then the numbers, the rated cards and the next steps. */
.session-done[b-hap0cu0id6] {
    justify-items: stretch;
    gap: 20px;
}

.session-done-mark[b-hap0cu0id6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 88px;
    height: 88px;
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-text);
}

.session-done h2[b-hap0cu0id6],
.session-done .session-done-summary[b-hap0cu0id6] {
    text-align: center;
}

.session-done h2[b-hap0cu0id6] {
    font-size: calc(26px * var(--font-scale));
    font-weight: 800;
}

.session-done h2:focus[b-hap0cu0id6] {
    outline: none;
}

.session-done h2:focus-visible[b-hap0cu0id6] {
    outline: 3px solid var(--accent-border);
    outline-offset: 4px;
}

.session-done-summary[b-hap0cu0id6] {
    color: var(--text-body);
}

.session-done-stats[b-hap0cu0id6] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

/* Number above its label; the markup keeps label then value for screen readers. */
.session-done-stats div[b-hap0cu0id6] {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 2px;
    padding: 12px;
    border-radius: var(--card-radius);
    background: var(--field-background);
    text-align: center;
}

.session-done-stats dt[b-hap0cu0id6] {
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

.session-done-stats dd[b-hap0cu0id6] {
    margin: 0;
    color: var(--text-primary);
    font-size: calc(22px * var(--font-scale));
    font-weight: 800;
}

.session-done-stats .session-done-stat--soon dd[b-hap0cu0id6] {
    font-size: calc(13px * var(--font-scale));
}

/* The placeholder pill may wrap in the narrow tiles of small screens instead of overflowing. */
.session-done-stats .session-done-stat--soon .bb-pill[b-hap0cu0id6] {
    max-width: 100%;
    padding: 2px 8px;
    white-space: normal;
}

.session-done-list[b-hap0cu0id6] {
    display: grid;
    gap: 10px;
}

.session-done-list h3[b-hap0cu0id6] {
    margin: 0;
    color: var(--heading);
    font-size: calc(16px * var(--font-scale));
    font-weight: 800;
}

.session-done-list ul[b-hap0cu0id6] {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The icon is decoration: the heading of the list says whether the learner knew the card. */
.session-done-item[b-hap0cu0id6] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary);
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.session-done-item .bb-icon[b-hap0cu0id6] {
    margin-top: 1px;
}

.session-done-item--known .bb-icon[b-hap0cu0id6] {
    color: var(--success);
}

.session-done-item--again .bb-icon[b-hap0cu0id6] {
    color: var(--notice);
}

.session-empty-actions[b-hap0cu0id6],
.session-done-actions[b-hap0cu0id6] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.session-done-soon[b-hap0cu0id6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: calc(13px * var(--font-scale));
}

@media (max-width: 767.98px) {
    .session-actions > *[b-hap0cu0id6] {
        flex: 1 1 0;
    }

    .session-empty-actions > *[b-hap0cu0id6],
    .session-done-actions > *[b-hap0cu0id6] {
        flex: 1 1 100%;
    }
}
/* /Modules/LearningPlan/Pages/LearningPlan.razor.rz.scp.css */
.learning-page[b-prvnv2241d] { display: flex; flex-direction: column; gap: 40px; width: 100%; }

/* Title block next to the accent countdown tile ("65 Tage bis zur Prüfung"); the tile wraps below on narrow widths. */
.learning-head[b-prvnv2241d] { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.learning-title[b-prvnv2241d] { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.learning-program[b-prvnv2241d] { order: -1; margin: 0; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); font-weight: 700; letter-spacing: 0.06em; overflow-wrap: anywhere; text-transform: uppercase; }
.learning-page h1[b-prvnv2241d] { margin: 0; color: var(--heading); font-size: calc(clamp(34px, 4vw, 48px) * var(--font-scale)); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.learning-intro[b-prvnv2241d] { margin: 4px 0 0; color: var(--text-body); font-size: calc(18px * var(--font-scale)); overflow-wrap: anywhere; }
.learning-countdown[b-prvnv2241d] { display: flex; flex: none; align-items: center; gap: 16px; margin: 0; padding: 16px 24px; border-radius: var(--card-radius); background: var(--accent); color: var(--accent-text); font-size: calc(16px * var(--font-scale)); font-weight: 700; line-height: 1.25; }
.learning-countdown strong[b-prvnv2241d] { font-size: calc(52px * var(--font-scale)); font-weight: 800; line-height: 1; }

.learning-card h2[b-prvnv2241d] { margin-top: 0; }

/* Progress over all planned weeks: title with legend, bar and a scrollable row of week chips. */
.learning-progress[b-prvnv2241d] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.learning-progress-head[b-prvnv2241d] { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.learning-progress h2[b-prvnv2241d] { margin: 0; color: var(--heading); font-size: calc(20px * var(--font-scale)); font-weight: 800; line-height: 1.3; }
.learning-legend[b-prvnv2241d] { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-body); font-size: calc(14px * var(--font-scale)); }
.learning-legend > span[b-prvnv2241d] { display: inline-flex; align-items: center; gap: 6px; }
.learning-swatch[b-prvnv2241d] { box-sizing: border-box; width: 12px; height: 12px; border: 1px solid var(--composer-border); border-radius: 3px; background: var(--surface); }
.learning-swatch--done[b-prvnv2241d] { border-color: var(--primary); background: var(--primary); }
.learning-swatch--current[b-prvnv2241d] { border-color: var(--accent-border); background: var(--accent); }
.learning-progress-bar[b-prvnv2241d] { height: 8px; border-radius: 4px; background: var(--divider); overflow: hidden; }
.learning-progress-bar span[b-prvnv2241d] { display: block; height: 100%; border-radius: 4px; background: var(--primary); }

/* Week chips: state in text ("erledigt", "jetzt", topic count) and color; the chosen week is aria-current and dark. */
.learning-weeks[b-prvnv2241d] { display: grid; grid-auto-columns: minmax(96px, 140px); grid-auto-flow: column; gap: 8px; padding: 4px; margin: -4px; overflow-x: auto; }
.learning-week-chip[b-prvnv2241d] { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 4px; min-height: 84px; padding: 10px 12px; border: 1px solid var(--composer-border); border-radius: var(--card-radius); background: var(--surface); color: var(--text-primary); text-decoration: none; }
.learning-week-chip strong[b-prvnv2241d] { font-size: calc(17px * var(--font-scale)); font-weight: 800; white-space: nowrap; }
.learning-week-date[b-prvnv2241d] { color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); white-space: nowrap; }
.learning-week-status[b-prvnv2241d] { display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: calc(12px * var(--font-scale)); font-weight: 700; white-space: nowrap; }
.learning-week-chip:hover[b-prvnv2241d] { border-color: var(--text-primary); }
.learning-week-chip--done[b-prvnv2241d] { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.learning-week-chip--done .learning-week-date[b-prvnv2241d] { color: var(--on-primary-muted); }
.learning-week-chip--done .learning-week-status[b-prvnv2241d] { color: var(--on-primary); font-weight: 800; }
.learning-week-chip--current[b-prvnv2241d] { border: 2px solid var(--accent-border); background: var(--accent); color: var(--accent-text); }
.learning-week-chip--current .learning-week-date[b-prvnv2241d],
.learning-week-chip--current .learning-week-status[b-prvnv2241d] { color: var(--accent-text); }
.learning-week-chip--current .learning-week-status[b-prvnv2241d] { font-weight: 800; }
/* The ring sets the chosen week apart from past weeks, which share its dark ground in palettes where --primary is black. */
.learning-week-chip--selected[b-prvnv2241d] { border: 2px solid var(--text-primary); background: var(--text-primary); color: var(--surface); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text-primary); }
.learning-week-chip--selected .learning-week-date[b-prvnv2241d] { color: var(--on-primary-muted); }
.learning-week-chip--selected .learning-week-status[b-prvnv2241d] { color: var(--accent-on-dark); font-weight: 800; }

/* Chosen week: topics as cards, next to the outlook (next week, exam day); the outlook wraps below on narrow widths. */
.learning-layout[b-prvnv2241d] { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.learning-week[b-prvnv2241d] { scroll-margin-top: calc(var(--header-space, 0px) + 16px); display: flex; flex: 999 1 520px; flex-direction: column; gap: 20px; min-width: 0; }
.learning-week-head[b-prvnv2241d] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.learning-week-title[b-prvnv2241d] { display: flex; flex-direction: column; gap: 4px; }
.learning-week h2[b-prvnv2241d] { margin: 0; color: var(--heading); font-size: calc(28px * var(--font-scale)); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.learning-week-title p[b-prvnv2241d] { margin: 0; color: var(--text-body); font-size: calc(16px * var(--font-scale)); }
.learning-week-steps[b-prvnv2241d] { display: flex; gap: 8px; }
.learning-step[b-prvnv2241d] { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--composer-border); border-radius: var(--card-radius); background: var(--surface); color: var(--text-primary); }
.learning-step:hover[b-prvnv2241d] { border-color: var(--text-primary); }
.learning-step--disabled[b-prvnv2241d] { color: var(--text-faint); }
.learning-step--disabled:hover[b-prvnv2241d] { border-color: var(--composer-border); }

.learning-topic[b-prvnv2241d] { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: var(--card-padding); border: 1px solid var(--field-border); border-radius: var(--card-radius); background: var(--surface); overflow-wrap: anywhere; }
.learning-topic-head[b-prvnv2241d] { display: flex; flex-wrap: wrap; align-self: stretch; align-items: center; justify-content: space-between; gap: 12px; }
.learning-topic-kicker[b-prvnv2241d] { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: calc(14px * var(--font-scale)); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
/* One step below the week title (h2), so the topics do not compete with it (#908). */
.learning-topic h3[b-prvnv2241d] { margin: 0; color: var(--heading); font-size: calc(22px * var(--font-scale)); font-weight: 700; line-height: 1.25; }
.learning-topic-note[b-prvnv2241d] { max-width: 60ch; margin: 0; color: var(--text-body); font-size: calc(16px * var(--font-scale)); line-height: 1.5; }
.learning-topic-action svg[b-prvnv2241d] { color: var(--accent-on-dark); }
.learning-badge[b-prvnv2241d] { padding: 4px 8px; border-radius: var(--radius-sm); font-size: calc(13px * var(--font-scale)); font-weight: 700; line-height: 1.3; }
.learning-badge--available[b-prvnv2241d] { background: var(--success); color: var(--on-primary); }
.learning-badge--missing[b-prvnv2241d] { background: var(--divider); color: var(--text-body); }

.learning-outlook[b-prvnv2241d] { display: flex; flex: 1 1 280px; flex-direction: column; gap: 16px; min-width: 0; }
.learning-outlook-card[b-prvnv2241d] { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--card-radius); background: var(--sidebar-background); color: var(--text-body); font-size: calc(16px * var(--font-scale)); overflow-wrap: anywhere; }
.learning-outlook-card strong[b-prvnv2241d] { color: var(--heading); font-size: calc(20px * var(--font-scale)); font-weight: 800; }
.learning-outlook-card--exam[b-prvnv2241d] { border: 2px solid var(--text-primary); background: var(--surface); }
.learning-outlook-label[b-prvnv2241d] { color: var(--text-secondary); font-size: calc(13px * var(--font-scale)); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.learning-week-chip:focus-visible[b-prvnv2241d],
.learning-step:focus-visible[b-prvnv2241d] { outline: 3px solid var(--primary); outline-offset: 2px; }

@media (max-width: 680px) {
    .learning-page[b-prvnv2241d] { gap: 28px; }
    .learning-countdown[b-prvnv2241d] { padding: 12px 16px; }
    .learning-countdown strong[b-prvnv2241d] { font-size: calc(40px * var(--font-scale)); }
    .learning-week h2[b-prvnv2241d] { font-size: calc(24px * var(--font-scale)); }
    .learning-topic[b-prvnv2241d] { gap: 12px; padding: 20px; }
    .learning-topic h3[b-prvnv2241d] { font-size: calc(20px * var(--font-scale)); }
    .learning-topic-action[b-prvnv2241d] { align-self: stretch; }
}
/* /Modules/LearningPlan/Pages/LearningPlanPending.razor.rz.scp.css */
.learning-card h2[b-x6n2iib0qw] { margin-top: 0; }
/* /Modules/Onboarding/LearningPreferencesQuestionnaire.razor.rz.scp.css */
.lp-head[b-wrt342vr1f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.lp-progress[b-wrt342vr1f] {
    margin: 0;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-skip[b-wrt342vr1f] {
    flex-shrink: 0;
    min-height: 44px;
    color: var(--text-secondary);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
}

.lp-progress-bar[b-wrt342vr1f] {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}

.lp-progress-segment[b-wrt342vr1f] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--divider);
}

.lp-progress-segment--done[b-wrt342vr1f] {
    background: var(--accent);
}

.lp-intro[b-wrt342vr1f] {
    max-width: 52ch;
    margin: 0 0 20px;
    color: var(--text-body);
    line-height: 1.55;
}

.lp-fieldset[b-wrt342vr1f] {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.lp-fieldset legend[b-wrt342vr1f] {
    padding: 0;
}

.lp-question[b-wrt342vr1f] {
    margin: 0 0 6px;
    font-size: calc(24px * var(--font-scale));
    line-height: 1.25;
}

.lp-question:focus[b-wrt342vr1f] {
    outline: none;
}

.lp-hint[b-wrt342vr1f] {
    margin: 0 0 18px;
    color: var(--text-body);
    font-size: calc(13px * var(--font-scale));
}

.lp-options[b-wrt342vr1f] {
    display: grid;
    gap: 8px;
}

.lp-option[b-wrt342vr1f] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid var(--field-border);
    border-radius: var(--field-radius);
    background: var(--field-background);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.lp-option:hover[b-wrt342vr1f] {
    border-color: var(--accent-border);
}

.lp-option:has(input:checked)[b-wrt342vr1f] {
    border-color: var(--accent-border);
    background: rgba(var(--accent-rgb), 0.12);
}

.lp-option:has(input:focus-visible)[b-wrt342vr1f] {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.lp-option input[b-wrt342vr1f] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--primary);
}

.lp-option-text[b-wrt342vr1f] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lp-option-text strong[b-wrt342vr1f] {
    color: var(--text-primary);
    font-size: calc(15px * var(--font-scale));
}

.lp-option-text small[b-wrt342vr1f] {
    color: var(--text-body);
    font-size: calc(13px * var(--font-scale));
    line-height: 1.45;
}

.lp-note[b-wrt342vr1f] {
    resize: vertical;
    line-height: 1.55;
}

.lp-note-count[b-wrt342vr1f] {
    margin: 8px 0 0;
}

.lp-actions[b-wrt342vr1f] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.lp-actions .bb-btn-primary[b-wrt342vr1f] {
    flex: 1;
    min-width: 140px;
}

.lp-questionnaire .bb-alert[b-wrt342vr1f] {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .lp-question[b-wrt342vr1f] {
        font-size: calc(21px * var(--font-scale));
    }
}
/* /Modules/Onboarding/Pages/LearningPreferencesEdit.razor.rz.scp.css */
.preferences-page[b-2u0v5kpulh] {
    display: flex;
    justify-content: center;
    padding: 24px 0 48px;
}

.preferences-content[b-2u0v5kpulh] {
    width: min(100%, 620px);
}

.preferences-content .bb-headline[b-2u0v5kpulh] {
    margin-bottom: 20px;
}

.preferences-card[b-2u0v5kpulh] {
    padding: 32px;
    border-top: 4px solid var(--accent);
}

@media (max-width: 640px) {
    .preferences-page[b-2u0v5kpulh] {
        padding: 16px 0 32px;
    }

    .preferences-card[b-2u0v5kpulh] {
        padding: 24px 20px;
    }
}
/* /Modules/Onboarding/Pages/Onboarding.razor.rz.scp.css */
.onboarding-page[b-ky92sae71x] {
    display: flex;
    justify-content: center;
    padding: 24px 0 48px;
}

.onboarding-content[b-ky92sae71x] {
    width: min(100%, 620px);
}

.onboarding-content .bb-headline[b-ky92sae71x] {
    margin-bottom: 20px;
}

.onboarding-card[b-ky92sae71x] {
    padding: 32px;
    border-top: 4px solid var(--accent);
}

.onboarding-card h2[b-ky92sae71x] {
    margin: 0 0 10px;
    font-size: calc(26px * var(--font-scale));
    line-height: 1.2;
}

.onboarding-step-meta[b-ky92sae71x] {
    margin: 0 0 10px;
    color: var(--text-secondary);
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.onboarding-intro[b-ky92sae71x],
.onboarding-note[b-ky92sae71x],
.onboarding-help[b-ky92sae71x] {
    color: var(--text-body);
}

.onboarding-intro[b-ky92sae71x] {
    max-width: 52ch;
    margin: 0 0 28px;
    line-height: 1.55;
}

.onboarding-note[b-ky92sae71x] {
    max-width: 52ch;
    margin: -4px 0 24px;
    padding: 12px 14px;
    border-left: 3px solid var(--accent-border);
    background: var(--notice-surface);
    color: var(--notice);
    font-size: calc(13px * var(--font-scale));
    line-height: 1.5;
}

.onboarding-field[b-ky92sae71x] {
    width: min(100%, 440px);
    margin-bottom: 24px;
}

.onboarding-field label[b-ky92sae71x] {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.onboarding-help[b-ky92sae71x] {
    margin: 8px 0 0;
    font-size: calc(13px * var(--font-scale));
    line-height: 1.45;
}

.onboarding-field-error[b-ky92sae71x] {
    margin: 8px 0 0;
    color: var(--error-text);
    font-size: calc(13px * var(--font-scale));
    line-height: 1.45;
}

.onboarding-card > .bb-alert[b-ky92sae71x] {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .onboarding-page[b-ky92sae71x] {
        padding: 16px 0 32px;
    }

    .onboarding-card[b-ky92sae71x] {
        padding: 24px 20px;
    }

    .onboarding-card h2[b-ky92sae71x] {
        font-size: calc(23px * var(--font-scale));
    }
}
/* /Modules/Statistics/Pages/AdminStatistics.razor.rz.scp.css */
.admin-content[b-oxma58dixb] {
    max-width: 1080px;
    margin: 32px auto 0;
}

.text-muted[b-oxma58dixb] {
    color: var(--text-secondary);
}

.statistics-lead[b-oxma58dixb] {
    max-width: 60ch;
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

/* Same grid as the overview tiles, so further key figures line up (four columns, two below 700 px). */
.statistics-tiles[b-oxma58dixb] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.statistics-tiles > li[b-oxma58dixb] {
    display: flex;
}

@media (max-width: 700px) {
    .statistics-tiles[b-oxma58dixb] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.statistics-note[b-oxma58dixb] {
    margin: 0.75rem 0 0;
    font-size: calc(0.875rem * var(--font-scale));
}

/* Composition of the created flashcards: one bar split by origin, with a legend below. Blue and brown are similarly light,
   so a gap separates the segments and the legend carries the figures. */
.statistics-split[b-oxma58dixb] {
    display: flex;
    gap: 2px;
    height: 12px;
    margin: 0.25rem 0 0.5rem;
    overflow: hidden;
    border-radius: 3px;
    background: var(--divider);
}

.statistics-split__generated[b-oxma58dixb],
.statistics-split__key--generated[b-oxma58dixb] {
    background: var(--info);
}

.statistics-split__manual[b-oxma58dixb],
.statistics-split__key--manual[b-oxma58dixb] {
    background: var(--notice);
}

/* People by number of active days (#451): light to strong, so more days read as more use. */
.statistics-split__once[b-oxma58dixb],
.statistics-split__key--once[b-oxma58dixb] {
    background: var(--notice);
}

.statistics-split__some[b-oxma58dixb],
.statistics-split__key--some[b-oxma58dixb] {
    background: var(--info);
}

.statistics-split__often[b-oxma58dixb],
.statistics-split__key--often[b-oxma58dixb] {
    background: var(--success);
}

/* A secondary figure under the main value, e.g. all edits under the edited cards. */
.statistics-detail[b-oxma58dixb] {
    margin: 0 0 0.35rem;
    font-size: calc(0.8125rem * var(--font-scale));
    color: var(--text-body);
}

.statistics-split__legend[b-oxma58dixb] {
    margin: 0 0 0.35rem;
    font-size: calc(0.8125rem * var(--font-scale));
    color: var(--text-body);
}

/* Swatch, figure and origin wrap only as a whole. */
.statistics-split__item[b-oxma58dixb] {
    white-space: nowrap;
}

.statistics-split__key[b-oxma58dixb] {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.3rem;
    border-radius: 2px;
}

/* A figure that is not measured gets its own state instead of a zero: dashed, like a placeholder. */
.statistics-unmeasured[b-oxma58dixb] {
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border: 1px dashed var(--field-border);
    border-radius: var(--card-radius);
    background: var(--field-background);
}

.statistics-unmeasured p[b-oxma58dixb] {
    margin: 0;
}

.statistics-unmeasured__label[b-oxma58dixb] {
    font-size: calc(0.8125rem * var(--font-scale));
    color: var(--text-secondary);
}

.statistics-unmeasured .statistics-unmeasured__state[b-oxma58dixb] {
    margin: 0.25rem 0 0.35rem;
    font-size: calc(1.125rem * var(--font-scale));
    font-weight: 700;
    color: var(--text-body);
}

.statistics-unmeasured__hint[b-oxma58dixb] {
    font-size: calc(0.875rem * var(--font-scale));
    color: var(--text-secondary);
}
