/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Fields, button and errors come from LoginLayout — the same on every account page. */
.login-kicker[b-tota7j4sak] {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.login-lead[b-tota7j4sak] {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.remember[b-tota7j4sak] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 24px;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

    .remember[b-tota7j4sak]  input {
        flex: none;
    }

/* Only rendered while the installation has no administrator left. Reads as a notice, not an error:
   nothing the person at the login form did is wrong. */
.recovery-hint[b-tota7j4sak] {
    font-size: var(--fs-sm);
    border-radius: 10px;
    background: rgba(255, 170, 0, 0.12);
    padding: 10px 12px;
    margin: 16px 0 0 0;
}
/* /Components/Account/Pages/Setup.razor.rz.scp.css */
/* Fields, button and errors come from LoginLayout — the same on every account page. */
.setup[b-ioa7gkp09h] {
    max-width: 100%;
}

.grid-2[b-ioa7gkp09h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 12px;
}

.intro[b-ioa7gkp09h] {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.hint[b-ioa7gkp09h] {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* The closing panels have no EditForm, so they need the button look on a plain anchor —
   ::deep would not reach it, it is this component's own markup. */
.link-button[b-ioa7gkp09h] {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

    .link-button:hover[b-ioa7gkp09h] {
        background: #004a7c;
    }

@media (max-width: 640px) {
    .grid-2[b-ioa7gkp09h] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Article/ArticleCategories.razor.rz.scp.css */
.art-cats[b-43z7gcq5bs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.art-cat[b-43z7gcq5bs] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: var(--text-ink);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.art-cat-edit[b-43z7gcq5bs] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: none;
    padding: 3px 4px;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
}

.art-cat-edit:hover[b-43z7gcq5bs] {
    color: var(--primary-color);
}
/* /Components/Article/ArticleInstancePreview.razor.rz.scp.css */
/* Position tab: the place and its coordinates with room around them. */
.aip-pad[b-yeitzplmmx] {
    padding: 16px 20px;
}

/* A defective piece still under warranty — a hint to claim it. */
.aip-warranty[b-yeitzplmmx] {
    display: flex;
    gap: 10px;
    align-items: center;
    background: color-mix(in srgb, #16a34a 10%, var(--surface, #fff));
    color: #166534;
}
/* /Components/Article/ArticleMergeDialog.razor.rz.scp.css */
.merge-facts[b-u496b4v6ui] {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
    color: var(--text-muted);
}
/* /Components/Article/ArticlePosition.razor.rz.scp.css */
/* Styles for ArticlePosition component */
.position-list[b-wv0wxh37oq] {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: start;
}
.position-list dt[b-wv0wxh37oq] {
    /* font-weight: 600; */
    margin: 0;
    /* padding: 4px 0; */
    color: var(--muted, #444);
}
.position-list dd[b-wv0wxh37oq] {
    margin: 0;
    /* padding: 4px 0; */
    /* color: var(--text, #111); */
}
.position-list dt[b-wv0wxh37oq],
.position-list dd[b-wv0wxh37oq] {
    padding-left: 0;
}

.warning[b-wv0wxh37oq] {
    display: block;
    margin-top: 8px;
    color: var(--warning, #b45f06);
    font-size: var(--fs-sm);
}

span[b-wv0wxh37oq] {
    color: var(--muted, #666);
}
/* /Components/Article/ArticlePositionCard.razor.rz.scp.css */
.position-card[b-1uor9y1awz] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--card-bg, #ffffff);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
}

.position-card:hover[b-1uor9y1awz] {
  background: rgba(15,23,42,0.03);
}

.position-card__icon[b-1uor9y1awz] {
  flex-shrink: 0;
  color: var(--muted, #64748b);
  font-size: 0.85em;
}

.position-card__coordinates[b-1uor9y1awz] {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
/* /Components/Article/ArticlePreview.razor.rz.scp.css */
.preview-alias[b-fbdfo43mlw] {
    display: inline-block;
    margin-left: 4px;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--surface-sunken);
    color: #3a4b5c;
    font-size: var(--fs-xs);
    font-weight: 700;
}

.preview-nums[b-fbdfo43mlw] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--surface-line);
}

.preview-nums div[b-fbdfo43mlw] {
    padding: 12px 18px;
    border-left: 1px solid var(--surface-line);
}

.preview-nums div:first-child[b-fbdfo43mlw] {
    border-left: 0;
}

.preview-nums span[b-fbdfo43mlw] {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.preview-nums b[b-fbdfo43mlw] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

/* A narrow middle: two figures per row, as the article page does on a phone (ArticleStockSummary). */
@container pane (max-width: 640px) {
    .preview-nums[b-fbdfo43mlw] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .preview-nums div[b-fbdfo43mlw] {
        border-left: 0;
        border-top: 1px solid var(--surface-line);
    }

    .preview-nums div:nth-child(even)[b-fbdfo43mlw] {
        border-left: 1px solid var(--surface-line);
    }

    .preview-nums div:nth-child(-n+2)[b-fbdfo43mlw] {
        border-top: 0;
    }
}

.preview-unit[b-fbdfo43mlw] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}


.preview-muted[b-fbdfo43mlw] {
    color: var(--text-muted);
}


.mono[b-fbdfo43mlw] {
    font-family: ui-monospace, Consolas, monospace;
}


/* The Lieferant tab: one card per supplier — head, facts, then its contacts under a hairline. */
.preview-subhead[b-fbdfo43mlw] {
    border-top: 1px solid var(--surface-line);
}

.preview-alerts[b-fbdfo43mlw] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.preview-alerts li[b-fbdfo43mlw] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 18px;
    border-top: 1px solid #f0f3f6;
}

.preview-alerts i[b-fbdfo43mlw] {
    color: #d98200;
}

/* /Components/Article/ArticleReviewNotice.razor.rz.scp.css */
.review-notice[b-ajzgrtuwji] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 18px 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff6e0;
    color: #6b4a00;
    font-size: var(--fs-sm);
}

.review-notice > i[b-ajzgrtuwji] {
    font-size: 1.1rem;
}

.review-notice-text[b-ajzgrtuwji] {
    flex: 1 1 200px;
    min-width: 0;
}

.review-notice.flush[b-ajzgrtuwji] {
    margin: 0;
}
/* /Components/Article/ArticleStockSummary.razor.rz.scp.css */
.summary-panel[b-wnt2hpsqr6] {
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    margin: 0 0 16px;
}

.summary-loading[b-wnt2hpsqr6] {
    padding: 16px 18px;
}

.summary-nums[b-wnt2hpsqr6] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-nums div[b-wnt2hpsqr6] {
    padding: 12px 18px;
    border-left: 1px solid var(--surface-line);
    min-width: 0;
}

.summary-nums div:first-child[b-wnt2hpsqr6] {
    border-left: 0;
}

.summary-nums dt[b-wnt2hpsqr6] {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
}

.summary-nums dd[b-wnt2hpsqr6] {
    margin: 2px 0 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.summary-nums dd small[b-wnt2hpsqr6] {
    font-size: var(--fs-sm);
    font-weight: 700;
}

/* Lager below minimum: one panel, a red triangle with their count in the head, the list unfolding below. */
.summary-alerts[b-wnt2hpsqr6] {
    margin: 0 0 12px;
    border-radius: var(--surface-radius);
    background: #fdf2f3;
    box-shadow: inset 0 0 0 1px #f3c5ca;
    overflow: hidden;
}

.summary-alerts-head[b-wnt2hpsqr6] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
}

    .summary-alerts-head:focus-visible[b-wnt2hpsqr6] {
        outline: none;
        box-shadow: inset var(--focus-shadow);
    }

.summary-alerts-badge[b-wnt2hpsqr6] {
    position: relative;
    flex: none;
    width: 36px;
    height: 32px;
    display: grid;
    place-items: center;
}

    /* A triangle with rounded corners: the path filled and stroked in the same red, joins rounded. */
    .summary-alerts-badge svg[b-wnt2hpsqr6] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        fill: #c62835;
        stroke: #c62835;
        stroke-width: 4;
        stroke-linejoin: round;
    }

    /* The figure sits low, in the triangle's wide part. */
    .summary-alerts-badge span[b-wnt2hpsqr6] {
        position: relative;
        padding-top: 7px;
        color: #fff;
        font-size: var(--fs-sm);
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        line-height: 1;
    }

.summary-alerts-title[b-wnt2hpsqr6] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

    .summary-alerts-title b[b-wnt2hpsqr6] {
        flex: none;
        color: #a3202c;
    }

/* The desktop names the Lager right in the head; a phone has no room for them there. */
.summary-alerts-names[b-wnt2hpsqr6] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
}

.summary-alerts-chevron[b-wnt2hpsqr6] {
    flex: none;
    color: #a3202c;
    transition: transform 0.2s ease;
}

/* The rows start under the head's text, not under the triangle. */
.summary-alerts-list[b-wnt2hpsqr6] {
    list-style: none;
    margin: 0;
    padding: 0 16px 6px 64px;
}

    .summary-alerts-list li[b-wnt2hpsqr6] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
        border-top: 1px solid #f3d3d7;
    }

.summary-alerts-text[b-wnt2hpsqr6] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .summary-alerts-text b[b-wnt2hpsqr6] {
        color: #a3202c;
    }

    .summary-alerts-text > span[b-wnt2hpsqr6] {
        font-size: var(--fs-sm);
        color: var(--text-muted);
    }

.summary-alerts-action[b-wnt2hpsqr6] {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #a3202c;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px #f3c5ca;
}

    .summary-alerts-action:hover[b-wnt2hpsqr6] {
        background: #fde8ea;
    }

/* Open or folded: the user's toggle wins; until then the width decides (open on desktops, below). */
.summary-alerts.is-closed .summary-alerts-list[b-wnt2hpsqr6] {
    display: none;
}

.summary-alerts.is-open .summary-alerts-chevron[b-wnt2hpsqr6],
.summary-alerts.is-auto .summary-alerts-chevron[b-wnt2hpsqr6] {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .summary-alerts.is-auto .summary-alerts-list[b-wnt2hpsqr6] {
        display: none;
    }

    .summary-alerts.is-auto .summary-alerts-chevron[b-wnt2hpsqr6] {
        transform: none;
    }

    .summary-alerts-names[b-wnt2hpsqr6] {
        display: none;
    }

    .summary-alerts-head[b-wnt2hpsqr6] {
        padding: 10px 12px;
    }

    .summary-alerts-list[b-wnt2hpsqr6] {
        padding: 0 12px 4px;
    }
}

@container pane (max-width: 640px) {
    .summary-nums[b-wnt2hpsqr6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summary-nums div[b-wnt2hpsqr6] {
        border-left: 0;
        border-top: 1px solid var(--surface-line);
        padding: 14px 16px;
    }

    .summary-nums div:nth-child(even)[b-wnt2hpsqr6] {
        border-left: 1px solid var(--surface-line);
    }

    .summary-nums div:nth-child(-n+2)[b-wnt2hpsqr6] {
        border-top: 0;
    }
}
/* /Components/Article/ArticleStockTable.razor.rz.scp.css */
.stock-pad[b-u4pbbm02bw] {
    padding: 0 18px 16px;
}


.stock-wrap[b-u4pbbm02bw] {
    overflow-x: auto;
}

/* Drawn like the compact lists beside it (Lager → Artikel): no header band, hairlines between rows, the name in ink
   with its place beneath — only the figures keep their columns. */
.stock-table[b-u4pbbm02bw] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
}

.stock-table th[b-u4pbbm02bw] {
    text-align: left;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0.9rem 6px;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.stock-table td[b-u4pbbm02bw] {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

/* The outer edges line up with the section head above (18px). */
.stock-table :is(th, td):first-child[b-u4pbbm02bw] {
    padding-left: 18px;
}

.stock-table :is(th, td):last-child[b-u4pbbm02bw] {
    padding-right: 18px;
}

.stock-table tbody tr:last-child td[b-u4pbbm02bw] {
    border-bottom: 0;
}

.stock-table tbody tr:hover td[b-u4pbbm02bw] {
    background: #f8fafc;
}

.stock-table .num[b-u4pbbm02bw] {
    text-align: right;
    white-space: nowrap;
    color: #222;
}

.stock-lager[b-u4pbbm02bw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.stock-icon[b-u4pbbm02bw] {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    background: color-mix(in srgb, var(--item-accent, var(--accent-color)) 12%, white);
    color: var(--item-accent, var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-body[b-u4pbbm02bw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.stock-name[b-u4pbbm02bw] {
    font-size: var(--fs-base);
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    white-space: nowrap;
}

.stock-lager:hover .stock-name[b-u4pbbm02bw] {
    text-decoration: underline;
}

.stock-place[b-u4pbbm02bw] {
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--color-gray-500, #5c7180);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stock-table .stock-free[b-u4pbbm02bw] {
    font-size: var(--fs-base);
    font-weight: 600;
}

.stock-table .stock-neg[b-u4pbbm02bw] {
    color: #a3202c;
    font-weight: 800;
}

.stock-bar[b-u4pbbm02bw] {
    display: block;
    width: 90px;
    height: 6px;
    border-radius: 3px;
    background: #e7edf2;
    overflow: hidden;
}

.stock-bar span[b-u4pbbm02bw] {
    display: block;
    height: 100%;
    border-radius: 3px;
}

/* A narrow pane (a phone, a narrow list middle) has no room for five columns: the Lager on the left, free stock and minimum on the right, the bar beneath. */
@container pane (max-width: 640px) {
    .stock-table thead[b-u4pbbm02bw] {
        display: none;
    }

    .stock-table tr[b-u4pbbm02bw] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px 12px;
        align-items: center;
        padding: 0.6rem 0.9rem;
        border-top: 1px solid #f1f5f9;
    }

    .stock-table tbody tr:first-child[b-u4pbbm02bw] {
        border-top: 0;
    }

    .stock-table td[b-u4pbbm02bw] {
        display: block;
        padding: 0;
        border: 0;
    }

    .stock-table tbody tr:hover td[b-u4pbbm02bw] {
        background: none;
    }

    .stock-table td:nth-child(1)[b-u4pbbm02bw] { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
    .stock-table td:nth-child(2)[b-u4pbbm02bw] { grid-column: 2; grid-row: 1; }
    .stock-table td:nth-child(3)[b-u4pbbm02bw] { display: none; }
    .stock-table td:nth-child(4)[b-u4pbbm02bw] { grid-column: 2; grid-row: 2; color: var(--text-muted); }
    .stock-table td:nth-child(4)[b-u4pbbm02bw]::before { content: "Min. "; }
    .stock-table td:nth-child(5)[b-u4pbbm02bw] { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; }

    .stock-bar[b-u4pbbm02bw] {
        width: 100%;
    }
}

.stock-cell[b-u4pbbm02bw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.stock-cell .stock-lager[b-u4pbbm02bw] {
    flex: 1;
}

/* "Im Plan zeigen": the Lager has a plan. */
.stock-map[b-u4pbbm02bw] {
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    color: var(--accent-color);
    text-decoration: none;
}

.stock-map:hover[b-u4pbbm02bw] {
    background: var(--menu-item-hover);
}

/* The nearest Lager with free stock, under the rows; edges like the table's (18px). */
.stock-nearest[b-u4pbbm02bw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    margin: 0;
    padding: 0.6rem 18px 0.9rem;
    border-top: 1px solid #f1f5f9;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.stock-nearest a[b-u4pbbm02bw] {
    color: var(--text-ink);
    font-weight: 600;
    text-decoration: none;
}

.stock-nearest a:hover[b-u4pbbm02bw] {
    text-decoration: underline;
}
/* /Components/Billing/BillingTransferDialog.razor.rz.scp.css */
.bt-section[b-9aovr4a4xn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.bt-section h4[b-9aovr4a4xn] {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
}

.bt-empty[b-9aovr4a4xn] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.bt-reports[b-9aovr4a4xn],
.bt-lines[b-9aovr4a4xn],
.bt-contacts[b-9aovr4a4xn] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Rows separated by fill, not by outlines: the picked one is tinted. */
.bt-report[b-9aovr4a4xn],
.bt-contact[b-9aovr4a4xn] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--menu-item-min-height);
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    cursor: pointer;
}

.bt-report:hover[b-9aovr4a4xn],
.bt-contact:hover[b-9aovr4a4xn] {
    background: var(--menu-item-hover);
}

.bt-report.is-selected[b-9aovr4a4xn],
.bt-contact.is-selected[b-9aovr4a4xn] {
    background: var(--menu-item-selected);
}

.bt-report-main[b-9aovr4a4xn],
.bt-contact-main[b-9aovr4a4xn],
.bt-line-main[b-9aovr4a4xn] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.bt-report-name[b-9aovr4a4xn],
.bt-contact-name[b-9aovr4a4xn] {
    font-weight: 600;
    color: var(--text-ink);
}

.bt-report-meta[b-9aovr4a4xn],
.bt-contact-meta[b-9aovr4a4xn],
.bt-line-text[b-9aovr4a4xn] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.bt-badges[b-9aovr4a4xn] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.bt-badge[b-9aovr4a4xn] {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-sunken);
    font-size: var(--fs-2xs);
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.bt-badge.is-open[b-9aovr4a4xn] {
    background: #fff4e0;
    color: #8a5300;
}

.bt-lines[b-9aovr4a4xn] {
    max-height: 16rem;
    overflow-y: auto;
    padding: 4px;
    border-radius: var(--menu-item-radius);
    background: var(--surface-sunken);
}

.bt-lines li[b-9aovr4a4xn] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 4px 6px;
    font-size: var(--fs-sm);
}

.bt-lines i[b-9aovr4a4xn] {
    color: var(--text-muted);
}

.bt-line-name[b-9aovr4a4xn] {
    color: var(--text-ink);
}

.bt-line-qty[b-9aovr4a4xn],
.bt-line-price[b-9aovr4a4xn] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.bt-line-price[b-9aovr4a4xn] {
    color: var(--text-muted);
}

.bt-formats[b-9aovr4a4xn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.bt-format[b-9aovr4a4xn] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-radius: var(--menu-item-radius);
    background: var(--surface-sunken);
    color: var(--text-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.bt-format i[b-9aovr4a4xn] {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.bt-format > span[b-9aovr4a4xn] {
    display: flex;
    flex-direction: column;
}

.bt-format.is-selected[b-9aovr4a4xn] {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
}

.bt-format.is-selected i[b-9aovr4a4xn] {
    color: var(--accent-color);
}

.bt-format-hint[b-9aovr4a4xn] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.bt-check[b-9aovr4a4xn] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--fs-sm);
    cursor: pointer;
}

.bt-contact-link[b-9aovr4a4xn] {
    color: var(--text-muted);
    padding: 4px;
}

.bt-contact-link:hover[b-9aovr4a4xn] {
    color: var(--accent-color);
}

.bt-error[b-9aovr4a4xn] {
    margin: 0;
    padding: 0.6rem 0.75rem;
    border-radius: var(--menu-item-radius);
    background: #fdecec;
    color: #a3202c;
    font-size: var(--fs-sm);
}

.bt-retry[b-9aovr4a4xn] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-color);
    font: inherit;
    font-size: var(--fs-sm);
    text-decoration: underline;
    cursor: pointer;
}

.bt-done[b-9aovr4a4xn] {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.bt-done > i[b-9aovr4a4xn] {
    font-size: 1.75rem;
    color: #15803d;
}

.bt-done-title[b-9aovr4a4xn] {
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: var(--text-ink);
}

.bt-done-text[b-9aovr4a4xn] {
    margin: 0 0 0.75rem;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.bt-open[b-9aovr4a4xn] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--accent-color);
}
/* /Components/Billing/ReportBillingDrafts.razor.rz.scp.css */
.rbd[b-kyuqg3rwsw] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.rbd li[b-kyuqg3rwsw] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rbd a[b-kyuqg3rwsw] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--accent-color);
}
/* /Components/Catalog/ArticleAttributesFieldEditor.razor.rz.scp.css */
/* One grid for all rows (each row a subgrid), so names, values and tags line up whatever tags a row carries. */
.aa-rows[b-2il2hfr8dd] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto auto;
    gap: 6px 8px;
    padding: 0;
}

.aa-rows > :not(.aa-row)[b-2il2hfr8dd] {
    grid-column: 1 / -1;
}

.aa-empty[b-2il2hfr8dd] {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.aa-row[b-2il2hfr8dd] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
}

/* The unit of a number stands fixed at the field's end; only the number is typed. */
.aa-value[b-2il2hfr8dd] {
    position: relative;
    min-width: 0;
}

.aa-value.has-unit .aa-input[b-2il2hfr8dd] {
    padding-right: 3.4em;
}

.aa-unit[b-2il2hfr8dd] {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
    pointer-events: none;
}

/* Fields stand out by their fill, not a frame. */
.aa-input[b-2il2hfr8dd] {
    width: 100%;
    min-width: 0;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 500;
    outline: none;
}

.aa-input:focus[b-2il2hfr8dd] {
    background: #fff;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color) 45%, transparent);
}

.aa-name[b-2il2hfr8dd] {
    font-weight: 700;
}

.aa-tags[b-2il2hfr8dd] {
    display: inline-flex;
    gap: 4px;
}

.aa-tag[b-2il2hfr8dd] {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: var(--text-muted);
    font-size: var(--fs-2xs);
    font-weight: 700;
    white-space: nowrap;
}

.aa-tag.family[b-2il2hfr8dd] {
    background: color-mix(in srgb, var(--accent-color) 12%, #fff);
    color: var(--accent-color);
}

.aa-tag.new[b-2il2hfr8dd] {
    background: #fef3c7;
    color: #92400e;
}

.aa-remove[b-2il2hfr8dd] {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
}

.aa-remove:hover[b-2il2hfr8dd] {
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--accent-color);
}

.aa-foot[b-2il2hfr8dd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 0 0;
}

.aa-add[b-2il2hfr8dd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color) 9%, #fff);
    color: var(--accent-color);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.aa-message[b-2il2hfr8dd] {
    flex: 1;
    min-width: 0;
    color: #92400e;
    font-size: var(--fs-xs);
}

.aa-message.error[b-2il2hfr8dd] {
    color: #a3202c;
    font-weight: 600;
}

@container pane (max-width: 520px) {
    .aa-rows[b-2il2hfr8dd] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }

    .aa-tags[b-2il2hfr8dd] {
        display: none;
    }
}

.aa-family[b-2il2hfr8dd] {
    margin: 0 0 2px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}
/* /Components/Catalog/ArticleCard.razor.rz.scp.css */
.article-card[b-jysb66g5q6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border-radius: var(--surface-radius);
    background: #fff;
    box-shadow: var(--surface-shadow);
    overflow: hidden;
    color: var(--text-ink);
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.article-card:hover[b-jysb66g5q6] {
    box-shadow: var(--surface-shadow-hover);
    transform: translateY(-1px);
}

.article-card:focus-visible[b-jysb66g5q6] {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.article-card[b-jysb66g5q6]  .article-card-img {
    aspect-ratio: 4 / 3;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid var(--surface-line);
}

.article-card[b-jysb66g5q6]  .article-card-img.empty {
    padding: 0;
    font-size: 1.4rem;
}

/* A family: its pictures leaf on hover (FamilyPicture), padded like the single picture. */
.article-card[b-jysb66g5q6]  .article-card-pic {
    --fam-pic-pad: 10px;
}

.article-card[b-jysb66g5q6]  .article-card-pic .fam-pic-layer {
    bottom: 1px;
}

.article-card-variants[b-jysb66g5q6] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--accent-color);
}

.article-card-body[b-jysb66g5q6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 10px 12px 12px;
    min-width: 0;
}

.article-card-name[b-jysb66g5q6] {
    font-size: var(--fs-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* The whole name over a name cut off at two lines (wwwroot/js/hover-bubble.js, data-bubble-clamped): a popover in the
   top layer, dark like the variant bubbles, the arrow pointing at the name. */
.article-card-tip[b-jysb66g5q6] {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 7px 11px;
    border: 0;
    border-radius: 10px;
    width: max-content;
    max-width: 18rem;
    overflow: visible;
    background: #10283f;
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 10px 30px rgba(16, 40, 64, 0.22), 0 1px 3px rgba(16, 40, 64, 0.12);
    pointer-events: none;
}

.article-card-tip:popover-open[b-jysb66g5q6] {
    display: block;
    animation: article-card-tip-in-b-jysb66g5q6 0.14s ease-out;
}

@keyframes article-card-tip-in-b-jysb66g5q6 {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
}

.article-card-tip[b-jysb66g5q6]::after {
    content: "";
    position: absolute;
    left: var(--bubble-arrow-x, 50%);
    top: 100%;
    translate: -50% 0;
    border: 6px solid transparent;
    border-bottom: 0;
    border-top-color: #10283f;
}

.article-card-tip[data-side="below"][b-jysb66g5q6]::after {
    top: auto;
    bottom: 100%;
    border: 6px solid transparent;
    border-top: 0;
    border-bottom-color: #10283f;
}

.article-card-desc[b-jysb66g5q6] {
    font-size: var(--fs-xs);
    line-height: 1.4;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
}

/* The stock is mentioned, not shown off: last line, small, grey. */
.article-card-stock[b-jysb66g5q6] {
    margin-top: auto;
    padding-top: 4px;
    font-size: var(--fs-2xs);
    color: #8593a2;
}
/* /Components/Catalog/ArticleFamilyPreview.razor.rz.scp.css */
/* The figures, as an article's middle draws them (ArticlePreview.razor.css): sums over the variants. */
.preview-nums[b-kwmeqpd4ml] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--surface-line);
}

.preview-nums div[b-kwmeqpd4ml] {
    padding: 12px 18px;
    border-left: 1px solid var(--surface-line);
}

.preview-nums div:first-child[b-kwmeqpd4ml] {
    border-left: 0;
}

.preview-nums span[b-kwmeqpd4ml] {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.preview-nums b[b-kwmeqpd4ml] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

/* A narrow middle: two figures per row, as the article page does on a phone (ArticleStockSummary). */
@container pane (max-width: 640px) {
    .preview-nums[b-kwmeqpd4ml] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .preview-nums div[b-kwmeqpd4ml] {
        border-left: 0;
        border-top: 1px solid var(--surface-line);
    }

    .preview-nums div:nth-child(even)[b-kwmeqpd4ml] {
        border-left: 1px solid var(--surface-line);
    }

    .preview-nums div:nth-child(-n+2)[b-kwmeqpd4ml] {
        border-top: 0;
    }
}

/* The head's picture leafs like the cards (FamilyPicture), at the size of an article's photo. */
.fam-photo[b-kwmeqpd4ml]  .fam-pic {
    width: 100%;
    height: 100%;
    --fam-pic-pad: 3px;
}

.fam-photo[b-kwmeqpd4ml]  .cat-img {
    padding: 3px;
}

/* ---- Varianten: one axis or many — a list ------------------------------------------------------------------- */

.fam-list[b-kwmeqpd4ml] {
    list-style: none;
    margin: 0;
    padding: 4px 8px 8px;
}

.fam-row[b-kwmeqpd4ml] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--text-ink);
    text-align: left;
    cursor: pointer;
}

.fam-row:hover[b-kwmeqpd4ml] {
    background: var(--surface-hover, #f3f5f8);
}

/* A supplier row is a link to the supplier. */
a.fam-row[b-kwmeqpd4ml] {
    text-decoration: none;
}

.fam-row-go[b-kwmeqpd4ml] {
    flex: none;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.fam-row-img[b-kwmeqpd4ml] {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--surface-line);
}

.fam-row-img[b-kwmeqpd4ml]  .cat-img {
    width: 100%;
    height: 100%;
    padding: 2px;
}

.fam-row-text[b-kwmeqpd4ml] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.fam-row-text b[b-kwmeqpd4ml] {
    font-size: var(--fs-sm);
}

.fam-row-text small[b-kwmeqpd4ml] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fam-row-stock[b-kwmeqpd4ml] {
    flex: none;
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
}

.fam-row-stock.empty[b-kwmeqpd4ml] {
    color: var(--text-muted);
}

.fam-warn[b-kwmeqpd4ml] {
    color: #c2410c;
}

/* ---- Varianten: two axes — a matrix --------------------------------------------------------------------------- */

.fam-matrix-wrap[b-kwmeqpd4ml] {
    overflow-x: auto;
    padding: 8px 12px 12px;
}

.fam-matrix[b-kwmeqpd4ml] {
    border-collapse: separate;
    border-spacing: 4px;
    font-size: var(--fs-sm);
}

.fam-matrix th[b-kwmeqpd4ml] {
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    text-align: center;
    padding: 4px 6px;
}

.fam-matrix th[scope="row"][b-kwmeqpd4ml] {
    text-align: right;
    color: var(--text-ink);
}

.fam-matrix thead th:first-child[b-kwmeqpd4ml] {
    text-align: right;
    font-weight: 500;
    font-size: var(--fs-xs);
}

.fam-axis-cross[b-kwmeqpd4ml] {
    opacity: 0.6;
}

/* A cell is the variant at a glance: its picture on white, its free stock below on the tint. */
.fam-cell[b-kwmeqpd4ml] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    min-width: 84px;
    padding: 5px 5px 6px;
    border: 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-color) 9%, #fff);
    color: var(--text-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

.fam-cell-img[b-kwmeqpd4ml] {
    display: block;
    height: 56px;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.fam-cell-img[b-kwmeqpd4ml]  .cat-img {
    width: 100%;
    height: 100%;
    padding: 4px;
}

.fam-cell-stock[b-kwmeqpd4ml] {
    font-size: var(--fs-xs);
}

.fam-cell:hover[b-kwmeqpd4ml] {
    background: color-mix(in srgb, var(--accent-color) 18%, #fff);
}

.fam-cell.empty[b-kwmeqpd4ml] {
    background: var(--surface-sunken);
    color: var(--text-muted);
}

.fam-cell.below[b-kwmeqpd4ml] {
    box-shadow: inset 0 0 0 1.5px #ea580c;
}

.fam-gap[b-kwmeqpd4ml] {
    text-align: center;
    color: #c4ccd6;
}

/* Narrow (a phone, a narrow middle): the matrix turned so the axis with the fewest values runs across
   (VariantMatrix.NarrowOrder), with smaller cells. What still does not fit scrolls sideways under the row heads,
   which stay put on the left. */
.fam-matrix-narrow[b-kwmeqpd4ml] {
    display: none;
}

@container pane (max-width: 640px) {
    .fam-matrix-wrap[b-kwmeqpd4ml] {
        padding: 4px 8px 10px;
    }

    .fam-matrix-wide[b-kwmeqpd4ml] {
        display: none;
    }

    .fam-matrix-narrow[b-kwmeqpd4ml] {
        display: table;
    }

    .fam-matrix[b-kwmeqpd4ml] {
        border-spacing: 3px;
    }

    .fam-matrix th[b-kwmeqpd4ml] {
        padding: 2px 4px;
        white-space: normal;
    }

    .fam-matrix th[scope="row"][b-kwmeqpd4ml],
    .fam-matrix thead th:first-child[b-kwmeqpd4ml] {
        position: sticky;
        left: 0;
        z-index: 1;
        max-width: 7.5rem;
        background: #fff;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .fam-cell[b-kwmeqpd4ml] {
        min-width: 64px;
        gap: 3px;
        padding: 4px 4px 5px;
    }

    .fam-cell-img[b-kwmeqpd4ml] {
        height: 44px;
    }
}

/* ---- Bestand ------------------------------------------------------------------------------------------------- */

.fam-stock[b-kwmeqpd4ml] {
    list-style: none;
    margin: 0;
    padding: 0 8px 8px;
}

.fam-stock summary[b-kwmeqpd4ml] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
}

.fam-stock summary[b-kwmeqpd4ml]::-webkit-details-marker {
    display: none;
}

.fam-stock summary:hover[b-kwmeqpd4ml] {
    background: var(--surface-hover, #f3f5f8);
}

.fam-stock-open[b-kwmeqpd4ml] {
    transition: transform 0.15s ease;
    color: var(--text-muted);
}

.fam-stock details[open] .fam-stock-open[b-kwmeqpd4ml] {
    transform: rotate(90deg);
}

.fam-stock-name[b-kwmeqpd4ml] {
    flex: 1;
    font-weight: 600;
    min-width: 0;
}

.fam-stock-num[b-kwmeqpd4ml] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.fam-stock-num.muted[b-kwmeqpd4ml] {
    color: var(--text-muted);
}

.fam-stock-num.below[b-kwmeqpd4ml] {
    color: #c2410c;
}

.fam-stock details ul[b-kwmeqpd4ml] {
    list-style: none;
    margin: 0 0 6px 30px;
    padding: 0;
}

.fam-stock details li[b-kwmeqpd4ml] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 10px 3px 0;
    font-size: var(--fs-sm);
}

.fam-stock-part[b-kwmeqpd4ml] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 2px 0;
    border: 0;
    background: none;
    color: var(--text-ink);
    text-align: left;
    cursor: pointer;
}

.fam-stock-part:hover span[b-kwmeqpd4ml] {
    color: var(--accent-color);
}

.fam-stock-part small[b-kwmeqpd4ml] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

/* ---- Bilder -------------------------------------------------------------------------------------------------- */

.fam-pictures[b-kwmeqpd4ml] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 12px;
}

.fam-picture[b-kwmeqpd4ml] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.fam-picture-img[b-kwmeqpd4ml] {
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--surface-line);
    cursor: zoom-in;
}

.fam-picture-img[b-kwmeqpd4ml]  .cat-img {
    aspect-ratio: 1;
    width: 100%;
    padding: 8px;
}

.fam-picture figcaption[b-kwmeqpd4ml] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* A gap a curator can fill: a small grey plus where other people see the dot, so it is found without a pointer too;
   under the pointer or the keyboard the whole cell becomes the placeholder. */
.fam-add[b-kwmeqpd4ml] {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 84px;
    height: 86px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #aab4c0;
    font-size: 0.85rem;
    cursor: pointer;
}

.fam-add:hover[b-kwmeqpd4ml],
.fam-add:focus-visible[b-kwmeqpd4ml] {
    background: var(--surface-sunken);
    color: var(--accent-color);
    font-size: 1.15rem;
    outline: none;
}
/* /Components/Catalog/ArticleGallery.razor.rz.scp.css */
.ag-root[b-m6mjp4zrvh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ag-main[b-m6mjp4zrvh],
.ag-thumb[b-m6mjp4zrvh] {
    position: relative;
    padding: 0;
    border: 1px solid var(--surface-line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: zoom-in;
}

.ag-main[b-m6mjp4zrvh]  .ag-main-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 10px;
}

.ag-thumbs[b-m6mjp4zrvh] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ag-thumb[b-m6mjp4zrvh]  .cat-img {
    width: 100%;
    aspect-ratio: 1;
    padding: 4px;
}

.ag-more[b-m6mjp4zrvh] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 40, 58, 0.55);
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-sm);
}
/* /Components/Catalog/ArticleImages.razor.rz.scp.css */
.ai-root[b-1d2dcbh805] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px 18px;
}

.ai-head[b-1d2dcbh805] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ai-hint[b-1d2dcbh805] {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.ai-actions[b-1d2dcbh805] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-pick[b-1d2dcbh805] {
    position: relative;
    cursor: pointer;
}

.ai-pick.busy[b-1d2dcbh805] {
    cursor: default;
    opacity: 0.7;
}

/* The file input covers its label, so a click anywhere on the button picks. */
.ai-pick[b-1d2dcbh805]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ai-empty[b-1d2dcbh805] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 12px;
    border-radius: 12px;
    border: 1px dashed #cfd9e3;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.ai-empty i[b-1d2dcbh805] {
    font-size: 1.8rem;
    color: #9aa8b6;
}

.ai-empty p[b-1d2dcbh805] {
    margin: 0;
}

.ai-grid[b-1d2dcbh805] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-tile[b-1d2dcbh805] {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid var(--surface-line);
    background: #fff;
    overflow: hidden;
}

.ai-open[b-1d2dcbh805] {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.ai-open[b-1d2dcbh805]  .ai-img {
    aspect-ratio: 1;
    width: 100%;
    padding: 8px;
}

.ai-main[b-1d2dcbh805] {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: var(--fs-2xs);
    font-weight: 700;
}

.ai-tile-actions[b-1d2dcbh805] {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 4px;
    border-top: 1px solid var(--surface-line);
}

.ai-tile-actions button[b-1d2dcbh805] {
    width: 32px;
    height: 30px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
}

.ai-tile-actions button:hover:not(:disabled)[b-1d2dcbh805] {
    background: var(--menu-item-hover);
    color: var(--text-ink);
}

.ai-tile-actions button.danger:hover:not(:disabled)[b-1d2dcbh805] {
    color: var(--menu-item-danger);
}

.ai-tile-actions button:disabled[b-1d2dcbh805] {
    opacity: 0.35;
    cursor: default;
}
/* /Components/Catalog/ArticleThumb.razor.rz.scp.css */
.art-thumb[b-40ffyh8tu9] {
    display: block;
    width: var(--art-thumb-size, 2.5rem);
    height: var(--art-thumb-size, 2.5rem);
    border-radius: var(--border-radius);
    flex: none;
}

.art-thumb[b-40ffyh8tu9]  .cat-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}
/* /Components/Catalog/ArticleVariantStrip.razor.rz.scp.css */
/* The values of every axis, one row per axis, on a tinted strip. Every row has the same width and cell size, so
   the chips stand in columns across the axes. */
.var-strip[b-g85kua2rmk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 18px 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent-color) 5%, var(--surface-sunken));
}

/* Cells of one width in every axis — the longest value plus the chip's padding. */
.var-chips[b-g85kua2rmk] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(var(--var-len, 4) * 1ch + 26px), 1fr));
    gap: 6px;
    min-width: 0;
    font-size: var(--fs-xs);
}

.var-chip[b-g85kua2rmk] {
    min-width: 0;
    padding: 4px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--text-ink);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

/* Lifted, not outlined: on the tinted strip a ring reads as a stray frame and a tint as a hole. */
.var-chip:hover[b-g85kua2rmk] {
    color: var(--accent-color);
    box-shadow: 0 1px 4px rgba(16, 40, 64, 0.18);
}

.var-chip.on[b-g85kua2rmk] {
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    cursor: default;
}

/* Leads to a variant that differs on another axis as well. */
.var-chip.loose[b-g85kua2rmk] {
    color: var(--text-muted);
    background: transparent;
}

.var-chip.loose:hover[b-g85kua2rmk] {
    background: color-mix(in srgb, var(--accent-color) 8%, transparent);
}

@container pane (max-width: 520px) {
    .var-strip[b-g85kua2rmk] {
        margin: 0 12px 12px;
    }
}

/* ---- On a phone: the sheet from the bottom (BottomDrawer) ------------------------------------------------------ */

/* Folded only this line shows: the family, then what this variant is, in the accent. */
.var-drawer-head[b-g85kua2rmk] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0 2px 12px;
    border: 0;
    background: none;
    color: var(--text-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.var-drawer-head > i[b-g85kua2rmk] {
    flex: none;
    color: var(--text-muted);
}

.var-drawer-head b[b-g85kua2rmk] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.var-drawer-head span[b-g85kua2rmk] {
    flex: none;
    color: var(--accent-color);
    font-weight: 700;
    white-space: nowrap;
}

.var-drawer-chevron[b-g85kua2rmk] {
    margin-left: auto;
}

/* On the white sheet the chips need a ground of their own, and room for a thumb. */
.var-drawer .var-strip[b-g85kua2rmk] {
    margin: 0;
    padding: 0;
    background: none;
}

.var-drawer .var-chips[b-g85kua2rmk] {
    font-size: var(--fs-sm);
}

.var-drawer .var-chip[b-g85kua2rmk] {
    padding: 6px 10px;
    background: var(--surface-sunken);
    font-size: var(--fs-sm);
}

.var-drawer .var-chip.on[b-g85kua2rmk] {
    background: var(--accent-color);
}

.var-drawer .var-chip.loose[b-g85kua2rmk] {
    background: transparent;
}

/* The sheet's home in the head takes no room (the sheet itself lives in <body> once the script has moved it). */
.var-drawer-mark[b-g85kua2rmk] {
    display: contents;
}
/* /Components/Catalog/CatalogGallery.razor.rz.scp.css */
/* Heading, tiles of the categories below, the cards. */
.kt-middle[b-a2khfy02ns] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
}

.kt-top[b-a2khfy02ns] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kt-heading h2[b-a2khfy02ns] {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text-ink);
}

.kt-sub[b-a2khfy02ns] {
    margin: 2px 0 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* The way up: each step a white pill on the page ground, big enough to hit with a thumb. */
.kt-crumbs[b-a2khfy02ns] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.kt-crumbs button[b-a2khfy02ns] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--surface-shadow);
    color: var(--primary-color);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.kt-crumbs button:hover[b-a2khfy02ns] {
    background: color-mix(in srgb, var(--accent-color) 10%, #fff);
}

.kt-crumbs button i[b-a2khfy02ns] {
    color: var(--accent-color);
}

.kt-crumb-sep[b-a2khfy02ns] {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.kt-tiles[b-a2khfy02ns] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.kt-tile[b-a2khfy02ns] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--surface-shadow);
    color: var(--text-ink);
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.kt-tile:hover[b-a2khfy02ns] {
    box-shadow: var(--surface-shadow-hover);
}

.kt-tile[b-a2khfy02ns]  .kt-tile-img {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 9px;
}

.kt-tile-text[b-a2khfy02ns] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kt-tile-text b[b-a2khfy02ns] {
    font-size: var(--fs-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kt-tile-text small[b-a2khfy02ns] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.kt-grid[b-a2khfy02ns] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.kt-skeleton[b-a2khfy02ns] {
    height: 280px;
    border-radius: var(--surface-radius);
    background: linear-gradient(90deg, #fff 0%, #f4f7fa 50%, #fff 100%);
    background-size: 200% 100%;
    box-shadow: var(--surface-shadow);
    animation: kt-shimmer-b-a2khfy02ns 1.4s ease-in-out infinite;
}

@keyframes kt-shimmer-b-a2khfy02ns {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.kt-empty[b-a2khfy02ns] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px 16px;
    border-radius: var(--surface-radius);
    background: #fff;
    box-shadow: var(--surface-shadow);
    color: var(--text-muted);
    text-align: center;
}

.kt-empty i[b-a2khfy02ns] {
    font-size: 2rem;
    color: #9aa8b6;
}

.kt-empty p[b-a2khfy02ns] {
    margin: 0;
}

.kt-more[b-a2khfy02ns] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 1px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* What the script watches: an empty zone reaching up over the last rows of cards, so the next page is asked for about
   two rows before the end. Not drawn, not in the way of a click. */
.kt-more-zone[b-a2khfy02ns] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 800px;
    pointer-events: none;
}

/* Desktop: the middle starts level with the list's panel. */
@media (min-width: 1025px) {
    .kt-middle[b-a2khfy02ns] {
        padding-top: 4px;
    }

    /* Heading and tiles stick to the top of the middle's own scroller; the cards pass beneath, frosted by the band.
       The band reaches over the scroller's 14px side padding so the frost spans the whole middle, and its lower
       padding (handed back below, the layout stays as it was) frosts the cards just under the tiles too. */
    .kt-top[b-a2khfy02ns] {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 -14px -16px;
        padding: 0 14px 16px;
        background: color-mix(in srgb, var(--page-ground) 72%, transparent);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
    }
}

/* Phones and tablets: smaller tiles; two cards per row on a phone, so a page shows more than one article. */
@media (max-width: 1024px) {
    .kt-heading h2[b-a2khfy02ns] {
        font-size: var(--fs-lg);
    }

    .kt-crumbs button[b-a2khfy02ns] {
        height: 40px;
    }

    .kt-grid[b-a2khfy02ns] {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .kt-tiles[b-a2khfy02ns] {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .kt-tile[b-a2khfy02ns]  .kt-tile-img {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {
    .kt-grid[b-a2khfy02ns] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Catalog/CatalogImage.razor.rz.scp.css */
.cat-img[b-ytqau52eon] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    color: #9aa8b6;
}

.cat-img.empty[b-ytqau52eon] {
    background: var(--surface-sunken);
}

.cat-img img[b-ytqau52eon] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.28s ease-out;
}

.cat-img img.is-loaded[b-ytqau52eon] {
    opacity: 1;
}

.cat-img img.is-failed[b-ytqau52eon] {
    display: none;
}

/* The icon is the stand-in: shown without a picture or when it failed, hidden behind one that loads or is shown. */
.cat-img i[b-ytqau52eon] {
    font-size: 1.6em;
}

.cat-img:has(img:not(.is-failed)) i[b-ytqau52eon] {
    display: none;
}

/* Loading: a soft light sweeping over the box until the picture is there. */
.cat-img:has(img:not(.is-loaded):not(.is-failed))[b-ytqau52eon] {
    background: linear-gradient(100deg, var(--surface-sunken) 30%, #f8fafc 50%, var(--surface-sunken) 70%);
    background-size: 300% 100%;
    animation: cat-img-shimmer-b-ytqau52eon 1.3s ease-in-out infinite;
}

@keyframes cat-img-shimmer-b-ytqau52eon {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cat-img img[b-ytqau52eon] {
        transition: none;
    }

    .cat-img:has(img:not(.is-loaded):not(.is-failed))[b-ytqau52eon] {
        animation: none;
    }
}
/* /Components/Catalog/CategoryFieldEditor.razor.rz.scp.css */
.cat-field[b-o662bl2dtc] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-field li[b-o662bl2dtc] {
    padding-left: calc(var(--depth) * 20px);
}

.cat-field label[b-o662bl2dtc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.cat-field label:hover[b-o662bl2dtc] {
    background: var(--menu-item-hover);
}

.cat-field label.on[b-o662bl2dtc] {
    font-weight: 600;
}

.cat-field-empty[b-o662bl2dtc] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
/* /Components/Catalog/FamilyEditorDialog.razor.rz.scp.css */
.fe-root[b-411egjdpq5] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: var(--fs-sm);
}

.fe-loading[b-411egjdpq5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

/* New family or an existing one: two halves of one switch. */
.fe-target[b-411egjdpq5] {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px;
    border-radius: 999px;
    background: var(--surface-sunken);
}

.fe-target button[b-411egjdpq5] {
    padding: 5px 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
}

.fe-target button.on[b-411egjdpq5] {
    background: #fff;
    color: var(--text-ink);
    box-shadow: 0 1px 3px rgba(16, 40, 64, 0.14);
}

.fe-fields[b-411egjdpq5] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.fe-field[b-411egjdpq5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fe-field > span[b-411egjdpq5] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

/* Fields stand out by their fill, not a frame. */
.fe-input[b-411egjdpq5] {
    width: 100%;
    min-width: 0;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: var(--text-ink);
    font: inherit;
    font-weight: 500;
    outline: none;
}

.fe-input:focus[b-411egjdpq5] {
    background: #fff;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color) 45%, transparent);
}

.fe-section-head[b-411egjdpq5] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
}

.fe-section-head h3[b-411egjdpq5] {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 700;
}

.fe-section-head span[b-411egjdpq5] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.fe-axes[b-411egjdpq5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.fe-axis[b-411egjdpq5] {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 2px 3px 2px 2px;
    border-radius: 10px;
    background: var(--surface-sunken);
}

.fe-axis .fe-input[b-411egjdpq5] {
    width: 130px;
    padding: 5px 8px;
    background: #fff;
}

.fe-new[b-411egjdpq5] {
    padding: 1px 7px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: var(--fs-2xs);
    font-weight: 700;
}

.fe-unit[b-411egjdpq5] {
    margin-left: 3px;
    font-weight: 500;
}

.fe-closed[b-411egjdpq5] {
    margin-left: 4px;
    font-size: 0.75rem;
}

.fe-icon[b-411egjdpq5] {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
}

.fe-icon:hover:not(:disabled)[b-411egjdpq5] {
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--accent-color);
}

.fe-icon:disabled[b-411egjdpq5] {
    opacity: 0.35;
    cursor: default;
}

.fe-add[b-411egjdpq5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color) 9%, #fff);
    color: var(--accent-color);
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.fe-add:hover[b-411egjdpq5] {
    background: color-mix(in srgb, var(--accent-color) 16%, #fff);
}

/* The variants: scrolls sideways when a family has many axes, and down when it has many variants. */
.fe-table-wrap[b-411egjdpq5] {
    max-height: 46vh;
    overflow: auto;
    border-radius: 10px;
    background: var(--surface-sunken);
}

.fe-table[b-411egjdpq5] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.fe-table th[b-411egjdpq5] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 7px 8px;
    background: var(--surface-sunken);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.fe-table td[b-411egjdpq5] {
    padding: 4px 6px;
    vertical-align: middle;
    border-top: 1px solid color-mix(in srgb, var(--surface-line) 70%, transparent);
}

.fe-table tr.refused td[b-411egjdpq5] {
    background: #fdecee;
}

.fe-article[b-411egjdpq5] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    max-width: 280px;
}

.fe-thumb[b-411egjdpq5] {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.fe-thumb[b-411egjdpq5]  .cat-img {
    width: 100%;
    height: 100%;
    padding: 2px;
}

.fe-article-text[b-411egjdpq5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fe-article-text b[b-411egjdpq5] {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fe-article-text small[b-411egjdpq5] {
    color: var(--text-muted);
    font-size: var(--fs-2xs);
    white-space: nowrap;
}

.fe-moves[b-411egjdpq5] {
    margin-left: 6px;
    color: #b45309;
}

.fe-value[b-411egjdpq5] {
    min-width: 96px;
    background: #fff;
}

.fe-note td[b-411egjdpq5] {
    padding: 2px 10px 8px 48px;
    border-top: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.fe-note.error td[b-411egjdpq5] {
    background: #fdecee;
    color: #a3202c;
}

.fe-note i[b-411egjdpq5] {
    margin-right: 6px;
}

.fe-removed[b-411egjdpq5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.fe-chip[b-411egjdpq5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: var(--text-ink);
    font: inherit;
    text-decoration: line-through;
    cursor: pointer;
}

.fe-adders[b-411egjdpq5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.fe-picker[b-411egjdpq5] {
    flex: 1 1 260px;
    min-width: 0;
}

.fe-error[b-411egjdpq5] {
    margin: 0;
    color: #a3202c;
    font-weight: 600;
}

.fe-error i[b-411egjdpq5] {
    margin-right: 6px;
}

.fe-warning[b-411egjdpq5] {
    margin: 0;
    color: #92400e;
}

.fe-warning i[b-411egjdpq5] {
    margin-right: 6px;
}

.fe-actions[b-411egjdpq5] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

@container pane (max-width: 560px) {
    .fe-fields[b-411egjdpq5] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Catalog/FamilyPicture.razor.rz.scp.css */
.fam-pic[b-6rzyt16h9e] {
    position: relative;
    display: block;
    min-width: 0;
}

.fam-pic[b-6rzyt16h9e]  > .cat-img {
    width: 100%;
    height: 100%;
}

/* The further pictures lie over the first one, invisible until their turn; their padding follows the place
   (--fam-pic-pad, set where the first picture is padded too). */
.fam-pic-layer[b-6rzyt16h9e] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--fam-pic-pad, 0);
    background: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.fam-pic-layer.is-shown[b-6rzyt16h9e] {
    opacity: 1;
}

.fam-pic-layer[b-6rzyt16h9e]  img,
.fam-pic-layer img[b-6rzyt16h9e] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Whose picture is shown: a small frosted chip at the top, only while the pointer rests on the picture. One name per
   picture, family-picture.js marks the shown one. */
.fam-pic-names[b-6rzyt16h9e] {
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 2;
    translate: -50% 0;
    display: flex;
    max-width: calc(100% - 16px);
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(8px) saturate(1.4);
    backdrop-filter: blur(8px) saturate(1.4);
    box-shadow: 0 1px 4px rgba(16, 40, 64, 0.12);
    color: var(--text-ink);
    font-size: var(--fs-2xs);
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.fam-pic:hover > .fam-pic-names[b-6rzyt16h9e],
.fam-pic[data-swiping] > .fam-pic-names[b-6rzyt16h9e] {
    opacity: 1;
}

/* A picture with dots leafs by a sideways swipe on touch screens (family-picture.js); the browser keeps only the
   upright scroll. */
.fam-pic[data-cycle]:has(> .fam-pic-dots)[b-6rzyt16h9e] {
    touch-action: pan-y;
}

.fam-pic-name[b-6rzyt16h9e] {
    display: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fam-pic-name.on[b-6rzyt16h9e] {
    display: block;
}

/* How many pictures and which one: fixed squares with a full radius, so they stay round whatever the font. */
.fam-pic-dots[b-6rzyt16h9e] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.fam-pic-dot[b-6rzyt16h9e] {
    flex: none;
    box-sizing: content-box;
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fam-pic-dot.on[b-6rzyt16h9e] {
    background: var(--accent-color);
}

/* Along the bottom while the pictures leaf: fills up while one stands, full when the next comes. Hidden otherwise.
   family-picture.js restarts the fill for every picture and sets its duration. */
.fam-pic-progress[b-6rzyt16h9e] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 1;
    background: color-mix(in srgb, var(--accent-color) 14%, transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.fam-pic[data-cycling] .fam-pic-progress[b-6rzyt16h9e] {
    opacity: 1;
}

.fam-pic-progress-fill[b-6rzyt16h9e] {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent-color);
}

.fam-pic-progress-fill.is-running[b-6rzyt16h9e] {
    animation: fam-pic-fill-b-6rzyt16h9e var(--fam-pic-step, 1100ms) linear forwards;
}

@keyframes fam-pic-fill-b-6rzyt16h9e {
    from { width: 0; }
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .fam-pic-layer[b-6rzyt16h9e] {
        transition: none;
    }
}
/* /Components/Catalog/ImageFieldEditor.razor.rz.scp.css */
.img-field[b-jzlgu9cr07] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.img-field[b-jzlgu9cr07]  .img-field-preview {
    width: 96px;
    height: 96px;
    flex: none;
    border-radius: 10px;
    border: 1px solid var(--surface-line);
}

.img-field-actions[b-jzlgu9cr07] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.img-field-btn[b-jzlgu9cr07] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #d5dee8;
    background: #fff;
    color: var(--text-ink);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.img-field-btn:hover:not(:disabled)[b-jzlgu9cr07] {
    background: var(--menu-item-hover);
}

.img-field-btn.quiet[b-jzlgu9cr07] {
    border-color: transparent;
    color: var(--text-muted);
}

.img-field-btn.busy[b-jzlgu9cr07],
.img-field-btn:disabled[b-jzlgu9cr07] {
    cursor: default;
    opacity: 0.7;
}

/* The file input covers its label, so a click anywhere on the button picks. */
.img-field-btn[b-jzlgu9cr07]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
/* /Components/Catalog/ImageViewerDialog.razor.rz.scp.css */
.iv-root[b-qnmdxugu61] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    outline: none;
}

.iv-stage[b-qnmdxugu61] {
    position: relative;
}

.iv-stage[b-qnmdxugu61]  .iv-image {
    width: 100%;
    height: min(50vh, 520px);
    border-radius: 10px;
    background: var(--surface-sunken);
}

.iv-nav[b-qnmdxugu61] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--surface-shadow);
    color: var(--text-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.iv-nav:hover[b-qnmdxugu61] {
    background: #fff;
}

.iv-nav.prev[b-qnmdxugu61] { left: 8px; }
.iv-nav.next[b-qnmdxugu61] { right: 8px; }

/* The row is a ChipRow: it scrolls, fades at its edges and shows arrows there for the mouse. */
.iv-root[b-qnmdxugu61]  .iv-strip {
    --chip-row-padding: 2px 0;
}

.iv-thumb[b-qnmdxugu61] {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 56px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

/* With a name below, the button widens so two short lines fit; the picture stays the same size. */
.iv-thumb.captioned[b-qnmdxugu61] {
    width: 92px;
}

.iv-thumb-pic[b-qnmdxugu61] {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
}

.iv-thumb.on .iv-thumb-pic[b-qnmdxugu61] {
    border-color: var(--accent-color);
}

.iv-thumb-pic[b-qnmdxugu61]  .cat-img {
    width: 100%;
    height: 100%;
}

.iv-thumb-name[b-qnmdxugu61] {
    width: 100%;
    font-size: var(--fs-xs);
    line-height: 1.25;
    color: var(--text-muted);
    text-align: center;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.iv-thumb.on .iv-thumb-name[b-qnmdxugu61] {
    color: var(--text-ink);
    font-weight: 600;
}

.iv-count[b-qnmdxugu61] {
    margin: 0;
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.iv-count strong[b-qnmdxugu61] {
    color: var(--text-ink);
    font-weight: 600;
}
/* /Components/Catalog/SimilarArticleList.razor.rz.scp.css */
/* The row's tile: the article's main picture, small and square, like the rows' type tiles in the lists. */
.sal-pic[b-d6qj8wzkie] {
    display: block;
    width: 38px;
    height: 38px;
}

.sal-pic[b-d6qj8wzkie]  .cat-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
/* /Components/Catalog/VariantBubble.razor.rz.scp.css */
/* A variant's speech bubble (over a matrix cell, over a chip of the variant strip): shown and placed by
   wwwroot/js/hover-bubble.js, dark like the rail's. A popover in the top layer, so no scrolling container cuts it
   off; the arrow points at its element from the side it stands on. */
.fam-tip[b-uetr6po4uh] {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 10px 14px 11px;
    border: 0;
    border-radius: 12px;
    width: max-content;
    max-width: 20rem;
    overflow: visible;
    background: #10283f;
    color: #fff;
    font-size: var(--fs-sm);
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    box-shadow: 0 10px 30px rgba(16, 40, 64, 0.22), 0 1px 3px rgba(16, 40, 64, 0.12);
    pointer-events: none;
}

.fam-tip:popover-open[b-uetr6po4uh] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    animation: fam-tip-in-b-uetr6po4uh 0.14s ease-out;
}

@keyframes fam-tip-in-b-uetr6po4uh {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
}

.fam-tip[b-uetr6po4uh]::after {
    content: "";
    position: absolute;
    left: var(--bubble-arrow-x, 50%);
    top: 100%;
    translate: -50% 0;
    border: 6px solid transparent;
    border-bottom: 0;
    border-top-color: #10283f;
}

.fam-tip[data-side="below"][b-uetr6po4uh]::after {
    top: auto;
    bottom: 100%;
    border: 6px solid transparent;
    border-top: 0;
    border-bottom-color: #10283f;
}

.fam-tip-title[b-uetr6po4uh] {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
}

.fam-tip[b-uetr6po4uh]  .fam-tip-img {
    width: 100%;
    min-width: 14rem;
    height: 160px;
    padding: 8px;
    border-radius: 8px;
}

.fam-tip-facts[b-uetr6po4uh] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    margin: 0;
}

.fam-tip-facts div[b-uetr6po4uh] {
    display: contents;
}

/* Stock after the values: a little air, same columns. */
.fam-tip-facts .fam-tip-break > *[b-uetr6po4uh] {
    margin-top: 7px;
}

.fam-tip dt[b-uetr6po4uh] {
    color: #b9d3e8;
}

.fam-tip dd[b-uetr6po4uh] {
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.fam-tip-flags[b-uetr6po4uh] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    color: #b9d3e8;
    font-size: var(--fs-xs);
}

.fam-tip-flags span[b-uetr6po4uh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fam-tip-flags .warn[b-uetr6po4uh] {
    color: #fdba74;
}

@media (prefers-reduced-motion: reduce) {
    .fam-tip:popover-open[b-uetr6po4uh] {
        animation: none;
    }
}
/* /Components/Dashboard/GlobalSearch.razor.rz.scp.css */
.search[b-xf5dpfahgk] {
    position: relative;
    display: grid;
    animation: show-search-b-xf5dpfahgk 1s forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.search-backdrop[b-xf5dpfahgk] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    height: 100vh;
    width: 100vw;
}

@keyframes show-search-b-xf5dpfahgk {
    from {
        margin: 0 10px;
        opacity: 0;
    }

    to {
        margin: 0;
        opacity: 1;
    }
}

[b-xf5dpfahgk] input {
    background: white;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.06);
    outline: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.12s ease, border-color 0.12s ease;
    font-weight: 600;
    padding: 0.7rem 1rem !important;
    font-size: var(--fs-md);
}

    input:hover[b-xf5dpfahgk] {
        box-shadow: var(--box-shadow-hover);
    }

    input:focus[b-xf5dpfahgk] {
        color: black;
        border-color: rgba(59,130,246,0.8); 
        box-shadow: 0 6px 18px rgba(59,130,246,0.06);
    }

[b-xf5dpfahgk] i {
    font-size: 1.2rem;
}

.search-input[b-xf5dpfahgk] {
    position: relative;
}

.searchicon[b-xf5dpfahgk] {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    color: rgba(102,102,102,0.9);
}

.searchicon-button[b-xf5dpfahgk] {
    pointer-events: auto;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    width: 1.8rem;
    height: 1.8rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.searchicon-button:hover[b-xf5dpfahgk] {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

@media (max-width: 640px) {
    .search[b-xf5dpfahgk] { max-width: 100%; }
}

/* Results container open/close animation. overflow:hidden is what lets max-height unroll the list, but it
   also clipped the list's shadow at the sides and bottom: the padding gives the shadow room inside the clip,
   the equal negative margin takes it back out of the layout. The room is transparent to the pointer, so the
   page underneath stays clickable. */
.results[b-xf5dpfahgk] {
    --results-shadow-room: 40px;
    position: relative;
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--results-shadow-room) var(--results-shadow-room);
    margin: 0 calc(var(--results-shadow-room) * -1) calc(var(--results-shadow-room) * -1);
    pointer-events: none;
    transition: max-height .42s cubic-bezier(.2,.8,.2,1), opacity .16s ease;
    opacity: 0;
}

.results.open[b-xf5dpfahgk] {
    max-height: 100dvh;
    opacity: 1;
}

.results.open .results-list[b-xf5dpfahgk] {
    pointer-events: auto;
}

.results-list[b-xf5dpfahgk] {
    max-height: 65dvh;
    overflow-y: auto;
    margin-top: 0.5rem;
    background: var(--menu-surface);
    backdrop-filter: var(--menu-backdrop);
    -webkit-backdrop-filter: var(--menu-backdrop);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
}

.result-group[b-xf5dpfahgk] {
    padding: 0.35rem 0;
}

.result-group + .result-group[b-xf5dpfahgk] {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.result-group-header[b-xf5dpfahgk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem 0.35rem 0.9rem;
    color: #334155;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.result-group-count[b-xf5dpfahgk] {
    margin-left: auto;
    font-size: var(--fs-xs);
    color: #2563eb;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    min-width: 1.6rem;
    text-align: center;
    padding: 0.1rem 0.4rem;
}

[b-xf5dpfahgk] .result-group-list {
    list-style: none;
    margin: 0;
    padding: 0 0.25rem 0.2rem 0.25rem;
}

[b-xf5dpfahgk] .result-item {
    display: flex;
    align-items: center;
    min-height: var(--menu-item-min-height);
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    font-size: var(--fs-sm);
}

[b-xf5dpfahgk] .result-item.clickable {
    cursor: pointer;
    transition: background-color 0.06s ease-out;
}

[b-xf5dpfahgk] .result-item.clickable:hover,
[b-xf5dpfahgk] .result-item.clickable.active {
    /* The shared menu row hover (--menu-* in template.css). */
    background-color: var(--menu-item-hover);
}

[b-xf5dpfahgk] .result-item.empty {
    justify-content: center;
    color: #7a7a7a;
    font-size: var(--fs-sm);
    padding: 0.9rem;
}

[b-xf5dpfahgk] .result-icon {
    margin-right: 0.6rem;
    color: #64748b;
    width: 1.2rem;
    text-align: center;
}

[b-xf5dpfahgk] .result-content {
    flex: 1;
}

[b-xf5dpfahgk] .result-name {
    color: #0f172a;
    font-weight: 600;
}

[b-xf5dpfahgk] .result-load-more {
    font-size: var(--fs-sm);
    color: #475569;
    font-style: italic;
    font-weight: 600;
    padding: 0.1rem 0.9rem 0.35rem 1.2rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

[b-xf5dpfahgk] .result-load-more:hover {
    color: #0f172a;
}
/* ── Compact: the field in the app bar ────────────────────────────────────────────────────────
   Rebuilt with the layout on every navigation, so it must not fade in each time; its results float over the
   page rather than growing the bar. The backdrop that closes them covers the window, just under the field. */
.search.compact[b-xf5dpfahgk] {
    position: relative;
    z-index: 400;
    opacity: 1;
    animation: none;
}

.search-backdrop.compact[b-xf5dpfahgk] {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    z-index: 390;
}

.search.compact[b-xf5dpfahgk]  input {
    height: 38px;
    padding: 0 2.25rem 0 0.9rem !important;
    border: 0;
    border-radius: 10px;
    background: var(--surface-sunken);
    box-shadow: none;
    font-size: var(--fs-base);
    font-weight: 600;
}

.search.compact[b-xf5dpfahgk]  input:hover {
    box-shadow: none;
}

.search.compact[b-xf5dpfahgk]  input:focus {
    background: #fff;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.search.compact .searchicon[b-xf5dpfahgk] {
    right: 12px;
}

.search.compact[b-xf5dpfahgk]  i {
    font-size: 1rem;
}

.search.compact .results[b-xf5dpfahgk] {
    position: absolute;
    top: 100%;
    right: 0;
    /* The shadow room is part of the box (border-box), so it goes on top of the list's width. */
    width: calc(max(100%, 440px) + var(--results-shadow-room) * 2);
}

.search.compact .results-list[b-xf5dpfahgk] {
    border-radius: var(--menu-radius);
}
/* /Components/Dashboard/Tile.razor.rz.scp.css */
.linkwrapper[b-vhh2zi87m7] {
    opacity: 0;
    animation: ShowTile-b-vhh2zi87m7 0.3s ease-in-out forwards;
}

.linkwrapper.disabled[b-vhh2zi87m7] {
    pointer-events: none;
    filter: saturate(0.5) opacity(0.4);
    cursor: default;
}

.tile[b-vhh2zi87m7] {
    aspect-ratio: 1/1;
    width: 100%;
}

[b-vhh2zi87m7] i {
    font-size: 4rem;
    margin: 0;
    color: white;
    transition: all 0.3s;
    /* text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); */
}

.text[b-vhh2zi87m7] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    padding: 0.3rem;
    color: white;
    margin: 0 0 0.2rem 0;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    font-size: var(--fs-lg);
}

    .text p[b-vhh2zi87m7] {
        color: white;
        margin: 0 0 0.2rem 0;
        font-weight: bold;
        text-align: center;
        white-space: nowrap;
        font-size: var(--fs-base);
    }

.icon[b-vhh2zi87m7] {
    background: var(--tile-color, var(--primary-color));
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-badge[b-vhh2zi87m7] {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent-color);
    color: white;
    font-size: var(--fs-2xs);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

    .icon[b-vhh2zi87m7]::before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        content: '';
        background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 0;
    }

[b-vhh2zi87m7] a {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    aspect-ratio: 1 / 1;
    background: white;
    overflow: auto;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    user-select: none;
}
    [b-vhh2zi87m7] a:hover {
        box-shadow: var(--box-shadow-hover);
        transform: scale(1.03);
    }

    [b-vhh2zi87m7] a:hover ::deep i {
        transform: scale(1.1, 1.1)
    }

    @keyframes ShowTile-b-vhh2zi87m7 {
        0% {
            opacity: 0;
            transform: scale(0.8);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }    
    }
/* /Components/Feedback/CreateReportDialog.razor.rz.scp.css */
.report-create[b-2n0sc9cskz] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row[b-2n0sc9cskz] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Like a generated form's label (FieldRenderer). */
.form-label[b-2n0sc9cskz] {
    font-weight: 500;
}

.type-buttons[b-2n0sc9cskz],
.visibility-buttons[b-2n0sc9cskz] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.type-btn[b-2n0sc9cskz] {
    flex: 1;
    min-width: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.type-btn i[b-2n0sc9cskz] {
    font-size: 1.2rem;
}

.type-btn:hover[b-2n0sc9cskz] {
    background: rgba(0, 0, 0, 0.03);
}

.type-btn.active[b-2n0sc9cskz] {
    border-color: var(--primary-color, #3b82f6);
    background: rgba(59, 130, 246, 0.06);
    color: var(--primary-color, #3b82f6);
}

.visibility-btn[b-2n0sc9cskz] {
    flex: 1;
    min-width: 12rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.visibility-btn i[b-2n0sc9cskz] {
    font-size: 1.1rem;
    color: #64748b;
}

.visibility-btn:hover[b-2n0sc9cskz] {
    background: rgba(0, 0, 0, 0.03);
}

.visibility-btn.active[b-2n0sc9cskz] {
    border-color: var(--primary-color, #3b82f6);
    background: rgba(59, 130, 246, 0.06);
}

.visibility-btn.active i[b-2n0sc9cskz] {
    color: var(--primary-color, #3b82f6);
}

.visibility-text[b-2n0sc9cskz] {
    display: flex;
    flex-direction: column;
}

.visibility-title[b-2n0sc9cskz] {
    font-weight: 600;
}

.visibility-hint[b-2n0sc9cskz] {
    font-size: var(--fs-xs);
    color: #64748b;
}

.terms-row[b-2n0sc9cskz] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.terms-checkbox[b-2n0sc9cskz] {
    cursor: pointer;
    flex-shrink: 0;
}

.terms-text[b-2n0sc9cskz] {
    font-size: var(--fs-sm);
    line-height: 1.4;
}

.terms-text a[b-2n0sc9cskz] {
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
}

.terms-text a:hover[b-2n0sc9cskz] {
    text-decoration: none;
}
/* /Components/Feedback/ReportDetailDialog.razor.rz.scp.css */
.report-detail[b-zyzb0j22q4] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-meta[b-zyzb0j22q4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.badge[b-zyzb0j22q4] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    background: #e2e8f0;
    color: #334155;
}

.badge.type-bug[b-zyzb0j22q4] { background: #fee2e2; color: #b91c1c; }
.badge.type-feature[b-zyzb0j22q4] { background: #dbeafe; color: #1d4ed8; }
.badge.type-feedback[b-zyzb0j22q4] { background: #ede9fe; color: #6d28d9; }

.badge.status-open[b-zyzb0j22q4] { background: #e2e8f0; color: #475569; }
.badge.status-planned[b-zyzb0j22q4] { background: #dbeafe; color: #1d4ed8; }
.badge.status-inprogress[b-zyzb0j22q4] { background: #fef3c7; color: #b45309; }
.badge.status-needsinfo[b-zyzb0j22q4] { background: #ede9fe; color: #6d28d9; }
.badge.status-done[b-zyzb0j22q4],
.badge.status-released[b-zyzb0j22q4] { background: #dcfce7; color: #15803d; }
.badge.status-rejected[b-zyzb0j22q4],
.badge.status-duplicate[b-zyzb0j22q4] { background: #fee2e2; color: #b91c1c; }

.badge.visibility[b-zyzb0j22q4] { background: #f1f5f9; color: #0f172a; }

.report-description[b-zyzb0j22q4] {
    white-space: pre-line;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.vote-row[b-zyzb0j22q4] {
    margin-top: 0.75rem;
}

.comment-list[b-zyzb0j22q4] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 18rem;
    overflow-y: auto;
}

.comment-item[b-zyzb0j22q4] {
    padding: 0.6rem 0.8rem;
    background: #f8fafc;
    border-radius: 0.4rem;
}

.comment-head[b-zyzb0j22q4] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.comment-author[b-zyzb0j22q4] {
    font-weight: 600;
    font-size: var(--fs-sm);
}

.comment-date[b-zyzb0j22q4] {
    font-size: var(--fs-xs);
    color: #94a3b8;
}

.comment-content[b-zyzb0j22q4] {
    margin: 0;
    white-space: pre-line;
    font-size: var(--fs-sm);
}

.comment-compose[b-zyzb0j22q4] {
    margin-top: 1rem;
}
/* /Components/Labels/GatewayKeyDialog.razor.rz.scp.css */
.gateway-key[b-tt7trc96hw] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gateway-key-step[b-tt7trc96hw] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.gateway-key-step h4[b-tt7trc96hw] {
    font-weight: 600;
}

.gateway-key-block[b-tt7trc96hw] {
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-all;
    /* Text, not all: a triple-click takes one line of a multi-line block. */
    user-select: text;
}

.gateway-key-warning[b-tt7trc96hw] {
    color: #b45309;
}

/* Feedback set by JS/src/copy-to-clipboard.js. */
.gateway-key-copy[b-tt7trc96hw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gateway-key-copy[b-tt7trc96hw]::after {
    font-size: var(--fs-sm);
}

.gateway-key-copy.copied[b-tt7trc96hw]::after {
    content: "Kopiert";
    color: #15803d;
}

.gateway-key-copy.copy-failed[b-tt7trc96hw]::after {
    content: "Kopieren nicht möglich — bitte markieren und von Hand kopieren";
    color: #b45309;
}

.gateway-key-hint[b-tt7trc96hw] {
    font-size: var(--fs-sm);
    color: #64748b;
}
/* /Components/Labels/ShelfLabelMiddle.razor.rz.scp.css */
.label-pairing-body[b-fxa3sff6z3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.label-pairing-body > div[b-fxa3sff6z3] {
    flex: 1 1 16rem;
}

.label-pairing-body h3[b-fxa3sff6z3] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.label-pairing-icon[b-fxa3sff6z3] {
    font-size: 2rem;
    color: #3f7d8c;
}

.label-status-row[b-fxa3sff6z3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 1rem;
    text-align: center;
}

/* Tabs whose content is no list: room around it inside the panel. */
.slm-pad[b-fxa3sff6z3] {
    padding: 16px 20px;
}
/* /Components/Labels/ShelfLabelPreview.razor.rz.scp.css */
.label-preview[b-7lhi1akhn8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.label-preview-bezel[b-7lhi1akhn8] {
    max-width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: #e2e8f0;
    box-shadow: inset 0 0 0 1px #cbd5e1, 0 2px 6px rgba(15, 23, 42, 0.12);
}

.label-preview-bezel img[b-7lhi1akhn8] {
    display: block;
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
    background: #fff;
}

.label-preview-caption[b-7lhi1akhn8] {
    font-size: var(--fs-sm);
    color: #64748b;
}

.label-preview-placeholder[b-7lhi1akhn8] {
    width: 100%;
    max-width: 592px;
}
/* /Components/Labels/ShelfLabelSyncBadge.razor.rz.scp.css */
.label-sync-badge[b-xzrhjlyhi7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 1rem;
    font-size: var(--fs-sm);
    white-space: nowrap;
    background: #f1f5f9;
    color: #475569;
}

.label-sync-synced[b-xzrhjlyhi7] {
    background: #ecfdf5;
    color: #047857;
}

.label-sync-pending[b-xzrhjlyhi7],
.label-sync-writing[b-xzrhjlyhi7],
.label-sync-neverwritten[b-xzrhjlyhi7] {
    background: #eff6ff;
    color: #1d4ed8;
}

.label-sync-failing[b-xzrhjlyhi7],
.label-sync-rejected[b-xzrhjlyhi7],
.label-sync-nogateway[b-xzrhjlyhi7] {
    background: #fef2f2;
    color: #b91c1c;
}
/* /Components/Layout/AccountMenu.razor.rz.scp.css */
/* The toggle around the avatar is the outermost element here and styled by AppTopBar.razor.css. */
.account-avatar[b-m01lquvdtg] {
    flex: none;
    width: 34px;
    height: 34px;
    margin-left: 2px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: var(--fs-xs);
    font-weight: 800;
}

/* The panel: one card from the menu tokens, wide enough that every entry keeps its explaining line on one row. */
.account-panel[b-m01lquvdtg] {
    width: min(22rem, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 8px;
    border-radius: var(--menu-radius);
    background: var(--menu-surface);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
    /* The head and Abmelden reach the edges; the panel's corners cut them. */
    overflow: hidden;
}

/* Who is signed in: set apart by a tint reaching the panel's edges, not a line. */
.account-head[b-m01lquvdtg] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -8px -8px 8px;
    padding: 20px;
    background: color-mix(in srgb, var(--primary-color) 6%, transparent);
}

.account-head-avatar[b-m01lquvdtg] {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.account-who[b-m01lquvdtg] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.account-name[b-m01lquvdtg] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.2;
}

.account-role[b-m01lquvdtg] {
    padding: 2px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--primary-color);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.account-items[b-m01lquvdtg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* A line between the groups of entries. A see-through tint rather than the opaque --menu-line, so it reads the same
   over whatever shows through the frost. */
.account-sep[b-m01lquvdtg] {
    height: 1px;
    margin: 6px 10px;
    background: rgba(16, 40, 64, 0.1);
}

/* One entry: the icon in the entry's colour, the title and a quiet line under it. */
.account-item[b-m01lquvdtg] {
    --account-tint: var(--primary-color);
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--menu-item-radius);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.06s ease-out;
}

.account-item:hover[b-m01lquvdtg],
.account-item:focus-visible[b-m01lquvdtg] {
    background: var(--menu-item-hover);
    outline: none;
}

.account-item-icon[b-m01lquvdtg] {
    display: grid;
    place-items: center;
    color: var(--account-tint);
}

.account-item-icon i[b-m01lquvdtg] {
    font-size: 1.35rem;
}

.account-item-text[b-m01lquvdtg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.account-item-title[b-m01lquvdtg] {
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.25;
}

.account-item-sub[b-m01lquvdtg] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.3;
}

.account-item.is-settings[b-m01lquvdtg] { --account-tint: #4b5d70; }
.account-item.is-help[b-m01lquvdtg] { --account-tint: var(--accent-color); }
.account-item.is-documents[b-m01lquvdtg] { --account-tint: #b26b00; }
.account-item.is-feedback[b-m01lquvdtg] { --account-tint: #7c60ae; }

/* Abmelden closes the panel as a red-tinted band from edge to edge, mirroring the head: the one entry that ends the
   session. */
.account-item.is-signout[b-m01lquvdtg] {
    --account-tint: var(--menu-item-danger);
    width: calc(100% + 16px);
    min-height: 52px;
    margin: 8px -8px -8px;
    padding: 8px 20px;
    border-radius: 0;
    background: color-mix(in srgb, var(--menu-item-danger) 9%, transparent);
    color: var(--menu-item-danger);
}

.account-item.is-signout:hover[b-m01lquvdtg],
.account-item.is-signout:focus-visible[b-m01lquvdtg] {
    background: color-mix(in srgb, var(--menu-item-danger) 15%, transparent);
}

/* Phones and tablets: the avatar sits in the dark brand bar. */
@media (max-width: 1024px) {
    .account-avatar[b-m01lquvdtg] {
        width: 38px;
        height: 38px;
        /* With the bar's 8px: the avatar ends on the page edge, above the band's buttons. */
        margin-right: 8px;
        background: #fff;
        color: var(--primary-color);
    }
}
/* /Components/Layout/AppRail.razor.rz.scp.css */
.rail[b-o8ii9fonnm] {
    width: var(--app-rail-w);
    flex: none;
    height: 100%;
    box-sizing: border-box;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 0 12px;
    overflow-y: auto;
    scrollbar-width: none;
    user-select: none;
}

/* The logo stands in the app bar's band: its tile is centred on the bar's middle line and as wide as the entries
   below (one column edge), and a hairline across the rail continues the bar's lower edge. */
.rail-logo[b-o8ii9fonnm] {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: calc(var(--app-topbar-h) - 8px);
    margin: 4px 0 12px;
    border-radius: 12px;
    flex: none;
}

.rail-logo[b-o8ii9fonnm]::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: -4px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.rail-logo:hover[b-o8ii9fonnm] {
    background: rgba(255, 255, 255, 0.08);
}

/* The logo is the Lagebild's entry: lit there like any other. */
.rail-logo.active[b-o8ii9fonnm] {
    background: rgba(255, 255, 255, 0.16);
}

/* Shared by the links and the ⋯ button, so both read as one column of equal square entries — icons only, the name
   is in the bubble beside them. */
[b-o8ii9fonnm] .rail-item {
    width: 48px;
    height: 48px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    display: grid;
    place-items: center;
    color: #b9d3e8;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

[b-o8ii9fonnm] .rail-item i {
    font-size: 1.375rem;
    color: inherit;
}

[b-o8ii9fonnm] .rail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

[b-o8ii9fonnm] .rail-item.active,
.rail-item:has(+ .rail-menu:popover-open)[b-o8ii9fonnm] {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

[b-o8ii9fonnm] .rail-item:focus-visible {
    outline: 2px solid #4aa8e8;
    outline-offset: 1px;
}

/* ⋯ stands for the entries rail.js took out of the rail, so it is lit when the page is one of them. */
.rail-more[data-active][b-o8ii9fonnm] {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.rail-sep[b-o8ii9fonnm] {
    width: 32px;
    height: 1px;
    flex: none;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.18);
}

/* What rail.js takes out (and the overflow's ⋯ and menu entries until it needs them) — the entries' own display
   would otherwise win over the attribute. */
.rail[b-o8ii9fonnm]  [hidden] {
    display: none;
}

/* The overflow's menu, beside the rail. The UA styles centre a popover in the viewport; rail.js sets left and top. */
.rail-menu[b-o8ii9fonnm] {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 6px;
    border: 0;
    border-radius: 14px;
    min-width: 220px;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    /* The frost of every menu (--menu-* in template.css). The popover is itself the element that fades, so the
       blur sits on it directly. */
    background: var(--menu-surface);
    backdrop-filter: var(--menu-backdrop);
    -webkit-backdrop-filter: var(--menu-backdrop);
    color: var(--text-ink);
    /* The inset light edge outlines the glass where the page behind it is white too. */
    box-shadow: var(--menu-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

[b-o8ii9fonnm] .rail-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-ink);
    font: inherit;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

[b-o8ii9fonnm] .rail-menu-item i {
    width: 1.25rem;
    text-align: center;
    color: var(--text-muted);
}

/* Hover and selection are tints of the glass (--menu-item-*), as in every other menu: an opaque fill would sit on
   the frost like a pasted label. */
[b-o8ii9fonnm] .rail-menu-item:hover {
    background: var(--menu-item-hover);
    color: var(--primary-color);
}

[b-o8ii9fonnm] .rail-menu-item.active {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
}

[b-o8ii9fonnm] .rail-menu-item.active:hover {
    background: var(--menu-item-selected-hover);
}

[b-o8ii9fonnm] .rail-menu-item.disabled {
    opacity: 0.45;
    cursor: default;
}

[b-o8ii9fonnm] .rail-menu-item.disabled:hover {
    background: transparent;
    color: var(--text-ink);
}

/* The bubble beside a pointed-at entry: name and one line of description, its tip pointing at the entry. rail.js sets
   left (beside the entry) and top (the entry's middle line); the translate centres it on that line. The UA styles
   centre a popover in the viewport and only hide it while closed, so the layout is set for the open state alone. */
.rail-tip[b-o8ii9fonnm] {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    max-width: 18rem;
    overflow: visible;
    background: #10283f;
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 40, 64, 0.22), 0 1px 3px rgba(16, 40, 64, 0.12);
    pointer-events: none;
    translate: 0 -50%;
}

.rail-tip:popover-open[b-o8ii9fonnm] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rail-tip[b-o8ii9fonnm]::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    translate: 0 -50%;
    border: 6px solid transparent;
    border-left: 0;
    border-right-color: #10283f;
}

.rail-tip-title[b-o8ii9fonnm] {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
}

.rail-tip-text[b-o8ii9fonnm] {
    color: #b9d3e8;
    font-size: 0.8125rem;
    line-height: 1.35;
}

/* Appearing and disappearing are played by rail.js (it grows out of the rail and shrinks back, from its tip's side).
   While open, the one bubble slides up or down to the next entry pointed at — rail.js only moves `top`; coming out
   of display: none it has no position to slide from, so it appears in place. */
.rail-tip[b-o8ii9fonnm] {
    transform-origin: left center;
    transition: top 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .rail-tip[b-o8ii9fonnm] {
        transition: none;
    }
}

/* Phones and tablets navigate with the tab bar and the drawer instead (MainLayout.razor). */
@media (max-width: 1024px) {
    .rail[b-o8ii9fonnm] {
        display: none;
    }
}

/* ── Opening and closing ──────────────────────────────────────────────────────────────────────
   The menu slides out of the rail and fades in, its entries a beat after one another; closing runs the same
   way back. A popover leaves the top layer the moment it closes, so the exit only animates with display and
   overlay kept alive for the length of the transition (allow-discrete); @starting-style gives the entry its
   first frame. Browsers without either simply show and hide the menu at once. */
.rail-menu[b-o8ii9fonnm] {
    opacity: 0;
    transform: translateX(-10px) scale(0.98);
    transform-origin: left top;
    transition:
        opacity 0.16s ease,
        transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        overlay 0.2s allow-discrete,
        display 0.2s allow-discrete;
}

.rail-menu:popover-open[b-o8ii9fonnm] {
    opacity: 1;
    transform: none;
}

@starting-style {
    .rail-menu:popover-open[b-o8ii9fonnm] {
        opacity: 0;
        transform: translateX(-10px) scale(0.98);
    }
}

.rail-menu[b-o8ii9fonnm]  .rail-menu-item {
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.12s ease;
    transition-delay: calc(var(--i, 0) * 18ms);
}

@starting-style {
    .rail-menu:popover-open[b-o8ii9fonnm]  .rail-menu-item {
        opacity: 0;
        transform: translateX(-6px);
    }
}

.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(2) { --i: 1; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(3) { --i: 2; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(4) { --i: 3; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(5) { --i: 4; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(6) { --i: 5; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(7) { --i: 6; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(8) { --i: 7; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(9) { --i: 8; }
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:nth-child(n + 10) { --i: 9; }

/* Hovering must answer at once, not after the entry's stagger. */
.rail-menu[b-o8ii9fonnm]  .rail-menu-item:hover {
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .rail-menu[b-o8ii9fonnm],
    .rail-menu[b-o8ii9fonnm]  .rail-menu-item {
        transition: none;
    }
}
/* /Components/Layout/AppTopBar.razor.rz.scp.css */
.topbar[b-w5xnim2ucz] {
    height: var(--app-topbar-h);
    padding: 0 20px 0 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 30;
    background: #fff;
    box-shadow: 0 1px 0 #e1e8ef;
}

.topbar-brand[b-w5xnim2ucz] {
    display: none;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: #fff;
    /* Line height 1: the word's box is its glyphs, so centring it on the mark centres the letters, not a line box
       with the ascender room above them. */
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.topbar-crumbs[b-w5xnim2ucz] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.topbar-search[b-w5xnim2ucz] {
    flex: 0 1 360px;
    min-width: 200px;
}

.topbar-icon[b-w5xnim2ucz] {
    position: relative;
    flex: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #2c3c4b;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.topbar-icon i[b-w5xnim2ucz] {
    font-size: 1.15rem;
}

.topbar-icon:hover[b-w5xnim2ucz] {
    background: var(--surface-sunken);
}

/* Handbuch, Mein Tag, Mein Wagen while their page is open. */
.topbar-icon.active[b-w5xnim2ucz] {
    background: var(--surface-sunken);
    color: var(--primary-color);
}

/* The begun Umlagerung: its badge in the Umlagern colour so it does not read as an alert. */
[b-w5xnim2ucz] .topbar-pending-toggle {
    flex: none;
    border-radius: 10px;
}

[b-w5xnim2ucz] .topbar-pending-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.topbar-pending .topbar-badge[b-w5xnim2ucz] {
    background: #8a2a89;
}

/* The bubble under the icon. ContextMenu puts the panel right-aligned under its toggle, so the tip stands half an
   icon in from the bubble's right edge, pointing at the icon's centre. Solid white rather than the frosted menu
   surface: the tip sticks out of the panel, where no frost is behind it. */
.topbar-bubble[b-w5xnim2ucz] {
    position: relative;
    width: min(20rem, calc(100vw - 32px));
    padding: 14px 16px 16px;
    border-radius: var(--menu-radius);
    background: #fff;
    box-shadow: var(--menu-shadow);
    color: var(--text-ink);
}

.topbar-bubble[b-w5xnim2ucz]::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 13px;
    border: 8px solid transparent;
    border-top: 0;
    border-bottom: 8px solid #fff;
    border-bottom-width: 7px;
}

.topbar-bubble-head[b-w5xnim2ucz] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #8a2a89;
}

.topbar-bubble p[b-w5xnim2ucz] {
    margin: 8px 0 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.topbar-bubble p strong[b-w5xnim2ucz] {
    color: var(--text-ink);
}

.topbar-bubble[b-w5xnim2ucz]  .topbar-bubble-action {
    width: 100%;
    justify-content: center;
}

.topbar-badge[b-w5xnim2ucz] {
    position: absolute;
    top: 4px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #c22d3a;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}

/* The avatar's toggle is AccountMenu's ContextMenu, the outermost element of that component — its own stylesheet
   cannot reach it, so the bar styles it. The avatar itself and the panel are AccountMenu's. */
[b-w5xnim2ucz] .account-toggle {
    flex: none;
    border-radius: 50%;
    cursor: pointer;
}

[b-w5xnim2ucz] .account-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Phones and tablets: the dark brand bar. Where you are and the search move out of it — the drawer carries the
   breadcrumbs, the Lagebild the search. */
@media (max-width: 1024px) {
    .topbar[b-w5xnim2ucz] {
        padding: 0 8px 0 16px;
        background: var(--primary-color);
        box-shadow: none;
    }

    .topbar-brand[b-w5xnim2ucz] {
        display: flex;
    }

    /* The mark's house starts 31 units into its 256-unit box; pulled back by that much so the drawn mark, not its
       box, stands on the page edge with the band's title below. */
    .topbar-brand[b-w5xnim2ucz]  .app-logo {
        margin-left: calc(30px * -31 / 256);
    }

    /* The own things are reached through Mehr there. */
    .topbar-crumbs[b-w5xnim2ucz],
    .topbar-search[b-w5xnim2ucz],
    .topbar-desk[b-w5xnim2ucz] {
        display: none;
    }

    .topbar-icon[b-w5xnim2ucz] {
        width: 44px;
        height: 44px;
        color: #fff;
    }

    .topbar-icon:hover[b-w5xnim2ucz] {
        background: rgba(255, 255, 255, 0.1);
    }

    .topbar-badge[b-w5xnim2ucz] {
        background: var(--accent-coral);
        color: #2b0b07;
    }

    .topbar-pending .topbar-badge[b-w5xnim2ucz] {
        background: #fff;
        color: #8a2a89;
    }
}

/* Tablets keep a 15px page margin (MainLayout), phones 16px: the bar follows, so mark and avatar stay on its edge. */
@media (min-width: 641px) and (max-width: 1024px) {
    .topbar[b-w5xnim2ucz] {
        padding: 0 7px 0 15px;
    }
}

.topbar-search[b-w5xnim2ucz] {
    position: relative;
}

/* Sits where the magnifier was; the field's own icon steps aside while the hint is shown. */
.topbar-kbd[b-w5xnim2ucz] {
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 401;
    padding: 0 5px;
    border: 1px solid #cdd6df;
    border-radius: 5px;
    background: #fff;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 11px;
    line-height: 18px;
    pointer-events: none;
}

.topbar-search:focus-within .topbar-kbd[b-w5xnim2ucz] {
    display: none;
}
/* /Components/Layout/Breadcrumbs.razor.rz.scp.css */
/* ── Shared base ─────────────────────────────────────────────── */
.breadcrumbs[b-85lr5yssak] {
    font-size: var(--fs-sm);
    width: 100%;
}

ol[b-85lr5yssak] {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

[b-85lr5yssak] .crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px 3px 4px;
    text-decoration: none;
    color: #1f2d3d;
    border-radius: 6px;
    transition: background 0.15s;
    min-width: 0;
    overflow: hidden;
}

[b-85lr5yssak] a.crumb:hover {
    background: rgba(13, 108, 172, 0.08);
}

[b-85lr5yssak] .crumb-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--crumb-color, var(--primary-color));
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.7rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

[b-85lr5yssak] .crumb-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1f2d3d;
    min-width: 0;
    flex: 1 1 0;
}

li.current[b-85lr5yssak]  .crumb-text {
    font-weight: 600;
}

.crumb-sep[b-85lr5yssak] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a4b3;
    font-size: 0.65rem;
    flex-shrink: 0;
}


/* ── Desktop: one row in the app bar ─────────────────────────── */
/* The ancestors give way before the page itself: they shrink to an ellipsis first, the current page keeps its
   name as long as there is any room. */
.breadcrumbs ol[b-85lr5yssak] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    min-width: 0;
}

.breadcrumbs li[b-85lr5yssak] {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
}

.breadcrumbs li.root[b-85lr5yssak] {
    flex-shrink: 0;
}

.breadcrumbs li.current[b-85lr5yssak] {
    flex-shrink: 0.2;
}

.breadcrumbs .crumb-sep[b-85lr5yssak] {
    width: 16px;
    margin-right: 2px;
}

.breadcrumbs[b-85lr5yssak]  .crumb {
    min-width: 0;
    border-radius: 8px;
    padding: 5px 8px 5px 5px;
}


/* ── App bar: plain text, arrow-separated ────────────────────── */
.breadcrumbs.bar[b-85lr5yssak]  .crumb-icon {
    display: none;
}

.breadcrumbs.bar[b-85lr5yssak]  .crumb {
    padding: 4px 6px;
    font-weight: 600;
}

.breadcrumbs.bar[b-85lr5yssak]  .crumb-text {
    color: var(--text-muted);
}

.breadcrumbs.bar li.current[b-85lr5yssak]  .crumb-text {
    color: var(--text-ink);
    font-weight: 700;
}

.breadcrumbs.bar .crumb-sep[b-85lr5yssak] {
    width: auto;
    margin: 0 2px;
    font-size: 0.75rem;
}
/* /Components/Layout/DeviceLocationFacts.razor.rz.scp.css */
.device-location[b-9z0tcmm8mb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.device-location-switch[b-9z0tcmm8mb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.device-location-status[b-9z0tcmm8mb] {
    color: var(--text-muted);
    font-size: 0.9em;
}
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.auth[b-88a6winlut] {
    display: flex;
    height: 100%;
    width: 100%;
    background: var(--page-ground);
    color: var(--text-ink);
}

/* ── Brand panel: the rail's blue, widened ───────────────────── */
.auth-brand[b-88a6winlut] {
    flex: 0 0 clamp(380px, 38vw, 560px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 32px 40px 0;
    box-sizing: border-box;
    background: var(--primary-color);
    color: #fff;
}

.auth-mark[b-88a6winlut] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: var(--fs-lg);
    font-weight: 800;
    text-decoration: none;
}

/* The mark's house starts 31 units into its 256-unit box; pulled back so the drawn mark stands on the panel edge. */
.auth-mark[b-88a6winlut]  .app-logo {
    margin-left: calc(40px * -31 / 256);
}

.auth-claim[b-88a6winlut] {
    position: relative;
    z-index: 1;
    margin-top: clamp(32px, 9vh, 96px);
}

.auth-headline[b-88a6winlut] {
    max-width: 15em;
    margin: 0;
    color: #fff;
    font-size: var(--fs-2xl);
    font-weight: 800;
    line-height: 1.2;
}

/* The photo fills the rest of the panel. The warehouse fades into the panel's blue at the top; the cut-out worker
   stands in front of that fade, so his helmet rises out of the plain blue while the shelves behind him dissolve.
   --px / --py (-1…1) come from auth-parallax.js and shift the two layers against each other. */
.auth-photo[b-88a6winlut] {
    --px: 0;
    --py: 0;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    margin: 24px -40px 0;
}

/* Both layers share one box, so the cut-out lands exactly on the photo. It overhangs the panel by more than the
   largest shift (the panel clips it), so no layer's edge ever comes into view. */
.auth-photo img[b-88a6winlut] {
    position: absolute;
    inset: -16px;
    width: calc(100% + 32px);
    max-width: none;
    height: calc(100% + 32px);
    object-fit: cover;
    object-position: 68% 20%;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
}

.auth-photo-scene[b-88a6winlut] {
    opacity: 0.9;
    transform: translate3d(calc(var(--px) * -4px), calc(var(--py) * -3px), 0);
}

.auth-photo-figure[b-88a6winlut] {
    z-index: 1;
    transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 6px), 0);
}

/* Over the scene, under the worker. Reaches up over the scene's overhang and its shift, into the plain blue above
   the photo: the scene's first row would otherwise show as a seam. */
.auth-photo[b-88a6winlut]::after {
    content: '';
    position: absolute;
    inset: -24px 0 0;
    background:
        linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 56, 94, 0.6) 30%, rgba(0, 56, 94, 0.15) 65%, rgba(0, 56, 94, 0.4) 100%);
}

/* The AI disclosure: small, but on the photo itself and in front of every layer, so it is read with the picture.
   Hover or focus (a tap focuses the button) opens the bubble above it. */
.auth-photo-note[b-88a6winlut] {
    position: absolute;
    left: 40px;
    bottom: 12px;
    z-index: 2;
    padding: 0 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
    font: inherit;
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.04em;
    cursor: help;
}

.auth-photo-note-bubble[b-88a6winlut] {
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: 220px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    pointer-events: none;
}

/* The bubble's tail, pointing down at the tag. */
.auth-photo-note-bubble[b-88a6winlut]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 10px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.auth-photo-note:hover .auth-photo-note-bubble[b-88a6winlut],
.auth-photo-note:focus .auth-photo-note-bubble[b-88a6winlut] {
    opacity: 1;
    visibility: visible;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .auth-photo img[b-88a6winlut] {
        transform: none;
        transition: none;
    }
}

/* ── Content: a white surface on the page ground ─────────────── */
.auth-main[b-88a6winlut] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 20px;
    box-sizing: border-box;
}

.auth-card[b-88a6winlut] {
    width: 100%;
    max-width: 440px;
    margin-block: auto;
    padding: 32px;
    box-sizing: border-box;
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    animation: auth-in-b-88a6winlut 0.35s ease-out both;
}

@keyframes auth-in-b-88a6winlut {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card[b-88a6winlut] {
        animation: none;
    }
}

/* The two firms behind LagerPilot, quiet under the surface. */
.auth-partners[b-88a6winlut] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 32px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.auth-partner-logos[b-88a6winlut] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 32px;
}

.auth-partner-logos a[b-88a6winlut] {
    display: block;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.auth-partner-logos a:hover[b-88a6winlut] {
    opacity: 1;
}

.auth-partner-logos img[b-88a6winlut] {
    display: block;
    height: 40px;
    width: auto;
}

.auth-legal[b-88a6winlut] {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    font-size: var(--fs-xs);
}

.auth-legal[b-88a6winlut]  a {
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
}

.auth-legal[b-88a6winlut]  a:hover,
.auth-legal[b-88a6winlut]  a.active {
    color: var(--text-ink);
}

.auth-version[b-88a6winlut] {
    padding-top: 6px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    opacity: 0.75;
}

/* Impressum and Datenschutz are running text, not a form: the surface widens to a reading measure. */
.auth-card:has(.legal-page)[b-88a6winlut] {
    max-width: 760px;
}

/* ── What every account page puts on the surface ─────────────── */
.auth-card[b-88a6winlut]  h1 {
    margin: 0 0 6px;
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.auth-card[b-88a6winlut]  h2 {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: var(--fs-base);
    font-weight: 400;
}

.auth-card[b-88a6winlut]  hr {
    border: 0;
    border-top: 1px solid var(--surface-line);
    margin: 16px 0;
}

.auth-card[b-88a6winlut]  .form-floating {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.auth-card[b-88a6winlut]  .form-label {
    order: -1;
    padding: 0 0 6px;
    color: var(--text-ink);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.auth-card[b-88a6winlut]  input:not([type="checkbox"]) {
    height: 44px;
    font-size: var(--fs-base);
}

.auth-card[b-88a6winlut]  input::placeholder {
    text-align: left;
}

.auth-card[b-88a6winlut]  .btn-primary {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.auth-card[b-88a6winlut]  .btn-primary:hover {
    background: #004a7c;
}

.auth-card[b-88a6winlut]  .btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 35%, transparent);
}

.auth-card[b-88a6winlut]  .text-danger,
.auth-card[b-88a6winlut]  .alert {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fdecee;
    color: #a1202c;
    font-size: var(--fs-sm);
}

.auth-card[b-88a6winlut]  .text-danger:empty {
    display: none;
}

.auth-card[b-88a6winlut]  ul.text-danger {
    padding-left: 30px;
}

#blazor-error-ui[b-88a6winlut] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-88a6winlut] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ── Phones and tablets: the panel becomes the app's dark brand bar ── */
@media (max-width: 1024px) {
    .auth[b-88a6winlut] {
        flex-direction: column;
    }

    .auth-brand[b-88a6winlut] {
        flex: none;
        height: 56px;
        padding: 0 16px;
        justify-content: center;
    }

    /* Same mark as the app's brand bar (AppTopBar.razor.css). */
    .auth-mark[b-88a6winlut] {
        font-size: 1.375rem;
        line-height: 1;
        gap: 10px;
    }

    .auth-mark[b-88a6winlut]  .app-logo {
        width: 30px;
        height: 30px;
        margin-left: calc(30px * -31 / 256);
    }

    .auth-claim[b-88a6winlut],
    .auth-photo[b-88a6winlut] {
        display: none;
    }

    .auth-main[b-88a6winlut] {
        padding: 24px 16px 16px;
    }

    /* The version leaves the foot for the brand bar's right end. .auth-main scrolls but is not positioned, so .auth
       is the containing block and the label stays in the bar. */
    .auth[b-88a6winlut] {
        position: relative;
    }

    .auth-version[b-88a6winlut] {
        position: absolute;
        top: 0;
        right: 16px;
        z-index: 1;
        display: flex;
        align-items: center;
        height: 56px;
        padding: 0;
        color: #fff;
        opacity: 0.6;
    }
}

@media (max-width: 640px) {
    .auth-main[b-88a6winlut] {
        align-items: stretch;
    }

    .auth-card[b-88a6winlut] {
        max-width: none;
        margin-block: 0 auto;
        padding: 24px 20px;
    }

    .auth-legal[b-88a6winlut] {
        justify-content: center;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app[b-iazeonq2cr] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    width: 100%;
    background: var(--page-ground);
}

.app-body[b-iazeonq2cr] {
    position: relative;
    overflow: hidden;
    min-height: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    height: 100%;
}

.content-area[b-iazeonq2cr] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    flex: 1 1 0;
}

.app-topbar[b-iazeonq2cr] {
    flex: none;
}

.main[b-iazeonq2cr] {
    --main-padding: 20px;
    flex: 1 1 0;
    min-height: 0;
    padding: var(--main-padding);
    /* A bottom drawer overlays the page, but its peek height is reserved so it never covers content
       (published by BottomDrawer.razor.js; 0 when no drawer is mounted). */
    padding-bottom: calc(var(--main-padding) + var(--bottom-drawer-min-height, 0px));
    overflow: auto;
    position: relative;
}

/* A page-fill page ends at the window and reserves the peek inside itself (see EasyTransfer). */
.main:has(.page-fill)[b-iazeonq2cr] {
    padding-bottom: var(--main-padding);
}

@media (max-width: 1024px) {
    .main[b-iazeonq2cr] {
        --main-padding: 15px;
    }
}

@media (max-width: 640px) {
    /* 16px: the dark head bands, their titles and search fields, and the cards below all stand on this one edge. */
    .main[b-iazeonq2cr] {
        --main-padding: 16px;
    }
    .desktop-only[b-iazeonq2cr] {
        display: none;
    }
}

#blazor-error-ui[b-iazeonq2cr] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-iazeonq2cr] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MobileTabBar.razor.rz.scp.css */
.tabbar[b-6rgg4vkb9k] {
    flex: none;
    /* Fixed, because the bottom sheet rests on exactly this height (--app-tabbar-h, template.css). */
    height: var(--app-tabbar-h, 70px);
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -2px 12px rgba(16, 40, 64, 0.08);
    position: relative;
    z-index: 30;
}

[b-6rgg4vkb9k] .tab {
    min-width: 60px;
    min-height: 48px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

[b-6rgg4vkb9k] .tab i {
    font-size: 1.25rem;
    color: inherit;
}

[b-6rgg4vkb9k] .tab.active {
    color: var(--primary-color);
}

/* html.sidebar-open is set by Sidebar.razor.js while the Mehr sheet is open: then Mehr reads Schließen and holds
   the highlight instead of the page underneath. */
.tab-more-icon[b-6rgg4vkb9k] {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

:root:not(.sidebar-open) .when-open[b-6rgg4vkb9k],
:root.sidebar-open .when-closed[b-6rgg4vkb9k] {
    display: none;
}

:root.sidebar-open .tabbar[b-6rgg4vkb9k]  .tab.active {
    color: var(--text-muted);
}

:root.sidebar-open .tabbar[b-6rgg4vkb9k]  .tab.tab-more {
    color: var(--primary-color);
}

:root.sidebar-open .tab-more-icon[b-6rgg4vkb9k] {
    background: var(--menu-item-selected);
}

[b-6rgg4vkb9k] .tab-scan {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(13, 108, 172, 0.35);
    text-decoration: none;
}

[b-6rgg4vkb9k] .tab-scan i {
    font-size: 1.6rem;
    color: #fff;
}

/* The desktop has the rail instead (MainLayout.razor). */
@media (min-width: 1025px) {
    .tabbar[b-6rgg4vkb9k] {
        display: none;
    }
}
/* /Components/Layout/PageHeader.razor.rz.scp.css */
.icon[b-zjlme4uj75]  i {
    font-size: 1.4rem;
    margin: 0;
    color: white;
    transition: all 0.3s;
}

h2[b-zjlme4uj75] {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    padding: 0;
    margin: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The type icon trails the title. It never shrinks: a long title gives way to the ellipsis, the icon stays.
   A step smaller than the text: a marker, not a word. */
.title-icon[b-zjlme4uj75] {
    flex: none;
    font-size: calc(var(--fs-xl) * 0.8);
    margin-left: 0.5rem;
}

/* Back link (phones and tablets), meta line and title, stacked. */
.text[b-zjlme4uj75] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-wrap: nowrap;
    margin-right: 1rem;
    min-width: 0;
    overflow: hidden;
}

.back[b-zjlme4uj75] {
    display: none;
    align-items: center;
    gap: 6px;
    height: 44px;
    color: #b9d3e8;
    font-weight: 700;
    text-decoration: none;
}

.title-row[b-zjlme4uj75] {
    display: flex;
    align-items: center;
    min-width: 0;
}

.meta[b-zjlme4uj75] {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* The page's colour square, inset in the tile. Both sides are fixed lengths: a square sized from the tile
   (height 100% + aspect-ratio) is circular inside an auto-sized grid row, and with the 256px fallback logo
   below the engine resolved that circle by growing the whole tile to 256px. */
.icon[b-zjlme4uj75] {
    background: var(--primary-color);
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    overflow: hidden;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

/* The fallback logo is a 256px asset, and without a cap it — not the square — decides how tall the header
   is. Capped in lengths for the same reason the square is: a percentage max-height resolves against a
   height the square only gets from its row, and Safari lets the image's intrinsic height win that circle. */
.icon img[b-zjlme4uj75] {
    width: 26px;
    max-height: 26px;
    object-fit: contain;
}

    .icon[b-zjlme4uj75]::before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        content: '';
        background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 0;
    }

/* The head band: white, flush under the app bar and edge to edge (PageLayout bleeds the header area over the
   content padding), ended by a hairline. The padding re-adds the content padding, so the band's content lines
   up with the page below it. */
.header-wrapper[b-zjlme4uj75] {
    position: relative;
    z-index: 10;
    /* One gap for the whole head: between the title row, the search row and the alerts card. A variable,
       because it is needed in several places and half of them would be forgotten next time. */
    --header-gap: 12px;
    padding: 16px var(--main-padding, 20px);
    background: #fff;
    box-shadow: 0 1px 0 var(--surface-line);
}
/* Progress for everything this page has running, along the band's lower edge.

   Taken out of flow on purpose: the bar appears and disappears mid-interaction, and an in-flow element
   would push the page content by its own height every time. Absolute positioning against the band costs
   no layout at all. */
.header-progress[b-zjlme4uj75] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.07);
}

.header-progress-bar[b-zjlme4uj75] {
    height: 100%;
    background: var(--primary-color);
}

/* Counted work: the width is the truth, eased just enough not to jump between steps. */
.header-progress.determinate .header-progress-bar[b-zjlme4uj75] {
    width: 0;
    transition: width 0.2s linear;
}

/* Uncounted work: a flat sliver travelling the bar. No percentage is claimed because none is known. */
.header-progress.indeterminate .header-progress-bar[b-zjlme4uj75] {
    width: 30%;
    animation: header-progress-slide-b-zjlme4uj75 1.15s ease-in-out infinite;
}

@keyframes header-progress-slide-b-zjlme4uj75 {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(440%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-progress.indeterminate .header-progress-bar[b-zjlme4uj75] {
        width: 100%;
        animation: none;
        opacity: 0.55;
    }

    .header-progress.determinate .header-progress-bar[b-zjlme4uj75] {
        transition: none;
    }
}

/* Icon, text, actions in one row. Flex rather than a grid: below the desktop the icon drops out, and grid
   auto-placement would then slide the text into the icon's column. */
.header-tile[b-zjlme4uj75] {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    border: none;
    text-decoration: none;
    user-select: none;
    animation: show-title-b-zjlme4uj75 1s forwards;
    min-height: 46px;
}

/* The design's action buttons: soft fill, bold label, the page's primary action in the accent colour. */
.header-actions[b-zjlme4uj75]  button {
    height: 36px;
    padding: 0 14px;
    gap: 6px;
    border-radius: 10px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--primary-color);
}

.header-actions[b-zjlme4uj75]  button.primary,
.header-actions[b-zjlme4uj75]  button.accent,
.header-actions[b-zjlme4uj75]  button.danger {
    color: #fff;
}

.header-actions[b-zjlme4uj75]  button i {
    font-size: 0.95em;
}

.header-more[b-zjlme4uj75] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-sunken);
    color: var(--primary-color);
    cursor: pointer;
}

.header-more:hover[b-zjlme4uj75] {
    background: #dde8f2;
}

/* The dots are the whole button: the action menu's select around them would draw a second, larger hover
   box (its own tint and padding) around the dots' own. */
.header-actions[b-zjlme4uj75]  .action-menu .select,
.header-actions[b-zjlme4uj75]  .action-menu .select:hover:not(.is-disabled) {
    background: transparent;
}

.header-actions[b-zjlme4uj75]  .action-menu .select.placeholder-compact .selected-option,
.header-actions[b-zjlme4uj75]  .action-menu .select .selected-option {
    padding: 0;
}

.additional-content[b-zjlme4uj75] {
    width: 100%;
    padding-top: var(--header-gap, 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--header-gap, 12px);
}

/* The page's alerts, always in sight under the title: a tinted strip, no card, no toggle. Bounded and
   scrolling inside itself — it is part of a header the page content has to fit underneath, and some pages
   group dozens of alerts. The cap is a share of the viewport, so it shrinks with the window instead of
   eating the page-content floor PageLayout.razor.css guarantees. */
.header-alerts[b-zjlme4uj75] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: min(20rem, 32vh);
    overflow-y: auto;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff1de;
    color: #8a4b00;
    font-size: var(--fs-sm);
}

.header-alert[b-zjlme4uj75],
.header-alert-title[b-zjlme4uj75] {
    margin: 0;
}

.header-alert[b-zjlme4uj75]  a,
.header-alert-group li[b-zjlme4uj75]  a {
    color: inherit;
    font-weight: 700;
}

.header-alert-title[b-zjlme4uj75] {
    font-weight: 700;
}

.header-alert-group ul[b-zjlme4uj75] {
    margin: 4px 0 0;
    padding-left: 16px;
    list-style: disc;
}

.header-alert-more[b-zjlme4uj75] {
    padding: 2px 0 0 16px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* Room for the search icon on the left — plain CSS rather than a Tailwind utility class, since
   pl-* wasn't previously used anywhere and so isn't guaranteed to be in the compiled dist.css. */
.header-search[b-zjlme4uj75]  input {
    padding-left: 2.25rem;
}

/* Desktop/tablet only: the panel floats over blurred page content, where the default
   form-control fill (#eef3f8, see wwwroot/app.css) barely separates from the backdrop, so
   the input takes its focused surface by default (focus still reads via border + ring).
   Below 640px .additional-content is itself an opaque white panel — white on white would
   erase the field, so there the default fill stays. */
@media (min-width: 641px) {
    .header-search[b-zjlme4uj75]  input {
        background: #fff;
    }
}

/* Static search glyph on the field's left edge, mirroring the filter/clear icons on the right. */
.header-search-icon[b-zjlme4uj75] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-500, #5c7180);
    pointer-events: none;
}

/* Filter action inside the search field, left of the clear button. */
.header-filter-icon[b-zjlme4uj75] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500, #5c7180);
}

.header-filter-icon.active[b-zjlme4uj75] {
    color: var(--accent-color);
}

.header-filter-badge[b-zjlme4uj75] {
    position: absolute;
    top: -0.45rem;
    right: -0.55rem;
    min-width: 0.95rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.6rem;
    line-height: 0.95rem;
    text-align: center;
    font-weight: 600;
}

/* Count on the search action itself — inline rather than overlaid, since the action's button is owned
   by ActionButton and carries no positioning context of ours. */
.header-action-filter-badge[b-zjlme4uj75] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
}

.header-filters[b-zjlme4uj75] {
    display: flex;
    justify-content: stretch;
}

@keyframes show-title-b-zjlme4uj75 {
    from {
        opacity: 0;
        /* transform: translateX(-10px); */
    }
    to {
        opacity: 1;
        /* transform: translateX(0); */
    }
}

.child-content[b-zjlme4uj75] {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.child-content[b-zjlme4uj75]  button {
    color: var(--primary-color);
}

/* Below the desktop the band turns dark and continues the dark app bar (like the lists' ListHead): white title,
   light meta, no icon (the tab bar's Mehr opens the drawer) and a back link above the title. */
@media (max-width: 1024px) {
    .header-wrapper[b-zjlme4uj75] {
        padding: 0 var(--main-padding) 18px;
        background: var(--primary-color);
        box-shadow: none;
    }

    .icon[b-zjlme4uj75] {
        display: none;
    }

    .back[b-zjlme4uj75] {
        display: inline-flex;
    }

    /* Without a back link the title needs the room above it the link would have taken. */
    .text:not(:has(.back))[b-zjlme4uj75] {
        padding-top: 8px;
    }

    h2[b-zjlme4uj75] {
        color: #fff;
    }

    .title-icon[b-zjlme4uj75],
    .meta[b-zjlme4uj75] {
        color: #b9d3e8;
    }

    /* Parent links (ParentTrail) on the dark band: white instead of the accent blue. */
    .meta[b-zjlme4uj75]  .parent-trail-link,
    .meta[b-zjlme4uj75]  .parent-trail-link i,
    .meta[b-zjlme4uj75]  .parent-trail-sep {
        color: #fff;
    }

    .meta[b-zjlme4uj75]  .parent-trail-link:hover,
    .meta[b-zjlme4uj75]  .parent-trail-link:focus-visible {
        background: rgb(255 255 255 / 0.14);
    }

    .header-tile[b-zjlme4uj75]  .action-menu-toggle,
    .header-tile[b-zjlme4uj75]  button {
        color: #fff;
    }
}

[b-zjlme4uj75] .mobile-header-content {
    transition: transform 0.3s ease, margin-top 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    transform-origin: top;
}
[b-zjlme4uj75] .mobile-header-content:not(.open) {
    transform: scaleY(0);
    margin: 0px;
    padding: 0px;
    max-height: 0;
}
[b-zjlme4uj75] .mobile-header-content.open {
    margin-top: 10px;
    max-height: 100vh;
}
[b-zjlme4uj75] .mobile-header-content > * {
    transition: opacity 0.3s linear;
    opacity: 1;
}
[b-zjlme4uj75] .mobile-header-content:not(.open) > * {
    opacity: 0;
}

[b-zjlme4uj75] .vertical-dots-menu > * {
    display: flex;
    width: 100%;
    justify-content: left;
    color: var(--primary-color);
    min-height: 2.5em;
}
/* Attached: the page's tab row continues the band (see the Attached parameter): no hairline between the two
   and less padding, the tabs bring their own. The alerts card stays inside the band (with its padding below it);
   only a search row puts the band's end back. */
.header-wrapper.attached:not(:has(.additional-content))[b-zjlme4uj75] {
    padding-bottom: 6px;
}

.header-wrapper.attached:not(:has(.header-search))[b-zjlme4uj75] {
    box-shadow: none;
}
/* /Components/Layout/PageLayout.razor.rz.scp.css */
.page[b-di1kt9n8x2] {
    display: grid;
    grid-template-rows: auto 1fr;
    /* One column that never grows past the window: an implicit auto track widens to its widest content (a tab
       row, a table), and the whole page then scrolls sideways on a phone. */
    grid-template-columns: minmax(0, 1fr);
    /* Grow with content instead of capping at the viewport, so the sticky
       page header below has a containing block spanning the full scroll. */
    min-height: 100%;
    width: 100%;
    /* Height of the pinned head band (PageHeader: 16px padding around the 46px icon). An in-content sticky element
       uses it as its top as it is: sticky offsets count from inside the scroller's padding, and that padding is the
       same gap the content keeps below the band — so this value lands it exactly where it starts. */
    --sticky-header-height: 78px;
}

.page-header[b-di1kt9n8x2] {
    position: sticky;
    top: 0;
    z-index: 20;
}

/* The head band (PageHeader) sits flush under the app bar and reaches both edges of the content area: the
   header box itself bleeds over the scroll container's padding, so the sticky offset 0 is the band's own top
   edge and nothing scrolls past above it. Gated on :has(*) so pages without a PageHeader (Lagebild, the
   lists with their ListHead) keep the plain padding. The gap below goes away when the page's tab row hangs
   from the band (PageHeader Attached + a pivot-attached Pivot). */
.page-header:has(*)[b-di1kt9n8x2] {
    margin: calc(var(--main-padding, 15px) * -1) calc(var(--main-padding, 15px) * -1) var(--main-padding, 15px);
    /* Sticky offsets count from inside the scroll container's padding; pull the pin point up by that padding
       so the band stays flush under the app bar instead of being pushed down by it. */
    top: calc(var(--main-padding, 15px) * -1);
}

/* Below the desktop a split view's panes keep their padding in the page (on the desktop SplitView hands it back
   with a negative margin), so the band's gap shrinks by it: the content starts one content padding below the
   band at every width. Placed before the attached rule, which must still win for a tabbed split page. */
@media (max-width: 1024px) {
    .page:has(> .page-content > .view) > .page-header:has(*)[b-di1kt9n8x2] {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    /* Phone panes keep 5px (SplitView.razor.css). */
    .page:has(> .page-content > .view) > .page-header:has(*)[b-di1kt9n8x2] {
        margin-bottom: calc(var(--main-padding) - 5px);
    }
}

/* Two :has() side by side: nested inside one another they are invalid and drop the whole rule. Alerts stay part of
   the band; only a search row ends it. */
.page-header:has(.header-wrapper.attached):not(:has(.header-search))[b-di1kt9n8x2] {
    margin-bottom: 0;
}

/* The outermost pane (@container pane): a part shown both on its own page and in a list's narrow middle (ListColumns)
   lays itself out by the width it gets, in one rule instead of a media query plus a container query. */
.page-content[b-di1kt9n8x2] {
    height: 100%;
    max-height: 100%;
    overflow: visible;
    max-width: calc(100vw - var(--main-padding) * 2);
    container: pane / inline-size;
}
.page-content:not(:has( > .view))
.page-content:not(:has( > .dashboard))[b-di1kt9n8x2] {
    background: linear-gradient(180deg,rgb(255, 255, 255) 0%, rgba(91, 154, 186, 0) 50%);
    border-radius: 5px;
    padding: 15px;
}

/* A split page fills exactly the viewport instead of growing: the page stops being
   the scroller (min-height:0 + a fixed 100% height) and the content row is allowed
   to shrink below its content (minmax(...,1fr)), so the split panes — not the page —
   absorb the overflow and scroll. On wide screens the two side-by-side panes scroll
   independently; on mobile/tablet the snapped pane is the vertical scroller, letting
   the primary table fill the screen. Non-split pages keep the growing page.

   The content row has a floor, though. The header above it grows with whatever the page
   currently shows — a deleted-entity banner, the search row, the alerts panel, an open filter
   panel — and every pixel it takes comes straight out of the panes, so a page with several of
   them open squeezed its table down to a header row and a pagination bar rather than let
   anything scroll. At --page-content-min the row stops giving space back: the page then
   overflows the viewport and the scroll container around it takes over, i.e. the table keeps
   rows in it and the page scrolls instead.

   The floor is deliberately low, and capped against the viewport on top of that. It is a
   backstop for the case where the header has taken everything, not a size the content aims
   for — the page's own scroll can only move the content so far, since the header stays pinned
   over it (sticky inside a page box that is exactly the viewport), so a floor larger than the
   room actually left over would be paid for in content hidden behind the header rather than
   in content the user can reach. Capping the alerts panel (PageHeader.razor.css) is what keeps
   the header modest enough that it rarely comes to this.

   A SplitView with Grow opts out: Erfassungsseiten wie Umlagerung und Einkauf wachsen mit ihrem Inhalt, statt
   ihre Kopffelder auf die Fensterhöhe zusammenzudrücken. */
.page:has(> .page-content > .view:not(.grow))[b-di1kt9n8x2] {
    --page-content-min: min(18rem, 30vh);
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(var(--page-content-min), 1fr);
}
.page:has(> .page-content > .view:not(.grow)) > .page-content[b-di1kt9n8x2] {
    min-height: 0;
}

/* Below the desktop a DesktopAside view has no panes to scroll (SplitView.razor.css): its content is the page. A page
   held at the viewport would let it overflow past its own box, and the scroller's bottom padding — the gap above the
   tab bar — only follows the page box, so the last card ended on the tab bar. Such a page grows instead. */
@media (max-width: 1024px) {
    .page:has(> .page-content > .view.desktop-aside)[b-di1kt9n8x2] {
        height: auto;
        min-height: 100%;
        grid-template-rows: auto 1fr;
    }

    .page:has(> .page-content > .view.desktop-aside) > .page-content[b-di1kt9n8x2] {
        height: auto;
        max-height: none;
    }
}

/* The same bounded page for a page whose content opts in with .page-fill (the mobile Umlagerung): the content row
   is exactly what is left under the header, and the page-fill element flexes into it — so a list inside can own
   its scroll instead of growing the page. */
.page:has(> .page-content > .page-fill)[b-di1kt9n8x2] {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}
.page:has(> .page-content > .page-fill) > .page-content[b-di1kt9n8x2] {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.page:has(> .page-content > .page-fill) > .page-content > .page-fill[b-di1kt9n8x2] {
    flex: 1 1 auto;
}
/* /Components/Layout/ProfileDialog.razor.rz.scp.css */
.profile-head[b-c6t5qql9gi] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-avatar[b-c6t5qql9gi] {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 800;
}

.profile-name[b-c6t5qql9gi] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-name strong[b-c6t5qql9gi] {
    color: var(--text-ink);
    font-size: 1.125rem;
}

.profile-name span[b-c6t5qql9gi] {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.profile-facts[b-c6t5qql9gi] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 20px;
    margin: 0;
}

.profile-facts dt[b-c6t5qql9gi] {
    color: var(--text-muted);
}

.profile-facts dd[b-c6t5qql9gi] {
    margin: 0;
    color: var(--text-ink);
    overflow-wrap: anywhere;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* State visibility: everything state-bound is hidden until Blazor's class on the dialog names its state. */
.components-reconnect-first-attempt-visible[b-zj7xojy7p2],
.components-reconnect-repeated-attempt-visible[b-zj7xojy7p2],
.components-reconnect-failed-visible[b-zj7xojy7p2],
.components-pause-visible[b-zj7xojy7p2],
.components-resume-failed-visible[b-zj7xojy7p2],
.components-rejoining-animation[b-zj7xojy7p2],
.reconnect-icon-connecting[b-zj7xojy7p2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-show .reconnect-icon-connecting[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-retrying[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-retrying .reconnect-icon-connecting[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-failed[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zj7xojy7p2] {
    display: block;
}

/* Blazor adds the later state classes without removing "show" (retrying keeps it), so a later
   state hides what the earlier ones showed. Same specificity as above, so order decides. */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-first-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-repeated-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-failed .components-rejoining-animation[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-failed .reconnect-icon-connecting[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-paused .components-reconnect-first-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-paused .components-reconnect-repeated-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-paused .components-rejoining-animation[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-paused .reconnect-icon-connecting[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-resume-failed .components-reconnect-first-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-resume-failed .components-reconnect-repeated-attempt-visible[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-resume-failed .components-rejoining-animation[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-icon-connecting[b-zj7xojy7p2] {
    display: none;
}

/* Card surface like the app's menus and dialogs. Fades in after a short delay so a blip of a
   few hundred milliseconds never flashes the modal. */
#components-reconnect-modal[b-zj7xojy7p2] {
    width: 22rem;
    max-width: calc(100vw - 32px);
    margin: 20vh auto;
    padding: 28px 24px 24px;
    border: 0;
    outline: none;
    border-radius: var(--surface-radius);
    background: #fff;
    box-shadow: var(--menu-shadow);
    color: var(--text-ink);
    font: inherit;
    opacity: 0;
    transition: display 0.3s allow-discrete, overlay 0.3s allow-discrete;
    animation: components-reconnect-modal-fadeOut-b-zj7xojy7p2 0.3s both;
}

#components-reconnect-modal[open][b-zj7xojy7p2] {
    animation: components-reconnect-modal-fadeIn-b-zj7xojy7p2 0.35s cubic-bezier(.2, .8, .3, 1) 0.3s both;
}

#components-reconnect-modal[b-zj7xojy7p2]::backdrop {
    background: rgba(16, 40, 64, 0.32);
    backdrop-filter: blur(2px);
    animation: components-reconnect-modal-backdropIn-b-zj7xojy7p2 0.3s ease-out 0.3s both;
}

@keyframes components-reconnect-modal-fadeIn-b-zj7xojy7p2 {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes components-reconnect-modal-fadeOut-b-zj7xojy7p2 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes components-reconnect-modal-backdropIn-b-zj7xojy7p2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.components-reconnect-container[b-zj7xojy7p2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/* Round badge with the state's icon; while connecting a ring spins around it. */
.reconnect-badge[b-zj7xojy7p2] {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color) 9%, transparent);
    color: var(--accent-color);
    font-size: 26px;
}

.reconnect-badge > i[b-zj7xojy7p2] {
    grid-area: 1 / 1;
    line-height: 1;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-badge[b-zj7xojy7p2],
#components-reconnect-modal.components-reconnect-resume-failed .reconnect-badge[b-zj7xojy7p2] {
    background: color-mix(in srgb, var(--menu-item-danger) 9%, transparent);
    color: var(--menu-item-danger);
}

#components-reconnect-modal.components-reconnect-paused .reconnect-badge[b-zj7xojy7p2] {
    background: var(--surface-sunken);
    color: var(--text-muted);
}

.components-rejoining-animation[b-zj7xojy7p2] {
    position: absolute;
    inset: -5px;
    border: 3px solid color-mix(in srgb, var(--accent-color) 14%, transparent);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: components-rejoining-spin-b-zj7xojy7p2 0.9s linear infinite;
}

/* The icon breathes gently, so the wait reads as "working" even beside the spinning ring. */
.reconnect-icon-connecting[b-zj7xojy7p2] {
    animation: components-rejoining-pulse-b-zj7xojy7p2 1.8s ease-in-out infinite;
}

@keyframes components-rejoining-spin-b-zj7xojy7p2 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes components-rejoining-pulse-b-zj7xojy7p2 {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .components-rejoining-animation[b-zj7xojy7p2] {
        animation-duration: 2.4s;
    }

    .reconnect-icon-connecting[b-zj7xojy7p2] {
        animation: none;
    }
}

#components-reconnect-modal p[b-zj7xojy7p2] {
    margin: 0;
}

.reconnect-title[b-zj7xojy7p2] {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text-ink);
}

#components-reconnect-modal .reconnect-text[b-zj7xojy7p2] {
    margin-top: 6px;
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--text-muted);
}

.reconnect-countdown[b-zj7xojy7p2] {
    white-space: nowrap;
}

#components-seconds-to-next-attempt[b-zj7xojy7p2] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--text-ink);
}

#components-reconnect-modal button[b-zj7xojy7p2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    margin-top: 20px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

#components-reconnect-modal button:hover[b-zj7xojy7p2] {
    background: #004a7c;
}

#components-reconnect-modal button:focus-visible[b-zj7xojy7p2] {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 35%, transparent);
}
/* /Components/Layout/Sidebar.razor.rz.scp.css */
/* Mehr on phones and tablets: a sheet rising from the tab bar. The desktop has the rail (AppRail.razor) instead.
   NavLink renders its own <a>, which carries no scope attribute of this component — hence ::deep below the sheet
   for everything a NavLink draws. */

/* Scrim and frame end on the tab bar (--app-tabbar-h), so the bar stays usable and its Schließen closes the sheet. */
.sheet-scrim[b-mc7u9nknxy] {
    position: fixed;
    inset: 0 0 var(--app-tabbar-h, 0px) 0;
    background: rgba(10, 24, 40, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 150;
}

/* --drag-t is written per animation frame while swiping, so the scrim fades with the sheet
   instead of holding full strength until the gesture ends. */
.sheet-scrim[data-open][b-mc7u9nknxy] {
    opacity: var(--drag-t, 1);
    pointer-events: auto;
}

/* Clips the sheet at the tab bar's upper edge: sliding shut, it disappears behind the bar instead of over it. */
.sheet-frame[b-mc7u9nknxy] {
    position: fixed;
    inset: 0 0 var(--app-tabbar-h, 0px) 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 200;
}

.sheet[b-mc7u9nknxy] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* Phones: full width. Tablets: a centred sheet — left/right 0 with auto margins centre it once max-width bites. */
    max-width: 560px;
    margin-inline: auto;
    max-height: calc(100% - 12px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 30px rgba(16, 40, 64, 0.18);
    transform: translateY(100%);
    transition: transform 0.25s ease;
    pointer-events: auto;
    user-select: none;
    outline: none;
    /* The drag is ours everywhere but in a list that really scrolls (.sheet-body[data-overflows]). */
    touch-action: none;
}

/* data-open, not a class: Blazor rewrites every class it renders, which would wipe the state the JS module owns. */
.sheet[data-open][b-mc7u9nknxy] {
    transform: translateY(0);
}

/* While the finger drives the transform, freeze the stylesheet transition and hint the
   compositor. The module sets its own inline transition for the snap on release. */
.sheet[data-dragging][b-mc7u9nknxy] {
    transition: none;
    will-change: transform;
}

.sheet-grip[b-mc7u9nknxy] {
    flex: none;
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
}

.sheet-grip span[b-mc7u9nknxy] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #cfd8e2;
}

/* ===== Head: who is signed in, and close ===== */
.sheet-head[b-mc7u9nknxy] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 12px 12px var(--main-padding, 16px);
    border-bottom: 1px solid var(--surface-line);
}

.sheet[b-mc7u9nknxy]  .sheet-profile {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    margin-left: -4px;
    border-radius: 12px;
    color: var(--text-ink);
    text-decoration: none;
}

.sheet[b-mc7u9nknxy]  .sheet-profile.active {
    background: var(--menu-item-selected);
}

.sheet-avatar[b-mc7u9nknxy] {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sheet-profile-text[b-mc7u9nknxy] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.25;
}

.sheet-profile-name[b-mc7u9nknxy] {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-profile-role[b-mc7u9nknxy] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-close[b-mc7u9nknxy] {
    flex: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-sunken);
    color: var(--primary-color);
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ===== Body: the groups as one grid of tiles ===== */
.sheet-body[b-mc7u9nknxy] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px var(--main-padding, 16px) 16px;
    /* Restated: touch-action is not inherited, and a scroll container starts its own. */
    touch-action: none;
}

/* Set by Sidebar.razor.js only while the list is taller than its box: then the finger scrolls it. */
.sheet-body[data-overflows][b-mc7u9nknxy] {
    touch-action: pan-y;
}

/* Every group spans as many columns as it has tiles (at most all four) and lays them out on the parent's tracks
   (subgrid), so small groups share a row and all tiles stay aligned to one grid. */
.sheet-grid[b-mc7u9nknxy] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 8px;
}

.sheet-group[b-mc7u9nknxy] {
    grid-column: span var(--span, 4);
    display: grid;
    grid-template-columns: subgrid;
    row-gap: 4px;
    align-content: start;
}

/* Centred over its group like the tiles in their columns, on a tinted pill — no edge to line up with. */
.sheet-group-label[b-mc7u9nknxy] {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 100%;
    margin: 0 0 4px;
    padding: 3px 14px;
    border-radius: 999px;
    background: var(--surface-sunken);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet[b-mc7u9nknxy]  .sheet-tile {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border-radius: 12px;
    color: var(--text-ink);
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.sheet[b-mc7u9nknxy]  .sheet-tile-text {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.sheet[b-mc7u9nknxy]  .sheet-tile-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--tile-color, var(--primary-color)) 12%, transparent);
    color: var(--tile-color, var(--primary-color));
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s ease;
}

.sheet[b-mc7u9nknxy]  a.sheet-tile:active .sheet-tile-icon {
    transform: scale(0.94);
}

/* The page you are on: the tile filled in its colour. */
.sheet[b-mc7u9nknxy]  a.sheet-tile.active {
    color: var(--tile-color, var(--primary-color));
    font-weight: 700;
}

.sheet[b-mc7u9nknxy]  a.sheet-tile.active .sheet-tile-icon {
    background: var(--tile-color, var(--primary-color));
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--tile-color, var(--primary-color)) 35%, transparent);
}

.sheet[b-mc7u9nknxy]  .sheet-tile.disabled {
    color: var(--text-muted);
}

.sheet[b-mc7u9nknxy]  .sheet-tile.disabled .sheet-tile-icon {
    background: transparent;
    border: 1.5px dashed #cfd8e2;
    box-sizing: border-box;
    color: #8a97a5;
}

.sheet[b-mc7u9nknxy]  .sheet-tile-soon {
    font-size: var(--fs-2xs);
    font-weight: 700;
}

.sheet[b-mc7u9nknxy]  .sheet-tile-new {
    position: absolute;
    top: -5px;
    right: -8px;
    padding: 1px 5px;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: var(--fs-2xs);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ===== Foot: Dokumente, Einstellungen, Feedback, Hilfe, Abmelden — labelled, always in reach ===== */
.sheet-foot[b-mc7u9nknxy] {
    flex: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    padding: 6px 4px 8px;
    border-top: 1px solid var(--surface-line);
    background: #f7f9fc;
}

.sheet[b-mc7u9nknxy]  .sheet-util {
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--fs-2xs);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.sheet[b-mc7u9nknxy]  .sheet-util i {
    font-size: 1.25rem;
}

.sheet[b-mc7u9nknxy]  .sheet-util span {
    max-width: 100%;
    font-size: 0.6875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet[b-mc7u9nknxy]  .sheet-util.active {
    color: var(--primary-color);
    background: var(--menu-item-selected);
}

.sheet[b-mc7u9nknxy]  .sheet-util.danger {
    color: var(--menu-item-danger);
}

/* The entity colour, darkened where it is too light to read on its own tint (Historie's yellow). Inside @supports:
   a var() lets any colour parse, so an unsupported one would fall to the inherited ink, not to the line above. */
@supports (color: oklch(from red l c h)) {
    .sheet[b-mc7u9nknxy]  .sheet-tile-icon,
    .sheet[b-mc7u9nknxy]  a.sheet-tile.active {
        color: oklch(from var(--tile-color, var(--primary-color)) min(l, 0.55) c h);
    }

    .sheet[b-mc7u9nknxy]  a.sheet-tile.active .sheet-tile-icon {
        color: #fff;
    }
}

@media (hover: hover) {
    .sheet[b-mc7u9nknxy]  a.sheet-tile:hover .sheet-tile-icon {
        background: color-mix(in srgb, var(--tile-color, var(--primary-color)) 20%, transparent);
    }

    .sheet[b-mc7u9nknxy]  a.sheet-tile.active:hover .sheet-tile-icon {
        background: var(--tile-color, var(--primary-color));
    }

    .sheet[b-mc7u9nknxy]  .sheet-util:hover,
    .sheet[b-mc7u9nknxy]  .sheet-profile:hover {
        background: var(--menu-item-hover);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sheet[b-mc7u9nknxy],
    .sheet-scrim[b-mc7u9nknxy] {
        transition: none;
    }
}

/* The desktop has the rail instead (MainLayout.razor). */
@media (min-width: 1025px) {
    .sheet-frame[b-mc7u9nknxy],
    .sheet-scrim[b-mc7u9nknxy] {
        display: none;
    }
}

/* The profile entry is a button (it opens the profile dialog), drawn like the link it used to be. */
button.sheet-profile[b-mc7u9nknxy] {
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
/* /Components/Layout/SidebarUtilityMenu.razor.rz.scp.css */
/* Collapsed: a compact icon row with the caret at the end.
   Open: a labeled column that grows the footer upward IN FLOW (the nav above shrinks).

   .open drives the column LAYOUT; .expanded drives the revealed HEIGHT. They are split so
   the close animation can shrink the height (max-height) while the column layout is still
   applied — otherwise removing the layout would snap straight to the short icon row. */
/* The --util-* variables come from .sidebar.desktop in Sidebar.razor.css and inherit through the
   CSS-isolation boundary. Each is consumed with the WIDE value as its fallback, so .util.mobile —
   which is not a descendant of .sidebar.desktop and inherits none of them — keeps the wide layout
   unchanged. They replace what used to be a `narrow` class driven by a hover-derived C# parameter,
   which meant the rail/wide layout could not settle until a round trip completed. */
.util[b-pjsebuz8pg] {
    display: flex;
    flex-direction: var(--util-dir, row);
    align-items: var(--util-align, center);
    padding-left: var(--util-pad-left, 0px);
    gap: var(--util-gap, 4px);
    min-width: 0;
}

.util.open[b-pjsebuz8pg] {
    flex-direction: column;
    align-items: var(--util-open-align, stretch);
    gap: 2px;
}

/* ===== List ===== */
.util-list[b-pjsebuz8pg] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: var(--util-dir, row);
    align-items: var(--util-align, center);
    gap: var(--util-gap, 4px);
    overflow: hidden;
    max-height: var(--util-list-max, 2.5rem); /* collapsed: a single icon row, or 0 in the rail */
}

.util.open .util-list[b-pjsebuz8pg] {
    flex-direction: column;
    align-items: var(--util-open-align, stretch);
    gap: 2px;
    width: 100%;
    /* Only animate the height while the MENU is open/closing. Otherwise a sidebar collapse with
       the menu closed would animate max-height (2.5rem→0) through the stacked column layout,
       briefly flashing the icons as if expanded. With no transition there, it snaps cleanly. */
    transition: max-height 0.26s ease;
}

.util.expanded .util-list[b-pjsebuz8pg] {
    max-height: 11rem; /* opened target — comfortably fits the four items */
}

/* ===== Buttons (icon-only when collapsed) ===== */
.util[b-pjsebuz8pg]  .util-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

/* Dokumente is a <button>, not a NavLink — strip the UA chrome so both read as the same row. */
.util[b-pjsebuz8pg]  button.util-item {
    border: none;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.util[b-pjsebuz8pg]  .util-item:hover {
    background: rgba(13, 108, 172, 0.08);
}

.util[b-pjsebuz8pg]  .util-item.active {
    background: rgba(13, 108, 172, 0.13);
}

.util[b-pjsebuz8pg]  .util-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.util[b-pjsebuz8pg]  .util-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.util[b-pjsebuz8pg]  .util-item-icon i {
    font-size: 1rem;
}

.util[b-pjsebuz8pg]  .util-item-label {
    display: none;
    font-size: var(--fs-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Open layout: each button becomes a labeled row (revealed as the height grows) — except in the
   64px rail, where the vars keep it an icon-only square. */
.util.open[b-pjsebuz8pg]  .util-item {
    display: var(--util-open-item-display, grid);
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    width: var(--util-open-item-w, auto);
    height: var(--util-open-item-h, auto);
    padding: var(--util-open-item-pad, 8px 10px);
    color: #1f2d3d;
}

.util.open[b-pjsebuz8pg]  .util-item.active {
    background: linear-gradient(90deg, rgba(13, 108, 172, 0.13) 0%, rgba(13, 108, 172, 0.03) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.util.open[b-pjsebuz8pg]  .util-item-icon {
    color: var(--primary-color);
}

.util.open[b-pjsebuz8pg]  .util-item-label {
    display: var(--util-open-label-display, block);
}

/* ===== Caret ===== */
.util-caret[b-pjsebuz8pg] {
    width: var(--util-caret-size, 32px);
    height: var(--util-caret-size, 32px);
    border: none;
    background: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.util-caret:hover[b-pjsebuz8pg] {
    background: rgba(13, 108, 172, 0.1);
}

.util-caret i[b-pjsebuz8pg] {
    transition: transform 0.2s ease;
}

.util:not(.open) .util-caret[b-pjsebuz8pg] {
    margin-left: var(--util-caret-ml, auto);
}

/* Caret stays a 36px button aligned to the icon column (8px inset) in every open state, so it
   doesn't resize or slide when the sidebar expands/collapses with the menu open. */
.util.open .util-caret[b-pjsebuz8pg] {
    width: 36px;
    height: 36px;
    margin-top: 2px;
    margin-left: 8px;
}

.util.expanded .util-caret i[b-pjsebuz8pg] {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .util.open .util-list[b-pjsebuz8pg],
    .util-caret i[b-pjsebuz8pg] {
        transition: none;
    }
}
/* /Components/Layout/SplitView.razor.rz.scp.css */
.view[b-jgss9lcwty] {
    position: relative;
    max-height: 100%;
    height: 100%;
    /* No surface of its own: the panes stand on the page ground like every other surface. */
    background: transparent;
    border-radius: 5px;
    --peek-width: 15px;
}

.view-scroll[b-jgss9lcwty] {
    overflow: auto;
    height: 100%;
}

.view-pane[b-jgss9lcwty] {
    overflow: auto;
    padding: 15px;
    height: 100%;
}

/* Grow: die Ansicht ist so hoch wie ihr Inhalt, und gescrollt wird die Seite (siehe PageLayout). */
.view.grow[b-jgss9lcwty],
.view.grow .view-scroll[b-jgss9lcwty],
.view.grow .view-pane[b-jgss9lcwty] {
    height: auto;
    max-height: none;
    overflow: visible;
}

@media (min-width: 1025px) {
    /* The panes keep 15px of padding so card shadows are not clipped by their scrollers; the view gives that
       padding back to the page, so the cards stand flush with the list head or head band above them and the gap
       to it is the page's own, not page + pane padding. */
    .view[b-jgss9lcwty] {
        margin: -15px -15px 0;
        height: calc(100% + 15px);
        max-height: none;
    }

    .view.grow[b-jgss9lcwty] {
        height: auto;
    }

    .view-scroll[b-jgss9lcwty] {
        position: relative;
        display: grid;
        /* minmax(0, …): a bare fr column never gets narrower than its content's widest unbreakable line, so a long
           row that scrolls by itself (Umlagern's source chips) widened the main pane past the window and pushed the
           aside out of sight. The panes take their share; what is wider scrolls inside them. */
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        /* Constrain the single row to the container height so the panes (not the
           grid) absorb overflow and each scroll independently. */
        grid-template-rows: minmax(0, 1fr);
        /* No gap of its own: the two panes' 15px paddings already keep their cards 30px apart. */
        gap: 0;
    }
    /* Panes already declare height:100%; overflow:auto — min-height:0 lets them
       shrink below their content so their own scrollbar engages. */
    .view-pane[b-jgss9lcwty] {
        min-height: 0;
    }

    .view.grow .view-scroll[b-jgss9lcwty] {
        grid-template-rows: auto;
    }

    /* ── Overlay mode (AsideOverlay) ─────────────────────────────────────────────
       Two states and nothing in between: open beside the content (.aside-pinned, width dragged at
       its left border) or folded to a strip. The toggle at the top, a click on the strip or a drag
       out of it opens; the toggle or a drag into the strip folds. Nothing opens on hover or focus
       and nothing folds by itself. It stays *in flow* — only the aside's basis animates — so the
       strip and the open layout are the two ends of one continuous motion. The page margin is never
       touched; only the aside's hit area reaches past it (see --aside-reach). */
    .view.overlay[b-jgss9lcwty] {
        --aside-peek: 40px;
        /* Effective aside width. --aside-preferred (set inline by the component for an absolute
           PreferredWidth) seeds the pre-JS paint; SplitView.razor.js then overrides --aside-width
           inline with a concrete px value — resolving any %, applying a dragged custom width, and
           keeping .aside-inner's clip width stable. The clamp is the last-resort default. */
        --aside-width: var(--aside-preferred, clamp(300px, 30vw, 600px));
        /* Shared by the fly-in and by .aside-peek-catch's hand-off — they must not drift. */
        --aside-fly: 0.28s;
        --aside-ease: cubic-bezier(.22, .9, .3, 1);
        /* How far the aside's *hit area* reaches past the view into the page margin.
           Applied as a transparent right border cancelled by an equal negative margin,
           so the pointer can slam into the window edge to open the aside while the
           layout and everything visible stay exactly where the margin puts them. */
        --aside-reach: 0px;
        /* Same trick on the *left*, but a hold rather than an opener: an aside that is already
           open extends its hit area across the visual gap (the flex gap + the main pane's right
           padding), so a pointer crossing that dead space — dragging something onto the aside, or
           just rounding the corner on the way in — cannot drop :hover and fly it shut. At rest it
           stays 0, so the pointer has to actually reach the peek strip to open the aside instead
           of merely coming near it (see the open-state rule below). */
        --aside-reach-left: 0px;
        /* Total transparent horizontal border added to the pane; the content box stays exactly
           --aside-width / --aside-peek because each side's border is cancelled by its margin. */
        --aside-hpad: calc(var(--aside-reach) + var(--aside-reach-left));
    }

    /* The second selector: a collapse-drag settles in JS (strip + hover lock) before the Blazor
       unpin re-render lands, so for that beat the pane is still .aside-pinned. The reach must
       already be on during it, or the pane's border box would briefly be 15px narrower than the
       final strip — a pointer resting in that band would get a pointerleave (clearing the lock)
       and then find itself hovering the grown strip once the unpin lands, flying it back open.
       (The left twin covers the same beat from the rule below, which lists the locked strip.) */
    /* Only the rest of the page margin: the view itself already reaches 15px into it (see .view above), and a
       reach past the window edge made the whole page scroll sideways. */
    .view.overlay:not(.aside-pinned)[b-jgss9lcwty],
    .view.overlay.aside-pinned:has(.view-pane.right[data-aside-hover-lock])[b-jgss9lcwty] {
        --aside-reach: max(0px, calc(var(--main-padding, 15px) - 15px));
    }

    /* The left reach, switched on only once the pane is actually engaged — hovered, held open, or
       being dragged. A collapsed strip therefore has no extended hit area: it opens when the pointer
       reaches it, not 27px early. Once open the extension is self-sustaining — the pointer sitting in
       the gap keeps :hover, which keeps the extension — so it reads as a hysteresis band that only a
       deliberate move away breaks. Redeclared here rather than on .view because the state lives on the
       pane; --aside-hpad has to follow, since the inherited one was substituted with the 0 above.

       The locked strip is in the list (in either pin state) for the reason the lock section spells
       out: a border box that shrank under a resting pointer would fire the pointerleave that clears
       the lock, and the strip would fly back open the moment the unpin re-render lands. */
    .view.overlay:not(.aside-pinned) .view-pane.right[data-aside-hold-open][b-jgss9lcwty],
    .view.overlay .view-pane.right[data-aside-hover-lock][b-jgss9lcwty],
    .view.overlay.aside-resizing:not(.aside-pinned) .view-pane.right[b-jgss9lcwty] {
        --aside-reach-left: 27px; /* 12px flex gap + 15px main-pane right padding */
        --aside-hpad: calc(var(--aside-reach) + var(--aside-reach-left));
    }

    /* Gap is tighter than the classic split's 30px: both panes already carry 15px of
       their own padding, and the main pane is the point of this mode — don't spend
       width on air. overflow must be visible or the aside's reach, which sticks out
       past the pane row, would raise a horizontal scrollbar; nothing scrolls here
       anyway, each pane is its own scroller. */
    .view.overlay .view-scroll[b-jgss9lcwty] {
        display: flex;
        gap: 0;
        overflow: visible;
    }

    .view.overlay .view-pane.left[b-jgss9lcwty] {
        flex: 1 1 0;
        min-width: 0;
    }

    /* The pane is the clip window: its width animates, its content does not. The width
       carries --aside-reach on top of the visible width, the border spends it and the
       negative margin takes it back out of the layout — net zero, but the pane's
       border box (and with it :hover) runs to the window edge. */
    .view.overlay .view-pane.right[b-jgss9lcwty] {
        position: relative;
        flex: 0 0 calc(var(--aside-width) + var(--aside-hpad));
        width: calc(var(--aside-width) + var(--aside-hpad));
        border-right: var(--aside-reach) solid transparent;
        margin-right: calc(var(--aside-reach) * -1);
        /* Left twin of the reach border: a transparent hit-area extension across the gap,
           cancelled by an equal negative margin so nothing visible moves. */
        border-left: var(--aside-reach-left) solid transparent;
        margin-left: calc(var(--aside-reach-left) * -1);
        padding: 0;
        overflow: hidden;
        /* border-right-width and margin-right ride the exact same curve as the width.
           Pinning drops --aside-reach to 0, and only if all three move in lockstep does
           (width − border) stay constant — otherwise the visible panel would shrink by
           the reach and spring back over the transition. */
        transition: flex-basis var(--aside-fly) var(--aside-ease),
                    width var(--aside-fly) var(--aside-ease),
                    border-right-width var(--aside-fly) var(--aside-ease),
                    margin-right var(--aside-fly) var(--aside-ease),
                    border-left-width var(--aside-fly) var(--aside-ease),
                    margin-left var(--aside-fly) var(--aside-ease),
                    filter 0.25s ease;
        /* Deliberately no will-change: a promised `filter` makes the pane a containing
           block for fixed-position descendants, which would strand Select's dropdown
           (position: fixed) inside the pane. Settling on `filter: none` avoids that. */
    }

    /* Collapsed: clipped to the peek strip, which shows a handle (.aside-peek-catch) instead of the aside's
       content — a sliver of blurred content read as a rendering fault rather than as "there is more here". */
    .view.overlay:not(.aside-pinned) .view-pane.right[b-jgss9lcwty] {
        flex-basis: calc(var(--aside-peek) + var(--aside-hpad));
        width: calc(var(--aside-peek) + var(--aside-hpad));
        filter: none;
    }

    /* Held at its final width at all times so flying in/out never reflows the aside. */
    .view.overlay .aside-inner[b-jgss9lcwty] {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: var(--aside-width);
        overflow: auto;
        padding: 15px;
    }

    /* Nothing in the clipped sliver may be clickable. Two layers, because each covers the
       other's blind spot:

       1. pointer-events on .aside-inner is z-index proof — no descendant can paint its way
          out of it — but it flips back the instant the aside opens, i.e. while it is still
          flying in.
       2. .aside-peek-catch covers exactly that window. It sits above the content and only
          steps aside once the fly-in has finished, via a visibility transition-delay
          (visibility is one of the few hit-testing-relevant properties that can be delayed).
          Collapsing is not delayed — the base rule carries no transition — so the catch is
          back the moment the aside closes and it flies out unclickable. */
    /* Folded, the content is also out of the tab order (visibility): focus cannot wander into a strip, and
       there is no half-open state for it to hold. It goes after the fade, and comes back at once. */
    .view.overlay:not(.aside-pinned) .view-pane.right:not([data-aside-hold-open]) .aside-inner[b-jgss9lcwty] {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.18s ease, visibility 0s linear 0.18s;
    }

    .view.overlay .aside-inner[b-jgss9lcwty] {
        transition: opacity 0.18s ease, visibility 0s;
    }

    /* The handle of the collapsed aside: no surface of its own, just the arrow and the grip on the page ground. */
    .view.overlay .aside-peek-catch[b-jgss9lcwty] {
        position: absolute;
        inset: 0;
        z-index: 3; /* over .aside-inner and over .aside-pin, both idle while collapsed */
        display: flex;
        justify-content: center;
        padding-top: 16px;
        box-sizing: border-box;
        background: transparent;
        color: var(--text-muted);
        cursor: pointer;
    }

    .view.overlay .aside-peek-catch:hover[b-jgss9lcwty] {
        color: var(--primary-color);
    }

    .view.overlay:not(.aside-pinned) .view-pane.right[data-aside-hold-open] .aside-peek-catch[b-jgss9lcwty] {
        visibility: hidden;
        transition: visibility 0s var(--aside-fly);
    }

    /* Pinned there is nothing to guard. */
    .view.overlay.aside-pinned .aside-peek-catch[b-jgss9lcwty] {
        display: none;
    }

    /* ── Lock while folding ───────────────────────────────────────────────────────
       A fold (drag into the strip, or the toggle) settles in JS at once, while the server's
       unpin re-render is still on its way. While aside-hover-lock is set the pane is held at the
       collapsed strip *unconditionally*. The JS clears the lock on the next pointerleave, press
       or focusin — by then the re-render has long landed and the strip holds by itself.

       The .aside-pinned twin covers the unpin round-trip: the collapse settles in JS first and
       the Blazor unpin re-render lands a beat later (SignalR) — without it the pane would bounce
       back toward its expanded width until the new class arrives.

       The lock is a data attribute the JS sets on the *pane*, not a class on .view: the collapse
       unpins, which re-renders .view (and the pane) and lets Blazor rewrite every attribute it renders
       — including bound class attributes — wiping any JS class. Blazor never renders this data
       attribute, so it survives. :not(.aside-resizing) keeps the unpinned selector at the fly-in
       rules' (0,7,0) specificity; being later in the file, the lock wins the tie. */
    .view.overlay:not(.aside-pinned):not(.aside-resizing) .view-pane.right[data-aside-hover-lock][b-jgss9lcwty],
    .view.overlay.aside-pinned:not(.aside-resizing) .view-pane.right[data-aside-hover-lock][b-jgss9lcwty] {
        flex-basis: calc(var(--aside-peek) + var(--aside-hpad));
        width: calc(var(--aside-peek) + var(--aside-hpad));
        filter: brightness(0.8) blur(3px) grayscale(0.2) opacity(0.8);
    }

    /* Keep the strip inert and the click-catcher live so a press lands on it (and clears the lock).
       The catch selectors out-specify both the hover/focus hand-off above and the pinned
       display:none, so the strip is guarded in either pin state. */
    .view.overlay .view-pane.right[data-aside-hover-lock] .aside-inner[b-jgss9lcwty] {
        pointer-events: none;
    }

    .view.overlay:not(.aside-pinned):not(.aside-resizing) .view-pane.right[data-aside-hover-lock] .aside-peek-catch[b-jgss9lcwty],
    .view.overlay.aside-pinned .view-pane.right[data-aside-hover-lock] .aside-peek-catch[b-jgss9lcwty] {
        display: block;
        visibility: visible;
        transition: none;
    }

    /* ── Hold-open: bridging the open round trip ──────────────────────────────────
       A tap on the strip or a drag out of it opens the aside, which is a state change on the server
       (SplitViewState). That re-render arrives a beat later (SignalR); until it does, this hold keeps
       the pane at its open width so it does not fly back to the strip and out again. */
    .view.overlay:not(.aside-pinned):not(.aside-resizing) .view-pane.right[data-aside-hold-open][b-jgss9lcwty] {
        flex-basis: calc(var(--aside-width) + var(--aside-hpad));
        width: calc(var(--aside-width) + var(--aside-hpad));
        filter: none;
    }

    /* The open/fold toggle — mirrors the nav sidebar's .sidebar-toggle. Open, it sits in the aside's
       top right corner above .aside-inner's scroll, hence its own backdrop; folded, it is the strip's
       arrow (rule below). */
    .aside-pin[b-jgss9lcwty] {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 2;
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(4px);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        color: var(--primary-color);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, color 0.2s, opacity 0.2s;
    }

    .aside-pin:hover[b-jgss9lcwty] {
        background: rgba(13, 108, 172, 0.1);
        color: var(--accent-color);
    }

    /* An aside that opens with a tab row: the row ends short of the pin button instead of running (and
       scrolling) underneath it. */
    .view.overlay .aside-inner[b-jgss9lcwty] >  .pivot-root > .pivot-bar:not(.pivot-bar-select) {
        margin-right: 36px;
        max-width: none;
    }

    /* Folded, the toggle is the strip's arrow at its top: flat on the page ground, above the drag handle that
       covers the rest of the strip, and the keyboard's way to open the aside. A locked strip (the beat a fold
       is still on its way to the server) shows it the same way. */
    .view.overlay:not(.aside-pinned) .view-pane.right:not([data-aside-hold-open]) .aside-pin[b-jgss9lcwty],
    .view.overlay .view-pane.right[data-aside-hover-lock] .aside-pin[b-jgss9lcwty] {
        top: 8px;
        left: calc((var(--aside-peek) - 32px) / 2);
        right: auto;
        z-index: 5;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        color: var(--text-muted);
    }

    .view.overlay:not(.aside-pinned) .view-pane.right:not([data-aside-hold-open]) .aside-pin:hover[b-jgss9lcwty],
    .view.overlay .view-pane.right[data-aside-hover-lock] .aside-pin:hover[b-jgss9lcwty] {
        background: var(--surface-sunken);
        color: var(--primary-color);
    }

    /* ── Resize handle ───────────────────────────────────────────────────────────
       A full-height grab strip along the aside's left border. It lives inside the overflow:hidden
       pane, so it starts at the pane edge; the centered bar draws the eye to it. Active in every
       state, including the collapsed peek and the hover-locked strip — a press there both clears the
       lock and starts a drag. Sits above the peek-catch (z 3) so the collapsed strip is grabbable.
       Width is 18px (a border grip) when the aside is open, but spans the whole peek when collapsed
       (rule below) so the drag can be started from anywhere on the peek. */
    .aside-resize[b-jgss9lcwty] {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 18px;
        z-index: 4;
        cursor: col-resize;
        touch-action: none;     /* the pointer drags the border, never scrolls */
        user-select: none;
        opacity: 1;
        pointer-events: auto;
        /* Once the aside opens, hold the wide peek grab area through the fly (transition-delay),
           then glide down to the 18px grip so the open aside's content is fully interactive. */
        transition: width 0.18s ease var(--aside-fly), opacity 0.2s ease;
    }

    /* Collapsed peek: the whole strip is the grab area — including a hover-locked strip, which is
       visually identical and must accept a fresh drag (the press clears the lock and primes the drag
       in one gesture). Not while dragging or held open (kept at the grip). A click opens it, so the
       strip shows the hand rather than the resize arrows. */
    .view.overlay:not(.aside-pinned):not(.aside-resizing)
        .view-pane.right:not([data-aside-hold-open]) .aside-resize[b-jgss9lcwty],
    .view.overlay:not(.aside-pinned):not(.aside-resizing)
        .view-pane.right[data-aside-hover-lock] .aside-resize[b-jgss9lcwty] {
        width: var(--aside-peek);
        cursor: pointer;
        transition: width 0.18s ease, opacity 0.2s ease; /* widen back immediately on collapse (no fly delay) */
    }

    /* Drawer-style bar (cf. .bottom-drawer-handle-bar), stood on end — always at the vertical middle of
       the visible aside (the pane is as high as the view; its content scrolls inside), however short or
       long the content is. max-height keeps it proportional on a very low window. No time transition:
       the accent glow below is driven by distance, not time. */
    .aside-resize-bar[b-jgss9lcwty] {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 5px;
        height: 44px;
        max-height: 60%;
        border-radius: 3px;
        background: rgba(0, 0, 0, 0.18);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }

    .aside-resize:hover .aside-resize-bar[b-jgss9lcwty] {
        background: rgba(0, 0, 0, 0.3);
    }

    /* Snap proximity, driven per-frame by --aside-snap-t (0..1, distance to the nearest of
       min/preferred/max): the bar itself tints toward the accent, wrapped in a soft accent glow
       (rather than a hard fill). At t=0 both vanish (grey bar, zero-radius transparent shadow).
       No time transition — the value is the distance. */
    .view.overlay.aside-resizing .aside-resize-bar[b-jgss9lcwty] {
        background: color-mix(in srgb, var(--accent-color) calc(var(--aside-snap-t, 0) * 65%), rgba(0, 0, 0, 0.3));
        box-shadow:
            0 0 calc(var(--aside-snap-t, 0) * 7px) calc(var(--aside-snap-t, 0) * 1px)
                color-mix(in srgb, var(--accent-color) calc(var(--aside-snap-t, 0) * 55%), transparent),
            0 1px 2px rgba(0, 0, 0, 0.08);
    }

    /* ── While dragging ──────────────────────────────────────────────────────────
       Freeze the fly-in transition (the width is following the pointer, not easing)
       and force the aside open so a captured pointer straying off the pane can't let
       an unpinned aside collapse mid-drag. */
    .view.overlay.aside-resizing[b-jgss9lcwty] {
        cursor: col-resize;
        user-select: none;
    }

    /* Width follows the pointer instantly (no width/flex-basis easing). The filter is driven per-frame by
       --aside-collapse-t (0 at the min width → 1 at the collapse point), scaling each part of the collapsed
       peek's blur so the preview grows with *distance to the collapse point*, not over time — hence no
       transition here. It applies whether pinned or not, so the forced-open rule below no longer sets it. */
    .view.overlay.aside-resizing .view-pane.right[b-jgss9lcwty] {
        transition: none;
        filter:
            brightness(calc(1 - 0.2 * var(--aside-collapse-t, 0)))
            blur(calc(3px * var(--aside-collapse-t, 0)))
            grayscale(calc(0.2 * var(--aside-collapse-t, 0)))
            opacity(calc(1 - 0.2 * var(--aside-collapse-t, 0)));
    }

    .view.overlay.aside-resizing:not(.aside-pinned) .view-pane.right[b-jgss9lcwty] {
        flex-basis: calc(var(--aside-width) + var(--aside-hpad));
        width: calc(var(--aside-width) + var(--aside-hpad));
    }

    .view.overlay.aside-resizing .aside-peek-catch[b-jgss9lcwty] {
        visibility: hidden;
    }

    @media (prefers-reduced-motion: reduce) {
        .view.overlay .view-pane.right[b-jgss9lcwty] {
            transition: none;
        }
        /* The fly-in is instant here, so the catch has nothing left to cover. */
        .view.overlay:not(.aside-pinned) .view-pane.right[data-aside-hold-open] .aside-peek-catch[b-jgss9lcwty] {
            transition: none;
        }
    }
}
    
@media (max-width: 1025px) {
    .view[b-jgss9lcwty] {
        overflow: visible;
    }
    /* Scroll-snap container for mobile: make each pane full-width and snap to it */
    .view-scroll[b-jgss9lcwty] {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory;
        /* -webkit-overflow-scrolling: touch; */
        scroll-behavior: smooth;
        width: 100%;
        position: relative; /* for ::before/::after gradients */
        /* The panes are swiped and the peek edge says there is more; a scrollbar under them only adds a stripe. */
        scrollbar-width: none;
    }
    .view-scroll[b-jgss9lcwty]::-webkit-scrollbar {
        display: none;
    }
    .view.left-active[b-jgss9lcwty] {
        margin-right: calc(var(--main-padding) * -1);
    }
    .view.right-active[b-jgss9lcwty] {
        margin-left: calc(var(--main-padding) * -1);
    }

    .view-pane.left[b-jgss9lcwty] {    
        scroll-snap-align: start;
    }
    .view-pane.right[b-jgss9lcwty] {
        scroll-snap-align: end;
    }
    .view-pane:not(.active)[b-jgss9lcwty] {
        padding-inline: 0px;
    }
    .view-pane[b-jgss9lcwty] {
        /* Every pane is one peek narrower than the viewport, so the neighbouring pane always leaves
           a strip at the edge. The .peek-trigger covering it (a grip on the page ground) is the only
           affordance saying the carousel has a second pane, and its tap target. Do not widen this to 100%. */
        flex: 0 0 calc(100% - var(--peek-width));
        width: calc(100% - var(--peek-width));
        min-width: calc(100% - var(--peek-width));
        max-width: calc(100% - var(--peek-width));
        /* A pane scrolls down, never sideways: the carousel is .view-scroll's job. Anything genuinely
           wider than the pane (a table) brings its own horizontal scroller inside it. */
        overflow-x: hidden;
        transition: filter 0.3s ease, width 0.32s cubic-bezier(.22,.9,.3,1);
        will-change: width, filter;
    }
    .view-pane[b-jgss9lcwty] {
        transition: filter 0.3s ease;
    }

    /* Peek trigger buttons (hidden by default) */
    .peek-trigger[b-jgss9lcwty] {
        position: absolute;
        top: 0;
        height: 100%;
        width: var(--peek-width);
        padding: 0;
        border: none;
        cursor: pointer;
        z-index: 1;
        /* Opaque over the neighbouring pane's sliver: a clean grip says "there is more here", where the
           sliver of blurred content read as a rendering fault. */
        background: var(--page-ground);
    }

    .peek-trigger[b-jgss9lcwty]::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 5px;
        height: 48px;
        border-radius: 3px;
        background: rgba(0, 0, 0, 0.2);
    }

    /* show right trigger when .view-scroll has peek-right */
    .peek-trigger.right[b-jgss9lcwty] {
        display: flex;
        right: 0;
    }

    /* show left trigger when .view-scroll has peek-left */
    .peek-trigger.left[b-jgss9lcwty] {
        display: flex;
        left: 0;
    }
}

/* Phones: no second frame inside the page. The view's white backdrop and the pane padding put every table a
   further 15px in from the page's own margin — on a 390px screen that is space the content needs, and the
   mobile-first pages (EasyTransfer) already sit straight on the page margin. 5px of padding stay so the cards'
   shadows are not clipped by the pane's scroller; the scroller reaches 5px further left so the cards still line
   up with the page margin. Only left: on the right the neighbouring pane's peek strip is the edge, and widening
   that way made the page itself scroll sideways. */
@media (max-width: 640px) {
    /* The strip to the second pane is what the page margin leaves after the pane's own 5px, so the cards end on
       the same right edge as the head band's search field above them. */
    .view[b-jgss9lcwty] {
        background: none;
        --peek-width: calc(var(--main-padding, 16px) - 5px);
    }

    .view-scroll[b-jgss9lcwty] {
        margin-left: -5px;
        width: calc(100% + 5px);
    }

    .view-pane[b-jgss9lcwty] {
        padding: 5px;
    }
}

/* DesktopAside below the desktop width: no panes, no swipe scroller, no peek strips — the main content stands on the
   page directly. */
@media (max-width: 1024px) {
    .view.desktop-aside[b-jgss9lcwty],
    .view.desktop-aside .view-scroll[b-jgss9lcwty],
    .view.desktop-aside .view-pane.left[b-jgss9lcwty] {
        display: block;
        width: auto;
        min-width: 0;
        max-width: none;
        height: auto;
        max-height: none;
        margin: 0;
        padding: 0;
        overflow: visible;
        background: none;
        filter: none;
    }

    .view.desktop-aside .view-pane.right[b-jgss9lcwty],
    .view.desktop-aside .peek-trigger[b-jgss9lcwty] {
        display: none;
    }
}
/* /Components/Legal/LegalPage.razor.rz.scp.css */
/* Heading and surface come from LoginLayout; it widens its card for this page (.auth-card:has(.legal-page)). */
.legal-page-kicker[b-5zpb5aup12] {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.legal-page h1[b-5zpb5aup12] {
    margin-bottom: 20px;
}

.legal-page-empty[b-5zpb5aup12] {
    margin: 0;
    color: var(--text-muted);
}

/* The editor's look (RichTextEditor.razor.css), so the page reads like what was written. */
.legal-page-text[b-5zpb5aup12] {
    color: var(--text-ink);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.legal-page-text[b-5zpb5aup12]  p {
    margin: 0 0 0.6em;
}

.legal-page-text[b-5zpb5aup12]  h1,
.legal-page-text[b-5zpb5aup12]  h2 {
    margin: 1.4em 0 0.4em;
    color: var(--primary-color);
    font-size: var(--fs-lg);
    font-weight: 800;
    line-height: 1.3;
}

.legal-page-text[b-5zpb5aup12]  h3,
.legal-page-text[b-5zpb5aup12]  h4 {
    margin: 1.1em 0 0.3em;
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.35;
}

.legal-page-text[b-5zpb5aup12]  > :first-child {
    margin-top: 0;
}

.legal-page-text[b-5zpb5aup12]  ul,
.legal-page-text[b-5zpb5aup12]  ol {
    margin: 0 0 0.6em;
    padding-left: 1.5em;
}

.legal-page-text[b-5zpb5aup12]  ul {
    list-style: disc;
}

.legal-page-text[b-5zpb5aup12]  ol {
    list-style: decimal;
}

.legal-page-text[b-5zpb5aup12]  li {
    margin: 0.15em 0;
}

.legal-page-text[b-5zpb5aup12]  a {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-page-text[b-5zpb5aup12]  blockquote {
    margin: 0.6em 0;
    padding: 2px 0 2px 14px;
    border-left: 3px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
    color: var(--text-muted);
}

.legal-page-back[b-5zpb5aup12] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    color: var(--accent-color);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
}

.legal-page-back:hover[b-5zpb5aup12] {
    text-decoration: underline;
}
/* /Components/Maps/MapPickDialog.razor.rz.scp.css */
.mpd[b-mwg8ejquv8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mpd-message[b-mwg8ejquv8] {
    font-size: var(--fs-sm);
    color: #a15c07;
}
/* /Components/Maps/ShelvePiecesDialog.razor.rz.scp.css */
.shelve-hint[b-tmz6itifve] {
    margin: 0 0 8px;
    color: var(--text-muted);
}

.shelve-pieces[b-tmz6itifve] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shelve-pieces label[b-tmz6itifve] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: var(--menu-item-radius);
    cursor: pointer;
}

.shelve-pieces label:hover[b-tmz6itifve] {
    background: var(--menu-item-hover);
}

.shelve-pieces input[b-tmz6itifve] {
    width: 18px;
    height: 18px;
    flex: none;
}

.shelve-piece-body[b-tmz6itifve] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shelve-piece-name[b-tmz6itifve] {
    font-weight: 600;
}

.shelve-piece-place[b-tmz6itifve] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.shelve-error[b-tmz6itifve] {
    margin: 6px 0 0;
    color: #b42318;
    font-size: var(--fs-sm);
}
/* /Components/Maps/WarehouseMapEditor.razor.rz.scp.css */
.me[b-7cl4i8o6us] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    border-radius: var(--surface-radius);
    background: #fff;
    box-shadow: var(--surface-shadow);
    overflow: hidden;
}

.me-empty[b-7cl4i8o6us] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: var(--text-muted);
}

/* Tools on one strip; their options (shelf kind …) right beside the active tool. */
.me-toolbar[b-7cl4i8o6us] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--surface-line);
}

.me-tool[b-7cl4i8o6us] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text-ink);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.me-tool:hover:not(:disabled)[b-7cl4i8o6us] {
    background: var(--menu-item-hover);
}

.me-tool:disabled[b-7cl4i8o6us] {
    opacity: 0.4;
    cursor: default;
}

.me-tool.is-on[b-7cl4i8o6us] {
    background: var(--menu-item-selected);
    color: var(--primary-color);
}

.me-sub[b-7cl4i8o6us] {
    min-width: 140px;
    margin: 0 4px;
}

.me-sep[b-7cl4i8o6us] {
    width: 1px;
    height: 22px;
    margin: 0 6px;
    background: var(--surface-line);
}

.me-grow[b-7cl4i8o6us] {
    flex: 1;
}

.me-state[b-7cl4i8o6us] {
    margin-right: 8px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.me-save[b-7cl4i8o6us] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-color);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.me-save:disabled[b-7cl4i8o6us] {
    background: #9fb8cc;
    cursor: default;
}

.me-body[b-7cl4i8o6us] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.me-canvas[b-7cl4i8o6us] {
    position: relative;
    flex: 1;
    min-width: 0;
    background: #eef0f3;
}

/* Over the canvas until the first floor is drawn. */
.me-loading[b-7cl4i8o6us] {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* The gestures of the active tool, one chip each. */
.me-hint[b-7cl4i8o6us] {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(100% - 20px);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    pointer-events: none;
}

.me-hint span[b-7cl4i8o6us] {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 2px rgba(16, 40, 64, 0.08);
}

.me-panel[b-7cl4i8o6us] {
    width: 360px;
    flex: none;
    overflow: auto;
    border-left: 1px solid var(--surface-line);
    background: #fff;
}

@media (max-width: 1023.98px) {
    .me-body[b-7cl4i8o6us] {
        flex-direction: column;
    }

    .me-canvas[b-7cl4i8o6us] {
        min-height: 55vh;
    }

    .me-panel[b-7cl4i8o6us] {
        width: auto;
        border-left: 0;
        border-top: 1px solid var(--surface-line);
    }

    .me-tool span[b-7cl4i8o6us] {
        display: none;
    }
}

/* New map: a centred chooser — template cards with a plan sketch each, then the size (empty room) and the button. */
.me-create[b-7cl4i8o6us] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.me-create-inner[b-7cl4i8o6us] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: clamp(20px, 6vh, 56px) 24px 32px;
}

.me-create-head[b-7cl4i8o6us] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.me-create-icon[b-7cl4i8o6us] {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent-color) 12%, #fff);
    color: var(--accent-color);
    font-size: 1.35rem;
}

.me-create-head h3[b-7cl4i8o6us] {
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-ink);
}

.me-create-head p[b-7cl4i8o6us] {
    margin-top: 2px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.me-templates[b-7cl4i8o6us] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.me-template[b-7cl4i8o6us] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    background: #fff;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.me-template:hover[b-7cl4i8o6us] {
    border-color: #c5d0dc;
    box-shadow: var(--surface-shadow);
    transform: translateY(-2px);
}

.me-template:focus-visible[b-7cl4i8o6us] {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.me-template.is-on[b-7cl4i8o6us] {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px var(--accent-color), var(--surface-shadow);
}

.me-template-plan[b-7cl4i8o6us] {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    padding: 14px 18px;
    background: var(--page-ground);
}

.me-template.is-on .me-template-plan[b-7cl4i8o6us] {
    background: color-mix(in srgb, var(--accent-color) 10%, #fff);
}

.me-template-plan svg[b-7cl4i8o6us] {
    display: block;
    width: 100%;
    height: 100%;
}

.me-plan-floor[b-7cl4i8o6us] {
    fill: #fff;
}

.me-plan-wall[b-7cl4i8o6us],
.me-plan-entrance[b-7cl4i8o6us] {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.me-plan-wall[b-7cl4i8o6us] {
    stroke: #5b6b7c;
    stroke-width: 3px;
}

.me-plan-entrance[b-7cl4i8o6us] {
    stroke: var(--accent-color);
    stroke-width: 2px;
    opacity: 0.45;
}

.me-plan-shelf[b-7cl4i8o6us] {
    fill: color-mix(in srgb, var(--accent-color) 22%, #fff);
    stroke: var(--accent-color);
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
}

.me-template-check[b-7cl4i8o6us] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.8rem;
}

.me-template-text[b-7cl4i8o6us] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--surface-line);
}

.me-template-text strong[b-7cl4i8o6us] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink);
    overflow-wrap: anywhere;
}

.me-template-text strong i[b-7cl4i8o6us] {
    flex: none;
    color: var(--accent-color);
}

.me-template-text > span[b-7cl4i8o6us] {
    font-size: var(--fs-xs);
    line-height: 1.45;
    color: var(--text-muted);
}

.me-create-foot[b-7cl4i8o6us] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--surface-line);
}

.me-size[b-7cl4i8o6us] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
}

.me-size[b-7cl4i8o6us]  .mf {
    width: 130px;
}

.me-size[b-7cl4i8o6us]  .me-size-height {
    margin-left: 16px;
}

.me-size-x[b-7cl4i8o6us] {
    padding-bottom: 8px;
    color: var(--text-muted);
}

.me-create-note[b-7cl4i8o6us] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.me-create-note i[b-7cl4i8o6us] {
    color: var(--accent-color);
}

.me-create-go[b-7cl4i8o6us] {
    height: 40px;
    margin-left: auto;
    padding: 0 18px;
}

/* Scoped CSS marks only the last compound, so this needs one class more than the later ".me ::deep .mp-btn/.mp-upload". */
.me .me-create-foot .me-create-file[b-7cl4i8o6us] {
    align-self: auto;
    height: 40px;
    margin-left: auto;
}

.me-create-file + .me-create-go[b-7cl4i8o6us] {
    margin-left: 0;
}

@media (max-width: 640px) {
    .me-create-inner[b-7cl4i8o6us] {
        padding: 16px;
    }

    .me-templates[b-7cl4i8o6us] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .me-size[b-7cl4i8o6us]  .me-size-height {
        margin-left: 0;
    }

    .me-create-go[b-7cl4i8o6us] {
        width: 100%;
        justify-content: center;
    }
}

/* Panels (child components: ::deep) */
.me[b-7cl4i8o6us]  .mp {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
}

.me[b-7cl4i8o6us]  .mp h4 {
    margin-top: 8px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.me[b-7cl4i8o6us]  .mp-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 0;
}

.me[b-7cl4i8o6us]  .mp-head i:first-child {
    color: var(--accent-color);
}

.me[b-7cl4i8o6us]  .mp-head strong {
    flex: 1;
    font-size: var(--fs-md);
}

.me[b-7cl4i8o6us]  .mp-hint {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.me[b-7cl4i8o6us]  .mp-warn {
    font-size: var(--fs-xs);
    color: #a15c07;
}

.me[b-7cl4i8o6us]  .mf {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.me[b-7cl4i8o6us]  .mf-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.me[b-7cl4i8o6us]  .mf-toggle {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* The field surface (background, radius, focus ring) is the app's shared .prefixed-input rule, as on every
   other input; here only the compact size, and the inner input reset so the ring shows once, on the wrapper. */
.me[b-7cl4i8o6us]  .mf-input {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 10px;
}

.me[b-7cl4i8o6us]  .mf-input input,
.me[b-7cl4i8o6us]  .mf-input input:focus {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    font-size: var(--fs-sm);
}

.me[b-7cl4i8o6us]  .mf-input em {
    font-style: normal;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* Selects at the size of the number fields beside them. The shared Select keeps 150px and a 3em pill, which in a
   96px grid column ran over the field next to it. */
.me[b-7cl4i8o6us]  .mp .select {
    min-width: 0;
    min-height: 36px;
    font-size: var(--fs-sm);
}

.me[b-7cl4i8o6us]  .mp .selected-option {
    gap: 8px;
    padding: 0 0 0 10px;
}

.me[b-7cl4i8o6us]  .mp .expander {
    padding: 0 8px;
}

.me[b-7cl4i8o6us]  .mp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}

.me[b-7cl4i8o6us]  .mp-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.me[b-7cl4i8o6us]  .mp-row > * {
    flex: 1;
}

.me[b-7cl4i8o6us]  .mp-row > button {
    flex: none;
}

.me[b-7cl4i8o6us]  .mp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.me[b-7cl4i8o6us]  .mp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #d6dde5;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.me[b-7cl4i8o6us]  .mp-btn:hover {
    background: var(--menu-item-hover);
}

.me[b-7cl4i8o6us]  .mp-danger {
    color: var(--menu-item-danger);
}

.me[b-7cl4i8o6us]  .mp-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
}

.me[b-7cl4i8o6us]  .mp-icon:hover {
    background: var(--menu-item-hover);
}

.me[b-7cl4i8o6us]  .mp-link {
    align-self: flex-start;
    border: 0;
    background: none;
    padding: 0;
    color: var(--accent-color);
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
}

.me[b-7cl4i8o6us]  .mp-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--surface-line);
    border-radius: 10px;
}

.me[b-7cl4i8o6us]  .mp-card.is-current {
    border-color: var(--accent-color);
}

.me[b-7cl4i8o6us]  .mp-upload {
    position: relative;
    align-self: flex-start;
}

.me[b-7cl4i8o6us]  .mp-upload input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.me[b-7cl4i8o6us]  .mp-dim {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 6px;
}

.me[b-7cl4i8o6us]  .mp-dim > .mf {
    grid-column: 2;
}

.me[b-7cl4i8o6us]  .mp-levels {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-xs);
}

.me[b-7cl4i8o6us]  .mp-levels th {
    padding: 2px 4px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
}

.me[b-7cl4i8o6us]  .mp-levels td {
    padding: 2px;
}

.me[b-7cl4i8o6us]  .mp-levels .mf-input {
    height: 30px;
}

.me[b-7cl4i8o6us]  .mp-levelno {
    width: 34px;
    text-align: center;
    font-weight: 700;
}

/* Front view of a shelf */
.me[b-7cl4i8o6us]  .mp-front {
    width: 100%;
    max-height: 280px;
    margin-top: 6px;
    border-radius: 10px;
    background: var(--surface-sunken);
}

.me[b-7cl4i8o6us]  .mp-front-frame {
    fill: #fff;
    stroke: #46698f;
    stroke-width: 2;
}

.me[b-7cl4i8o6us]  .mp-front-board {
    stroke: #46698f;
    stroke-width: 2;
}

.me[b-7cl4i8o6us]  .mp-front-divider {
    stroke: #aab6c4;
    stroke-width: 1;
}

.me[b-7cl4i8o6us]  .mp-front-used {
    fill: rgba(22, 163, 74, 0.18);
}

.me[b-7cl4i8o6us]  .mp-front-low {
    fill: rgba(220, 38, 38, 0.2);
}

.me[b-7cl4i8o6us]  .mp-front-level,
.me[b-7cl4i8o6us]  .mp-front-bay,
.me[b-7cl4i8o6us]  .mp-front-caption {
    font-size: 10px;
    fill: var(--text-muted);
}

.me[b-7cl4i8o6us]  .mp-front-level {
    font-weight: 700;
    fill: var(--text-ink);
}

.me[b-7cl4i8o6us]  .mp-front-count {
    font-size: 8px;
    font-weight: 600;
    fill: #15803d;
}

/* Checks */
.me[b-7cl4i8o6us]  .me-ok {
    color: #15803d;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.me[b-7cl4i8o6us]  .me-issues {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 14px;
}

.me[b-7cl4i8o6us]  .mp .me-issues {
    padding: 0;
}

.me[b-7cl4i8o6us]  .me-issues li > button,
.me[b-7cl4i8o6us]  .me-issues li > span {
    display: flex;
    gap: 6px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    text-align: left;
    font-size: var(--fs-xs);
    cursor: pointer;
}

.me[b-7cl4i8o6us]  .me-issues .is-error > * {
    background: #fde4e4;
    color: #8a1c13;
}

.me[b-7cl4i8o6us]  .me-issues .is-warning > * {
    background: #fdf3dc;
    color: #7a4b05;
}

.me[b-7cl4i8o6us]  .me-meter {
    height: 8px;
    border-radius: 4px;
    background: var(--surface-sunken);
    overflow: hidden;
}

.me[b-7cl4i8o6us]  .me-meter span {
    display: block;
    height: 100%;
    background: #16a34a;
}

.me[b-7cl4i8o6us]  .me-coverage,
.me[b-7cl4i8o6us]  .me-revisions {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.me[b-7cl4i8o6us]  .me-coverage li,
.me[b-7cl4i8o6us]  .me-revisions li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--surface-line);
    border-radius: 10px;
    font-size: var(--fs-sm);
}

.me[b-7cl4i8o6us]  .me-coverage li[draggable=true] {
    cursor: grab;
}

.me[b-7cl4i8o6us]  .me-coverage li > span,
.me[b-7cl4i8o6us]  .me-revisions li > span {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.me[b-7cl4i8o6us]  .me-coverage small,
.me[b-7cl4i8o6us]  .me-revisions small {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

/* The save bar under the drawing area, inside the editor's frame (which clips, so it stands in the flow). */
.me-savebar[b-7cl4i8o6us] {
    flex: none;
    padding: 0 12px 12px;
}

.me-savebar[b-7cl4i8o6us]  .save-bar {
    position: static;
}
/* /Components/Maps/WarehouseMapView.razor.rz.scp.css */
.wm-view[b-9xra321ywp] {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 260px;
    border-radius: var(--surface-radius);
    overflow: hidden;
    background: #eef0f3;
    box-shadow: var(--surface-shadow);
}

.wm-host[b-9xra321ywp] {
    position: absolute;
    inset: 0;
}

.wm-overlay[b-9xra321ywp] {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    background: color-mix(in srgb, #eef0f3 88%, transparent);
}

.wm-overlay > i[b-9xra321ywp] {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Tools: a floating pill top left. */
.wm-toolbar[b-9xra321ywp] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    display: flex;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    background: var(--menu-surface);
    backdrop-filter: var(--menu-backdrop);
    box-shadow: var(--menu-shadow);
}

.wm-tool[b-9xra321ywp] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text-ink);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.wm-tool:hover[b-9xra321ywp] {
    background: var(--menu-item-hover);
}

.wm-tool.is-on[b-9xra321ywp] {
    background: var(--menu-item-selected);
    color: var(--primary-color);
}

.wm-floors[b-9xra321ywp] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    background: var(--menu-surface);
    backdrop-filter: var(--menu-backdrop);
    box-shadow: var(--menu-shadow);
}

.wm-floors button[b-9xra321ywp] {
    border: 0;
    border-radius: 8px;
    padding: 6px 10px;
    background: none;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.wm-floors button.is-on[b-9xra321ywp] {
    background: var(--menu-item-selected);
    color: var(--primary-color);
}

.wm-search[b-9xra321ywp] {
    position: absolute;
    top: 54px;
    left: 10px;
    z-index: 4;
    width: min(320px, calc(100% - 20px));
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--menu-shadow);
    flex-wrap: wrap;
}

.wm-search > i[b-9xra321ywp] {
    color: var(--text-muted);
}

.wm-search input[b-9xra321ywp] {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: none;
    background: none;
    font-size: var(--fs-sm);
}

.wm-hits[b-9xra321ywp] {
    flex-basis: 100%;
    margin: 0 -10px;
    padding: var(--menu-padding);
    border-top: 1px solid var(--menu-line);
    max-height: 260px;
    overflow: auto;
    list-style: none;
}

.wm-hits button[b-9xra321ywp],
.wm-list button[b-9xra321ywp] {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--menu-item-gap);
    padding: var(--menu-item-padding);
    border: 0;
    border-radius: var(--menu-item-radius);
    background: none;
    color: var(--menu-item-ink);
    text-align: left;
    cursor: pointer;
}

.wm-hits button:hover[b-9xra321ywp],
.wm-list button:hover[b-9xra321ywp] {
    background: var(--menu-item-hover);
}

.wm-hits small[b-9xra321ywp] {
    color: var(--text-muted);
    white-space: nowrap;
}

.wm-banner[b-9xra321ywp] {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    padding: 6px 12px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    box-shadow: var(--menu-shadow);
    white-space: nowrap;
}

.wm-toolbar ~ .wm-banner[b-9xra321ywp] {
    top: 56px;
}

/* The words beside the picture: a card at the bottom. */
.wm-card[b-9xra321ywp] {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    max-height: 45%;
    overflow: auto;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--menu-shadow);
    font-size: var(--fs-sm);
}

@media (min-width: 1024px) {
    .wm-card[b-9xra321ywp] {
        right: auto;
        width: min(420px, calc(100% - 20px));
    }
}

.wm-card header[b-9xra321ywp] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.wm-card header > i[b-9xra321ywp] {
    color: var(--accent-color);
}

.wm-card header strong[b-9xra321ywp] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-base);
}

.wm-close[b-9xra321ywp] {
    border: 0;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.wm-btn[b-9xra321ywp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--surface-line);
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.wm-btn-primary[b-9xra321ywp] {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.wm-muted[b-9xra321ywp] {
    color: var(--text-muted);
}

.wm-note[b-9xra321ywp] {
    margin-top: 6px;
    font-size: var(--fs-xs);
}

.wm-list[b-9xra321ywp],
.wm-targets[b-9xra321ywp] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wm-targets li[b-9xra321ywp] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    border-radius: 10px;
}

.wm-targets li > input[b-9xra321ywp] {
    margin-top: 12px;
    width: 18px;
    height: 18px;
    flex: none;
}

.wm-targets li > button[b-9xra321ywp] {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 8px;
    border: 0;
    border-radius: 10px;
    background: none;
    text-align: left;
    color: var(--text-ink);
    cursor: pointer;
}

.wm-targets li.is-active > button[b-9xra321ywp] {
    background: color-mix(in srgb, #2563eb 10%, transparent);
}

.wm-targets li.is-elsewhere[b-9xra321ywp] {
    opacity: 0.7;
}

.wm-targets li.is-done[b-9xra321ywp] {
    opacity: 0.55;
    text-decoration: line-through;
    padding: 4px 8px 4px 0;
}

.wm-num[b-9xra321ywp] {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.wm-list-body[b-9xra321ywp] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wm-list-name[b-9xra321ywp] {
    font-weight: 600;
}

.wm-list-spot[b-9xra321ywp] {
    color: var(--text-ink);
}

.wm-list-sub[b-9xra321ywp] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.wm-list button[b-9xra321ywp] {
    flex-direction: column;
    align-items: flex-start;
}

.wm-badge[b-9xra321ywp] {
    padding: 0 6px;
    border-radius: 6px;
    background: var(--surface-sunken);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.wm-badge.is-committed[b-9xra321ywp] {
    background: #fdf0dc;
    color: #a15c07;
}

.wm-badge.is-low[b-9xra321ywp] {
    background: #fef3c7;
    color: #854d0e;
}

/* The stock states of an article in a picked bay — the same colours as the picture above it on the map
   (wwwroot/css/warehouse-map.css .wm-pic). */
.wm-badge.is-ok[b-9xra321ywp] {
    background: #dcfce7;
    color: #166534;
}

.wm-badge.is-empty[b-9xra321ywp] {
    background: #fde4e4;
    color: #b42318;
}

.wm-list button.wm-spot-article[b-9xra321ywp] {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.wm-list[b-9xra321ywp]  .wm-spot-pic {
    --wm-pic-frame: #94a3b8;
    flex: none;
    width: 48px;
    height: 48px;
    border: 3px solid var(--wm-pic-frame);
    border-radius: 10px;
    background: #fff;
}

.wm-list[b-9xra321ywp]  .wm-spot-pic.is-ok { --wm-pic-frame: #16a34a; }
.wm-list[b-9xra321ywp]  .wm-spot-pic.is-low { --wm-pic-frame: #eab308; }
.wm-list[b-9xra321ywp]  .wm-spot-pic.is-empty { --wm-pic-frame: #dc2626; }
.wm-list[b-9xra321ywp]  .wm-spot-pic.is-committed { --wm-pic-frame: #d97706; }

.wm-card-foot[b-9xra321ywp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 10px;
    margin-top: 8px;
}

.wm-card-foot .wm-note[b-9xra321ywp] {
    flex: 1 1 200px;
    margin: 0;
}

.wm-btn:disabled[b-9xra321ywp] {
    opacity: 0.5;
    cursor: default;
}

.wm-badge.is-vague[b-9xra321ywp] {
    background: #eef2ff;
    color: #3730a3;
}

.wm-unplaced[b-9xra321ywp] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--surface-line);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.wm-unplaced strong[b-9xra321ywp] {
    color: var(--text-ink);
}

.wm-legend[b-9xra321ywp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    width: auto;
    right: auto;
}

.wm-dot[b-9xra321ywp] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    vertical-align: -1px;
}

.wm-dot.is-stocked[b-9xra321ywp] { background: #16a34a; }
.wm-dot.is-low[b-9xra321ywp] { background: #dc2626; }
.wm-dot.is-empty[b-9xra321ywp] { background: #cbd5e1; }

.is-compact .wm-tool span[b-9xra321ywp] {
    display: none;
}

/* Narrow: the tools take the top row, the storeys go below them (and below the search). */
@media (max-width: 640px) {
    .wm-floors[b-9xra321ywp] {
        top: 54px;
        flex-direction: row;
    }

    .wm-floors.below-search[b-9xra321ywp] {
        top: 100px;
    }
}
/* /Components/Needs/MaterialNeedFacts.razor.rz.scp.css */
.nf-late[b-fbtnts4jqv] {
    color: var(--accent-red);
    font-weight: 600;
}
/* /Components/Needs/MaterialNeedOrderDialog.razor.rz.scp.css */
.no-hint[b-p4um4bv462] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.no-foot[b-p4um4bv462] {
    margin-top: 0.75rem;
}

.no-arrival[b-p4um4bv462] {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.no-line[b-p4um4bv462] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 13rem 5rem 2.5rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.no-line.is-off .no-name > span:first-child[b-p4um4bv462] {
    color: var(--text-muted);
    text-decoration: line-through;
}

.no-name[b-p4um4bv462] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.no-name > span:first-child[b-p4um4bv462] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-muted[b-p4um4bv462] {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.no-warn[b-p4um4bv462] {
    color: var(--accent-terra);
}

.no-quantity[b-p4um4bv462] {
    text-align: right;
}

@media (max-width: 640px) {
    .no-line[b-p4um4bv462] {
        grid-template-columns: auto minmax(0, 1fr) 4.5rem 2rem;
    }

    .no-supplier[b-p4um4bv462] {
        grid-column: 2 / -1;
        grid-row: 2;
    }
}
/* /Components/Needs/MaterialNeedPrepareDialog.razor.rz.scp.css */
.nd-hint[b-2wt7alptkj] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.nd-hint strong[b-2wt7alptkj] {
    color: var(--text-ink);
}

.nd-options[b-2wt7alptkj] {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.nd-option[b-2wt7alptkj] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.nd-option.is-on[b-2wt7alptkj] {
    background: color-mix(in srgb, var(--primary-color) 6%, transparent);
}

.nd-option-name[b-2wt7alptkj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.nd-muted[b-2wt7alptkj] {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.nd-field[b-2wt7alptkj] {
    display: grid;
    grid-template-columns: auto 7rem auto;
    align-items: center;
    gap: 0.6rem;
}

.nd-quantity[b-2wt7alptkj] {
    text-align: right;
}
/* /Components/Needs/MaterialNeedPreview.razor.rz.scp.css */

/* The state and the five figures of a Bedarf in one row, the look of the article preview's figures. */
.mnp-nums[b-qhi7l225c7] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--surface-line);
}

.mnp-nums div[b-qhi7l225c7] {
    padding: 12px 18px;
    border-left: 1px solid var(--surface-line);
}

.mnp-nums div:first-child[b-qhi7l225c7] {
    border-left: 0;
}

.mnp-nums span[b-qhi7l225c7] {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.mnp-nums b[b-qhi7l225c7] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.mnp-nums b.mnp-open[b-qhi7l225c7] {
    color: var(--accent-terra);
}

.mnp-tab[b-qhi7l225c7] {
    padding: 6px 18px;
}

.mnp-tab > p[b-qhi7l225c7] {
    margin: 10px 0;
}

.mnp-sources[b-qhi7l225c7] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mnp-sources li[b-qhi7l225c7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.mnp-sources li:last-child[b-qhi7l225c7] {
    border-bottom: 0;
}

.mnp-map[b-qhi7l225c7] {
    margin-left: auto;
    color: var(--text-muted);
}

@container pane (max-width: 640px) {
    .mnp-nums[b-qhi7l225c7] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mnp-nums div:nth-child(4)[b-qhi7l225c7] {
        border-left: 0;
    }
}

.mnp-hint[b-qhi7l225c7] {
    margin: 10px 0 4px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.mnp-sources li > i[b-qhi7l225c7] {
    color: var(--text-muted);
}

.mnp-source-name[b-qhi7l225c7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 12rem;
}

.mnp-source-name .preview-muted[b-qhi7l225c7] {
    font-size: var(--fs-xs);
}

.mnp-source-qty[b-qhi7l225c7] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mnp-sources .mnp-map[b-qhi7l225c7] {
    margin-left: 0;
}

/* The title needs room for its trail (Mandant › Lager › Baustelle › Aufgabe): below that the actions move under the
   head instead of squeezing it. */
.preview-title[b-qhi7l225c7] {
    flex-basis: 380px;
}

/* In the head the title flows as one text: a long name wraps under the quantity, not in a column of its own beside
   it. Only list rows cut it short. */
.preview-title h2[b-qhi7l225c7]  .nti,
.preview-title h2[b-qhi7l225c7]  .nti-name {
    display: inline;
    white-space: normal;
}

.preview-title h2[b-qhi7l225c7]  .nti-quantity {
    margin-right: 0.45rem;
}

.preview-title h2[b-qhi7l225c7]  .nti-free {
    margin-left: 0.45rem;
    vertical-align: 0.15em;
}

.mnp-state-toggle[b-qhi7l225c7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    cursor: pointer;
}

.mnp-state-toggle > i[b-qhi7l225c7] {
    font-size: 0.75rem;
    color: var(--text-muted);
}
/* /Components/Needs/MaterialNeedStateChip.razor.rz.scp.css */
.ns-chip[b-qs0e8l4qws] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ns-color) 14%, white);
    color: color-mix(in srgb, var(--ns-color) 70%, black);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
/* /Components/Needs/MaterialNeedTable.razor.rz.scp.css */
.nt-head-actions[b-0j88m6w0mu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.nt-chip[b-0j88m6w0mu] {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: #3a4b5c;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.nt-chip.on[b-0j88m6w0mu] {
    background: var(--primary-color);
    color: #fff;
}

.nt-hint[b-0j88m6w0mu] {
    margin: 0;
    padding: 0 18px 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
/* /Components/Needs/MaterialNeedTakeDialog.razor.rz.scp.css */
.nd-hint[b-1qu4i9ix2t] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.nd-hint strong[b-1qu4i9ix2t] {
    color: var(--text-ink);
}

.nd-options[b-1qu4i9ix2t] {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.nd-option[b-1qu4i9ix2t] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.nd-option.is-on[b-1qu4i9ix2t] {
    background: color-mix(in srgb, var(--primary-color) 6%, transparent);
}

.nd-option-name[b-1qu4i9ix2t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.nd-muted[b-1qu4i9ix2t] {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.nd-field[b-1qu4i9ix2t] {
    display: grid;
    grid-template-columns: auto 7rem auto;
    align-items: center;
    gap: 0.6rem;
}

.nd-quantity[b-1qu4i9ix2t] {
    text-align: right;
}
/* /Components/Needs/MaterialNeedTitle.razor.rz.scp.css */
.nti[b-2n7cesmtxm] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
}

.nti-quantity[b-2n7cesmtxm] {
    flex: none;
    font-variant-numeric: tabular-nums;
}

.nti-name[b-2n7cesmtxm] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nti-free[b-2n7cesmtxm] {
    flex: none;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-terra) 14%, white);
    color: color-mix(in srgb, var(--accent-terra) 75%, black);
    font-size: 0.72rem;
    font-weight: 600;
}
/* /Components/Ordering/OrderSummary.razor.rz.scp.css */
.order-summary[b-adr5jeagss] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.order-summary-sum[b-adr5jeagss] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
}

.order-summary-sum > span:first-child[b-adr5jeagss] {
    color: var(--text-muted);
}

.order-summary-hint[b-adr5jeagss] {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0;
    color: var(--text-muted);
}

.order-summary-hint.is-ok[b-adr5jeagss] {
    color: #15803d;
}

.order-summary-hint.is-warning[b-adr5jeagss] {
    color: #b45309;
}
/* /Components/Ordering/ReorderProposalDialog.razor.rz.scp.css */
.rp-hint[b-6o3l9d2wle],
.rp-empty[b-6o3l9d2wle] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.rp-group[b-6o3l9d2wle] {
    margin-bottom: 1rem;
}

.rp-group-head[b-6o3l9d2wle] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f1f5f9;
}

.rp-line[b-6o3l9d2wle] {
    display: grid;
    grid-template-columns: auto 1fr auto 5rem 2.5rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f8fafc;
    cursor: pointer;
}

.rp-line.is-off .rp-name[b-6o3l9d2wle] {
    color: var(--text-muted);
    text-decoration: line-through;
}

.rp-name[b-6o3l9d2wle] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-muted[b-6o3l9d2wle],
.rp-unit[b-6o3l9d2wle] {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.rp-quantity[b-6o3l9d2wle] {
    text-align: right;
}

.rp-orphans[b-6o3l9d2wle] {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.rp-orphans ul[b-6o3l9d2wle] {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
}

@media (max-width: 640px) {
    .rp-line[b-6o3l9d2wle] {
        grid-template-columns: auto 1fr 4.5rem 2rem;
    }

    .rp-line .rp-muted[b-6o3l9d2wle] {
        display: none;
    }
}

/* A draft's value and what is missing to free delivery — for people who see prices. */
.rp-sum[b-6o3l9d2wle] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.rp-free[b-6o3l9d2wle] {
    margin-left: 4px;
}
/* /Components/Pages/Articles.razor.rz.scp.css */
/* ── Sort columns and rows ────────────────────────────────────── */
.al-colh[b-tix2bmo1j6] {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    background: #f7f9fb;
    border-top: 1px solid var(--surface-line);
    border-bottom: 1px solid var(--surface-line);
}

.al-colh button[b-tix2bmo1j6] {
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 700;
    cursor: pointer;
}

.al-colh button:hover[b-tix2bmo1j6] {
    color: var(--primary-color);
}

/* A wide list column draws the list as a table, whose column heads sort. */
.lp-split.is-wide .al-colh[b-tix2bmo1j6] {
    display: none;
}

/* One line per article: type, name over its code, stock over its minimum. */
.article-row[b-tix2bmo1j6] {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 9px 14px;
    color: var(--text-ink);
}

.article-row-icon[b-tix2bmo1j6] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #f2ebf3;
    color: #71417a;
}

/* A real picture fills the tile on a white ground (product photos are shot on white). */
.article-row-icon.has-image[b-tix2bmo1j6] {
    background: #fff;
    overflow: hidden;
}

.article-row-icon.has-image[b-tix2bmo1j6]  .cat-img {
    width: 100%;
    height: 100%;
}

.article-row-icon.has-image[b-tix2bmo1j6]  .fam-pic {
    width: 100%;
    height: 100%;
}

/* A product family: its picture stands on a second card behind it, so the row reads as more than one. */
/* The aside's rows: the picture fills the row's tile like the similar articles' (SimilarArticleList). */
.aside-pic[b-tix2bmo1j6] {
    display: block;
    width: 38px;
    height: 38px;
}

.aside-pic[b-tix2bmo1j6]  .cat-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.article-row.is-family .article-row-icon[b-tix2bmo1j6] {
    box-shadow: 3px -3px 0 -1px #fff, 3px -3px 0 0 var(--surface-line);
    overflow: visible;
}

.article-row.is-family .article-row-icon.has-image[b-tix2bmo1j6]  .fam-pic {
    border-radius: 9px;
    overflow: hidden;
}

.article-row.is-family .article-row-text small[b-tix2bmo1j6] {
    font-family: inherit;
}

.article-row-text[b-tix2bmo1j6] {
    min-width: 0;
}

.article-row-text b[b-tix2bmo1j6] {
    display: block;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-row-text small[b-tix2bmo1j6] {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-family: ui-monospace, Consolas, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-row-stock[b-tix2bmo1j6] {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.article-row-stock small[b-tix2bmo1j6] {
    display: block;
    font-weight: 400;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.article-row-stock.below[b-tix2bmo1j6] {
    color: #a3202c;
}

/* Phones and tablets: bigger rows to tap; the sort columns give way (ListPreview lays out the rest). */
@media (max-width: 1024px) {
    .article-row[b-tix2bmo1j6] {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding: 14px 14px;
        min-height: 44px;
    }

    .article-row-icon[b-tix2bmo1j6] {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .article-row-text b[b-tix2bmo1j6] {
        white-space: normal;
        font-size: var(--fs-md);
        line-height: 1.3;
    }

    .article-row-stock[b-tix2bmo1j6] {
        font-size: var(--fs-md);
    }

    .al-colh[b-tix2bmo1j6] {
        display: none;
    }
}

/* ── Liste | Katalog: phones only, beside Neu in the dark band ───── */
/* "Familie bilden": what to do now, above the rows that have become a selection. */
.al-compose[b-tix2bmo1j6] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 14px 8px;
    padding: 9px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-color) 9%, #fff);
    color: var(--text-ink);
    font-size: var(--fs-sm);
}

.al-compose > i[b-tix2bmo1j6] {
    flex: 1;
    color: var(--accent-color);
}

.al-compose-anchor[b-tix2bmo1j6] {
    position: relative;
    display: inline-flex;
}

/* The hint as a speech bubble under the finishing button, its tip pointing up at it. */
.al-compose-bubble[b-tix2bmo1j6] {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    width: max-content;
    max-width: 16rem;
    padding: 8px 12px;
    border-radius: var(--menu-radius);
    background: #fff;
    box-shadow: var(--menu-shadow);
    color: var(--text-ink);
    font-weight: 600;
    pointer-events: none;
}

.al-compose-bubble[b-tix2bmo1j6]::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 24px;
    border: 8px solid transparent;
    border-top: 0;
    border-bottom: 7px solid #fff;
}

.al-compose-close[b-tix2bmo1j6] {
    padding: 4px 10px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--text-ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.al-compose-go[b-tix2bmo1j6] {
    padding: 5px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.al-compose-go:disabled[b-tix2bmo1j6] {
    opacity: 0.45;
    cursor: default;
}

.al-view[b-tix2bmo1j6] {
    display: none;
}

@media (max-width: 640px) {
    .al-view[b-tix2bmo1j6] {
        display: flex;
        gap: 2px;
        padding: 3px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.14);
    }

    .al-view button[b-tix2bmo1j6] {
        width: 40px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .al-view button.on[b-tix2bmo1j6] {
        background: #fff;
        color: var(--primary-color);
    }
}

/* Forming a family is desk work; on a phone the title needs the room (a single article still joins through its row menu). */
@media (max-width: 640px) {
    .al-family[b-tix2bmo1j6] {
        display: none !important;
    }
}

/* Category menu, one level at a time: the head row leads one level up and names the level shown. */
.cat-menu-back[b-tix2bmo1j6] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: var(--menu-item-min-height);
    margin-bottom: 2px;
    padding: 0 10px 0 6px;
    border: none;
    border-radius: var(--menu-item-radius);
    background: transparent;
    color: var(--primary-color);
    font: inherit;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.cat-menu-back:hover[b-tix2bmo1j6],
.cat-menu-back:focus-visible[b-tix2bmo1j6] {
    background: var(--menu-item-hover);
    outline: none;
}

.cat-menu-back > i[b-tix2bmo1j6] {
    color: var(--text-muted);
}
/* /Components/Pages/Commissions.razor.rz.scp.css */
.cm-empty[b-s46wo3qqgm] {
    padding: 2rem 1rem;
    margin: 0;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── Sort columns and rows, as in the article list ───────────────── */
.cm-colh[b-s46wo3qqgm] {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    background: #f7f9fb;
    border-top: 1px solid var(--surface-line);
    border-bottom: 1px solid var(--surface-line);
}

.cm-colh button[b-s46wo3qqgm] {
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 700;
    cursor: pointer;
}

.cm-colh button:hover[b-s46wo3qqgm] {
    color: var(--primary-color);
}

.cm-list[b-s46wo3qqgm] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cm-list li[b-s46wo3qqgm] {
    border-bottom: 1px solid var(--surface-line);
}

/* One line per Kommission: tile, Baustelle over Mandant and Objekt, positions over their Lager. */
.cm-row[b-s46wo3qqgm] {
    width: 100%;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 9px 14px;
    border: 0;
    background: transparent;
    color: var(--text-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease-out;
}

.cm-row:hover:not(.is-picked)[b-s46wo3qqgm] {
    background: #f5f8fb;
}

/* The picked row, like the one a ListPreview shows in its middle. */
.cm-row.is-picked[b-s46wo3qqgm] {
    background: #e3eef7;
    box-shadow: inset 3px 0 0 var(--accent-color);
}

.cm-row.is-picked:hover[b-s46wo3qqgm] {
    background: #dbe8f3;
}

.cm-row:focus-visible[b-s46wo3qqgm] {
    outline: none;
    box-shadow: inset var(--focus-shadow);
}

.cm-row-icon[b-s46wo3qqgm] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #e3f0ee;
    color: #2a7d6f;
}

/* A finished Baustelle that still holds goods. */
.cm-row-icon.done[b-s46wo3qqgm] {
    background: #fdecee;
    color: #c22d3a;
}

.cm-row-text[b-s46wo3qqgm] {
    min-width: 0;
}

.cm-row-text b[b-s46wo3qqgm] {
    display: block;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-row-text small[b-s46wo3qqgm] {
    display: flex;
    gap: 0.6rem;
    min-width: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    white-space: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent 100%);
}

.cm-row-text small > span[b-s46wo3qqgm] {
    flex: none;
}

.cm-row-object[b-s46wo3qqgm] {
    opacity: 0.8;
}

.cm-row-done[b-s46wo3qqgm] {
    color: #a3202c;
    font-weight: 600;
}

.cm-row-figure[b-s46wo3qqgm] {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cm-row-figure small[b-s46wo3qqgm] {
    display: block;
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* Phones and tablets: bigger rows to tap, the name may wrap; the sort columns give way. */
@media (max-width: 1024px) {
    .cm-row[b-s46wo3qqgm] {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding: 14px;
        min-height: 44px;
    }

    .cm-row-icon[b-s46wo3qqgm] {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .cm-row-text b[b-s46wo3qqgm] {
        white-space: normal;
        font-size: var(--fs-md);
        line-height: 1.3;
    }

    .cm-row-figure[b-s46wo3qqgm] {
        font-size: var(--fs-md);
    }

    .cm-row-figure small[b-s46wo3qqgm] {
        max-width: 7.5rem;
    }

    .cm-row.is-picked[b-s46wo3qqgm] {
        background: transparent;
        box-shadow: none;
    }

    .cm-colh[b-s46wo3qqgm] {
        display: none;
    }
}
/* /Components/Pages/EasyTransfer.razor.rz.scp.css */
/* ---- Filter ---- */

/* The Lagerart icon in its chip, at text size — the chip row's own rule shrinks icons to chevron size. */
.lh-chip i.t2-chip-icon[b-cds800f8v8] {
    font-size: 1rem;
}

/* ---- Lagerliste (rows: WarehousePickList) ---- */

.t2-list[b-cds800f8v8] {
    padding: 6px 10px;
}

/* ---- Mitte ---- */

.t2-middle[b-cds800f8v8] {
    height: var(--lp-full, auto);
}

.t2-placeholder[b-cds800f8v8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    color: var(--text-muted, #5c7180);
}

    .t2-placeholder i[b-cds800f8v8] {
        font-size: 1.6rem;
        color: var(--accent-color, #0d6cac);
    }

.t2-card[b-cds800f8v8] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--surface-radius, 18px);
    background: #fff;
    box-shadow: var(--surface-shadow, 0 2px 10px rgba(0, 0, 0, 0.06));
}

.t2-card-scroll[b-cds800f8v8] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ---- Buchen ---- */

/* The foot of the middle, like the summary's foot under „Umlagern“: what is in the basket on the left, the
   accent button with its count on the right, under a hairline. */
.t2-book[b-cds800f8v8] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--surface-line, #e3e9ee);
    background: #fff;
}

.t2-book-facts[b-cds800f8v8] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.t2-book-title[b-cds800f8v8] {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-ink, #1d2b36);
}

.t2-book-sub[b-cds800f8v8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
    color: var(--text-muted, #5c7180);
}

.t2-book[b-cds800f8v8]  .t2-book-btn,
.t2-book[b-cds800f8v8]  .t2-cancel-btn {
    flex: none;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.t2-book[b-cds800f8v8]  .t2-count-tag {
    background: color-mix(in srgb, currentColor 18%, transparent);
    color: inherit;
}

/* ---- Telefon: die Schublade ---- */

.t2-drawer[b-cds800f8v8] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

    /* In the drawer the bar sits on top: in its smallest position it is all there is to see. */
    .t2-drawer .t2-book[b-cds800f8v8] {
        flex-wrap: wrap;
        border-top: 0;
        border-bottom: 1px solid var(--surface-line, #e3e9ee);
        padding: 4px 16px 12px;
    }

    .t2-drawer .t2-book[b-cds800f8v8]  .t2-book-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 13px 16px;
    }

.t2-drawer-body[b-cds800f8v8] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.t2-drawer-hint[b-cds800f8v8] {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

/* Unter der Schublade bleibt die Liste bis zum Ende erreichbar. */
@media (max-width: 1024px) {
    .t2-list:last-of-type[b-cds800f8v8] {
        padding-bottom: 180px;
    }
}
/* /Components/Pages/Feedback.razor.rz.scp.css */
.feedback-filters[b-hmg67i6flz] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.filter-group[b-hmg67i6flz] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.filter-chip[b-hmg67i6flz] {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: var(--fs-sm);
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.filter-chip:hover[b-hmg67i6flz] {
    background: rgba(0, 0, 0, 0.04);
}

.filter-chip.active[b-hmg67i6flz] {
    background: var(--primary-color, #3b82f6);
    color: #fff;
    border-color: transparent;
}

.report-list[b-hmg67i6flz] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-card[b-hmg67i6flz] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 0.6rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.report-card:hover[b-hmg67i6flz] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.report-card-icon[b-hmg67i6flz] {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #64748b;
}

.report-card-icon.type-bug[b-hmg67i6flz] { background: #dc2626; }
.report-card-icon.type-feature[b-hmg67i6flz] { background: #2563eb; }
.report-card-icon.type-feedback[b-hmg67i6flz] { background: #7c3aed; }

.report-card-title[b-hmg67i6flz] {
    font-weight: 600;
    line-height: 1.3;
}

.report-card-meta[b-hmg67i6flz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.25rem;
}

.report-card-stats[b-hmg67i6flz] {
    display: flex;
    gap: 0.5rem;
}

.stat-pill[b-hmg67i6flz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: var(--fs-sm);
    color: #475569;
}

.stat-pill.voted[b-hmg67i6flz] {
    background: var(--primary-color, #3b82f6);
    color: #fff;
}

.badge[b-hmg67i6flz] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    background: #e2e8f0;
    color: #334155;
}

.badge.status-open[b-hmg67i6flz] { background: #e2e8f0; color: #475569; }
.badge.status-planned[b-hmg67i6flz] { background: #dbeafe; color: #1d4ed8; }
.badge.status-inprogress[b-hmg67i6flz] { background: #fef3c7; color: #b45309; }
.badge.status-needsinfo[b-hmg67i6flz] { background: #ede9fe; color: #6d28d9; }
.badge.status-done[b-hmg67i6flz],
.badge.status-released[b-hmg67i6flz] { background: #dcfce7; color: #15803d; }
.badge.status-rejected[b-hmg67i6flz],
.badge.status-duplicate[b-hmg67i6flz] { background: #fee2e2; color: #b91c1c; }
.badge.visibility-public[b-hmg67i6flz] { background: #f1f5f9; color: #0f172a; }

.empty-state[b-hmg67i6flz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    color: #64748b;
}

@media (max-width: 640px) {
    .report-card[b-hmg67i6flz] {
        grid-template-columns: auto 1fr;
    }

    .report-card-stats[b-hmg67i6flz] {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}
/* /Components/Pages/Fleet.razor.rz.scp.css */
/* The map takes the middle column's full height (var(--lp-full) on desktops, a share of the screen on phones);
   the policy note lies on it, clear of the zoom buttons, above Leaflet's panes (z-index 400). */
.fleet-map[b-vshqn6h5oj] {
    position: relative;
}

.fleet-hint[b-vshqn6h5oj] {
    position: absolute;
    z-index: 500;
    top: 12px;
    left: 60px;
    right: 12px;
    width: fit-content;
    margin: 0;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(16, 40, 64, 0.12);
    font-size: var(--fs-sm, .875rem);
    color: #4b5563;
}

.fleet-empty[b-vshqn6h5oj] {
    padding: 1rem;
    font-size: var(--fs-sm, .875rem);
    color: #6b7280;
}

.fleet-list[b-vshqn6h5oj] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fleet-row[b-vshqn6h5oj] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid #eef0f3;
}

.fleet-row:last-child[b-vshqn6h5oj] {
    border-bottom: none;
}

/* Every row is a pick: with a position it flies the map there, without one it says why it cannot. */
.fleet-row[b-vshqn6h5oj] {
    cursor: pointer;
    box-shadow: inset 3px 0 0 transparent;
}

.fleet-row:hover[b-vshqn6h5oj],
.fleet-row.is-focused[b-vshqn6h5oj] {
    background: #f5f7fb;
}

.fleet-row.is-focused[b-vshqn6h5oj] {
    box-shadow: inset 3px 0 0 var(--accent-color);
}

.fleet-row-main[b-vshqn6h5oj],
.fleet-row-sub[b-vshqn6h5oj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.fleet-row-name[b-vshqn6h5oj] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fleet-row-sub[b-vshqn6h5oj] {
    font-size: var(--fs-sm, .875rem);
    color: #6b7280;
}

.fleet-row-state[b-vshqn6h5oj] {
    color: var(--text-ink);
    font-weight: 600;
}

.fleet-row-sub a[b-vshqn6h5oj] {
    color: var(--primary-color);
}
/* /Components/Pages/Home.razor.rz.scp.css */
.lagebild[b-p8qo8y2qaw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Head ─────────────────────────────────────────────────────── */
.lb-head[b-p8qo8y2qaw] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lb-title[b-p8qo8y2qaw] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-title h1[b-p8qo8y2qaw] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
}

.lb-name[b-p8qo8y2qaw] {
    color: var(--accent-color);
}

.lb-date[b-p8qo8y2qaw] {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.lb-welcome[b-p8qo8y2qaw] {
    margin: 2px 0 0;
    max-width: 62ch;
    color: var(--text-muted);
}

/* The illustration stands on the page ground; multiply drops its white backdrop into the ground. */
.lb-art[b-p8qo8y2qaw] {
    height: 96px;
    width: auto;
    flex: none;
    mix-blend-mode: multiply;
    margin-block: -8px;
}

@media (max-width: 1180px) {
    .lb-art[b-p8qo8y2qaw] {
        display: none;
    }
}

/* Wide desktops have the room for a proper welcome: a larger greeting with air around it and the illustration
   at a size where it reads as a picture rather than an icon. */
@media (min-width: 1181px) {
    .lb-head[b-p8qo8y2qaw] {
        gap: 24px;
        padding: 18px 4px 10px;
    }

    .lb-title[b-p8qo8y2qaw] {
        gap: 6px;
    }

    .lb-title h1[b-p8qo8y2qaw] {
        font-size: 2.6rem;
        line-height: 1.12;
    }

    .lb-date[b-p8qo8y2qaw] {
        font-size: var(--fs-base);
    }

    .lb-welcome[b-p8qo8y2qaw] {
        margin-top: 4px;
        font-size: var(--fs-md);
    }

    .lb-art[b-p8qo8y2qaw] {
        height: 150px;
        margin-block: -16px;
    }

    .lb-period button[b-p8qo8y2qaw] {
        height: 38px;
        padding: 0 18px;
    }
}

/* ── Current information ──────────────────────────────────────── */
/* A large bare icon in the slide's colour, no tile behind it. */
.lb-info-icon[b-p8qo8y2qaw] {
    width: 56px;
    height: 56px;
    flex: none;
    display: grid;
    place-items: center;
    font-size: 2.75rem;
    line-height: 1;
}

/* The desktop searches in the app bar; the big field here is the phone's. */
.lb-search[b-p8qo8y2qaw] {
    display: none;
}

/* ── Surfaces ─────────────────────────────────────────────────── */
.lb-panel[b-p8qo8y2qaw] {
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    min-width: 0;
}

.lb-panel-head[b-p8qo8y2qaw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 10px;
}

.lb-panel-head h2[b-p8qo8y2qaw],
[b-p8qo8y2qaw] .qa-card-head h2 {
    margin: 0;
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-ink);
}

.lb-head-link[b-p8qo8y2qaw] {
    margin-left: auto;
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--accent-color);
    text-decoration: none;
}

.lb-head-link:hover[b-p8qo8y2qaw] {
    color: var(--primary-color);
}

.lb-panel-body[b-p8qo8y2qaw] {
    padding: 0 16px 16px;
}

.lb-count[b-p8qo8y2qaw] {
    background: #fde8ea;
    color: #a3202c;
    font-weight: 800;
    font-size: var(--fs-xs);
    border-radius: 999px;
    padding: 1px 9px;
}

.lb-empty[b-p8qo8y2qaw] {
    margin: 0;
    padding: 4px 16px 16px;
    color: var(--text-muted);
}

.lb-muted[b-p8qo8y2qaw] {
    color: var(--text-muted);
}

.lb-neg[b-p8qo8y2qaw] {
    color: #a3202c;
    font-weight: 700;
}

/* ── To do ────────────────────────────────────────────────────── */
.lb-todo[b-p8qo8y2qaw] {
    display: grid;
    /* auto-fit: however many things are waiting, they share the whole row — no empty stretch beside them. */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.lb-task[b-p8qo8y2qaw] {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lb-task-top[b-p8qo8y2qaw] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lb-task-icon[b-p8qo8y2qaw] {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.lb-task-count[b-p8qo8y2qaw] {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lb-task h3[b-p8qo8y2qaw] {
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--text-ink);
}

.lb-task p[b-p8qo8y2qaw] {
    margin: 0;
    flex: 1;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.lb-go[b-p8qo8y2qaw] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    background: var(--surface-sunken);
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--fs-sm);
    text-decoration: none;
}

.lb-go:hover[b-p8qo8y2qaw] {
    background: #dde8f2;
}

.lb-go.primary[b-p8qo8y2qaw] {
    background: var(--primary-color);
    color: #fff;
}

.lb-go-secondary[b-p8qo8y2qaw] {
    background: none;
    padding: 0 4px;
    color: var(--accent-color);
}

/* ── Figures ──────────────────────────────────────────────────── */
.lb-metrics[b-p8qo8y2qaw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.lb-metrics:empty[b-p8qo8y2qaw] {
    display: none;
}

.lb-metric[b-p8qo8y2qaw] {
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--surface-line);
}

.lb-metric:first-child[b-p8qo8y2qaw] {
    border-left: 0;
}

.lb-metric-label[b-p8qo8y2qaw] {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-muted);
}

.lb-metric-value[b-p8qo8y2qaw] {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.lb-metric-note[b-p8qo8y2qaw] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ── Two columns ──────────────────────────────────────────────── */
.lb-grid[b-p8qo8y2qaw] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.lb-main[b-p8qo8y2qaw],
.lb-side[b-p8qo8y2qaw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ── Stock warnings ───────────────────────────────────────────── */
.lb-table-wrap[b-p8qo8y2qaw] {
    overflow-x: auto;
}

.lb-table[b-p8qo8y2qaw] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.lb-table th[b-p8qo8y2qaw] {
    text-align: left;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
    padding: 7px 16px;
    background: #f7f9fb;
    border-top: 1px solid var(--surface-line);
    border-bottom: 1px solid var(--surface-line);
    white-space: nowrap;
}

.lb-table td[b-p8qo8y2qaw] {
    padding: 8px 16px;
    border-bottom: 1px solid #f0f3f6;
    white-space: nowrap;
}

.lb-table tbody tr:last-child td[b-p8qo8y2qaw] {
    border-bottom: 0;
}

.lb-table tr:hover td[b-p8qo8y2qaw] {
    background: #f7fafc;
}

.lb-table .num[b-p8qo8y2qaw] {
    text-align: right;
}

.lb-table a[b-p8qo8y2qaw] {
    color: var(--accent-color);
    text-decoration: none;
}

.lb-table a:hover[b-p8qo8y2qaw] {
    color: var(--primary-color);
    text-decoration: underline;
}

.lb-row-action[b-p8qo8y2qaw] {
    text-align: right;
}

/* The article's main picture before its name, or its icon on the quiet stand-in. */
.lb-table a.lb-article[b-p8qo8y2qaw] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lb-thumb[b-p8qo8y2qaw] {
    display: block;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.lb-thumb[b-p8qo8y2qaw]  .cat-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.lb-table a.lb-chip-btn[b-p8qo8y2qaw],
.lb-chip-btn[b-p8qo8y2qaw] {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: var(--primary-color);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-decoration: none;
}

.lb-table a.lb-chip-btn:hover[b-p8qo8y2qaw] {
    background: #dde8f2;
    text-decoration: none;
}

.lb-mobile[b-p8qo8y2qaw] {
    display: none;
}

.lb-more[b-p8qo8y2qaw] {
    display: block;
    width: 100%;
    height: 44px;
    border: 0;
    border-top: 1px solid var(--surface-line);
    background: transparent;
    color: var(--accent-color);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 0 var(--surface-radius) var(--surface-radius);
}

.lb-more:hover[b-p8qo8y2qaw] {
    background: #f7fafc;
}

/* ── Status rows (fleet, labels) ──────────────────────────────── */
.lb-status-row[b-p8qo8y2qaw] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #f0f3f6;
    color: var(--text-ink);
    text-decoration: none;
}

a.lb-status-row:hover[b-p8qo8y2qaw] {
    background: #f7fafc;
}

/* The fleet map, edge to edge under the panel's head, the vehicle rows below it. */
.lb-fleet-map[b-p8qo8y2qaw] {
    border-top: 1px solid #f0f3f6;
    overflow: hidden;
}

/* Fills its slide, so a row with less text keeps the height of the tallest one. */
.lb-status-row.lb-info-row[b-p8qo8y2qaw] {
    height: 100%;
    box-sizing: border-box;
    gap: 18px;
    padding: 20px 20px 14px;
}

.lb-info-row .lb-status-text b[b-p8qo8y2qaw] {
    font-size: 1.35rem;
    line-height: 1.25;
}

.lb-info-row .lb-status-text small[b-p8qo8y2qaw] {
    margin-top: 4px;
    font-size: var(--fs-sm);
}

.lb-led[b-p8qo8y2qaw] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
}

.lb-status-text[b-p8qo8y2qaw] {
    flex: 1;
    min-width: 0;
}

.lb-status-text b[b-p8qo8y2qaw] {
    display: block;
    font-weight: 700;
}

.lb-status-text small[b-p8qo8y2qaw] {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-chev[b-p8qo8y2qaw] {
    color: #8695a4;
    font-size: 0.8rem;
}

/* ── Activity ─────────────────────────────────────────────────── */
.lb-activity[b-p8qo8y2qaw] {
    list-style: none;
    margin: 0;
    padding: 0 16px 8px;
}

.lb-activity li[b-p8qo8y2qaw] {
    padding: 10px 0;
    border-top: 1px solid #f0f3f6;
}

/* ── Transfer bars ────────────────────────────────────────────── */
.lb-bars[b-p8qo8y2qaw] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 112px;
    padding: 6px 16px 4px;
}

.lb-bars span[b-p8qo8y2qaw] {
    flex: 1;
    background: #9cc4e4;
    border-radius: 3px 3px 0 0;
}

.lb-bars span.today[b-p8qo8y2qaw] {
    background: var(--primary-color);
}

.lb-axis[b-p8qo8y2qaw] {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 12px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

/* ── Quick access ─────────────────────────────────────────────── */
[b-p8qo8y2qaw] .qa-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

[b-p8qo8y2qaw] .qa-save-icon {
    color: var(--accent-color) !important;
    font-size: 1.05rem;
}

/* Edit mode: keep the Tile at full colour but non-navigating (Disabled dims + kills
   pointer events; we only undo the dimming so the action buttons stay usable). */
[b-p8qo8y2qaw] .qa-edit-li .linkwrapper.disabled {
    filter: none;
    cursor: default;
}

[b-p8qo8y2qaw] .qa-tile-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 3px;
    z-index: 1;
}

[b-p8qo8y2qaw] .qa-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.15s, transform 0.15s;
}

[b-p8qo8y2qaw] .qa-btn-change {
    background: #e8f0fe;
    color: #1a73e8;
}

[b-p8qo8y2qaw] .qa-btn-change:hover {
    background: #d2e3fc;
    transform: scale(1.1);
}

[b-p8qo8y2qaw] .qa-btn-remove {
    background: #fce8e6;
    color: #d93025;
}

[b-p8qo8y2qaw] .qa-btn-remove:hover {
    background: #f5c6c2;
    transform: scale(1.1);
}

/* Add-new tile — a dashed placeholder square that matches the Tile footprint. */
[b-p8qo8y2qaw] .qa-add-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px dashed #c5cdd8;
    border-radius: var(--border-radius);
    background: #f8fafc;
    color: #6b7785;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

[b-p8qo8y2qaw] .qa-add-tile i {
    font-size: 1.8rem;
}

[b-p8qo8y2qaw] .qa-add-label {
    font-size: var(--fs-sm);
    font-weight: 600;
}

[b-p8qo8y2qaw] .qa-add-tile:hover {
    background: #f0f4ff;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Quick-access tiles reuse the mobile-nav Tile component (see Sidebar's ul.tiles)
   so the dashboard and the mobile menu read as one system. Layout only — the tile
   visuals live in Tile.razor.css. */
[b-p8qo8y2qaw] .qa-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* minmax(0, 1fr) lets the tracks shrink below their content's min-width so a
       tile never forces the grid wider than the card (no scrollbar). */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

/* Lower than the mobile menu's squares: three square tiles made the side column the tallest thing on the page. */
[b-p8qo8y2qaw] .qa-tiles a {
    aspect-ratio: 5 / 4;
}

[b-p8qo8y2qaw] .qa-tiles > li {
    position: relative; /* anchor for the edit-mode action buttons overlay */
    min-width: 0;
    container-type: inline-size; /* let the label size itself against the tile width */
}

/* Icon glyph scales with the tile (cqw) too, so it isn't oversized in the narrow
   column; caps at 2.75rem to keep the wide mobile tiles' look. */
[b-p8qo8y2qaw] .qa-tiles * .icon > i {
    font-size: clamp(1.4rem, 24cqw, 2.5rem);
}

/* The shared Tile label is single-line (fine in the wide mobile menu). Here the tiles get small, so span the
   label across the full tile and let it wrap/hyphenate instead of overflowing sideways. */
[b-p8qo8y2qaw] .qa-tiles .text {
    left: 0;
    right: 0;
    transform: none;
    white-space: normal;
    padding: 0.3rem 0.4rem;
}

[b-p8qo8y2qaw] .qa-tiles .text p {
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.12;
    font-size: clamp(0.72rem, 13cqw, 0.95rem);
}

/* ── Tablet ───────────────────────────────────────────────────── */
@media (max-width: 1180px) {
    /* One column: the main column dissolves into it so the activity feed, the longest thing, comes last —
       after the side panels, not between the warnings and quick access. */
    .lb-grid[b-p8qo8y2qaw] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .lb-main[b-p8qo8y2qaw] {
        display: contents;
    }

    .lb-activity-panel[b-p8qo8y2qaw] {
        order: 2;
    }

    .lb-side[b-p8qo8y2qaw] {
        order: 1;
    }

    .lb-side[b-p8qo8y2qaw] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        align-items: start;
    }
}

/* ── Phone and tablet: the dark band of the app bar runs on into the head, and the to-do cards reach into it ── */
@media (max-width: 1024px) {
    .lb-head[b-p8qo8y2qaw] {
        margin: calc(var(--main-padding) * -1) calc(var(--main-padding) * -1) 0;
        padding: 4px var(--main-padding) 64px;
        background: var(--primary-color);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .lb-title[b-p8qo8y2qaw] {
        flex: none;
    }

    .lb-title h1[b-p8qo8y2qaw] {
        color: #fff;
        font-size: 2rem;
    }

    .lb-name[b-p8qo8y2qaw] {
        color: inherit;
    }

    .lb-date[b-p8qo8y2qaw],
    .lb-welcome[b-p8qo8y2qaw] {
        color: #b9d3e8;
    }

    .lb-search[b-p8qo8y2qaw] {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .lb-search-field[b-p8qo8y2qaw] {
        flex: 1;
        min-width: 0;
    }

    .lb-search-field[b-p8qo8y2qaw]  input {
        height: 56px;
        border: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(0, 20, 40, 0.25) !important;
        font-size: var(--fs-md) !important;
    }

    .lb-scan[b-p8qo8y2qaw] {
        flex: none;
        display: flex;
        align-items: center;
        gap: 8px;
        height: 56px;
        padding: 0 18px;
        border-radius: 16px;
        background: var(--accent-color);
        color: #fff;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 10px 30px rgba(0, 20, 40, 0.25);
    }

    .lb-scan i[b-p8qo8y2qaw] {
        font-size: 1.3rem;
    }

    .lb-todo[b-p8qo8y2qaw] {
        margin-top: -52px;
    }

    .lb-panel[b-p8qo8y2qaw],
    [b-p8qo8y2qaw] .lb-quick {
        border-radius: 18px;
    }
}

@media (max-width: 640px) {
    .lagebild[b-p8qo8y2qaw] {
        gap: 16px;
        font-size: var(--fs-md);
    }

    .lb-scan span[b-p8qo8y2qaw] {
        display: none;
    }

    .lb-scan[b-p8qo8y2qaw] {
        padding: 0 16px;
    }

    .lb-todo[b-p8qo8y2qaw] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lb-task[b-p8qo8y2qaw] {
        padding: 18px;
        gap: 10px;
    }

    .lb-task-top[b-p8qo8y2qaw] {
        justify-content: space-between;
    }

    .lb-task-icon[b-p8qo8y2qaw] {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 1.2rem;
    }

    .lb-task-count[b-p8qo8y2qaw] {
        font-size: 2.25rem;
    }

    .lb-task h3[b-p8qo8y2qaw] {
        font-size: var(--fs-md);
    }

    .lb-task p[b-p8qo8y2qaw] {
        font-size: var(--fs-base);
    }

    .lb-go[b-p8qo8y2qaw] {
        align-self: stretch;
        height: 48px;
        border-radius: 12px;
        font-size: var(--fs-base);
    }

    .lb-metrics[b-p8qo8y2qaw] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lb-metric[b-p8qo8y2qaw] {
        border-left: 0;
        border-top: 1px solid var(--surface-line);
        padding: 14px 16px;
    }

    .lb-metric:nth-child(even)[b-p8qo8y2qaw] {
        border-left: 1px solid var(--surface-line);
    }

    .lb-metric:nth-child(-n+2)[b-p8qo8y2qaw] {
        border-top: 0;
    }

    .lb-side[b-p8qo8y2qaw] {
        display: flex;
        align-items: stretch;
    }

    .lb-desktop[b-p8qo8y2qaw] {
        display: none;
    }

    .lb-mobile[b-p8qo8y2qaw] {
        display: block;
    }

    .lb-warn-card[b-p8qo8y2qaw] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 4px 12px;
        align-items: center;
        padding: 12px 16px;
        border-top: 1px solid #f0f3f6;
    }

    .lb-warn-card .lb-thumb[b-p8qo8y2qaw] {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
    }

    .lb-warn-name[b-p8qo8y2qaw] {
        grid-column: 2;
        font-weight: 700;
        color: var(--text-ink);
        text-decoration: none;
    }

    .lb-warn-meta[b-p8qo8y2qaw] {
        grid-column: 2;
        color: var(--text-muted);
        font-size: var(--fs-sm);
    }

    .lb-warn-btn[b-p8qo8y2qaw] {
        grid-column: 3;
        grid-row: 1 / span 2;
        display: inline-flex;
        align-items: center;
        height: 44px;
        padding: 0 16px;
        border-radius: 12px;
        background: var(--surface-sunken);
        color: var(--primary-color);
        font-size: var(--fs-base);
        font-weight: 700;
        text-decoration: none;
    }

    .lb-panel-head[b-p8qo8y2qaw] {
        padding: 16px 16px 10px;
    }

    .lb-head-link[b-p8qo8y2qaw] {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .lb-status-row[b-p8qo8y2qaw] {
        min-height: 44px;
        padding: 12px 16px;
    }

    .lb-more[b-p8qo8y2qaw] {
        height: 52px;
    }
}

/* ── Period switch (desktop; the phone's Lagebild is about today) ── */
.lb-period[b-p8qo8y2qaw] {
    margin-left: auto;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--surface-shadow);
}

.lb-period button[b-p8qo8y2qaw] {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #3a4b5c;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.lb-period button:hover[b-p8qo8y2qaw] {
    background: var(--surface-sunken);
}

.lb-period button.on[b-p8qo8y2qaw] {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 1024px) {
    .lb-period[b-p8qo8y2qaw] {
        display: none;
    }
}

/* Meine Baustellen: one row per site, the Rapport button beside it. */
.lb-myprojects[b-p8qo8y2qaw] {
    list-style: none;
    margin: 0;
    padding: 0 6px 8px;
}

.lb-myprojects li[b-p8qo8y2qaw] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid #eef0f3;
}

.lb-myprojects li:last-child[b-p8qo8y2qaw] {
    border-bottom: 0;
}

.lb-myproject[b-p8qo8y2qaw] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: var(--text-ink);
    text-decoration: none;
}

.lb-myproject-name[b-p8qo8y2qaw] {
    font-weight: 700;
}

.lb-myproject-meta[b-p8qo8y2qaw] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* One-line slots keep their facts on one line; the slot clips what does not fit. */
.lb-myproject-meta .meta-row[b-p8qo8y2qaw],
.lb-status-text .meta-row[b-p8qo8y2qaw] {
    flex-wrap: nowrap;
}

/* "Nachbestellen" in the warnings' head: pushed to its end, a button that looks like the row actions. */
.lb-panel-action[b-p8qo8y2qaw] {
    margin-left: auto;
    gap: 6px;
    border: 0;
    cursor: pointer;
}

.lb-panel-action:hover[b-p8qo8y2qaw] {
    background: #dde8f2;
}

/* What placed orders bring to that Lager — part of the gap is already on its way. */
.lb-underway[b-p8qo8y2qaw] {
    display: block;
    color: #2563eb;
    font-size: var(--fs-xs);
    font-weight: 600;
}

.lb-mobile .lb-underway[b-p8qo8y2qaw] {
    display: inline;
}
/* /Components/Pages/Manual.razor.rz.scp.css */
/* ── The list: chapters, rows, Schlagworte ───────────────────────── */
.hb-empty[b-15tcz7enlu] {
    padding: 2rem 1rem;
    margin: 0;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
}

.hb-chapter[b-15tcz7enlu] {
    margin: 0;
    padding: 14px 16px 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hb-list[b-15tcz7enlu] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hb-list li[b-15tcz7enlu] {
    border-bottom: 1px solid var(--surface-line);
}

.hb-row[b-15tcz7enlu] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 16px;
    border: 0;
    background: transparent;
    color: var(--text-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease-out;
}

.hb-row:hover:not(.is-picked)[b-15tcz7enlu] {
    background: #f5f8fb;
}

/* The picked row, like the one a ListPreview shows in its middle. */
.hb-row.is-picked[b-15tcz7enlu] {
    background: #e3eef7;
    box-shadow: inset 3px 0 0 var(--accent-color);
}

.hb-row:focus-visible[b-15tcz7enlu] {
    outline: none;
    box-shadow: inset var(--focus-shadow);
}

.hb-row b[b-15tcz7enlu] {
    font-weight: 600;
}

.hb-row small[b-15tcz7enlu] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-row small .meta-tag[b-15tcz7enlu] {
    margin-right: 6px;
}

.hb-tag-cloud[b-15tcz7enlu] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 16px 0;
}

.hb-tag[b-15tcz7enlu] {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
}

.hb-tag:hover[b-15tcz7enlu] {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hb-tag:focus-visible[b-15tcz7enlu] {
    outline: none;
    box-shadow: var(--focus-shadow);
}

/* ── The entry in the middle ─────────────────────────────────────── */
.hb-entry[b-15tcz7enlu] {
    max-width: 860px;
}

.hb-head[b-15tcz7enlu] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 24px 4px;
}

.hb-icon[b-15tcz7enlu] {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
}

.hb-head h1[b-15tcz7enlu] {
    margin: 1px 0 0;
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
}

.hb-text[b-15tcz7enlu] {
    padding: 12px 24px 20px;
    color: var(--text-ink);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.hb-text[b-15tcz7enlu]  > :first-child {
    margin-top: 0;
}

.hb-text[b-15tcz7enlu]  p {
    margin: 0 0 0.75em;
}

.hb-text[b-15tcz7enlu]  h2 {
    margin: 1.4em 0 0.4em;
    color: var(--primary-color);
    font-size: var(--fs-md);
    font-weight: 800;
    line-height: 1.3;
}

.hb-text[b-15tcz7enlu]  h3,
.hb-text[b-15tcz7enlu]  h4 {
    margin: 1.1em 0 0.3em;
    font-size: var(--fs-base);
    font-weight: 700;
}

.hb-text[b-15tcz7enlu]  ul,
.hb-text[b-15tcz7enlu]  ol {
    margin: 0 0 0.75em;
    padding-left: 1.5em;
}

.hb-text[b-15tcz7enlu]  ul {
    list-style: disc;
}

.hb-text[b-15tcz7enlu]  ol {
    list-style: decimal;
}

.hb-text[b-15tcz7enlu]  li {
    margin: 0.2em 0;
}

.hb-text[b-15tcz7enlu]  a {
    color: var(--accent-color);
    text-decoration: underline;
}

.hb-text[b-15tcz7enlu]  strong {
    font-weight: 700;
}

.hb-text[b-15tcz7enlu]  code {
    padding: 1px 5px;
    border-radius: 5px;
    background: #f0f4f8;
    font-size: 0.9em;
}

.hb-text[b-15tcz7enlu]  blockquote {
    margin: 0.75em 0;
    padding: 8px 14px;
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    background: #f3f8fc;
    color: var(--text-ink);
}

.hb-text[b-15tcz7enlu]  blockquote > :last-child {
    margin-bottom: 0;
}

.hb-text[b-15tcz7enlu]  table {
    width: 100%;
    margin: 0 0 0.75em;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.hb-text[b-15tcz7enlu]  th,
.hb-text[b-15tcz7enlu]  td {
    padding: 6px 10px;
    border-bottom: 1px solid var(--surface-line);
    text-align: left;
    vertical-align: top;
}

.hb-text[b-15tcz7enlu]  th {
    color: var(--text-muted);
    font-weight: 700;
}

.hb-foot[b-15tcz7enlu] {
    padding: 14px 24px 18px;
    border-top: 1px solid var(--surface-line);
}

.hb-foot h2[b-15tcz7enlu] {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hb-foot .hb-tag-cloud[b-15tcz7enlu] {
    padding: 0;
}

.hb-related[b-15tcz7enlu] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}

.hb-related a[b-15tcz7enlu] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--surface-line);
    border-radius: 12px;
    color: var(--text-ink);
    text-decoration: none;
}

.hb-related a:hover[b-15tcz7enlu] {
    border-color: var(--accent-color);
    background: #f5f9fc;
}

.hb-related i[b-15tcz7enlu] {
    margin-top: 2px;
    color: var(--accent-color);
}

.hb-related span[b-15tcz7enlu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hb-related b[b-15tcz7enlu] {
    font-weight: 600;
}

.hb-related small[b-15tcz7enlu] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@container pane (max-width: 640px) {
    .hb-head[b-15tcz7enlu] {
        padding: 16px 16px 4px;
    }

    .hb-text[b-15tcz7enlu] {
        padding: 10px 16px 16px;
    }

    .hb-foot[b-15tcz7enlu] {
        padding: 12px 16px 16px;
    }
}
/* /Components/Pages/MyDay.razor.rz.scp.css */
.myday[b-nhxntm4ouf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 16px;
    align-items: start;
}

@media (max-width: 1023px) {
    .myday[b-nhxntm4ouf] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.myday-nav[b-nhxntm4ouf] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.myday-step[b-nhxntm4ouf] {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--surface-line);
    background: var(--surface-sunken);
    color: var(--text-ink);
    font-size: 1.15rem;
    cursor: pointer;
}

.myday-step:hover[b-nhxntm4ouf] {
    background: color-mix(in srgb, var(--accent-color) 10%, var(--surface-sunken));
}

.myday-date[b-nhxntm4ouf] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.myday-date strong[b-nhxntm4ouf] {
    font-size: var(--fs-lg);
    color: var(--text-ink);
}

.myday-date span[b-nhxntm4ouf] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .myday-date strong[b-nhxntm4ouf] {
        font-size: var(--fs-md);
    }

    .myday-date span[b-nhxntm4ouf] {
        font-size: var(--fs-xs);
    }
}

.myday-today[b-nhxntm4ouf] {
    flex: none;
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid var(--accent-color);
    background: #fff;
    color: var(--accent-color);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.myday-empty[b-nhxntm4ouf],
.myday-hint[b-nhxntm4ouf] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.myday-hint[b-nhxntm4ouf] {
    margin-top: 8px;
    font-size: var(--fs-xs);
    text-align: center;
}

.myday-week-head[b-nhxntm4ouf] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: var(--fs-md);
}

.myday-week-head span[b-nhxntm4ouf] {
    font-weight: 600;
    color: var(--text-muted);
}

.myday-week-days[b-nhxntm4ouf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.myday-weekday[b-nhxntm4ouf] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: var(--fs-sm);
    color: var(--text-ink);
    cursor: pointer;
    text-align: left;
}

.myday-weekday:hover[b-nhxntm4ouf] {
    background: var(--menu-item-hover);
}

.myday-weekday.is-current[b-nhxntm4ouf] {
    background: var(--menu-item-selected);
}

.myday-weekday-name[b-nhxntm4ouf] {
    flex: none;
    width: 2.2em;
    font-weight: 700;
}

.myday-weekday-total[b-nhxntm4ouf] {
    flex: none;
    width: 3em;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.myday-track[b-nhxntm4ouf] {
    flex: 1;
    min-width: 0;
    height: 20px;
    border-radius: 6px;
    background: var(--surface-sunken);
    display: flex;
    overflow: hidden;
}

.myday-track-part[b-nhxntm4ouf] {
    height: 100%;
}

.myday-track-part + .myday-track-part[b-nhxntm4ouf] {
    border-left: 2px solid #fff;
}

.myday-weekday.is-missing[b-nhxntm4ouf] {
    color: #c2410c;
}

.myday-weekday.is-missing .myday-track[b-nhxntm4ouf] {
    background: transparent;
    border: 1.5px dashed #c2410c;
    align-items: center;
    padding-left: 8px;
    box-sizing: border-box;
}

.myday-track-missing[b-nhxntm4ouf] {
    font-size: var(--fs-xs);
    font-weight: 600;
}

.myday-legend[b-nhxntm4ouf] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.myday-legend > span[b-nhxntm4ouf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.myday-swatch[b-nhxntm4ouf] {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}
/* /Components/Pages/Procurements.razor.rz.scp.css */
/* A date that has passed while the entry is still open: Bedarf after its "bis wann", an order after its Wunschtermin. */
.pc-overdue[b-qkk3t5zdto] {
    color: #a3202c;
    font-weight: 700;
}

/* The kind in the wide list: its icon and its word. */
.pc-kind[b-qkk3t5zdto] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
/* /Components/Pages/Profile.razor.rz.scp.css */
main[b-l7xs59723z] {
    display: grid;
    height: 100%;
    grid-template-rows: auto auto 1fr;
    overflow: auto;
}

h1[b-l7xs59723z] {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--fs-2xl);
}
/* /Components/Pages/PurchaseEntry.razor.rz.scp.css */
/* Einkauf: laid out like „Umlagern“ (EasyTransfer.razor.css) — the shops on the left in the look of its Lager rows
   (WarehousePickList.razor.css), the counting card in the middle with the book bar at its foot, a drawer on phones. */

/* ---- Geschäfte ---- */

.pe-list[b-h7h2l3boih] {
    padding: 6px 10px;
}

.pe-rows[b-h7h2l3boih] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pe-row[b-h7h2l3boih] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 10px;
    border: 0;
    border-bottom: 1px solid var(--color-gray-100, #eef3f6);
    border-radius: 10px;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 120ms ease;
}

    .pe-row:hover[b-h7h2l3boih] {
        background: var(--color-gray-50, #f5f8fa);
    }

    .pe-row:focus-visible[b-h7h2l3boih] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

    .pe-row.is-picked[b-h7h2l3boih] {
        background: color-mix(in srgb, var(--primary-color, #00385e) 8%, #fff);
    }

    /* The name typed into the search, offered as a new shop: tinted, like the own vehicle above the Lager list. */
    .pe-row.is-new[b-h7h2l3boih] {
        background: color-mix(in srgb, var(--accent-color, #0d6cac) 7%, #fff);
    }

.pe-row-icon[b-h7h2l3boih] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-gray-100, #eef3f6);
    color: var(--primary-color, #00385e);
    font-size: 1.15rem;
}

.pe-row.is-new .pe-row-icon[b-h7h2l3boih] {
    background: color-mix(in srgb, var(--accent-color, #0d6cac) 15%, #fff);
    color: var(--accent-color, #0d6cac);
}

.pe-row-main[b-h7h2l3boih] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.pe-row-name[b-h7h2l3boih] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--text-ink, #1d2b36);
}

.pe-row-sub[b-h7h2l3boih] {
    font-size: var(--fs-xs);
    color: var(--text-muted, #5c7180);
}

.pe-row-count[b-h7h2l3boih] {
    flex: none;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent-green, #2a9d8f);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-align: center;
}

.pe-row-chevron[b-h7h2l3boih] {
    flex: none;
    color: var(--color-gray-400, #8fa1ad);
}

.pe-empty[b-h7h2l3boih] {
    padding: 24px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

/* ---- Mitte ---- */

.pe-middle[b-h7h2l3boih] {
    height: var(--lp-full, auto);
}

.pe-placeholder[b-h7h2l3boih] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    color: var(--text-muted, #5c7180);
}

    .pe-placeholder i[b-h7h2l3boih] {
        font-size: 1.6rem;
        color: var(--accent-color, #0d6cac);
    }

.pe-card[b-h7h2l3boih] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--surface-radius, 18px);
    background: #fff;
    box-shadow: var(--surface-shadow, 0 2px 10px rgba(0, 0, 0, 0.06));
}

.pe-card-scroll[b-h7h2l3boih] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ---- Buchen ---- */

/* The foot of the middle, like under „Umlagern“: what is in the basket on the left, the accent button with its count
   on the right, under a hairline. */
.pe-book[b-h7h2l3boih] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--surface-line, #e3e9ee);
    background: #fff;
}

.pe-book-facts[b-h7h2l3boih] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.pe-book-title[b-h7h2l3boih] {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-ink, #1d2b36);
}

.pe-book-sub[b-h7h2l3boih] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
    color: var(--text-muted, #5c7180);
}

.pe-book[b-h7h2l3boih]  .pe-book-btn,
.pe-book[b-h7h2l3boih]  .pe-cancel-btn {
    flex: none;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.pe-book[b-h7h2l3boih]  .pe-count-tag {
    background: color-mix(in srgb, currentColor 18%, transparent);
    color: inherit;
}

/* ---- Telefon: die Schublade ---- */

.pe-drawer[b-h7h2l3boih] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

    /* In the drawer the bar sits on top: in its smallest position it is all there is to see. */
    .pe-drawer .pe-book[b-h7h2l3boih] {
        flex-wrap: wrap;
        border-top: 0;
        border-bottom: 1px solid var(--surface-line, #e3e9ee);
        padding: 4px 16px 12px;
    }

    .pe-drawer .pe-book[b-h7h2l3boih]  .pe-book-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 13px 16px;
    }

.pe-drawer-body[b-h7h2l3boih] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pe-drawer-hint[b-h7h2l3boih] {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

/* Unter der Schublade bleibt die Liste bis zum Ende erreichbar. */
@media (max-width: 1024px) {
    .pe-list[b-h7h2l3boih] {
        padding-bottom: 180px;
    }
}

@container pane (max-width: 560px) {
    .pe-row[b-h7h2l3boih] {
        padding: 10px 6px;
    }
}
/* /Components/Pages/QuickAccessPickerDialog.razor.rz.scp.css */
.qa-picker-grid[b-j4uavpdw3y] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* A group heading reads like a form label (FieldRenderer): normal size, medium weight, ink. */
.qa-picker-group-label[b-j4uavpdw3y] {
    width: 100%;
    font-weight: 500;
    color: var(--text-ink);
    margin-top: 8px;
}

.qa-picker-group-label:first-child[b-j4uavpdw3y] {
    margin-top: 0;
}

.qa-picker-tile[b-j4uavpdw3y] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--border-radius);
    border: 1px solid #e5eaf0;
    background: white;
    cursor: pointer;
    font-size: var(--fs-sm);
    color: #1f2d3d;
    transition: all 0.15s;
    min-width: 130px;
}

.qa-picker-tile:hover[b-j4uavpdw3y] {
    box-shadow: var(--box-shadow);
    transform: translateY(-1px);
    border-color: var(--accent-color);
}

.qa-picker-icon[b-j4uavpdw3y] {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.qa-picker-label[b-j4uavpdw3y] {
    font-weight: 500;
}

/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-layout[b-38o16i2zus] {
    display: grid;
    /* minmax(0, …): a wide form row may not push the page past the window. */
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.settings-sidenav[b-38o16i2zus] {
    position: sticky;
    /* Clear the now-sticky page header (PageLayout) so the nav isn't hidden behind it. */
    top: var(--sticky-header-height, 78px);
}

.settings-sidenav ul[b-38o16i2zus] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-nav-item[b-38o16i2zus] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: background-color 120ms ease;
}

.settings-nav-item:hover[b-38o16i2zus] {
    background: rgba(0, 0, 0, 0.04);
}

.settings-nav-item.active[b-38o16i2zus] {
    background: var(--primary-color, #3b82f6);
    color: #fff;
}

.settings-nav-separator[b-38o16i2zus] {
    height: 1px;
    margin: 0.4rem 0.9rem;
    background: rgba(0, 0, 0, 0.08);
}

.settings-nav-icon[b-38o16i2zus] {
    width: 1.25rem;
    text-align: center;
}

.settings-nav-text[b-38o16i2zus] {
    flex: 1;
    font-weight: 500;
}

.settings-content[b-38o16i2zus] {
    min-width: 0;
}

[b-38o16i2zus] .suggestly-settings,
[b-38o16i2zus] .settings-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[b-38o16i2zus] .form-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[b-38o16i2zus] .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

[b-38o16i2zus] .form-label {
    font-weight: 600;
    font-size: var(--fs-sm);
}

[b-38o16i2zus] .form-hint {
    font-size: var(--fs-sm);
    color: var(--text-muted, #64748b);
}

[b-38o16i2zus] .form-icon-btn {
    padding: 0 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.4rem;
    background: #fff;
}

/* The app draws every checkbox as a switch (app.css); it only has to keep its width beside a wrapping label. */
[b-38o16i2zus] .telemetry-checkbox {
    flex: none;
    cursor: pointer;
}

[b-38o16i2zus] .telemetry-status a,
[b-38o16i2zus] .suggestly-settings a {
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
}

[b-38o16i2zus] .suggestly-settings a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .settings-layout[b-38o16i2zus] {
        grid-template-columns: minmax(0, 1fr);
    }

    .settings-sidenav[b-38o16i2zus] {
        position: static;
    }

    .settings-sidenav ul[b-38o16i2zus] {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .settings-sidenav ul[b-38o16i2zus]::-webkit-scrollbar {
        display: none;
    }

    .settings-nav-item[b-38o16i2zus] {
        white-space: nowrap;
    }

    /* In the scrolling row the line stands upright between the groups. */
    .settings-nav-separator[b-38o16i2zus] {
        flex: none;
        width: 1px;
        height: auto;
        margin: 0.5rem 0.25rem;
    }
}
/* /Components/Pages/ShelfLabels.razor.rz.scp.css */
.label-summary[b-oa8l1wck4c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
}

.label-summary-figure[b-oa8l1wck4c] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.label-summary-count[b-oa8l1wck4c] {
    font-size: 1.5rem;
    font-weight: 600;
}

.label-summary-chips[b-oa8l1wck4c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.label-summary-chip-count[b-oa8l1wck4c] {
    margin-right: 0.75rem;
    font-weight: 600;
}

.label-sync-unassigned[b-oa8l1wck4c] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
    font-size: var(--fs-sm);
}
/* /Components/Pages/StockAdjust.razor.rz.scp.css */
/* ---- Filter ---- */

/* The Lagerart icon in its chip, at text size — the chip row's own rule shrinks icons to chevron size. */
.lh-chip i.sa-chip-icon[b-hzstzuirzx] {
    font-size: 1rem;
}

/* ---- Lagerliste (rows: WarehousePickList) ---- */

.sa-list[b-hzstzuirzx] {
    padding: 6px 10px;
}

/* ---- Mitte ---- */

.sa-middle[b-hzstzuirzx] {
    height: var(--lp-full, auto);
}

.sa-placeholder[b-hzstzuirzx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    color: var(--text-muted, #5c7180);
}

    .sa-placeholder i[b-hzstzuirzx] {
        font-size: 1.6rem;
        color: var(--accent-color, #0d6cac);
    }

.sa-card[b-hzstzuirzx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--surface-radius, 18px);
    background: #fff;
    box-shadow: var(--surface-shadow, 0 2px 10px rgba(0, 0, 0, 0.06));
}

.sa-card-scroll[b-hzstzuirzx] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ---- Buchen ---- */

/* The foot of the middle, like the summary's foot under „Umlagern“: what is in the basket on the left, the
   accent button with its count on the right, under a hairline. */
.sa-book[b-hzstzuirzx] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--surface-line, #e3e9ee);
    background: #fff;
}

.sa-book-facts[b-hzstzuirzx] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.sa-book-title[b-hzstzuirzx] {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-ink, #1d2b36);
}

/* The kind, tapped to change it (AdjustReasonDialog). */
.sa-book-kind[b-hzstzuirzx] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin: 0 -6px;
    padding: 2px 6px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

    .sa-book-kind:hover[b-hzstzuirzx],
    .sa-book-kind:focus-visible[b-hzstzuirzx] {
        background: var(--menu-item-hover);
        outline: none;
    }

    .sa-book-kind > i[b-hzstzuirzx] {
        color: var(--text-muted, #5c7180);
        font-size: var(--fs-sm);
    }

.sa-book-sub[b-hzstzuirzx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
    color: var(--text-muted, #5c7180);
}

.sa-book[b-hzstzuirzx]  .sa-book-btn,
.sa-book[b-hzstzuirzx]  .sa-cancel-btn {
    flex: none;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.sa-book[b-hzstzuirzx]  .sa-count-tag {
    background: color-mix(in srgb, currentColor 18%, transparent);
    color: inherit;
}

/* ---- Telefon: die Schublade ---- */

.sa-drawer[b-hzstzuirzx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

    /* In the drawer the bar sits on top: in its smallest position it is all there is to see. */
    .sa-drawer .sa-book[b-hzstzuirzx] {
        flex-wrap: wrap;
        border-top: 0;
        border-bottom: 1px solid var(--surface-line, #e3e9ee);
        padding: 4px 16px 12px;
    }

    .sa-drawer .sa-book[b-hzstzuirzx]  .sa-book-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 13px 16px;
    }

.sa-drawer-body[b-hzstzuirzx] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sa-drawer-hint[b-hzstzuirzx] {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

/* Unter der Schublade bleibt die Liste bis zum Ende erreichbar. */
@media (max-width: 1024px) {
    .sa-list:last-of-type[b-hzstzuirzx] {
        padding-bottom: 180px;
    }
}

/* The placeholder's button stands under its sentence. */
.sa-placeholder[b-hzstzuirzx]  .btn,
.sa-placeholder[b-hzstzuirzx]  button {
    margin-top: 4px;
}
/* /Components/Pages/Suppliers.razor.rz.scp.css */
/* A logo fills the row's icon tile on white (logos are drawn for a light ground) and fits inside without cropping. */
.supplier-logo[b-uk5b5izvia] {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: inherit;
    background: #fff;
    overflow: hidden;
}

.supplier-logo[b-uk5b5izvia]  .cat-img {
    width: 100%;
    height: 100%;
    padding: 3px;
}
/* /Components/Pages/TerminalDetails.razor.rz.scp.css */
.td-pane[b-ldc3ura7no] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: var(--main-padding, 1rem) 0;
}

.td-online[b-ldc3ura7no] {
    color: #15803d;
    font-weight: 600;
}
/* /Components/Pages/WarehouseMapEditorPage.razor.rz.scp.css */
.wmep[b-1dalqmlocf] {
    height: calc(100dvh - 56px - var(--sticky-header-height, 78px) - 2 * var(--main-padding, 20px));
    min-height: 520px;
}
/* /Components/Pages/WarehouseMapPage.razor.rz.scp.css */
.wmp[b-mr0aws305r] {
    height: calc(100dvh - 56px - var(--sticky-header-height, 78px) - 2 * var(--main-padding, 20px));
    min-height: 420px;
}

@media (max-width: 1023.98px) {
    .wmp[b-mr0aws305r] {
        height: calc(100dvh - 56px - var(--app-tabbar-h, 0px) - var(--sticky-header-height, 78px) - 2 * var(--main-padding, 16px));
        min-height: 360px;
    }
}

.wmp-commissions[b-mr0aws305r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 10px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.wmp-commissions a[b-mr0aws305r] {
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--surface-shadow);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
/* /Components/Pricing/ArticlePurchasing.razor.rz.scp.css */
.purchasing-value[b-3ltv2zznp9] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.purchasing-value-label[b-3ltv2zznp9] {
    color: var(--text-muted);
}

.purchasing-star[b-3ltv2zznp9] {
    color: #d97706;
}

.purchasing-price[b-3ltv2zznp9] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.purchasing-grid[b-3ltv2zznp9] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 28px;
    margin-bottom: 12px;
}

@container pane (max-width: 640px) {
    .purchasing-grid[b-3ltv2zznp9] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.purchasing-stand[b-3ltv2zznp9] {
    margin: 6px 0 0;
    font-size: 0.85em;
}

.purchasing-h[b-3ltv2zznp9] {
    margin: 0 0 4px;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-muted);
}

.purchasing-h:not(:first-child)[b-3ltv2zznp9] {
    margin-top: 12px;
}

.purchasing-list[b-3ltv2zznp9] {
    list-style: none;
    margin: 0;
    padding: 0;
    font-variant-numeric: tabular-nums;
}

.purchasing-list li[b-3ltv2zznp9] {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 3px 0;
}

.purchasing-list li > span:first-child[b-3ltv2zznp9] {
    flex: 1 1 auto;
    min-width: 0;
}

.purchasing-list li.is-open > span:first-child[b-3ltv2zznp9] {
    color: var(--text-muted);
}

.purchasing-change[b-3ltv2zznp9] {
    color: #15803d;
    font-size: 0.85em;
}

.purchasing-change.is-up[b-3ltv2zznp9] {
    color: #b91c1c;
}

.purchasing-icon-btn[b-3ltv2zznp9] {
    border: 0;
    background: none;
    padding: 2px 4px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
}

.purchasing-icon-btn:hover[b-3ltv2zznp9] {
    background: color-mix(in srgb, var(--text-ink) 8%, transparent);
    color: var(--text-ink);
}
/* /Components/Pricing/PriceBreakdownView.razor.rz.scp.css */
.price-breakdown[b-85nsy6imq3] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.price-breakdown th[b-85nsy6imq3],
.price-breakdown td[b-85nsy6imq3] {
    padding: 4px 0;
    font-weight: 400;
    text-align: left;
    vertical-align: baseline;
}

.price-breakdown td[b-85nsy6imq3] {
    text-align: right;
    white-space: nowrap;
    padding-left: 12px;
}

.price-breakdown tr.is-discount td[b-85nsy6imq3] {
    color: var(--text-muted);
}

.price-breakdown tr.is-total th[b-85nsy6imq3],
.price-breakdown tr.is-total td[b-85nsy6imq3] {
    font-weight: 600;
    border-top: 1px solid color-mix(in srgb, var(--text-ink) 12%, transparent);
    padding-top: 6px;
}

.price-note[b-85nsy6imq3] {
    display: block;
    font-size: 0.8em;
    color: var(--text-muted);
}

.price-per-unit[b-85nsy6imq3] {
    margin: 6px 0 0;
    font-variant-numeric: tabular-nums;
}

.price-per-unit span[b-85nsy6imq3] {
    color: var(--text-muted);
}

.price-missing[b-85nsy6imq3],
.price-warning[b-85nsy6imq3] {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 4px 0;
    color: var(--text-muted);
}

.price-warning[b-85nsy6imq3] {
    color: #b45309;
}
/* /Components/Pricing/ReceiptPricingDialog.razor.rz.scp.css */
.rp-body[b-vwfxjnti2m] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rp-invoice[b-vwfxjnti2m] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 12rem);
    gap: 10px;
}

.rp-invoice label[b-vwfxjnti2m],
.rp-price[b-vwfxjnti2m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rp-invoice label > span[b-vwfxjnti2m] {
    font-size: 0.85em;
    color: var(--text-muted);
}

.rp-lines[b-vwfxjnti2m] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-lines li[b-vwfxjnti2m] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9.5rem 3.5rem 6rem;
    gap: 10px;
    align-items: center;
    font-variant-numeric: tabular-nums;
}

.rp-line-name[b-vwfxjnti2m] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rp-line-name b[b-vwfxjnti2m] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-line-name .preview-muted[b-vwfxjnti2m] {
    font-size: 0.85em;
}

.rp-price[b-vwfxjnti2m] {
    flex-direction: row;
    align-items: center;
}

.rp-price input[b-vwfxjnti2m] {
    width: 100%;
    text-align: right;
}

.rp-price span[b-vwfxjnti2m] {
    font-size: 0.8em;
    color: var(--text-muted);
    white-space: nowrap;
}

.rp-deviation[b-vwfxjnti2m] {
    font-size: 0.85em;
    color: #b45309;
    text-align: right;
}

.rp-total[b-vwfxjnti2m] {
    text-align: right;
}

.rp-sum[b-vwfxjnti2m] {
    margin: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.rp-take[b-vwfxjnti2m] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.9em;
}

@container pane (max-width: 560px) {
    .rp-lines li[b-vwfxjnti2m] {
        grid-template-columns: minmax(0, 1fr) 8.5rem;
    }

    .rp-deviation[b-vwfxjnti2m],
    .rp-total[b-vwfxjnti2m] {
        grid-column: 2;
    }

    .rp-invoice[b-vwfxjnti2m] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pricing/StockValueTag.razor.rz.scp.css */
.value-tag[b-59hei383jg] {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.value-tag-missing[b-59hei383jg] {
    color: #b45309;
}
/* /Components/Pricing/SupplierArticleList.razor.rz.scp.css */
/* An article's picture in the supplier's Artikel tab — the article list's aside thumbnail. */
.supplier-article-pic[b-t00yi5jj6s] {
    display: block;
    width: 38px;
    height: 38px;
}

.supplier-article-pic[b-t00yi5jj6s]  .cat-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
/* /Components/Pricing/SupplierDiscountGroups.razor.rz.scp.css */
/* A group an import brought along whose rate is still to be agreed. */
.discount-missing[b-s06nua4ia3] {
    color: #b45309;
    white-space: nowrap;
}
/* /Components/Procurement/ProcurementStageChip.razor.rz.scp.css */
/* The same look as the Bedarf's state chip (MaterialNeedStateChip), tinted from the stage's colour. */
.ps-chip[b-iirdu0mu2q] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ps-color) 14%, white);
    color: color-mix(in srgb, var(--ps-color) 70%, black);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
/* /Components/Project/ProjectCloseDialog.razor.rz.scp.css */
.close-facts[b-eq0an7yfkp] {
    margin: 0;
    padding: 0 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.close-facts .warn[b-eq0an7yfkp] {
    color: #a3202c;
}

.close-check[b-eq0an7yfkp] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}
/* /Components/Project/ProjectPreview.razor.rz.scp.css */
/* Over a Rapport opened in the middle: the way back to its Baustelle. */
.pp-back[b-lyxramcmrq] {
    margin-bottom: 12px;
}
/* /Components/Project/ProjectReconciliation.razor.rz.scp.css */

.rec-summary[b-rdghnpe72e] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 12px 16px 6px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: 600;
}

.rec-summary .warn[b-rdghnpe72e] {
    color: #a3202c;
}

.rec-wrap[b-rdghnpe72e] {
    overflow-x: auto;
}

.rec-table[b-rdghnpe72e] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.rec-table th[b-rdghnpe72e],
.rec-table td[b-rdghnpe72e] {
    padding: 8px 12px;
    border-bottom: 1px solid #eef0f3;
    text-align: left;
    vertical-align: middle;
}

.rec-table th[b-rdghnpe72e] {
    color: var(--text-muted);
    font-weight: 700;
    font-size: var(--fs-xs);
}

.rec-table .num[b-rdghnpe72e] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rec-table .tick[b-rdghnpe72e] {
    width: 44px;
    text-align: center;
}

.rec-table td a[b-rdghnpe72e] {
    color: var(--text-ink);
    font-weight: 600;
    text-decoration: none;
}

.rec-table small[b-rdghnpe72e] {
    display: block;
    color: #a3202c;
}

.rec-table tr.deviates td.num[b-rdghnpe72e] {
    color: #a3202c;
    font-weight: 700;
}
/* /Components/Project/ProjectTasks.razor.rz.scp.css */
.task-actions[b-b78qe3qs23] {
    display: flex;
    gap: 6px;
    padding: 12px 16px 4px;
}

.task-done[b-b78qe3qs23] {
    color: var(--text-muted);
    text-decoration: line-through;
}

.task-late[b-b78qe3qs23] {
    color: #a3202c;
    font-weight: 700;
}
/* /Components/Project/ProjectTimes.razor.rz.scp.css */
.pt[b-h9vmfxmd6w] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.pt-figures[b-h9vmfxmd6w] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pt-figures > div[b-h9vmfxmd6w] {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-sunken);
}

.pt-figures strong[b-h9vmfxmd6w] {
    font-size: var(--fs-xl);
    color: var(--text-ink);
    font-variant-numeric: tabular-nums;
}

.pt-figures span[b-h9vmfxmd6w] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.pt-note[b-h9vmfxmd6w] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -8px 0 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.pt-note.is-warning[b-h9vmfxmd6w] {
    color: #c2410c;
}

.pt-heading[b-h9vmfxmd6w] {
    margin: 0 0 8px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pt-people[b-h9vmfxmd6w] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pt-person[b-h9vmfxmd6w] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
}

.pt-person-name[b-h9vmfxmd6w] {
    flex: none;
    width: 8.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-track[b-h9vmfxmd6w] {
    flex: 1;
    min-width: 0;
    height: 10px;
    border-radius: 5px;
    background: var(--surface-sunken);
    overflow: hidden;
}

.pt-track > span[b-h9vmfxmd6w] {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: var(--accent-color);
}

.pt-hours[b-h9vmfxmd6w] {
    flex: none;
    min-width: 3.2em;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pt-day + .pt-day[b-h9vmfxmd6w] {
    margin-top: 12px;
}

.pt-day-head[b-h9vmfxmd6w] {
    display: flex;
    justify-content: space-between;
    padding: 0 8px 4px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink);
    border-bottom: 1px solid var(--surface-line);
}

.pt-row[b-h9vmfxmd6w] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: var(--menu-item-radius);
    background: transparent;
    font: inherit;
    font-size: var(--fs-sm);
    color: var(--text-ink);
    text-align: left;
    cursor: pointer;
}

.pt-row:hover[b-h9vmfxmd6w] {
    background: var(--menu-item-hover);
}

.pt-row-time[b-h9vmfxmd6w] {
    flex: none;
    width: 6.6em;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}

.pt-row-people[b-h9vmfxmd6w] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-row-meta[b-h9vmfxmd6w] {
    color: var(--text-muted);
}

.pt-row-icons[b-h9vmfxmd6w] {
    flex: none;
    display: inline-flex;
    gap: 6px;
    color: var(--text-muted);
}

.pt-icon-warning[b-h9vmfxmd6w] {
    color: #c2410c;
}

.pt-row.is-overlap .pt-row-time[b-h9vmfxmd6w] {
    color: #c2410c;
}
/* /Components/Project/ReportCustomerSheet.razor.rz.scp.css */
/* The Rapport as a document: one column, capped so a wide pane still reads as a sheet, sections with quiet
   headings, and the signature box at the foot. Narrow containers (dialog on a phone) stack the head and the facts. */
.rs[b-q9y9c2t7uk] {
    container-type: inline-size;
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 32px 24px;
    color: var(--text-ink);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.rs.in-dialog[b-q9y9c2t7uk] {
    padding: 0;
}

.rs-state[b-q9y9c2t7uk] {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Head */
.rs-head[b-q9y9c2t7uk] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.rs-title[b-q9y9c2t7uk] {
    min-width: 0;
}

.rs-kicker[b-q9y9c2t7uk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.rs-title h2[b-q9y9c2t7uk] {
    margin: 4px 0 2px;
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
}

.rs-place[b-q9y9c2t7uk] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.rs-badges[b-q9y9c2t7uk] {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.rs-badge[b-q9y9c2t7uk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    background: var(--surface-sunken);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 700;
    white-space: nowrap;
}

.rs-badge.is-open[b-q9y9c2t7uk] {
    background: #fff4e0;
    color: #8a4b00;
}

.rs-badge.is-done[b-q9y9c2t7uk] {
    background: #e3f4f1;
    color: #155e56;
}

.rs-badge.is-defect[b-q9y9c2t7uk] {
    background: #fdecea;
    color: #8a1c12;
}

/* Facts */
.rs-facts[b-q9y9c2t7uk] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-line);
    border: 1px solid var(--surface-line);
}

.rs-facts > div[b-q9y9c2t7uk] {
    padding: 12px 14px;
    background: var(--surface-sunken);
}

.rs-facts dt[b-q9y9c2t7uk] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.rs-facts dd[b-q9y9c2t7uk] {
    margin: 2px 0 0;
    font-size: var(--fs-md);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Small actions under the facts */
.rs-tools[b-q9y9c2t7uk] {
    display: flex;
    gap: 8px;
    margin-top: -10px;
}

.rs-tool[b-q9y9c2t7uk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--surface-line);
    border-radius: 16px;
    background: #fff;
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.rs-tool:hover[b-q9y9c2t7uk] {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Sections */
.rs-section h3[b-q9y9c2t7uk],
.rs-sign h3[b-q9y9c2t7uk] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--surface-line);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rs-section h3 i[b-q9y9c2t7uk] {
    font-size: 0.95rem;
}

.rs-empty[b-q9y9c2t7uk] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.rs-section ul[b-q9y9c2t7uk] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Arbeitszeit */
.rs-times li[b-q9y9c2t7uk] {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--surface-line);
    font-size: var(--fs-sm);
}

.rs-time[b-q9y9c2t7uk] {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rs-time-date[b-q9y9c2t7uk],
.rs-time-break[b-q9y9c2t7uk] {
    font-weight: 400;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.rs-people[b-q9y9c2t7uk] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.rs-person[b-q9y9c2t7uk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rs-avatar[b-q9y9c2t7uk] {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent-color) 14%, #fff);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rs-hours[b-q9y9c2t7uk] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rs-total[b-q9y9c2t7uk] {
    margin: 8px 0 0;
    text-align: right;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.rs-total strong[b-q9y9c2t7uk] {
    margin-left: 6px;
    font-size: var(--fs-md);
    color: var(--text-ink);
}

/* Leistungen */
.rs-services li[b-q9y9c2t7uk] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: var(--fs-base);
}

.rs-services i[b-q9y9c2t7uk] {
    margin-top: 3px;
    color: var(--accent-green);
}

/* Material */
.rs-materials li[b-q9y9c2t7uk] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--surface-line);
    font-size: var(--fs-sm);
}

.rs-materials li:last-child[b-q9y9c2t7uk] {
    border-bottom: none;
}

.rs-material-name[b-q9y9c2t7uk] {
    min-width: 0;
}

.rs-material-detail[b-q9y9c2t7uk] {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.rs-material-qty[b-q9y9c2t7uk] {
    flex: none;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Kommentare */
.rs-comments li[b-q9y9c2t7uk] {
    padding: 6px 0;
    white-space: pre-wrap;
    font-size: var(--fs-sm);
}

.rs-section.is-defect .rs-comments li[b-q9y9c2t7uk] {
    color: #8a1c12;
}

.rs-section.is-defect h3[b-q9y9c2t7uk] {
    color: #8a1c12;
}

/* Unterschrift */
.rs-sign-box[b-q9y9c2t7uk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 140px;
    border: 1px solid var(--surface-line);
    border-radius: 14px;
    background: #fff;
}

.rs-sign-box.is-empty[b-q9y9c2t7uk] {
    flex-direction: column;
    gap: 8px;
    border: 2px dashed color-mix(in srgb, var(--accent-color) 45%, #fff);
    background: color-mix(in srgb, var(--accent-color) 4%, #fff);
    color: var(--accent-color);
    font: inherit;
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.rs-sign-box.is-empty i[b-q9y9c2t7uk] {
    font-size: 1.8rem;
}

.rs-sign-box.is-empty:hover[b-q9y9c2t7uk] {
    background: color-mix(in srgb, var(--accent-color) 10%, #fff);
}

.rs-sign-box[b-q9y9c2t7uk]  .rs-sign-image {
    max-width: min(420px, 100%);
    max-height: 180px;
}

.rs-sign-note[b-q9y9c2t7uk] {
    margin: 8px 0 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* Fürs nächste Mal: internal, so set apart under the sheet and kept small while empty. */
/* Inset so the panel's own 18px padding lands on the sheet's 32px edge; no second card inside the card. */
.rs-next[b-q9y9c2t7uk] {
    max-width: 920px;
    margin: 8px auto 0;
    padding: 0 14px;
    border-top: 1px solid var(--surface-line);
}

.rs-next[b-q9y9c2t7uk]  .nt-panel {
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

/* The list's own empty state is sized for a page of its own (min-height 168px, centred); here it is one line. */
.rs-next[b-q9y9c2t7uk]  .list.is-bare-empty .list-empty {
    display: block;
    min-height: 0;
    flex: none;
    padding: 0 18px 16px;
    text-align: left;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

@container (max-width: 640px) {
    .rs-head[b-q9y9c2t7uk] {
        flex-direction: column;
        gap: 10px;
    }

    .rs-badges[b-q9y9c2t7uk] {
        justify-content: flex-start;
    }

    .rs-facts[b-q9y9c2t7uk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-times li[b-q9y9c2t7uk] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .rs-people[b-q9y9c2t7uk] {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 1023px) {
    .rs:not(.in-dialog)[b-q9y9c2t7uk] {
        padding: 16px;
    }
}

/* Bearbeiten beside the badges; while editing, a slim head over the Rapport's form. */
.rs-edit[b-q9y9c2t7uk] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.rs-edit[b-q9y9c2t7uk]  .preview-btn {
    white-space: nowrap;
}

.rs-billing:not(:empty)[b-q9y9c2t7uk] {
    padding: 12px 18px 0;
}

.rs-editing[b-q9y9c2t7uk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--surface-radius) var(--surface-radius) 0 0;
    background: #fff;
}

.rs-edit-body[b-q9y9c2t7uk] {
    padding-bottom: 4px;
    border-radius: 0 0 var(--surface-radius) var(--surface-radius);
    background: #fff;
}
/* /Components/Project/ReportMaterialChoiceDialog.razor.rz.scp.css */
/* Eine Option je Lager bzw. Stück: links wo, rechts für wen und wie viel. Die Auswahlfläche selbst (Zeilen,
   Hover, Kästchen) kommt von Select — hier steht nur, was in einer Zeile nebeneinander liegt. Dieselbe Gestalt
   wie im Woher-Dialog der Umlagerung (StockRowChoiceDialog). */
.material-choice-opt[b-zr7the5zj0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

/* „Ohne Lager“ ist ein Knopf in der Optionsliste und sieht aus wie jede andere Option. */
button.material-choice-opt[b-zr7the5zj0] {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.material-choice-what[b-zr7the5zj0] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.material-choice-what > i[b-zr7the5zj0] {
    flex: 0 0 auto;
    font-size: 0.9em;
    opacity: 0.75;
}

.material-choice-text[b-zr7the5zj0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.material-choice-name[b-zr7the5zj0] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.material-choice-detail[b-zr7the5zj0] {
    color: var(--color-gray-500, #5c7180);
    font-size: var(--fs-xs);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Warnend, aber nicht rot: eine Fehlmenge ist kein Fehler, sondern ein offener Punkt. */
.material-choice-missing .material-choice-what > i[b-zr7the5zj0] {
    color: color-mix(in srgb, var(--accent-orange) 70%, black);
    opacity: 1;
}

.material-choice-side[b-zr7the5zj0] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.material-choice-commission[b-zr7the5zj0] {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-gray-500, #5c7180);
    white-space: nowrap;
}

.material-choice-commission.is-committed[b-zr7the5zj0] {
    color: var(--primary-color, #00385e);
}

/* Die Menge gibt nicht nach: sie ist kurz, und sie ist der zweite Teil der Antwort. */
.material-choice-stock[b-zr7the5zj0] {
    display: inline-flex;
    gap: 4px;
    color: var(--color-gray-500, #5c7180);
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.material-choice-sep[b-zr7the5zj0] {
    opacity: 0.55;
}

.material-choice-stock.has-selection .material-choice-selected[b-zr7the5zj0] {
    color: var(--primary-color, #00385e);
    font-weight: 700;
}

/* Die Aufstellung eines Lagers — dieselbe wie ein Artikeleintrag der Umlagerung (TransferSearchPanel): oben das
   Lager, darunter in Spalten Ausgewählt / Bestand, erst insgesamt, dann je Kommission. */
.art-opt[b-zr7the5zj0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
}

.art-name[b-zr7the5zj0] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color, #00385e);
}

.art-name i[b-zr7the5zj0] {
    font-size: 0.9em;
    opacity: 0.75;
}

.art-stock[b-zr7the5zj0] {
    display: grid;
    grid-template-columns: minmax(0, 11rem) minmax(4ch, max-content) auto minmax(4ch, max-content) auto;
    justify-content: start;
    align-items: center;
    column-gap: 4px;
    row-gap: 2px;
    font-size: var(--fs-xs);
    color: var(--color-gray-500, #5c7180);
    font-variant-numeric: tabular-nums;
}

.art-stock-line[b-zr7the5zj0] {
    display: contents;
}

.art-stock-label[b-zr7the5zj0] {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-right: 8px;
}

.art-stock-selected[b-zr7the5zj0],
.art-stock-amount[b-zr7the5zj0] {
    text-align: right;
    white-space: nowrap;
}

.art-stock-sep[b-zr7the5zj0] {
    opacity: 0.55;
}

.art-stock-unit[b-zr7the5zj0] {
    white-space: nowrap;
    padding-left: 2px;
}

.art-stock-total > *[b-zr7the5zj0] {
    font-weight: 600;
}

.has-selection > .art-stock-selected[b-zr7the5zj0] {
    color: var(--primary-color, #00385e);
    font-weight: 700;
}

/* Wie in der Stückauswahl der Umlagerung: gleich groß und fett wie eine Kommission, in der normalen Farbe. */
.material-choice-free[b-zr7the5zj0] {
    font-size: var(--fs-xs);
    font-weight: 600;
}

button.material-choice-opt:disabled[b-zr7the5zj0] {
    cursor: default;
    opacity: 0.45;
}

/* The way out below the list: material that lies in no Lager. */
.material-choice-missing-link[b-zr7the5zj0] {
    margin-top: 10px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.material-choice-missing-link:hover:not(:disabled)[b-zr7the5zj0] {
    color: var(--primary-color);
    text-decoration: underline;
}

.material-choice-missing-link:disabled[b-zr7the5zj0] {
    opacity: 0.5;
    cursor: default;
}
/* /Components/Project/ReportMaterialFieldEditor.razor.rz.scp.css */
.material-editor[b-jf32966cso] {
    display: flex;
    flex-direction: column;
}

.material-hint[b-jf32966cso] {
    color: #7b8189;
    font-size: 0.875rem;
    margin: 0.25rem 0 0.5rem;
}

.material-list[b-jf32966cso] {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Eine Zeile je Artikel: Name samt Quellen (wächst), Menge, Fehlmenge, Entfernen. Die ganze Zeile öffnet das Bearbeiten. */
.material-row[b-jf32966cso] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    cursor: pointer;
}

.material-row:hover[b-jf32966cso] {
    background: color-mix(in srgb, var(--primary-color) 6%, transparent);
}

.material-name[b-jf32966cso] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.material-quantity[b-jf32966cso] {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.material-remove[b-jf32966cso] {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #b0b4ba;
    background: transparent;
    border: 1px solid transparent;
    transition: color 0.15s, background 0.15s;
}

.material-remove:hover[b-jf32966cso] {
    color: var(--accent-red);
    background: color-mix(in srgb, var(--accent-red) 10%, transparent);
}

.material-remove i[b-jf32966cso] {
    font-size: 0.875rem;
}

/* Full-width add button, mirroring the generated collection editor's own add row. */
.material-addrow[b-jf32966cso] {
    display: flex;
    margin-top: 0.5rem;
}

.material-addrow[b-jf32966cso]  .material-add {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    justify-content: center;
    text-align: center;
}

/* Name oben, Quellen klein darunter; beides gibt nach, Menge und Knöpfe daneben nicht. */
.material-main[b-jf32966cso] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.material-sources[b-jf32966cso] {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.6rem;
    padding-left: 1.5rem;
    color: #7b8189;
    font-size: 0.75rem;
}

.material-sourcepart.is-missing[b-jf32966cso] {
    color: color-mix(in srgb, var(--accent-orange) 65%, black);
}

/* Die Fehlmenge. Warnend, aber nicht rot: es ist kein Fehler, sondern ein offener Punkt. */
.material-missing[b-jf32966cso] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent-orange) 55%, transparent);
    background: color-mix(in srgb, var(--accent-orange) 14%, transparent);
    color: color-mix(in srgb, var(--accent-orange) 65%, black);
    font-size: 0.75rem;
    white-space: nowrap;
}

/* Der Name einer Position gibt nach. */
.material-label[b-jf32966cso] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Project/ReportMaterialSplitDialog.razor.rz.scp.css */
/* Eine Zeile je Quelle: links woher und wie viel dort liegt, rechts die Menge, die von dort verbaut wird. */
.split-list[b-py7at4ezzc] {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.split-row[b-py7at4ezzc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.5rem 0;
    border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.split-source[b-py7at4ezzc] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.split-source > i[b-py7at4ezzc] {
    flex: 0 0 auto;
    font-size: 0.9em;
    opacity: 0.75;
}

.split-missing-icon[b-py7at4ezzc] {
    color: color-mix(in srgb, var(--accent-orange) 70%, black);
    opacity: 1 !important;
}

.split-text[b-py7at4ezzc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.split-name[b-py7at4ezzc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.split-row.is-used .split-name[b-py7at4ezzc] {
    font-weight: 600;
}

/* Untereinander: für wen die Ware dort steht (die Kommission ist oft eine lange Kette), darunter wie viel. */
.split-detail[b-py7at4ezzc] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    color: var(--color-gray-500, #5c7180);
    font-size: var(--fs-xs);
}

.split-short[b-py7at4ezzc] {
    color: color-mix(in srgb, var(--accent-orange) 65%, black);
    font-weight: 600;
}

.split-input[b-py7at4ezzc] {
    flex: 0 0 9.5rem;
}

.split-total[b-py7at4ezzc] {
    margin: 0.75rem 0 0;
    text-align: right;
}

/* Wie in der Kommissionswahl der Umlagerung: gleich groß und fett wie eine Kommission, in der normalen Farbe. */
.split-free[b-py7at4ezzc] {
    font-weight: 600;
    color: var(--text-color, #1f2937);
}
/* /Components/Project/ReportTimeFieldEditor.razor.rz.scp.css */
.rt[b-rlfrjffpmv] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.rt-label[b-rlfrjffpmv] {
    font-weight: 500;
}

.rt-empty[b-rlfrjffpmv],
.rt-hint[b-rlfrjffpmv] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.rt-hint[b-rlfrjffpmv] {
    font-size: var(--fs-xs);
}

.rt-stretch[b-rlfrjffpmv] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--surface-line);
    border-radius: 12px;
    background: #fff;
}

.rt-stretch.has-error[b-rlfrjffpmv] {
    border-color: #f1b8a8;
}

.rt-head[b-rlfrjffpmv] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rt-date[b-rlfrjffpmv] {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #cfd8e2;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    color: var(--text-ink);
    background: #fff;
}

.rt-remove[b-rlfrjffpmv] {
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.rt-remove:hover[b-rlfrjffpmv] {
    background: var(--menu-item-hover);
    color: var(--menu-item-danger);
}

.rt-times[b-rlfrjffpmv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rt-field[b-rlfrjffpmv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.rt-sub[b-rlfrjffpmv] {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rt-chips[b-rlfrjffpmv] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rt-chip[b-rlfrjffpmv] {
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid #cfd8e2;
    background: #fff;
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rt-chip:hover[b-rlfrjffpmv] {
    border-color: var(--accent-color);
}

.rt-chip.is-on[b-rlfrjffpmv] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.rt-chip-hint[b-rlfrjffpmv] {
    font-weight: 400;
    color: var(--text-muted);
}

.rt-chip-more[b-rlfrjffpmv] {
    color: var(--accent-color);
    border-style: dashed;
}

.rt-sum[b-rlfrjffpmv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: var(--fs-sm);
}

.rt-sum i[b-rlfrjffpmv] {
    font-size: 1.15rem;
}

.rt-sum.is-error[b-rlfrjffpmv] {
    background: #fdecea;
    color: #8a1c12;
}

.rt-foot[b-rlfrjffpmv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rt-total[b-rlfrjffpmv] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.rt-total strong[b-rlfrjffpmv] {
    color: var(--text-ink);
    font-size: var(--fs-md);
}

@media (max-width: 420px) {
    .rt-times[b-rlfrjffpmv] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Project/ReportWarehouseFilter.razor.rz.scp.css */
/* Dieselbe Gestalt wie die Bestandsfilter der Umlagerung (TransferStockFilters): eine schmale Zeile über der
   Liste, das Select füllt sie. */
.report-warehouse-filter[b-bp6ujag0xb] {
    display: flex;
    margin-bottom: 0.5rem;
}

.report-warehouse-filter[b-bp6ujag0xb]  > * {
    flex: 1 1 auto;
    min-width: 0;
}

.report-warehouse-filter-option[b-bp6ujag0xb] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.report-warehouse-filter-option i[b-bp6ujag0xb] {
    font-size: 0.85em;
    opacity: 0.75;
}
/* /Components/Receipt/GoodsReceiptLinesCard.razor.rz.scp.css */
/* Instanzzeilen entstehen im <tbody> der Table-Komponente, sind aber hier geschrieben — sie tragen deshalb den
   Isolations-Scope dieser Karte, und die Regeln aus Table.razor.css (auf Table gescopt) erreichen sie nie. Die
   Polsterung wird darum hier wiederholt, damit Instanzzellen pixelgenau unter den Artikelzeilen stehen. Die Datei
   lag bis zur Trennung von Lieferung und Einkauf bei DeliveryDetails; dort ist sie mit den Zeilen weggezogen und
   hat den Einkauf ohne Abstände zurückgelassen. */
.instance-row td[b-6z13n5wfs7] {
    padding: 8px;
}

.instance-row td:first-child[b-6z13n5wfs7] {
    padding-left: 15px;
}

.instance-row td:last-child[b-6z13n5wfs7] {
    padding-right: 15px;
}

.instance-row td.main-column[b-6z13n5wfs7] {
    font-weight: 500;
}

.instance-row:hover[b-6z13n5wfs7] {
    background-color: #f1f1f1 !important;
}

/* Der Baustellen-Picker steht hier in einer Tabellenzelle und in der Unterzeile eines Listeneintrags, nicht
   in einem Formularfeld: seine Mindestbreite von 150px sprengt auf dem Telefon die Zeile, in der daneben noch
   Menge und Aktionen stehen. Er darf deshalb schrumpfen und kürzt seinen Text, statt die Zeile zu schieben. */
.commission[b-6z13n5wfs7] {
    min-width: 0;
}

.commission[b-6z13n5wfs7]  .cop-select {
    min-width: 0;
    min-height: 2.4em;
}

/* The commission reads like a label; a click edits the position it belongs to. */
.commission-edit[b-6z13n5wfs7] {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* The price a booked position was paid at — only for people who see prices. */
.receipt-line-price[b-6z13n5wfs7] {
    margin-left: 10px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.receipt-line-price.is-missing[b-6z13n5wfs7] {
    color: #b45309;
}
/* /Components/Receipt/PurchaseArticlePicker.razor.rz.scp.css */
/* The middle under „Einkauf“, in the look of a Lager's stock under „Umlagern“ (WarehouseStockPicker.razor.css). */

.pp[b-bpq9f3ncyh] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* The head scrolls away; the search stays at the top of the list while counting. */
.pp-head[b-bpq9f3ncyh] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 18px;
    background: #fff;
    border-top: 1px solid var(--surface-line, #e3e9ee);
    border-bottom: 1px solid var(--surface-line, #e3e9ee);
}

.pp-search[b-bpq9f3ncyh] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--color-gray-100, #eef3f6);
    color: var(--text-muted, #5c7180);
}

    .pp-search[b-bpq9f3ncyh]  input {
        flex: 1 1 auto;
        min-width: 0;
        height: 42px;
        border: 0;
        background: transparent;
        outline: none;
        font-size: var(--fs-sm);
        color: var(--text-ink, #1d2b36);
    }

.pp-clear[b-bpq9f3ncyh] {
    display: inline-flex;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

/* The scan button in the search field, as in the list head: white chip on the grey field, label from tablet down. */
.pp-scan[b-bpq9f3ncyh] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color, #00385e);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .pp-scan span[b-bpq9f3ncyh] {
        display: none;
    }

@media (max-width: 1024px) {
    .pp-scan[b-bpq9f3ncyh] {
        height: 36px;
        padding: 0 12px;
        background: var(--accent-color, #0d6cac);
        color: #fff;
    }

        .pp-scan span[b-bpq9f3ncyh] {
            display: inline;
        }
}

.pp-empty[b-bpq9f3ncyh] {
    padding: 32px 18px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

.pp-list[b-bpq9f3ncyh] {
    margin: 0;
    padding: 6px 10px;
    list-style: none;
}

.pp-item[b-bpq9f3ncyh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Same box picked or not: the highlight only colours it, nothing moves. */
    margin: 2px 0;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 1px 0 var(--color-gray-100, #eef3f6);
}

    .pp-item.is-picked[b-bpq9f3ncyh] {
        border-color: color-mix(in srgb, var(--accent-green, #1f8a5b) 35%, transparent);
        background: color-mix(in srgb, var(--accent-green, #1f8a5b) 8%, #fff);
        box-shadow: none;
    }

.pp-item-head[b-bpq9f3ncyh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pp-item-icon[b-bpq9f3ncyh] {
    display: inline-flex;
    flex: none;
    --art-thumb-size: 2rem;
    color: var(--primary-color, #00385e);
}

.pp-item-name[b-bpq9f3ncyh] {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: var(--text-ink, #1d2b36);
}

.pp-item-total[b-bpq9f3ncyh] {
    flex: none;
    font-weight: 800;
    color: var(--accent-green, #1f8a5b);
    font-variant-numeric: tabular-nums;
}

.pp-lines[b-bpq9f3ncyh] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-left: 28px;
}

.pp-line[b-bpq9f3ncyh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

/* Whom a line is for: a quiet label that opens the line's dialog. */
.pp-line-label[b-bpq9f3ncyh] {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-left: -8px;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text-muted, #5c7180);
    font: inherit;
    font-size: var(--fs-sm);
    text-align: left;
    cursor: pointer;
}

    .pp-line-label:hover[b-bpq9f3ncyh] {
        background: color-mix(in srgb, var(--accent-green, #1f8a5b) 10%, #fff);
    }

    .pp-line-label > span[b-bpq9f3ncyh] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pp-line-label.is-commission[b-bpq9f3ncyh] {
        color: var(--accent-violet, #8a2889);
        font-weight: 600;
    }

.pp-line-edit[b-bpq9f3ncyh] {
    flex: none;
    font-size: 0.8rem;
    opacity: 0.6;
}

.pp-line-pieces[b-bpq9f3ncyh] {
    flex: none;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink, #1d2b36);
    font-variant-numeric: tabular-nums;
}

.pp-line-add[b-bpq9f3ncyh] {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-left: -8px;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--accent-color, #0d6cac);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 700;
    cursor: pointer;
}

    .pp-line-add:hover[b-bpq9f3ncyh] {
        background: var(--color-gray-100, #eef3f6);
    }

.pp-stepper[b-bpq9f3ncyh] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.pp-step[b-bpq9f3ncyh] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color, #00385e);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease;
}

    .pp-step:hover[b-bpq9f3ncyh] {
        background: var(--color-gray-100, #eef3f6);
    }

    .pp-step[aria-disabled="true"][b-bpq9f3ncyh] {
        opacity: 0.35;
        cursor: default;
        background: #fff;
    }

.pp-step-value[b-bpq9f3ncyh] {
    min-width: 5ch;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted, #5c7180);
}

    .pp-step-value small[b-bpq9f3ncyh] {
        margin-left: 3px;
        font-size: var(--fs-xs);
        font-weight: 500;
    }

    .pp-step-value.has-value[b-bpq9f3ncyh] {
        color: var(--accent-green, #1f8a5b);
        font-weight: 800;
    }

/* Under the results: create what the search did not find. */
.pp-create[b-bpq9f3ncyh] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 10px 20px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: var(--surface-sunken, #f1f5f8);
    color: var(--text-ink, #1d2b36);
    font: inherit;
    font-size: var(--fs-sm);
    text-align: left;
    cursor: pointer;
}

    .pp-create:hover[b-bpq9f3ncyh] {
        background: var(--color-gray-100, #eef3f6);
    }

    .pp-create > i[b-bpq9f3ncyh] {
        flex: none;
        color: var(--accent-color, #0d6cac);
    }

    .pp-create strong[b-bpq9f3ncyh] {
        color: var(--accent-color, #0d6cac);
    }

@container pane (max-width: 560px) {
    .pp-head[b-bpq9f3ncyh] {
        padding: 10px 12px;
    }

    .pp-list[b-bpq9f3ncyh] {
        padding: 4px 6px;
    }

    .pp-item[b-bpq9f3ncyh] {
        padding: 8px 8px;
    }

    .pp-lines[b-bpq9f3ncyh] {
        padding-left: 0;
    }

    .pp-line-label[b-bpq9f3ncyh],
    .pp-line-add[b-bpq9f3ncyh] {
        margin-left: 0;
    }
}
/* /Components/Receipt/PurchaseBookDialog.razor.rz.scp.css */
/* ---- Schritte: dieselbe Tab-Reihe wie in „Umlagerung prüfen“ (TransferBookDialog.razor.css), von dort übernommen ---- */

/* The tab row and, under „Wohin?“, the list's search and chips stay put; only what is below them scrolls (the
   dialog body is the scroller, the title stands above it already). The list head sticks just under the tabs — its
   top is a little less than the row's height, so it slides under the row rather than leave a gap. */
.pb-tabs[b-y6uj8fcctt] {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: stretch;
    margin: 0 0 16px;
    border-bottom: 1px solid var(--surface-line, #e3e9ee);
    background: #fff;
}

.pb-destination[b-y6uj8fcctt]  .wp-head {
    position: sticky;
    top: 44px;
    z-index: 2;
    margin-top: -8px;
    padding-top: 8px;
    padding-bottom: 10px;
    background: #fff;
    box-shadow: 0 1px 0 var(--surface-line, #e3e9ee);
}

.pb-tab[b-y6uj8fcctt] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 12px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    cursor: pointer;
}

    .pb-tab:first-child[b-y6uj8fcctt] {
        padding-left: 0;
    }

    .pb-tab:hover:not(:disabled):not(.active)[b-y6uj8fcctt],
    .pb-tab.active[b-y6uj8fcctt] {
        color: var(--primary-color);
    }

    .pb-tab:disabled[b-y6uj8fcctt] {
        cursor: default;
        opacity: 0.55;
    }

    .pb-tab:focus-visible[b-y6uj8fcctt] {
        outline: none;
        box-shadow: var(--focus-ring);
        border-radius: 10px;
    }

.pb-indicator[b-y6uj8fcctt] {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: var(--accent-color);
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.pb-tab:first-child .pb-indicator[b-y6uj8fcctt] {
    left: 0;
}

.pb-tab.active .pb-indicator[b-y6uj8fcctt] {
    transform: scaleX(1);
    opacity: 1;
}

.pb-arrow[b-y6uj8fcctt] {
    align-self: center;
    font-size: 1rem;
    color: #b4c2cf;
}

.pb-mark[b-y6uj8fcctt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

    .pb-mark i[b-y6uj8fcctt] {
        font-size: 0.85rem;
    }

    .pb-mark.is-done[b-y6uj8fcctt],
    .pb-mark.is-count[b-y6uj8fcctt] {
        background: var(--accent-green);
        color: #fff;
    }

    .pb-mark.is-open[b-y6uj8fcctt] {
        background: var(--neutral-gray, #e6ebef);
        color: var(--text-muted);
    }

.pb-body[b-y6uj8fcctt] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: pb-fade-in-b-y6uj8fcctt 0.18s ease;
}

@keyframes pb-fade-in-b-y6uj8fcctt {
    from {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-body[b-y6uj8fcctt] {
        animation: none;
    }
}

.pb-destination[b-y6uj8fcctt] {
    display: flex;
    flex-direction: column;
    min-height: 50dvh;
}

/* ---- Strecke: Von → Nach ---- */

/* One line: sources → target. Each chip may shrink (its name ellipsises), the arrow never does. */
.pb-route[b-y6uj8fcctt] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
    background: var(--surface-sunken, #f1f5f8);
}

.pb-route-arrow[b-y6uj8fcctt] {
    flex: none;
    color: var(--accent-color);
}

.pb-chip[b-y6uj8fcctt] {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--surface-line, #e3e9ee);
    border-radius: 999px;
    background: #fff;
    color: var(--text-ink);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
}

    .pb-chip > span[b-y6uj8fcctt] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pb-chip > i[b-y6uj8fcctt] {
        flex: none;
    }

    .pb-chip.is-target[b-y6uj8fcctt] {
        border-color: color-mix(in srgb, var(--accent-color) 40%, transparent);
        color: var(--primary-color);
        cursor: pointer;
    }

        .pb-chip.is-target:hover[b-y6uj8fcctt] {
            background: color-mix(in srgb, var(--accent-color) 8%, #fff);
        }

        .pb-chip.is-target.is-invalid[b-y6uj8fcctt] {
            border-color: var(--accent-red);
            color: var(--accent-red);
        }

.pb-chip-edit[b-y6uj8fcctt] {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pb-book-short[b-y6uj8fcctt] {
    display: none;
}

/* Like the page's „Einkauf prüfen“ (PurchaseEntry.razor.css, .pe-book-btn). The wrapper is only there to give
   the scoped rule an element of this component to start from; it takes no box of its own. */
.pb-book[b-y6uj8fcctt] {
    display: contents;
}

.pb-book[b-y6uj8fcctt]  .pb-book-btn {
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.pb-count-tag[b-y6uj8fcctt] {
    background: color-mix(in srgb, currentColor 18%, transparent);
    color: inherit;
}

/* ---- Je Quelle eine Karte ---- */

.pb-group[b-y6uj8fcctt] {
    overflow: hidden;
    border: 1px solid var(--surface-line, #e3e9ee);
    border-radius: 14px;
    background: #fff;
}

.pb-group-head[b-y6uj8fcctt] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface-sunken, #f1f5f8);
}

.pb-group-icon[b-y6uj8fcctt] {
    display: inline-flex;
    color: var(--primary-color);
}

.pb-group-name[b-y6uj8fcctt] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--primary-color);
}

.pb-group-count[b-y6uj8fcctt] {
    flex: none;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.pb-lines[b-y6uj8fcctt] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-line[b-y6uj8fcctt] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 8px 8px 14px;
}

    .pb-line + .pb-line[b-y6uj8fcctt] {
        border-top: 1px solid var(--surface-line, #e3e9ee);
    }

.pb-line-icon[b-y6uj8fcctt] {
    display: inline-flex;
    flex: none;
    color: var(--text-muted);
}

.pb-line-main[b-y6uj8fcctt] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pb-line-name[b-y6uj8fcctt] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-ink);
}

.pb-line-meta[b-y6uj8fcctt] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.pb-line-piece[b-y6uj8fcctt] {
    flex: none;
    min-width: 6ch;
    text-align: center;
    font-weight: 700;
    color: var(--text-ink);
}

.pb-stepper[b-y6uj8fcctt] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.pb-step[b-y6uj8fcctt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 120ms ease;
}

    .pb-step:hover[b-y6uj8fcctt] {
        background: var(--color-gray-100, #eef3f6);
    }

    .pb-step[aria-disabled="true"][b-y6uj8fcctt] {
        opacity: 0.35;
        cursor: default;
        background: #fff;
    }

.pb-step-value[b-y6uj8fcctt] {
    min-width: 6ch;
    text-align: center;
    font-weight: 700;
    color: var(--text-ink);
}

    .pb-step-value small[b-y6uj8fcctt] {
        margin-left: 3px;
        font-size: var(--fs-xs);
        font-weight: 500;
        color: var(--text-muted);
    }

.pb-remove[b-y6uj8fcctt] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--color-gray-400, #8fa1ad);
    cursor: pointer;
}

    .pb-remove:hover[b-y6uj8fcctt] {
        background: color-mix(in srgb, var(--accent-red) 10%, #fff);
        color: var(--accent-red);
    }

.pb-empty[b-y6uj8fcctt] {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ---- Bemerkung, Fehler ---- */

.pb-comment[b-y6uj8fcctt] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-ink);
}

    .pb-comment small[b-y6uj8fcctt] {
        font-weight: 400;
        color: var(--text-muted);
    }

    .pb-comment textarea[b-y6uj8fcctt] {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--surface-line, #e3e9ee);
        border-radius: 12px;
        background: var(--surface-sunken, #f1f5f8);
        font: inherit;
        font-weight: 400;
        resize: vertical;
    }

        .pb-comment textarea:focus[b-y6uj8fcctt] {
            outline: none;
            border-color: var(--accent-color);
            background: #fff;
        }

.pb-error[b-y6uj8fcctt] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-red) 10%, #fff);
    color: var(--accent-red);
    font-size: var(--fs-sm);
}

/* ---- Narrow (phone, or a narrow dialog): every line stays one row — name, stepper, × — and the chrome tightens.
   A container query on the dialog backdrop (pane), like the previews. ---- */

@container pane (max-width: 560px) {
    .pb-tabs[b-y6uj8fcctt] {
        margin-bottom: 12px;
    }

    .pb-destination[b-y6uj8fcctt]  .wp-head {
        top: 38px;
    }

    .pb-tab[b-y6uj8fcctt] {
        padding: 8px 10px 10px;
        font-size: var(--fs-base);
    }

    .pb-body[b-y6uj8fcctt] {
        gap: 10px;
    }

    .pb-route[b-y6uj8fcctt] {
        padding: 6px;
        gap: 6px;
    }

    .pb-chip[b-y6uj8fcctt] {
        padding: 4px 9px;
        font-size: var(--fs-xs);
    }

    .pb-group[b-y6uj8fcctt] {
        border-radius: 12px;
    }

    .pb-group-head[b-y6uj8fcctt] {
        padding: 8px 10px;
    }

    .pb-line[b-y6uj8fcctt] {
        gap: 6px;
        min-height: 48px;
        padding: 6px 4px 6px 10px;
    }

    /* The row's type icon is the same on almost every line; the name needs the room more. */
    .pb-line-icon[b-y6uj8fcctt] {
        display: none;
    }

    .pb-line-name[b-y6uj8fcctt] {
        font-size: var(--fs-sm);
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .pb-stepper[b-y6uj8fcctt] {
        gap: 2px;
    }

    .pb-step[b-y6uj8fcctt],
    .pb-remove[b-y6uj8fcctt] {
        width: 30px;
        height: 30px;
    }

    .pb-step-value[b-y6uj8fcctt] {
        min-width: 4.5ch;
        font-size: var(--fs-sm);
    }

        .pb-step-value small[b-y6uj8fcctt] {
            display: block;
            margin: -2px 0 0;
            line-height: 1;
        }

    .pb-line-piece[b-y6uj8fcctt] {
        min-width: 4ch;
        font-size: var(--fs-sm);
    }

    .pb-comment textarea[b-y6uj8fcctt] {
        padding: 8px 10px;
    }

    .pb-book-long[b-y6uj8fcctt] {
        display: none;
    }

    .pb-book-short[b-y6uj8fcctt] {
        display: inline;
    }
}

/* ---- Einkauf: Beleg und Baustellen ---- */

.pb-group-head > i[b-y6uj8fcctt] {
    flex: none;
    color: var(--primary-color);
}

/* The receipt: number and photo side by side, under each other when narrow. */
.pb-receipt[b-y6uj8fcctt] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.pb-field[b-y6uj8fcctt] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-ink);
}

.pb-photo-btn[b-y6uj8fcctt] {
    height: 42px;
}

.pb-photo[b-y6uj8fcctt] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pb-photo img[b-y6uj8fcctt] {
        width: 42px;
        height: 42px;
        object-fit: cover;
        border-radius: 8px;
    }

    .pb-photo span[b-y6uj8fcctt] {
        font-size: var(--fs-sm);
        font-weight: 400;
        color: var(--text-muted);
    }

@container pane (max-width: 560px) {
    .pb-receipt[b-y6uj8fcctt] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}
/* /Components/Receipt/PurchaseLineDialog.razor.rz.scp.css */
.pl-fields[b-jy30eocvsy] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pl-field[b-jy30eocvsy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Like a generated form's label (FieldRenderer). */
.pl-label[b-jy30eocvsy] {
    font-weight: 500;
}

/* Die Stücke eines instanziierbaren Artikels, eines je Zeile. Die Liste bleibt scrollbar: wer zehn Kisten
   kauft, soll den Fuss des Dialogs trotzdem erreichen. */
.pl-pieces[b-jy30eocvsy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 32vh;
    overflow-y: auto;
}

.pl-error[b-jy30eocvsy] {
    font-size: var(--fs-sm);
    color: var(--accent-red, #c0392b);
}
/* /Components/Receipt/ReceiptBookDialog.razor.rz.scp.css */
/* „Lieferung buchen“ — drawn like „Umlagerung prüfen“ (TransferBookDialog.razor.css). */

.rb-body[b-yq382zrfmq] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---- Wohin ---- */

.rb-route[b-yq382zrfmq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 8px;
    border-radius: 14px;
    background: var(--surface-sunken, #f1f5f8);
}

.rb-chip[b-yq382zrfmq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    font-size: var(--fs-sm);
    font-weight: 700;
}

    .rb-chip > span[b-yq382zrfmq] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.rb-route-note[b-yq382zrfmq] {
    flex: 1 1 16rem;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ---- Je Baustelle eine Karte ---- */

.rb-group[b-yq382zrfmq] {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--surface-line, #e3e9ee);
}

.rb-group-head[b-yq382zrfmq] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface-sunken, #f1f5f8);
    color: var(--primary-color);
}

.rb-group-name[b-yq382zrfmq] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.rb-group-count[b-yq382zrfmq] {
    flex: none;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.rb-lines[b-yq382zrfmq] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rb-line[b-yq382zrfmq] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 14px;
}

    .rb-line + .rb-line[b-yq382zrfmq] {
        box-shadow: inset 0 1px 0 var(--surface-line, #e3e9ee);
    }

.rb-line-icon[b-yq382zrfmq] {
    display: inline-flex;
    flex: none;
    color: var(--text-muted);
}

.rb-line-main[b-yq382zrfmq] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rb-line-name[b-yq382zrfmq] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-ink);
}

.rb-line-meta[b-yq382zrfmq] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.rb-line-quantity[b-yq382zrfmq] {
    flex: none;
    min-width: 6ch;
    text-align: right;
    font-weight: 700;
    color: var(--text-ink);
    font-variant-numeric: tabular-nums;
}

    .rb-line-quantity small[b-yq382zrfmq] {
        margin-left: 3px;
        font-size: var(--fs-xs);
        font-weight: 500;
        color: var(--text-muted);
    }

/* ---- Plätze, Kommentar ---- */

.rb-section[b-yq382zrfmq] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rb-section-title[b-yq382zrfmq] {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink);
}

.rb-comment[b-yq382zrfmq] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink);
}

    .rb-comment small[b-yq382zrfmq] {
        font-weight: 400;
        color: var(--text-muted);
    }

    .rb-comment textarea[b-yq382zrfmq] {
        width: 100%;
        padding: 10px 12px;
        border: 0;
        border-radius: 12px;
        background: var(--surface-sunken, #f1f5f8);
        font: inherit;
        font-weight: 400;
        resize: vertical;
    }

        .rb-comment textarea:focus[b-yq382zrfmq] {
            outline: none;
            background: #fff;
            box-shadow: var(--focus-ring);
        }

@container pane (max-width: 560px) {
    .rb-body[b-yq382zrfmq] {
        gap: 10px;
    }

    .rb-group-head[b-yq382zrfmq] {
        padding: 8px 10px;
    }

    .rb-line[b-yq382zrfmq] {
        min-height: 46px;
        padding: 6px 10px;
    }

    .rb-line-icon[b-yq382zrfmq] {
        display: none;
    }

    .rb-line-name[b-yq382zrfmq] {
        font-size: var(--fs-sm);
    }
}
/* /Components/Receipt/ReceiptCaptureDialog.razor.rz.scp.css */
/* Paper left, positions right; on a phone one above the other, the paper first and shorter. */
.rc-root[b-fv0m24bz7z] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    width: min(1280px, 92dvw);
    /* Leaves the dialog's title and footer room within its 85dvh. */
    height: min(68dvh, 900px);
}

.rc-paper[b-fv0m24bz7z] {
    min-height: 0;
    border-radius: 12px;
    background: var(--surface-sunken);
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.rc-image[b-fv0m24bz7z] {
    max-width: 100%;
    height: auto;
}

.rc-pdf[b-fv0m24bz7z] {
    width: 100%;
    height: 100%;
    border: 0;
}

.rc-empty[b-fv0m24bz7z] {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
}

.rc-empty > i[b-fv0m24bz7z] {
    font-size: 2rem;
}

.rc-lines[b-fv0m24bz7z] {
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1023.98px) {
    .rc-root[b-fv0m24bz7z] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 40dvh auto;
        height: auto;
    }
}

/* Recognised positions: suggestions with a tick each; what matched no quantity article is shown greyed. */
.rc-recognize[b-fv0m24bz7z] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rc-hint[b-fv0m24bz7z] {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.rc-found[b-fv0m24bz7z] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 30vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rc-found label[b-fv0m24bz7z] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--surface-sunken);
    font-size: var(--fs-sm);
    cursor: pointer;
}

.rc-found li.is-off label[b-fv0m24bz7z] {
    opacity: 0.6;
    cursor: default;
}

.rc-found-text small[b-fv0m24bz7z] {
    display: block;
    color: var(--text-muted);
}

.rc-found-actions[b-fv0m24bz7z] {
    display: flex;
    gap: 6px;
}
/* /Components/Receipt/ReceiptDocumentField.razor.rz.scp.css */
.rd-field[b-vg4f8915w3] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.rd-list[b-vg4f8915w3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rd-item[b-vg4f8915w3] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Das Symbol öffnet die Ansicht — der Name daneben ist ein Textfeld und damit selbst kein Klickziel mehr. */
.rd-item-open[b-vg4f8915w3] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: var(--border-radius, 10px);
    background: #eef3f8;
    color: var(--primary-color, #00385e);
    cursor: pointer;
    transition: background 0.2s;
}

    .rd-item-open:hover[b-vg4f8915w3] {
        background: #e2ebf4;
    }

.rd-item-name[b-vg4f8915w3] {
    flex: 1 1 auto;
    min-width: 0;
}

.rd-item-meta[b-vg4f8915w3] {
    flex: 0 0 auto;
    min-width: 5.5rem;
    font-size: var(--fs-sm);
    color: var(--color-gray-400, #9ca3af);
    text-align: right;
}

.rd-item-remove[b-vg4f8915w3] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--color-gray-500, #5c7180);
    cursor: pointer;
}

    .rd-item-remove:hover[b-vg4f8915w3] {
        background: #e2ebf4;
        color: var(--color-gray-700, #374151);
    }

/* Bestehende Zeilen haben kein ×; derselbe Platz hält die Spalten bündig. */
.rd-item:not(.is-staged)[b-vg4f8915w3]::after {
    content: "";
    flex: 0 0 2rem;
}

.rd-actions[b-vg4f8915w3] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hinter „… hinzufügen“: derselbe Ton, nur als Symbol. */
.rd-camera[b-vg4f8915w3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius, 10px);
    background: #eef3f8;
    color: var(--primary-color, #00385e);
    cursor: pointer;
    transition: background 0.2s;
}

    .rd-camera:hover:not(:disabled)[b-vg4f8915w3] {
        background: #e2ebf4;
    }

    .rd-camera:disabled[b-vg4f8915w3] {
        cursor: default;
        color: var(--color-gray-500, #5c7180);
    }

/* Das Label ist die Schaltfläche: ein <input type="file"> lässt sich nicht gestalten, ein Label darüber
   schon — und es löst den Dateidialog von selbst aus, ohne JavaScript dazwischen. */
.rd-button[b-vg4f8915w3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--border-radius, 10px);
    background: #eef3f8;
    border: 1px solid transparent;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-color, #00385e);
    cursor: pointer;
    transition: background 0.2s;
}

    .rd-button:hover:not(.is-busy)[b-vg4f8915w3] {
        background: #e2ebf4;
    }

    .rd-button.is-busy[b-vg4f8915w3] {
        cursor: default;
        color: var(--color-gray-500, #5c7180);
    }

    .rd-button[b-vg4f8915w3]  input[type="file"] {
        display: none;
    }
/* /Components/Scanner/CameraCaptureDialog.razor.rz.scp.css */
/* Der Auslöser: unten in der Mitte, über dem Bild, wie man ihn von jeder Kamera kennt. */
.capture-bar[b-csnc546zrs] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    z-index: 40;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.capture-shutter[b-csnc546zrs] {
    pointer-events: auto;
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    padding: 0;
    border: 4px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.25);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 120ms ease, opacity 150ms ease;
}

    .capture-shutter:active:not(:disabled)[b-csnc546zrs] {
        transform: scale(0.92);
    }

    .capture-shutter:disabled[b-csnc546zrs] {
        opacity: 0.45;
        cursor: default;
    }

.capture-shutter-core[b-csnc546zrs] {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 999px;
    background: #ffffff;
}
/* /Components/Scanner/CameraSurface.razor.rz.scp.css */
.camera-surface[b-v5wuecxrvf] {
    --scanner-accent: color-mix(in srgb, var(--primary-color) 82%, white);
    --scanner-accent-soft: color-mix(in srgb, var(--primary-color) 20%, white);
    --scanner-overlay: color-mix(in srgb, #0b1220 22%, transparent);
    display: flex;
    flex-direction: column;
}

.camera-surface.compact[b-v5wuecxrvf] {
    width: 100%;
    height: 100%;
}

.scanner-shell[b-v5wuecxrvf] {
    position: relative;
    border-radius: calc(var(--border-radius) + 6px);
    background:
        radial-gradient(130% 100% at 100% 0%, color-mix(in srgb, var(--scanner-accent-soft) 85%, rgba(255, 255, 255, 0.5)) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff79 0%, #f8fafc79 100%);
    box-shadow:
        var(--box-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.camera-surface.compact .scanner-shell[b-v5wuecxrvf] {
    width: 100%;
    height: 100%;
}

.scanner-surface[b-v5wuecxrvf] {
    position: relative;
    overflow: hidden;
    /* Overlays (the scanner's guide frame) are sized against this surface, not the window: a camera in a dialog,
       a split pane or the compact variant is far narrower than the viewport, and a frame measured in vw overran it. */
    container-type: inline-size;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-surface.compact .scanner-surface[b-v5wuecxrvf] {
    height: 100%;
    min-height: 100%;
}

/* Dark until the first frame arrives, so the overlays read the same before and after. */
.scanner-video[b-v5wuecxrvf] {
    display: block;
    width: 100%;
    min-height: 420px;
    max-height: 62svh;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    background: #0b1220;
}

.scanner-video:not(.full-width)[b-v5wuecxrvf] {
    width: auto;
    max-width: 100%;
}

.camera-surface.compact .scanner-video[b-v5wuecxrvf] {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
}

/* FitToCamera: so groß, wie ein Dialog darf (90dvw × 85dvh), im Seitenverhältnis der Kamera — und das Bild ganz,
   nicht beschnitten. Vor dem ersten Bild 4:3, bis die Kamera ihr echtes Format meldet. */
.camera-surface.fit[b-v5wuecxrvf] {
    /* 2px: der Rand der Schale, damit sie die 85dvh nicht um ihn überragt. */
    width: min(90dvw, calc((85dvh - 2px) * var(--camera-ratio, 1.3333)));
    max-width: 100%;
}

.camera-surface.fit .scanner-surface[b-v5wuecxrvf] {
    min-height: 0;
    aspect-ratio: var(--camera-aspect, 4 / 3);
}

.camera-surface.fit .scanner-video[b-v5wuecxrvf] {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: contain;
}

.scanner-loading-overlay[b-v5wuecxrvf] {
    position: absolute;
    inset: 0;
    z-index: 35;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.65rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.78) 100%);
    color: #f8fafc;
}

.scanner-loading-spinner[b-v5wuecxrvf] {
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* Camera problems are shown where the camera would be, not as a toast: the surface is on screen anyway, and a
   message that stays until it is resolved is easier to act on than one that disappears. The bottom padding keeps
   the text clear of what sits on the lower edge (the code entry, the shutter). */
.scanner-message-overlay[b-v5wuecxrvf] {
    position: absolute;
    inset: 0;
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.25rem 1.25rem 4rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.9) 100%);
    color: #f8fafc;
    text-align: center;
}

.scanner-message-icon[b-v5wuecxrvf] {
    font-size: 1.6rem;
    opacity: 0.85;
}

.scanner-message-text[b-v5wuecxrvf] {
    max-width: 22rem;
    font-size: var(--fs-sm);
    line-height: 1.4;
}

.scanner-message-hint[b-v5wuecxrvf] {
    max-width: 22rem;
    font-size: var(--fs-xs);
    opacity: 0.8;
}

.scanner-message-action[b-v5wuecxrvf] {
    margin-top: 0.25rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: transparent;
    color: #f8fafc;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.scanner-controls[b-v5wuecxrvf] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

[b-v5wuecxrvf] .scanner-control-btn {
    width: 2.1rem;
    height: 2.1rem;
    color: #f8fafc;
    backdrop-filter: blur(2px);
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

[b-v5wuecxrvf] .scanner-control-btn.active {
    color: var(--accent-color);
}

[b-v5wuecxrvf] .scanner-control-btn.zoom-btn {
    width: auto;
    min-width: 2.1rem;
    padding: 0 0.4rem;
    font-size: var(--fs-xs);
    font-weight: 700;
}

.camera-dots[b-v5wuecxrvf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 2px;
}

.camera-dot[b-v5wuecxrvf] {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    display: inline-block;
}

.camera-dot.is-active[b-v5wuecxrvf] {
    background: var(--accent-color);
}
/* /Components/Scanner/CodeScanner.razor.rz.scp.css */
/* Camera, video, camera errors and camera controls live in CameraSurface.razor.css; this file holds what the scanner
   lays over the camera: the pause card, the guide frame and the code entry. */
.code-scanner[b-w1o7bi60hq] {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.code-scanner.compact[b-w1o7bi60hq] {
    width: min(70vw, 320px);
    height: min(70vw, 320px);
}

.scanner-pause-overlay[b-w1o7bi60hq] {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: none;
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    cursor: pointer;
}

.scanner-pause-card[b-w1o7bi60hq] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.35);
    text-align: center;
}

.scanner-pause-title[b-w1o7bi60hq] {
    font-size: var(--fs-sm);
    font-weight: 600;
}

.scanner-pause-hint[b-w1o7bi60hq] {
    font-size: var(--fs-xs);
    opacity: 0.9;
}

.scanner-overlay[b-w1o7bi60hq] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, var(--scanner-overlay) 100%);
}

.guide-frame[b-w1o7bi60hq] {
    position: relative;
    width: min(70cqi, 320px);
    aspect-ratio: 1;
    border-radius: 1.1rem;
    border: 2px solid color-mix(in srgb, var(--scanner-accent) 55%, white);
    box-shadow:
        0 0 0 200vmax rgba(10, 18, 32, 0.17),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset,
        0 14px 40px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.guide-frame.scan-hit[b-w1o7bi60hq] {
    animation: scanner-hit-b-w1o7bi60hq 700ms ease;
}

.guide-corner[b-w1o7bi60hq] {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: #ffffff;
    border-style: solid;
    border-width: 0;
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.5));
    transition: border-color 220ms ease, translate 220ms ease;
}

.guide-corner.scan-hit[b-w1o7bi60hq] {
    color: var(--accent-color);
}

.guide-corner.tl[b-w1o7bi60hq] {
    top: 0.55rem;
    left: 0.55rem;
    border-top-width: 4px;
    border-left-width: 4px;
    border-radius: 0.4rem 0 0 0;
}
.guide-corner.tl.scan-hit[b-w1o7bi60hq] {
    translate: 0.5rem 0.5rem;
}

.guide-corner.tr[b-w1o7bi60hq] {
    top: 0.55rem;
    right: 0.55rem;
    border-top-width: 4px;
    border-right-width: 4px;
    border-radius: 0 0.4rem 0 0;
}
.guide-corner.tr.scan-hit[b-w1o7bi60hq] {
    translate: -0.5rem 0.5rem;
}

.guide-corner.bl[b-w1o7bi60hq] {
    bottom: 0.55rem;
    left: 0.55rem;
    border-bottom-width: 4px;
    border-left-width: 4px;
    border-radius: 0 0 0 0.4rem;
}
.guide-corner.bl.scan-hit[b-w1o7bi60hq] {
    translate: 0.5rem -0.5rem;
}

.guide-corner.br[b-w1o7bi60hq] {
    bottom: 0.55rem;
    right: 0.55rem;
    border-bottom-width: 4px;
    border-right-width: 4px;
    border-radius: 0 0 0.4rem 0;
}
.guide-corner.br.scan-hit[b-w1o7bi60hq] {
    translate: -0.5rem -0.5rem;
}

/* Manual code entry: a chip on the lower edge that opens into a field. Above every overlay, so it stays usable
   while the camera starts, is paused or has failed. */
.scanner-manual[b-w1o7bi60hq] {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    z-index: 40;
    display: flex;
    justify-content: center;
    max-width: calc(100% - 1.5rem);
    transform: translateX(-50%);
}

.scanner-manual.open[b-w1o7bi60hq] {
    width: calc(100% - 1.5rem);
}

.scanner-manual-chip[b-w1o7bi60hq] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: #f8fafc;
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.scanner-manual-form[b-w1o7bi60hq] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* 16px is the size below which Safari on iOS zooms the page when the field receives focus. */
.scanner-manual-input[b-w1o7bi60hq] {
    flex: 1 1 auto;
    min-width: 0;
    height: 2.1rem;
    padding: 0 0.8rem;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 16px;
}

.scanner-manual-submit[b-w1o7bi60hq],
.scanner-manual-close[b-w1o7bi60hq] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.scanner-manual-submit[b-w1o7bi60hq] {
    background: var(--primary-color);
    color: #ffffff;
}

.scanner-manual-submit:disabled[b-w1o7bi60hq] {
    opacity: 0.5;
    cursor: default;
}

.scanner-manual-close[b-w1o7bi60hq] {
    background: transparent;
    color: #f8fafc;
}

/* The copy below the camera: hidden until the desktop width, where it replaces the chip on the picture. It stands
   on the page ground, so it is drawn light — a full button, not a translucent chip. */
.scanner-manual.below-camera[b-w1o7bi60hq] {
    position: static;
    display: none;
    align-self: center;
    max-width: 100%;
    transform: none;
}

.scanner-manual.below-camera.open[b-w1o7bi60hq] {
    width: min(100%, 30rem);
}

.scanner-manual.below-camera .scanner-manual-chip[b-w1o7bi60hq] {
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.65rem 1.5rem;
    border: none;
    background: var(--primary-color);
    color: #ffffff;
    font-size: var(--fs-base);
    box-shadow: var(--surface-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: background-color 150ms ease;
}

.scanner-manual.below-camera .scanner-manual-chip:hover[b-w1o7bi60hq] {
    background: color-mix(in srgb, var(--primary-color) 85%, white);
}

.scanner-manual.below-camera .scanner-manual-chip i[b-w1o7bi60hq] {
    font-size: 1.15rem;
}

.scanner-manual.below-camera .scanner-manual-form[b-w1o7bi60hq] {
    padding: 0.35rem;
    border: 1px solid #d5dde6;
    background: #ffffff;
    box-shadow: var(--surface-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.scanner-manual.below-camera .scanner-manual-input[b-w1o7bi60hq] {
    height: 2.4rem;
    color: var(--text-ink);
}

/* The pill marks focus, not the field inside it. */
.scanner-manual.below-camera .scanner-manual-input:focus[b-w1o7bi60hq] {
    outline: none;
}

.scanner-manual.below-camera .scanner-manual-form:focus-within[b-w1o7bi60hq] {
    border-color: var(--primary-color);
}

.scanner-manual.below-camera .scanner-manual-submit[b-w1o7bi60hq],
.scanner-manual.below-camera .scanner-manual-close[b-w1o7bi60hq] {
    width: 2.4rem;
    height: 2.4rem;
}

.scanner-manual.below-camera .scanner-manual-close[b-w1o7bi60hq] {
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .scanner-manual.below-camera[b-w1o7bi60hq] {
        display: flex;
    }

    .code-scanner:not(.compact) .scanner-manual.on-camera[b-w1o7bi60hq] {
        display: none;
    }
}

@keyframes scanner-hit-b-w1o7bi60hq {
    0% {
        box-shadow: var(--box-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        transform: scale(1);
    }
    30% {
        box-shadow: 0 0 0 3px var(--color-accent), var(--box-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        transform: scale(1.1);
    }
    100% {
        box-shadow: var(--box-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        transform: scale(1);
    }
}

@media (max-width: 640px) {
    .code-scanner.compact[b-w1o7bi60hq] {
        width: min(78vw, 300px);
        height: min(78vw, 300px);
    }

    .guide-frame[b-w1o7bi60hq] {
        width: min(78cqi, 300px);
    }

}
/* /Components/Scanner/EntityScannerDialogContent.razor.rz.scp.css */
.scanner-dialog-content[b-sij4opsbff] {
    display: grid;
    gap: 0.75rem;
}

.scanner-dialog-error[b-sij4opsbff] {
    color: var(--accent-red);
    font-size: var(--fs-sm);
}

.scanner-dialog-actions[b-sij4opsbff] {
    display: flex;
    justify-content: flex-end;
}
/* /Components/Scanner/EntityScanResultDialog.razor.rz.scp.css */
.entity-scan-dialog[b-ou12u3sv37] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

/* The dialog already pads its body; the head starts flush with it. */
.entity-scan-dialog__head[b-ou12u3sv37] {
    padding: 0 0 0.25rem;
}

.entity-scan-dialog__body[b-ou12u3sv37] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.entity-scan-dialog__where h3[b-ou12u3sv37] {
    margin: 0.75rem 0 0.25rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-muted);
}
/* /Components/Scanner/ScanCandidateSelectionDialog.razor.rz.scp.css */
/* One candidate after the other, separated by a hairline like the entries of a form list — no card of their own,
   so they keep the dialog's edges. */
.candidate + .candidate[b-nuzrlqsjqf] {
    border-top: 1px solid #e8edf2;
    padding-top: 1rem;
}
/* /Components/Scanner/UnknownArticleResolutionDialog.razor.rz.scp.css */
.unknown-code-dialog[b-mug46gh8zb] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.unknown-code[b-mug46gh8zb] {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: var(--text-ink);
    font-family: ui-monospace, monospace;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.unknown-code-text[b-mug46gh8zb],
.unknown-code-confirm[b-mug46gh8zb] {
    margin: 0;
    color: var(--text-ink);
    font-size: var(--fs-sm);
}

.unknown-code-hint[b-mug46gh8zb] {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

[b-mug46gh8zb] .unknown-code-scan {
    align-self: stretch;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

.unknown-code-divider[b-mug46gh8zb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.unknown-code-divider[b-mug46gh8zb]::before,
.unknown-code-divider[b-mug46gh8zb]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e9ef;
}
/* /Components/Settings/AiSettingsSection.razor.rz.scp.css */
.ai-settings[b-dsvrqohywc] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-facts[b-dsvrqohywc] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
    margin: 0;
    font-size: 0.875rem;
}

.ai-facts dt[b-dsvrqohywc] {
    color: var(--text-muted);
}

.ai-facts dd[b-dsvrqohywc] {
    margin: 0;
    overflow-wrap: anywhere;
}

.ai-dot[b-dsvrqohywc] {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: #9aa8b5;
}

.ai-dot.ok[b-dsvrqohywc] {
    background: #16a34a;
}

.ai-state[b-dsvrqohywc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    font-size: 0.875rem;
}

.ai-state.ok[b-dsvrqohywc] {
    color: #15803d;
}

.ai-state.off[b-dsvrqohywc] {
    color: #b45309;
}

.ai-switch[b-dsvrqohywc] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ai-switch .form-hint[b-dsvrqohywc] {
    display: block;
}

.ai-link[b-dsvrqohywc] {
    display: block;
    margin-top: 0.25rem;
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
/* /Components/Settings/ApiTokenCreatedDialog.razor.rz.scp.css */
.api-token[b-ta1pw8fovw] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-token-step[b-ta1pw8fovw] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.api-token-step h4[b-ta1pw8fovw] {
    font-weight: 600;
}

.api-token-block[b-ta1pw8fovw] {
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-all;
    user-select: text;
}

/* Feedback set by wwwroot/js/copy-to-clipboard.js. */
.api-token-copy[b-ta1pw8fovw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.api-token-copy[b-ta1pw8fovw]::after {
    font-size: var(--fs-sm);
}

.api-token-copy.copied[b-ta1pw8fovw]::after {
    content: "Kopiert";
    color: #15803d;
}

.api-token-copy.copy-failed[b-ta1pw8fovw]::after {
    content: "Kopieren nicht möglich — bitte markieren und von Hand kopieren";
    color: #b45309;
}

.api-token-hint[b-ta1pw8fovw] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
/* /Components/Settings/ApiTokenSettingsSection.razor.rz.scp.css */
.api-settings[b-ht8rdnbywu] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-intro[b-ht8rdnbywu] {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.api-intro code[b-ht8rdnbywu] {
    overflow-wrap: anywhere;
}

.api-empty[b-ht8rdnbywu] {
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.api-list[b-ht8rdnbywu] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.api-row[b-ht8rdnbywu] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.25rem;
}

/* Rows are told apart by a tint, not by lines. */
.api-row:nth-child(even)[b-ht8rdnbywu] {
    background: var(--page-ground);
}

.api-row.is-off[b-ht8rdnbywu] {
    color: var(--text-muted);
}

.api-row-icon[b-ht8rdnbywu] {
    color: var(--text-muted);
}

.api-row-main[b-ht8rdnbywu] {
    flex: 1 1 auto;
    min-width: 0;
}

.api-row-title[b-ht8rdnbywu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.api-row-meta[b-ht8rdnbywu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.85rem;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.api-chip[b-ht8rdnbywu] {
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 500;
}

.api-chip.active[b-ht8rdnbywu] {
    background: #dcfce7;
    color: #15803d;
}

.api-chip.expired[b-ht8rdnbywu],
.api-chip.revoked[b-ht8rdnbywu] {
    background: #f1f5f9;
    color: #64748b;
}
/* /Components/Settings/AttributeSettingsSection.razor.rz.scp.css */
.attr-lead[b-b5uzj68mfz] {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.45;
}

.attr-actions[b-b5uzj68mfz] {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.attr-empty[b-b5uzj68mfz] {
    margin: 0;
    color: var(--text-muted);
}

.attr-list[b-b5uzj68mfz] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.attr-list > li[b-b5uzj68mfz] {
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--surface-sunken);
}

.attr-head[b-b5uzj68mfz] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.attr-name[b-b5uzj68mfz] {
    font-weight: 700;
}

.attr-unit[b-b5uzj68mfz],
.attr-closed[b-b5uzj68mfz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #fff;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.attr-uses[b-b5uzj68mfz] {
    flex: 1;
    min-width: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attr-row-actions[b-b5uzj68mfz] {
    display: inline-flex;
    gap: 2px;
}

.attr-row-actions button[b-b5uzj68mfz] {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
}

.attr-row-actions button:hover:not(:disabled)[b-b5uzj68mfz] {
    background: #fff;
    color: var(--accent-color);
}

.attr-row-actions button:disabled[b-b5uzj68mfz] {
    opacity: 0.35;
    cursor: default;
}

.attr-values[b-b5uzj68mfz] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.attr-value[b-b5uzj68mfz],
.attr-more[b-b5uzj68mfz] {
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff;
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
}

.attr-more[b-b5uzj68mfz] {
    color: var(--text-muted);
}
/* /Components/Settings/BillingSettingsSection.razor.rz.scp.css */
.billing-settings[b-ayhgm194fz] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.billing-intro[b-ayhgm194fz] {
    margin: 0 0 1rem;
}

.billing-link[b-ayhgm194fz] {
    display: inline;
    margin-left: 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--primary-color);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.billing-link:disabled[b-ayhgm194fz] {
    color: var(--text-muted);
    cursor: default;
}

.billing-switch[b-ayhgm194fz] {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.billing-switch > span[b-ayhgm194fz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
/* /Components/Settings/CatalogSettingsSection.razor.rz.scp.css */
.cat-actions[b-r8fw3xa9zx] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.cat-empty[b-r8fw3xa9zx] {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.cat-tree[b-r8fw3xa9zx] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-tree li[b-r8fw3xa9zx] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px calc(8px + var(--depth) * 22px);
    border-bottom: 1px solid #eef0f3;
}

.cat-tree li > i[b-r8fw3xa9zx] {
    color: var(--text-muted);
}

.cat-name[b-r8fw3xa9zx] {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: var(--text-ink);
}

.cat-count[b-r8fw3xa9zx] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.cat-row-actions[b-r8fw3xa9zx] {
    display: flex;
    gap: 2px;
}

.cat-row-actions button[b-r8fw3xa9zx] {
    border: 0;
    background: none;
    padding: 4px 6px;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.cat-row-actions button:hover[b-r8fw3xa9zx] {
    background: var(--surface-sunken);
    color: var(--primary-color);
}

.cat-tree li[b-r8fw3xa9zx]  .cat-thumb {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 7px;
    font-size: 0.6rem;
}

.cat-tree li[b-r8fw3xa9zx]  .cat-thumb.empty {
    background: none;
}
/* /Components/Settings/LabelSettingsSection.razor.rz.scp.css */
.label-settings[b-r3kxisj2us] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.label-settings-intro[b-r3kxisj2us] {
    padding: 1rem 1rem 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #555);
    line-height: 1.5;
}

.label-settings-footer[b-r3kxisj2us] {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color, #eee);
}

.label-settings-link[b-r3kxisj2us] {
    display: block;
    margin-top: 0.25rem;
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

[b-r3kxisj2us] .label-settings-number {
    max-width: 8rem;
}

.gateway-dot[b-r3kxisj2us] {
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #cbd5e1;
}

.gateway-dot.online[b-r3kxisj2us] {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.gateway-dot.offline[b-r3kxisj2us] {
    background: #ef4444;
}

.label-settings-summary[b-r3kxisj2us] {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}
/* /Components/Settings/LegalSettingsSection.razor.rz.scp.css */
.legal-settings-body[b-g3fp1ddgl5] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
}

.legal-settings-intro[b-g3fp1ddgl5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}

.legal-settings-intro .form-hint[b-g3fp1ddgl5] {
    margin: 0;
    max-width: 62ch;
}

.legal-settings-open[b-g3fp1ddgl5] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-color);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
}

.legal-settings-open:hover[b-g3fp1ddgl5] {
    text-decoration: underline;
}

.legal-settings-footer[b-g3fp1ddgl5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
}

@media (max-width: 640px) {
    .legal-settings-intro[b-g3fp1ddgl5] {
        flex-direction: column;
    }
}
/* /Components/Settings/TerminalSettingsSection.razor.rz.scp.css */
.terminal-settings[b-louse67gx1] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.terminal-settings-footer[b-louse67gx1] {
    padding: 0.75rem 1rem 1rem;
}

.terminal-dot[b-louse67gx1] {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #cbd5e1;
}

.terminal-dot.online[b-louse67gx1] {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}
/* /Components/Settings/TrackingSettings.razor.rz.scp.css */
.tracking-settings-warning[b-vqjvofjugj] {
    margin: 0;
    padding: .6rem .8rem;
    border-radius: var(--border-radius);
    background: #fef3c7;
    color: #92400e;
    font-size: var(--fs-sm, .875rem);
}

.tracking-settings-values[b-vqjvofjugj] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .35rem 1rem;
    margin: 0;
    font-size: var(--fs-sm, .875rem);
}

.tracking-settings-values dt[b-vqjvofjugj] {
    color: #6b7280;
}

.tracking-settings-values dd[b-vqjvofjugj] {
    margin: 0;
}

.tracking-settings-link[b-vqjvofjugj] {
    display: block;
    margin-top: 0.25rem;
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
/* /Components/Settings/TrafficSettingsSection.razor.rz.scp.css */
.traffic-settings[b-5apfj8jj7c] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.traffic-facts[b-5apfj8jj7c] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
    margin: 0;
    font-size: 0.875rem;
}

.traffic-facts dt[b-5apfj8jj7c] {
    color: var(--text-muted);
}

.traffic-facts dd[b-5apfj8jj7c] {
    margin: 0;
    overflow-wrap: anywhere;
}

.traffic-error[b-5apfj8jj7c] {
    color: #b45309;
}

.traffic-state[b-5apfj8jj7c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
}

.traffic-state.ok[b-5apfj8jj7c] {
    color: #15803d;
}

.traffic-state.off[b-5apfj8jj7c] {
    color: #b45309;
}

.traffic-hours[b-5apfj8jj7c] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.traffic-hours input[b-5apfj8jj7c] {
    max-width: 9rem;
}

.traffic-link[b-5apfj8jj7c] {
    display: block;
    margin-top: 0.25rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary-color, #3b82f6);
    font: inherit;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}
/* /Components/Settings/UserSettingsSection.razor.rz.scp.css */
.user-add[b-cyxbn76afn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.user-add i[b-cyxbn76afn] {
    color: #fff;
}
/* /Components/Shared/Action/ActionButtons.razor.rz.scp.css */
/* Buttons of one row share its height through align-items: stretch — not through height: stretch /
   -webkit-fill-available on the buttons. WebKit without `stretch` support (iPad Safari) resolves
   -webkit-fill-available against the viewport when the container has no definite height, and every
   header action grew to nearly screen height, dragging the whole header tile with it. */
.action-buttons[b-fasrc9wyri] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem;
}

.action-buttons[b-fasrc9wyri]  > * {
    flex-grow: 1;
}
/* /Components/Shared/Action/ActionGroup.razor.rz.scp.css */
/* The strip itself: chips + dots retracted, the full action row expanded. The items are rendered by
   the hosts (the Items template) or by ActionGroupButton, i.e. under a different CSS scope — hence
   ::deep on everything below the container.

   Three hosting surfaces: the default light bar, .on-accent (inside the table's accent header) and
   .floating (positioned against its host cell instead of taking part in its layout). */
.action-group[b-065f1vm4rj] {
    --action-group-size: 26px;
    --action-group-gap: 4px;
    display: inline-flex;
    align-items: center;
}

/* A finger needs more than a mouse: on touch screens and narrow windows the chips grow towards the 44px a tap
   wants. The strip retracts behind its ⋯ sooner for it, which is the strip's own job. */
@media (max-width: 1024px), (pointer: coarse) {
    .action-group[b-065f1vm4rj] {
        --action-group-size: 36px;
        --action-group-gap: 6px;
    }
}

/* A bar of its own rather than a table row's density (the documents toolbar): as high as the preview head's buttons. */
.action-group.comfortable[b-065f1vm4rj] {
    --action-group-size: 36px;
    --action-group-gap: 0.4rem;
}

/* In the table header the strip is always absolutely positioned (not only while expanded), so growing
   it overlays the neighboring header cells instead of widening the sticky actions cell — and the
   expand animation never has to cross a positioning switch. The hosting th is the ancestor.

   The offset puts the ⋯ on the same vertical axis as each row's ⋮ action menu: that icon's centre sits
   15px (last cell's padding) + 0.7rem (action menu padding) + 6px (half its 0.75rem hit area) = 32.2px
   from the cell's right edge, and the strip adds its own 5px inner padding + half its 26px button.
   Hosts that seat the strip differently retune it through the variable. */
.action-group.floating[b-065f1vm4rj] {
    position: absolute;
    top: 50%;
    right: var(--action-group-inset, 14.2px);
    transform: translateY(-50%);
    z-index: 4;
}

/* Fixed padding and min-height in both states: only the background changes when expanding, so the
   hosting row keeps its height and nothing below it shifts. */
.action-group-items[b-065f1vm4rj] {
    display: inline-flex;
    align-items: center;
    gap: var(--action-group-gap);
    white-space: nowrap;
    min-height: 32px;
    padding: 3px 5px;
    border-radius: 999px;
    background: transparent;
    transition: background 160ms ease, box-shadow 160ms ease;
}

/* Expanded, the floating strip covers what passes beneath it, so it needs an opaque backing. */
.floating.expanded .action-group-items[b-065f1vm4rj] {
    background: var(--accent-color);
    box-shadow: 0 2px 10px rgba(15, 42, 64, 0.25);
}

/* Open because it fits rather than because the user pulled it open: nothing is passing beneath it, so
   the strip reads as part of the bar instead of a chip raised above it. Same specificity as the rule
   above and placed after it, which is what lets it win. */
/* Never retracted: the chips wrap onto further lines rather than overflow the bar. */
.action-group.always-expanded[b-065f1vm4rj] {
    max-width: 100%;
}

.action-group.always-expanded .action-group-items[b-065f1vm4rj] {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: flex-end;
}

.action-group.fits .action-group-items[b-065f1vm4rj] {
    background: transparent;
    box-shadow: none;
}

/* ContextMenu wraps each toggle in .context-menu-toggle — keep it inline in the strip. */
.action-group-items[b-065f1vm4rj]  .context-menu-toggle {
    display: inline-flex;
}

/* Items animate in and out by width rather than mounting/unmounting. The gap would still reserve
   space around a zero-width item, so collapsed items pull it back in. */
.action-group-items[b-065f1vm4rj]  .action-group-item {
    max-width: var(--action-group-size);
    opacity: 1;
    transition: max-width 180ms ease, opacity 130ms ease, transform 180ms ease, margin-left 180ms ease;
}

/* A labelled item takes the width its text needs; the cap only has to clear it for the animation. */
.action-group-items[b-065f1vm4rj]  .action-group-item.is-wide {
    max-width: 14rem;
}

/* Clipping only while collapsing — expanded, a count badge must overhang its button. */
.action-group-items[b-065f1vm4rj]  .action-group-item.is-collapsed {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: scale(0.7);
    margin-left: calc(var(--action-group-gap) * -1);
    pointer-events: none;
}

/* The first item has no preceding gap to absorb. */
.action-group-items[b-065f1vm4rj]  > .action-group-item.is-collapsed:first-child {
    margin-left: 0;
}

/* --- The chip ------------------------------------------------------------------------------------ */

.action-group[b-065f1vm4rj]  .action-group-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    background: #e7edf3;
    color: var(--color-gray-500, #5c7180);
    border-radius: 6px;
    width: var(--action-group-size);
    height: var(--action-group-size);
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
}

.action-group[b-065f1vm4rj]  .action-group-btn.is-wide {
    width: auto;
    padding: 0 0.7rem;
    font-size: var(--fs-sm);
}

.action-group[b-065f1vm4rj]  .action-group-label {
    white-space: nowrap;
    font-weight: 600;
}

.action-group[b-065f1vm4rj]  .action-group-btn:hover {
    background: #d8e2ec;
}

/* Raised, in the surface colour: the state the action stands for is currently on. */
.action-group[b-065f1vm4rj]  .action-group-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 2px rgba(14, 42, 64, 0.12);
}

/* On a host's own items the type is the chip's ink only — a filled red toggle would shout across a
   table header. Commands fill instead; see the block at the end of this sheet. */
.action-group[b-065f1vm4rj]  .action-group-btn.danger {
    color: var(--color-red-800, #991b1b);
}

.action-group[b-065f1vm4rj]  .action-group-btn.danger:hover {
    background: color-mix(in srgb, var(--color-red-800, #991b1b) 12%, #e7edf3);
}

.action-group[b-065f1vm4rj]  .action-group-btn.primary {
    color: var(--primary-color);
}

.action-group.on-accent[b-065f1vm4rj]  .action-group-btn {
    background: rgba(255, 255, 255, 0.16);
    color: white;
}

.action-group.on-accent[b-065f1vm4rj]  .action-group-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.action-group.on-accent[b-065f1vm4rj]  .action-group-btn.active {
    background: white;
    color: var(--accent-color);
}

.action-group.on-accent[b-065f1vm4rj]  .action-group-btn.danger,
.action-group.on-accent[b-065f1vm4rj]  .action-group-btn.primary {
    color: white;
}

/* --- Commands ------------------------------------------------------------------------------------
   A registered action is something the user does, not a view toggle, so it leaves the quiet chip behind
   and takes the app's own button language (see Button.razor.css): a soft raised surface, its type
   filled. A bulk action in the selection bar has to carry the weight of what it is about to do to every
   selected entry. Placed after the surface rules above so a command looks the same wherever it sits. */

.action-group[b-065f1vm4rj]  .action-group-btn.action-group-action {
    background: white;
    color: var(--primary-color);
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(14, 42, 64, 0.12);
}

.action-group[b-065f1vm4rj]  .action-group-btn.action-group-action:hover {
    background: #f1f5f9;
}

.action-group[b-065f1vm4rj]  .action-group-btn.action-group-action.danger {
    background: var(--accent-red);
    border-color: transparent;
    color: white;
}

.action-group[b-065f1vm4rj]  .action-group-btn.action-group-action.primary {
    background: var(--accent-color);
    border-color: transparent;
    color: white;
}

/* Darkening rather than swapping the colour, exactly as the app's buttons hover. The background is
   restated because the plain-command hover above matches these too, at the same specificity. */
.action-group[b-065f1vm4rj]  .action-group-btn.action-group-action.danger:hover {
    background: var(--accent-red);
    filter: brightness(0.93);
}

.action-group[b-065f1vm4rj]  .action-group-btn.action-group-action.primary:hover {
    background: var(--accent-color);
    filter: brightness(0.93);
}

.action-group[b-065f1vm4rj]  .action-group-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--primary-color);
    color: white;
    border: 1px solid white;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* /Components/Shared/Action/ActionMenu.razor.rz.scp.css */
/* The action menu is a Select. Its panel (options, hover, slide-in) comes from Select as-is; only the
   toggle is toned down here, because a full select pill on every table row would be far too heavy. */
.action-menu[b-g61i7h89ff] {
    display: inline-flex;
}

.action-menu[b-g61i7h89ff]  .select {
    min-height: 0;
    min-width: 0;
    background: transparent;
}

.action-menu[b-g61i7h89ff]  .select:hover:not(.is-disabled) {
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
}

.action-menu[b-g61i7h89ff]  .select.placeholder-compact .selected-option {
    padding: 0.5rem 0.7rem;
}

/* An ellipsis already reads as "more" — the select's caret would only add noise next to it. */
.action-menu[b-g61i7h89ff]  .select .expander {
    display: none;
}

.action-menu-toggle[b-g61i7h89ff] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500, #5c7180);
    line-height: 1;
    min-width: 0.75rem;
}

/* Option content. The row chrome (padding, hover, animation) belongs to Select; this only lays out
   icon + label and carries the action's type colour. */
.action-option[b-g61i7h89ff] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    /* The panel renders inside the cell that hosts the menu, and a nested table greys that cell
       (text-gray-400) — options would inherit it and look disabled. */
    color: #374151;
}

.action-option i[b-g61i7h89ff] {
    width: 1.1em;
    text-align: center;
}

.action-option.danger[b-g61i7h89ff] {
    color: var(--color-red-800);
}

.action-option.primary[b-g61i7h89ff] {
    color: var(--primary-color);
}

.action-option-label[b-g61i7h89ff] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/AlertListDialog.razor.rz.scp.css */
.alert-list-empty[b-q0kcs6myid] {
    color: var(--text-muted);
}

.alert-list-group + .alert-list-group[b-q0kcs6myid] {
    margin-top: 16px;
}

.alert-list-group h4[b-q0kcs6myid] {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--text-ink);
}

.alert-list-count[b-q0kcs6myid] {
    min-width: 1.4rem;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff1de;
    color: #8a4b00;
    font-size: var(--fs-xs);
    font-weight: 800;
    text-align: center;
}

.alert-list-group ul[b-q0kcs6myid] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alert-list-group li[b-q0kcs6myid] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding: 8px 0;
    border-top: 1px solid var(--surface-line);
}

.alert-list-message[b-q0kcs6myid] {
    color: var(--text-muted);
}

.alert-list-more[b-q0kcs6myid] {
    margin-top: 4px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--accent-color);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
/* /Components/Shared/AnimatedList.razor.rz.scp.css */
.animated-list > *[b-c7wfgwssdh] {
  opacity: 0;
  animation-duration: 320ms;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.2,.9,.3,1);
  transition-behavior: allow-discrete;
  will-change: transform, opacity;
}

.animated-list.horizontal > *[b-c7wfgwssdh] {
  animation-name: show-item-b-c7wfgwssdh;
}

.animated-list.vertical > *[b-c7wfgwssdh] {
  animation-name: show-item-vertical-b-c7wfgwssdh;
}

@keyframes show-item-b-c7wfgwssdh {
    from { display: none; opacity: 0; margin-left: -10px }
    60% { display: block; margin-left: 3px }
    80% { margin-left: -1px }
    to { opacity: 1; margin-left: 0px }
}

@keyframes show-item-vertical-b-c7wfgwssdh {
    from { display: none; opacity: 0; margin-top: -10px }
    60% { display: block; margin-top: 3px }
    80% { margin-top: -1px }
    to { opacity: 1; margin-top: 0px }
}

@media (prefers-reduced-motion: reduce) {
  .animated-list > *[b-c7wfgwssdh] { animation-duration: 1ms !important; }
}
/* /Components/Shared/ArticleScanSearchSurface.razor.rz.scp.css */
.ass-surface[b-mkrlvcmx3h] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ass-body[b-mkrlvcmx3h] {
    display: flex;
    flex-direction: column;
}

/* Rich option row (only when the host supplies OptionMeta/OptionPicked) — kept in step with the
   EasyTransfer search list, see TransferSearchPanel.razor.css. */
.art-opt[b-mkrlvcmx3h] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.art-name[b-mkrlvcmx3h] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color, #00385e);
}

.art-meta[b-mkrlvcmx3h] {
    font-size: var(--fs-xs);
    color: var(--color-gray-400, #6b7280);
}

.art-picked[b-mkrlvcmx3h] {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary-color, #00385e);
}

.art-lines[b-mkrlvcmx3h] {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.75rem;
}

/* Dieselbe Farbe wie die Kommissionsangaben (CommissionLabel). */
.art-committed[b-mkrlvcmx3h] {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: color-mix(in srgb, var(--accent-violet) 75%, #222);
}

/* The inline article picker owns a bounded height (the always-open select fills it and scrolls internally) so a
   long article list never grows the dialog. */
.inline-picker[b-mkrlvcmx3h] {
    height: min(45dvh, 380px);
    display: flex;
    flex-direction: column;
}

/* ---- FieldSwitch: the field on top with the Liste/Kamera switch, the camera below (as in Umlagern) ---- */
.ass-surface.is-field-switch[b-mkrlvcmx3h] {
    gap: 12px;
}

/* Kamera: the field stays, the list steps aside — its rows and its filters. */
.ass-surface.is-camera .inline-picker[b-mkrlvcmx3h] {
    height: auto;
}

.ass-surface.is-camera[b-mkrlvcmx3h]  .select-panel:has(> .search.has-trailing) > :not(.search) {
    display: none;
}

/* The camera mounts anew each time it opens, which replays this. */
.ass-camera[b-mkrlvcmx3h] {
    display: flex;
    flex-direction: column;
    animation: ass-fade-in-b-mkrlvcmx3h 0.18s ease;
}

@keyframes ass-fade-in-b-mkrlvcmx3h {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ass-camera[b-mkrlvcmx3h] {
        animation: none;
    }
}
/* /Components/Shared/BottomDrawer.razor.rz.scp.css */
.bottom-drawer[b-6etdbsxodp] {
    position: fixed;
    left: 0;
    right: 0;
    /* On phones and tablets it rests on the tab bar instead of covering it (MobileTabBar). */
    bottom: var(--app-tabbar-h, 0px);
    /* Below the app sidebar (z-index:50, including its hover-expanded overlay) and header, but above page
       content so the bottom sheet still sits over the scrolling content. */
    z-index: 40;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    /* Never exceed the viewport even if MaxHeight is set larger. */
    max-height: calc(90dvh - var(--app-tabbar-h, 0px));
    will-change: height;
}

/* The handle is the drag surface; touch-action:none lets the pointer drag without the page scrolling. */
.bottom-drawer-handle[b-6etdbsxodp] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.bottom-drawer-handle:active[b-6etdbsxodp] {
    cursor: grabbing;
}

.bottom-drawer-handle-bar[b-6etdbsxodp] {
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease;
}

.bottom-drawer-handle:hover .bottom-drawer-handle-bar[b-6etdbsxodp] {
    background: rgba(0, 0, 0, 0.3);
}

.bottom-drawer-content[b-6etdbsxodp] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 12px 12px;
}

/* When the whole body is the drag surface, stop the page from scrolling under the gesture. */
.bottom-drawer.drag-body[b-6etdbsxodp] {
    touch-action: none;
}

/* ── Edge variants ───────────────────────────────────────────────────────────────
   The base rules above are the bottom sheet (also tagged .edge-bottom). These override the
   axis, anchoring, shape and handle orientation for the other three edges. The dragged size is
   a width for right/left and a height for top/bottom (the JS engine sets the matching property). */

.bottom-drawer.edge-right[b-6etdbsxodp],
.bottom-drawer.edge-left[b-6etdbsxodp] {
    top: 0;
    bottom: 0;
    max-height: none;
    max-width: 90vw;
    will-change: width;
}

.bottom-drawer.edge-right[b-6etdbsxodp] {
    left: auto;
    right: 0;
    flex-direction: row;                 /* handle on the left (interior side) */
    border-radius: 16px 0 0 16px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.bottom-drawer.edge-left[b-6etdbsxodp] {
    right: auto;
    left: 0;
    flex-direction: row-reverse;         /* handle on the right (interior side) */
    border-radius: 0 16px 16px 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.bottom-drawer.edge-top[b-6etdbsxodp] {
    top: 0;
    bottom: auto;
    flex-direction: column-reverse;      /* handle at the bottom (interior side) */
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Vertical-edge handle: a full-height grab strip with the bar stood on end. */
.bottom-drawer.edge-right .bottom-drawer-handle[b-6etdbsxodp],
.bottom-drawer.edge-left .bottom-drawer-handle[b-6etdbsxodp] {
    height: auto;
    width: 28px;
    cursor: col-resize;
}

.bottom-drawer.edge-right .bottom-drawer-handle-bar[b-6etdbsxodp],
.bottom-drawer.edge-left .bottom-drawer-handle-bar[b-6etdbsxodp] {
    width: 5px;
    height: 44px;
}

.bottom-drawer.edge-right .bottom-drawer-content[b-6etdbsxodp],
.bottom-drawer.edge-left .bottom-drawer-content[b-6etdbsxodp] {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
}
/* /Components/Shared/BulkActionFailureDialog.razor.rz.scp.css */
.failure-list[b-s0uh2kahws] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 45dvh;
    overflow-y: auto;
}

.failure-item[b-s0uh2kahws] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0;
}

.failure-item + .failure-item[b-s0uh2kahws] {
    border-top: 1px solid #f1f5f9;
}

.failure-entity[b-s0uh2kahws] {
    font-weight: 600;
    color: var(--primary-color);
}

.failure-reason[b-s0uh2kahws] {
    font-size: var(--fs-sm);
    color: #b91c1c;
}
/* /Components/Shared/Button.razor.rz.scp.css */
button[b-dn06q8zvjn] {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.625rem 1rem;
    gap: 0.625rem;
    margin: 0;
    border-radius: 10px;
    background: #eef3f8;
    border: 1px solid transparent;
    font-size: var(--fs-sm);
    min-width: 1px;
}
    button:disabled[b-dn06q8zvjn] {
        opacity: 0.5;
        cursor: unset;
    }

    /* Darken whatever the button's actual colour is (soft default, accent, danger, or a utility bg) — a background
       swap here would wash colored buttons out to grey with unreadable white text. */
    button:hover:enabled[b-dn06q8zvjn] {
        filter: brightness(0.93);
    }

    /* Tastaturfokus wie ein Eingabefeld (der Ring aus app.css). Den Rand nimmt hier border-color statt des
       Schattens: der Knopf hat ohnehin einen transparenten. */
    button:focus[b-dn06q8zvjn] {
        outline: none;
    }

    /* Dazu eine schwache Fassung des Hovers (brightness 0.93 darüber). */
    button:focus-visible[b-dn06q8zvjn] {
        border-color: var(--focus-border);
        box-shadow: var(--focus-ring);
        filter: brightness(0.97);
    }

.danger[b-dn06q8zvjn] {
    background-color: var(--accent-red);
    color: white;
}
.danger-text[b-dn06q8zvjn] {
    color: var(--color-red-800);
}
.primary[b-dn06q8zvjn], .accent[b-dn06q8zvjn] {
    background-color: var(--accent-color);
    color: white;
}
.primary-text[b-dn06q8zvjn] {
    color: var(--primary-color);
}

.none[b-dn06q8zvjn] {
    background: none;
    border: none;
}
.none:hover:enabled[b-dn06q8zvjn] {
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
}

/* Toggle buttons whose panel is open (header search / alerts): take the same raised white
   surface the panel's search input uses, so button and panel read as one open state. */
.is-active[b-dn06q8zvjn], .is-active:hover:enabled[b-dn06q8zvjn] {
    background: #fff;
}

.click-indicator[b-dn06q8zvjn]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.34) 45%, rgba(255,255,255,0.12) 100%);
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease;
}

/* Press feedback paints in the same frame as the press, with no circuit involvement. This
   replaces a server-driven `is-clicked` class that could not appear until a round trip had
   completed — on a remote connection the button read as dead until the server answered.
   :active wins over the :hover brightness above by coming later at equal specificity. */
.click-indicator:active:enabled[b-dn06q8zvjn] {
    box-shadow: 0 0 0.1rem rgba(255,255,255,0.45), 0 0 0.8rem rgba(255,255,255,0.38);
    filter: brightness(1.06);
}

/* Snap in on press, fade out on release (the ::after base transition above carries the 240ms
   release). Together these read as the old 280ms sweep without needing an animation that a
   short press would truncate. */
.click-indicator:active:enabled[b-dn06q8zvjn]::after {
    opacity: 0.34;
    transition: opacity 40ms ease;
}



.important[b-dn06q8zvjn] {
    background: linear-gradient(100deg,#ffffff00 50%,#6178ff3f,#ffffff00 80%) no-repeat;
    background-size: 180% 180%;
    animation: gradient-animation-b-dn06q8zvjn 4s ease-in-out infinite;
}

@keyframes gradient-animation-b-dn06q8zvjn {
    0%,20% {
        background-position: 180% 50%;
        font-size: 0.875em;
    }
    50% {
        border-color: #6179ff;
        font-size: 0.9em;
    }
  80%,100% {
    background-position: -80% 50%;
    font-size: 0.875em;
  }
}

@media (prefers-reduced-motion: reduce) {
    .important[b-dn06q8zvjn] {
        animation: none;
    }
}
/* /Components/Shared/Card.razor.rz.scp.css */
.card[b-kylcj2buj0] {
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    margin-bottom: 15px;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    transition: box-shadow 0.2s;
    overflow: auto;
}
.card.no-padding[b-kylcj2buj0] {
    padding: 0;
}
.card.no-margin[b-kylcj2buj0] {
    margin: 0;
}
.card.no-shadow[b-kylcj2buj0] {
    box-shadow: none;
}
.card:has(.link-icon)[b-kylcj2buj0] {
    position: relative;
}
.card.clickable:hover[b-kylcj2buj0] {
  box-shadow: var(--surface-shadow-hover);
}
.card.no-shadow:hover[b-kylcj2buj0] {
    box-shadow: none;
}
.card.clickable[b-kylcj2buj0] {
    cursor: pointer;
}
.card-content[b-kylcj2buj0] {
    display: flex;
    flex-direction: column;
    width: 100%;
}
@media (max-width: 640px) {
  .card[b-kylcj2buj0] {
    padding: 0.85rem;
    font-size: var(--fs-base);
  }
}
.link-icon[b-kylcj2buj0] {
    color: #6b7280; /* text-gray-500 */
    box-sizing: content-box;
}

/* The action/link icon is a fixed overlay in the top-right corner so the card
   content keeps the full width. Previously the card was a flex row and the icon
   claimed its own column, cutting content short (Details value cells scrolled
   early, QuickAccess grid lost width). Offsets match the card padding. */
.card:has(.link-icon) > .link-icon[b-kylcj2buj0] {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
}
.card.no-padding:has(.link-icon) > .link-icon[b-kylcj2buj0] {
    top: 0.75rem;
    right: 0.75rem;
}
@media (max-width: 640px) {
    .card:has(.link-icon) > .link-icon[b-kylcj2buj0] {
        top: 0.85rem;
        right: 0.85rem;
    }
}
/* The heading's icon is a marker, not a second heading: a step smaller than the title text. */
.title-icon[b-kylcj2buj0] {
    font-size: 0.8em;
}

/* The title above a card: a section heading in the app's voice — bold ink, a step above body text. */
h3[b-kylcj2buj0] {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text-ink);
    margin-left: 2px;
}
/* /Components/Shared/Chip.razor.rz.scp.css */

.chip[b-s0sts1ior6] {
    /* display: flex; */
    /* align-items: center; */
    width: fit-content;
    background: #f0f4fa;
    color: var(--primary-color);
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: var(--fs-sm);
    text-wrap: nowrap;
    align-items: center;
    /* border: 1px solid #e5e5e5; */
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    min-width: 3em;
    text-align: center;
}

.chip.clickable[b-s0sts1ior6] {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.chip.clickable:hover[b-s0sts1ior6] {
    filter: brightness(0.95);
}

.chip-link-icon[b-s0sts1ior6] {
    width: 1rem;
    height: 1rem;
    color: #6b7280d0;
}

.chip-entity-icon[b-s0sts1ior6] {
    font-size: 0.9em;
    color: #6b7280d0;
}

.chip[b-s0sts1ior6]  > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}
/* On touch the chip keeps its look but its hit area grows to about 44px high — link chips sit densely in list rows. */
@media (pointer: coarse) {
    .chip.clickable[b-s0sts1ior6] {
        position: relative;
    }

    .chip.clickable[b-s0sts1ior6]::after {
        content: "";
        position: absolute;
        inset: -12px 0;
    }
}
/* /Components/Shared/ChipRow.razor.rz.scp.css */
/* ── Chips ─────────────────────────────────────────────────────── */
/* The row scrolls inside .chip-row, so the fade below masks only the chips — not the panel's ground and shadow. */
.chip-row-scroll[b-0pfgdp19u3] {
    display: flex;
    gap: 6px;
    padding: var(--chip-row-padding, 0);
    overflow-x: auto;
    scrollbar-width: none;
}

/* Chips that do not fit fade out at the edge they continue behind instead of being cut off hard: right at the
   start, both sides in between, left at the end. Driven by the row's own scroll position; a row that fits has no
   scroll timeline, the animation stays inactive and nothing fades. Browsers without scroll timelines keep the
   plain edge — without the guard they would run the animation to its end state and fade the wrong side. */
@property --chip-fade-start {
    syntax: "<length>";
    inherits: false;
    initial-value: 0px;
}

@property --chip-fade-end {
    syntax: "<length>";
    inherits: false;
    initial-value: 0px;
}

@supports (animation-timeline: scroll()) {
    .chip-row-scroll[b-0pfgdp19u3] {
        mask-image: linear-gradient(to right,
            transparent 0,
            #000 var(--chip-fade-start),
            #000 calc(100% - var(--chip-fade-end)),
            transparent 100%);
        animation: chip-row-fade-b-0pfgdp19u3 linear both;
        animation-timeline: scroll(self inline);
    }
}

@keyframes chip-row-fade-b-0pfgdp19u3 {
    0% { --chip-fade-start: 0px; --chip-fade-end: 32px; }
    12%, 88% { --chip-fade-start: 32px; --chip-fade-end: 32px; }
    100% { --chip-fade-start: 32px; --chip-fade-end: 0px; }
}

/* Arrows over the faded edges for the mouse. ChipRow.razor.js marks the panel with data-more-start/-end while
   chips lie beyond that edge; touch screens swipe and never see them. They span the row's height minus its bottom
   padding, so they centre on the chips. */
.chip-row[b-0pfgdp19u3] {
    min-width: 0;
    position: relative;
}

.chip-row-arrow[b-0pfgdp19u3] {
    position: absolute;
    top: 0;
    bottom: var(--chip-row-pad-bottom, 0px);
    z-index: 1;
    display: none;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.chip-row-arrow.start[b-0pfgdp19u3] {
    left: 6px;
}

.chip-row-arrow.end[b-0pfgdp19u3] {
    right: 6px;
}

.chip-row-arrow i[b-0pfgdp19u3] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(16, 40, 64, 0.22);
    color: var(--text-ink);
    font-size: 0.9rem;
    transition: background 0.12s ease;
}

.chip-row-arrow:hover i[b-0pfgdp19u3] {
    background: var(--surface-sunken);
}

@media (hover: hover) and (pointer: fine) {
    .chip-row[data-more-start] .chip-row-arrow.start[b-0pfgdp19u3],
    .chip-row[data-more-end] .chip-row-arrow.end[b-0pfgdp19u3] {
        display: flex;
    }
}

.chip-row[b-0pfgdp19u3]  .context-menu-toggle {
    flex: none;
}

.chip-row[b-0pfgdp19u3]  .lh-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: #3a4b5c;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

/* A count in a filter chip: a small tag tinted from the chip's own ink, readable on and off. */
.chip-row[b-0pfgdp19u3]  .lh-chip .meta-tag {
    padding: 0 0.4rem;
    background: color-mix(in srgb, currentColor 14%, transparent);
    color: inherit;
}

.chip-row[b-0pfgdp19u3]  .lh-chip i {
    font-size: 0.7rem;
}

.chip-row[b-0pfgdp19u3]  .lh-chip.on {
    background: var(--primary-color);
    color: #fff;
}

/* The chip whose menu is open stands out from its neighbours, so the panel below reads as its own.
   ContextMenu.razor.js marks the toggle with data-open in the frame of the press. */
.chip-row[b-0pfgdp19u3]  .context-menu-toggle[data-open] .lh-chip:not(.on) {
    background: color-mix(in srgb, var(--accent-color) 14%, #fff);
    color: var(--accent-color);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent-color) 45%, transparent);
}

.chip-row[b-0pfgdp19u3]  .context-menu-toggle[data-open] .lh-chip.on {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.chip-row[b-0pfgdp19u3]  .lh-chip i {
    transition: transform 0.18s ease;
}

.chip-row[b-0pfgdp19u3]  .context-menu-toggle[data-open] .lh-chip i {
    transform: rotate(180deg);
}

.chip-row[b-0pfgdp19u3]  .lh-chip.warn {
    background: #fde8ea;
    color: #a3202c;
}

.chip-row[b-0pfgdp19u3]  .lh-chip.warn.on {
    background: #a3202c;
    color: #fff;
}

/* /Components/Shared/ChoiceTile.razor.rz.scp.css */
/* One choice of a picture-tile dialog (ChoiceTiles). The whole tile is the button: picture on top, the word and a
   sentence below — one big target each. Set apart by a soft fill rather than a border. */
.ct-tile[b-6rb27mvqpc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 14px 18px;
    border: 0;
    border-radius: var(--surface-radius, 16px);
    background: var(--surface-sunken);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.ct-tile:hover[b-6rb27mvqpc],
.ct-tile:focus-visible[b-6rb27mvqpc] {
    background: color-mix(in srgb, var(--ct-color) 12%, var(--surface-sunken));
    outline: none;
}

.ct-tile:active[b-6rb27mvqpc] {
    transform: scale(0.98);
}

.ct-picture[b-6rb27mvqpc] {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: #fff;
    color: color-mix(in srgb, var(--ct-color) 80%, black);
}

.ct-scene[b-6rb27mvqpc] {
    font-size: 44px;
}

/* The thing's own icon, as its rows show it in the list. */
.ct-badge[b-6rb27mvqpc] {
    position: absolute;
    right: -6px;
    bottom: -6px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ct-color);
    box-shadow: 0 0 0 3px #fff;
    color: #fff;
    font-size: 17px;
}

.ct-text[b-6rb27mvqpc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-title[b-6rb27mvqpc] {
    color: var(--text-ink, #102a43);
    font-size: var(--fs-md, 1.1rem);
    font-weight: 700;
}

.ct-hint[b-6rb27mvqpc] {
    color: var(--text-muted);
    font-size: var(--fs-sm, 0.875rem);
    line-height: 1.35;
}

/* Narrow dialogs (phones): picture beside the words, so all choices fit without scrolling. */
@container pane (max-width: 520px) {
    .ct-tile[b-6rb27mvqpc] {
        flex-direction: row;
        padding: 14px;
        text-align: left;
    }

    .ct-picture[b-6rb27mvqpc] {
        flex: none;
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .ct-scene[b-6rb27mvqpc] {
        font-size: 32px;
    }

    .ct-badge[b-6rb27mvqpc] {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}
/* /Components/Shared/ChoiceTiles.razor.rz.scp.css */
.ct-grid[b-3w7mvezjz7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Narrow dialogs (phones): one tile per row. */
@container pane (max-width: 520px) {
    .ct-grid[b-3w7mvezjz7] {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
/* /Components/Shared/CommissionLabel.razor.rz.scp.css */
/* Ein Zeichen und ein bis drei Namen, in einer Zeile: kommissionierte Ware soll auffallen, ohne die Zeile zu
   überladen, in der sie steht. Die Farbe ist die der Kommissionierung (Aktion „Kommissionieren“), das Symbol
   dasselbe — wer es einmal gesehen hat, erkennt es wieder. Ohne Pille: Farbe und Zeichen reichen, und als
   Kasten stand die Beschriftung in Listen und Auswahlzeilen wie ein Knopf da. */
.commission[b-91nkpudjvy] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    max-width: 100%;
    color: color-mix(in srgb, var(--accent-violet) 75%, #222);
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.5;
}

.commission i[b-91nkpudjvy] {
    flex: 0 0 auto;
    font-size: 0.85em;
}

/* Every part of the chain is its own element, set apart by space and the later ones quieter, so customer and
   object read as two facts and not as one long name. */
.commission-part[b-91nkpudjvy] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.commission-part + .commission-part[b-91nkpudjvy] {
    margin-left: 0.6rem;
    opacity: 0.8;
}

/* Die ganze Kette: drei Stufen, jede mit ihrem Zeichen statt eines Trenners — das Zeichen sagt, welche Stufe
   der Name ist. Bricht um, wenn der Platz nicht reicht, statt einen Namen zu verschlucken. */
.commission-expanded[b-91nkpudjvy] {
    flex-wrap: wrap;
    column-gap: 0.65rem;
    row-gap: 0.1rem;
}

.commission-step[b-91nkpudjvy] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    max-width: 100%;
}

.commission-step-label[b-91nkpudjvy] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/ContactLink.razor.rz.scp.css */
.contact-link[b-wmtcv8kqf9] {
    color: var(--accent-color);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-link:hover[b-wmtcv8kqf9],
.contact-link:focus-visible[b-wmtcv8kqf9] {
    text-decoration: underline;
}
/* /Components/Shared/ContextMenu.razor.rz.scp.css */
/* The panel is a `popover`, so the browser puts it in the top layer while it is showing. That is
   what replaces the old <SectionOutlet> teleport plus z-index: 600 — the top layer sits above every
   stacking context on the page by definition, including the dialog backdrop, so a menu opened from
   inside a dialog lands on top of it without anyone having to pick a number.

   Everything below is undoing the UA stylesheet's defaults for [popover] (a bordered, padded,
   auto-centred box). The panel is only a positioning shell; whatever is inside it — .select-menu-panel,
   the action list — brings its own surface. */
.context-menu-panel[b-zabckqf6f0] {
    position: fixed;
    inset: auto;
    width: fit-content;
    height: fit-content;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    overflow: visible;
    /* The frost behind every menu (--menu-backdrop). On this shell, not on the card inside it: an element whose
       opacity is below 1 cuts off what its descendants can see behind them, so a blur on the card would be blank
       through the whole fade and pop in at its end. Here it fades with the panel. The radius keeps the blurred
       area to the card's rounded shape — every menu card inside uses --menu-radius. */
    border-radius: var(--menu-radius);
    backdrop-filter: var(--menu-backdrop);
    -webkit-backdrop-filter: var(--menu-backdrop);
}

/* Popover is Baseline 2024, but a browser without it ignores the attribute *entirely* — including
   the UA rule that keeps a closed popover display:none — which would leave every menu on the page
   permanently open. ContextMenu.razor.js mirrors the state into data-open so this can stand in.
   No top layer here, so fall back to the z-index the teleported menu used to carry. */
@supports not selector(:popover-open) {
    .context-menu-panel[b-zabckqf6f0] {
        display: none;
    }

    .context-menu-panel[data-open][b-zabckqf6f0] {
        display: block;
        z-index: 600;
    }
}

/* A menu of plain ContextMenuItems has nothing inside that brings a surface, so the panel lends it one: a white
   card with the app's radius and shadow, items inset from its edge. */
.context-menu-panel:has(> .menu-item)[b-zabckqf6f0] {
    min-width: 12rem;
    padding: var(--menu-padding);
    border-radius: var(--menu-radius);
    background: var(--menu-surface);
    box-shadow: var(--menu-shadow);
}

/* Every menu and panel comes in the same way: a short fade with a few pixels of drop. Only opacity and
   translate — ContextMenu.razor.js measures the panel right after showPopover(), and a scale would hand it a
   shrunken box. The way out is the same motion, faster, played by the script before it hides the popover
   (see hideAnimated) — so the closed state carries no transition of its own. */
@supports selector(:popover-open) {
    .context-menu-panel[b-zabckqf6f0] {
        opacity: 0;
        translate: 0 -6px;
    }

    .context-menu-panel:popover-open[b-zabckqf6f0] {
        opacity: 1;
        translate: 0 0;
        transition: opacity 0.18s ease-out, translate 0.22s cubic-bezier(.22, .9, .3, 1);
    }

    @starting-style {
        .context-menu-panel:popover-open[b-zabckqf6f0] {
            opacity: 0;
            translate: 0 -6px;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .context-menu-panel[b-zabckqf6f0],
    .context-menu-panel:popover-open[b-zabckqf6f0] {
        transition: none;
        translate: none;
    }
}
/* /Components/Shared/ContextMenuItem.razor.rz.scp.css */
/* Inside the card surface ContextMenu lends a plain item list: one line per entry, the shared menu row
   (--menu-* in template.css). */
.menu-item[b-8d7fvbhe2c] {
    display: grid;
    grid-template-columns: 1em 1fr;
    gap: var(--menu-item-gap);
    align-items: center;
    min-height: var(--menu-item-min-height);
    box-sizing: border-box;
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    color: var(--menu-item-ink);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.06s ease-out;
}

/* Without an icon the text would land in the 1em icon column and spill out of it: the panel then measured no
   text at all and ran narrower than its longest entry. */
.menu-item:not(:has(> i))[b-8d7fvbhe2c] {
    grid-template-columns: 1fr;
}

.menu-item > i[b-8d7fvbhe2c] {
    color: var(--text-muted);
}

.menu-item:hover[b-8d7fvbhe2c] {
    background-color: var(--menu-item-hover);
}

.menu-item:hover > i[b-8d7fvbhe2c] {
    color: inherit;
}

/* An entry that leaves or destroys (Abmelden): the whole row in the danger ink, icon included. */
.menu-item.danger[b-8d7fvbhe2c],
.menu-item.danger > i[b-8d7fvbhe2c] {
    color: var(--menu-item-danger);
}

/* A hint closes the row on the right. */
.menu-item:has(> .menu-item-hint)[b-8d7fvbhe2c] {
    grid-template-columns: 1em 1fr auto;
}

.menu-item:not(:has(> i)):has(> .menu-item-hint)[b-8d7fvbhe2c] {
    grid-template-columns: 1fr auto;
}

.menu-item-hint[b-8d7fvbhe2c] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 12px;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
}

.menu-item-opens[b-8d7fvbhe2c] {
    font-size: var(--fs-sm);
}

/* The entry that is chosen now (or leads to it): bold in the accent. */
.menu-item.is-current[b-8d7fvbhe2c],
.menu-item.is-current > i[b-8d7fvbhe2c] {
    color: var(--accent-color);
    font-weight: 700;
}
/* /Components/Shared/CustomerObjectProjectSelect.razor.rz.scp.css */
/* Pill — mirrors the look of the shared Select toggle so the picker sits consistently among the form's fields. */
.cop-select[b-t4ra0pb52i] {
    position: relative;
    min-height: 3em;
    min-width: 150px;
    border-radius: 10px;
    display: grid;
    transition: all 0.2s;
    background: #eef3f8;
    border: 1px solid transparent;
}

    .cop-select:hover:not(.is-disabled)[b-t4ra0pb52i] {
        background: #e2ebf4;
    }

    .cop-select.is-disabled[b-t4ra0pb52i] {
        background: var(--color-gray-100);
    }

.cop-main[b-t4ra0pb52i] {
    display: grid;
    grid-template-columns: 1fr auto;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.cop-select.is-disabled .cop-main[b-t4ra0pb52i] {
    cursor: default;
}

.cop-selected[b-t4ra0pb52i] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 0 8px 12px;
    text-align: start;
}

/* Der gewählte Pfad: Mandant, Objekt, Baustelle – jede Ebene ein eigener Kasten.

   Jede Ebene bekommt denselben Anteil an der Breite (flex-grow aus einer Basis von 0), nimmt davon aber nur,
   was ihr Name braucht (max-width: max-content) — was sie liegen lässt, verteilt Flexbox an die längeren
   Nachbarn weiter. Damit gilt beides, worauf es hier ankommt: solange der ganze Pfad hineinpasst, steht er
   ungekürzt da, und wird es eng, gibt der lange Mandant nach, statt die Baustelle am Ende abzuschneiden.
   (Ohne die Anteile schrumpft Flexbox nach Inhaltsbreite: der lange Name behält den größten Platz und die
   kurzen werden gekürzt, obwohl sie kaum welchen bräuchten. Mit einer festen Prozentgrenze wiederum stünde
   ein langer Name selbst dann gekürzt da, wenn daneben alles frei ist.) */
.cop-path[b-t4ra0pb52i] {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    min-width: 0;
}

.cop-path-part[b-t4ra0pb52i] {
    flex: 1 1 0;
    max-width: max-content;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The levels stand apart by space, the lower ones quieter — no separator glyph between them. */
.cop-path-part + .cop-path-part[b-t4ra0pb52i] {
    margin-left: 0.6rem;
    opacity: 0.75;
}

.cop-name[b-t4ra0pb52i] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Ohne min-width: 0 schrumpft ein Flex-Element nicht unter seinen Inhalt, und das Ellipsis oben
       greift nie — sichtbar erst, seit der Mandant daneben um denselben Platz konkurriert. */
    min-width: 0;
}

.cop-expander[b-t4ra0pb52i] {
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: all 0.3s;
}

    .cop-expander:hover[b-t4ra0pb52i] {
        color: var(--primary-color);
    }

.cop-select.is-open .cop-expander[b-t4ra0pb52i] {
    transform: rotate(180deg);
}

/* Popover panel (portalled into the ContextMenu section; scoped styling still applies via the scope attribute). */
/* The shared menu card (--menu-* in template.css); it comes in with the ContextMenu popover's fade. */
.cop-panel[b-t4ra0pb52i] {
    background: var(--menu-surface);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
    overflow: hidden;
}

/* Embedded (Inline): the host panel already supplies the chrome, so drop the popover look and let the levels
   stretch to the height the host gives them (the drill-down panel of a select, which owns the scroll). */
.cop-panel.cop-panel-inline[b-t4ra0pb52i] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

    .cop-panel-inline .cop-level[b-t4ra0pb52i] {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
    }

/* One navigation level: an optional back header + a bounded inline EntitySelect that owns the list scroll. */
.cop-level[b-t4ra0pb52i] {
    display: flex;
    flex-direction: column;
    height: 340px;
    animation: cop-drill-in-b-t4ra0pb52i 0.25s ease both;
}

    /* Let the inline EntitySelect fill the remaining height (below the back header), and drop its inner chrome —
       the popover panel already supplies the border/shadow. height:auto defers sizing to the flex layout. */
    .cop-level[b-t4ra0pb52i]  .select-inline {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
    }

    .cop-level[b-t4ra0pb52i]  .select-inline > .select-menu-panel {
        border: none;
        border-radius: 0;
    }

.cop-back[b-t4ra0pb52i] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid var(--menu-line);
    background: transparent;
    color: var(--color-gray-500, #374151);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

    .cop-back:hover[b-t4ra0pb52i] {
        background: var(--menu-item-hover);
    }

    .cop-back i[b-t4ra0pb52i] {
        color: var(--primary-color);
    }

    .cop-back span[b-t4ra0pb52i] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Drillable option row: label + trailing chevron affordance (matches Select's drill indicator). */
.cop-opt[b-t4ra0pb52i] {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
}

.cop-opt-label[b-t4ra0pb52i] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cop-opt-chevron[b-t4ra0pb52i] {
    margin-left: auto;
    color: var(--color-gray-300);
    transition: transform 0.2s, color 0.2s;
}

.cop-level[b-t4ra0pb52i]  .select-option:hover .cop-opt-chevron {
    color: var(--primary-color);
    transform: translateX(3px);
}


@keyframes cop-drill-in-b-t4ra0pb52i {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* „Alle“ — die Stufe über dem Mandanten, auf der nicht gefiltert wird. Steht als erster Eintrag in der obersten
   Liste und sieht aus wie eine Option, nur gedämpft: sie wählt nichts aus, sie nimmt die Wahl zurück. */
.cop-clear[b-t4ra0pb52i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    color: var(--color-gray-500, #5c7180);
    font-weight: 600;
}

/* Der „keine Baustelle“-Eintrag über den Mandanten. Gedämpft wie ein Platzhalter, denn er wählt eine
   Abwesenheit — die Zeile soll neben den Mandanten nicht wie ein weiterer von ihnen aussehen. */
.cop-none[b-t4ra0pb52i] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: var(--color-gray-500, #5c7180);
}

/* Die Einträge über den Mandanten. Das Select fasst alles Vorangestellte in eine einzige Option-Zeile; stehen dort
   zwei („Alle“ und „Freier Bestand“), bekäme jeder Hover beide. Hier trägt deshalb jeder Eintrag seine eigene
   Zeile, mit Innenabstand und Hover einer Option, und die umgebende Zeile gibt beides ab. */
.cop-level[b-t4ra0pb52i]  .prepend-options:has(> .cop-top-options) {
    padding: 0;
}

    .cop-level[b-t4ra0pb52i]  .prepend-options:has(> .cop-top-options):hover {
        background: transparent;
    }

.cop-top-options[b-t4ra0pb52i] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .cop-top-options > .cop-clear[b-t4ra0pb52i],
    .cop-top-options > .cop-none[b-t4ra0pb52i] {
        padding: var(--menu-item-padding);
        border-radius: var(--menu-item-radius);
        cursor: pointer;
        transition: background-color 0.06s ease-out;
    }

        .cop-top-options > .cop-clear:hover[b-t4ra0pb52i],
        .cop-top-options > .cop-none:hover[b-t4ra0pb52i] {
            background: var(--menu-item-hover);
        }

    /* Im Filter steht „Freier Bestand“ neben „Alle“ als gleichrangige Wahl — gleich gesetzt. */
    .cop-top-options > .cop-clear ~ .cop-none[b-t4ra0pb52i] {
        gap: 0.5rem;
        font-weight: 600;
    }
/* /Components/Shared/CustomerObjectSelect.razor.rz.scp.css */
/* Shell styling for the Mandant → Objekt drill-down. Mirrors CustomerObjectProjectSelect.razor.css — Blazor CSS
   isolation scopes each component's rules to its own markup, so the two drill-downs each carry their own copy. */

/* Pill — mirrors the look of the shared Select toggle so the picker sits consistently among the form's fields. */
.cos-select[b-7cn8pjfjbh] {
    position: relative;
    min-height: 3em;
    min-width: 150px;
    border-radius: 10px;
    display: grid;
    transition: all 0.2s;
    background: #eef3f8;
    border: 1px solid transparent;
}

    .cos-select:hover:not(.is-disabled)[b-7cn8pjfjbh] {
        background: #e2ebf4;
    }

    .cos-select.is-disabled[b-7cn8pjfjbh] {
        background: var(--color-gray-100);
    }

.cos-main[b-7cn8pjfjbh] {
    display: grid;
    grid-template-columns: 1fr auto;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.cos-select.is-disabled .cos-main[b-7cn8pjfjbh] {
    cursor: default;
}

.cos-selected[b-7cn8pjfjbh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 0 8px 12px;
    text-align: start;
}

.cos-name[b-7cn8pjfjbh] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cos-expander[b-7cn8pjfjbh] {
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: all 0.3s;
}

    .cos-expander:hover[b-7cn8pjfjbh] {
        color: var(--primary-color);
    }

.cos-select.is-open .cos-expander[b-7cn8pjfjbh] {
    transform: rotate(180deg);
}

/* Popover panel (portalled into the ContextMenu section; scoped styling still applies via the scope attribute). */
/* The shared menu card (--menu-* in template.css); it comes in with the ContextMenu popover's fade. */
.cos-panel[b-7cn8pjfjbh] {
    background: var(--menu-surface);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
    overflow: hidden;
}

/* One navigation level: an optional back header + a bounded inline EntitySelect that owns the list scroll. */
.cos-level[b-7cn8pjfjbh] {
    display: flex;
    flex-direction: column;
    height: 340px;
    animation: cos-drill-in-b-7cn8pjfjbh 0.25s ease both;
}

    /* Let the inline EntitySelect fill the remaining height (below the back header), and drop its inner chrome —
       the popover panel already supplies the border/shadow. height:auto defers sizing to the flex layout. */
    .cos-level[b-7cn8pjfjbh]  .select-inline {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
    }

    .cos-level[b-7cn8pjfjbh]  .select-inline > .select-menu-panel {
        border: none;
        border-radius: 0;
    }

.cos-back[b-7cn8pjfjbh] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid var(--menu-line);
    background: transparent;
    color: var(--color-gray-500, #374151);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

    .cos-back:hover[b-7cn8pjfjbh] {
        background: var(--menu-item-hover);
    }

    .cos-back i[b-7cn8pjfjbh] {
        color: var(--primary-color);
    }

    .cos-back span[b-7cn8pjfjbh] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Drillable option row: label + trailing chevron affordance (matches Select's drill indicator). */
.cos-opt[b-7cn8pjfjbh] {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
}

.cos-opt-label[b-7cn8pjfjbh] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cos-opt-chevron[b-7cn8pjfjbh] {
    margin-left: auto;
    color: var(--color-gray-300);
    transition: transform 0.2s, color 0.2s;
}

.cos-level[b-7cn8pjfjbh]  .select-option:hover .cos-opt-chevron {
    color: var(--primary-color);
    transform: translateX(3px);
}

@keyframes cos-drill-in-b-7cn8pjfjbh {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
}
/* /Components/Shared/DataCard.razor.rz.scp.css */
.data-card-container[b-efzsxbw3gi] {
    width: 100%;
    container-type: inline-size;
}

.data-card-actions[b-efzsxbw3gi] {
    overflow: auto;
    display: flex;
    display: flex;
    margin: 0 0 10px 0;
    padding: 0;
    border-radius: var(--border-radius);
    background: #f9f9f9;
    overflow: hidden;
    float: right;
    border: 1px solid #ddd;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(221, 221, 221);
}


.data-card-actions[b-efzsxbw3gi]  button {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s;
    font-size: var(--fs-sm);
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

    .data-card-actions[b-efzsxbw3gi]  button:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .data-card-actions[b-efzsxbw3gi]  > * {
        border-right: 1px solid #ddd !important;
    }

    .data-card-actions[b-efzsxbw3gi] :last-child {
        border-right: none;
    }

.data-card-grid[b-efzsxbw3gi] {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem 1rem;
  font-size: var(--fs-base);
  container-type: inline-size;
}
.data-card-label[b-efzsxbw3gi] {
  font-weight: 600;
  color: #555;
  /* align-self: center; */
  word-break: break-word;
  hyphens: auto;
}
.data-card-value[b-efzsxbw3gi] {
  color: #222;
  align-self: center;
  word-break: break-word;
  hyphens: auto;
}
@media (max-width: 640px) {
  .data-card-grid[b-efzsxbw3gi] {
    grid-template-columns: 1fr;
    font-size: var(--fs-base);
  }
  .data-card-label[b-efzsxbw3gi] {
    margin-top: 0.5rem;
    color: #888;
  }
  .data-card-value[b-efzsxbw3gi] {
    margin-bottom: 0.5rem;
  }
}

/* Lists inside table cells (chip-like identifiers) */
[b-efzsxbw3gi] .data-card-value > ul,
[b-efzsxbw3gi] .data-card-label > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

[b-efzsxbw3gi] .data-card-value > ul li,
[b-efzsxbw3gi] .data-card-label > ul li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f3f3;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: var(--fs-sm);
    /* border: 1px solid #e5e5e5; */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

[b-efzsxbw3gi] .data-card-value > ul li:hover,
[b-efzsxbw3gi] .data-card-label > ul li:hover {
    background: #efefef;
}

[b-efzsxbw3gi] .data-card-value > ul li  code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: var(--fs-xs);
    color: #374151; /* text-gray-700 */
    padding: 0.125rem 0.25rem; /* px-1 py-0.5 */
    border-radius: 0.25rem; /* rounded */
    border: 1px solid #e8e8e8;
    background: #f7f7f7;
}

@container (max-width: 640px) {
  .data-card-grid[b-efzsxbw3gi] {
    display: flex;
    flex-direction: column;
  }
}
/* /Components/Shared/DateInput.razor.rz.scp.css */
.date-input[b-6uishbhnjm] {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.date-input-text[b-6uishbhnjm] {
    width: 100%;
    min-width: 0;
    /* Room for the calendar button laid over the right edge. */
    padding-right: 2.2rem;
}

.date-input-picker[b-6uishbhnjm] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    translate: 0 -50%;
    border: none;
    background: transparent;
    color: var(--color-gray-500, #5c7180);
    cursor: pointer;
    padding: 0.25rem 0.35rem;
    line-height: 1;
}

    .date-input-picker:hover[b-6uishbhnjm] {
        color: var(--primary-color);
    }

/* Present for its picker only: invisible, out of the tab order, and sitting under the button so the browser
   anchors the calendar there. */
.date-input-native[b-6uishbhnjm] {
    position: absolute;
    right: 0.35rem;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: 0;
    padding: 0;
}
/* /Components/Shared/DebouncedInput.razor.rz.scp.css */
input[b-j4shlb8urh] {
    padding: 0.5rem 0.75rem;
}

input:focus[b-j4shlb8urh] {
    outline: none;
}
/* /Components/Shared/DialogContent.razor.rz.scp.css */
/* Der Dialograhmen (.modal) begrenzt auf 85 dvh und schneidet ab. Damit dabei der Inhalt scrollt statt der
   Fuß zu verschwinden, ist der Inhalt eine Spalte: Titel und Schaltflächen stehen fest, dazwischen scrollt
   der Rumpf. Gleiche Aufteilung wie in EntityForm. */

.dialog-content[b-ys407obply] {
    display: flex;
    flex-direction: column;
    max-height: 85dvh;
    overflow: hidden;
}

/* Dieselben Einzüge wie EntityForm.razor.css: Kopf 20px oben / 30px seitlich, Rumpf 30px seitlich,
   Fuß 30px seitlich / 20px unten. Beide erscheinen im selben Rahmen (.modal bringt keine Polsterung
   mit), und ein Dialog, der seinen Inhalt enger an den Rand setzt als ein Formular, liest sich neben
   ihm wie ein anderes Fenster. Die Einzüge stehen deshalb hier und nicht als Utility-Klassen im
   Markup — so gibt es genau eine Stelle, an der sie gleich bleiben müssen. */
.dialog-title[b-ys407obply] {
    flex-shrink: 0;
    padding: 20px 30px 0;
    margin-bottom: 0.5rem;
    /* Same title as EntityForm's header: a dialog and a form side by side must not read as two kinds of window. */
    font-size: var(--fs-xl);
    font-weight: bold;
}

.dialog-body[b-ys407obply] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    /* Ein Kontextmenü oder ein Fokusring am Rand des Rumpfes darf nicht am Scroll-Rand abgeschnitten werden. */
    overflow-x: visible;
    padding: 0 30px 1rem;
}

/* Ein Dialog ohne Titel hat keinen Kopf, der den oberen Abstand stellt — dann stellt ihn der Rumpf. */
.dialog-content > .dialog-body:first-child[b-ys407obply] {
    padding-top: 20px;
}

.buttons[b-ys407obply] {
    flex-shrink: 0;
    padding: 0.5rem 30px 20px;
}

/* Randloser Dialog: der Inhalt füllt den Rahmen selbst aus (Kamerabild). Als Modifikator und nicht als
   `!p-0` von außen, weil die Einzüge auf Kopf, Rumpf und Fuß liegen und nicht auf der Wurzel — eine
   Utility-Klasse an der Wurzel träfe sie gar nicht mehr. */
.dialog-content.dialog-flush > .dialog-title[b-ys407obply],
.dialog-content.dialog-flush > .dialog-body[b-ys407obply],
.dialog-content.dialog-flush > .buttons[b-ys407obply] {
    padding: 0;
}

/* The save bar as a dialog's foot: flush with the window's bottom and sides, like the form's (EntityForm .save-footer). */
.buttons.save-footer[b-ys407obply] {
    padding: 0;
    margin-top: 0.5rem;
}
/* /Components/Shared/DialogInstance.razor.rz.scp.css */
/* DialogCard.razor.css */
.modal-backdrop[b-01bk0y4fgb] {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* Above the main header (.app-header z-index: 300) and sidebar (z-index: 200),
     but below the error UI (1000) and toasts (9999). */
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dialog-fadein-b-01bk0y4fgb 0.2s;
  width: 100vw;
  /* A dialog's own width follows its content, so the window is the pane its parts size against (@container pane). */
  container: pane / inline-size;
}

.modal-backdrop.backdrop-locked[b-01bk0y4fgb] {
  cursor: default;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}
.modal[b-01bk0y4fgb] {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    max-width: min(700px, 90dvw);
    max-height: 85dvh;
    overflow: hidden;
    animation: dialog-popin-b-01bk0y4fgb 0.25s;
    position: relative;
}

.modal.mobile[b-01bk0y4fgb] {
  max-width: 90dvw;
}

/* Das Kameramodul nimmt so viel vom Bildschirm, wie ein Dialog darf — ohne die 700px, die für Formulare gelten.
   Seine Größe setzt es selbst aus dem Seitenverhältnis der Kamera (CameraSurface, FitToCamera). */
.modal.camera[b-01bk0y4fgb] {
  max-width: 90dvw;
}

/* Capturing a delivery beside its Lieferschein needs both side by side: as wide as a dialog may be. */
.modal.wide[b-01bk0y4fgb] {
  max-width: 96dvw;
}

/* Ein Formular, das mit wenig Inhalt öffnet und erst nach der ersten Wahl wächst (Bestand erfassen: erst das
   Lager, dann Position und Menge), soll nicht mit einer handschmalen Lagerliste beginnen. Nur eine Untergrenze —
   wächst der Inhalt, darf der Dialog mitwachsen. */
.modal.form-min[b-01bk0y4fgb] {
  min-width: min(520px, 90dvw);
}

@keyframes dialog-fadein-b-01bk0y4fgb {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dialog-popin-b-01bk0y4fgb {
  0% { transform: scale(0.95); opacity: 0.7; }
  80% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-backdrop[b-01bk0y4fgb],
  .modal[b-01bk0y4fgb] {
    animation: none;
  }
}
/* /Components/Shared/Documents/DocumentForm.razor.rz.scp.css */
/* Der Ablageort: eine Angabe, kein Link — deshalb dunkelgrau und ohne Hover. Die Symbole behalten ihre Farbe. */
.df-crumbs[b-6r0khl1ygn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    background: var(--surface-alt, #f5f5f5);
    font-size: var(--fs-sm);
    color: var(--color-gray-700, #374151);
}

.df-crumb[b-6r0khl1ygn] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.3rem;
}

    .df-crumb.is-current[b-6r0khl1ygn] {
        font-weight: 600;
    }

.df-crumb-sep[b-6r0khl1ygn] {
    color: #aaa;
    font-size: 0.75em;
}

.df-row[b-6r0khl1ygn] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .df-row[b-6r0khl1ygn] {
        grid-template-columns: 1fr;
    }
}

.df-drop[b-6r0khl1ygn] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    padding: 1.6rem 1rem;
    border: 2px dashed #b8c5cc;
    border-radius: 10px;
    background: #eef3f8;
    text-align: center;
    transition: border-color 120ms ease, background 120ms ease;
}

    .df-drop.drag-over[b-6r0khl1ygn] {
        border-color: var(--primary-color, #264653);
        background: rgba(38, 70, 83, 0.06);
    }

    /* Gewählt, aber noch nicht gespeichert: durchgezogen, damit es nicht wie eine leere Fläche aussieht. */
    .df-drop.has-file[b-6r0khl1ygn] {
        border-style: solid;
        border-color: var(--primary-color, #264653);
        background: rgba(38, 70, 83, 0.04);
    }

    .df-drop[b-6r0khl1ygn]  .df-file-input {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.df-camera[b-6r0khl1ygn] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .df-camera:hover:not(:disabled)[b-6r0khl1ygn] {
        background: color-mix(in srgb, var(--primary-color) 12%, white);
    }

    .df-camera:disabled[b-6r0khl1ygn] {
        opacity: 0.5;
        cursor: default;
    }

.df-prompt[b-6r0khl1ygn] {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

    .df-prompt i[b-6r0khl1ygn] {
        font-size: 1.8rem;
        color: #6c7a82;
    }

.df-drop.has-file .df-prompt i[b-6r0khl1ygn] {
    color: var(--primary-color, #264653);
}

.df-prompt .primary[b-6r0khl1ygn] {
    margin: 0;
    font-weight: 500;
    color: #333;
}

.df-prompt .secondary[b-6r0khl1ygn] {
    margin: 0;
    font-size: var(--fs-sm);
    color: #888;
}
/* /Components/Shared/Documents/DocumentPreviewDialog.razor.rz.scp.css */
/* Die Ansicht ist eine Spalte. Ihre Höhe ist die des Dialogs (85dvh) abzüglich der Einzüge, die DialogContent um
   den Rumpf legt (20px oben, 1rem unten): genau so hoch, dass der Rumpf nichts zu scrollen hat. */
.dp-root[b-4j92826zrp] {
    --dp-height: calc(85dvh - 20px - 1rem - 2px);
    display: flex;
    flex-direction: column;
    max-height: var(--dp-height);
}

    .dp-root.is-fill[b-4j92826zrp] {
        height: var(--dp-height);
    }

.dp-title[b-4j92826zrp] {
    flex-shrink: 0;
    margin: 0 0 0.5rem;
}

.dp-meta[b-4j92826zrp] {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: var(--fs-sm);
    color: var(--color-gray-500, #5c7180);
}

.dp-chip[b-4j92826zrp] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--primary-color, #00385e);
    font-weight: 600;
}

/* Die Bühne: eine ruhige Fläche, auf der die Datei so groß steht, wie der Dialog es zulässt. */
.dp-stage[b-4j92826zrp] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    background: #f5f7f9;
    overflow: hidden;
}

.dp-image[b-4j92826zrp] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dp-pdf[b-4j92826zrp] {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.dp-media[b-4j92826zrp] {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.dp-audio[b-4j92826zrp] {
    width: min(100%, 420px);
    margin: 2rem 1rem;
}

.dp-fallback[b-4j92826zrp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 2.5rem 1rem;
    text-align: center;
}

    .dp-fallback i[b-4j92826zrp] {
        font-size: 2.5rem;
        color: #9aa9b3;
        margin-bottom: 0.5rem;
    }

    .dp-fallback p[b-4j92826zrp] {
        margin: 0;
    }

    .dp-fallback .primary[b-4j92826zrp] {
        font-weight: 600;
        color: var(--color-gray-700, #374151);
    }

    .dp-fallback .secondary[b-4j92826zrp] {
        font-size: var(--fs-sm);
        color: var(--color-gray-500, #5c7180);
    }

.dp-footer[b-4j92826zrp] {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    background: var(--surface, white);
    position: relative;
    z-index: 1;
}

/* /Components/Shared/Documents/DocumentsView.razor.rz.scp.css */
.documents-view[b-2co1dhvzqm] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 280px;
    max-height: 70dvh;
    overflow: hidden;
}

/* Only the folders scroll; the breadcrumb, the toolbar and the footer stay put. */
.documents-body[b-2co1dhvzqm] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.documents-breadcrumb[b-2co1dhvzqm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    background: var(--surface-alt, #f5f5f5);
    border-radius: 0.5rem;
    font-size: var(--fs-sm);
}

.documents-breadcrumb .breadcrumb-btn[b-2co1dhvzqm] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-color, #264653);
}

.documents-breadcrumb .breadcrumb-btn:hover[b-2co1dhvzqm] {
    background: rgba(0, 0, 0, 0.05);
}

.documents-breadcrumb .breadcrumb-btn.active[b-2co1dhvzqm] {
    font-weight: 600;
}

.documents-breadcrumb .breadcrumb-sep[b-2co1dhvzqm] {
    color: #999;
    font-size: 0.75em;
}

.documents-breadcrumb .breadcrumb-root[b-2co1dhvzqm] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color, #264653);
    font-weight: 600;
}

.documents-toolbar[b-2co1dhvzqm] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Upload sits at the left, the search + filter/sort/view action bar fills the rest of the row. */
.documents-actionbar[b-2co1dhvzqm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Rides the dialog's animated lower edge (data-dialog-bottom), so it needs to be opaque and stacked
   above the body it slides over while the box grows. */
.documents-footer[b-2co1dhvzqm] {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.5rem;
    background: var(--surface, white);
    position: relative;
    z-index: 1;
}

.documents-tree-host[b-2co1dhvzqm] {
    padding: 0.25rem 0;
}

.documents-grid[b-2co1dhvzqm] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    /* Vertical room only: sideways the tiles keep the dialog's edges (a negative margin would make the body scroll sideways). */
    padding: 0.25rem 0;
}

.documents-empty[b-2co1dhvzqm] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    color: #888;
    text-align: center;
}

.documents-empty i[b-2co1dhvzqm] {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.doc-tile[b-2co1dhvzqm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.6rem;
    background: white;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.doc-tile.folder[b-2co1dhvzqm] {
    text-align: center;
}

.doc-tile > i[b-2co1dhvzqm] {
    font-size: 2rem;
}

.doc-tile:hover[b-2co1dhvzqm] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #cdd;
}

.doc-tile-main[b-2co1dhvzqm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 0;
}

.doc-tile-main > i[b-2co1dhvzqm] {
    font-size: 2rem;
    color: #555;
}

.doc-tile.file[b-2co1dhvzqm] {
    cursor: default;
}

.doc-tile-label[b-2co1dhvzqm] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    width: 100%;
}

.doc-tile-label .primary[b-2co1dhvzqm] {
    font-weight: 500;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.doc-tile-label .secondary[b-2co1dhvzqm] {
    font-size: var(--fs-sm);
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.doc-tile-label .meta[b-2co1dhvzqm] {
    font-size: var(--fs-sm);
    color: #aaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.doc-tile-owner[b-2co1dhvzqm] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 100%;
    margin-top: 0.15rem;
    padding: 0.15rem 0.45rem;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: var(--surface-alt, #f5f5f5);
    color: #555;
    font-size: var(--fs-sm);
    cursor: pointer;
}

.doc-tile-owner span[b-2co1dhvzqm] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-tile-owner:hover[b-2co1dhvzqm] {
    border-color: var(--primary-color, #264653);
    color: var(--primary-color, #264653);
}

.documents-resultcount[b-2co1dhvzqm] {
    font-size: var(--fs-sm);
    color: #777;
    padding: 0 0.25rem;
}

.doc-tile-menu[b-2co1dhvzqm] {
    position: absolute;
    top: 0.15rem;
    right: 0.15rem;
    opacity: 0;
    transition: opacity 120ms ease;
}

.doc-tile.file:hover .doc-tile-menu[b-2co1dhvzqm],
.doc-tile-menu:focus-within[b-2co1dhvzqm] {
    opacity: 1;
}

.documents-loading[b-2co1dhvzqm] {
    padding: 1rem;
}
/* /Components/Shared/Documents/DocumentTargetDialog.razor.rz.scp.css */
.upload-form[b-r4yajt7rfj] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
}

.upload-breadcrumb[b-r4yajt7rfj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.5rem;
    background: var(--surface-alt, #f5f5f5);
    border-radius: 0.5rem;
    font-size: var(--fs-sm);
}

.upload-breadcrumb .crumb-btn[b-r4yajt7rfj] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    border-radius: 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    /* Dunkelgrau statt Blau: hier ist der Pfad eine Angabe, wohin hochgeladen wird, kein Link — blaue Schrift
       sah aus wie etwas zum Anklicken. Die Symbole behalten ihre Farbe. */
    color: var(--color-gray-700, #374151);
}

.upload-breadcrumb .crumb-btn:hover:not(:disabled)[b-r4yajt7rfj] {
    background: rgba(0, 0, 0, 0.06);
}

.upload-breadcrumb .crumb-btn:disabled[b-r4yajt7rfj] {
    cursor: default;
    opacity: 0.85;
}

.upload-breadcrumb .crumb-btn.active[b-r4yajt7rfj] {
    font-weight: 600;
}

.upload-breadcrumb .crumb-current[b-r4yajt7rfj] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.45rem;
    font-weight: 600;
}

.upload-breadcrumb .crumb-sep[b-r4yajt7rfj] {
    color: #aaa;
    font-size: 0.75em;
}

.picker-step[b-r4yajt7rfj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.picker-label[b-r4yajt7rfj] {
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--primary-color, #264653);
}

/* The form itself scrolls now, so the grid just lays the type tiles out. */
.picker-grid[b-r4yajt7rfj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
    /* Vertical room only: sideways the tiles keep the dialog's edges (a negative margin would make the body scroll sideways). */
    padding: 0.25rem 0;
}

.picker-tile[b-r4yajt7rfj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    border: 1px solid #e2e2e2;
    border-radius: 0.55rem;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
    min-height: 90px;
}

.picker-tile i[b-r4yajt7rfj] {
    font-size: 1.6rem;
}

.picker-tile span[b-r4yajt7rfj] {
    font-size: var(--fs-sm);
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

/* Mirrors the browser's folder tiles, which name their document total under the label. */
.picker-tile .picker-tile-count[b-r4yajt7rfj] {
    color: #999;
}

.picker-tile:hover[b-r4yajt7rfj] {
    transform: translateY(-1px);
    border-color: var(--primary-color, #264653);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
/* /Components/Shared/Documents/DocumentToolbar.razor.rz.scp.css */
/* One action bar: inline search grows to fill, the ActionGroup strip hugs the right (the same strip the
   table header carries). The strip never gives up width — the search field is what yields. */
.doc-toolbar[b-63sr6oc4h3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.doc-toolbar[b-63sr6oc4h3]  .action-group {
    flex-shrink: 0;
}

/* --- Search field (shared by the inline desktop host and the collapsed mobile panel) --- */
.doc-search[b-63sr6oc4h3] {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

/* Desktop: the search grows to fill the bar. Below 640px it hides for the collapsed button. */
.doc-search-inline[b-63sr6oc4h3] {
    flex: 1;
}

.doc-search-embedded[b-63sr6oc4h3] {
    width: 100%;
}

.doc-search-icon[b-63sr6oc4h3] {
    position: absolute;
    left: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

/* The input is rendered by DebouncedInput (a child component), so it needs ::deep to cross the scope.
   A sunken field without a border, like ListHead's search, at the height of the strip's chips. */
.doc-search[b-63sr6oc4h3]  input {
    width: 100%;
    height: 36px;
    /* right padding clears the clear button + the global-scope toggle sitting inside the field */
    padding: 0 3.9rem 0 2.2rem;
    border: 0;
    border-radius: 9px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-ink);
    background: var(--surface-sunken);
    box-shadow: none;
}

.doc-search[b-63sr6oc4h3]  input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.doc-search[b-63sr6oc4h3]  input:focus {
    outline: none;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--accent-color);
}

/* No scope toggle in the field (the upload picker) — reclaim its right padding and reseat the clear button. */
.doc-search-scopeless[b-63sr6oc4h3]  input {
    padding-right: 2.4rem;
}

.doc-search-scopeless .doc-search-clear[b-63sr6oc4h3] {
    right: 0.4rem;
}

.doc-search-clear[b-63sr6oc4h3] {
    position: absolute;
    right: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
    border-radius: 6px;
}

.doc-search-clear:hover[b-63sr6oc4h3] {
    background: rgba(16, 40, 64, 0.06);
    color: var(--text-ink);
}

/* The "Überall suchen" scope toggle, seated at the right edge of the search field. */
.doc-search-global[b-63sr6oc4h3] {
    position: absolute;
    right: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.doc-search-global:hover[b-63sr6oc4h3] {
    background: rgba(16, 40, 64, 0.06);
    color: var(--primary-color, #264653);
}

.doc-search-global.active[b-63sr6oc4h3] {
    background: var(--primary-color, #264653);
    color: white;
}

/* The collapsed search lives in the actions strip; only shown on narrow viewports. */
.doc-search-mobile[b-63sr6oc4h3] {
    display: none;
}

/* Combined selector so it beats the base .doc-toolbar-panel sizing that follows it in the sheet. */
.doc-toolbar-panel.doc-search-panel[b-63sr6oc4h3] {
    min-width: 17rem;
    max-width: 24rem;
}

@container pane (max-width: 640px) {
    .doc-search-inline[b-63sr6oc4h3] {
        display: none;
    }

    .doc-search-mobile[b-63sr6oc4h3] {
        display: inline-flex;
    }
}

/* The chips themselves (filter, sort, scope, view switch) are ActionGroup's — see
   Components/Shared/Action/ActionGroup.razor.css. Only their panels are styled here. */

/* --- Filter / sort popover panels (teleported into the ContextMenu outlet, which adds no chrome) --- */
.doc-toolbar-panel[b-63sr6oc4h3] {
    min-width: 15rem;
    max-width: 20rem;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    /* The shared menu card (--menu-* in template.css). */
    background: var(--menu-surface);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
}

.doc-toolbar-panel-title[b-63sr6oc4h3] {
    margin: 0.35rem 0 0.15rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #777;
}

.doc-toolbar-panel-title:first-child[b-63sr6oc4h3] {
    margin-top: 0;
}

/* Pivot between the two filter sets: documents on screen vs the folders below them. */
.doc-toolbar-tabs[b-63sr6oc4h3] {
    display: flex;
    gap: 0.15rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #eee;
}

.doc-toolbar-tab[b-63sr6oc4h3] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
    padding: 0.35rem 0.5rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: #777;
    cursor: pointer;
    font-size: var(--fs-sm);
    font-weight: 500;
}

.doc-toolbar-tab:hover:not(.selected)[b-63sr6oc4h3] {
    background: rgba(0, 0, 0, 0.04);
}

.doc-toolbar-tab.selected[b-63sr6oc4h3] {
    background: rgba(38, 70, 83, 0.09);
    color: var(--primary-color, #264653);
    font-weight: 600;
}

/* Inline, unlike the button's corner badge: it labels the tab rather than floating over an icon. */
.doc-toolbar-tab-count[b-63sr6oc4h3] {
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--primary-color, #264653);
    color: white;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.doc-toolbar-filter-row[b-63sr6oc4h3] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.25rem 0;
}

.doc-toolbar-filter-label[b-63sr6oc4h3] {
    font-size: var(--fs-sm);
    color: #555;
    font-weight: 500;
}

/* The shared menu row (--menu-* in template.css). */
.doc-toolbar-option[b-63sr6oc4h3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--menu-item-gap);
    width: 100%;
    min-height: var(--menu-item-min-height);
    padding: var(--menu-item-padding);
    border: none;
    border-radius: var(--menu-item-radius);
    background: transparent;
    color: var(--menu-item-ink);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background-color 0.06s ease-out;
}

.doc-toolbar-option:hover[b-63sr6oc4h3] {
    background: var(--menu-item-hover);
}

.doc-toolbar-option.selected[b-63sr6oc4h3] {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
    font-weight: 600;
}

.doc-toolbar-option.selected:hover[b-63sr6oc4h3] {
    background: var(--menu-item-selected-hover);
}

.doc-toolbar-panel-footer[b-63sr6oc4h3] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
    border-top: 1px solid #eee;
    padding-top: 0.4rem;
}

.doc-toolbar-reset[b-63sr6oc4h3] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--primary-color, #264653);
    cursor: pointer;
    font-size: var(--fs-sm);
}

.doc-toolbar-reset:disabled[b-63sr6oc4h3] {
    color: #bbb;
    cursor: default;
}

.doc-toolbar-reset:not(:disabled):hover[b-63sr6oc4h3] {
    background: rgba(0, 0, 0, 0.04);
}
/* /Components/Shared/Documents/DocumentTree.razor.rz.scp.css */
.doc-tree[b-e811a9c8hp] {
    display: flex;
    flex-direction: column;
}

.doc-tree-row[b-e811a9c8hp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0.4rem;
    background: transparent;
    border: none;
    text-align: left;
    font: inherit;
    color: inherit;
}

.doc-tree-row.folder[b-e811a9c8hp] {
    cursor: pointer;
}

.doc-tree-row.folder:hover[b-e811a9c8hp] {
    background: rgba(0, 0, 0, 0.03);
}

/* Caret is its own hit target (toggle only); the ::after widens it for touch without shifting layout. */
.doc-tree-caret-btn[b-e811a9c8hp] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.85rem;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.doc-tree-caret-btn[b-e811a9c8hp]::after {
    content: "";
    position: absolute;
    inset: -0.5rem -0.35rem;
}

.doc-tree-caret[b-e811a9c8hp] {
    font-size: 0.8rem;
    color: #9aa8b5;
    width: 0.85rem;
    flex-shrink: 0;
    transition: rotate 0.12s ease-in-out;
}

.doc-tree-caret-btn:hover .doc-tree-caret[b-e811a9c8hp] {
    color: var(--primary-color, #264653);
}

.doc-tree-caret.expanded[b-e811a9c8hp] {
    rotate: 90deg;
}

.doc-tree-icon[b-e811a9c8hp] {
    font-size: 1.2rem;
    width: 1.5rem;
    text-align: center;
    color: #555;
    flex-shrink: 0;
}

.doc-tree-open[b-e811a9c8hp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    /* Align file rows with folder rows, which lead with a caret. */
    padding-left: calc(0.85rem + 0.6rem);
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
}

/* Folder rows lead with a real caret button, so their body drops the caret-width spacer. */
.doc-tree-open-folder[b-e811a9c8hp] {
    padding-left: 0;
}

.doc-tree-open:hover .primary[b-e811a9c8hp] {
    text-decoration: underline;
}

.doc-tree-text[b-e811a9c8hp] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.doc-tree-text .primary[b-e811a9c8hp] {
    font-weight: 500;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-tree-text .secondary[b-e811a9c8hp] {
    font-size: var(--fs-sm);
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-tree-row.file[b-e811a9c8hp] {
    padding: 0;
}

.doc-tree-row.file .doc-tree-open[b-e811a9c8hp] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.doc-tree-empty[b-e811a9c8hp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.5rem 1rem;
    color: #888;
    text-align: center;
}

.doc-tree-empty i[b-e811a9c8hp] {
    font-size: 1.6rem;
}

/* The nested Table lists carry their own hairlines; keep them transparent inside the tree. */
.doc-tree[b-e811a9c8hp]  .list {
    background: transparent;
}
/* /Components/Shared/Documents/EntityDocuments.razor.rz.scp.css */
/* The panel follows the preview panels (.preview-* in app.css): 18px inset, hairlines in --surface-line, ink and
   muted text from the tokens. A container, so the upload button can drop its label in a narrow aside. */
.entity-docs[b-xud044tf0z] {
    display: flex;
    flex-direction: column;
    container-type: inline-size;
}

.entity-docs-loading[b-xud044tf0z] {
    padding: 14px 18px;
}

.entity-docs-filterbar[b-xud044tf0z] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--surface-line);
}

/* Same build as ListHead's primary button, at the height of the strip's chips beside it and of the preview head's buttons (36px). */
.entity-docs-upload[b-xud044tf0z] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.entity-docs-upload:hover[b-xud044tf0z] {
    background: color-mix(in srgb, var(--primary-color) 88%, #000);
}

@container (max-width: 420px) {
    .entity-docs-upload[b-xud044tf0z] {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .entity-docs-upload span[b-xud044tf0z] {
        display: none;
    }
}

.entity-docs-tree[b-xud044tf0z] {
    padding: 6px 8px;
}

.entity-docs-list[b-xud044tf0z] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.entity-docs-list li[b-xud044tf0z] {
    border-top: 1px solid var(--surface-line);
}

.entity-docs-list li:first-child[b-xud044tf0z] {
    border-top: none;
}

.entity-docs-row[b-xud044tf0z] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px 10px 18px;
    background: transparent;
    border: none;
    text-align: left;
    font: inherit;
}

.entity-docs-row.folder[b-xud044tf0z] {
    padding-right: 18px;
    cursor: pointer;
}

.entity-docs-row:hover[b-xud044tf0z] {
    background: #f7fafc;
}

.entity-docs-row > i[b-xud044tf0z],
.entity-docs-open > i[b-xud044tf0z] {
    font-size: 1.15rem;
    width: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    flex-shrink: 0;
}

.entity-docs-open[b-xud044tf0z] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-align: left;
}

.entity-docs-open:hover .primary[b-xud044tf0z] {
    color: var(--accent-color);
}

.entity-docs-label[b-xud044tf0z] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.entity-docs-label .primary[b-xud044tf0z] {
    font-weight: 700;
    color: var(--text-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entity-docs-label .secondary[b-xud044tf0z] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.entity-docs-row > i.entity-docs-chevron[b-xud044tf0z] {
    font-size: 0.9rem;
    width: auto;
    color: #b6c2ce;
}

.entity-docs-row.folder:hover .entity-docs-chevron[b-xud044tf0z] {
    color: var(--accent-color);
}

.entity-docs-row.file[b-xud044tf0z]  .context-menu-toggle {
    flex-shrink: 0;
}

/* Breadcrumb */
.entity-docs-breadcrumb[b-xud044tf0z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--surface-line);
    font-size: var(--fs-sm);
}

.entity-docs-crumb[b-xud044tf0z] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 12rem;
    padding: 4px 6px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--accent-color);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.entity-docs-crumb span[b-xud044tf0z] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entity-docs-crumb:hover:not(.active)[b-xud044tf0z] {
    background: var(--surface-sunken);
}

.entity-docs-crumb.active[b-xud044tf0z] {
    font-weight: 700;
    color: var(--text-ink);
    cursor: default;
}

.entity-docs-crumb-sep[b-xud044tf0z] {
    font-size: 0.7rem;
    color: #b6c2ce;
}

/* Empty state */
.entity-docs-empty[b-xud044tf0z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 18px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.entity-docs-empty i[b-xud044tf0z] {
    font-size: 1.6rem;
    color: var(--accent-color);
}

/* Folder pagination */
.entity-docs-pagination[b-xud044tf0z] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 18px;
    border-top: 1px solid var(--surface-line);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.entity-docs-pagination button[b-xud044tf0z] {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-sunken);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-color);
}

.entity-docs-pagination button:hover:not(:disabled)[b-xud044tf0z] {
    background: #dde8f2;
}

.entity-docs-pagination button:disabled[b-xud044tf0z] {
    opacity: 0.4;
    cursor: default;
}
/* /Components/Shared/Documents/EntityFolderBrowser.razor.rz.scp.css */
/* Folder presentation for one browser level. The grid itself is the table's list-style-tiles rule; these
   are the tiles and rows that sit in it, matching the browser's own folder tiles and the entity card's rows. */

.folder-browser[b-4ifw8pnpmy] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Tiles */
.folder-tile[b-4ifw8pnpmy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.75rem 0.5rem;
    border: 1px solid #e2e2e2;
    border-radius: 0.55rem;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
    min-height: 90px;
}

.folder-tile:hover[b-4ifw8pnpmy] {
    transform: translateY(-1px);
    border-color: var(--primary-color, #264653);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.folder-tile-icon[b-4ifw8pnpmy] {
    font-size: 1.6rem;
}

.folder-tile-label[b-4ifw8pnpmy],
.folder-tile-meta[b-4ifw8pnpmy] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
}

.folder-tile-label[b-4ifw8pnpmy] {
    color: #333;
}

.folder-tile-meta[b-4ifw8pnpmy] {
    color: #999;
}

/* Rows */
.folder-row[b-4ifw8pnpmy] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: transparent;
    border: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.folder-row:hover[b-4ifw8pnpmy] {
    background: rgba(0, 0, 0, 0.03);
}

.folder-row-icon[b-4ifw8pnpmy] {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.folder-row-text[b-4ifw8pnpmy] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.folder-row-text .primary[b-4ifw8pnpmy] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.folder-row-text .secondary[b-4ifw8pnpmy] {
    font-size: var(--fs-sm);
    color: #999;
}

.folder-row-chevron[b-4ifw8pnpmy] {
    font-size: 0.75rem;
    color: #bbb;
    flex-shrink: 0;
}
/* /Components/Shared/DrilldownPivot.razor.rz.scp.css */
/* Bewusst dieselbe Optik wie Pivot (Unterstrich-Tabs, kein Chip-Look): CSS-Isolation reicht nicht über
   Komponentengrenzen, deshalb sind die tragenden Regeln aus Pivot.razor.css hier gespiegelt. Wer dort an
   Größen/Farben dreht, muss es hier mitziehen. */

.dpivot-root[b-ec77pz09n5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dpivot-bar[b-ec77pz09n5] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.dpivot-bar[b-ec77pz09n5]::-webkit-scrollbar {
    display: none;
}

.dpivot-tab[b-ec77pz09n5] {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    background: none;
    border: none;
    border-radius: 0;
    font-size: var(--fs-base);
    font-weight: 400;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
    outline: none;
    overflow: visible;
    box-shadow: none;
}

.dpivot-tab:hover:not(.active)[b-ec77pz09n5] {
    color: #374151;
    box-shadow: none;
    background: none;
}

.dpivot-tab.active[b-ec77pz09n5] {
    color: var(--primary-color, #111827);
    font-weight: 600;
}

/* Unterstrich des aktiven Tabs */
.dpivot-indicator[b-ec77pz09n5] {
    position: absolute;
    bottom: 0;
    left: 7.5%;
    right: 7.5%;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--primary-color, #2563eb);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.dpivot-tab.active .dpivot-indicator[b-ec77pz09n5] {
    transform: scaleX(1);
    opacity: 1;
}

/* Zurück-Caret: führt den Pfad an, deshalb schmal und ohne eigenen Unterstrich. */
.dpivot-back[b-ec77pz09n5] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-left: -0.35rem;
    padding: 0.55rem 0.45rem;
    background: none;
    border: none;
    border-radius: var(--border-radius, 6px);
    color: var(--primary-color, #2563eb);
    font-size: var(--fs-base);
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: none;
}

.dpivot-back:hover[b-ec77pz09n5] {
    background: var(--color-gray-200, #e5e7eb);
    box-shadow: none;
}

/* Pfadeinträge sind Tabs wie alle anderen, nur eine Spur zurückgenommen — sie beschreiben, wo man ist,
   die Auswahl trifft man rechts vom Trenner. */
.dpivot-crumb .dpivot-tab-label[b-ec77pz09n5] {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dpivot-crumb:not(.active)[b-ec77pz09n5] {
    color: #9ca3af;
}

.dpivot-divider[b-ec77pz09n5] {
    flex-shrink: 0;
    align-self: center;
    width: 1px;
    height: 1.1rem;
    margin: 0 0.5rem;
    background: var(--color-gray-200, #e5e7eb);
}

/* Caret an Tabs mit Unterebene: dieselbe Andeutung wie in den Drill-down-Selects. */
.dpivot-drill[b-ec77pz09n5] {
    font-size: 0.75em;
    color: var(--color-gray-300, #d1d5db);
    transition: color 0.2s ease, transform 0.2s ease;
}

.dpivot-tab.has-children:hover .dpivot-drill[b-ec77pz09n5] {
    color: var(--primary-color, #2563eb);
    transform: translateX(2px);
}

.dpivot-tab.active .dpivot-drill[b-ec77pz09n5] {
    color: var(--primary-color, #2563eb);
}

/* Inhalt */
.dpivot-content[b-ec77pz09n5] {
    padding-top: 0.75rem;
    overflow: visible;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.dpivot-content:empty[b-ec77pz09n5] {
    display: none;
}

.dpivot-slide-right[b-ec77pz09n5] {
    animation: dpivot-slide-in-right-b-ec77pz09n5 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.dpivot-slide-left[b-ec77pz09n5] {
    animation: dpivot-slide-in-left-b-ec77pz09n5 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes dpivot-slide-in-right-b-ec77pz09n5 {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dpivot-slide-in-left-b-ec77pz09n5 {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dpivot-slide-right[b-ec77pz09n5],
    .dpivot-slide-left[b-ec77pz09n5] {
        animation: none;
    }
}

/* Opt-in: große Seiten-Tabs, wie .pivot-xl */
.dpivot-root.dpivot-xl .dpivot-tab[b-ec77pz09n5],
.dpivot-root.dpivot-xl .dpivot-back[b-ec77pz09n5] {
    font-size: var(--fs-lg);
}

/* Schmaler Streifen: nur der nächste Vorfahre bleibt stehen, die weiter oben liegenden Ebenen erreicht
   man über das Zurück-Caret. */
@media (max-width: 640px) {
    .dpivot-crumb.far[b-ec77pz09n5] {
        display: none;
    }

    .dpivot-crumb .dpivot-tab-label[b-ec77pz09n5] {
        max-width: 7rem;
    }
}
/* /Components/Shared/Editing/SaveBar.razor.rz.scp.css */
/* Dark, so it reads as the app's own chrome and never as part of the content; the same everywhere. */
.save-bar[b-uq045qlf3b] {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: var(--surface-radius, 14px);
    background: var(--primary-color, #00385e);
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 40, 64, 0.28), 0 1px 3px rgba(16, 40, 64, 0.18);
    animation: save-bar-in-b-uq045qlf3b 0.18s ease-out;
}

/* Not as wide as the content: a compact bar centred at the bottom, as wide as its text and buttons (at most the room
   it stands in). Dialogs keep it as their full-width foot. */
.save-bar:not(.in-dialog)[b-uq045qlf3b] {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 8px 24px;
}

.save-bar:not(.in-dialog) .save-bar-text[b-uq045qlf3b] {
    flex: 0 1 auto;
}

/* At a host's bottom (a list's middle, which turns into a column while it holds the bar — app.css): pushed down
   below short content, centred in that column. */
.save-bar.hosted[b-uq045qlf3b] {
    margin-top: auto;
    align-self: center;
}

/* Phones scroll the page under the fixed tab bar: the bar stands on it. */
@media (max-width: 640px) {
    .save-bar:not(.in-dialog)[b-uq045qlf3b] {
        bottom: calc(var(--app-tabbar-h, 0px) + 12px);
    }
}

/* A dialog's foot: no floating dark bar but the window's own bottom strip — flush with its edges (the frame clips the
   corners), set apart by a light tint, plain buttons with only the commit in the accent colour. */
.save-bar.in-dialog[b-uq045qlf3b] {
    position: static;
    margin-top: 0;
    padding: 12px 30px;
    border-radius: 0;
    background: var(--page-ground, #eef3f8);
    color: var(--text-muted, #5a6878);
    box-shadow: none;
    animation: none;
}

.save-bar.in-dialog .save-bar-text[b-uq045qlf3b] {
    font-weight: 600;
}

.save-bar.in-dialog .save-bar-btn[b-uq045qlf3b] {
    background: #fff;
    color: var(--text-ink, #17283a);
}

.save-bar.in-dialog .save-bar-btn:hover[b-uq045qlf3b] {
    background: color-mix(in srgb, var(--accent-color, #0d6cac) 8%, #fff);
}

.save-bar.in-dialog .save-bar-btn:focus-visible[b-uq045qlf3b] {
    outline-color: var(--accent-color, #0d6cac);
}

.save-bar.in-dialog .save-bar-btn.primary[b-uq045qlf3b] {
    background: var(--accent-color, #0d6cac);
    color: #fff;
}

.save-bar.in-dialog .save-bar-btn.primary:hover:not(:disabled)[b-uq045qlf3b] {
    background: color-mix(in srgb, var(--accent-color, #0d6cac) 88%, #000);
}

.save-bar.in-dialog .save-bar-btn.danger[b-uq045qlf3b] {
    background: #fdecec;
    color: #b42318;
}

.save-bar.in-dialog .save-bar-notice[b-uq045qlf3b] {
    color: #b54708;
}

.save-bar-text[b-uq045qlf3b] {
    flex: 1 1 180px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: var(--fs-sm);
    font-weight: 700;
}

.save-bar-notice[b-uq045qlf3b] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffd166;
}

.save-bar-buttons[b-uq045qlf3b] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}

.save-bar-btn[b-uq045qlf3b] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.save-bar-btn:hover[b-uq045qlf3b] {
    background: rgba(255, 255, 255, 0.2);
}

.save-bar-btn:focus-visible[b-uq045qlf3b] {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.save-bar-btn.primary[b-uq045qlf3b] {
    background: #2f8fd0;
}

.save-bar-btn.primary:hover:not(:disabled)[b-uq045qlf3b] {
    background: #3a9ee0;
}

.save-bar-btn.danger[b-uq045qlf3b] {
    background: #fdecec;
    color: #b42318;
}

.save-bar-btn:disabled[b-uq045qlf3b] {
    opacity: 0.5;
    cursor: default;
}

@keyframes save-bar-in-b-uq045qlf3b {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .save-bar[b-uq045qlf3b] {
        animation: none;
    }
}
/* /Components/Shared/EntityChangeDetail.razor.rz.scp.css */
/* The entry's life under the head, oldest first, one cell per step — the strip the article preview has for its
   figures. The step this feed entry is about carries the accent. */
.ecd-life[b-zqw8vx4sbh] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin: 0;
    border-top: 1px solid var(--surface-line);
}

.ecd-life > div[b-zqw8vx4sbh] {
    padding: 12px 18px;
    border-left: 1px solid var(--surface-line);
    min-width: 0;
}

.ecd-life > div:first-child[b-zqw8vx4sbh] {
    border-left: 0;
}

.ecd-life dt[b-zqw8vx4sbh] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.ecd-life dt i[b-zqw8vx4sbh] {
    margin-right: 5px;
}

.ecd-life > div.is-current dt[b-zqw8vx4sbh] {
    color: var(--accent-color);
}

.ecd-life dd[b-zqw8vx4sbh] {
    margin: 2px 0 0;
}

.ecd-life b[b-zqw8vx4sbh] {
    display: block;
    color: var(--text-ink);
    font-weight: 700;
}

.ecd-life small[b-zqw8vx4sbh] {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ecd-members[b-zqw8vx4sbh] {
    list-style: none;
    margin: 0;
    padding: 0 18px 14px;
}

.ecd-members li[b-zqw8vx4sbh] {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 7px 0;
    border-top: 1px solid var(--surface-line);
}

.ecd-members li:first-child[b-zqw8vx4sbh] {
    border-top: 0;
}

.ecd-member-name[b-zqw8vx4sbh] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ecd-members small[b-zqw8vx4sbh] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    flex: none;
}

.ecd-entity[b-zqw8vx4sbh] {
    margin-top: 16px;
}

/* The audit log: one entry per write, the changed fields beneath with before (struck) and after. */
.ecd-audit[b-zqw8vx4sbh] {
    list-style: none;
    margin: 0;
    padding: 0 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ecd-audit-head[b-zqw8vx4sbh] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: var(--fs-sm);
}

.ecd-audit-head small[b-zqw8vx4sbh] {
    color: var(--text-muted);
}

.ecd-audit dl[b-zqw8vx4sbh] {
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--fs-xs);
}

.ecd-audit dl div[b-zqw8vx4sbh] {
    display: grid;
    grid-template-columns: minmax(90px, 30%) minmax(0, 1fr);
    gap: 8px;
}

.ecd-audit dt[b-zqw8vx4sbh] {
    color: var(--text-muted);
}

.ecd-audit dd[b-zqw8vx4sbh] {
    margin: 0;
    overflow-wrap: anywhere;
}

.ecd-audit s[b-zqw8vx4sbh] {
    color: var(--text-muted);
}
/* /Components/Shared/EntityChangeDisplay.razor.rz.scp.css */
/* Row geometry mirrors the Compact list item (Components/Shared/Table/ListItems/CompactListItem.razor.css):
   44px two-line row, leading icon, title + meta, trailing actions. Deliberate deviation: the icon keeps its
   high-contrast fill (solid entity colour, white glyph) instead of Compact's tinted circle. */
.entity-change-display[b-kooa4ttsl3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    min-height: 44px;
}

.icon[b-kooa4ttsl3] {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    background: var(--accent-color);
    cursor: pointer;
}

.entity-change-display__content[b-kooa4ttsl3] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* The change sentence can outrun a narrow column; truncate like a list title (full text in the tooltip). */
.activity-title[b-kooa4ttsl3] {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--fs-base);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-meta[b-kooa4ttsl3] {
    color: var(--color-gray-500, #5c7180);
    font-size: var(--fs-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/EntityForms/BulkEditForm.razor.rz.scp.css */
.bulk-edit-form[b-apggfcv8w1] {
    width: 100%;
    max-height: 85dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ::deep — the <form> is EditForm's own element and carries no scope attribute of this component. */
.bulk-edit-form[b-apggfcv8w1] >  form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.bulk-edit-form .header[b-apggfcv8w1] {
    padding: 20px 30px 0;
    flex-shrink: 0;
    background-color: #fff;
    z-index: 2;
}

.bulk-edit-form .title[b-apggfcv8w1] {
    margin-bottom: 0.25rem;
    margin-left: 0;
    color: var(--primary-color);
    font-size: var(--fs-xl);
    font-weight: bold;
}

.bulk-edit-form .hint[b-apggfcv8w1] {
    margin-bottom: 0.5rem;
    font-size: var(--fs-sm);
    color: #6b7280;
}

/* Wrapper carries the height bound, content carries the padding — see EntityForm.razor.css. */
.bulk-edit-form[b-apggfcv8w1]  .body {
    padding: 0 30px 1rem;
}

/* No height of its own — same reasoning as EntityForm.razor.css: .bulk-edit-form caps at 85dvh and
   clips, header and footer do not shrink, so the flex chain hands this precisely the remainder. */
.bulk-edit-form[b-apggfcv8w1]  .body-scroll {
    flex: 1 1 auto;
    min-height: 0;
}

.bulk-edit-form .footer[b-apggfcv8w1] {
    padding: 0.5rem 30px 20px;
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    background-color: #fff;
    z-index: 2;
}

.bulk-edit-form[b-apggfcv8w1]  .validation-summary {
    color: red;
    padding: 0.5rem 30px;
    /* Chrome, like the header and footer — see EntityForm.razor.css. */
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background-color: #fff;
}

.bulk-edit-form[b-apggfcv8w1]  .validation-summary li {
    margin-bottom: 0.25rem;
}

/* One block per field: the switch decides whether the field is written at all, the editor what to. Until it is
   on the editor reads as inactive but stays clickable — the click turns it on. The field keeps the form's full
   width, so the switch takes no column of its own. */
.bulk-field[b-apggfcv8w1] {
    position: relative;
}

/* Sits at the right end of the field's label line, not beside its input — that is the row it decides about. */
.bulk-field-toggle[b-apggfcv8w1] {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* The label must not run under the switch. */
.bulk-field-editor[b-apggfcv8w1]  > .mb-3 > label {
    padding-right: 3.5rem;
}

.bulk-field:not(.is-applied) .bulk-field-editor[b-apggfcv8w1] {
    opacity: 0.5;
    cursor: pointer;
}

.bulk-field:not(.is-applied) .bulk-field-editor[b-apggfcv8w1]  * {
    pointer-events: none;
}
/* /Components/Shared/EntityForms/CollectionFieldRenderer.razor.rz.scp.css */
.collection-editor[b-w0r4aq9psc] {
    display: flex;
    flex-direction: column;
}

.collection-editor--simple[b-w0r4aq9psc] {
    gap: 0.5rem;
}

/* Every row spans the full field width, so its fields share the left and right edges of the form's other
   fields. The remove button therefore takes no width of its own: it sits inside the field (simple lists) or on the
   label line (owned items). */
.collection-editor__row[b-w0r4aq9psc] {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.collection-editor__body[b-w0r4aq9psc] {
    flex: 1 1 auto;
    min-width: 0;
}

/* Owned items: one entry per block, separated by a hairline. */
.collection-editor--owned .collection-editor__row[b-w0r4aq9psc] {
    --row-pad: 0px;
}

.collection-editor--owned .collection-editor__row + .collection-editor__row[b-w0r4aq9psc] {
    --row-pad: 0.75rem;
    margin-top: 0.75rem;
    padding-top: var(--row-pad);
    border-top: 1px solid #e8edf2;
}

.collection-editor__remove[b-w0r4aq9psc] {
    position: absolute;
    right: 0;
    top: var(--row-pad, 0px);
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #8695a5;
    background: transparent;
    border: 1px solid transparent;
    transition: color 0.15s, background 0.15s;
}

/* Simple lists: inside the field at its right end, centred on the 40px input (the first line of a textarea). */
.collection-editor--simple .collection-editor__remove[b-w0r4aq9psc] {
    top: 20px;
    right: 0.45rem;
    transform: translateY(-50%);
}

.collection-editor__remove:hover[b-w0r4aq9psc] {
    color: var(--accent-red);
    background: color-mix(in srgb, var(--accent-red) 10%, transparent);
}

/* Per Tab angewählt: der Fokusring wie überall (app.css), dazu eine schwache Fassung der roten Hover-Tönung. */
.collection-editor__remove:focus-visible[b-w0r4aq9psc] {
    color: color-mix(in srgb, var(--accent-red) 75%, #8695a5);
    background: color-mix(in srgb, var(--accent-red) 6%, transparent);
}

.collection-editor__remove i[b-w0r4aq9psc] {
    font-size: 0.875rem;
}

/* Keep text clear of the remove button inside the field; a scan button moves left of it. */
.collection-editor--simple.collection-editor--removable[b-w0r4aq9psc]  :is(input, textarea) {
    padding-right: 2.4rem;
}

.collection-editor--simple.collection-editor--removable[b-w0r4aq9psc]  .scanner-inline-field .form-control {
    padding-right: 4.4rem;
}

.collection-editor--simple.collection-editor--removable[b-w0r4aq9psc]  .scanner-inline-button {
    right: 2.1rem;
}

/* Owned items: the last label must not run under the remove button at the line's end. */
.collection-editor--owned.collection-editor--removable[b-w0r4aq9psc]  .form-rail > .mb-3:last-child > label {
    padding-right: 1.9rem;
}

.collection-editor__error[b-w0r4aq9psc] {
    color: var(--accent-red);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.collection-editor__error--collection[b-w0r4aq9psc] {
    margin-top: 0.35rem;
}

/* Add: a full-width, regular form button that always sits last in the list, on the same edges as the fields. */
.collection-editor__addrow[b-w0r4aq9psc] {
    display: flex;
}

.collection-editor--owned .collection-editor__addrow[b-w0r4aq9psc] {
    margin-top: 0.75rem;
}

.collection-editor__addrow[b-w0r4aq9psc]  .collection-editor__add {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    justify-content: center;
    text-align: center;
}
/* /Components/Shared/EntityForms/EntityForm.razor.rz.scp.css */
.entity-form[b-s5xcbddh8a] {
  width: 100%;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ::deep: the <form> is EditForm's own element, so it carries no scope attribute of this component.
   Written as a plain `.entity-form-edit` this compiled to `.entity-form-edit[b-...]` and matched nothing,
   leaving the form a plain block between .entity-form and the body. A block flex item has min-height: auto,
   i.e. it cannot shrink below its content, so .entity-form's 85dvh cap clipped the form instead of the body
   scrolling inside it. The body's own max-height: 60dvh used to hide that by bounding the scroller directly;
   with that gone (and rightly so) nothing bounded it at all. Same shape, same reason as BulkEditForm.razor.css. */
.entity-form[b-s5xcbddh8a] >  .entity-form-edit {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.entity-form .header[b-s5xcbddh8a] {
  padding: 20px 30px 0;
  flex-shrink: 0;
  background-color: #fff;
  z-index: 2;
}

.entity-form .title[b-s5xcbddh8a] {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: var(--fs-xl);
  font-weight: bold;
  margin-left: 0;
}

/* Two different boxes, deliberately separated: .body is the padded scroll *content*, .body-scroll is
   the ScrollShadow wrapper around it (the Pivot root plays the wrapper's role in the grouped shape).
   The height bound belongs on the wrapper. Capping .body instead clamps the content box while the
   fields keep flowing past its bottom edge, which strands its padding-bottom mid-content and leaves
   the last field flush against the scroller's clip — slicing that field's bottom border and the
   validation outline drawn just outside it. */
.entity-form[b-s5xcbddh8a]  .body {
  padding: 0 30px 1rem;
}

/* Deliberately no height of its own. .entity-form caps the whole form at 85dvh and clips; the header
   and footer do not shrink; so `flex: 1 1 auto` + `min-height: 0` already hand this exactly the room
   that is left over — which is the right height by construction.
   It used to carry max-height: 60dvh (70dvh below 640px) on top of that, and a fixed fraction can
   only be wrong in one of two directions: loose enough that it plus the header, validation row and
   footer overshoot the outer cap (Flexbox then squeezed it back, so the number never applied), or
   tight enough to make a short form scroll inside a dialog that had room to spare. A fraction of the
   viewport cannot know how tall the chrome above and below it is. The flex chain can. */
.entity-form[b-s5xcbddh8a]  .body-scroll,
.entity-form[b-s5xcbddh8a]  .body.pivot-root {
  flex: 1 1 auto;
  min-height: 0;
}

.entity-form .footer[b-s5xcbddh8a] {
  padding: 0.5rem 30px 20px;
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  background-color: #fff;
  z-index: 2;
}

/* Grouped forms render the body as a <Pivot Class="body">, so the .body height bound (max-height
   above) lands on the pivot root rather than on a scroll container. Thread that bound down the
   pivot's flex chain so the active panel's inner ScrollShadow becomes the scroller, while the tab
   bar stays pinned — matching the non-grouped path where .body is itself the scroller. */
.entity-form[b-s5xcbddh8a]  .body.pivot-root {
  overflow: hidden;
  /* The shared .body inset puts 1rem below the pivot root, i.e. outside the scroller — useless as
     breathing room for the last field. Drop it here and move that padding inside the panel scroller
     (below), matching the non-grouped path where .body is itself the scroller. */
  padding-bottom: 0;
}

.entity-form[b-s5xcbddh8a]  .body.pivot-root > .pivot-label,
.entity-form[b-s5xcbddh8a]  .body.pivot-root > .pivot-bar {
  flex-shrink: 0;
}

.entity-form[b-s5xcbddh8a]  .body.pivot-root > .pivot-content,
.entity-form[b-s5xcbddh8a]  .body.pivot-root > .pivot-content-all {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Pivot's own padding-top would sit outside the scroller (a fixed gap below the tab bar), clipping
     content before it reaches the bar's shadow. Move that spacing inside the scroller (below) so it
     scrolls away with the content. */
  /* padding-top: 0; */
  /* The per-panel scroller uses a -5px horizontal margin + 5px inner padding (ScrollShadow Class="mx-[-5px]"
     wrapping a px-[5px] div in GeneratedEntityFormBodyCore) so field borders/focus rings clear the scroll
     clip by 5px. This overflow:hidden would re-clip that 5px overhang and slice the borders, so push the
     clip box out by the same 5px: the negative margin keeps panels aligned with the tab bar/header/footer,
     the padding restores the content box. (There is 30px of body padding on each side to absorb it.) */
  margin-left: -5px;
  margin-right: -5px;
  padding-left: 5px;
  padding-right: 5px;
}

.entity-form[b-s5xcbddh8a]  .body.pivot-root .pivot-panel.visible {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* ScrollShadow renders .scroll-shadow-wrapper > .scroll-shadow, so the scroller is the panel's
   GRANDCHILD. This named it as a child and therefore matched nothing — and because .body.pivot-root
   drops the shared 1rem bottom inset on the understanding that it is restored in here, a grouped
   (tabbed) form was left with no bottom breathing room at all: the last field sat flush against the
   scroller's clip and was sliced in half by it, immediately above the footer.
   Only the inset belongs here. The wrapper already carries flex/min-height from ScrollShadow's own
   stylesheet, and the gap below the tab bar still comes from .pivot-content's own padding-top, which
   sits outside the scroller — moving that inside too is a separate change. */
.entity-form[b-s5xcbddh8a]  .body.pivot-root .pivot-content > .scroll-shadow-wrapper > .scroll-shadow,
.entity-form[b-s5xcbddh8a]  .body.pivot-root .pivot-panel > .scroll-shadow-wrapper > .scroll-shadow {
  padding-bottom: 1rem;
}

/* Keep the tab bar opaque and above the scrolling panel so its scroll shadow reads over the content. */
.entity-form[b-s5xcbddh8a]  .body.pivot-root > .pivot-bar {
  position: relative;
  z-index: 1;
  background-color: #fff;
}

.entity-form[b-s5xcbddh8a]  .validation-summary {
    color: red;
    padding: 0.5rem 30px 0.5rem;
    /* Chrome, like the header and footer: with the flex chain above now actually bounding the form, a
       shrinkable row here would give up part of its height to a long body and clip its own message —
       exactly when there is a message to read. */
    flex-shrink: 0;
    /* Sits directly below the scroller and carries the bottom scroll shadow, so it must paint above
       the scrolling content (like the header/footer chrome). */
    position: relative;
    z-index: 2;
    background-color: #fff;
}

/* .entity-form ::deep .validation-summary ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
} */
.entity-form[b-s5xcbddh8a]  .validation-summary li {
    margin-bottom: 0.25rem;
}
.entity-form[b-s5xcbddh8a]  .validation-summary li::marker {
    color: red;
    
}

.entity-form[b-s5xcbddh8a]  .pivot-tab.invalid {
    color: #dc2626;
}

/* ── Create wizard (EntityForm.Wizard.cs) ─────────────────────── */
/* Where the reader is, small under the title. */
.entity-form .wizard-progress[b-s5xcbddh8a] {
  margin: -0.25rem 0 0.5rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* The step's question leads; its sentence says what the answer is for. */
.entity-form[b-s5xcbddh8a]  .wizard-question {
  margin: 0.25rem 0 0.35rem;
  color: var(--text-ink);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.entity-form[b-s5xcbddh8a]  .wizard-hint {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.entity-form[b-s5xcbddh8a]  .wizard-field-hint {
  margin: -0.35rem 0 0.85rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

/* The summary: what was answered, label beside value, hairlines between. */
.entity-form[b-s5xcbddh8a]  .wizard-summary {
  margin: 0;
  border-radius: var(--surface-radius);
  background: var(--surface-sunken);
  overflow: hidden;
}

.entity-form[b-s5xcbddh8a]  .wizard-summary > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid #fff;
}

.entity-form[b-s5xcbddh8a]  .wizard-summary > div:first-child {
  border-top: 0;
}

.entity-form[b-s5xcbddh8a]  .wizard-summary dt {
  color: var(--text-muted);
}

.entity-form[b-s5xcbddh8a]  .wizard-summary dd {
  margin: 0;
  color: var(--text-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* The dialog's foot is the save bar (SaveBar Dialog): the window's light bottom strip, flush with its edges. */
.entity-form .footer.save-footer[b-s5xcbddh8a] {
  display: block;
  padding: 0;
  margin-top: 0.5rem;
}

/* In place (a list's middle, a table row): no dialog height cap and no clipping — the fields flow with the page,
   and the save bar sticks to the bottom of whatever scrolls around it, which overflow: hidden would prevent. */
.entity-form.inline[b-s5xcbddh8a] {
  max-height: none;
  overflow: visible;
}

.entity-form.inline[b-s5xcbddh8a]  .body {
  padding: 4px 18px 14px;
}

.entity-form.inline[b-s5xcbddh8a]  .validation-summary {
  padding: 0.25rem 18px 0.5rem;
  background-color: transparent;
}

.entity-form.inline[b-s5xcbddh8a]  .save-bar {
  margin: 0 auto 12px;
}
/* /Components/Shared/EntityForms/EntityFormField.razor.rz.scp.css */
.entity-form-field[b-1hqefp5ob9] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* label to control, as FieldRenderer (mb-1) */
}

.entity-form-field__label[b-1hqefp5ob9] {
  display: block;
  font-weight: 500;
  margin: 0;
}

.entity-form-field__required[b-1hqefp5ob9] {
  color: var(--primary-color);
  margin-left: 0.15rem;
}

.entity-form-field__control[b-1hqefp5ob9] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.entity-form-field__validation[b-1hqefp5ob9] {
  margin-top: -0.1rem;
}

[b-1hqefp5ob9] .entity-form-field__validation .validation-message {
  display: block;
}
.entity-form-field__description[b-1hqefp5ob9] {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
}
/* /Components/Shared/EntityForms/FormRail.razor.rz.scp.css */
/* No padding or rail of its own: the sub-form's fields keep the form's edges, so they line up with the fields
   above and below it (the scroll area clips 5px outside the fields — there is no gutter to draw a rail in). */
.form-rail[b-gd9dq6jl54] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 0.6rem;
}

/* Lay the sub-form's fields out side by side (they each render inside an .mb-3 block). */
.form-rail[b-gd9dq6jl54]  .mb-3 {
    margin-bottom: 0;
    flex: 1 1 160px;
    min-width: 0;
}
/* /Components/Shared/EntityForms/OwnedObjectFieldRenderer.razor.rz.scp.css */
.owned-field[b-sy2038ua0k] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.owned-field__label[b-sy2038ua0k] {
    font-weight: 500;
    line-height: 1.3;
}
/* /Components/Shared/EntityForms/ScanInputNumber.razor.rz.scp.css */
.scanner-inline-field[b-x6f4goqtiw] {
    position: relative;
}

.scanner-inline-field[b-x6f4goqtiw]  .form-control {
    padding-right: 2.5rem;
}

.scanner-inline-button[b-x6f4goqtiw] {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--primary-color);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.scanner-inline-button:hover[b-x6f4goqtiw] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}
/* /Components/Shared/EntityForms/TypedValueEditor.razor.rz.scp.css */
.select-inline-scan-btn[b-zmu9nhq564] {
    width: 2rem;
    height: 100%;
    border: none;
    border-left: 1px solid var(--color-gray-200);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.select-inline-scan-btn:hover[b-zmu9nhq564] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}
/* /Components/Shared/EntityPreview.razor.rz.scp.css */
/* The fields as the preview's key/value rows (ArticlePreview's Eigenschaften): muted label, bold value, a hairline
   between rows, the panel's 18px inset — instead of the DataGrid's bare block. */
.ep-props[b-ohso8pcmwa]  .data-card-grid {
    grid-template-columns: minmax(140px, 1fr) 2fr;
    gap: 0;
    border-top: 1px solid var(--surface-line);
}

.ep-props[b-ohso8pcmwa]  .data-card-label,
.ep-props[b-ohso8pcmwa]  .data-card-value {
    margin: 0;
    padding: 9px 18px;
    border-top: 1px solid #f0f3f6;
}

.ep-props[b-ohso8pcmwa]  .data-card-label:nth-child(1),
.ep-props[b-ohso8pcmwa]  .data-card-value:nth-child(2) {
    border-top: 0;
}

.ep-props[b-ohso8pcmwa]  .data-card-label {
    color: var(--text-muted);
    font-weight: 400;
}

.ep-props[b-ohso8pcmwa]  .data-card-value {
    padding-left: 0;
    color: var(--text-ink);
    font-weight: 700;
}
/* /Components/Shared/EntitySelect.razor.rz.scp.css */
.entity-select-footer[b-ijgb2hjlqy] {
    display: flex;
    justify-content: center;
}

.entity-select-load-more[b-ijgb2hjlqy] {
    width: 100%;
    text-align: left;
    font-size: var(--fs-sm);
    color: var(--color-gray-500);
    font-style: italic;
    font-weight: 600;
    padding: 4px 6px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.entity-select-load-more:hover:enabled[b-ijgb2hjlqy] {
    color: var(--color-gray-700);
}

.entity-select-load-more:disabled[b-ijgb2hjlqy] {
    opacity: 0.6;
    cursor: default;
}

.entity-select-scan-btn[b-ijgb2hjlqy] {
    width: 3rem;
    height: 100%;
    border: none;
    border-left: 1px solid var(--color-gray-200);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.entity-select-scan-btn:hover[b-ijgb2hjlqy] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}

/* Actions overlaid on the search input's right edge (filter, scanner). */
.entity-select-search-aside[b-ijgb2hjlqy] {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

/* Inline-mode scanner: overlaid on the search input's right edge (mirrors TextInput's scanner-inline-button). */
.entity-select-search-scan-btn[b-ijgb2hjlqy],
.entity-select-filter-btn[b-ijgb2hjlqy] {
    position: relative;
    border: none;
    background: transparent;
    color: var(--primary-color);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.entity-select-search-scan-btn:hover[b-ijgb2hjlqy] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}

.entity-select-filter-btn[b-ijgb2hjlqy] {
    color: var(--color-gray-500, #5c7180);
}

.entity-select-filter-btn:hover[b-ijgb2hjlqy] {
    background: color-mix(in srgb, var(--accent-color) 12%, white);
}

.entity-select-filter-btn.active[b-ijgb2hjlqy] {
    color: var(--primary-color);
}

.entity-select-filter-badge[b-ijgb2hjlqy] {
    position: absolute;
    top: -0.1rem;
    right: -0.1rem;
    min-width: 0.85rem;
    padding: 0 0.15rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.55rem;
    line-height: 0.85rem;
    text-align: center;
    font-weight: 600;
}

/* --- In-dropdown filter panel --- */

.entity-select-filter-panel[b-ijgb2hjlqy] {
    display: flex;
    flex-direction: column;
    max-height: 40vh;
    overflow-y: auto;
}

.entity-select-filter-row[b-ijgb2hjlqy] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem 0;
}

.entity-select-filter-row + .entity-select-filter-row[b-ijgb2hjlqy] {
    border-top: 1px solid #f1f5f9;
}

.entity-select-filter-label[b-ijgb2hjlqy] {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #374151;
}

.entity-select-filter-footer[b-ijgb2hjlqy] {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.3rem;
}

.entity-select-filter-reset[b-ijgb2hjlqy] {
    border: none;
    background: transparent;
    color: var(--color-gray-500, #5c7180);
    cursor: pointer;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.3rem;
    border-radius: 6px;
}

.entity-select-filter-reset:hover:not(:disabled)[b-ijgb2hjlqy] {
    background: #f1f5f9;
}

.entity-select-filter-reset:disabled[b-ijgb2hjlqy] {
    opacity: 0.4;
    cursor: default;
}
/* /Components/Shared/Expander.razor.rz.scp.css */
.expander-toggle[b-lr0nfjew9c] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 18px;
    border: 0;
    border-top: 1px solid var(--surface-line);
    background: transparent;
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.expander-toggle:hover[b-lr0nfjew9c] {
    background: var(--surface-sunken);
}

.expander-toggle:focus-visible[b-lr0nfjew9c] {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.expander-label[b-lr0nfjew9c] {
    flex: none;
}

.expander-summary[b-lr0nfjew9c] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
    font-weight: 600;
}

.expander-chevron[b-lr0nfjew9c] {
    margin-left: auto;
    flex: none;
    color: var(--text-muted);
    transition: transform 0.22s ease;
}

.is-open .expander-chevron[b-lr0nfjew9c] {
    transform: rotate(180deg);
}

/* 0fr → 1fr animates the content's own height; the inner box clips while the row is shorter than it. */
.expander-body[b-lr0nfjew9c] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.22s ease;
}

.is-open .expander-body[b-lr0nfjew9c] {
    grid-template-rows: 1fr;
}

.expander-inner[b-lr0nfjew9c] {
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.is-open .expander-inner[b-lr0nfjew9c] {
    opacity: 1;
}

/* Shown open for good: nothing slides when it becomes static. */
.is-static .expander-body[b-lr0nfjew9c],
.is-static .expander-inner[b-lr0nfjew9c] {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .expander-body[b-lr0nfjew9c],
    .expander-inner[b-lr0nfjew9c],
    .expander-chevron[b-lr0nfjew9c] {
        transition: none;
    }
}
/* /Components/Shared/FooterMenu.razor.rz.scp.css */
footer[b-78wku28riy] {
    background: rgba(0, 0, 0, 0.1);
    animation: show-footer-b-78wku28riy 0.5s forwards;
    animation-delay: 1s;
    opacity: 0;
}

ul[b-78wku28riy] {
    list-style: none;
    display: grid;
    margin: 0;
    padding: 5px;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
}

li[b-78wku28riy] {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: show-footer-b-78wku28riy 0.5s forwards;
    opacity: 0;
}

[b-78wku28riy] i {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

p[b-78wku28riy] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--primary-color);
}

[b-78wku28riy] a {
    width: 100%;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
    gap: 5px;
    flex-direction: column;
    background: white;
    margin: 0;
    border-radius: var(--border-radius);
    text-decoration: none;
}

    [b-78wku28riy] a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    @keyframes show-footer-b-78wku28riy {
        from {
            transform: translateY(10px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes show-item-b-78wku28riy {
        from {
            transform: translateY(10px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
/* /Components/Shared/ListColumns.razor.rz.scp.css */
/* List | grip | middle. The grip column is the gap between the two; --lp-list-w is the width dragged at it
   (ListColumns.razor.js). Until someone drags, the list takes 30% of the screen, never less than 340px. */
.lp-split[b-isxs2vpw92] {
    display: grid;
    grid-template-columns: var(--lp-list-w, max(340px, 30vw)) 16px minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

/* The grip: the aside's resize bar (SplitView .aside-resize-bar) stood in the gap, at the middle of the visible
   height. */
.lp-grip[b-isxs2vpw92] {
    position: relative;
    align-self: stretch;
    cursor: col-resize;
    touch-action: none;
    user-select: none;
}

.lp-grip-bar[b-isxs2vpw92] {
    position: absolute;
    left: 50%;
    top: min(50%, calc(var(--lp-full, 100%) / 2));
    transform: translate(-50%, -50%);
    width: 5px;
    height: 44px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease;
}

.lp-grip:hover .lp-grip-bar[b-isxs2vpw92] {
    background: rgba(0, 0, 0, 0.3);
}

.lp-grip:focus-visible[b-isxs2vpw92] {
    outline: none;
}

.lp-grip:focus-visible .lp-grip-bar[b-isxs2vpw92],
.lp-split.is-resizing .lp-grip-bar[b-isxs2vpw92] {
    background: color-mix(in srgb, var(--accent-color) 65%, rgba(0, 0, 0, 0.3));
    box-shadow: 0 0 7px 1px color-mix(in srgb, var(--accent-color) 55%, transparent), 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* While dragging, the whole page follows the grip: its cursor everywhere, no text selected on the way. */
.lp-split.is-resizing[b-isxs2vpw92] {
    cursor: col-resize;
    user-select: none;
}

.lp-list[b-isxs2vpw92] {
    min-width: 0;
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    overflow: hidden;
}

/* The middle is a pane of its own: what it shows sizes itself against its width (@container pane), not the window's —
   a list dragged wide leaves a narrow middle on a wide screen. "middle" is for rules that concern the middle only. */
.lp-middle[b-isxs2vpw92] {
    min-width: 0;
    container: pane middle / inline-size;
}

@media (min-width: 641px) {
    /* The columns are exactly the visible height (app bar, tablets' tab bar, the page margin above and below): the list's
       panel reaches the bottom however few rows it has, the middle can centre in it (--lp-full), and each column
       scrolls on its own instead of the page. */
    .lp-split[b-isxs2vpw92] {
        --lp-full: calc(100dvh - var(--app-topbar-h) - var(--app-tabbar-h, 0px) - 2 * var(--main-padding, 20px));
        height: var(--lp-full);
        grid-template-rows: minmax(0, 1fr);
    }

    /* Above the middle's shadow margin, which reaches into the gap. */
    .lp-grip[b-isxs2vpw92] {
        z-index: 1;
    }

    /* The middle scrolls by itself. It reaches 14px into the gap and past its right edge, padded back by as much,
       so its cards' shadows are not clipped at the scroller's sides. */
    .lp-middle[b-isxs2vpw92] {
        align-self: stretch;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        margin: 0 -14px;
        padding: 0 14px;
    }

    /* The list's panel is a column: head and notice keep their height, the rows take the rest. A table's own
       scroll body is what scrolls then, so its pager stays at the panel's bottom; any other list scrolls as a
       whole inside .lp-rows. */
    .lp-list[b-isxs2vpw92] {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .lp-head[b-isxs2vpw92],
    .lp-above[b-isxs2vpw92] {
        flex: none;
    }

    .lp-rows[b-isxs2vpw92] {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .lp-rows[b-isxs2vpw92]  > * {
        flex-shrink: 0;
    }

    .lp-rows[b-isxs2vpw92]  > :is(.list, .table).scroll-body {
        --table-body-max-height: none;
        flex: 1 1 auto;
        min-height: 0;
    }

    .lp-rows[b-isxs2vpw92]  > .table.scroll-body {
        grid-template-rows: minmax(0, 1fr);
    }

    /* Without a pager below, the scroller's closing line would sit on the panel's own bottom edge. */
    .lp-rows[b-isxs2vpw92]  > .list.scroll-body:last-child .list-items {
        border-bottom: 0;
    }

    .lp-list[b-isxs2vpw92] {
        align-self: stretch;
    }

    /* Inside the list's panel a card of its own would be a frame in a frame: it lies flat there, set off by
       hairlines. */
    .lp-above[b-isxs2vpw92] {
        border-top: 1px solid var(--surface-line);
    }

    /* A notice that has nothing to say renders nothing — no hairline for it either. */
    .lp-above:not(:has(*))[b-isxs2vpw92] {
        display: none;
    }

    .lp-above[b-isxs2vpw92]  .card {
        margin: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
}

@media (min-width: 1025px) {
    /* Inside the SplitView the pane keeps 15px of padding below for card shadows; at full height that made the
       pane scroll by exactly those 15px. The columns hand them back. */
    .lp-split.in-split[b-isxs2vpw92] {
        margin-bottom: -15px;
    }
}

/* The back band exists on phones only; the aside's toggle and drawer on tablets only. */
.lp-back[b-isxs2vpw92],
.lp-aside-toggle[b-isxs2vpw92],
.lp-aside-scrim[b-isxs2vpw92],
.lp-aside-drawer[b-isxs2vpw92] {
    display: none;
}

/* Tablets: list and middle like the desktop, but no room for the aside beside them. A tab on the right edge fetches
   it over the page; a tap beside it or the tab again puts it away. */
@media (min-width: 641px) and (max-width: 1024px) {
    .lp-aside-toggle[b-isxs2vpw92] {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 0;
        top: 50%;
        z-index: 26;
        width: 32px;
        height: 56px;
        transform: translateY(-50%);
        border: 0;
        border-radius: 12px 0 0 12px;
        background: #fff;
        color: var(--text-muted);
        box-shadow: var(--surface-shadow);
        cursor: pointer;
    }

    .lp-aside-toggle[aria-expanded="true"][b-isxs2vpw92] {
        right: min(440px, 85vw);
    }

    .lp-aside-scrim[b-isxs2vpw92] {
        display: block;
        position: fixed;
        inset: var(--app-topbar-h) 0 var(--app-tabbar-h, 0px) 0;
        z-index: 24;
        background: rgba(10, 25, 40, 0.18);
    }

    .lp-aside-drawer[b-isxs2vpw92] {
        display: block;
        position: fixed;
        top: var(--app-topbar-h);
        right: 0;
        bottom: var(--app-tabbar-h, 0px);
        z-index: 25;
        width: min(440px, 85vw);
        padding: var(--main-padding);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--page-ground);
        box-shadow: -8px 0 30px rgba(10, 25, 40, 0.18);
    }
}

/* Phones: one column. The head (ListHead) becomes the dark band under the app bar; the panel gives way so it can,
   and the rows become a card of their own below. With a pick the middle stands alone instead of the list, under a
   band like the app bar that leads back to it; a page whose middle is its point keeps it between head and rows
   (MiddleOnPhones). */
@media (max-width: 640px) {
    .lp-split[b-isxs2vpw92] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .lp-middle[b-isxs2vpw92],
    .lp-grip[b-isxs2vpw92] {
        display: none;
    }

    .lp-list[b-isxs2vpw92] {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .lp-middle[b-isxs2vpw92] {
        min-width: 0;
    }

    .lp-above[b-isxs2vpw92] {
        margin-bottom: 12px;
    }

    .lp-rows[b-isxs2vpw92] {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 2px 10px rgba(16, 40, 64, 0.07);
        overflow: hidden;
    }

    /* A main list is the whole page under the band: white from the band's lower edge to the bottom of the screen,
       the rows edge to edge without a card of their own. The white below the rows is a shadow of the panel pushed
       down by as much as it spreads — it starts at the panel's top (the band paints over it there) and reaches the
       window's bottom however few rows there are, and as ink it never makes the page scroll. Not below a detail
       page's header, where the list is one part of the page among others. */
    .lp-split:not(.middle-on-phones) .lp-list[b-isxs2vpw92] {
        background: #fff;
        box-shadow: 0 100vh 0 100vh #fff;
    }

    .lp-split:not(.middle-on-phones) .lp-head[b-isxs2vpw92]  .list-head:not(.with-filters) {
        margin-bottom: 0;
    }

    .lp-split:not(.middle-on-phones) .lp-rows[b-isxs2vpw92] {
        margin: 0 calc(var(--main-padding) * -1);
        border-radius: 0;
        box-shadow: none;
    }

    /* As on the desktop, a main list is exactly the room between the app bar and the tab bar: the head stands still,
       only the rows scroll, and the pager stays on the tab bar. The bottom padding of .main is handed back so the
       rows reach the tab bar. A head and notice so tall that the rows would keep less than 12rem let the page
       scroll instead. */
    .lp-split:not(.middle-on-phones)[b-isxs2vpw92] {
        height: calc(100dvh - var(--app-topbar-h) - var(--app-tabbar-h) - var(--main-padding));
        margin-bottom: calc(var(--main-padding) * -1);
        grid-template-rows: minmax(0, 1fr);
    }

    /* Stretched to the split's height: the columns start at their content height (align-items: start), and a list
       of its natural height made the page scroll — head and pager went with the rows. */
    .lp-split:not(.middle-on-phones) .lp-list[b-isxs2vpw92] {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        min-height: 0;
    }

    .lp-split:not(.middle-on-phones) :is(.lp-head, .lp-above)[b-isxs2vpw92] {
        flex: none;
    }

    .lp-split:not(.middle-on-phones) .lp-rows[b-isxs2vpw92] {
        flex: 1 1 auto;
        min-height: 12rem;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .lp-split:not(.middle-on-phones) .lp-rows[b-isxs2vpw92]  > * {
        flex-shrink: 0;
    }

    .lp-split:not(.middle-on-phones) .lp-rows[b-isxs2vpw92]  > :is(.list, .table).scroll-body {
        --table-body-max-height: none;
        flex: 1 1 auto;
        min-height: 0;
    }

    .lp-split:not(.middle-on-phones) .lp-rows[b-isxs2vpw92]  > .table.scroll-body {
        grid-template-rows: minmax(0, 1fr);
    }

    /* The pager closes the rows off; the scroller's own closing line would double it. */
    .lp-split:not(.middle-on-phones) .lp-rows[b-isxs2vpw92]  > .list.scroll-body .list-items {
        border-bottom: 0;
    }

    /* The middle between the band and the rows: the list's panel dissolves so its parts and the middle are
       siblings in one column. */
    .middle-on-phones .lp-list[b-isxs2vpw92] {
        display: contents;
    }

    .middle-on-phones .lp-middle[b-isxs2vpw92] {
        display: block;
        position: static;
        order: 2;
        margin-bottom: 12px;
    }

    .middle-on-phones .lp-head[b-isxs2vpw92] {
        order: 1;
    }

    .middle-on-phones .lp-above[b-isxs2vpw92] {
        order: 3;
    }

    .middle-on-phones .lp-rows[b-isxs2vpw92] {
        order: 4;
    }
}

/* Phones with a pick: the middle alone. The list stays rendered (its scroll position and loaded page survive the
   way back) but out of sight; the split gives up the list's fixed height and the page scrolls the middle. */
@media (max-width: 640px) {
    .lp-split.has-pick:not(.middle-on-phones)[b-isxs2vpw92] {
        height: auto;
        margin-bottom: 0;
        grid-template-rows: auto;
    }

    .lp-split.has-pick:not(.middle-on-phones) > .lp-list[b-isxs2vpw92],
    .lp-split.has-pick:not(.middle-on-phones) > .lp-grip[b-isxs2vpw92] {
        display: none;
    }

    .lp-split.has-pick:not(.middle-on-phones) > .lp-middle[b-isxs2vpw92] {
        display: block;
    }

    /* The middle as a second view of the list (PhonesShowMiddle, the catalogue): the head stands still as with the
       rows, and the middle takes their place on the page ground and scrolls by itself — the split keeps the list's
       fixed height (the room between app bar and tab bar), the head its own row. */
    .lp-split.phone-middle:not(.has-pick)[b-isxs2vpw92] {
        grid-template-rows: auto minmax(0, 1fr);
    }

    .lp-split.phone-middle:not(.has-pick) > .lp-list[b-isxs2vpw92] {
        background: transparent;
        box-shadow: none;
    }

    .lp-split.phone-middle:not(.has-pick) > .lp-list > :is(.lp-rows, .lp-above)[b-isxs2vpw92] {
        display: none;
    }

    /* Stretched to its row: under the split's align-items: start it took its content's height, overflowed the
       split instead of scrolling, and nothing scrolled at all. */
    .lp-split.phone-middle:not(.has-pick) > .lp-middle[b-isxs2vpw92] {
        display: block;
        align-self: stretch;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px 0 var(--main-padding);
    }

    /* The band over the picked row: the app bar's colour, flush under it, edge to edge — like a page's head band. */
    .lp-split.has-pick .lp-back[b-isxs2vpw92] {
        display: flex;
        align-items: center;
        margin: calc(var(--main-padding) * -1) calc(var(--main-padding) * -1) 12px;
        padding: 0 var(--main-padding) 6px;
        background: var(--primary-color);
    }

    .lp-back button[b-isxs2vpw92] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 44px;
        padding: 0;
        border: 0;
        background: none;
        color: #b9d3e8;
        font-weight: 700;
        font-size: var(--fs-base);
        cursor: pointer;
    }
}
/* /Components/Shared/ListHead.razor.rz.scp.css */
.list-head[b-nrj2ga6r1j] {
    position: relative;
}

.list-head.standalone[b-nrj2ga6r1j] {
    margin-bottom: 16px;
    background: #fff;
    border-radius: var(--surface-radius);
    box-shadow: var(--surface-shadow);
    overflow: hidden;
}

.lh-band[b-nrj2ga6r1j] {
    padding: 16px 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-head:not(.with-filters) .lh-band[b-nrj2ga6r1j] {
    padding-bottom: 16px;
}

.lh-title[b-nrj2ga6r1j] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lh-title h1[b-nrj2ga6r1j] {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lh-alerts[b-nrj2ga6r1j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: #fff1de;
    color: #8a4b00;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 800;
    cursor: pointer;
}

/* ContextMenu marks its toggle with data-open in the same frame as the press. */
.lh-title[b-nrj2ga6r1j]  .lh-alerts-toggle {
    display: inline-flex;
    border-radius: 999px;
}

.lh-title[b-nrj2ga6r1j]  .lh-alerts-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.lh-title[b-nrj2ga6r1j]  .lh-alerts-toggle[data-open] .lh-alerts {
    box-shadow: inset 0 0 0 2px #e0a24a;
}

.lh-actions[b-nrj2ga6r1j] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lh-new[b-nrj2ga6r1j],
.lh-actions[b-nrj2ga6r1j]  .lh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.lh-new[b-nrj2ga6r1j] {
    background: var(--primary-color);
    color: #fff;
}

.lh-actions[b-nrj2ga6r1j]  .lh-btn {
    background: var(--surface-sunken);
    color: var(--primary-color);
}

.lh-actions[b-nrj2ga6r1j]  .lh-btn:hover {
    background: #dde8f2;
}

.lh-search[b-nrj2ga6r1j] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    max-width: 640px;
    padding: 0 5px 0 14px;
    border-radius: 10px;
    background: var(--surface-sunken);
    color: var(--text-muted);
}

/* In the list column (ListColumns, at most 460px wide) the title needs the room: further actions show their icon
   only, as on phones, and name themselves in their title. */
@media (min-width: 641px) {
    .list-head.embedded .lh-actions[b-nrj2ga6r1j]  .lh-btn {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .list-head.embedded .lh-actions[b-nrj2ga6r1j]  .lh-btn span {
        display: none;
    }

    /* A further action that is a page's second way in (Artikel: Familie) keeps its word beside Neu. */
    .list-head.embedded .lh-actions[b-nrj2ga6r1j]  .lh-btn.labelled {
        width: auto;
        padding: 0 14px;
    }

    .list-head.embedded .lh-actions[b-nrj2ga6r1j]  .lh-btn.labelled span {
        display: inline;
    }
}

/* A further action that throws work away (Umlagern: Verwerfen) is red — in the white panel and in the dark band. */
.lh-actions[b-nrj2ga6r1j]  .lh-btn.danger {
    background: var(--menu-item-danger);
    color: #fff;
}

.lh-actions[b-nrj2ga6r1j]  .lh-btn.danger:hover {
    background: color-mix(in srgb, var(--menu-item-danger) 85%, #000);
}

/* A further action that toggles a mode shows it is on. */
.lh-actions[b-nrj2ga6r1j]  .lh-btn.on {
    background: color-mix(in srgb, var(--accent-color) 16%, #fff);
    color: var(--accent-color);
}

.list-head.embedded .lh-search[b-nrj2ga6r1j] {
    max-width: none;
}

.lh-search[b-nrj2ga6r1j]  input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    outline: none;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    font-weight: 600;
    color: var(--text-ink);
}

.lh-search[b-nrj2ga6r1j] >  div {
    flex: 1;
    min-width: 0;
}

.lh-clear[b-nrj2ga6r1j] {
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.lh-scan[b-nrj2ga6r1j] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.lh-scan span[b-nrj2ga6r1j] {
    display: none;
}

/* The bubble under the badge. ContextMenu sets --menu-tip-x (the badge's centre in the panel) and data-side, so the
   tip points at the badge from whichever side the panel opened on. Solid white rather than the frosted menu surface:
   the tip sticks out of the panel, where no frost is behind it. */
.lh-alert-bubble[b-nrj2ga6r1j] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(30rem, calc(100vw - 32px));
    max-height: min(70vh, 36rem);
    border-radius: var(--menu-radius);
    background: #fff;
    box-shadow: var(--menu-shadow);
    color: var(--text-ink);
}

.lh-alert-bubble[b-nrj2ga6r1j]::before {
    content: "";
    position: absolute;
    top: -7px;
    left: calc(var(--menu-tip-x, 24px) - 8px);
    border: 8px solid transparent;
    border-top: 0;
    border-bottom: 7px solid #fff;
}

[data-side="above"] > .lh-alert-bubble[b-nrj2ga6r1j]::before {
    top: auto;
    bottom: -7px;
    border-bottom: 0;
    border-top: 7px solid #fff;
}

.lh-alert-bubble-head[b-nrj2ga6r1j] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 10px;
    font-weight: 800;
    color: #8a4b00;
}

.lh-alert-list[b-nrj2ga6r1j] {
    list-style: none;
    margin: 0;
    padding: 0 18px 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.lh-alert-list li[b-nrj2ga6r1j] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--surface-line);
}

.lh-alert-list[b-nrj2ga6r1j]  .lh-alert-entity {
    margin: 0 !important;
    align-self: flex-start;
}

.lh-alert-message[b-nrj2ga6r1j] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.4;
}

.lh-alert-more[b-nrj2ga6r1j] {
    margin: 0;
    padding: 8px 18px 14px;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ── Filter chips (ChipRow) ───────────────────────────────────── */
/* The row on the panel's 16px inset, 12px above its lower edge. */
.list-head[b-nrj2ga6r1j] {
    --chip-row-padding: 0 16px 12px;
    --chip-row-pad-bottom: 12px;
}

/* ── Running mass operations, along the lower edge ────────────── */
.lh-progress[b-nrj2ga6r1j] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.07);
}

.lh-progress-bar[b-nrj2ga6r1j] {
    height: 100%;
    background: var(--accent-color);
}

.lh-progress.determinate .lh-progress-bar[b-nrj2ga6r1j] {
    width: 0;
    transition: width 0.2s linear;
}

.lh-progress.indeterminate .lh-progress-bar[b-nrj2ga6r1j] {
    width: 30%;
    animation: lh-progress-slide-b-nrj2ga6r1j 1.15s ease-in-out infinite;
}

@keyframes lh-progress-slide-b-nrj2ga6r1j {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(440%); }
}

@media (prefers-reduced-motion: reduce) {
    .lh-progress.indeterminate .lh-progress-bar[b-nrj2ga6r1j] {
        width: 100%;
        animation: none;
        opacity: 0.55;
    }
}

/* ── Phones: the dark band under the app bar ──────── */
@media (max-width: 640px) {
    .list-head[b-nrj2ga6r1j],
    .list-head.standalone[b-nrj2ga6r1j] {
        margin-bottom: 12px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .lh-band[b-nrj2ga6r1j] {
        margin: calc(var(--main-padding) * -1) calc(var(--main-padding) * -1) 0;
        padding: 4px var(--main-padding) 20px;
        background: var(--primary-color);
        gap: 14px;
    }

    .list-head.with-filters .lh-band[b-nrj2ga6r1j],
    .list-head:not(.with-filters) .lh-band[b-nrj2ga6r1j] {
        padding-bottom: 20px;
    }

    .list-head.with-filters .lh-band[b-nrj2ga6r1j] {
        padding-bottom: 64px;
    }

    .lh-title h1[b-nrj2ga6r1j] {
        color: #fff;
        font-size: 2rem;
    }

    .lh-new[b-nrj2ga6r1j],
    .lh-actions[b-nrj2ga6r1j]  .lh-btn {
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    /* Only the icon of a further action fits beside the title on a phone. */
    .lh-actions[b-nrj2ga6r1j]  .lh-btn span {
        display: none;
    }

    .lh-search[b-nrj2ga6r1j] {
        height: 56px;
        max-width: none;
        padding: 0 6px 0 16px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 20, 40, 0.25);
    }

    .lh-search[b-nrj2ga6r1j]  input {
        font-size: var(--fs-md);
    }

    .lh-scan[b-nrj2ga6r1j] {
        height: 44px;
        padding: 0 14px;
        border-radius: 12px;
        background: var(--accent-color);
        color: #fff;
    }

    .lh-scan span[b-nrj2ga6r1j] {
        display: inline;
    }

    /* The chips on a white card of their own, overlapping the band's lower edge; finger-sized. */
    .list-head[b-nrj2ga6r1j] {
        --chip-row-padding: 8px;
        --chip-row-pad-bottom: 0px;
    }

    .list-head[b-nrj2ga6r1j]  .lh-chips {
        margin: -46px 0 0;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(16, 40, 64, 0.07);
        overflow: hidden;
    }

    .list-head[b-nrj2ga6r1j]  .lh-chips .lh-chip {
        height: 44px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: var(--fs-base);
    }
}

@media (max-width: 640px) {
    /* The main action keeps its word, but on the narrowest screens only its plus. */
    .lh-new span[b-nrj2ga6r1j] {
        display: none;
    }

    .lh-new[b-nrj2ga6r1j] {
        width: 44px;
        justify-content: center;
        padding: 0;
    }
}
/* /Components/Shared/LoadingSpinner.razor.rz.scp.css */
.loading-spinner[b-sc3c7dvn51] {
    --loading-spinner-size: 1.8rem;
    --loading-spinner-stroke: 0.16rem;
    display: inline-grid;
    place-items: center;
    width: var(--loading-spinner-size);
    height: var(--loading-spinner-size);
}

.loading-spinner-ring[b-sc3c7dvn51] {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: var(--loading-spinner-stroke) solid color-mix(in srgb, white 45%, transparent);
    border-top-color: color-mix(in srgb, var(--accent-color) 70%, white);
    animation: loading-spinner-rotate-b-sc3c7dvn51 0.85s linear infinite;
}

@keyframes loading-spinner-rotate-b-sc3c7dvn51 {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Shared/LoadingText.razor.rz.scp.css */
.loading-text[b-7e0btxxwp5] {
    --chars: 10;
    display: inline-block;
    width: calc(var(--chars) * 0.55ch);
    white-space: nowrap;
    overflow: hidden;
    user-select: none;

    /* show gradient through text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* blurred, heavy placeholder */
    background: linear-gradient(90deg, rgba(0,0,0,0.10) 8%, rgba(0,0,0,0.16) 20%, rgba(0,0,0,0.10) 32%);
    background-size: 200% 100%;
    filter: blur(1px) saturate(0.85) opacity(0.3);
    border-radius: 3px;

    /* animation */
    animation: loading-shimmer-b-7e0btxxwp5 3.4s linear infinite, loading-pulse-b-7e0btxxwp5 1.6s ease-in-out infinite;
}

@keyframes loading-shimmer-b-7e0btxxwp5 {
    0% { background-position: -150% 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 100% 0; }
}

@keyframes loading-pulse-b-7e0btxxwp5 {
    0% { opacity: 0.9; }
    50% { opacity: 0.65; }
    100% { opacity: 0.9; }
}
/* /Components/Shared/NotAuthorizedView.razor.rz.scp.css */
.access-denied[b-l5xaen5vrb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 60vh;
    padding: 24px;
    color: var(--text-color, #333);
}

.access-denied-icon[b-l5xaen5vrb] {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.access-denied h1[b-l5xaen5vrb] {
    margin: 0;
    font-size: 1.5rem;
}

.access-denied p[b-l5xaen5vrb] {
    margin: 0;
    max-width: 420px;
    opacity: 0.75;
}

.access-denied-home[b-l5xaen5vrb] {
    margin-top: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-var, 8px);
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
/* /Components/Shared/NumberInput.razor.rz.scp.css */
/* The same surface as every other field (app.css: input, textarea, select): filled, 10px radius, 40px high
   (30px buttons + 4px padding + 1px border), and the focus ring on the frame rather than the inner input. */
.number-input[b-enbyhi7p0z] {
    width: fit-content;
    display: grid;
    grid-template-columns: auto 4em auto;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 10px;
    background: #eef3f8;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.number-input:focus-within[b-enbyhi7p0z] {
    background: #fff;
    border-color: var(--focus-border);
    box-shadow: var(--focus-ring);
}

input[b-enbyhi7p0z],
input:focus[b-enbyhi7p0z] {
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    padding: 5px 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.value[b-enbyhi7p0z] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
}

.scan-btn[b-enbyhi7p0z] {
    border: none;
    background: transparent;
    color: var(--primary-color);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.scan-btn:hover[b-enbyhi7p0z] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}

.dec[b-enbyhi7p0z], .inc[b-enbyhi7p0z], .del[b-enbyhi7p0z] {
    cursor: pointer;
    border-radius: 6px;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    margin: auto;
}
.del[b-enbyhi7p0z] {
    color: var(--accent-red);
}

    .dec:hover:not(.disabled)[b-enbyhi7p0z], .inc:hover:not(.disabled)[b-enbyhi7p0z], .del:hover:not(.disabled)[b-enbyhi7p0z] {
        background: #fff;
        box-shadow: var(--box-shadow);
    }

    .dec.disabled[b-enbyhi7p0z], .inc.disabled[b-enbyhi7p0z], .del.disabled[b-enbyhi7p0z] {
        cursor: default;
        opacity: 0.25;
    }
/* /Components/Shared/PackingListIcon.razor.rz.scp.css */
/* PackingListIcon.razor.css */
.packinglist-icon[b-ogd5hscort] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f03e3e;
    color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0.3rem 0.6rem 0.3rem .6rem;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    opacity: 0;
    animation: show-icon-b-ogd5hscort 1s forwards;
    animation-delay: 3s;
}

@keyframes show-icon-b-ogd5hscort {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.packinglist-icon:hover[b-ogd5hscort] {
  background: #c92a2a;
}
.packinglist-wrapper[b-ogd5hscort] {
  position: relative;
  display: inline-block;
}
.packinglist-icon i[b-ogd5hscort] {
    margin-right: 0;
    font-size: 1.8em;
    position: relative;
    z-index: 1;
}
.packinglist-count[b-ogd5hscort] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%); /* Center exactly */
    background: transparent;
    color: #f03e3e;
    font-size: 1em;
    font-weight: 700;
    min-width: 1.2em;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
    text-align: center;
}
@media (max-width: 640px) {
  .packinglist-icon[b-ogd5hscort] {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem 0.4rem 0.7rem;
  }
  .packinglist-count[b-ogd5hscort] {
    font-size: 0.95rem;
    min-width: 1.1em;
  }
}
/* /Components/Shared/PageErrorView.razor.rz.scp.css */
/* Same panel as NotAuthorizedView, so the two "this page is not available" states read alike. */
.page-error[b-ma9uf99jhg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: 60vh;
    padding: 24px;
    color: var(--text-color, #333);
}

.page-error-icon[b-ma9uf99jhg] {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.page-error h1[b-ma9uf99jhg] {
    margin: 0;
    font-size: 1.5rem;
}

.page-error p[b-ma9uf99jhg] {
    margin: 0;
    max-width: 420px;
    opacity: 0.75;
}

.page-error-actions[b-ma9uf99jhg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.page-error-primary[b-ma9uf99jhg],
.page-error-secondary[b-ma9uf99jhg] {
    padding: 8px 16px;
    border-radius: var(--radius-var, 8px);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.page-error-primary[b-ma9uf99jhg] {
    border: none;
    background: var(--primary-color);
    color: #fff;
}

.page-error-secondary[b-ma9uf99jhg] {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}
/* /Components/Shared/PanelSearchHead.razor.rz.scp.css */
.panel-search-head[b-mg98qlsov0] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f3f6;
}

/* The list head's search, a size smaller: it heads a card, not a page. */
.psh-search[b-mg98qlsov0] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 4px 0 12px;
    border-radius: 10px;
    background: var(--surface-sunken);
    color: var(--text-muted);
}

.psh-search[b-mg98qlsov0] >  div {
    flex: 1;
    min-width: 0;
}

.psh-search[b-mg98qlsov0]  input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    outline: none;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    font-weight: 600;
    color: var(--text-ink);
}

.psh-clear[b-mg98qlsov0] {
    flex: none;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.psh-clear:hover[b-mg98qlsov0] {
    background: color-mix(in srgb, var(--text-ink) 8%, transparent);
    color: var(--text-ink);
}
/* /Components/Shared/ParentTrail.razor.rz.scp.css */
.parent-trail[b-1s2lv21nmf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    /* Clips what still does not fit once every step is down to its icon; padding and margin keep the links' hover
       surface (which reaches 1px/2px past them) inside the clip without moving anything. */
    overflow: hidden;
    padding: 1px 2px;
    margin: -1px -2px;
}

/* The gap spaces icons and separators; a meta line's own icon margin (.preview-meta i) would double it. */
.parent-trail i[b-1s2lv21nmf] {
    margin: 0;
}

/* Quiet breadcrumb steps in the meta line's own size: ink a shade above the muted kind so they read as links,
   the accent only under the pointer. */
.parent-trail-link[b-1s2lv21nmf] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    /* Outer steps shrink a hundred times as willingly as the nearest parent, so they lose their names first — but
       never below their icon. */
    flex: 0 100 auto;
    min-width: calc(0.95em + 12px);
    overflow: hidden;
    padding: 1px 6px;
    margin: -1px -2px;
    border-radius: 6px;
    color: var(--text-ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.12s ease, color 0.12s ease;
}

/* The nearest parent does not shrink at all while the others still can (any shrink share would cut it by a fraction
   of a pixel and show an ellipsis); only the trail's own width caps it. */
.parent-trail-link:last-child[b-1s2lv21nmf] {
    flex-shrink: 0;
    max-width: 100%;
}

.parent-trail-name[b-1s2lv21nmf] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.parent-trail-link i[b-1s2lv21nmf] {
    flex: none;
    font-size: 0.95em;
    color: var(--text-muted);
    transition: color 0.12s ease;
}

.parent-trail-link:hover[b-1s2lv21nmf],
.parent-trail-link:focus-visible[b-1s2lv21nmf] {
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
    color: var(--accent-color);
}

.parent-trail-link:hover i[b-1s2lv21nmf],
.parent-trail-link:focus-visible i[b-1s2lv21nmf] {
    color: inherit;
}

.parent-trail-sep[b-1s2lv21nmf] {
    flex: none;
    font-size: 0.8em;
    color: var(--text-muted);
    opacity: 0.55;
}

/* In a list's middle the desktop's app bar carries the chain (PageTrailService). */
@media (min-width: 1025px) {
    .parent-trail.in-bar[b-1s2lv21nmf] {
        display: none;
    }
}
/* /Components/Shared/Pivot.razor.rz.scp.css */
.pivot-root[b-3bynpomb5k] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* height: 100%; */
}

/* Optional section label above the tab bar */
.pivot-label[b-3bynpomb5k] {
    font-size: var(--fs-2xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* Tab bar */
.pivot-bar[b-3bynpomb5k] {
    display: flex;
    flex-direction: row;
    gap: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.pivot-bar[b-3bynpomb5k]::-webkit-scrollbar {
    display: none;
}

/* Platz für den Fokusring (app.css) innerhalb des Scrollbereichs. Die Leiste muss scrollen können — eine
   Tab-Reihe, die breiter ist als ihr Platz (Aside, Telefon), liefe mit overflow: visible aus dem Container —
   und schneidet deshalb alles ab, was über ihren Rand ragt. 4px Polster rundum, durch ebenso viel negativen
   Rand aufgehoben, damit sich nichts verschiebt: der erste Tab — und mit ihm sein Unterstrich — beginnt bündig
   mit dem Inhalt darunter, sein Text steht um das Tab-Polster eingerückt. */
.pivot-bar:not(.pivot-bar-select)[b-3bynpomb5k] {
    padding: 4px;
    margin: -4px;
    max-width: calc(100% + 8px);
}

/* Individual tab button */
.pivot-tab[b-3bynpomb5k] {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    background: none;
    border: none;
    border-radius: 0;
    font-size: var(--fs-base);
    font-weight: 400;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
    outline: none;
    overflow: visible;
    box-shadow: none;
}

/* Fokusring wie überall (app.css, Platz dafür schafft .pivot-bar), dazu die Farbe des Hovers. */
.pivot-tab:focus-visible[b-3bynpomb5k],
.pivot-tab:focus-visible:hover[b-3bynpomb5k] {
    box-shadow: var(--focus-shadow);
    border-radius: 10px;
    color: #374151;
}

.pivot-tab:hover:not(.active)[b-3bynpomb5k] {
    color: #374151;
    box-shadow: none;
    background: none;
}

.pivot-tab.active[b-3bynpomb5k] {
    color: var(--primary-color, #111827);
    font-weight: 600;
}

.pivot-tab.invalid[b-3bynpomb5k] {
    color: #dc2626;
}

.pivot-tab.invalid.active[b-3bynpomb5k] {
    color: #dc2626;
}

.pivot-tab.invalid .pivot-indicator[b-3bynpomb5k] {
    background: #dc2626;
}

/* Tab mit eigenem Bedienelement (PivotItem.TabTemplate): die Hülle gibt nur Farbe, Schriftgröße und den
   Unterstrich vor. Das Padding setzt das Template, sonst wäre dessen Klickfläche kleiner als der Tab. */
.pivot-tab-slot[b-3bynpomb5k] {
    padding: 0;
    cursor: default;
}

/* Bringt das Bedienelement einen eigenen Wrapper mit (der Toggle eines ContextMenus etwa), soll er sich in
   die Tab-Zeile legen statt als Block die Höhe aufzureißen. */
.pivot-tab-slot[b-3bynpomb5k]  .context-menu-toggle {
    display: inline-flex;
    align-items: center;
}

/* Collapse mode: icon-only tabs that expand their label when active */
.pivot-collapse .pivot-tab.has-icon[b-3bynpomb5k] {
    gap: 0;
}

/* Pack the icon tabs closer (tighter side padding) so several icons plus the active
   label fit the narrow aside strip instead of spreading out. */
.pivot-collapse .pivot-tab[b-3bynpomb5k] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Only the active tab shows a label; let it shrink so the label truncates with an
   ellipsis rather than pushing the icon-only tabs out of view. The inactive icon
   tabs keep flex-shrink: 0 (from .pivot-tab) so they always stay fully visible. */
.pivot-collapse .pivot-tab.active[b-3bynpomb5k] {
    flex-shrink: 1;
    min-width: 0;
}

.pivot-collapse .pivot-tab.has-icon .pivot-tab-label[b-3bynpomb5k] {
    display: inline-block;
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.18s ease;
}

.pivot-collapse .pivot-tab.has-icon.active .pivot-tab-label[b-3bynpomb5k] {
    max-width: 12rem;
    margin-left: 0.4rem;
    opacity: 1;
    min-width: 0;
    text-overflow: ellipsis;
}

/* Animated underline indicator */
.pivot-indicator[b-3bynpomb5k] {
    position: absolute;
    bottom: 0;
    left: 7.5%;
    right: 7.5%;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--primary-color, #2563eb);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.pivot-tab.active .pivot-indicator[b-3bynpomb5k] {
    transform: scaleX(1);
    opacity: 1;
}

/* A tab that is a running task, not a place to go: its label stays readable while another tab is active. */
.pivot-collapse .pivot-tab.has-icon.keep-label .pivot-tab-label[b-3bynpomb5k] {
    max-width: 12rem;
    margin-left: 0.4rem;
    opacity: 1;
}

/* Says that something is waiting in a tab nobody is looking at. The same mechanism as the active underline —
   scaleX from the centre — run as a loop, and only while the tab is inactive (the .active rule above wins by
   specificity and holds the indicator still). */
.pivot-tab .pivot-indicator.pulse[b-3bynpomb5k] {
    animation: pivot-indicator-pulse-b-3bynpomb5k 1.8s ease-in-out infinite;
}

@keyframes pivot-indicator-pulse-b-3bynpomb5k {
    0%, 100% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    /* No pulsing, but the tab still has to read as occupied — a steady, quieter underline. */
    .pivot-tab .pivot-indicator.pulse[b-3bynpomb5k] {
        animation: none;
        transform: scaleX(1);
        opacity: 0.45;
    }
}

/* Content area � single active tab */
.pivot-content[b-3bynpomb5k] {
    padding-top: 0.75rem;
    overflow: visible;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.pivot-content:empty[b-3bynpomb5k] {
    display: none;
}

/* Content area � all tabs rendered, inactive hidden */
.pivot-content-all[b-3bynpomb5k] {
    padding-top: 0.75rem;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pivot-panel[b-3bynpomb5k] {
    display: none;
}

.pivot-panel.visible[b-3bynpomb5k] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    animation: pivot-slide-in-right-b-3bynpomb5k 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation: pivot-slide-in-right-b-3bynpomb5k 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.pivot-panel.visible.pivot-slide-left[b-3bynpomb5k] {
    animation: pivot-slide-in-left-b-3bynpomb5k 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.pivot-slide-right[b-3bynpomb5k] {
    animation: pivot-slide-in-right-b-3bynpomb5k 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.pivot-slide-left[b-3bynpomb5k] {
    animation: pivot-slide-in-left-b-3bynpomb5k 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes pivot-slide-in-right-b-3bynpomb5k {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pivot-slide-in-left-b-3bynpomb5k {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Die Auswahl, die ab MaxVisibleTabs an die Stelle der Tab-Reihe tritt. Sie bekommt bewusst keine eigene
   Kachel-Optik: sie steht dort, wo sonst die Reihe steht, und soll nicht wie ein Formularfeld wirken. */
.pivot-bar-select[b-3bynpomb5k] {
    display: block;
    max-width: 22rem;
    overflow: visible;
}

/* ── The app's tab look ───────────────────────────────────────────────────────────────────────
   One tab row everywhere, as in the design: bold grey text labels on a hairline, the active one in the brand
   blue over a full-width accent underline. Set after the base rules so it is what every tab row draws —
   pivot-xl and CollapseInactiveTabs no longer change it: no larger size, no icon-only tabs, no icons at all
   (a row of words reads faster than a row of glyphs, and the row scrolls when it runs out of room). */
.pivot-tab[b-3bynpomb5k],
.pivot-root.pivot-collapse .pivot-tab[b-3bynpomb5k] {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--text-muted);
    gap: 0;
}

/* A slot tab's template sets its own padding (see .pivot-tab-slot). */
.pivot-tab:not(.pivot-tab-slot)[b-3bynpomb5k],
.pivot-root.pivot-collapse .pivot-tab:not(.pivot-tab-slot)[b-3bynpomb5k] {
    padding: 0.7rem 0.9rem;
}

.pivot-tab > i:not(.pivot-more-icon)[b-3bynpomb5k] {
    display: none;
}

.pivot-root.pivot-collapse .pivot-tab.has-icon .pivot-tab-label[b-3bynpomb5k] {
    max-width: none;
    margin-left: 0;
    opacity: 1;
    transition: none;
}

/* The ink as in every row: the grey of .pivot-root.pivot-collapse .pivot-tab above outranks .pivot-tab.active below,
   and left the active tab of the asides' rows looking like the others. */
.pivot-root.pivot-collapse .pivot-tab.active[b-3bynpomb5k] {
    flex-shrink: 0;
    color: var(--primary-color);
}

/* The hairline the row stands on, drawn at the tabs' lower edge (the bar's 4px focus padding sits below it).
   The attached row is the head band's lower edge and has its own line. */
.pivot-root:not(.pivot-attached) > .pivot-bar:not(.pivot-bar-select)[b-3bynpomb5k] {
    background: linear-gradient(#dfe6ee, #dfe6ee) left bottom 4px / 100% 1px no-repeat;
}

.pivot-tab:hover:not(.active)[b-3bynpomb5k] {
    color: var(--primary-color);
}

.pivot-tab.active[b-3bynpomb5k] {
    color: var(--primary-color);
    font-weight: 700;
}

.pivot-indicator[b-3bynpomb5k] {
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

/* Own spacing: the tab look above sets gap: 0 (no icons), which would glue the badge to the label. */
.pivot-count[b-3bynpomb5k] {
    margin-left: 0.4rem;
    min-width: 1.1rem;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: #3a4b5c;
    font-size: var(--fs-2xs);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* Opt-in: the tab row as the lower edge of the page's head band (PageHeader Attached) — it continues the
   band edge to edge with no line between the two, and the hairline under the tabs is the band's end.
   Only the row's own tabs: a Pivot nested in a tab's content keeps the ordinary look. */
.pivot-root.pivot-attached > .pivot-bar[b-3bynpomb5k] {
    margin: 0 calc(var(--main-padding, 20px) * -1) var(--main-padding, 20px);
    max-width: none;
    padding: 0 var(--main-padding, 20px);
    background: #fff;
    border-radius: 0;
    box-shadow: 0 1px 0 var(--surface-line);
}

.pivot-root.pivot-attached > .pivot-bar .pivot-tab[b-3bynpomb5k] {
    padding: 0.7rem 0.9rem;
}

/* Below the desktop the head band is dark (it continues the dark app bar), and its tab row with it. */
@media (max-width: 1024px) {
    .pivot-root.pivot-attached > .pivot-bar[b-3bynpomb5k] {
        margin-bottom: 12px;
        background: var(--primary-color);
        box-shadow: none;
    }

    .pivot-root.pivot-attached > .pivot-bar .pivot-tab[b-3bynpomb5k] {
        color: #b9d3e8;
    }

    .pivot-root.pivot-attached > .pivot-bar .pivot-tab:hover:not(.active)[b-3bynpomb5k],
    .pivot-root.pivot-attached > .pivot-bar .pivot-tab.active[b-3bynpomb5k] {
        color: #fff;
    }

    .pivot-root.pivot-attached > .pivot-bar .pivot-indicator[b-3bynpomb5k] {
        background: #4aa8e8;
    }

    .pivot-root.pivot-attached > .pivot-bar .pivot-count[b-3bynpomb5k] {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }
}

/* ── Overflow: tabs that do not fit go behind ⋯ (Pivot.razor.js) ───────────────────────────────── */
.pivot-bar-fit[b-3bynpomb5k] {
    position: relative;
    overflow: hidden;
}

/* Out of the row but still laid out, so the script can measure them when the row grows again. */
.pivot-tab.pivot-tab-overflowed[b-3bynpomb5k] {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}

.pivot-bar[b-3bynpomb5k]  .pivot-more-toggle {
    display: flex;
    flex: none;
}

.pivot-more[b-3bynpomb5k] {
    gap: 0.45rem;
    max-width: 14rem;
}

.pivot-more-icon[b-3bynpomb5k] {
    font-size: 1.05em;
}

.pivot-more-label[b-3bynpomb5k] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pivot-bar[b-3bynpomb5k]  .pivot-more-current {
    color: var(--primary-color);
    font-weight: 700;
}

.pivot-more-label[b-3bynpomb5k] {
    margin-left: 0.45rem;
}

/* Under an attached row the page gap (the bar's bottom margin) is the whole distance to the content. */
.pivot-root.pivot-attached > .pivot-content[b-3bynpomb5k],
.pivot-root.pivot-attached > .pivot-content-all[b-3bynpomb5k] {
    padding-top: 0;
}

/* ── Tags (Class="pivot-tags") ────────────────────────────────────────────────────────────────
   A second row under a tab row — the Bereiche of a Lager's stock — is a choice within the tab, not another level
   of tabs: chips like the list heads' filters, the active one filled, no hairline and no underline. */
.pivot-root.pivot-tags > .pivot-bar:not(.pivot-bar-select)[b-3bynpomb5k] {
    gap: 6px;
    background: none;
}

.pivot-root.pivot-tags > .pivot-bar .pivot-tab:not(.pivot-tab-slot)[b-3bynpomb5k] {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: #3a4b5c;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.pivot-root.pivot-tags > .pivot-bar .pivot-tab:hover:not(.active)[b-3bynpomb5k] {
    background: #dde8f2;
    color: var(--primary-color);
}

.pivot-root.pivot-tags > .pivot-bar .pivot-tab.active[b-3bynpomb5k] {
    background: var(--primary-color);
    color: #fff;
}

.pivot-root.pivot-tags > .pivot-bar .pivot-indicator[b-3bynpomb5k] {
    display: none;
}
/* /Components/Shared/PlaceMap.razor.rz.scp.css */
.pm-head[b-6wxc13hegz] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
}

.pm-icon[b-6wxc13hegz] {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-top: 2px;
}

.pm-address[b-6wxc13hegz] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    color: var(--text-ink);
}

    .pm-address strong[b-6wxc13hegz] {
        font-weight: 700;
    }

.pm-distance[b-6wxc13hegz] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pm-empty[b-6wxc13hegz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 18px;
    background: var(--page-ground);
    color: var(--text-muted);
    text-align: center;
}

    .pm-empty > i[b-6wxc13hegz] {
        font-size: 1.75rem;
    }

    .pm-empty p[b-6wxc13hegz] {
        max-width: 42ch;
        margin: 0;
    }

.pm-foot[b-6wxc13hegz] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
}
/* /Components/Shared/PositionDimensionsGrid.razor.rz.scp.css */
/* One tile per dimension — wraps on narrow containers instead of squeezing the values. */
.pd-dimensions[b-tzz4lvkplx] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-dimension[b-tzz4lvkplx] {
    flex: 1 1 7rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid #e4ebf2;
    border-radius: 12px;
    background: #f6f9fc;
}

.pd-dimension-name[b-tzz4lvkplx] {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-gray-400, #9aa8b5);
}

.pd-dimension-value[b-tzz4lvkplx] {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary-color, #00385e);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
/* /Components/Shared/PrefixedTextInput.razor.rz.scp.css */
/* The field surface (background, border, radius, padding, focus ring, disabled) comes from the shared
   `.prefixed-input` rule in wwwroot/app.css — the single source of truth shared with real inputs. This
   file only adds the prefix+input layout and resets the inner input so the wrapper alone shows that surface. */
.prefixed-input[b-0ekal3ga1m] {
    display: flex;
    align-items: center;
    gap: 0;
}

.prefixed-input__prefix[b-0ekal3ga1m] {
    color: #9ca3af;
    white-space: nowrap;
    user-select: none;
}

/* Reset the inner input so only the wrapper shows the field surface. The selectors are scoped (Blazor
   appends a [b-*] attribute) so they outrank the global `input` / `input:focus` rules and strip their
   background, border, padding, full width and focus glow. */
.prefixed-input__input[b-0ekal3ga1m],
.prefixed-input__input:focus[b-0ekal3ga1m] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
}
/* /Components/Shared/PreviewFold.razor.rz.scp.css */
/* Folded, the first rows stay in sight (about three rows of facts) and fade out above "Mehr anzeigen". */
.preview-fold[b-u0zwa2rfvq] {
    --fold-peek: 128px;
    border-top: 1px solid var(--surface-line);
}

/* Opening and folding glide: max-height runs between the peek (or 0) and the measured open height (--fold-full, set
   by the script). Until the script has measured, open means no cap at all. */
.expander-body[b-u0zwa2rfvq] {
    overflow: hidden;
    max-height: var(--fold-full, none);
    transition: max-height 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.preview-fold.is-folded .expander-body[b-u0zwa2rfvq] {
    max-height: 0;
}

.preview-fold.is-folded.with-peek .expander-body[b-u0zwa2rfvq] {
    max-height: var(--fold-peek);
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
}

/* Everything fits in the peek: shown whole, nothing to open. Specific enough to beat the folded peek above. */
.preview-fold.is-folded.with-peek[data-fits="true"] .expander-body[b-u0zwa2rfvq] {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.preview-fold[data-fits="true"] .preview-more[b-u0zwa2rfvq] {
    display: none;
}

.preview-more[b-u0zwa2rfvq] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    border: 0;
    border-top: 1px solid var(--surface-line);
    background: transparent;
    color: var(--accent-color);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
}

/* No line between the fading peek and the button: the fade is the edge. */
.preview-fold.is-folded.with-peek .preview-more[b-u0zwa2rfvq] {
    border-top: 0;
}

.preview-fold.is-folded:not(.with-peek)[b-u0zwa2rfvq] {
    border-top: 0;
}

.preview-more:hover[b-u0zwa2rfvq] {
    background: var(--surface-sunken);
}

.preview-more:focus-visible[b-u0zwa2rfvq] {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

/* The chevron turns with the fold instead of being swapped. */
.preview-more i[b-u0zwa2rfvq] {
    display: inline-block;
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.preview-fold.is-open .preview-more i[b-u0zwa2rfvq] {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .expander-body[b-u0zwa2rfvq],
    .preview-more i[b-u0zwa2rfvq] {
        transition: none;
    }
}
/* /Components/Shared/QuickAction.razor.rz.scp.css */
.quick-action[b-bhwv79gkc2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--surface-shadow);
    color: var(--text-ink);
    font: inherit;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.quick-action small[b-bhwv79gkc2] {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.quick-action.primary[b-bhwv79gkc2] {
    background: var(--accent-color);
    color: #fff;
}

.quick-action.primary small[b-bhwv79gkc2] {
    color: #d6e8f6;
}

.quick-action-icon[b-bhwv79gkc2] {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}

.quick-action.primary .quick-action-icon[b-bhwv79gkc2] {
    background: rgba(255, 255, 255, 0.18);
}
/* /Components/Shared/QuickActions.razor.rz.scp.css */
.quick-actions[b-w586yoqfkm] {
    display: none;
}

@media (max-width: 1024px) {
    .quick-actions[b-w586yoqfkm] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 12px;
    }
}
/* /Components/Shared/RichTextEditor.razor.rz.scp.css */
/* The editor wears the app's field: a sunken surface without an outline that turns white with the focus ring while
   one types (app.css, input). Toolbar and text area are built by Quill after the render, hence ::deep throughout;
   quill.snow.css loads after this sheet, so every override here outranks its selector instead of relying on order. */
.rte[b-2l8ztak8h5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 10px;
    background: var(--surface-sunken);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.rte:focus-within[b-2l8ztak8h5] {
    background: #fff;
    border-color: var(--focus-border);
    box-shadow: var(--focus-ring);
}

.rte-failed[b-2l8ztak8h5] {
    margin: 0;
    padding: 12px 14px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* ── Toolbar: icon chips like the app's action strip ─────────── */
.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 6px;
    border: 0;
    border-bottom: 1px solid var(--surface-line);
    font-family: inherit;
}

.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow .ql-formats {
    display: flex;
    gap: 2px;
    margin: 0;
}

.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow button {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: var(--menu-item-radius);
    color: var(--text-muted);
    font-size: 17px;
    transition: background 0.15s, color 0.15s;
}

.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow button:hover,
.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow button:focus-visible {
    background: var(--menu-item-hover);
    color: var(--text-ink);
}

.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow button.ql-active {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
}

.rte[b-2l8ztak8h5]  .ql-toolbar.ql-snow button i {
    line-height: 1;
}

/* ── Text area ────────────────────────────────────────────────── */
.rte[b-2l8ztak8h5]  .ql-container.ql-snow {
    border: 0;
    font-family: inherit;
    font-size: var(--fs-base);
}

/* Long texts (a privacy policy runs to pages) scroll inside, so the toolbar stays in reach. The editor itself is the
   scroller — Quill follows its scrolling with the link bubble, not the container's. */
.rte[b-2l8ztak8h5]  .ql-container .ql-editor {
    min-height: 320px;
    max-height: min(65vh, 760px);
    padding: 14px 16px 18px;
    color: var(--text-ink);
    line-height: 1.6;
}

.rte[b-2l8ztak8h5]  .ql-container .ql-editor.ql-blank::before {
    left: 16px;
    right: 16px;
    color: #8695a5;
    font-style: normal;
}

.rte[b-2l8ztak8h5]  .ql-container .ql-editor h2 {
    margin: 1.1em 0 0.35em;
    color: var(--primary-color);
    font-size: var(--fs-lg);
    font-weight: 800;
    line-height: 1.3;
}

.rte[b-2l8ztak8h5]  .ql-container .ql-editor h3 {
    margin: 0.9em 0 0.25em;
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.35;
}

.rte[b-2l8ztak8h5]  .ql-container .ql-editor > :first-child {
    margin-top: 0;
}

.rte[b-2l8ztak8h5]  .ql-container .ql-editor a {
    color: var(--accent-color);
}

.rte[b-2l8ztak8h5]  .ql-container .ql-editor blockquote {
    margin: 0.5em 0;
    padding: 2px 0 2px 14px;
    border-left: 3px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
    color: var(--text-muted);
}

/* ── Link bubble: a menu panel, worded in German ──────────────── */
.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--menu-radius);
    background: var(--menu-surface);
    -webkit-backdrop-filter: var(--menu-backdrop);
    backdrop-filter: var(--menu-backdrop);
    box-shadow: var(--menu-shadow);
    color: var(--text-ink);
    font-size: var(--fs-sm);
    white-space: nowrap;
    z-index: 5;
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip.ql-hidden {
    display: none;
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip::before {
    content: "Link:";
    margin: 0;
    line-height: normal;
    color: var(--text-muted);
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip[data-mode="link"]::before {
    content: "Adresse:";
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip a.ql-preview {
    max-width: 220px;
    color: var(--accent-color);
    line-height: normal;
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip input[type="text"] {
    width: 240px;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--menu-item-radius);
    background: var(--surface-sunken);
    font-size: var(--fs-sm);
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip input[type="text"]:focus {
    background: #fff;
    border-color: var(--focus-border);
    box-shadow: var(--focus-ring);
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip a.ql-action,
.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip a.ql-remove {
    color: var(--accent-color);
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip a.ql-action::after {
    content: "Bearbeiten";
    margin: 0;
    padding: 0;
    border: 0;
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip.ql-editing a.ql-action::after {
    content: "Übernehmen";
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip a.ql-remove::before {
    content: "Entfernen";
    margin: 0;
}

.rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip a.ql-remove {
    color: var(--menu-item-danger);
}

@media (max-width: 640px) {
    .rte[b-2l8ztak8h5]  .ql-container .ql-editor {
        min-height: 240px;
    }

    .rte[b-2l8ztak8h5]  .ql-snow .ql-tooltip input[type="text"] {
        width: 160px;
    }
}
/* /Components/Shared/RouteLinks.razor.rz.scp.css */
/* Links that look like buttons: the primary one in the accent, the other on the sunken ground. */
.rl-btn[b-hvjn997sxb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--surface-sunken);
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

    .rl-btn:hover[b-hvjn997sxb] {
        background: #dde8f2;
    }

    .rl-btn.primary[b-hvjn997sxb] {
        background: var(--accent-color);
        color: #fff;
    }

        .rl-btn.primary:hover[b-hvjn997sxb] {
            background: color-mix(in srgb, var(--accent-color) 88%, #000);
        }
/* /Components/Shared/ScanSearchToggle.razor.rz.scp.css */
/* Scannen / Suchen segmented pill — a white thumb slides behind the active segment (active label in the app blue). */
.mode-toggle[b-4nnhwyqenc] {
    position: relative;
    display: flex;
    background: #e7edf3;
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
}

.mode-toggle-thumb[b-4nnhwyqenc] {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 4.5px);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(14, 42, 64, 0.12);
    transition: transform 0.2s cubic-bezier(.22, .9, .3, 1);
    will-change: transform;
}

    .mode-toggle-thumb.right[b-4nnhwyqenc] {
        transform: translateX(calc(100% + 3px));
    }

    .mode-toggle button[b-4nnhwyqenc] {
        position: relative;
        z-index: 1;
        flex: 1;
        border: none;
        background: transparent;
        color: var(--color-gray-500, #5c7180);
        font-family: inherit;
        font-weight: 700;
        font-size: var(--fs-sm);
        padding: 9px;
        border-radius: 999px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        transition: color 0.18s;
    }

    .mode-toggle button.on[b-4nnhwyqenc] {
        color: var(--primary-color, #00385e);
    }

/* Compact: so hoch wie das Suchfeld daneben, so breit wie sein Inhalt — zwei gleich breite Hälften, damit der
   Daumen mit 50 % genau eine trifft. Ecken wie das Feld, nicht als Pille: beide stehen als ein Paar da. */
.mode-toggle.compact[b-4nnhwyqenc] {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-self: stretch;
    border-radius: 12px;
}

    .mode-toggle.compact .mode-toggle-thumb[b-4nnhwyqenc] {
        border-radius: 9px;
    }

    .mode-toggle.compact button[b-4nnhwyqenc] {
        padding: 0 14px;
        border-radius: 9px;
    }

/* Auf dem Telefon nur die Symbole: das Feld daneben braucht die Breite. Der Name steht im title. */
@media (max-width: 639px) {
    .mode-toggle.compact button[b-4nnhwyqenc] {
        padding: 0 12px;
    }

    .mode-toggle.compact .mode-toggle-label[b-4nnhwyqenc] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mode-toggle-thumb[b-4nnhwyqenc] {
        transition: none;
    }
}
/* /Components/Shared/ScrollShadow.razor.rz.scp.css */
.scroll-shadow-wrapper[b-dg3mxho08j] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.scroll-shadow[b-dg3mxho08j] {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-shadow[b-dg3mxho08j]::-webkit-scrollbar {
    display: none;
}

.scroll-shadow-wrapper.has-scroll-top[b-dg3mxho08j]::before,
.scroll-shadow-wrapper.has-scroll-bottom[b-dg3mxho08j]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 18px;
    pointer-events: none;
    z-index: 10;
}

.scroll-shadow-wrapper.has-scroll-top[b-dg3mxho08j]::before {
    top: 0;
    box-shadow: inset 0 14px 8px -4px rgba(0, 0, 0, 0.10);
}

.scroll-shadow-wrapper.has-scroll-bottom[b-dg3mxho08j]::after {
    bottom: 0;
    box-shadow: inset 0 -14px 8px -4px rgba(0, 0, 0, 0.10);
}
/* /Components/Shared/Select.razor.rz.scp.css */
.select[b-ki49s399ga] {
    position: relative;
    min-height: 3em;
    min-width: 150px;
    border-radius: 10px;
    display: grid;
    transition: all 0.2s;
    background: #eef3f8;
    border: 1px solid transparent;
}

    .select:hover:not(.is-disabled)[b-ki49s399ga] {
        background: #e2ebf4;
    }

    .select.is-disabled[b-ki49s399ga] {
        background: var(--color-gray-100);
    }

/* Icon-only placeholder (PlaceholderTemplate, e.g. the table sort select): shrink the pill to
   its icon + caret rather than reserving the standard 150px. Reverts once a value is picked. */
.select.placeholder-compact[b-ki49s399ga] {
    min-width: 0;
    width: max-content;
}

    .select.placeholder-compact .selected-option[b-ki49s399ga] {
        gap: 0;
        padding: 8px 0 8px 10px;
    }

    .select.placeholder-compact .expander[b-ki49s399ga] {
        padding: 0 8px;
    }

    /* The panel no longer inherits the toggle's width here, so keep it readable. */
    .select.placeholder-compact .select-menu-panel[b-ki49s399ga] {
        min-width: 180px;
    }

/* Per Tab angewählt: derselbe Ring wie Knöpfe und Eingabefelder (app.css), gezeichnet an der Pille, deren
   Rundung er folgt, mit einer schwachen Fassung des Hovers. Der Toggle darin ist eckig und gibt seinen
   eigenen Ring dafür ab. */
.select:has(.context-menu-toggle:focus-visible)[b-ki49s399ga] {
    border-color: var(--focus-border);
    box-shadow: var(--focus-ring);
    /* Halbwegs zum Hover (#e2ebf4). */
    background: color-mix(in srgb, #eef3f8 55%, #e2ebf4);
}

    .select[b-ki49s399ga]  .context-menu-toggle:focus-visible {
        box-shadow: none;
    }

/* The toggle ContextMenu wraps around the field is a plain block: without this the field's content kept its own
   height at the top of the 3em pill, and the text sat a few pixels above the middle. As a grid it stretches the
   field's content over the whole pill, where .selected-option centres it. */
.select[b-ki49s399ga] >  .context-menu-toggle {
    display: grid;
}

.select-main[b-ki49s399ga] {
    display: grid;
    grid-template-columns: 1fr auto;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
}
.select.is-disabled .select-main[b-ki49s399ga] {
    cursor: default;
}

.select-center[b-ki49s399ga] {
    display: grid;
    grid-template-columns: 1fr auto;
}

.select-right[b-ki49s399ga] {
    display: grid;
}

[b-ki49s399ga] p {
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: clip;
}

.selected-option[b-ki49s399ga] {
    display: flex;
    text-align: start;
    align-items: center;
    gap: 15px;
    padding: 8px 0 8px 12px;
    transition: all 0.3s;
}

.expander[b-ki49s399ga] {
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: all 0.3s;
}

    .expander:hover[b-ki49s399ga] {
        color: var(--primary-color)
    }

/* .is-open comes from SelectMenuIsOpen, which the server only learns about a round trip after the
   menu is already on screen; data-open is set by ContextMenu.razor.js in the same frame as the
   press, so the caret turns with the menu instead of after it. Inline selects are always "open" and
   have no caret of their own — excluded, or a popover select placed inside one (a filter in its
   header) would show its caret turned while closed. */
.select.is-open:not(.select-inline) .expander[b-ki49s399ga],
.context-menu-toggle[data-open] .expander[b-ki49s399ga] {
    transform: rotate(180deg);
}

/* The shared menu card (--menu-* in template.css). It comes in with the ContextMenu popover's fade, so it
   brings no entry animation of its own. */
.select-menu-panel[b-ki49s399ga] {
    background: var(--menu-surface);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
    z-index: 2;
    min-height: 20px;
    overflow: hidden;
}

/* Inline mode: the panel is always visible and fills its container — no popover pill, shadow or slide-in.
   Nur das eigene Panel, über Kind-Selektoren: ein Select im Kopf des inline Panels (ein Filter darüber) rendert
   sein Dropdown in diesem Baum, und mit Nachfahren-Selektoren verlor es Schatten, Einblendung und Höhenbegrenzung. */
.select.select-inline[b-ki49s399ga] {
    display: flex;
    min-height: 0;
    min-width: 0;
    background: transparent;
    border: none;
    height: 100%;
}

    .select.select-inline:hover:not(.is-disabled)[b-ki49s399ga] {
        box-shadow: none;
    }

    .select-inline > .select-menu-panel[b-ki49s399ga] {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        animation: none;
        border-radius: var(--border-radius);
    }

    .select-inline > .select-menu-panel > .select-panel[b-ki49s399ga] {
        flex: 1 1 auto;
        min-height: 0;
    }

    /* Let the surrounding pane (scanner area / drawer) own the scroll height instead of a fixed 300px window. */
    .select-inline > .select-menu-panel > .select-panel > .select-options[b-ki49s399ga] {
        max-height: none;
        overflow-y: auto;
        flex: 1 1 auto;
    }

/* One inset for the whole list: the option rows stand --menu-padding from the panel's edge, like every menu's. */
.select-options[b-ki49s399ga] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 var(--menu-padding) var(--menu-padding);
    /* auto, not scroll: a short list would otherwise carry an empty scrollbar track on every platform
       that draws classic scrollbars (Windows). */
    overflow-y: auto;
    max-height: min(300px, var(--menu-max-height, 300px));
}

/* Drill-down: primary and secondary panels swap inside the menu with a short horizontal slide. */
.select-panel[b-ki49s399ga] {
    display: flex;
    flex-direction: column;
}

.select-panel-drill[b-ki49s399ga] {
    animation: select-drill-in-b-ki49s399ga 0.28s ease both;
}

.select-panel.returning[b-ki49s399ga] {
    animation: select-drill-out-b-ki49s399ga 0.28s ease both;
}

@keyframes select-drill-in-b-ki49s399ga {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes select-drill-out-b-ki49s399ga {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

.select-drill-back[b-ki49s399ga] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid var(--menu-line);
    background: transparent;
    color: var(--color-gray-500, #374151);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

    .select-drill-back:hover[b-ki49s399ga] {
        background: var(--menu-item-hover);
    }

    .select-drill-back i[b-ki49s399ga] {
        color: var(--primary-color);
    }

/* ">" affordance on options that open a secondary panel; pushed to the trailing edge of the option row. */
.select-option-drill-indicator[b-ki49s399ga] {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: var(--color-gray-300);
    transition: transform 0.2s, color 0.2s;
}

.select-option.has-drilldown:hover .select-option-drill-indicator[b-ki49s399ga] {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* The secondary panel's options are supplied by the consumer's drill-down template, so they carry that
   component's style scope rather than this one; ::deep reaches them to keep the standard option look. */
.select-panel-drill[b-ki49s399ga]  .select-option {
    display: flex;
    align-items: center;
    gap: var(--menu-item-gap);
    min-height: var(--menu-item-min-height);
    box-sizing: border-box;
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    cursor: pointer;
    transition: background-color 0.06s ease-out;
}

    .select-panel-drill[b-ki49s399ga]  .select-option:hover {
        background: var(--menu-item-hover);
    }

    .select-panel-drill[b-ki49s399ga]  .select-option.selected {
        background: var(--menu-item-selected);
        color: var(--menu-item-selected-ink);
        font-weight: 600;
    }

    .select-panel-drill[b-ki49s399ga]  .select-option.selected:hover {
        background: var(--menu-item-selected-hover);
    }

/* Der Tab-Streifen ist eine eigene Komponente — seine Regeln stehen in SelectTabs.razor.css. */

.search[b-ki49s399ga] {
    display: grid;
    padding: 8px var(--menu-padding) 6px;
}

    /* SearchTrailing: das Feld nimmt den Platz, das Angehängte so viel, wie es braucht, beide gleich hoch. */
    .search.has-trailing[b-ki49s399ga] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

/* The tab strip above already brings the top inset. */
.select-tabs + .search[b-ki49s399ga],
.select-header + .search[b-ki49s399ga] {
    padding-top: 8px;
}

.search input[b-ki49s399ga] {
    padding-left: 12px;
}

/* Positioning context for SearchAside, which overlays the input's right edge (mirrors TextInput's scanner button). */
.search-field[b-ki49s399ga] {
    position: relative;
    display: grid;
}

    .search-field.has-aside input[b-ki49s399ga] {
        padding-right: 2.5rem;
    }

    /* Two stacked actions (filter + scanner) need the room of both. */
    .search-field.has-aside:has(.entity-select-search-aside > * + *) input[b-ki49s399ga] {
        padding-right: 4.4rem;
    }

/* Content that narrows the option list (e.g. a filter panel), between the search row and the options. */
/* Zuschnitt über der Suchzeile (HeaderTemplate): dieselben Seitenränder wie die Suche darunter, damit beide
   an derselben Kante stehen. */
.select-header[b-ki49s399ga] {
    padding: 10px 10px 0 10px;
}

.select-subheader[b-ki49s399ga] {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.25rem 15px 0.5rem;
}

/* The shared menu row (--menu-* in template.css), the same as a ContextMenuItem's. */
.select-option[b-ki49s399ga] {
    display: flex;
    align-items: center;
    gap: var(--menu-item-gap);
    min-height: var(--menu-item-min-height);
    box-sizing: border-box;
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    /* Der Hover läuft rein im Browser, ohne Round-Trip — träge wirkte er nur, weil jede Eigenschaft
       0.3 s lang nachzog und die Markierung beim Überfahren einer Liste hinter dem Zeiger herhinkte. Nur
       die Fläche, und so kurz, dass sie dem Zeiger folgt. */
    transition: background-color 0.06s ease-out;
    cursor: pointer;
}
.select-option.selected[b-ki49s399ga] {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
    font-weight: 600;
}

/* A list that opens the panel (a short list hides its search box) needs the top inset the search row otherwise
   gives; below a search row its bottom padding already keeps a selected first row off the search box. */
.select-options:first-child[b-ki49s399ga] {
    padding-top: var(--menu-padding);
}

.select-option.selected:hover:not(.no-click)[b-ki49s399ga] {
    background: var(--menu-item-selected-hover);
}

.select-option.selected i[b-ki49s399ga] {
    color: var(--primary-color);
}

/* Das Kästchen der Mehrfachauswahl: vorn in der Zeile, grau solange abgewählt, in der Akzentfarbe der Zeile,
   sobald sie gewählt ist. Jede gewählte Zeile trägt dieselbe Fläche wie die eine bei Einfachauswahl. */
.select-option-check[b-ki49s399ga] {
    flex-shrink: 0;
    color: var(--color-gray-400, #9ca3af);
}

.select-option.selected .select-option-check[b-ki49s399ga] {
    color: var(--accent-color);
}

/* Mehrere gewählte Zeilen untereinander verschmelzen nicht: der 2px-Abstand der Liste trennt die gerundeten Flächen. */

/* Per-row type icon: the flex gap on .select-option already spaces it from the label and lines the
   icons up into a leading column, so it only needs to keep its intrinsic size. */
.select-option-type-icon[b-ki49s399ga] {
    flex-shrink: 0;
}

.no-click.select-option[b-ki49s399ga] {
    cursor: default;
}

.select-option:hover:not(.no-click)[b-ki49s399ga] {
    background: var(--menu-item-hover);
}

/* Per Tab oder Pfeiltaste angewählt: eine schwache Fassung des Hovers, dazu der Rand des Fokusrings — nach
   innen und ohne Schein, denn die Zeilen liegen dicht und die Liste schneidet ab, was über sie hinausragt. */
.select-option:focus-visible[b-ki49s399ga] {
    outline: none;
    background: color-mix(in srgb, var(--menu-item-hover) 60%, transparent);
    box-shadow: inset 0 0 0 1px var(--focus-border);
}

/* Taken, not missing: the row keeps its place in the list, but reads as unavailable. */
.select-option.disabled[b-ki49s399ga] {
    color: var(--color-gray-400);
    cursor: not-allowed;
}

.select-option-disabled-reason[b-ki49s399ga] {
    margin-left: auto;
    font-size: 0.8em;
    white-space: nowrap;
}

.select-footer[b-ki49s399ga] {
    border-top: 1px solid var(--menu-line);
    padding: var(--menu-padding);
}

.mouse-cap[b-ki49s399ga] {
    position: fixed;
    top: -1000px;
    left: -1000px;
    right: -1000px;
    bottom: -1000px;
    background: transparent;
    z-index: 1;
}

.no-options[b-ki49s399ga] {
    padding: 10px;
    text-align: center;
    color: var(--color-gray-300);
}
/* /Components/Shared/SelectTabs.razor.rz.scp.css */
/* Aus Select.razor.css hierher gezogen, als der Tab-Streifen eine eigene Komponente wurde: Blazor
   stempelt das Scope-Attribut nur auf das Markup der Komponente, zu der die CSS-Datei gehört — die
   Regeln blieben sonst wirkungslos, sobald das Markup umzieht. */

.select-tabs[b-wznoriacun] {
    display: flex;
    gap: 6px;
    padding: 10px 10px 0;
}

.select-tab[b-wznoriacun] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px 7px;
    border: none;
    border-radius: 10px;
    background: #eef3f8;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all 0.18s;
}

    /* line-height 1 cut the descenders off (the g of "Fahrzeug") — overflow:hidden clips at the line box. */
    .select-tab-label[b-wznoriacun] {
        font-size: var(--fs-2xs);
        line-height: 1.35;
        font-weight: 500;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .select-tab:hover[b-wznoriacun] {
        background: #e2ebf4;
        color: var(--primary-color);
    }

    /* Fokusring aus app.css, dazu eine schwache Fassung des Hovers. */
    .select-tab:focus-visible[b-wznoriacun] {
        background: color-mix(in srgb, #eef3f8 55%, #e2ebf4);
    }

    .select-tab.is-active[b-wznoriacun],
    .select-tab.is-active:hover[b-wznoriacun] {
        background: var(--primary-color);
        color: white;
    }
/* /Components/Shared/Slideshow.razor.rz.scp.css */
.slideshow[b-itlkm803c2] {
    min-width: 0;
}

/* One slide per width; the browser swipes and snaps, the scrollbar stays hidden behind the dots. */
.slideshow-track[b-itlkm803c2] {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.slideshow-track[b-itlkm803c2]::-webkit-scrollbar {
    display: none;
}

[b-itlkm803c2] .slideshow-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.slideshow-dots[b-itlkm803c2] {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 0 0 8px;
}

/* The visible dot is small; the button around it is the tap target. */
.slideshow-dot[b-itlkm803c2] {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.slideshow-dot[b-itlkm803c2]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cfd8e1;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.slideshow-dot:hover[b-itlkm803c2]::before {
    background: #9fb0c0;
}

.slideshow-dot.is-active[b-itlkm803c2]::before {
    width: 18px;
    background: var(--accent-color);
}

.slideshow-dot:focus-visible[b-itlkm803c2] {
    outline: none;
}

.slideshow-dot:focus-visible[b-itlkm803c2]::before {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
    .slideshow-dot[b-itlkm803c2]::before {
        transition: none;
    }
}
/* /Components/Shared/StepCard.razor.rz.scp.css */
/* A step is a surface card like every other; the open one lets its content (a camera, a dropping list) reach past
   the card's own scroll box. */
.step[b-puw9goiu84]  > .card {
    overflow: visible;
}

.step-head[b-puw9goiu84] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    text-align: left;
    color: var(--text-ink);
    cursor: pointer;
    border-radius: var(--surface-radius);
}

    .step-head:disabled[b-puw9goiu84] {
        cursor: default;
    }

    .step-head:focus-visible[b-puw9goiu84] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

/* The badge says where the step stands: grey ahead, accent while open, green once answered. */
.step-badge[b-puw9goiu84] {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
    background: var(--neutral-gray);
    color: var(--text-muted);
    transition: background-color 0.2s, color 0.2s;
}

.step-current .step-badge[b-puw9goiu84] {
    background: var(--accent-color);
    color: #fff;
}

.step-done .step-badge[b-puw9goiu84] {
    background: var(--accent-green);
    color: #fff;
}

    .step-badge i[b-puw9goiu84] {
        font-size: 1.05rem;
    }

.step-text[b-puw9goiu84] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.step-title[b-puw9goiu84] {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--primary-color);
}

.step-head:disabled .step-title[b-puw9goiu84] {
    color: var(--text-muted);
}

.step-summary[b-puw9goiu84] {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.step-action[b-puw9goiu84] {
    flex: 0 0 auto;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--accent-color);
}

.step-head:hover .step-action[b-puw9goiu84] {
    color: var(--primary-color);
}

/* The body sits under the title, not under the badge — the step reads as one indented block. */
.step-body[b-puw9goiu84] {
    padding: 0 20px 20px 68px;
    animation: step-open-b-puw9goiu84 0.18s ease;
}

@keyframes step-open-b-puw9goiu84 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .step-body[b-puw9goiu84] {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .step-head[b-puw9goiu84] {
        gap: 12px;
        padding: 12px 14px;
    }

    .step-badge[b-puw9goiu84] {
        width: 28px;
        height: 28px;
    }

    .step-body[b-puw9goiu84] {
        padding: 0 12px 12px;
    }
}
/* /Components/Shared/Table/ChildRow.razor.rz.scp.css */
.child-row[b-9q3blo92fv] {
    box-shadow: inset 0 2em 3em -4.5em black
                /* , inset 0 -2em 3em -4em black */
                ;
}

.title[b-9q3blo92fv] {
    font-size: var(--fs-sm);
    color: var(--color-gray-400);
    touch-action: manipulation;
}

/* Invisible touch-target expander around the caret + title text only.
   Inline-flex keeps it hugging the content; the ::after extends the hit
   area slightly without affecting layout. Clicks bubble to .title's Toggle.
   Touch only — on a fine pointer the overlay would intercept precise
   clicks/hovers near the edges, so it's gated behind a coarse pointer. */
.title-hit[b-9q3blo92fv] {
    position: relative;
    display: inline-flex;
    align-items: center;
}
@media (pointer: coarse) {
    .title-hit[b-9q3blo92fv]::after {
        content: "";
        position: absolute;
        inset: -10px -6px;
        cursor: pointer;
    }
}

.title-hit[b-9q3blo92fv]  .chip {
    background: #fff;
    color: var(--color-gray-400);
    font-size: var(--fs-2xs);
    font-weight: normal;
    padding: 0.1rem 0.45rem;
    min-width: 0;
    box-shadow: none;
}

.arrow[b-9q3blo92fv] {
    font-size: 0.75rem;
    color: var(--color-gray-400);
    transform-origin: center;
    transition: rotate 0.1s ease-in-out, translate 0.1s ease-in-out;
}
.arrow.expanded[b-9q3blo92fv] {
    rotate: 90deg;
    translate: 0 -5%;
}

/* List-view variant: same anatomy without the table row wrapper. */
.child-block[b-9q3blo92fv] {
    padding: 0 0.9rem 0.5rem 3.25rem; /* aligns under the list item's title, past its icon */
}

.child-block .title[b-9q3blo92fv] {
    padding: 0.25rem 0;
}

.child-block .line-container[b-9q3blo92fv] {
    margin-left: 0.35rem;
    margin-bottom: 0;
    padding-left: 0.5rem;
}

/* Table mode's rail, on the same flush as the list variant's .child-block indent — a child row reads as
   belonging to the row above it, which it cannot do while the two modes indent differently. */
.line-container[b-9q3blo92fv] {
    margin-left: 3.25rem;
    margin-bottom: 0.75rem;
    border-left-width: 1px;
    border-left-style: solid;
}
.collapsed * .line-container[b-9q3blo92fv] {
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    /* inset shadow */    
    /* place inset shadow at the bottom of the component */
    box-shadow: inset 0 -2em 3em -4.5em black;
}
/* /Components/Shared/Table/DataGrid.razor.rz.scp.css */
.data-card-container[b-f7b8aq8cev] {
    width: 100%;
    container-type: inline-size;
}

/* Title row: the name/main column reads as the card's heading and the action menu gets a track of
   its own on the right. The title is the only thing that gives way — it truncates against the menu
   rather than flowing under it, which is what the menu-as-corner-overlay used to do to the first
   value. flex-shrink:0 on the menu keeps that slot at full width however narrow the aside gets. */
.data-card-header[b-f7b8aq8cev] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-gray-200, #e5e7eb);
}

.data-card-title[b-f7b8aq8cev] {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--primary-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A title column may render a chip (a linked supplier/article as the identity) — keep it on the one
   line and let it ellipsise with the rest instead of wrapping the header open. */
.data-card-title[b-f7b8aq8cev]  .chip {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-card-header-actions[b-f7b8aq8cev] {
  flex: 0 0 auto;
  margin-left: auto;
}

.data-card-grid[b-f7b8aq8cev] {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem 1rem;
  font-size: var(--fs-base);
}
.data-card-label[b-f7b8aq8cev] {
  font-weight: 600;
  color: #555;
  word-break: break-word;
  hyphens: auto;
  min-width: 0;
}
.data-card-value[b-f7b8aq8cev] {
  color: #222;
  word-break: break-word;
  hyphens: auto;
  /* Keep headings fixed: instead of the whole grid/card scrolling, let each
     value shrink to its track (min-width:0) and scroll its own overflow. */
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
@media (max-width: 640px) {
  .data-card-grid[b-f7b8aq8cev] {
    grid-template-columns: 1fr;
    /* padding: 0 1rem; */
    font-size: var(--fs-base);
  }
  .data-card-label:not(:first-child)[b-f7b8aq8cev] {
    margin-top: 0.5rem;
  }
  .data-card-value[b-f7b8aq8cev] {
    margin-left: 0.1rem;
  }
}

.data-card-grid[b-f7b8aq8cev]  a { text-decoration: underline; }
.data-card-grid[b-f7b8aq8cev]  a:hover { color: #084a8a; }

/* Lists inside table cells */
[b-f7b8aq8cev] .data-card-value > ul,
[b-f7b8aq8cev] .data-card-label > ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@container (max-width: 350px) {
  .data-card-grid[b-f7b8aq8cev] {
    display: flex;
    flex-direction: column;
  }
}
/* /Components/Shared/Table/ListItems/CompactListItem.razor.rz.scp.css */
/* Style A "Kompaktliste": dense contact-list row. Host Card provides the frame;
   hairlines between rows come from Table.razor.css (.item + .item). */
/* Die Zeile darf umbrechen, aber nur an einer Stelle: zwischen dem Namen und dem Steuerblock.
   Symbol und Name bleiben oben zusammen, und alles, was rechts steht — Menge, Status —
   wandert geschlossen und rechtsbündig in die zweite Zeile (siehe .compact-badge). Ein freier flex-wrap war
   der erste Versuch und der falsche: der liess den Steuerblock auseinanderfallen und das führende
   Symbol oben zurück. Wo umgebrochen wird, entscheidet die Mindestbreite des Namens. */
.compact-item[b-jt91r1l27t] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* Richtet aus, was nach einem Umbruch allein in der zweiten Zeile steht: rechts, wo es hingehört. Auf
       der ersten Zeile ändert es nichts, weil der Namensblock dort ohnehin den freien Platz aufbraucht. */
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    min-height: 44px;
    /* Height of the first flex line, which the absolutely placed action menu centres on: the tallest of the
       leading icon, the name block and the row's minimum height. The name block is title plus, when there is
       one, gap and subtitle — both with a fixed line-height below so this sum holds. */
    --compact-floor: calc(44px - 1.2rem);
    --compact-body-height: calc(1.5 * var(--fs-base));
}

.compact-item:has(> .compact-main > .compact-leading)[b-jt91r1l27t] {
    --compact-floor: 2.5rem;
}

.compact-item:has(> .compact-main > .compact-body > .compact-subtitle)[b-jt91r1l27t] {
    --compact-body-height: calc(1.5 * var(--fs-base) + 0.15rem + 1.5 * var(--fs-sm));
}

.compact-leading[b-jt91r1l27t] {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    background: color-mix(in srgb, var(--item-accent, var(--accent-color)) 12%, white);
    color: var(--item-accent, var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Die flex-basis entscheidet, wann umgebrochen wird — und zwar sie und nicht die Mindestbreite: Flexbox
   verteilt die Zeilen anhand der Basisgrössen und schrumpft erst danach innerhalb einer Zeile. Mit
   `flex-basis: auto` zählt der Inhalt, und ein langer Untertitel schob Menge und Aktionen in getrennte
   Zeilen, obwohl beide nebeneinander gepasst hätten.
   11rem ist der Platz, den der Name mindestens haben soll, bevor sich ein Umbruch lohnt: darunter blieb auf
   dem Telefon nicht mehr als ein Wortanfang übrig. Passt der Steuerblock daneben, bleibt es bei einer Zeile
   — eine Statuspille tut das, ein Mengenschalter mit Papierkorb nicht.
   min-width bleibt kleiner, damit auf sehr schmalen Geräten lieber der Name schrumpft als die Zeile
   überläuft. */
/* Basis and minimum sit on the icon + name group, not on the name alone: as separate flex items a narrow row
   (a nested Objekt under its Mandant) broke between them and pushed the lone icon to the right edge. The
   group's figures are the name's plus the icon and its gap, so rows without an icon wrap where they did. */
.compact-main[b-jt91r1l27t] {
    flex: 1 1 11rem;
    min-width: 8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compact-main:has(> .compact-leading)[b-jt91r1l27t] {
    flex-basis: calc(11rem + 2.5rem + 0.75rem);
    min-width: calc(8rem + 2.5rem + 0.75rem);
}

.compact-body[b-jt91r1l27t] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Der Kompromiss zwischen Umbruch und Abschneiden: der Name darf auf zwei Zeilen, und erst wenn er dann
   immer noch nicht passt, wird gekürzt. Eine einzelne Zeile mit Ellipsis liess auf einem Telefon oft nur
   einen Wortanfang übrig — und der Name ist das, wonach man die Zeile sucht. Zwei Zeilen und nicht mehr,
   damit eine Liste eine Liste bleibt und nicht zu einer Folge von Absätzen wird.
   overflow-wrap: anywhere, weil Artikelnamen gern aus einem einzigen langen Wort bestehen, das sonst
   ungebrochen hinausragte. */
.compact-title[b-jt91r1l27t] {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--fs-base);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* All Subtitle columns share one line, set apart by space, so a row stays two lines tall. */
.compact-subtitle[b-jt91r1l27t] {
    display: flex;
    align-items: center;
    /* The parts stand apart by space alone — no separator glyph between them. */
    column-gap: 0.85rem;
    color: var(--color-gray-500, #5c7180);
    font-size: var(--fs-sm);
    line-height: 1.5;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    /* Was nicht mehr hinpasst, blendet aus statt abzureissen. Ohne das schnitt der Rand mitten durch einen
       Identifikator-Chip, und ein halber Chip sieht nach Fehler aus statt nach „da kommt noch mehr". */
    mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent 100%);
}

/* Title and subtitle are never links of their own (a Lieferant chip over an order): a click on them is a click on
   the row, which opens or picks it. */
.compact-title[b-jt91r1l27t],
.compact-subtitle[b-jt91r1l27t] {
    pointer-events: none;
}

.compact-subtitle-part[b-jt91r1l27t] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* A part that draws nothing in the list (a TableViewSwitch with only a Table side) takes no gap either. */
.compact-subtitle-part:empty[b-jt91r1l27t] {
    display: none;
}

/* Link chips read as plain text in the title/subtitle slots (the row itself is the tap target). */
.compact-title[b-jt91r1l27t]  .chip,
.compact-subtitle-part[b-jt91r1l27t]  .chip {
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.compact-title[b-jt91r1l27t]  .chip i,
.compact-subtitle-part[b-jt91r1l27t]  .chip i {
    display: none;
}

/* Chip lists inside title/subtitle collapse to one micro-pill line. */
.compact-body[b-jt91r1l27t]  ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

/* A chip list in the title (aliases) runs on in the name's own line, muted and set apart by space, instead of
   opening a second line that reads like a second name. Inline throughout, so the title's two-line clamp
   still governs where it wraps. */
.compact-title[b-jt91r1l27t]  ul,
.compact-title[b-jt91r1l27t]  li,
.compact-title[b-jt91r1l27t]  ul .chip {
    display: inline;
}

/* The space before an alias is a real space, widened: at a line break it falls away like any space, so a wrapped
   alias starts flush with the name above instead of indented by a margin. */
.compact-title[b-jt91r1l27t]  li::before {
    content: " ";
    word-spacing: 0.35rem;
}

.compact-title[b-jt91r1l27t]  ul .chip {
    color: var(--text-muted);
    font-weight: 400;
}

/* Chips in the subtitle are plain text like the rest of the line (see above) — no inset that would start them off
   the name's edge; several of them stand apart by space instead. */
.compact-subtitle[b-jt91r1l27t]  ul {
    gap: 0.6rem;
}

.compact-badge[b-jt91r1l27t] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-sm);
    color: #222;
    white-space: nowrap;
}

/* Das Aktionsmenü bleibt in der oberen rechten Ecke, auch wenn die Zeile umbricht. Im Fluss wanderte es
   mit dem Statusblock in die zweite Zeile — aber es gehört zur Zeile als Ganzes und nicht zu dem, was dort
   gerade steht; wer es sucht, sucht es oben rechts. Der Platz dafür wird über das Innenabstand-Pendant
   freigehalten, damit nichts darunter läuft. */
/* Reserves the menu's 2.5rem button plus its 0.5rem inset and a 0.5rem gap, so a badge ends clear of the
   button instead of running under its hit area. */
.compact-item.has-actions[b-jt91r1l27t] {
    padding-right: 3.5rem;
}

/* Centred on the first line (see --compact-floor / --compact-body-height) so it lines up with icon, name and
   badges whether or not the row has an icon or a subtitle, and stays there when the row wraps. */
.compact-actions[b-jt91r1l27t] {
    position: absolute;
    top: calc(0.6rem + max(var(--compact-floor), var(--compact-body-height)) / 2);
    right: 0.5rem;
    flex: none;
    transform: translateY(-50%);
}

/* Detail-role columns, drawn under the row only when the table asks for them (ShowDetails). */
.compact-details[b-jt91r1l27t] {
    padding: 0 0.9rem 0.7rem 3.25rem;
    cursor: default;
}

.compact-details[b-jt91r1l27t]  .data-card-grid {
    font-size: var(--fs-sm);
    gap: 0.25rem 0.75rem;
}
/* /Components/Shared/Table/ListItems/InfoCardListItem.razor.rz.scp.css */
/* Style B "Info-Karten": rich bordered card with header + DataGrid detail body.
   Bordered (not shadow-elevated) so it reads correctly inside a white host Card;
   the gap between cards comes from Table.razor.css (.list-style-infocards). */
.info-card[b-erg34h90sr] {
    background: white;
    border: 1px solid #e4ebf2;
    border-radius: var(--border-radius);
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-card-header[b-erg34h90sr] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.info-card-icon[b-erg34h90sr] {
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--item-accent, var(--accent-color)) 12%, white);
    color: var(--item-accent, var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-title[b-erg34h90sr] {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: var(--fs-base);
}

/* Chip lists in the title (aliases) wrap to a single compact line under the name. */
.info-card-title[b-erg34h90sr]  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

.info-card-title[b-erg34h90sr]  .chip {
    font-size: var(--fs-2xs);
    padding: 0.1rem 0.45rem;
    font-weight: 400;
}

.info-card-badge[b-erg34h90sr] {
    flex: none;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: #222;
    white-space: nowrap;
}

.info-card-actions[b-erg34h90sr] {
    flex: none;
    align-self: flex-start;
    margin: -0.25rem -0.35rem 0 0;
}

.info-card-subtitle[b-erg34h90sr] {
    color: var(--color-gray-500, #5c7180);
    font-size: var(--fs-sm);
    /* Never a link of its own — a click on it is a click on the card. */
    pointer-events: none;
}

.info-card-body[b-erg34h90sr] {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.6rem;
}

/* Clamp long prose values (e.g. Beschreibung) to two lines inside the detail grid;
   chip lists (ul) keep their own stacked layout from DataGrid.razor.css. */
.info-card-body[b-erg34h90sr]  .data-card-value:not(:has(ul)) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* /Components/Shared/Table/ListItems/TerminalListItem.razor.rz.scp.css */
/* Style C "Terminal-Zeilen": scanner-terminal grammar (EasyTransfer .ts-group rows).
   The hosting Card provides the outer frame; hairlines between rows come from
   Table.razor.css (.item + .item). */
.terminal-item[b-r4063ef3bi] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.55rem 0.9rem;
    min-height: 44px;
    justify-content: center;
}

.terminal-line[b-r4063ef3bi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.terminal-icon[b-r4063ef3bi] {
    flex: none;
    color: var(--item-accent, var(--color-gray-500, #5c7180));
}

.terminal-title[b-r4063ef3bi] {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--fs-base);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Status chips become tight 999px pills. */
.terminal-badge[b-r4063ef3bi] {
    flex: none;
}

.terminal-badge[b-r4063ef3bi]  .chip {
    font-size: var(--fs-2xs);
    padding: 0.2rem 0.6rem;
    min-width: 0;
    box-shadow: none;
}

.terminal-actions[b-r4063ef3bi] {
    flex: none;
}

/* Meta line: small gray, items spaced by the gap; link chips flatten to accent-colored text. */
.terminal-meta[b-r4063ef3bi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.15rem;
    font-size: var(--fs-xs);
    color: var(--color-gray-500, #5c7180);
    min-width: 0;
}

.terminal-meta-item[b-r4063ef3bi] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.terminal-meta-item[b-r4063ef3bi]  .chip {
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    font-size: var(--fs-xs);
    color: var(--accent-color);
}

.terminal-meta-item[b-r4063ef3bi]  .chip i {
    font-size: 0.6rem;
}
/* /Components/Shared/Table/PageFilterPanel.razor.rz.scp.css */
/* Mirrors the table toolbar's filter panel so both read as the same control. */

.page-filter-panel[b-g8olv9p41n] {
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    overflow-y: auto;
}

.page-filter-row[b-g8olv9p41n] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.4rem 0;
}

.page-filter-row + .page-filter-row[b-g8olv9p41n] {
    border-top: 1px solid #f1f5f9;
}

/* A switch is its own control, not a labelled editor: label left, toggle right. */
.page-filter-row.is-switch[b-g8olv9p41n] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.page-filter-row.is-switch[b-g8olv9p41n]  input[type="checkbox"] {
    flex: none;
}

.page-filter-label[b-g8olv9p41n] {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #374151;
}

.page-filter-footer[b-g8olv9p41n] {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.45rem;
    margin-top: 0.45rem;
    display: flex;
    justify-content: flex-end;
}

.page-filter-reset[b-g8olv9p41n] {
    border: none;
    background: transparent;
    color: var(--color-gray-500, #5c7180);
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.3rem;
    border-radius: 6px;
}

.page-filter-reset:hover:not(:disabled)[b-g8olv9p41n] {
    background: #f1f5f9;
}

.page-filter-reset:disabled[b-g8olv9p41n] {
    opacity: 0.4;
    cursor: default;
}
/* /Components/Shared/Table/PaginationControls.razor.rz.scp.css */
.pager[b-xj4zyyn6xn] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px var(--main-padding, 16px);
    border-top: 1px solid var(--surface-line);
    background: #fff;
    color: var(--text-muted);
    font-size: var(--fs-sm, .875rem);
}

.pager-figure[b-xj4zyyn6xn] {
    color: var(--text-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pager-count[b-xj4zyyn6xn] {
    justify-self: start;
    white-space: nowrap;
}

.pager-pages[b-xj4zyyn6xn] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pager-position[b-xj4zyyn6xn] {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-width: 4.5em;
    justify-content: center;
    white-space: nowrap;
}

/* Round ghost buttons: no surface until hovered, so the footer stays quiet. */
.pager-step[b-xj4zyyn6xn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-ink);
    font-size: 18px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.pager-step:hover:not(:disabled)[b-xj4zyyn6xn] {
    background: var(--page-ground, #eef2f6);
}

.pager-step:focus-visible[b-xj4zyyn6xn] {
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
}

.pager-step:disabled[b-xj4zyyn6xn] {
    color: var(--text-muted);
    opacity: .35;
    cursor: default;
}

.pager-size[b-xj4zyyn6xn] {
    justify-self: end;
}

.pager-size label[b-xj4zyyn6xn] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pager-size-input[b-xj4zyyn6xn] {
    width: 4.25rem;
}

/* The size field as a small pill, matching the step buttons' height. */
.pager-size-input[b-xj4zyyn6xn]  .text-input-select-input {
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: var(--page-ground, #eef2f6);
    color: var(--text-ink);
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Phones: the count small on the left, the pages as a pill in the middle, the size on the right without its label —
   the row would wrap with it. */
@media (max-width: 639px) {
    .pager[b-xj4zyyn6xn] {
        gap: 8px;
        padding: 10px var(--main-padding, 16px);
    }

    .pager-count[b-xj4zyyn6xn] {
        font-size: var(--fs-xs, .75rem);
    }

    .pager-size-label[b-xj4zyyn6xn] {
        display: none;
    }

    /* The pages as a pill in the middle, with thumb-sized steps on a filled ground. */
    .pager-pages[b-xj4zyyn6xn] {
        gap: 2px;
        padding: 3px;
        border-radius: 999px;
        background: var(--page-ground, #eef2f6);
    }

    .pager-step[b-xj4zyyn6xn] {
        width: 38px;
        height: 38px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(16, 40, 64, 0.12);
    }

    .pager-step:disabled[b-xj4zyyn6xn] {
        background: transparent;
        box-shadow: none;
    }

    .pager-position[b-xj4zyyn6xn] {
        font-size: var(--fs-base, 1rem);
    }

    .pager-size-input[b-xj4zyyn6xn]  .text-input-select-input {
        height: 38px;
    }
}
/* /Components/Shared/Table/Table.razor.rz.scp.css */
.table[b-o6e4ryj7gs] {
    display: grid;
    width: 100%;
    position: relative;
}

table[b-o6e4ryj7gs] {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 1em;
    text-align: left;
}

.table-wrapper[b-o6e4ryj7gs] {
    /* border-radius: var(--border-radius); */
    overflow: auto;
    width: 100%;
    background: #f9f9f9;
}
.table.transparent .table-wrapper[b-o6e4ryj7gs] {
    background: transparent;
}

/* Scrolling body: the header row stays pinned and the table's bottom border stays
   framed while only the rows scroll. The wrapper (already overflow:auto for the
   horizontal drag-scroll) becomes the vertical scroller too — capped at
   --table-body-max-height, which the desktop pane-fill overrides to `none`
   (it then fills a definite-height .table; see template.css). */
.table.scroll-body .table-wrapper[b-o6e4ryj7gs] {
    max-height: var(--table-body-max-height, 62vh);
    min-height: 0;
    border-bottom: 1px solid var(--surface-line);
}
.table.scroll-body thead th[b-o6e4ryj7gs] {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* The list rendering of the same thing. It needs no sticky trick — the toolbar is a sibling of the
   rows, not a row itself — so the scroller is just .list-items, under the same
   --table-body-max-height cap (and the same pane-fill override, which nulls it and lets the flex
   chain below hand down the pane height instead). .list-body is the flex column that splits the
   fixed toolbar from the shrinking rows; .list itself joins the chain so a pane-height bound
   arriving from template.css reaches it. */
.list.scroll-body[b-o6e4ryj7gs],
.list.scroll-body > .list-body[b-o6e4ryj7gs] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.list.scroll-body > .list-body[b-o6e4ryj7gs] {
    flex: 1 1 auto;
}

.list.scroll-body .list-toolbar[b-o6e4ryj7gs] {
    flex: 0 0 auto;
}

/* flex: 1 1 auto, like the pane-fill cards: a short list is stretched to the pane (the pager below
   it stays put) while a long one compresses and scrolls. The border is on the
   scroller, so it stays put and closes the region off the way the table's bottom border does —
   the row cut off mid-scroll reads as clipped rather than as the end of the list. */
.list.scroll-body .list-items[b-o6e4ryj7gs] {
    overflow: auto;
    max-height: var(--table-body-max-height, 62vh);
    min-height: 0;
    flex: 1 1 auto;
    border-bottom: 1px solid var(--surface-line);
}

/* The wrapper scrolls in both directions, so a vertical scrollbar would claim a gutter running the
   full height — beside the pinned header it squares off the host card's rounded corner, and beside
   the rows it reads as an empty column (the gutter can only take one colour, the rows alternate).
   Drop it: header and rows both reach the card edge again. Wheel, touch and the drag-scroll module
   still scroll; the row count is bounded by pagination. The horizontal bar stays — wide tables need
   the cue that there is more to the right — restyled thin so it stops looking like a system widget.
   The list's scroller gets the same treatment for the same reason; it only ever scrolls vertically
   (items wrap instead of running wide), so for it this is the hiding half alone. */
.table.scroll-body .table-wrapper[b-o6e4ryj7gs]::-webkit-scrollbar,
.list.scroll-body .list-items[b-o6e4ryj7gs]::-webkit-scrollbar {
    background: transparent;
    height: 10px;
}

.table.scroll-body .table-wrapper[b-o6e4ryj7gs]::-webkit-scrollbar:vertical,
.list.scroll-body .list-items[b-o6e4ryj7gs]::-webkit-scrollbar:vertical {
    width: 0;
}

.table.scroll-body .table-wrapper[b-o6e4ryj7gs]::-webkit-scrollbar-track,
.table.scroll-body .table-wrapper[b-o6e4ryj7gs]::-webkit-scrollbar-corner,
.list.scroll-body .list-items[b-o6e4ryj7gs]::-webkit-scrollbar-track,
.list.scroll-body .list-items[b-o6e4ryj7gs]::-webkit-scrollbar-corner {
    background: transparent;
}

.table.scroll-body .table-wrapper[b-o6e4ryj7gs]::-webkit-scrollbar-thumb,
.list.scroll-body .list-items[b-o6e4ryj7gs]::-webkit-scrollbar-thumb {
    background-color: rgba(15, 42, 64, 0.25);
    border: 2px solid transparent;
    background-clip: content-box;
    border-radius: 999px;
}

.table.scroll-body .table-wrapper[b-o6e4ryj7gs]::-webkit-scrollbar-thumb:hover,
.list.scroll-body .list-items[b-o6e4ryj7gs]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(15, 42, 64, 0.45);
}

/* Firefox cannot hide one axis alone, so it keeps a thin bar on both. Kept away from Chromium, where
   declaring scrollbar-color switches the ::-webkit-scrollbar rules above off entirely. */
@supports not selector(::-webkit-scrollbar) {
    .table.scroll-body .table-wrapper[b-o6e4ryj7gs],
    .list.scroll-body .list-items[b-o6e4ryj7gs] {
        scrollbar-width: thin;
        scrollbar-color: rgba(15, 42, 64, 0.25) transparent;
    }
}

table th[b-o6e4ryj7gs], table td[b-o6e4ryj7gs] {
    border: 0 solid #ddd;
    padding: 8px;
    transition: width 200ms ease, height 200ms ease;    
    will-change: width, height;
}

table td.main-column[b-o6e4ryj7gs] {
    font-weight: 500;
}

/* Full-width group divider row (Table GroupBy/GroupHeader) — light tinted + bold, overriding row striping. */
.group-header-row td[b-o6e4ryj7gs] {
    background-color: color-mix(in srgb, var(--accent-color) 12%, transparent) !important;
    font-weight: 600;
    color: #374151;
    padding: 8px 15px;
}

table th[b-o6e4ryj7gs] {
    background-color: var(--accent-color);
    color: white;
    font-weight: normal;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: clip;
}
.table.transparent th[b-o6e4ryj7gs] {
    /* --accent-color with alpha */
    background-color: color-mix(in srgb, var(--accent-color) 60%, transparent);
}

/* Subtle head style (HeaderStyle.Subtle): blends the header into the table's own palette instead of
   the accent bar — for a header that still labels the columns but shouldn't read as another accent
   stripe (e.g. a list already sitting inside an accent-coloured card). */
.table.subtle-header th[b-o6e4ryj7gs] {
    background-color: #f7f9fb;
    color: var(--text-muted);
    font-weight: 700;
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--surface-line);
}

    table tr td:first-child[b-o6e4ryj7gs],
    table tr th:first-child[b-o6e4ryj7gs] {
        padding-left: 15px;
    }
    table tr td:last-child[b-o6e4ryj7gs],
    table tr th:last-child[b-o6e4ryj7gs] {
        padding-right: 15px;
    }

.clickable[b-o6e4ryj7gs] {
    cursor: pointer;
}

.table[b-o6e4ryj7gs]  a { text-decoration: underline; }
.table[b-o6e4ryj7gs]  a:hover { color: #084a8a; }

table.alternating:not(.transparent) > tbody[b-o6e4ryj7gs] >  tr:nth-child(even) {
    background-color: #f7f9fb;
}

/* The menu fills its header cell so the whole header — not just the label's own width — is the hover
   target and the click target. Columns without a menu render bare text and stay unclickable. */
table th[b-o6e4ryj7gs]  .column-menu-anchor {
    width: 100%;
}

/* A quiet tint under the pointer, the same for table rows and list items: enough to say "this one", never a
   block of grey. Selected and picked rows keep their own colour. */
table tr:not(:has(th)):hover[b-o6e4ryj7gs] {
    background-color: #f5f8fb !important;
}

.list .item.is-clickable[b-o6e4ryj7gs] {
    transition: background-color 0.12s ease-out;
}

.list .item.is-clickable:hover:not(.is-picked):not(.is-selected)[b-o6e4ryj7gs] {
    background-color: #f5f8fb;
}

.list .item.is-picked.is-clickable:hover[b-o6e4ryj7gs] {
    background-color: #dbe8f3;
}

.filter-btn[b-o6e4ryj7gs] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.filter-popup[b-o6e4ryj7gs] {
    position: absolute;
    background: white;
    border: 0 solid #ddd;
    padding: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.pagination-controls[b-o6e4ryj7gs] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.pagination-controls button[b-o6e4ryj7gs] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

.pagination-controls button:disabled[b-o6e4ryj7gs] {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination-controls span[b-o6e4ryj7gs] {
    font-size: var(--fs-base);
}

/* Lists inside table cells */
[b-o6e4ryj7gs] table td > ul,
[b-o6e4ryj7gs] table th > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

[b-o6e4ryj7gs] table tr:nth-child(even) .chip {
    background: #edf3f8;
}

span:has(.expander)[b-o6e4ryj7gs] {
    user-select: none;
}
.expander[b-o6e4ryj7gs] {
    width: 1rem;
    height: 1rem; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;    
}

.expander i[b-o6e4ryj7gs] {
    transition: transform 0.2s ease-in-out;
    font-size: 0.75rem;
}

.expander.expanded i[b-o6e4ryj7gs] {
    transform: rotate(90deg);
}

/* List-mode header row: the list's answer to the table's <thead> — the rendered columns on the left,
   the actions strip on the right, on the same accent bar the table header uses. */
/* Right padding puts the strip's ⋯ on the same vertical axis as every row's ⋮ action menu: the row
   icon's centre sits 0.9rem (item padding) + 0.7rem (action menu padding) + 6px (half its 0.75rem hit
   area) = 31.6px from the right edge, and the strip itself contributes 5px inner padding + half its
   26px button. Left padding matches the item padding so the header starts on the row's own margin. */
.list-toolbar[b-o6e4ryj7gs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem 0.3rem 0.9rem;
    min-height: 38px;
    background: var(--accent-color);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.list.transparent .list-toolbar[b-o6e4ryj7gs] {
    background: color-mix(in srgb, var(--accent-color) 60%, transparent);
}

/* Subtle head style, list rendering — same intent as .table.subtle-header th. */
.list.subtle-header .list-toolbar[b-o6e4ryj7gs] {
    background: #f7f9fb;
    border-bottom: 1px solid var(--surface-line);
}

.list.subtle-header .list-header[b-o6e4ryj7gs] {
    color: #374151;
}

.list.subtle-header .list-header-part:not(:first-child)[b-o6e4ryj7gs]::before {
    color: rgba(55, 65, 81, 0.4);
}

.list.subtle-header .list-header-part.is-subtitle[b-o6e4ryj7gs],
.list.subtle-header .list-header-part.is-meta[b-o6e4ryj7gs] {
    color: rgba(55, 65, 81, 0.65);
}

.list.subtle-header .list-header-part.is-badge[b-o6e4ryj7gs] {
    color: rgba(55, 65, 81, 0.85);
}

/* Column names in the item's own reading order, set apart by space like the compact subtitle line. */
.list-header[b-o6e4ryj7gs] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.35rem;
    min-width: 0;
    overflow: hidden;
    color: white;
    font-size: var(--fs-sm);
}

.list-header-part[b-o6e4ryj7gs] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The parts stand apart by space, not by a separator glyph; the space trails the part so a wrapped header line
   never starts with a gap. */
.list-header-part:not(:last-child)[b-o6e4ryj7gs] {
    margin-right: 0.6rem;
}

/* Roles mirror how the item renders them: the title leads, subtitles read quieter, badges are values. */
.list-header-part.is-title[b-o6e4ryj7gs] {
    font-weight: 600;
}

.list-header-part.is-subtitle[b-o6e4ryj7gs],
.list-header-part.is-meta[b-o6e4ryj7gs] {
    color: rgba(255, 255, 255, 0.75);
}

.list-header-part.is-badge[b-o6e4ryj7gs] {
    color: rgba(255, 255, 255, 0.9);
}

/* In table mode the actions strip lives inside the trailing actions header cell, pinned to the right
   edge so horizontal scrolling never moves it — its accent background covers headers passing
   underneath. overflow must stay visible: the expanded strip overlays the neighboring header cells. */
.table th.has-toolbar[b-o6e4ryj7gs] {
    position: sticky;
    right: 0;
    z-index: 3;
    text-align: center;
    overflow: visible;
}

.table.scroll-body thead th.has-toolbar[b-o6e4ryj7gs] {
    z-index: 3; /* above the other sticky header cells (z-index 2) */
}

/* Tables without an actions column: the strip shares the last header cell, pushed to its trailing edge
   so it neither adds a column nor pushes the header text around. The toolbar positions itself against
   this cell (see TableToolbar's .floating rule). */
.table th.with-inline-toolbar[b-o6e4ryj7gs] {
    position: relative;
    padding-right: 42px;
    overflow: visible;
}

/* ---- Auswahlmodus -------------------------------------------------------------------------------
   The selection column and bar only exist while the mode is on; both renderings share the bar markup,
   so its rules are written once and the two hosts (thead row / list toolbar sibling) only place it.
   The toggles are the app's Switch, i.e. the globally styled 2.75rem checkbox — hence the gutter the
   cell and the list items reserve for it. */
.table[b-o6e4ryj7gs],
.list[b-o6e4ryj7gs] {
    --selection-gutter: 0.9rem; /* the list item's own left padding: every toggle sits on that axis */
    --selection-row-height: 44px;
    /* The selection row pins itself at exactly this offset, so the header row's height cannot be left to
       its content. 38px is what .list-toolbar already stands at, which is what makes the two renderings
       start their rows on the same line. */
    --table-header-height: 38px;
}

/* Applied whether or not the mode is on: switching it on may not resize the header. On a table cell a
   height acts as a minimum, so a header that genuinely needs more still gets it. */
.table thead th[b-o6e4ryj7gs] {
    height: var(--table-header-height);
}

/* Width is the gutter, the 2.75rem switch and one more gutter, so the column ends where the bar's own
   content begins. !important: the generic first-/last-child cell padding is the more specific rule,
   and its 15px inset would push the toggle off the axis the bar's toggle sits on.

   ::deep, because not every cell of this column is drawn by this component: a hand-built row contributes
   its own through InstanceSelectionCell / TableSelectionCell, and those carry their own scope attribute.
   Scoped to itself the rule would skip exactly those cells, and their toggles would sit off the axis of
   the ones above and below them. */
.table[b-o6e4ryj7gs]  .select-cell {
    width: 4.55rem;
    padding-left: var(--selection-gutter) !important;
    padding-right: 0 !important;
}

/* One bar for both renderings — the list's flex row, which wraps rather than demanding width, is what
   the table hosts too. Its gap repeats the item's own left padding, so the text after the select-page
   toggle starts on the same axis as a row's leading icon. */
.selection-bar[b-o6e4ryj7gs] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--selection-gutter);
    padding: 0.3rem var(--selection-gutter) 0.3rem 0;
    min-height: var(--selection-row-height);
}

/* The tint and blur ride a pseudo-element rather than the bar: a backdrop-filter on the bar itself
   would make it the containing block for the sticky halves inside it. Near-opaque because rows pass
   underneath it — see-through would leave the text competing with them. */
.selection-bar[b-o6e4ryj7gs]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--accent-color) 10%, rgba(255, 255, 255, 0.82));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color) 20%, transparent);
}

/* Table host: the cell contributes the span and the pinning, nothing else — !important because the
   generic first-/last-child cell padding is the more specific rule, and any inset here would push the
   bar off the axis its list counterpart sits on. */
.selection-row td[b-o6e4ryj7gs] {
    padding: 0 !important;
    background: none;
    border: 0;
}

.table.scroll-body thead .selection-row td[b-o6e4ryj7gs] {
    position: sticky;
    /* The column headers pin above it, so the offset is their height — the fixed one set at the top of
       this section. */
    top: var(--table-header-height);
    z-index: 3;
}

/* List host: a sibling of .list-toolbar, so it holds its place while only .list-items scrolls — and
   sticks to the top of the page scroller in the tables that hand their body height to the page. */
.list .selection-bar[b-o6e4ryj7gs] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.list.scroll-body .selection-bar[b-o6e4ryj7gs] {
    flex: 0 0 auto;
}

/* Wraps rather than squeezes: the actions' strip retracts to its ⋯ first (it measures itself against
   this bar), and only a bar too narrow even for that drops them to their own line instead of pushing
   the count out. */
/* Without the select-page toggle (a selection to be decided row by row) the gutter it contributed is
   gone and the count would sit flush against the edge. */
.selection-bar > .selection-bar-content:first-child[b-o6e4ryj7gs] {
    padding-left: var(--selection-gutter);
}

.selection-bar-content[b-o6e4ryj7gs] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
}

/* Each half holds its own edge of the scrollport — the row it lives in is as wide as the table, and
   scrolling sideways must not carry either of them out of view. */
.selection-info[b-o6e4ryj7gs] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: sticky;
    left: 0;
}

.selection-actions[b-o6e4ryj7gs] {
    margin-left: auto;
    /* The bulk actions never retract (ActionGroup AlwaysExpanded); capped so they wrap inside the bar. */
    max-width: 100%;
    position: sticky;
    right: 0;
}

.selection-count[b-o6e4ryj7gs] {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.selection-link[b-o6e4ryj7gs] {
    background: none;
    border: none;
    padding: 0;
    font-size: var(--fs-sm);
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.selection-link:hover[b-o6e4ryj7gs] {
    color: #084a8a;
}

/* Selected rows read as picked without relying on the toggle alone. */
table tbody tr.is-selected > td[b-o6e4ryj7gs],
.list .item.is-selected[b-o6e4ryj7gs] {
    background-color: color-mix(in srgb, var(--accent-color) 10%, transparent) !important;
}

/* List items grow a leading toggle: the item's own markup (whatever style it is) becomes the second
   flex child and keeps the rest of the row. */
.item.with-selection[b-o6e4ryj7gs] {
    display: flex;
    align-items: center;
}

.item.with-selection[b-o6e4ryj7gs] >  :not(.item-select) {
    flex: 1 1 auto;
    min-width: 0;
}

/* Left inset matches the item's own padding, so the toggles line up with the list's left margin and
   with the select-page toggle in the bar above them. */
.item-select[b-o6e4ryj7gs] {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding-left: var(--selection-gutter);
    cursor: pointer;
}

/* Full-width group divider inside the list view (GroupBy/GroupHeader). */
.list-group-header[b-o6e4ryj7gs] {
    background: #f6f9fc;
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--fs-sm);
    padding: 0.4rem 0.9rem;
}

/* Row hairlines for the row-based styles; the hosting Card provides the outer frame.
   An item followed by its own child block keeps them visually joined (no rule between them). */
.list-style-compact .item + .item[b-o6e4ryj7gs],
.list-style-terminal .item + .item[b-o6e4ryj7gs],
.list-style-compact .item-children + .item[b-o6e4ryj7gs],
.list-style-terminal .item-children + .item[b-o6e4ryj7gs] {
    border-top: 1px solid #f1f5f9;
}

/* Child rows of a list item: nested tables inside render as lists themselves. */
.item-children:empty[b-o6e4ryj7gs] {
    display: none;
}

.item-children[b-o6e4ryj7gs]  .list {
    background: transparent;
}

/* Info cards stack with gaps and breathing room inside a NoPadding host Card. */
.list-style-infocards .list-items[b-o6e4ryj7gs] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px 10px;
}

/* Tiles: the item container becomes the grid; the tile markup itself comes from ListItemTemplate. */
.list-style-tiles .list-items[b-o6e4ryj7gs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    align-content: start;
}

/* The empty message lives inside the item container, so in the tiles grid it spans the whole row. */
.list-style-tiles .list-empty[b-o6e4ryj7gs] {
    grid-column: 1 / -1;
}

/* Stale-while-revalidate: keep the outgoing rows mounted, dim them, and float a
   spinner over them while the next page loads — no height collapse, no flicker. */
.list[b-o6e4ryj7gs] {
    position: relative;
}

.is-reloading[b-o6e4ryj7gs] {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 150ms ease;
}

.reload-overlay[b-o6e4ryj7gs] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.reload-overlay-badge[b-o6e4ryj7gs] {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    border-radius: 9999px;
    background: Canvas;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

/* The row a ListPreview shows in its middle column. */
table tbody tr.is-picked > td[b-o6e4ryj7gs],
.list .item.is-picked[b-o6e4ryj7gs] {
    background-color: #e3eef7;
}

.list .item.is-picked[b-o6e4ryj7gs] {
    box-shadow: inset 3px 0 0 var(--accent-color);
}

table tbody tr.is-picked > td:first-child[b-o6e4ryj7gs] {
    box-shadow: inset 3px 0 0 var(--accent-color);
}

/* A row edited in place: its form stands where the row stood, on a tint so it reads as that row opened up. */
tr.row-edit > td[b-o6e4ryj7gs] {
    padding: 6px 0 4px !important;
    background: #f6f9fc;
    cursor: default;
}

.item.item-edit[b-o6e4ryj7gs] {
    padding: 6px 0 4px;
    border-radius: 12px;
    background: #f6f9fc;
    cursor: default;
}
/* /Components/Shared/Table/TableColumnMenu.razor.rz.scp.css */
/* The header label doubles as the menu toggle — in the table's accent header and on the list header
   bar, so it inherits its colour and only picks up an affordance on hover. The pointer is set here and
   inherited by the toggle inside, which belongs to ContextMenu's scope and is out of reach otherwise. */
.column-menu-anchor[b-j0la653p6d] {
    display: inline-flex;
    max-width: 100%;
    cursor: pointer;
    border-radius: 6px;
}

.column-menu-anchor:hover[b-j0la653p6d] {
    background: rgba(255, 255, 255, 0.16);
}

/* ContextMenu's toggle fills the anchor, so the whole hover area is also the click target. */
.column-menu-anchor[b-j0la653p6d]  .context-menu-toggle {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.column-menu-label[b-j0la653p6d] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.15rem;
    min-width: 0;
    white-space: nowrap;
}

/* A column carrying an active sort or filter reads stronger than its idle neighbours. */
.column-menu-label.is-active[b-j0la653p6d] {
    font-weight: 600;
}

.column-menu-marker[b-j0la653p6d] {
    font-size: 0.7em;
    opacity: 0.9;
}

/* Keeps its room while hidden, so the label does not shift when the pointer arrives. */
.column-menu-hint[b-j0la653p6d] {
    opacity: 0;
    transition: opacity 0.12s ease-out;
}

.column-menu-anchor:hover .column-menu-hint[b-j0la653p6d] {
    opacity: 0.6;
}

/* --- The menu panel (teleported into the ContextMenu outlet, keeps this scope) --- */

/* The shared menu card and rows (--menu-* in template.css). */
.column-menu[b-j0la653p6d] {
    background: var(--menu-surface);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
    padding: var(--menu-padding);
    min-width: 220px;
    max-width: 320px;
}

.column-menu-title[b-j0la653p6d] {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--primary-color);
    margin: 4px 10px 6px;
}

.column-menu-option[b-j0la653p6d] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--menu-item-gap);
    min-height: var(--menu-item-min-height);
    border: none;
    background: transparent;
    text-align: left;
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    cursor: pointer;
    font: inherit;
    color: var(--menu-item-ink);
    transition: background-color 0.06s ease-out;
}

.column-menu-option:hover[b-j0la653p6d] {
    background: var(--menu-item-hover);
}

.column-menu-option.selected[b-j0la653p6d] {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
    font-weight: 600;
}

.column-menu-option.selected:hover[b-j0la653p6d] {
    background: var(--menu-item-selected-hover);
}

.column-menu-option i[b-j0la653p6d] {
    width: 1.1em;
    text-align: center;
}

.column-menu-filter[b-j0la653p6d] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.45rem 0.5rem 0.2rem;
}

/* Only separate the filter from the sort options when both are present. */
.column-menu-option + .column-menu-filter[b-j0la653p6d] {
    border-top: 1px solid var(--menu-line);
    margin-top: 0.3rem;
}

.column-menu-filter-label[b-j0la653p6d] {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #374151;
}

.column-menu-reset[b-j0la653p6d] {
    color: var(--color-gray-500, #5c7180);
}
/* /Components/Shared/Table/TableFilterEditor.razor.rz.scp.css */
/* Controls of one filter. The surrounding panel (title, footer, spacing) belongs to the toolbar's
   filter panel or the column menu; only the editors themselves live here so both look identical.

   One field look for all of them: a soft sunken fill and no border, a 36px row, the accent ring on focus. */

.filter-pills[b-vegad9orsa] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-pill[b-vegad9orsa] {
    border: none;
    background: var(--surface-sunken, #eef3f8);
    color: var(--text-ink, #17283a);
    border-radius: 999px;
    min-height: 32px;
    padding: 0 12px;
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.filter-pill i[b-vegad9orsa] {
    color: var(--text-muted);
    font-size: 0.95em;
    transition: color 0.18s ease;
}

.filter-pill:hover[b-vegad9orsa] {
    background: #dde8f2;
}

.filter-pill.selected[b-vegad9orsa] {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 56, 94, 0.22);
}

.filter-pill.selected i[b-vegad9orsa] {
    color: #fff;
}

.filter-text[b-vegad9orsa]  input,
.filter-range input[b-vegad9orsa],
.filter-range[b-vegad9orsa]  .filter-date {
    width: 100%;
    height: 36px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--surface-sunken, #eef3f8);
    padding: 0 12px;
    font-size: var(--fs-sm);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.filter-text[b-vegad9orsa]  input:focus,
.filter-range input:focus[b-vegad9orsa],
.filter-range[b-vegad9orsa]  .filter-date:focus {
    background: #fff;
    border-color: var(--focus-border, var(--accent-color));
}

.filter-range[b-vegad9orsa] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-range input[b-vegad9orsa] {
    width: 0;
    flex: 1;
    min-width: 0;
}

/* The date range uses DateInput, whose field this component's scoped styles cannot reach directly. */
.filter-range[b-vegad9orsa]  .date-input {
    width: 0;
    flex: 1;
}

.filter-range[b-vegad9orsa]  .filter-date {
    padding-right: 2.2rem;
}

.filter-range-divider[b-vegad9orsa] {
    color: var(--text-muted);
    flex: none;
}

/* The picked entity, as a removable chip above the picker. */
.filter-entity-selected[b-vegad9orsa] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    max-width: 100%;
    min-height: 32px;
    padding: 0 4px 0 12px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 600;
    animation: filter-chip-in-b-vegad9orsa 0.2s cubic-bezier(.22, .9, .3, 1);
}

.filter-entity-name[b-vegad9orsa] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.filter-entity-clear[b-vegad9orsa] {
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    cursor: pointer;
    border-radius: 999px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex: none;
    transition: background-color 0.15s ease;
}

.filter-entity-clear:hover[b-vegad9orsa] {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes filter-chip-in-b-vegad9orsa {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
}

/* The inline EntitySelect is sized for a full pane (the transfer scanner surface); inside a filter panel it is a
   compact picker: its kind tabs become a row of small chips, the search a sunken field, the list a short scroller. */
.filter-entity-select[b-vegad9orsa] {
    border-radius: 12px;
    background: var(--surface-sunken, #eef3f8);
    overflow: hidden;
}

/* The inline select draws its own white panel; here the sunken frame is the surface. */
.filter-entity-select[b-vegad9orsa]  .select-menu-panel,
.filter-entity-select[b-vegad9orsa]  .select-panel {
    background: transparent;
    box-shadow: none;
    border: none;
}

.filter-entity-select[b-vegad9orsa]  .select-tabs {
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 6px 0;
}

.filter-entity-select[b-vegad9orsa]  .select-tab {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--text-ink, #17283a);
    font-size: var(--fs-2xs);
    transition: background-color 0.18s ease, color 0.18s ease;
}

.filter-entity-select[b-vegad9orsa]  .select-tab .select-tab-label {
    font-size: var(--fs-2xs);
    font-weight: 600;
}

.filter-entity-select[b-vegad9orsa]  .select-tab:hover {
    background: #dde8f2;
}

.filter-entity-select[b-vegad9orsa]  .select-tab.is-active,
.filter-entity-select[b-vegad9orsa]  .select-tab.is-active:hover {
    background: var(--primary-color);
    color: #fff;
}

.filter-entity-select[b-vegad9orsa]  .search {
    padding: 6px;
}

.filter-entity-select[b-vegad9orsa]  .search input {
    width: 100%;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
    font-size: var(--fs-sm);
}

.filter-entity-select[b-vegad9orsa]  .select-options {
    max-height: 168px;
    overflow-y: auto;
    padding: 0 6px 6px;
}

.filter-entity-select[b-vegad9orsa]  .select-option {
    min-height: 34px;
    padding: 0 10px;
    gap: 10px;
    border-radius: 8px;
    font-size: var(--fs-sm);
}

.filter-entity-select[b-vegad9orsa]  .select-option:hover {
    background: #fff;
}

/* The option list carries no outer margin here, so the selected row must not offset itself. */
.filter-entity-select[b-vegad9orsa]  .select-option.selected:first-child {
    margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
    .filter-pill[b-vegad9orsa],
    .filter-pill i[b-vegad9orsa],
    .filter-entity-clear[b-vegad9orsa] {
        transition: none;
    }

    .filter-entity-selected[b-vegad9orsa] {
        animation: none;
    }
}
/* /Components/Shared/Table/TableToolbar.razor.rz.scp.css */
/* The ⋯ toggle and its menu panel. The panel opens in the ContextMenu popover (its open/close motion lives in
   ContextMenu.razor.css); everything inside it keeps this component's CSS scope. */

/* --- The toggle -----------------------------------------------------------------------------------
   The padding is the inner padding the action strip had, so the ⋯ keeps its place on the vertical axis of
   every row's ⋮ menu (see the .list-toolbar padding in Table.razor.css and the inset below). */
.table-toolbar[b-ffj3ck87oc] {
    --toolbar-dots-size: 26px;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 3px 5px;
}

/* A finger needs more than a mouse: on touch screens and narrow windows the chip grows towards a tap target. */
@media (max-width: 1024px), (pointer: coarse) {
    .table-toolbar[b-ffj3ck87oc] {
        --toolbar-dots-size: 36px;
    }
}

/* In the table header the toggle is positioned against its host cell, so it neither widens the sticky actions
   cell nor pushes the last header's text around. The offset puts the ⋯ on the axis of each row's ⋮ action menu:
   that icon's centre sits 15px (last cell's padding) + 0.7rem (action menu padding) + 6px (half its 0.75rem hit
   area) = 32.2px from the cell's right edge, and the toggle adds its own 5px padding + half its 26px chip. */
.table-toolbar.floating[b-ffj3ck87oc] {
    position: absolute;
    top: 50%;
    right: var(--action-group-inset, 14.2px);
    transform: translateY(-50%);
    z-index: 4;
}

.table-toolbar[b-ffj3ck87oc]  .context-menu-toggle {
    display: inline-flex;
    border-radius: 6px;
}

/* The chip of the app's action strip (ActionGroup's .action-group-btn), so the header looks as it did. */
.toolbar-dots[b-ffj3ck87oc] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--toolbar-dots-size);
    height: var(--toolbar-dots-size);
    border-radius: 6px;
    background: #e7edf3;
    color: var(--color-gray-500, #5c7180);
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.toolbar-dots:hover[b-ffj3ck87oc],
.table-toolbar[b-ffj3ck87oc]  .context-menu-toggle[data-open] .toolbar-dots:not(.active) {
    background: #d8e2ec;
}

/* Raised, in the surface colour: something is narrowing or changing the rows — the badge says how much. */
.toolbar-dots.active[b-ffj3ck87oc] {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 2px rgba(14, 42, 64, 0.12);
}

.table-toolbar.on-accent .toolbar-dots[b-ffj3ck87oc] {
    background: rgba(255, 255, 255, 0.16);
    color: white;
}

.table-toolbar.on-accent .toolbar-dots:hover[b-ffj3ck87oc],
.table-toolbar.on-accent[b-ffj3ck87oc]  .context-menu-toggle[data-open] .toolbar-dots:not(.active) {
    background: rgba(255, 255, 255, 0.3);
}

.table-toolbar.on-accent .toolbar-dots.active[b-ffj3ck87oc] {
    background: white;
    color: var(--accent-color);
}

.toolbar-dots-badge[b-ffj3ck87oc] {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--primary-color);
    color: white;
    border: 1px solid white;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- The panel -------------------------------------------------------------------------------------- */

/* The shared menu card (--menu-* in template.css). One card for all views: TableToolbar.razor.js glides it from
   one view's size to the next while the views slide through it. */
.toolbar-views[b-ffj3ck87oc] {
    position: relative;
    background: var(--menu-surface);
    /* The panel opens out of the accent-coloured table header and would inherit its white text — invisible on
       the white panel wherever an editor brings no colour of its own (the options of an entity filter). */
    color: var(--text-ink, #17283a);
    /* ...and its centred, bold header-cell text. */
    text-align: left;
    font-weight: 400;
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
}

/* The leaving view's copy, laid over the card at its top left while it fades out. */
.toolbar-ghost[b-ffj3ck87oc] {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.toolbar-ghost:empty[b-ffj3ck87oc] {
    display: none;
}

/* A view with a title and editors needs a little more inset than a plain list. */
.toolbar-panel[b-ffj3ck87oc] {
    padding: 8px;
    min-width: 260px;
    max-width: 340px;
}

/* Every view of the panel stays mounted (see TableToolbar.razor); only the current one shows. Restated because
   the panels' own display (flex) would otherwise win over the [hidden] default. */
.toolbar-panel[hidden][b-ffj3ck87oc] {
    display: none;
}

/* --- Main list --- */

.toolbar-menu[b-ffj3ck87oc] {
    padding: var(--menu-padding);
    min-width: 15rem;
}

.toolbar-menu-row[b-ffj3ck87oc] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--menu-item-gap);
    border: none;
    background: transparent;
    text-align: left;
    min-height: var(--menu-item-min-height);
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    cursor: pointer;
    font: inherit;
    color: var(--menu-item-ink);
    white-space: nowrap;
    transition: background-color 0.06s ease-out;
}

.toolbar-menu-row:hover[b-ffj3ck87oc],
.toolbar-menu-row:focus-visible[b-ffj3ck87oc] {
    background: var(--menu-item-hover);
    outline: none;
}

.toolbar-menu-row > i:first-child[b-ffj3ck87oc] {
    flex: none;
    width: 1em;
    text-align: center;
    color: var(--text-muted);
}

.toolbar-menu-row:hover > i:first-child[b-ffj3ck87oc] {
    color: inherit;
}

/* What is on carries the selected ink — the same signal as the raised toggle. */
.toolbar-menu-row.is-active > i:first-child[b-ffj3ck87oc] {
    color: var(--menu-item-selected-ink);
}

.toolbar-menu-label[b-ffj3ck87oc] {
    flex: 1 0 auto;
}

/* The current state at the row's end: the search text, the sort column, An/Aus. */
.toolbar-menu-value[b-ffj3ck87oc] {
    min-width: 0;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.toolbar-menu-row.is-active .toolbar-menu-value[b-ffj3ck87oc] {
    color: var(--menu-item-selected-ink);
    font-weight: 600;
}

.toolbar-menu-chevron[b-ffj3ck87oc] {
    flex: none;
    font-size: 0.85em;
    color: var(--text-muted);
}

/* --- Back row: a sub-panel's title, and the way back to the main list --- */

.toolbar-back[b-ffj3ck87oc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: var(--menu-item-min-height);
    padding: 0 10px 0 6px;
    border: none;
    border-radius: var(--menu-item-radius);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    font-size: var(--fs-base);
    color: var(--primary-color);
    text-align: left;
    transition: background-color 0.06s ease-out;
}

.toolbar-back:hover[b-ffj3ck87oc],
.toolbar-back:focus-visible[b-ffj3ck87oc] {
    background: var(--menu-item-hover);
    outline: none;
}

.toolbar-back > i[b-ffj3ck87oc] {
    color: var(--text-muted);
}

.toolbar-back-title[b-ffj3ck87oc] {
    white-space: nowrap;
}

.toolbar-sort-panel > .toolbar-back[b-ffj3ck87oc],
.toolbar-search-panel > .toolbar-back[b-ffj3ck87oc] {
    width: 100%;
}

.toolbar-panel-count[b-ffj3ck87oc] {
    padding: 0 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color) 12%, white);
    color: var(--accent-color);
    font-size: var(--fs-2xs);
    font-weight: 700;
    line-height: 1.6;
}

.toolbar-panel-reset[b-ffj3ck87oc] {
    border: none;
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.toolbar-panel-reset:hover:not(:disabled)[b-ffj3ck87oc] {
    background: color-mix(in srgb, var(--accent-color) 10%, white);
}

/* Nothing to reset: present but quiet, so the head does not jump when the first filter is set. */
.toolbar-panel-reset:disabled[b-ffj3ck87oc] {
    color: var(--text-muted);
    opacity: 0.45;
    cursor: default;
}

/* --- Filter panel --- */

.toolbar-filter-panel[b-ffj3ck87oc] {
    width: 340px;
    max-width: calc(100vw - 24px);
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: min(72vh, 640px);
}

.toolbar-panel-head[b-ffj3ck87oc] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* Less inset on the left: the back row brings its own. */
    padding: 6px 10px 6px 6px;
    border-bottom: 1px solid var(--surface-line, #edf1f5);
}

/* The sections scroll; the head with its reset stays. */
.toolbar-filter-body[b-ffj3ck87oc] {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 16px 12px;
}

.toolbar-filter-row[b-ffj3ck87oc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
}

.toolbar-filter-row + .toolbar-filter-row[b-ffj3ck87oc] {
    border-top: 1px solid var(--surface-line, #edf1f5);
}

/* A switch is its own control, not a labelled editor: label left, toggle right. */
.toolbar-filter-row.is-switch[b-ffj3ck87oc] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.toolbar-filter-row.is-switch[b-ffj3ck87oc]  input[type="checkbox"] {
    flex: none;
}

.toolbar-filter-label[b-ffj3ck87oc] {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
}

/* --- Search panel --- */

.toolbar-search-panel[b-ffj3ck87oc] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toolbar-search-row[b-ffj3ck87oc] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.toolbar-search-panel[b-ffj3ck87oc]  input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: var(--surface-sunken, #eef3f8);
    padding: 0 12px;
    font-size: var(--fs-sm);
}

/* --- Sort panel --- */

.toolbar-sort-panel > .toolbar-back[b-ffj3ck87oc] {
    margin-bottom: 4px;
}

.toolbar-option[b-ffj3ck87oc] {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--menu-item-gap);
    border: none;
    background: transparent;
    text-align: left;
    min-height: var(--menu-item-min-height);
    padding: var(--menu-item-padding);
    border-radius: var(--menu-item-radius);
    cursor: pointer;
    font: inherit;
    color: var(--menu-item-ink);
    transition: background-color 0.06s ease-out;
}

.toolbar-option:hover[b-ffj3ck87oc] {
    background: var(--menu-item-hover);
}

.toolbar-option.selected[b-ffj3ck87oc] {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
    font-weight: 600;
}

.toolbar-option.selected:hover[b-ffj3ck87oc] {
    background: var(--menu-item-selected-hover);
}

.toolbar-option-reset[b-ffj3ck87oc] {
    justify-content: flex-start;
    color: var(--text-muted);
    margin-top: 4px;
    border-top: 1px solid var(--menu-line);
    border-radius: 0 0 var(--menu-item-radius) var(--menu-item-radius);
}

@media (prefers-reduced-motion: reduce) {
    .toolbar-dots[b-ffj3ck87oc],
    .toolbar-menu-row[b-ffj3ck87oc],
    .toolbar-back[b-ffj3ck87oc],
    .toolbar-panel-reset[b-ffj3ck87oc],
    .toolbar-option[b-ffj3ck87oc] {
        transition: none;
    }
}
/* /Components/Shared/TextInput.razor.rz.scp.css */
.scanner-inline-field[b-dnh8cziben] {
    position: relative;
}

.scanner-inline-field[b-dnh8cziben]  .form-control {
    padding-right: 2.5rem;
}

.scanner-inline-button[b-dnh8cziben] {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--primary-color);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.scanner-inline-button:hover[b-dnh8cziben] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}
/* /Components/Shared/TextInputSelect.razor.rz.scp.css */
.text-input-select[b-ptsowy8wp2] {
    position: relative;
}

.text-input-select-input[b-ptsowy8wp2] {
    width: 100%;
}

/* The shared menu card and rows (--menu-* in template.css), the same as a Select's. */
.text-input-select-panel[b-ptsowy8wp2] {
    /* In normal flow inside the ContextMenu popover: ContextMenu.razor.js measures and places it
       (flip, clamp, shrink to the viewport) exactly like a Select. Absolutely positioned it measured 0 high. */
    background: var(--menu-surface);
    border-radius: var(--menu-radius);
    box-shadow: var(--menu-shadow);
    color: var(--menu-item-ink);
    overflow: hidden;
}

.placeholder[b-ptsowy8wp2] {
    color: var(--color-gray-400);
}

.select-options[b-ptsowy8wp2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--menu-padding);
    max-height: min(280px, var(--menu-max-height, 280px));
    overflow-y: auto;
}

.select-option[b-ptsowy8wp2] {
    display: flex;
    align-items: center;
    gap: var(--menu-item-gap);
    width: 100%;
    min-height: var(--menu-item-min-height);
    box-sizing: border-box;
    padding: var(--menu-item-padding);
    border: none;
    border-radius: var(--menu-item-radius);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.06s ease-out;
}

.select-option:hover:not(.no-click)[b-ptsowy8wp2] {
    background: var(--menu-item-hover);
}

/* The row the arrow keys are on: the hover's surface plus the inner edge of the focus ring. */
.select-option:focus[b-ptsowy8wp2] {
    outline: none;
    background: var(--menu-item-hover);
    box-shadow: inset 0 0 0 1px var(--focus-border);
}

.select-option.selected[b-ptsowy8wp2] {
    background: var(--menu-item-selected);
    color: var(--menu-item-selected-ink);
    font-weight: 600;
}

.select-option.selected:hover:not(.no-click)[b-ptsowy8wp2],
.select-option.selected:focus[b-ptsowy8wp2] {
    background: var(--menu-item-selected-hover);
}

.select-option.no-click[b-ptsowy8wp2] {
    cursor: default;
}
/* /Components/Shared/TransferSummary.razor.rz.scp.css */
.ts[b-4nc7klk47g] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .ts.loading[b-4nc7klk47g] {
        opacity: 0.6;
        pointer-events: none;
    }

.ts-empty[b-4nc7klk47g] {
    padding: 16px 4px;
    font-size: var(--fs-sm);
    color: var(--color-gray-500, #6b7280);
}

/* ---- source group card ---- */
.ts-group[b-4nc7klk47g] {
    border: 1px solid #e4ebf2;
    border-radius: var(--border-radius, 8px);
    background: #fff;
    overflow: hidden;
}

.ts-group-head[b-4nc7klk47g] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #f6f9fc;
    border-bottom: 1px solid #eef3f8;
}

.ts-group-icon[b-4nc7klk47g] {
    display: inline-flex;
    color: var(--primary-color, #00385e);
}

.ts-group-name[b-4nc7klk47g] {
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--primary-color, #00385e);
}

.ts-group-section[b-4nc7klk47g] {
    font-weight: 500;
    font-size: var(--fs-sm);
    color: var(--color-gray-400, #9aa8b5);
}

/* ---- rows ---- */
.ts-rows[b-4nc7klk47g] {
    display: flex;
    flex-direction: column;
}

/* Bereich subheader inside a warehouse card — "Freie Position" for stock without one. */
.ts-section[b-4nc7klk47g] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 4px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-gray-400, #9aa8b5);
}

    .ts-section + .ts-row[b-4nc7klk47g] {
        border-top: none;
    }

    .ts-row + .ts-section[b-4nc7klk47g] {
        border-top: 1px solid #f1f5f9;
        margin-top: 2px;
    }

.ts-row[b-4nc7klk47g] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

    .ts-row + .ts-row[b-4nc7klk47g] {
        border-top: 1px solid #f1f5f9;
    }

    .ts-row.clickable[b-4nc7klk47g] {
        cursor: pointer;
        transition: background 0.12s;
    }

        .ts-row.clickable:hover[b-4nc7klk47g] {
            background: #f6f9fc;
        }

.ts-row-icon[b-4nc7klk47g] {
    flex: 0 0 auto;
    display: inline-flex;
    width: 1.1rem;
    justify-content: center;
    color: var(--color-gray-400, #9aa8b5);
}

.ts-row-name[b-4nc7klk47g] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--primary-color, #00385e);
}

/* Name und Kommission übereinander: nebeneinander teilten sie sich die Zeile, und auf dem Telefon blieben
   davon „Rohrschellen …“ und „Pe…“ — zwei Zeilen desselben Artikels waren nicht mehr auseinanderzuhalten,
   genau das, wofür die Kommission dasteht. Untereinander hat jede die ganze Breite. */
.ts-row-main[b-4nc7klk47g] {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .ts-row-main .ts-row-name[b-4nc7klk47g] {
        max-width: 100%;
    }

/* ---- quantity pill (neutral transfer icon ⇄ for a live move; +/- direction for a saved transfer) ---- */
.ts-pill[b-4nc7klk47g] {
    margin-left: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    background: #e7f0f8;
    color: var(--primary-color, #00385e);
}

    .ts-pill i[b-4nc7klk47g] {
        font-size: 0.72rem;
    }

    /* incoming = stock arrives (green +), outgoing = stock leaves (red −) */
    .ts-pill.incoming[b-4nc7klk47g] {
        background: #e7f6ec;
        color: #15803d;
    }

    .ts-pill.outgoing[b-4nc7klk47g] {
        background: #fde8ea;
        color: #e63946;
    }

/* ---- optional per-row action (e.g. the destination-position button) ---- */
.ts-row-action[b-4nc7klk47g] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

    /* Row-sized: the action sits inside a list row, so it stays smaller than a standalone form button. */
    .ts-row-action[b-4nc7klk47g]  button {
        padding: 5px 10px;
        font-size: var(--fs-xs);
        white-space: nowrap;
    }

/* ---- delete ---- */
.ts-del[b-4nc7klk47g] {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: var(--color-gray-400, #9aa8b5);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 0.82rem;
    transition: color 0.15s, background 0.15s;
}

    .ts-del:hover[b-4nc7klk47g] {
        color: var(--accent-red, #e63946);
        background: #fde8ea;
    }

/* Die Kommission sitzt am Kopf der Quelle, nicht an jeder Zeile darunter: die ganze Gruppe gehört derselben
   Baustelle — sie ist Teil dessen, was die Quelle ist. ::deep, weil die Beschriftung eine eigene Komponente
   ist und ihr Wurzelelement nicht zu diesem Stylesheet gehört. */
.ts-group-head[b-4nc7klk47g]  .commission {
    margin-left: 0.35rem;
}
/* /Components/Shared/WarehouseLink.razor.rz.scp.css */
/* Reads as a link in running text and in the preview's field grid, where everything else is plain ink. */
.warehouse-link[b-0d059uvyt6] {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.warehouse-link:hover[b-0d059uvyt6],
.warehouse-link:focus-visible[b-0d059uvyt6] {
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* /Components/Shared/WarehouseLocationDialog.razor.rz.scp.css */
.wl-map[b-jxodiq22uh] {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px var(--surface-line, #e3e9ee);
}

.wl-facts[b-jxodiq22uh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: var(--fs-sm);
}

.wl-distance[b-jxodiq22uh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-ink);
}

    .wl-distance i[b-jxodiq22uh] {
        color: var(--accent-color);
    }

.wl-muted[b-jxodiq22uh] {
    color: var(--text-muted);
}

.wl-loading[b-jxodiq22uh] {
    padding: 20px 0;
}

.wl-empty[b-jxodiq22uh] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    color: var(--text-muted);
}
/* /Components/Shared/WarehouseSectionLink.razor.rz.scp.css */
.wsl[b-3pjypqpr9a] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    min-width: 0;
}

.wsl--empty[b-3pjypqpr9a] {
    color: var(--color-gray-400, #9aa8b5);
}

.wsl__icon[b-3pjypqpr9a] {
    align-self: center;
    flex: 0 0 auto;
    font-size: 0.9em;
    color: var(--color-gray-400, #9aa8b5);
}

.wsl__name[b-3pjypqpr9a] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* The path arrow, as in every breadcrumb: reads as one "Lager › Bereich" path. */
.wsl__sep[b-3pjypqpr9a] {
    color: var(--color-gray-400, #9aa8b5);
    font-size: 0.75em;
}

.wsl__section[b-3pjypqpr9a] {
    color: var(--muted, #64748b);
    overflow-wrap: anywhere;
}

/* Link variant: coloured like every other in-app link, underlined only on hover so dense tables stay calm. */
.wsl--link[b-3pjypqpr9a] {
    color: var(--primary-color, #00385e);
    text-decoration: none;
    border-radius: 4px;
}

    .wsl--link:hover .wsl__name[b-3pjypqpr9a],
    .wsl--link:focus-visible .wsl__name[b-3pjypqpr9a] {
        text-decoration: underline;
    }

    .wsl--link:hover .wsl__icon[b-3pjypqpr9a] {
        color: inherit;
    }

    .wsl--link:focus-visible[b-3pjypqpr9a] {
        outline: 2px solid var(--primary-color, #00385e);
        outline-offset: 2px;
    }
/* /Components/Supplier/ContactCard.razor.rz.scp.css */
.contact-card[b-zy8hkyk9f6] {
  display: block;
  border-radius: 8px;
  padding: 12px;
  background: var(--card-bg, #ffffff);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  /* border: 1px solid rgba(15,23,42,0.04); */
  overflow: hidden;
}

.contact-card__header[b-zy8hkyk9f6] {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.contact-card__name[b-zy8hkyk9f6] {
  font-weight: 600;
  font-size: var(--fs-lg);
  /* color: var(--text, #0f172a); */
}

.contact-card__dept[b-zy8hkyk9f6] {
  color: var(--muted, #64748b);
  font-size: var(--fs-sm);
}

.contact-card__body[b-zy8hkyk9f6] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-card__row[b-zy8hkyk9f6] {
  display: flex;
}

.contact-card__link[b-zy8hkyk9f6] {
  background: transparent;
  border: none;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 6px;
}

.contact-card__link:hover[b-zy8hkyk9f6] {
  background: rgba(15,23,42,0.03);
}

.contact-card__text[b-zy8hkyk9f6] {
}

.contact-card__footer[b-zy8hkyk9f6] {
  margin-top: 8px;
}

.contact-card__meta[b-zy8hkyk9f6] {
  color: var(--muted, #64748b);
}

/* Slim variant */
.contact-card--slim[b-zy8hkyk9f6] {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-card--slim .contact-card__slim[b-zy8hkyk9f6] {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.contact-card__slim-left[b-zy8hkyk9f6] {
  display: flex;
  flex-direction: column;
}

.contact-card__slim-right[b-zy8hkyk9f6] {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding-top: 2px;
}

.contact-card--slim .contact-card__name[b-zy8hkyk9f6] {
  font-size: var(--fs-sm);
  font-weight: normal;
}

.contact-card--slim .contact-card__dept[b-zy8hkyk9f6] {
  font-size: var(--fs-xs);
  white-space: nowrap;
  max-width: 10em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card--slim .contact-card__link[b-zy8hkyk9f6] {
  padding: 4px;
  display: inline-grid;
  place-items: center;
  font-size: 0.7em;
  color: #64748b99;
}
/* /Components/Supplier/SupplierContactList.razor.rz.scp.css */
.contact-list-empty[b-fxr5mra09w] {
    margin: 0;
    padding: 14px 18px;
    color: var(--text-muted);
}

.contact-list[b-fxr5mra09w] {
    margin: 0;
    padding: 0 0 6px;
    list-style: none;
}

.contact-list li[b-fxr5mra09w] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 9px 18px;
    border-top: 1px solid #f0f3f6;
}

.contact-list li:first-child[b-fxr5mra09w] {
    border-top: 0;
}

.contact-list-name[b-fxr5mra09w] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-list-name span[b-fxr5mra09w] {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* A row in form: the contact's fields over the row's width. */
.contact-list li.contact-list-form[b-fxr5mra09w] {
    display: block;
    padding: 12px 18px;
    background: var(--surface-sunken);
}

/* Links and the row's ⋯ stay together on the right, also when the row wraps. */
.contact-list-end[b-fxr5mra09w] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-width: 0;
}

.contact-list-more[b-fxr5mra09w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.contact-list-more:hover[b-fxr5mra09w] {
    background: var(--menu-item-hover);
    color: var(--text-ink);
}

.contact-list-links[b-fxr5mra09w] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    min-width: 0;
}

.contact-list-links a[b-fxr5mra09w] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* Padding for the hover background, handed back so the text stays in place. */
    margin: -3px -6px;
    padding: 3px 6px;
    border-radius: 6px;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 0.12s ease;
}

.contact-list-links a:hover[b-fxr5mra09w] {
    background: var(--menu-item-hover);
}

.contact-list-links i[b-fxr5mra09w] {
    color: var(--text-muted);
}
/* /Components/Terminals/Admin/TerminalCredentialsSection.razor.rz.scp.css */
.tcs[b-7pdhbsp3t9] {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.tcs-title[b-7pdhbsp3t9] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.tcs-hint[b-7pdhbsp3t9] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.tcs-row[b-7pdhbsp3t9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
}

.tcs-label[b-7pdhbsp3t9] {
    width: 5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tcs-value[b-7pdhbsp3t9] {
    min-width: 6rem;
    font-weight: 600;
}

.tcs-pin[b-7pdhbsp3t9] {
    max-width: 10rem;
    letter-spacing: 0.2em;
}

.tcs-badge[b-7pdhbsp3t9] {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
}

.tcs[b-7pdhbsp3t9]  .tcs-qr {
    flex: none;
    width: 8rem;
    height: 8rem;
}

.tcs[b-7pdhbsp3t9]  .tcs-qr svg {
    width: 100%;
    height: 100%;
}
/* /Components/Terminals/Admin/TerminalDisplayPanel.razor.rz.scp.css */
.tdp[b-6o4h063ihd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
    align-items: start;
}

.tdp-zoom[b-6o4h063ihd] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tdp-zoom input[type="range"][b-6o4h063ihd] {
    flex: 1;
    accent-color: #4a6fa5;
}

.tdp-zoom-value[b-6o4h063ihd] {
    min-width: 4.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.tdp-presets[b-6o4h063ihd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.tdp-preset[b-6o4h063ihd] {
    padding: 0.3rem 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    font-size: 0.8rem;
    cursor: pointer;
}

.tdp-preset.is-selected[b-6o4h063ihd] {
    border-color: #4a6fa5;
    background: #eef2ff;
}

.tdp-hint[b-6o4h063ihd] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tdp-facts[b-6o4h063ihd] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
    margin: 0;
    font-size: 0.9rem;
}

.tdp-facts dt[b-6o4h063ihd] {
    color: var(--text-muted);
}

.tdp-facts dd[b-6o4h063ihd] {
    margin: 0;
}

.tdp-agent[b-6o4h063ihd] {
    font-size: 0.75rem;
    color: var(--text-muted);
    word-break: break-word;
}

.tdp-online[b-6o4h063ihd] {
    color: #15803d;
    font-weight: 600;
}

.tdp-warning[b-6o4h063ihd] {
    color: #b45309;
}
/* /Components/Terminals/Admin/TerminalLinkPanel.razor.rz.scp.css */
.tlp[b-806sroapq0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 1rem;
    align-items: start;
}

.tlp-hint[b-806sroapq0] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tlp-warning[b-806sroapq0] {
    color: #b45309;
}

.tlp-subtitle[b-806sroapq0] {
    margin: 1.25rem 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.tlp-link[b-806sroapq0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background: #f8fafc;
}

.tlp-link code[b-806sroapq0] {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    word-break: break-all;
}

.tlp-copy[b-806sroapq0] {
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    cursor: pointer;
}

.tlp-link.copied .tlp-copy[b-806sroapq0] {
    color: #15803d;
}

.tlp-link-row[b-806sroapq0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.tlp-actions[b-806sroapq0] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tlp[b-806sroapq0]  .tlp-qr {
    width: 9rem;
    height: 9rem;
}

.tlp[b-806sroapq0]  .tlp-qr svg {
    width: 100%;
    height: 100%;
}

.tlp-pair[b-806sroapq0] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tlp-code[b-806sroapq0] {
    max-width: 9rem;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-align: center;
}

.tlp-waiting[b-806sroapq0],
.tlp-devices[b-806sroapq0] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tlp-waiting li[b-806sroapq0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tlp-devices li[b-806sroapq0] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-top: 1px solid #f1f5f9;
}

.tlp-device-name[b-806sroapq0] {
    flex: 1;
    font-weight: 600;
}

.tlp-device-date[b-806sroapq0] {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.tlp-remove[b-806sroapq0] {
    border: 0;
    background: transparent;
    color: #b91c1c;
    cursor: pointer;
}
/* /Components/Terminals/Admin/TerminalLookFieldEditor.razor.rz.scp.css */
.tlf-hint[b-88lulybmqx] {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}
/* /Components/Terminals/Admin/TerminalLookGrid.razor.rz.scp.css */
.twl-grid[b-yvhsh7oac8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.twl-grid.is-wide[b-yvhsh7oac8] {
    grid-template-columns: minmax(0, 1fr);
}

@container pane (max-width: 640px) {
    .twl-grid[b-yvhsh7oac8] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.twl-tile[b-yvhsh7oac8] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.5rem;
    border: 0;
    border-radius: 0.9rem;
    background: var(--menu-hover, #f1f5f9);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.twl-tile:hover[b-yvhsh7oac8],
.twl-tile:focus-visible[b-yvhsh7oac8] {
    background: #e4ebf7;
    box-shadow: 0 0 0 2px var(--primary-color, #4a6fa5);
    outline: none;
}

.twl-tile.is-current[b-yvhsh7oac8] {
    box-shadow: 0 0 0 2px var(--primary-color, #4a6fa5);
}

.twl-caption[b-yvhsh7oac8] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0 0.25rem 0.15rem;
}

.twl-name[b-yvhsh7oac8] {
    font-weight: 700;
    color: var(--text-ink);
}

.twl-badge[b-yvhsh7oac8] {
    margin-left: 0.35rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--primary-color, #4a6fa5);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
}

.twl-description[b-yvhsh7oac8] {
    font-size: 0.82rem;
    color: var(--text-muted);
}
/* /Components/Terminals/Admin/TerminalWidgetEditor.razor.rz.scp.css */
.twe[b-fctw1gr73n] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.twe-toolbar[b-fctw1gr73n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.twe-pages[b-fctw1gr73n] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.twe-page[b-fctw1gr73n] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: var(--text-ink);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.twe-page.is-selected[b-fctw1gr73n] {
    border-color: #4a6fa5;
    background: #eef2ff;
    color: #2f4f80;
}

.twe-page-count[b-fctw1gr73n] {
    min-width: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
}

.twe-page-add[b-fctw1gr73n] {
    padding: 0.35rem 0.55rem;
}

/* The screen's ground in its theme; the 4px gap stands for the screen's own gap between widgets. */
.twe-grid[b-fctw1gr73n] {
    --twe-ground: #0b1220;
    --twe-cell: rgba(255, 255, 255, 0.04);
    --twe-cell-line: rgba(255, 255, 255, 0.08);
    position: relative;
    display: grid;
    gap: 4px;
    width: 100%;
    max-height: 70vh;
    padding: 4px;
    border-radius: 0.75rem;
    background: var(--twe-ground);
}

.twe-grid.theme-light[b-fctw1gr73n] {
    --twe-ground: #e9eef4;
    --twe-cell: rgba(15, 23, 42, 0.03);
    --twe-cell-line: rgba(15, 23, 42, 0.1);
}

.twe-cell[b-fctw1gr73n] {
    border-radius: 4px;
    background: var(--twe-cell);
    outline: 1px dashed var(--twe-cell-line);
}

.twe-cell.is-target[b-fctw1gr73n] {
    background: rgba(79, 143, 247, 0.35);
}

/* The live preview fills the card; label, pencil, actions and resize corner lie over it. */
.twe-widget[b-fctw1gr73n] {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    min-height: 0;
    border-radius: 6px;
    cursor: grab;
    overflow: hidden;
}

.twe-widget[b-fctw1gr73n]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.twe-widget:hover[b-fctw1gr73n]::after {
    background: rgba(8, 12, 22, 0.35);
    box-shadow: inset 0 0 0 2px #4f8ff7;
}

.twe-widget.is-overlapping[b-fctw1gr73n]::after {
    box-shadow: inset 0 0 0 2px #f05252;
}

.twe-widget.is-dragged[b-fctw1gr73n] {
    opacity: 0.45;
}

/* While dragging, the drop goes to the cells underneath. */
.twe-grid.is-dragging .twe-widget[b-fctw1gr73n] {
    pointer-events: none;
}

/* Which widget it is — shown on hover only, the preview is what counts. */
.twe-widget-label[b-fctw1gr73n] {
    position: absolute;
    left: 0.3rem;
    bottom: 0.3rem;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - 2rem);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(8, 12, 22, 0.8);
    color: #f1f5f9;
    font-size: 0.72rem;
}

.twe-widget:hover .twe-widget-label[b-fctw1gr73n] {
    display: inline-flex;
}

.twe-widget-title[b-fctw1gr73n] {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.twe-widget-look[b-fctw1gr73n] {
    color: #cbd5e1;
    white-space: nowrap;
}

.twe-widget-size[b-fctw1gr73n] {
    color: #94a3b8;
    white-space: nowrap;
}

/* Edit sign in the middle; the click itself goes to the card. */
.twe-widget-edit[b-fctw1gr73n] {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color, #4a6fa5);
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.twe-widget:hover .twe-widget-edit[b-fctw1gr73n] {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.twe-widget-actions[b-fctw1gr73n] {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    z-index: 2;
    display: none;
    gap: 0.15rem;
}

.twe-widget:hover .twe-widget-actions[b-fctw1gr73n] {
    display: flex;
}

.twe-widget-actions button[b-fctw1gr73n] {
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border: 0;
    border-radius: 4px;
    background: rgba(8, 12, 22, 0.75);
    color: #f1f5f9;
    cursor: pointer;
}

.twe-widget-actions button:hover[b-fctw1gr73n] {
    background: rgba(8, 12, 22, 0.95);
}

.twe-resize[b-fctw1gr73n] {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 0.9rem;
    height: 0.9rem;
    border-right: 3px solid #4f8ff7;
    border-bottom: 3px solid #4f8ff7;
    border-bottom-right-radius: 5px;
    cursor: nwse-resize;
}

.twe-hint[b-fctw1gr73n] {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.twe-warning[b-fctw1gr73n] {
    margin-left: 0.5rem;
    color: #b91c1c;
}
/* /Components/Terminals/Admin/TerminalWidgetPreview.razor.rz.scp.css */
.twp[b-j7z3unkvs2] {
    position: relative;
    width: 100%;
    container-type: inline-size;
    overflow: hidden;
    border-radius: 0.6rem;
    pointer-events: none;
}

.twp > .terminal-preview[b-j7z3unkvs2] {
    position: absolute;
    inset: 0;
    padding: 0.35em;
    background: var(--t-bg);
}

.twp.is-fill[b-j7z3unkvs2] {
    height: 100%;
    border-radius: 0;
}

.twp.is-fill > .terminal-preview[b-j7z3unkvs2] {
    padding: 0;
    background: transparent;
}
/* /Components/Terminals/Admin/TerminalWidgetTypeDialog.razor.rz.scp.css */
.twt-list[b-eh4svi75qs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    gap: 0.25rem;
}

.twt-item[b-eh4svi75qs] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.7rem;
    border: 0;
    border-radius: 0.6rem;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.twt-item:hover[b-eh4svi75qs] {
    background: var(--menu-hover, #f1f5f9);
}

.twt-icon[b-eh4svi75qs] {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.55rem;
    background: #eef2ff;
    color: #4a6fa5;
    font-size: 1.1rem;
}

.twt-text[b-eh4svi75qs] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.twt-name[b-eh4svi75qs] {
    font-weight: 600;
    color: var(--text-ink);
}

.twt-tag[b-eh4svi75qs] {
    margin-left: 0.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.7rem;
    font-weight: 600;
}

.twt-description[b-eh4svi75qs] {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.twt-warning[b-eh4svi75qs] {
    font-size: 0.78rem;
    color: #b45309;
}

.twt-looks[b-eh4svi75qs] {
    flex: none;
    align-self: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ── Second step: the looks ──────────────────────────────────────────────────────────────────────────────────── */
.twl-head[b-eh4svi75qs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    margin-bottom: 0.9rem;
}

.twl-back[b-eh4svi75qs] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--menu-hover, #f1f5f9);
    color: var(--text-ink);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.twl-type[b-eh4svi75qs] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--text-ink);
}

.twl-hint[b-eh4svi75qs] {
    font-size: 0.82rem;
    color: var(--text-muted);
}
/* /Components/Terminals/Admin/WarehouseListFieldEditor.razor.rz.scp.css */
.wlf-list[b-q0zzqnv7r5] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0 0 0.5rem;
    padding: 0;
    list-style: none;
}

.wlf-item[b-q0zzqnv7r5] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.4rem 0.3rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background: #f8fafc;
}

.wlf-position[b-q0zzqnv7r5] {
    min-width: 1.4rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.wlf-name[b-q0zzqnv7r5] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.wlf-button[b-q0zzqnv7r5] {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.wlf-button:hover:not(:disabled)[b-q0zzqnv7r5] {
    background: #e2e8f0;
    color: var(--text-ink);
}

.wlf-button:disabled[b-q0zzqnv7r5] {
    opacity: 0.35;
    cursor: default;
}
/* /Components/Terminals/Widgets/TrafficMap.razor.rz.scp.css */
.traffic-map[b-d4wpyvb7wy] {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: #e5e7eb;
}

.traffic-map-canvas[b-d4wpyvb7wy] {
    position: absolute;
    inset: 0;
}

.traffic-map-overlay[b-d4wpyvb7wy] {
    position: absolute;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    color: #64748b;
}
/* /Components/Toast/ToastHost.razor.rz.scp.css */
/* Bottom right, above the phone tab bar; the newest toast lands at the bottom and pushes older ones up. */
.toast-container[b-pywv48wnrn] {
    position: fixed;
    right: 1rem;
    bottom: calc(var(--app-tabbar-h, 0px) + 1rem);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    pointer-events: none;
    width: min(400px, calc(100vw - 2 * 1rem));
}
/* /Components/Toast/ToastInstance.razor.rz.scp.css */
.toast[b-0lk73pkfj9] {
    --toast-tone: #2196f3;
    width: 100%;
    box-sizing: border-box;
    background: color-mix(in srgb, var(--toast-tone) 12%, rgba(255, 255, 255, 0.72));
    backdrop-filter: blur(14px) saturate(1.6);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    border: 1px solid color-mix(in srgb, var(--toast-tone) 22%, transparent);
    border-radius: var(--menu-radius, 12px);
    box-shadow: var(--menu-shadow);
    color: var(--text-ink);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-base);
    pointer-events: auto;
    animation: toast-fly-in-b-0lk73pkfj9 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

/* Without backdrop blur the page would read through: the tint then sits on solid white. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .toast[b-0lk73pkfj9] {
        background: color-mix(in srgb, var(--toast-tone) 10%, #fff);
    }
}

.toast-info[b-0lk73pkfj9] { --toast-tone: #2196f3; }
.toast-success[b-0lk73pkfj9] { --toast-tone: #2e9d4f; }
.toast-warning[b-0lk73pkfj9] { --toast-tone: #f08c00; }
.toast-error[b-0lk73pkfj9] { --toast-tone: #e5383b; }

.icon[b-0lk73pkfj9] {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--toast-tone);
}

.center[b-0lk73pkfj9] {
    flex: 1;
    min-width: 0;
}

.title[b-0lk73pkfj9] {
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 600;
}

.message[b-0lk73pkfj9] {
    margin: 0;
}

.close-button[b-0lk73pkfj9] {
    margin-left: auto;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-muted);
}

.close-button:hover[b-0lk73pkfj9] {
    color: var(--text-ink);
}

@keyframes toast-fly-in-b-0lk73pkfj9 {
    from { opacity: 0; transform: translateX(calc(100% + 1rem)); }
    to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .toast[b-0lk73pkfj9] {
        animation: none;
    }
}

/* "Rückgängig": the way back from a handgrip that saved at once. */
.toast-action[b-0lk73pkfj9] {
    flex: none;
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
}

.toast-action:hover[b-0lk73pkfj9] {
    background: var(--accent-color);
}
/* /Components/Tracking/LocationFieldEditor.razor.rz.scp.css */
.loc-field[b-soa78lqw6a] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Like VehicleMap: the outer box gives Leaflet a stacking context of its own, so its controls (z-index up to 1000)
   cannot climb over the dialog's footer. */
.loc-field-map[b-soa78lqw6a] {
    position: relative;
    isolation: isolate;
    height: 260px;
    border-radius: 10px;
    border: 1px solid var(--surface-line);
    overflow: hidden;
    background: #e5e7eb;
}

.loc-field-canvas[b-soa78lqw6a] {
    position: absolute;
    inset: 0;
    cursor: crosshair;
}

.loc-field-overlay[b-soa78lqw6a] {
    position: absolute;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.loc-field-bar[b-soa78lqw6a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.loc-field-input[b-soa78lqw6a] {
    flex: 1 1 220px;
    min-width: 0;
}

.loc-field-btn[b-soa78lqw6a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #d5dee8;
    background: #fff;
    color: var(--text-ink);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.loc-field-btn:hover:not(:disabled)[b-soa78lqw6a] {
    background: var(--menu-item-hover);
}

.loc-field-btn.quiet[b-soa78lqw6a] {
    border-color: transparent;
    color: var(--text-muted);
}

.loc-field-btn:disabled[b-soa78lqw6a] {
    cursor: default;
    opacity: 0.7;
}

.loc-field-hint[b-soa78lqw6a] {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.loc-field-hint.is-error[b-soa78lqw6a] {
    color: #b91c1c;
}

/* Leaflet builds the pin itself, outside this component's scope. */
[b-soa78lqw6a] .loc-field-pin {
    background: none;
    border: 0;
    color: #dc2626;
    font-size: 32px;
    line-height: 1;
    text-shadow: 0 1px 2px rgb(255 255 255 / .9);
    cursor: grab;
}

[b-soa78lqw6a] .loc-field-pin i {
    display: block;
}
/* /Components/Tracking/TrackerPreview.razor.rz.scp.css */
/* Tabs whose content is no list: room around it inside the panel. */
.tp-pad[b-hv1zl6qyxa] {
    padding: 16px 20px;
}
/* /Components/Tracking/TrackerSetupGuide.razor.rz.scp.css */
.tracker-setup[b-1oge44xocc] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    font-size: var(--fs-sm, .875rem);
}

.tracker-setup p[b-1oge44xocc] {
    margin: 0;
}

.tracker-setup-warning[b-1oge44xocc] {
    padding: .5rem .75rem;
    border-radius: var(--border-radius);
    background: #fef3c7;
    color: #92400e;
}

.tracker-setup-values[b-1oge44xocc] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .35rem 1rem;
    margin: 0;
}

.tracker-setup-values dt[b-1oge44xocc] {
    color: #6b7280;
}

.tracker-setup-values dd[b-1oge44xocc] {
    margin: 0;
    word-break: break-all;
}

.tracker-guide-legend[b-1oge44xocc] {
    color: #6b7280;
}

.tracker-guide-section[b-1oge44xocc] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: .4rem;
}

.tracker-guide-section h4[b-1oge44xocc] {
    font-weight: 600;
}

.tracker-guide-steps[b-1oge44xocc] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tracker-guide-step[b-1oge44xocc] {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: .15rem 1rem;
    padding: .45rem 0;
    border-top: 1px solid #e5e7eb;
}

.tracker-guide-step-title[b-1oge44xocc] {
    grid-row: span 2;
}

.tracker-guide-step-sms[b-1oge44xocc] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
}

.tracker-guide-variant[b-1oge44xocc] {
    display: inline-flex;
    align-items: baseline;
    gap: .4rem;
}

.tracker-guide-variant-label[b-1oge44xocc] {
    color: #6b7280;
}

.tracker-guide-step-hint[b-1oge44xocc] {
    color: #6b7280;
}

.tracker-guide-checks[b-1oge44xocc] {
    margin: 0;
    padding-left: 1.25rem;
    list-style: decimal;
}

.tracker-guide-checks li + li[b-1oge44xocc] {
    margin-top: .2rem;
}

.sms[b-1oge44xocc] {
    font-weight: 600;
    word-break: break-all;
}

/* What came from the tracker or the server configuration. */
.sms-value[b-1oge44xocc] {
    color: #0f766e;
}

/* What the reader fills in themselves. */
.sms-placeholder[b-1oge44xocc] {
    padding: 0 .2rem;
    border: 1px dashed #9ca3af;
    border-radius: .25rem;
    color: #6b7280;
    font-weight: 400;
    font-style: italic;
}

/* A visible space; the space inside stays a real one for copying. */
.sms-space[b-1oge44xocc] {
    display: inline-block;
    width: .75em;
    height: .5em;
    margin: 0 .2em;
    border: 1.5px solid #6b7280;
    border-top: none;
    white-space: pre;
    /* Hidden overflow moves an inline-block's baseline to its bottom edge, so the marker sits on the line. */
    overflow: hidden;
    vertical-align: -.1em;
}

@media (max-width: 640px) {
    .tracker-guide-step[b-1oge44xocc] {
        grid-template-columns: 1fr;
    }

    .tracker-guide-step-title[b-1oge44xocc] {
        grid-row: auto;
        font-weight: 600;
    }
}
/* /Components/Tracking/TrackerStateBadge.razor.rz.scp.css */
/* Same colours as the markers in VehicleMap.razor.js. */
.tracker-state[b-y4f2v44q76] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
    font-size: var(--fs-sm, .875rem);
}

.tracker-state-dot[b-y4f2v44q76] {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    flex: none;
    background: #94a3b8;
}

.tracker-state-moving .tracker-state-dot[b-y4f2v44q76] { background: #16a34a; }
.tracker-state-parked .tracker-state-dot[b-y4f2v44q76] { background: #2563eb; }
.tracker-state-unknown .tracker-state-dot[b-y4f2v44q76] { background: #d97706; }

.tracker-state-label[b-y4f2v44q76] {
    font-weight: 600;
}

.tracker-state-none .tracker-state-label[b-y4f2v44q76],
.tracker-state-seen[b-y4f2v44q76] {
    color: #6b7280;
    font-weight: 400;
}

/* Set apart from the bold state word by space and weight, not by a separator glyph. */
.tracker-state-seen[b-y4f2v44q76] {
    margin-left: .35rem;
}
/* /Components/Tracking/UnknownTrackerDevices.razor.rz.scp.css */
.unknown-devices[b-mxlj604x1d] {
    margin: .5rem 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-sm, .875rem);
}

.unknown-device[b-mxlj604x1d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding: .6rem 1rem;
    border-top: 1px solid #e5e7eb;
}

.unknown-device-text[b-mxlj604x1d] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.unknown-device-text code[b-mxlj604x1d] {
    align-self: flex-start;
}

.unknown-device-meta[b-mxlj604x1d] {
    color: #6b7280;
}

/* The leading fact of the meta line, a shade darker than the rest. */
.unknown-device-lead[b-mxlj604x1d] {
    color: var(--text-ink);
}

.unknown-device-actions[b-mxlj604x1d] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
/* /Components/Tracking/VehicleMap.razor.rz.scp.css */
.vehicle-map[b-s05jbm0sb8] {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #e5e7eb;
}

.vehicle-map-canvas[b-s05jbm0sb8] {
    position: absolute;
    inset: 0;
}

.vehicle-map-overlay[b-s05jbm0sb8] {
    position: absolute;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--text-muted, #64748b);
    font-size: var(--fs-sm, .875rem);
}

/* Leaflet builds markers and tooltips itself, outside this component's scope. */
[b-s05jbm0sb8] .vehicle-map-marker {
    background: none;
    border: 0;
}

[b-s05jbm0sb8] .vehicle-map-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / .35);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

[b-s05jbm0sb8] .vehicle-map-dot i {
    display: block;
}

/* A driving vehicle pulses green: a ring that grows out of the dot and fades. */
[b-s05jbm0sb8] .vehicle-map-dot.is-moving {
    position: relative;
}

[b-s05jbm0sb8] .vehicle-map-dot.is-moving::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: #16a34a;
    z-index: -1;
    animation: vehicle-map-pulse-b-s05jbm0sb8 1.6s ease-out infinite;
}

@keyframes vehicle-map-pulse-b-s05jbm0sb8 {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    [b-s05jbm0sb8] .vehicle-map-dot.is-moving::after {
        animation: none;
        transform: scale(1.6);
        opacity: .3;
    }
}

/* The popup a marker click opens: name, a few facts, the link to the vehicle. */
[b-s05jbm0sb8] .vehicle-map-popup {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 170px;
    font-size: var(--fs-sm, .875rem);
    color: var(--text-muted, #64748b);
}

[b-s05jbm0sb8] .vehicle-map-popup strong {
    color: var(--text-ink, #0f172a);
    font-size: var(--fs-md, 1rem);
    margin-bottom: 2px;
}

[b-s05jbm0sb8] .vehicle-map-popup a {
    margin-top: 6px;
    color: var(--accent-color);
    font-weight: 600;
}

[b-s05jbm0sb8] .leaflet-popup-content-wrapper {
    border-radius: var(--surface-radius, 12px);
    box-shadow: var(--surface-shadow, 0 4px 16px rgb(0 0 0 / .15));
}

[b-s05jbm0sb8] .vehicle-map-site {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgb(0 0 0 / .35);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
}

[b-s05jbm0sb8] .vehicle-map-site-label {
    font-weight: 500;
    color: #4b5563;
}

[b-s05jbm0sb8] .vehicle-map-label {
    font-weight: 600;
    padding: 1px 6px;
}

/* Leaflet's touch zoom buttons are 30px; bring them to a 44px tap target. */
[b-s05jbm0sb8] .leaflet-touch .leaflet-bar a {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 22px;
}
/* /Components/Tracking/VehicleTrackingPanel.razor.rz.scp.css */
.vehicle-tracking[b-a2mxld6mkc] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.vehicle-tracking-head[b-a2mxld6mkc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.vehicle-tracking-tracker[b-a2mxld6mkc] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: var(--fs-sm, .875rem);
    color: var(--primary-color);
}

.vehicle-tracking-position[b-a2mxld6mkc] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem .75rem;
    font-size: var(--fs-sm, .875rem);
}

.vehicle-tracking-position a[b-a2mxld6mkc] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

/* The leading fact of a meta line (position kind, route distance), set apart by weight. */
.vehicle-tracking-kind[b-a2mxld6mkc] {
    font-weight: 600;
}

/* Inline so the rotation of the arrow takes. */
.vehicle-tracking-heading[b-a2mxld6mkc] {
    display: inline-block;
    vertical-align: -0.125em;
}

.vehicle-tracking-route[b-a2mxld6mkc] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.vehicle-tracking-day[b-a2mxld6mkc] {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.vehicle-tracking-day[b-a2mxld6mkc]  .date-input {
    flex: 1;
}

.vehicle-tracking-day[b-a2mxld6mkc]  .vehicle-tracking-step {
    padding: .4rem .6rem;
    border-radius: var(--border-radius);
}

.vehicle-tracking-day[b-a2mxld6mkc]  .vehicle-tracking-step:disabled {
    opacity: .35;
}
/* /Components/Transfer/AdjustBookDialog.razor.rz.scp.css */
/* „Anpassung prüfen“ — drawn like „Umlagerung prüfen“ (TransferBookDialog.razor.css): a card per Lager, one row per
   line, the same steppers and ×. */

.ab-body[b-4ypuf7huvr] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ab-empty[b-4ypuf7huvr] {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ---- Je Lager eine Karte ---- */

.ab-source[b-4ypuf7huvr] {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--surface-line, #e3e9ee);
}

.ab-source-head[b-4ypuf7huvr] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface-sunken, #f1f5f8);
}

.ab-source-icon[b-4ypuf7huvr] {
    display: inline-flex;
    color: var(--primary-color);
}

.ab-source-name[b-4ypuf7huvr] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--primary-color);
}

.ab-source-count[b-4ypuf7huvr] {
    flex: none;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.ab-lines[b-4ypuf7huvr] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-line[b-4ypuf7huvr] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 8px 8px 14px;
}

    .ab-line + .ab-line[b-4ypuf7huvr] {
        box-shadow: inset 0 1px 0 var(--surface-line, #e3e9ee);
    }

.ab-line-icon[b-4ypuf7huvr] {
    display: inline-flex;
    flex: none;
    color: var(--text-muted);
}

.ab-line-main[b-4ypuf7huvr] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ab-line-name[b-4ypuf7huvr] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-ink);
}

.ab-line-meta[b-4ypuf7huvr] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ---- Vorher → nachher ---- */

.ab-change[b-4ypuf7huvr] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

    .ab-change i[b-4ypuf7huvr] {
        font-size: 0.85rem;
    }

.ab-was[b-4ypuf7huvr] {
    min-width: 3ch;
    text-align: right;
}

.ab-stepper[b-4ypuf7huvr] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.ab-step[b-4ypuf7huvr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 120ms ease;
}

    .ab-step:hover[b-4ypuf7huvr] {
        background: var(--color-gray-100, #eef3f6);
    }

    .ab-step[aria-disabled="true"][b-4ypuf7huvr] {
        opacity: 0.35;
        cursor: default;
        background: #fff;
    }

.ab-step-value[b-4ypuf7huvr] {
    min-width: 6ch;
    text-align: center;
    font-weight: 700;
    color: var(--text-ink);
}

    .ab-step-value small[b-4ypuf7huvr] {
        margin-left: 3px;
        font-size: var(--fs-xs);
        font-weight: 500;
        color: var(--text-muted);
    }

/* The change, or what happens to a piece: green comes in, red goes. */
.ab-flag[b-4ypuf7huvr] {
    flex: none;
    min-width: 4ch;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

    .ab-flag.is-up[b-4ypuf7huvr] {
        background: color-mix(in srgb, var(--accent-green, #1f8a5b) 14%, #fff);
        color: var(--accent-green, #1f8a5b);
    }

    .ab-flag.is-down[b-4ypuf7huvr] {
        background: color-mix(in srgb, var(--accent-red, #c0392b) 12%, #fff);
        color: var(--accent-red, #c0392b);
    }

.ab-remove[b-4ypuf7huvr] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--color-gray-400, #8fa1ad);
    cursor: pointer;
}

    .ab-remove:hover[b-4ypuf7huvr] {
        background: color-mix(in srgb, var(--accent-red) 10%, #fff);
        color: var(--accent-red);
    }

/* ---- Plätze, Warum? ---- */

.ab-section[b-4ypuf7huvr] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ab-section-title[b-4ypuf7huvr] {
    margin: 0;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink);
}

.ab-section-sub[b-4ypuf7huvr] {
    margin: 4px 0 0;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-muted);
}

.ab-required[b-4ypuf7huvr] {
    color: var(--accent-red);
}

/* ---- Kommentar, Fehler ---- */

.ab-comment[b-4ypuf7huvr] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-ink);
}

    .ab-comment small[b-4ypuf7huvr] {
        font-weight: 400;
        color: var(--text-muted);
    }

    .ab-comment textarea[b-4ypuf7huvr] {
        width: 100%;
        padding: 10px 12px;
        border: 0;
        border-radius: 12px;
        background: var(--surface-sunken, #f1f5f8);
        font: inherit;
        font-weight: 400;
        resize: vertical;
    }

        .ab-comment textarea:focus[b-4ypuf7huvr] {
            outline: none;
            background: #fff;
            box-shadow: var(--focus-ring);
        }

.ab-error[b-4ypuf7huvr] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-red) 10%, #fff);
    color: var(--accent-red);
    font-size: var(--fs-sm);
}

/* ---- Narrow (phone, or a narrow dialog): every line stays one row, the chrome tightens. ---- */

@container pane (max-width: 560px) {
    .ab-body[b-4ypuf7huvr] {
        gap: 10px;
    }

    .ab-source[b-4ypuf7huvr] {
        border-radius: 12px;
    }

    .ab-source-head[b-4ypuf7huvr] {
        padding: 8px 10px;
    }

    .ab-line[b-4ypuf7huvr] {
        flex-wrap: wrap;
        gap: 6px;
        min-height: 48px;
        padding: 6px 4px 6px 10px;
    }

    .ab-line-icon[b-4ypuf7huvr] {
        display: none;
    }

    .ab-line-main[b-4ypuf7huvr] {
        flex-basis: 100%;
    }

    .ab-line-name[b-4ypuf7huvr] {
        font-size: var(--fs-sm);
        white-space: normal;
    }

    /* Under the name, the figures stand on the right. */
    .ab-line-main + *[b-4ypuf7huvr] {
        margin-left: auto;
    }

    .ab-step[b-4ypuf7huvr] {
        width: 30px;
        height: 30px;
    }

    .ab-step-value[b-4ypuf7huvr] {
        min-width: 4ch;
    }
}
/* /Components/Transfer/AdjustReasonDialog.razor.rz.scp.css */
.ar-warehouse[b-ex4hd3077k] {
    margin: -4px 0 14px;
    color: var(--text-muted);
    font-weight: 600;
}
/* /Components/Transfer/ContainerScanChoiceDialog.razor.rz.scp.css */
.container-choice[b-h2dkvurugl] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cc-question[b-h2dkvurugl] {
    color: var(--color-gray-500, #4b5563);
    margin: 0;
}

.cc-options[b-h2dkvurugl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .cc-options[b-h2dkvurugl]  button {
        justify-content: flex-start;
        padding: 14px 16px;
    }

.cc-opt[b-h2dkvurugl] {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    text-align: left;
}

    .cc-opt i[b-h2dkvurugl] {
        grid-row: 1 / span 2;
        font-size: 1.2rem;
    }

.cc-opt-main[b-h2dkvurugl] {
    font-weight: 700;
}

.cc-opt-sub[b-h2dkvurugl] {
    grid-column: 2;
    font-size: var(--fs-xs);
    font-weight: 400;
    opacity: 0.85;
}
/* /Components/Transfer/CorrectionReasonPicker.razor.rz.scp.css */
/* Answer tiles set apart by a soft fill, the picked one tinted in the accent colour — no outlines. Two per row; one
   where the form is narrow (phone, dialog on a phone). */
.crp[b-okoxf3p7mr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@container pane (max-width: 480px) {
    .crp[b-okoxf3p7mr] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.crp-tile[b-okoxf3p7mr] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: var(--surface-sunken, #f1f5f9);
    color: var(--text-ink, #17283a);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.crp-tile > i[b-okoxf3p7mr] {
    flex: 0 0 auto;
    font-size: 20px;
    color: var(--text-muted, #5a6878);
}

.crp-tile:hover[b-okoxf3p7mr] {
    background: color-mix(in srgb, var(--accent-color, #0d6cac) 8%, var(--surface-sunken, #f1f5f9));
}

.crp-tile:focus-visible[b-okoxf3p7mr] {
    outline: 2px solid var(--accent-color, #0d6cac);
    outline-offset: 2px;
}

.crp-tile.is-on[b-okoxf3p7mr] {
    background: color-mix(in srgb, var(--accent-color, #0d6cac) 14%, #fff);
    box-shadow: inset 0 0 0 2px var(--accent-color, #0d6cac);
}

.crp-tile.is-on > i[b-okoxf3p7mr] {
    color: var(--accent-color, #0d6cac);
}

.crp-text[b-okoxf3p7mr] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.crp-name[b-okoxf3p7mr] {
    font-weight: 700;
    font-size: var(--fs-sm, 0.875rem);
}

.crp-hint[b-okoxf3p7mr] {
    font-size: 0.8125rem;
    color: var(--text-muted, #5a6878);
}
/* /Components/Transfer/InstanceChoiceDialog.razor.rz.scp.css */
/* Die Stückzeile im eingebetteten Select: oben der Name, darunter, für wen das Stück reserviert ist. Die
   Auswahlfläche selbst (Kästchen, Suche, Scan-Knopf, Blättern, Hervorhebung der gewählten Zeilen) kommt von
   Select — hier steht nur, was in einer Zeile steht. Untereinander statt nebeneinander, weil die Kommission
   mit Mandant, Objekt und Baustelle zu lang ist, um neben einem Namen Platz zu finden. */
.instance-choice-opt[b-5f22haum51] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
}

/* Der Name gibt nach — gekürzt wird aber in der Mitte. Vorn steht der Artikel, den schon der Titel des Dialogs
   nennt; hinten die Bezeichnung, die als einzige die Stücke unterscheidet. Der Anfang gibt also nach, das Ende
   nie (siehe SplitName). */
.instance-choice-name[b-5f22haum51] {
    display: flex;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.instance-choice-head[b-5f22haum51] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.instance-choice-tail[b-5f22haum51] {
    flex: 0 0 auto;
}

.instance-choice-commission[b-5f22haum51] {
    display: flex;
    min-width: 0;
    font-size: var(--fs-xs);
}

/* Wie im Woher-Dialog: gleich gross und fett wie eine Kommission, in der normalen Schriftfarbe. */
.instance-choice-free[b-5f22haum51] {
    font-weight: 600;
    line-height: 1.5;
}
/* /Components/Transfer/IntakeReasonDialog.razor.rz.scp.css */
.ir-article[b-fkf4l0m5kp] {
    margin: -4px 0 14px;
    color: var(--text-muted);
    font-weight: 600;
}
/* /Components/Transfer/StockRowChoiceDialog.razor.rz.scp.css */
/* Eine Option je Bestandszeile: links wem sie gehört, rechts was davon gewählt ist und wie viel daliegt. Die
   Auswahlfläche selbst (Zeilen, Hover) kommt von Select — hier steht nur, was in einer Zeile nebeneinander
   liegt. */
.stock-choice-opt[b-4cjp670xu9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.stock-choice-what[b-4cjp670xu9] {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* Freier Bestand steht wie eine Kommission da — gleich gross, gleich fett —, nur in der normalen Schriftfarbe:
   er ist die Zeile ohne Reservierung, nicht eine hervorgehobene. */
.stock-choice-free[b-4cjp670xu9] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.5;
}

.stock-choice-free i[b-4cjp670xu9] {
    font-size: 0.85em;
}

/* Die Menge gibt nicht nach: sie ist kurz, und sie ist der zweite Teil der Antwort. */
.stock-choice-stock[b-4cjp670xu9] {
    flex: 0 0 auto;
    display: inline-flex;
    gap: 4px;
    color: var(--color-gray-500, #5c7180);
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.stock-choice-sep[b-4cjp670xu9] {
    opacity: 0.55;
}

.stock-choice-stock.has-selection .stock-choice-selected[b-4cjp670xu9] {
    color: var(--primary-color, #00385e);
    font-weight: 700;
}
/* /Components/Transfer/TransferArticleForm.razor.rz.scp.css */
/* Scanning inside the search field at its right end, like the scan button of every scannable field (TextInput). */
.instance-scan-inline[b-t93kgqaksd] {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.3rem;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.instance-scan-inline:hover[b-t93kgqaksd] {
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}
/* /Components/Transfer/TransferBookDialog.razor.rz.scp.css */
/* ---- Schritte: dieselbe Tab-Reihe wie die Fragen unter „Umlagern“ ---- */

/* The tab row and, under „Wohin?“, the list's search and chips stay put; only what is below them scrolls (the
   dialog body is the scroller, the title stands above it already). The list head sticks just under the tabs — its
   top is a little less than the row's height, so it slides under the row rather than leave a gap. */
.tb-tabs[b-n7qbewfytt] {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: stretch;
    margin: 0 0 16px;
    border-bottom: 1px solid var(--surface-line, #e3e9ee);
    background: #fff;
}

.tb-destination[b-n7qbewfytt]  .wp-head {
    position: sticky;
    top: 44px;
    z-index: 2;
    margin-top: -8px;
    padding-top: 8px;
    padding-bottom: 10px;
    background: #fff;
    box-shadow: 0 1px 0 var(--surface-line, #e3e9ee);
}

.tb-tab[b-n7qbewfytt] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 12px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    cursor: pointer;
}

    .tb-tab:first-child[b-n7qbewfytt] {
        padding-left: 0;
    }

    .tb-tab:hover:not(:disabled):not(.active)[b-n7qbewfytt],
    .tb-tab.active[b-n7qbewfytt] {
        color: var(--primary-color);
    }

    .tb-tab:disabled[b-n7qbewfytt] {
        cursor: default;
        opacity: 0.55;
    }

    .tb-tab:focus-visible[b-n7qbewfytt] {
        outline: none;
        box-shadow: var(--focus-ring);
        border-radius: 10px;
    }

.tb-indicator[b-n7qbewfytt] {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: var(--accent-color);
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.tb-tab:first-child .tb-indicator[b-n7qbewfytt] {
    left: 0;
}

.tb-tab.active .tb-indicator[b-n7qbewfytt] {
    transform: scaleX(1);
    opacity: 1;
}

.tb-arrow[b-n7qbewfytt] {
    align-self: center;
    font-size: 1rem;
    color: #b4c2cf;
}

.tb-mark[b-n7qbewfytt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

    .tb-mark i[b-n7qbewfytt] {
        font-size: 0.85rem;
    }

    .tb-mark.is-done[b-n7qbewfytt],
    .tb-mark.is-count[b-n7qbewfytt] {
        background: var(--accent-green);
        color: #fff;
    }

    .tb-mark.is-open[b-n7qbewfytt] {
        background: var(--neutral-gray, #e6ebef);
        color: var(--text-muted);
    }

.tb-body[b-n7qbewfytt] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: tb-fade-in-b-n7qbewfytt 0.18s ease;
}

@keyframes tb-fade-in-b-n7qbewfytt {
    from {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tb-body[b-n7qbewfytt] {
        animation: none;
    }
}

.tb-destination[b-n7qbewfytt] {
    display: flex;
    flex-direction: column;
    min-height: 50dvh;
}

/* ---- Strecke: Von → Nach ---- */

/* One line: sources → target. Each chip may shrink (its name ellipsises), the arrow never does. */
.tb-route[b-n7qbewfytt] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
    background: var(--surface-sunken, #f1f5f8);
}

.tb-route-arrow[b-n7qbewfytt] {
    flex: none;
    color: var(--accent-color);
}

.tb-chip[b-n7qbewfytt] {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--surface-line, #e3e9ee);
    border-radius: 999px;
    background: #fff;
    color: var(--text-ink);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
}

    .tb-chip > span[b-n7qbewfytt] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tb-chip > i[b-n7qbewfytt] {
        flex: none;
    }

    .tb-chip.is-target[b-n7qbewfytt] {
        border-color: color-mix(in srgb, var(--accent-color) 40%, transparent);
        color: var(--primary-color);
        cursor: pointer;
    }

        .tb-chip.is-target:hover[b-n7qbewfytt] {
            background: color-mix(in srgb, var(--accent-color) 8%, #fff);
        }

        .tb-chip.is-target.is-invalid[b-n7qbewfytt] {
            border-color: var(--accent-red);
            color: var(--accent-red);
        }

.tb-chip-edit[b-n7qbewfytt] {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tb-book-short[b-n7qbewfytt] {
    display: none;
}

/* Like the page's „Umlagerung prüfen“ (EasyTransfer.razor.css, .t2-book-btn). The wrapper is only there to give
   the scoped rule an element of this component to start from; it takes no box of its own. */
.tb-book[b-n7qbewfytt] {
    display: contents;
}

.tb-book[b-n7qbewfytt]  .tb-book-btn {
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

.tb-count-tag[b-n7qbewfytt] {
    background: color-mix(in srgb, currentColor 18%, transparent);
    color: inherit;
}

/* ---- Je Quelle eine Karte ---- */

.tb-source[b-n7qbewfytt] {
    overflow: hidden;
    border: 1px solid var(--surface-line, #e3e9ee);
    border-radius: 14px;
    background: #fff;
}

.tb-source-head[b-n7qbewfytt] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface-sunken, #f1f5f8);
}

.tb-source-icon[b-n7qbewfytt] {
    display: inline-flex;
    color: var(--primary-color);
}

.tb-source-name[b-n7qbewfytt] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--primary-color);
}

.tb-source-count[b-n7qbewfytt] {
    flex: none;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.tb-lines[b-n7qbewfytt] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-line[b-n7qbewfytt] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 8px 8px 14px;
}

    .tb-line + .tb-line[b-n7qbewfytt] {
        border-top: 1px solid var(--surface-line, #e3e9ee);
    }

.tb-line-icon[b-n7qbewfytt] {
    display: inline-flex;
    flex: none;
    color: var(--text-muted);
}

.tb-line-main[b-n7qbewfytt] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tb-line-name[b-n7qbewfytt] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-ink);
}

.tb-line-meta[b-n7qbewfytt] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.tb-line-piece[b-n7qbewfytt] {
    flex: none;
    min-width: 6ch;
    text-align: center;
    font-weight: 700;
    color: var(--text-ink);
}

.tb-stepper[b-n7qbewfytt] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.tb-step[b-n7qbewfytt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 120ms ease;
}

    .tb-step:hover[b-n7qbewfytt] {
        background: var(--color-gray-100, #eef3f6);
    }

    .tb-step[aria-disabled="true"][b-n7qbewfytt] {
        opacity: 0.35;
        cursor: default;
        background: #fff;
    }

.tb-step-value[b-n7qbewfytt] {
    min-width: 6ch;
    text-align: center;
    font-weight: 700;
    color: var(--text-ink);
}

    .tb-step-value small[b-n7qbewfytt] {
        margin-left: 3px;
        font-size: var(--fs-xs);
        font-weight: 500;
        color: var(--text-muted);
    }

.tb-remove[b-n7qbewfytt] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--color-gray-400, #8fa1ad);
    cursor: pointer;
}

    .tb-remove:hover[b-n7qbewfytt] {
        background: color-mix(in srgb, var(--accent-red) 10%, #fff);
        color: var(--accent-red);
    }

.tb-empty[b-n7qbewfytt] {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ---- Bemerkung, Fehler ---- */

.tb-comment[b-n7qbewfytt] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-ink);
}

    .tb-comment small[b-n7qbewfytt] {
        font-weight: 400;
        color: var(--text-muted);
    }

    .tb-comment textarea[b-n7qbewfytt] {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--surface-line, #e3e9ee);
        border-radius: 12px;
        background: var(--surface-sunken, #f1f5f8);
        font: inherit;
        font-weight: 400;
        resize: vertical;
    }

        .tb-comment textarea:focus[b-n7qbewfytt] {
            outline: none;
            border-color: var(--accent-color);
            background: #fff;
        }

.tb-error[b-n7qbewfytt] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent-red) 10%, #fff);
    color: var(--accent-red);
    font-size: var(--fs-sm);
}

/* ---- Narrow (phone, or a narrow dialog): every line stays one row — name, stepper, × — and the chrome tightens.
   A container query on the dialog backdrop (pane), like the previews. ---- */

@container pane (max-width: 560px) {
    .tb-tabs[b-n7qbewfytt] {
        margin-bottom: 12px;
    }

    .tb-destination[b-n7qbewfytt]  .wp-head {
        top: 38px;
    }

    .tb-tab[b-n7qbewfytt] {
        padding: 8px 10px 10px;
        font-size: var(--fs-base);
    }

    .tb-body[b-n7qbewfytt] {
        gap: 10px;
    }

    .tb-route[b-n7qbewfytt] {
        padding: 6px;
        gap: 6px;
    }

    .tb-chip[b-n7qbewfytt] {
        padding: 4px 9px;
        font-size: var(--fs-xs);
    }

    .tb-source[b-n7qbewfytt] {
        border-radius: 12px;
    }

    .tb-source-head[b-n7qbewfytt] {
        padding: 8px 10px;
    }

    .tb-line[b-n7qbewfytt] {
        gap: 6px;
        min-height: 48px;
        padding: 6px 4px 6px 10px;
    }

    /* The row's type icon is the same on almost every line; the name needs the room more. */
    .tb-line-icon[b-n7qbewfytt] {
        display: none;
    }

    .tb-line-name[b-n7qbewfytt] {
        font-size: var(--fs-sm);
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .tb-stepper[b-n7qbewfytt] {
        gap: 2px;
    }

    .tb-step[b-n7qbewfytt],
    .tb-remove[b-n7qbewfytt] {
        width: 30px;
        height: 30px;
    }

    .tb-step-value[b-n7qbewfytt] {
        min-width: 4.5ch;
        font-size: var(--fs-sm);
    }

        .tb-step-value small[b-n7qbewfytt] {
            display: block;
            margin: -2px 0 0;
            line-height: 1;
        }

    .tb-line-piece[b-n7qbewfytt] {
        min-width: 4ch;
        font-size: var(--fs-sm);
    }

    .tb-comment textarea[b-n7qbewfytt] {
        padding: 8px 10px;
    }

    .tb-book-long[b-n7qbewfytt] {
        display: none;
    }

    .tb-book-short[b-n7qbewfytt] {
        display: inline;
    }
}
/* /Components/Transfer/TransferDestinationPositionsReview.razor.rz.scp.css */
/* One list per landing warehouse, grouped by Bereich — "Freie Position" for stock without one. */
.tpr[b-l3ctpr2hmd] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tpr-group-head[b-l3ctpr2hmd] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray-500, #6b7280);
}

.tpr-description[b-l3ctpr2hmd] {
    max-width: 18rem;
    white-space: normal;
    color: var(--color-gray-600, #4b5563);
}
/* /Components/Transfer/TransferPositionDialog.razor.rz.scp.css */
.position-dialog[b-4za2wk5a1j] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pd-location[b-4za2wk5a1j] {
    display: flex;
}

.pd-section[b-4za2wk5a1j] {
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--color-gray-500, #6b7280);
}

/* The free-text position description, below the dimension tiles. */
.pd-description[b-4za2wk5a1j] {
    margin: 0;
    white-space: pre-line;
    color: var(--color-gray-600, #4b5563);
}
/* /Components/Transfer/TransferStockFilters.razor.rz.scp.css */
/* Die Filter stehen über der Suchzeile: erst eingrenzen, dann darin suchen. Nebeneinander, solange sie Platz
   haben — die Kommission bekommt mehr davon, ihre Namen sind länger —, und untereinander, wenn nicht. Flacher
   und kleiner gesetzt als das Suchfeld, weil sie der zweite Zuschnitt sind, nicht der erste. */
.stock-filters[b-pyyhln2xja] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stock-filter[b-pyyhln2xja] {
    display: flex;
    min-width: 0;
}

.stock-filter-commission[b-pyyhln2xja] {
    flex: 2 1 14rem;
}

.stock-filter-section[b-pyyhln2xja] {
    flex: 1 1 9rem;
}

.stock-filter[b-pyyhln2xja]  .cop-select,
.stock-filter[b-pyyhln2xja]  .select {
    width: 100%;
    min-width: 0;
    min-height: 2.4em;
    font-size: var(--fs-sm);
}

.stock-filter[b-pyyhln2xja]  .cop-selected {
    padding: 4px 0 4px 10px;
}

.stock-filter[b-pyyhln2xja]  .cop-expander,
.stock-filter[b-pyyhln2xja]  .expander {
    padding: 0 8px;
}

/* Das geteilte Select gleich hoch und gleich eingezogen wie die Kommissionspille daneben. */
.stock-filter[b-pyyhln2xja]  .selected-option {
    gap: 8px;
    padding: 4px 0 4px 10px;
}

.stock-filter-option[b-pyyhln2xja] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Transfer/WarehousePickList.razor.rz.scp.css */
/* ---- Head (ShowHead): search and chips in the list head's look (ListHead, embedded desktop) ---- */

.wp-head[b-r4dpsrm0wn] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 8px;
}

.wp-search[b-r4dpsrm0wn] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 5px 0 14px;
    border-radius: 10px;
    background: var(--surface-sunken);
    color: var(--text-muted);
}

    .wp-search[b-r4dpsrm0wn] >  div {
        flex: 1;
        min-width: 0;
    }

    .wp-search[b-r4dpsrm0wn]  input {
        flex: 1;
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 0 !important;
        border: 0 !important;
        outline: none;
        background: transparent !important;
        box-shadow: none !important;
        font: inherit;
        font-weight: 600;
        color: var(--text-ink);
    }

.wp-clear[b-r4dpsrm0wn] {
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.wp-scan[b-r4dpsrm0wn] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .wp-scan span[b-r4dpsrm0wn] {
        display: none;
    }

.wp-chips[b-r4dpsrm0wn] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .wp-chips[b-r4dpsrm0wn]::-webkit-scrollbar {
        display: none;
    }

.wp-chip[b-r4dpsrm0wn] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-sunken);
    color: #3a4b5c;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

    .wp-chip.on[b-r4dpsrm0wn] {
        background: var(--primary-color);
        color: #fff;
    }

/* ---- Rows ---- */

.wp-own[b-r4dpsrm0wn] {
    padding: 6px 0 4px;
}

.wp-own-label[b-r4dpsrm0wn] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 6px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-violet, #8a2889);
}

.wp-list[b-r4dpsrm0wn] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wp-row[b-r4dpsrm0wn] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 10px;
    border: 0;
    border-bottom: 1px solid var(--color-gray-100, #eef3f6);
    border-radius: 10px;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 120ms ease;
}

    .wp-row:hover:not(.is-disabled)[b-r4dpsrm0wn] {
        background: var(--color-gray-50, #f5f8fa);
    }

    .wp-row:focus-visible[b-r4dpsrm0wn] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

    .wp-row.is-picked[b-r4dpsrm0wn] {
        background: color-mix(in srgb, var(--primary-color, #00385e) 8%, #fff);
    }

    /* Das eigene Fahrzeug: ein eigener, farbiger Eintrag über der Liste. */
    .wp-row.is-own[b-r4dpsrm0wn] {
        border: 1px solid color-mix(in srgb, var(--accent-violet, #8a2889) 35%, transparent);
        background: color-mix(in srgb, var(--accent-violet, #8a2889) 7%, #fff);
    }

        .wp-row.is-own.is-picked[b-r4dpsrm0wn] {
            background: color-mix(in srgb, var(--accent-violet, #8a2889) 14%, #fff);
        }

    .wp-row.is-disabled[b-r4dpsrm0wn] {
        cursor: default;
        opacity: 0.5;
    }

.wp-row-icon[b-r4dpsrm0wn] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-gray-100, #eef3f6);
    color: var(--primary-color, #00385e);
    font-size: 1.15rem;
}

.wp-row.is-own .wp-row-icon[b-r4dpsrm0wn] {
    background: color-mix(in srgb, var(--accent-violet, #8a2889) 15%, #fff);
    color: var(--accent-violet, #8a2889);
}

.wp-row-main[b-r4dpsrm0wn] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.wp-row-name[b-r4dpsrm0wn] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--text-ink, #1d2b36);
}

.wp-row-sub[b-r4dpsrm0wn] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--text-muted, #5c7180);
}

.wp-row-count[b-r4dpsrm0wn] {
    flex: none;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent-green, #2a9d8f);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-align: center;
}

.wp-row-chevron[b-r4dpsrm0wn] {
    flex: none;
    color: var(--color-gray-400, #8fa1ad);
}

/* Nothing to pick: one line in the middle of the room the list has, no skeleton. */
.wp-empty[b-r4dpsrm0wn] {
    display: grid;
    place-items: center;
    min-height: 40vh;
    margin: 0;
    padding: 24px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

/* Narrow: the scan button names itself, as in the list head on phones. */
@container pane (max-width: 560px) {
    .wp-search[b-r4dpsrm0wn] {
        height: 48px;
    }

    .wp-scan[b-r4dpsrm0wn] {
        height: 38px;
        padding: 0 12px;
        background: var(--accent-color);
        color: #fff;
    }

        .wp-scan span[b-r4dpsrm0wn] {
            display: inline;
        }

    .wp-chip[b-r4dpsrm0wn] {
        height: 36px;
    }

    .wp-row[b-r4dpsrm0wn] {
        padding: 10px 6px;
    }
}
/* /Components/Transfer/WarehouseStockPicker.razor.rz.scp.css */
.sp[b-yxu06xbqdw] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* The head and its facts scroll away; the search stays at the top of the list while counting. */
.sp-head[b-yxu06xbqdw] {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 18px;
    background: #fff;
    border-top: 1px solid var(--surface-line, #e3e9ee);
    border-bottom: 1px solid var(--surface-line, #e3e9ee);
}

/* The distance row carries the map button: value and button on one line, the row keeps its height. */
.sp-kv-distance dd[b-yxu06xbqdw] {
    align-items: center;
}

.sp-map-btn[b-yxu06xbqdw] {
    height: 28px;
    margin: -4px 0;
    padding: 0 10px;
}

/* A fact that opens something (Bereiche → Lagerplan): the value as a link with its icon behind it. */
.sp-kv-link[b-yxu06xbqdw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent-color);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .sp-kv-link:hover span[b-yxu06xbqdw] {
        text-decoration: underline;
    }

.sp-kv-picked[b-yxu06xbqdw] {
    color: var(--accent-green, #2a9d8f);
}

.sp-search[b-yxu06xbqdw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--color-gray-100, #eef3f6);
    color: var(--text-muted, #5c7180);
}

    .sp-search[b-yxu06xbqdw]  input {
        flex: 1 1 auto;
        min-width: 0;
        height: 42px;
        border: 0;
        background: transparent;
        outline: none;
        font-size: var(--fs-sm);
        color: var(--text-ink, #1d2b36);
    }

.sp-clear[b-yxu06xbqdw] {
    display: inline-flex;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

/* The scan button in the search field, as in the list head: white chip on the grey field, label from tablet down. */
.sp-scan[b-yxu06xbqdw] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-color, #00385e);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .sp-scan span[b-yxu06xbqdw] {
        display: none;
    }

@media (max-width: 1024px) {
    .sp-scan[b-yxu06xbqdw] {
        height: 36px;
        padding: 0 12px;
        background: var(--accent-color, #0d6cac);
        color: #fff;
    }

        .sp-scan span[b-yxu06xbqdw] {
            display: inline;
        }
}

.sp-empty[b-yxu06xbqdw] {
    padding: 32px 18px;
    text-align: center;
    color: var(--text-muted, #5c7180);
}

.sp-list[b-yxu06xbqdw] {
    margin: 0;
    padding: 6px 10px;
    list-style: none;
}

.sp-item[b-yxu06xbqdw] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Same box picked or not: the highlight only colours it, nothing moves. */
    margin: 2px 0;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 1px 0 var(--color-gray-100, #eef3f6);
}

    .sp-item.is-picked[b-yxu06xbqdw] {
        border-color: color-mix(in srgb, var(--accent-green, #1f8a5b) 35%, transparent);
        background: color-mix(in srgb, var(--accent-green, #1f8a5b) 8%, #fff);
        box-shadow: none;
    }

.sp-item-head[b-yxu06xbqdw] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sp-item-icon[b-yxu06xbqdw] {
    display: inline-flex;
    flex: none;
    --art-thumb-size: 2rem;
    color: var(--primary-color, #00385e);
}

.sp-item-name[b-yxu06xbqdw] {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: var(--text-ink, #1d2b36);
}

.sp-item-stock[b-yxu06xbqdw] {
    flex: none;
    font-size: var(--fs-sm);
    color: var(--text-muted, #5c7180);
    font-variant-numeric: tabular-nums;
}

.sp-lines[b-yxu06xbqdw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 28px;
}

.sp-line[b-yxu06xbqdw] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-line-label[b-yxu06xbqdw] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
    color: var(--text-muted, #5c7180);
}

.sp-stepper[b-yxu06xbqdw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.sp-step[b-yxu06xbqdw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color, #00385e);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease;
}

    .sp-step:hover[b-yxu06xbqdw] {
        background: var(--color-gray-100, #eef3f6);
    }

    .sp-step[aria-disabled="true"][b-yxu06xbqdw] {
        opacity: 0.35;
        cursor: default;
        background: #fff;
    }

.sp-step-value[b-yxu06xbqdw] {
    min-width: 3ch;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted, #5c7180);
}

    .sp-step-value.has-value[b-yxu06xbqdw] {
        color: var(--accent-green, #1f8a5b);
        font-weight: 800;
    }

.sp-step-stock[b-yxu06xbqdw] {
    min-width: 7ch;
    font-size: var(--fs-sm);
    color: var(--text-muted, #5c7180);
}

.sp-piece[b-yxu06xbqdw] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    margin-left: -8px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text-ink, #1d2b36);
    font-size: var(--fs-sm);
    text-align: left;
    cursor: pointer;
}

    .sp-piece:hover[b-yxu06xbqdw] {
        background: var(--color-gray-100, #eef3f6);
    }

    .sp-piece > i[b-yxu06xbqdw] {
        font-size: 1.2rem;
        color: var(--color-gray-400, #8fa1ad);
    }

    .sp-piece.is-selected > i[b-yxu06xbqdw],
    .sp-piece.is-selected .sp-piece-name[b-yxu06xbqdw] {
        color: var(--accent-green, #1f8a5b);
        font-weight: 600;
    }

.sp-piece-name[b-yxu06xbqdw] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-hint[b-yxu06xbqdw] {
    margin: 2px 0 0;
    font-size: var(--fs-xs);
    color: var(--text-muted, #5c7180);
}

.sp-more[b-yxu06xbqdw] {
    align-self: center;
    margin: 12px 0 20px;
    padding: 8px 16px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color, #00385e);
    font-weight: 600;
    cursor: pointer;
}

/* ---- Korrektur: die neue Menge zählen ---- */

/* The counted figure is a button: a tap turns it into a field for a typed number (large counts). */
.sp-step-edit[b-yxu06xbqdw] {
    padding: 4px 2px;
    border: 0;
    border-radius: 8px;
    background: none;
    font: inherit;
    font-weight: 600;
    cursor: text;
}

    .sp-step-edit:hover[b-yxu06xbqdw] {
        background: var(--color-gray-100, #eef3f6);
    }

.sp-step-input[b-yxu06xbqdw] {
    width: 7ch;
    height: 36px;
    padding: 0 6px;
    border: 1px solid var(--accent-color, #0d6cac);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    color: var(--text-ink, #1d2b36);
}

    .sp-step-input:focus[b-yxu06xbqdw] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

.sp-was[b-yxu06xbqdw] {
    margin-left: 6px;
    white-space: nowrap;
}

/* The change as a chip: green for more, red for less. */
.sp-diff[b-yxu06xbqdw] {
    flex: none;
    min-width: 4ch;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

    .sp-diff.is-up[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-green, #1f8a5b) 14%, #fff);
        color: var(--accent-green, #1f8a5b);
    }

    .sp-diff.is-down[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-red, #c0392b) 12%, #fff);
        color: var(--accent-red, #c0392b);
    }

.sp-added-tag[b-yxu06xbqdw] {
    margin-left: 6px;
    vertical-align: middle;
}

/* A piece that is missing (ticked in a Korrektur) reads red; a new one green, with its × to take it out again. */
.sp-piece.is-missing > i[b-yxu06xbqdw],
.sp-piece.is-missing .sp-piece-name[b-yxu06xbqdw] {
    color: var(--accent-red, #c0392b);
    font-weight: 600;
}

.sp-piece.is-missing .sp-piece-name[b-yxu06xbqdw] {
    text-decoration: line-through;
}

.sp-piece.is-new[b-yxu06xbqdw] {
    cursor: default;
}

    .sp-piece.is-new:hover[b-yxu06xbqdw] {
        background: none;
    }

    .sp-piece.is-new > i[b-yxu06xbqdw],
    .sp-piece.is-new .sp-piece-name[b-yxu06xbqdw] {
        color: var(--accent-green, #1f8a5b);
        font-weight: 600;
    }

.sp-piece-flag[b-yxu06xbqdw] {
    flex: none;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 700;
}

    .sp-piece-flag.is-missing[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-red, #c0392b) 12%, #fff);
        color: var(--accent-red, #c0392b);
    }

    .sp-piece-flag.is-new[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-green, #1f8a5b) 14%, #fff);
        color: var(--accent-green, #1f8a5b);
    }

.sp-piece-remove[b-yxu06xbqdw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--color-gray-400, #8fa1ad);
    cursor: pointer;
}

    .sp-piece-remove:hover[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-red, #c0392b) 10%, #fff);
        color: var(--accent-red, #c0392b);
    }

.sp-add-piece[b-yxu06xbqdw],
.sp-take[b-yxu06xbqdw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--color-gray-100, #eef3f6);
    color: var(--primary-color, #00385e);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
}

    .sp-add-piece:hover[b-yxu06xbqdw],
    .sp-take:hover[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-color, #0d6cac) 12%, #fff);
    }

.sp-take[b-yxu06xbqdw] {
    flex: none;
}

/* ---- Korrektur: aus dem Katalog aufnehmen ---- */

.sp-catalog[b-yxu06xbqdw] {
    display: flex;
    flex-direction: column;
    padding: 0 0 16px;
}

.sp-catalog-head[b-yxu06xbqdw] {
    margin: 10px 22px 0;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #5c7180);
}

.sp-create[b-yxu06xbqdw] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 10px 0;
    padding: 12px;
    border: 0;
    border-radius: 12px;
    background: var(--color-gray-100, #eef3f6);
    color: var(--text-ink, #1d2b36);
    font: inherit;
    font-size: var(--fs-sm);
    text-align: left;
    cursor: pointer;
}

    .sp-create i[b-yxu06xbqdw] {
        color: var(--accent-color, #0d6cac);
    }

    .sp-create:hover[b-yxu06xbqdw] {
        background: color-mix(in srgb, var(--accent-color, #0d6cac) 10%, #fff);
    }
/* /Components/Warehouse/CommissionMoveDialog.razor.rz.scp.css */
.commission-move-lines[b-7ptt1vtf4h] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 40vh;
    overflow-y: auto;
}

.commission-move-lines li[b-7ptt1vtf4h] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--surface-sunken);
    font-size: var(--fs-sm);
}

.commission-move-lines li.stays[b-7ptt1vtf4h] {
    opacity: 0.55;
}

.commission-move-lines .name[b-7ptt1vtf4h] {
    font-weight: 600;
    color: var(--text-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.commission-move-lines .qty[b-7ptt1vtf4h] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.commission-move-lines .from[b-7ptt1vtf4h] {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}
/* /Components/Warehouse/CommissionSheet.razor.rz.scp.css */
/* The figures under the head, as in the article preview: a hairline above, one cell per figure. */
.cs-nums[b-5ksxi3y0g1] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--surface-line);
}

.cs-nums div[b-5ksxi3y0g1] {
    padding: 12px 18px;
    border-left: 1px solid var(--surface-line);
    min-width: 0;
}

.cs-nums div:first-child[b-5ksxi3y0g1] {
    border-left: 0;
}

.cs-nums span[b-5ksxi3y0g1] {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.cs-nums b[b-5ksxi3y0g1] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Mandant and Objekt in the meta line lead to their pages, but read as text until pointed at. */
.cs-link[b-5ksxi3y0g1] {
    color: inherit;
    text-decoration: none;
}

.cs-link:hover[b-5ksxi3y0g1] {
    text-decoration: underline;
}

/* A finished Baustelle still holding goods: the same red band as other warnings in the previews. */
.cs-notice[b-5ksxi3y0g1] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 18px;
    border-top: 1px solid #f3c5ca;
    background: #fdf2f3;
    color: #7a1a24;
    font-size: var(--fs-sm);
}

.cs-notice i[b-5ksxi3y0g1] {
    margin-top: 2px;
    color: #c22d3a;
}

/* ── Goods by Lager ─────────────────────────────────────────────
   Each Lager opens with a quiet band (like the column head of the article list), the articles below it drawn like
   compact list rows. */
.cs-group-head[b-5ksxi3y0g1] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 18px;
    background: #f7f9fb;
    border-top: 1px solid var(--surface-line);
    border-bottom: 1px solid var(--surface-line);
    font-size: var(--fs-sm);
}

.cs-group-name[b-5ksxi3y0g1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.cs-group-name span[b-5ksxi3y0g1] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-group-name:hover span[b-5ksxi3y0g1] {
    text-decoration: underline;
}

.cs-group-kind[b-5ksxi3y0g1] {
    flex: 1;
    min-width: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.cs-route[b-5ksxi3y0g1] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.cs-route:hover[b-5ksxi3y0g1] {
    background: var(--menu-item-hover);
}

.cs-lines[b-5ksxi3y0g1] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cs-lines li + li[b-5ksxi3y0g1] {
    border-top: 1px solid var(--surface-line);
}

/* "Alle": ticks every line of the Lager, at the band's end above the steppers. */
.cs-all[b-5ksxi3y0g1] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    padding: 0 4px 0 8px;
    border-radius: 8px;
    color: var(--text-ink);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.cs-all:hover[b-5ksxi3y0g1] {
    background: var(--menu-item-hover);
}

/* A row: the article (a link to it) and how much of it goes along. */
.cs-line[b-5ksxi3y0g1] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 0 18px;
}

.cs-line:hover[b-5ksxi3y0g1] {
    background: #f5f8fb;
}

.cs-line-link[b-5ksxi3y0g1] {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    min-width: 0;
    color: var(--text-ink);
    text-decoration: none;
}

/* Left behind: the article reads quieter, the stepper stays as it is. */
.cs-line.is-off .cs-line-link[b-5ksxi3y0g1] {
    opacity: 0.5;
}

.cs-piece-off[b-5ksxi3y0g1] {
    opacity: 0.45;
}

.cs-line-icon[b-5ksxi3y0g1] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--item-accent, var(--accent-color)) 12%, white);
    color: var(--item-accent, var(--accent-color));
}

.cs-line-text[b-5ksxi3y0g1] {
    min-width: 0;
}

.cs-line-text b[b-5ksxi3y0g1] {
    display: block;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The pieces of an instantiable article, by their designation. */
.cs-line-text small[b-5ksxi3y0g1] {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-family: ui-monospace, Consolas, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* − amount + / what lies there — the stepper of Umlagern, a size smaller. */
.cs-stepper[b-5ksxi3y0g1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.cs-step[b-5ksxi3y0g1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-gray-200, #dbe3e9);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 120ms ease;
}

.cs-step:hover[b-5ksxi3y0g1] {
    background: var(--color-gray-100, #eef3f6);
}

.cs-step[aria-disabled="true"][b-5ksxi3y0g1] {
    opacity: 0.35;
    cursor: default;
    background: #fff;
}

.cs-step-value[b-5ksxi3y0g1] {
    min-width: 4ch;
    padding: 4px 2px;
    border: 0;
    border-radius: 8px;
    background: none;
    font: inherit;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    cursor: text;
}

.cs-step-value:hover[b-5ksxi3y0g1] {
    background: var(--color-gray-100, #eef3f6);
}

.cs-step-value.has-value[b-5ksxi3y0g1] {
    color: var(--accent-green, #1f8a5b);
    font-weight: 800;
}

.cs-step-input[b-5ksxi3y0g1] {
    width: 7ch;
    height: 30px;
    padding: 0 6px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    color: var(--text-ink);
}

.cs-step-input:focus[b-5ksxi3y0g1] {
    outline: none;
    box-shadow: var(--focus-ring);
}

.cs-step-stock[b-5ksxi3y0g1] {
    min-width: 8ch;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    white-space: nowrap;
}

.cs-step-stock small[b-5ksxi3y0g1] {
    font-size: inherit;
}

/* ── In a dialog ────────────────────────────────────────────────
   The body is already padded: the bands and rows reach its edges, the meta line and the notice keep their inset. */
.cs-dialog[b-5ksxi3y0g1] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-dialog-meta[b-5ksxi3y0g1] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 12px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.cs-dialog-meta > a[b-5ksxi3y0g1] {
    color: var(--accent-color);
    text-decoration: none;
}

.cs-dialog .cs-notice[b-5ksxi3y0g1] {
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
}

.cs-dialog-lines[b-5ksxi3y0g1] {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--surface-line);
}

.cs-dialog-lines .cs-group:first-child .cs-group-head[b-5ksxi3y0g1] {
    border-top: 0;
}

.cs-dialog .cs-group-head[b-5ksxi3y0g1],
.cs-dialog .cs-line[b-5ksxi3y0g1] {
    padding-left: 12px;
    padding-right: 12px;
}

/* Phones: taller rows and bigger buttons to tap, the name may wrap. */
@media (max-width: 1024px) {
    .cs-line-link[b-5ksxi3y0g1] {
        grid-template-columns: 36px minmax(0, 1fr);
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .cs-step[b-5ksxi3y0g1] {
        width: 36px;
        height: 36px;
    }

    .cs-step-input[b-5ksxi3y0g1] {
        height: 36px;
    }

    .cs-line-icon[b-5ksxi3y0g1] {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .cs-line-text b[b-5ksxi3y0g1] {
        white-space: normal;
        line-height: 1.3;
    }
}

/* Narrow (phone, narrow middle, dialog): the stepper goes under the article, at the right edge. */
@container pane (max-width: 560px) {
    .cs-line[b-5ksxi3y0g1] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-bottom: 10px;
    }

    .cs-line-link[b-5ksxi3y0g1] {
        padding-bottom: 6px;
    }

    .cs-stepper[b-5ksxi3y0g1] {
        justify-self: end;
    }
}
/* /Components/Warehouse/CopyStockTargetsDialog.razor.rz.scp.css */
.copy-targets[b-xitdzk85ot] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 50vh;
    overflow-y: auto;
}

.copy-targets label[b-xitdzk85ot] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
}
/* /Components/Warehouse/PositionEditor.razor.rz.scp.css */
/* Die Position ist eine Zeile, kein Kasten: die Angaben nebeneinander (FormRail) —
   dieselbe Form, die eine Auflistungszeile im Formular hat (Codes, Lieferanten). FormRail legt dafür seine
   Kinder als umbrechende Zeile aus, kennt als Feld aber nur die .mb-3-Blöcke der generierten Formulare; hier
   sind die Felder EntityFormFields, also bekommen sie dieselbe Breitenregel.
   Die 11rem sind die Untergrenze, unter der ein Bereichsname oder eine Koordinate abgeschnitten würde —
   darunter bricht das Feld lieber in die nächste Zeile. */
.position-editor[b-ny43cwhadu]  .form-rail .entity-form-field {
    flex: 1 1 11rem;
    min-width: 0;
    margin-bottom: 0;
}

/* Die Beschreibung ist ein Satz, keine Koordinate: sie nimmt die ganze Zeile unter Bereich und Dimensionen. */
.position-editor[b-ny43cwhadu]  .form-rail .entity-form-field.position-description {
    flex-basis: 100%;
}

/* Die Felder stehen unter der Beschriftung und nicht neben ihr. */
.position-editor[b-ny43cwhadu]  .form-rail {
    width: 100%;
}
/* /Components/Warehouse/StockTargetTable.razor.rz.scp.css */
/* A figure in its row: − value + with the unit beside it, compact enough for a list row. */
.target-figure[b-gmwzakzmnr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.target-figure-label[b-gmwzakzmnr],
.target-figure-unit[b-gmwzakzmnr] {
    color: var(--text-muted);
}

.target-figure[b-gmwzakzmnr]  .number-input {
    padding: 2px;
    gap: 2px;
    grid-template-columns: auto 3.5em auto;
}

.target-figure[b-gmwzakzmnr]  .dec,
.target-figure[b-gmwzakzmnr]  .inc,
.target-figure[b-gmwzakzmnr]  .del {
    width: 26px;
    height: 26px;
}

.target-figure[b-gmwzakzmnr]  input {
    padding: 3px 0;
}
/* /Components/Warehouse/WarehouseArticleForm.razor.rz.scp.css */
/* The intake lands on a row that exists: where it lies, said in a soft tint instead of a place to fill in. */
.wa-existing[b-9txws3wyfx] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-sunken, #eef3f8);
    color: var(--text-ink, #17283a);
    font-size: var(--fs-sm, 0.875rem);
}

.wa-existing > i[b-9txws3wyfx] {
    margin-top: 2px;
    color: var(--accent-color, #0d6cac);
}
/* /Components/Warehouse/WarehouseMiddle.razor.rz.scp.css */
/* Instance rows are emitted into the (Table-component) <tbody> but are authored here, so they carry THIS page's
   CSS-isolation scope — the rules in Table.razor.css (scoped to the Table component) never reach them. Re-declare the
   handful that affect layout/appearance so instance cells match the article/table rows pixel-for-pixel. Keep these in
   sync with Table.razor.css. (Rules there written with ::deep — e.g. row striping, chip lists — already apply.) */
.instance-row td[b-l8y5fysori] {
    padding: 8px;
}

.instance-row td:first-child[b-l8y5fysori] {
    padding-left: 15px;
}

.instance-row td:last-child[b-l8y5fysori] {
    padding-right: 15px;
}

.instance-row td.main-column[b-l8y5fysori] {
    font-weight: 500;
}

.instance-row:hover[b-l8y5fysori] {
    background-color: #f1f1f1 !important;
}

/* The piece whose article stands in the middle: the same mark as a picked quantity row (Table.razor.css,
   tr.is-picked), which does not reach this row — it is this page's markup, not the table's. */
.instance-row.is-picked > td[b-l8y5fysori] {
    background-color: #e3eef7 !important;
}

.instance-row.is-picked > td:first-child[b-l8y5fysori] {
    box-shadow: inset 3px 0 0 var(--accent-color);
}


/* Der Kommissions-Drilldown im Spalten- und im Filtermenü. Er wird von dieser Seite gerendert (als Template
   für TableFilterEditor) und trägt deshalb ihren Isolations-Scope — die Pillen-Stile in
   TableFilterEditor.razor.css erreichen ihn nicht. Statt sie hier nachzubauen, sind die Ebenen Chips: dieselbe
   Form, die auch in der Zelle steht, also liest sich Filter und Zeile als dasselbe. */
.commission-filter[b-l8y5fysori] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 260px;
}

/* Der Weg zurück, und zugleich die Anzeige, wo man steht. */
.commission-filter-up[b-l8y5fysori] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.2rem 0.1rem;
    border: none;
    background: transparent;
    color: var(--color-gray-500, #374151);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.commission-filter-up:hover[b-l8y5fysori] {
    color: var(--primary-color);
}

.commission-filter-up i[b-l8y5fysori] {
    color: var(--primary-color);
}

.commission-filter-up span[b-l8y5fysori] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.commission-filter-level[b-l8y5fysori] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: 16rem;
    overflow-y: auto;
}

/* Die Chips sind eigene Komponenten, also nur über ::deep erreichbar. Über die volle Breite, weil sie hier
   eine Liste sind und keine Marginalie an einer Zeile. */
.commission-filter-level[b-l8y5fysori]  .chip {
    width: 100%;
    text-align: left;
}

.commission-filter-level[b-l8y5fysori]  .chip.is-selected {
    background: var(--primary-color);
    color: #fff;
}

.commission-filter-level[b-l8y5fysori]  .chip.is-selected .chip-entity-icon {
    color: #ffffffc0;
}

/* Behind an article name: where it belongs (a container here should hold it) or that it is no Standardartikel. */
.target-hint[b-l8y5fysori] {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: #fff1e0;
    color: #8a4b00;
    font-size: var(--fs-2xs, 0.7rem);
    font-weight: 700;
    vertical-align: middle;
}

.target-hint.muted[b-l8y5fysori] {
    background: var(--surface-sunken);
    color: var(--text-muted);
}

/* The Lager's fields under its head: the same key/value rows as every middle's Details (EntityPreview .ep-props). */
.wm-props[b-l8y5fysori]  .data-card-grid {
    grid-template-columns: minmax(140px, 1fr) 2fr;
    gap: 0;
    border-top: 1px solid var(--surface-line);
}

.wm-props[b-l8y5fysori]  .data-card-label,
.wm-props[b-l8y5fysori]  .data-card-value {
    margin: 0;
    padding: 9px 18px;
    border-top: 1px solid #f0f3f6;
}

.wm-props[b-l8y5fysori]  .data-card-label:nth-child(1),
.wm-props[b-l8y5fysori]  .data-card-value:nth-child(2) {
    border-top: 0;
}

.wm-props[b-l8y5fysori]  .data-card-label {
    color: var(--text-muted);
    font-weight: 400;
}

.wm-props[b-l8y5fysori]  .data-card-value {
    padding-left: 0;
    color: var(--text-ink);
    font-weight: 700;
}

/* The address with its distance chip (a button to the map) beside it, wrapping under it when narrow. */
.wm-address[b-l8y5fysori] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.6rem;
    min-width: 0;
}

/* The Bereiche as tags at the top of the stock panel, on its 16px inset — pinned while the stock scrolls: under the
   middle's pinned tab row beside the list (--preview-tabbar-h), at the top of the page on phones. The panel clips
   its corners with overflow: clip rather than hidden, which would make it the scroller the tags pin in. */
.preview-panel.wm-stock[b-l8y5fysori] {
    overflow: clip;
}

.wm-stock[b-l8y5fysori]  .wm-sections > .pivot-bar {
    position: sticky;
    top: var(--preview-tabbar-h, 0px);
    z-index: 1;
    background: #fff;
}

.wm-stock[b-l8y5fysori]  .wm-sections > .pivot-bar:not(.pivot-bar-select) {
    margin: 0;
    max-width: 100%;
    padding: 14px 16px 10px;
}

.wm-stock[b-l8y5fysori]  .wm-sections > .pivot-bar-select {
    margin: 0;
    padding: 14px 16px 10px;
}

/* Tab Karte of a vehicle: the tracking panel on its own surface. */
.wm-tracking[b-l8y5fysori] {
    padding: 16px 18px;
}

/* Tab Dimensionen: one row per Bereich — its name (a link to its stock), then its dimensions. */
.wm-dimensions[b-l8y5fysori] {
    padding: 6px 0;
}

.wm-dimension-row[b-l8y5fysori] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 10px 18px;
}

    .wm-dimension-row + .wm-dimension-row[b-l8y5fysori] {
        border-top: 1px solid #f0f3f6;
    }

.wm-dimension-chips[b-l8y5fysori] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wm-dimension-none[b-l8y5fysori] {
    color: var(--text-muted);
}

.wm-dimension-empty[b-l8y5fysori] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text-muted);
}

    .wm-dimension-empty p[b-l8y5fysori] {
        margin: 0;
    }
/* /Components/Warehouse/WarehouseSectionsFieldEditor.razor.rz.scp.css */
/* One grid for the head and every row (subgrid), so each column starts and ends at the same line from top to
   bottom: name, dimensions, the receiving switch under its head, the remove button on the form's right edge. Every
   control is 40px high and the cells hang from the top, so a row whose dimensions wrap grows downwards only. */
.sections[b-yk0c890yg2] {
    display: flex;
    flex-direction: column;
}

.sections-grid[b-yk0c890yg2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto 40px;
    column-gap: 0.6rem;
    row-gap: 0.6rem;
}

.sections-head[b-yk0c890yg2],
.section-row[b-yk0c890yg2] {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: start;
}

/* Label to control as in every form field (EntityFormField: 0.25rem). */
.sections-head[b-yk0c890yg2] {
    margin-bottom: calc(0.25rem - 0.6rem);
    font-weight: 500;
}

.sections-required[b-yk0c890yg2] {
    color: var(--primary-color);
    margin-left: 0.15rem;
}

.section-cell[b-yk0c890yg2] {
    min-width: 0;
}

/* Per cell labels: the head says it on wide rows; they are only read out, until the row stacks. */
.section-cell-label[b-yk0c890yg2],
.section-receiving-text[b-yk0c890yg2] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.section-name[b-yk0c890yg2] {
    height: 40px;
}

.section-name.is-invalid[b-yk0c890yg2] {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-red) 55%, transparent);
}

.section-name.is-invalid:focus[b-yk0c890yg2] {
    box-shadow: var(--focus-ring);
}

.section-error[b-yk0c890yg2] {
    margin-top: 0.25rem;
    color: var(--accent-red);
    font-size: var(--fs-xs);
}

/* The dimensions field: the canonical field surface (.prefixed-input in app.css, focus ring included) holding the
   dimensions as chips in their order, the next one typed at the end. 4px around 30px chips = the 40px of a field;
   the text without chips starts where a field's text starts (1 + 4 + 8 = 13px). */
.dimension-field[b-yk0c890yg2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 4px;
    cursor: text;
}

.dimension-item[b-yk0c890yg2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}

.dimension-chip[b-yk0c890yg2] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 30px;
    max-width: 100%;
    padding: 0 3px 0 10px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 40, 64, 0.08);
    color: var(--text-ink);
    font-size: var(--fs-sm);
}

/* The field turns white while typing; the chips take the field's tint instead. */
.dimension-field:focus-within .dimension-chip[b-yk0c890yg2] {
    background: var(--surface-sunken);
    box-shadow: none;
}

.dimension-chip-text[b-yk0c890yg2] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dimension-chip-remove[b-yk0c890yg2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    color: #8695a5;
    transition: color 0.15s, background 0.15s;
}

.dimension-chip-remove:hover[b-yk0c890yg2],
.dimension-chip-remove:focus-visible[b-yk0c890yg2] {
    color: var(--accent-red);
    background: color-mix(in srgb, var(--accent-red) 10%, transparent);
}

.dimension-chip-remove i[b-yk0c890yg2] {
    font-size: 0.75rem;
}

.dimension-step[b-yk0c890yg2] {
    color: #8695a5;
    font-size: 0.75rem;
}

.dimension-none[b-yk0c890yg2] {
    padding: 0 8px;
    color: #8695a5;
    font-size: var(--fs-sm);
}

/* The typing spot takes the rest of the line (a line of its own once the chips fill one) and drops the field
   surface of its own: the wrapper alone shows it. */
.dimension-field[b-yk0c890yg2]  .text-input-select {
    flex: 1 1 4.5rem;
    min-width: 4.5rem;
}

.dimension-field[b-yk0c890yg2]  .text-input-select-input,
.dimension-field[b-yk0c890yg2]  .text-input-select-input:focus {
    height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.section-cell--receiving[b-yk0c890yg2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
    cursor: pointer;
}

.section-remove[b-yk0c890yg2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface-sunken);
    color: #8695a5;
    transition: color 0.15s, background 0.15s;
}

.section-remove:hover[b-yk0c890yg2] {
    color: var(--accent-red);
    background: color-mix(in srgb, var(--accent-red) 10%, transparent);
}

.section-remove:focus-visible[b-yk0c890yg2] {
    color: color-mix(in srgb, var(--accent-red) 75%, #8695a5);
    background: color-mix(in srgb, var(--accent-red) 6%, transparent);
}

.section-remove i[b-yk0c890yg2] {
    font-size: 0.95rem;
}

.sections-empty[b-yk0c890yg2] {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.sections[b-yk0c890yg2]  .sections-add {
    width: 100%;
    margin: 0.75rem 0 0;
    justify-content: center;
    text-align: center;
}

.sections-hint[b-yk0c890yg2] {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.4;
}

/* Narrow (phone, narrow middle): a row stacks — name, dimensions, then switch and remove on one line, the labels
   standing above their fields as in any form. Rows are set apart by space, not lines. */
@container pane (max-width: 560px) {
    .sections-grid[b-yk0c890yg2] {
        row-gap: 1.5rem;
    }

    .sections-head[b-yk0c890yg2] {
        display: none;
    }

    .section-row[b-yk0c890yg2] {
        grid-template-columns: minmax(0, 1fr) 40px;
        grid-template-areas:
            "name name"
            "dimensions dimensions"
            "receiving remove";
        row-gap: 0.6rem;
    }

    .section-cell--name[b-yk0c890yg2] { grid-area: name; }
    .section-cell--dimensions[b-yk0c890yg2] { grid-area: dimensions; }
    .section-cell--receiving[b-yk0c890yg2] { grid-area: receiving; }
    .section-remove[b-yk0c890yg2] { grid-area: remove; }

    .section-cell-label[b-yk0c890yg2],
    .section-receiving-text[b-yk0c890yg2] {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
    }

    .section-cell-label[b-yk0c890yg2] {
        display: block;
        margin-bottom: 0.25rem;
        font-weight: 500;
    }
}
/* /Components/WorkDay/PauseChips.razor.rz.scp.css */
.pc[b-nd3o9u8spe] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pc-chip[b-nd3o9u8spe] {
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid #cfd8e2;
    background: #fff;
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.pc-chip:hover[b-nd3o9u8spe] {
    border-color: var(--accent-color);
}

.pc-chip.is-on[b-nd3o9u8spe] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
/* /Components/WorkDay/QuarterHourInput.razor.rz.scp.css */
.qh[b-6e93tjwoc3] {
    display: flex;
    align-items: stretch;
    height: 48px;
    border: 1px solid #cfd8e2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.qh button[b-6e93tjwoc3] {
    flex: none;
    width: 44px;
    border: none;
    background: var(--surface-sunken);
    color: var(--accent-color);
    font-size: 1.1rem;
    cursor: pointer;
}

.qh button:hover[b-6e93tjwoc3] {
    background: color-mix(in srgb, var(--accent-color) 12%, var(--surface-sunken));
}

.qh input[b-6e93tjwoc3] {
    flex: 1;
    min-width: 0;
    border: none;
    text-align: center;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-ink);
    font-variant-numeric: tabular-nums;
    background: transparent;
}

.qh input:focus[b-6e93tjwoc3] {
    outline: none;
}

.qh:focus-within[b-6e93tjwoc3] {
    border-color: var(--accent-color);
}
/* /Components/WorkDay/WorkBlockDialog.razor.rz.scp.css */
.wb[b-yju93hybmx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wb-context[b-yju93hybmx] {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.wb-field[b-yju93hybmx] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wb-label[b-yju93hybmx] {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wb-hint[b-yju93hybmx] {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.wb-times[b-yju93hybmx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wb-chips[b-yju93hybmx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wb-chip[b-yju93hybmx] {
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid #cfd8e2;
    background: #fff;
    color: var(--text-ink);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wb-chip:hover[b-yju93hybmx] {
    border-color: var(--accent-color);
}

.wb-chip.is-on[b-yju93hybmx] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.wb-chip-hint[b-yju93hybmx] {
    font-weight: 400;
    color: var(--text-muted);
}

.wb-chip-more[b-yju93hybmx] {
    color: var(--accent-color);
    border-style: dashed;
}

.wb-sum[b-yju93hybmx] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: var(--fs-sm);
}

.wb-sum i[b-yju93hybmx] {
    font-size: 1.2rem;
}

.wb-sum strong[b-yju93hybmx] {
    font-size: var(--fs-md);
}

.wb-sum.is-error[b-yju93hybmx] {
    background: #fdecea;
    color: #8a1c12;
}

@media (max-width: 420px) {
    .wb-times[b-yju93hybmx] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/WorkDay/WorkDayTimeline.razor.rz.scp.css */
.wd-timeline[b-0b1l8eq31b] {
    position: relative;
    margin: 8px 0 8px 0;
    cursor: copy;
    user-select: none;
}

/* Hour lines and labels let clicks through to the timeline, whose OffsetY then is the tapped time. */
.wd-hour[b-0b1l8eq31b] {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid var(--surface-line);
    pointer-events: none;
}

.wd-hour span[b-0b1l8eq31b] {
    position: absolute;
    left: 0;
    top: -0.55em;
    width: 44px;
    padding-right: 6px;
    background: #fff;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.wd-block[b-0b1l8eq31b],
.wd-gap[b-0b1l8eq31b] {
    position: absolute;
    left: 52px;
    right: 0;
    box-sizing: border-box;
}

/* Overlapping blocks share the width in lanes (--wd-lane of --wd-lanes), 4px apart. */
.wd-block[b-0b1l8eq31b] {
    right: auto;
    left: calc(52px + (100% - 48px) * var(--wd-lane, 0) / var(--wd-lanes, 1));
    width: calc((100% - 48px) / var(--wd-lanes, 1) - 4px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--wd-tint);
    color: var(--wd-ink);
    border-left: 4px solid var(--wd-edge);
    overflow: hidden;
    cursor: pointer;
    font-size: var(--fs-sm);
    transition: box-shadow 0.15s ease;
}

.wd-block:hover[b-0b1l8eq31b],
.wd-block:focus-visible[b-0b1l8eq31b] {
    box-shadow: var(--surface-shadow-hover);
    outline: none;
}

.wd-block.is-dragging[b-0b1l8eq31b] {
    box-shadow: 0 0 0 2px var(--wd-edge), var(--surface-shadow-hover);
    z-index: 2;
    cursor: ns-resize;
}

.wd-block.is-locked[b-0b1l8eq31b] {
    background: repeating-linear-gradient(135deg, var(--wd-tint) 0 10px, color-mix(in srgb, var(--wd-tint) 70%, #fff) 10px 20px);
}

.wd-block-title[b-0b1l8eq31b] {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wd-block-time[b-0b1l8eq31b] {
    font-variant-numeric: tabular-nums;
}

.wd-block-meta[b-0b1l8eq31b] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    font-size: var(--fs-xs);
    opacity: 0.85;
}

.wd-block-meta i[b-0b1l8eq31b] {
    font-size: 0.95em;
}

/* Side by side on a phone a lane is a third of the width: title and time only, the overlap as an icon. */
@media (max-width: 640px) {
    .wd-block.is-shared[b-0b1l8eq31b] {
        padding: 6px 8px;
        font-size: var(--fs-xs);
    }

    .wd-block.is-shared .wd-block-time[b-0b1l8eq31b] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wd-block.is-shared .wd-block-meta > span:not(.wd-overlap)[b-0b1l8eq31b] {
        display: none;
    }

    .wd-block.is-shared .wd-overlap-text[b-0b1l8eq31b] {
        display: none;
    }
}

.wd-block.is-overlap[b-0b1l8eq31b] {
    box-shadow: inset 0 0 0 1.5px #c2410c;
}

.wd-overlap[b-0b1l8eq31b] {
    color: #c2410c;
    font-weight: 700;
}

/* Short blocks put title and time on one line and leave the rest out. */
.wd-block.is-short[b-0b1l8eq31b] {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-top: 0;
    padding-bottom: 0;
}

.wd-block.is-short .wd-block-meta[b-0b1l8eq31b] {
    display: none;
}

.wd-block.is-short .wd-block-title[b-0b1l8eq31b] {
    flex: 1;
    min-width: 0;
}

/* The edge to drag: a wide, touch-sized strip with a small handle in the middle. */
.wd-grip[b-0b1l8eq31b] {
    position: absolute;
    left: 0;
    right: 0;
    height: 18px;
    cursor: ns-resize;
    touch-action: none;
    z-index: 1;
}

.wd-grip[b-0b1l8eq31b]::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 36px;
    height: 5px;
    margin-left: -18px;
    border-radius: 3px;
    background: #fff;
    border: 1.5px solid var(--wd-edge);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.wd-grip-start[b-0b1l8eq31b] {
    top: -6px;
}

.wd-grip-start[b-0b1l8eq31b]::after {
    top: 4px;
}

.wd-grip-end[b-0b1l8eq31b] {
    bottom: -6px;
}

.wd-grip-end[b-0b1l8eq31b]::after {
    bottom: 4px;
}

.wd-block:hover .wd-grip[b-0b1l8eq31b]::after,
.wd-block.is-dragging .wd-grip[b-0b1l8eq31b]::after {
    opacity: 1;
}

/* Touch screens have no hover: the handles always show there. */
@media (hover: none) {
    .wd-grip[b-0b1l8eq31b]::after {
        opacity: 1;
    }
}

.wd-gap[b-0b1l8eq31b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    border: 1.5px dashed #c2410c;
    border-radius: 10px;
    background: transparent;
    color: #c2410c;
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    min-height: 15px;
    overflow: hidden;
}

.wd-gap:hover[b-0b1l8eq31b] {
    background: #fff4ed;
}

.wd-gap-action[b-0b1l8eq31b] {
    text-decoration: underline;
}
/* /Components/WorkTask/WorkTaskCard.razor.rz.scp.css */
/* WorkTaskCard.razor.css */
.worktask-title[b-e6ugh2ivpj] {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
  word-break: break-word;
}
.worktask-description[b-e6ugh2ivpj] {
  color: #444;
  font-size: var(--fs-base);
  margin-bottom: 0.5rem;
  word-break: break-word;
}
.worktask-meta[b-e6ugh2ivpj] {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: var(--fs-base);
  color: #666;
}
.worktask-meta-item[b-e6ugh2ivpj] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.worktask-users[b-e6ugh2ivpj] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.worktask-user-chip[b-e6ugh2ivpj] {
  background: #f0f4fa;
  color: #2a4d7a;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: var(--fs-base);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.worktask-completed-badge[b-e6ugh2ivpj] {
  position: absolute;
  top: -0.7rem;
  right: 0.2rem;
  background: #27ae60;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.13rem 0.85rem 0.13rem 0.7rem;
  box-shadow: 0 1px 4px rgba(39,174,96,0.08);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  letter-spacing: 0.01em;
}
@container pane (max-width: 640px) {
  .worktask-title[b-e6ugh2ivpj] {
    font-size: var(--fs-lg);
  }
  .worktask-meta[b-e6ugh2ivpj] {
    flex-direction: column;
    gap: 0.5rem;
  }
  .worktask-users[b-e6ugh2ivpj] {
    gap: 0.3rem;
  }
  .worktask-completed-badge[b-e6ugh2ivpj] {
    font-size: var(--fs-sm);
    padding: 0.1rem 0.6rem 0.1rem 0.5rem;
    top: -0.5rem;
    right: 0.1rem;
  }
}
