/* _content/CraftX.Web/Components/Billing/PreparedPackageChooser.razor.rz.scp.css */
/* The package payment choice: two cadence cards in the plan picker's look, one pay button, other methods as links. */
.ppc[b-rxpj8wrnv2] { display: flex; flex-direction: column; gap: 14px; }

.ppc-cards[b-rxpj8wrnv2] { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ppc-card[b-rxpj8wrnv2] { display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer; font-family: inherit;
    padding: 16px 16px 15px; border: 1.5px solid var(--hairline, rgba(28,25,21,.12)); border-radius: var(--cx-radius-surface); background: #fff;
    transition: border-color .13s, box-shadow .13s; }
.ppc-card:hover:not(:disabled)[b-rxpj8wrnv2] { border-color: var(--copper, #b8601f); }
.ppc-card.selected[b-rxpj8wrnv2] { border-color: var(--copper, #b8601f); box-shadow: 0 0 0 3px var(--copper-50, rgba(184,96,31,.15)); }
.ppc-card:disabled[b-rxpj8wrnv2] { cursor: default; }
.ppc-card-name[b-rxpj8wrnv2] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 15px; font-weight: 700; color: var(--ink, #1c1915); }
.ppc-card-value[b-rxpj8wrnv2] { font-size: 24px; font-weight: 800; color: var(--ink, #1c1915); letter-spacing: -.02em; }
.ppc-per[b-rxpj8wrnv2] { font-size: 13.5px; font-weight: 600; color: var(--stone, #8a8078); margin-left: 4px; letter-spacing: 0; }
.ppc-card-sub[b-rxpj8wrnv2] { font-size: 13px; color: var(--walnut, #4a4038); line-height: 1.45; }
.ppc-save-pill[b-rxpj8wrnv2] { background: var(--copper-50, rgba(184,96,31,.12)); color: var(--copper-dark, #8f4715);
    font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--cx-radius-control); }

.ppc-actions[b-rxpj8wrnv2] { display: flex; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; }
.ppc-alt[b-rxpj8wrnv2] { border: none; background: none; padding: 0; font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
    color: var(--walnut, #4a4038); text-decoration: underline; text-underline-offset: 3px; }
.ppc-alt:hover:not(:disabled)[b-rxpj8wrnv2] { color: var(--copper-dark, #8f4715); }
.ppc-alt:disabled[b-rxpj8wrnv2] { cursor: progress; }
.ppc-pay[b-rxpj8wrnv2] { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: var(--cx-radius-surface); font-family: inherit;
    font-size: 15px; font-weight: 600; padding: 13px 24px; cursor: pointer; background: var(--copper, #b8601f); color: #fff;
    transition: background .13s; }
.ppc-pay:hover:not(:disabled)[b-rxpj8wrnv2] { background: var(--copper-dark, #8f4715); }
.ppc-pay:disabled[b-rxpj8wrnv2] { cursor: progress; }
.ppc-spin[b-rxpj8wrnv2] { display: inline-block; animation: ppc-spin-b-rxpj8wrnv2 1s linear infinite; }
@keyframes ppc-spin-b-rxpj8wrnv2 { to { transform: rotate(360deg); } }

.ppc-note[b-rxpj8wrnv2] { font-size: 12.5px; color: var(--stone, #8a8078); margin: 0; text-align: right; }

@media (max-width: 560px) {
    .ppc-actions[b-rxpj8wrnv2] { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
    .ppc-pay[b-rxpj8wrnv2] { width: 100%; justify-content: center; }
    .ppc-note[b-rxpj8wrnv2] { text-align: left; }
}
/* _content/CraftX.Web/Components/Billing/PreparedPackageDialog.razor.rz.scp.css */
/* The banner's button: the package tone of the banner (green), as .trial-banner--package .trial-banner__action. */
.ppd-trigger[b-boa62e3qir] {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
    background: #047857;
    color: #fff;
    transition: background-color 0.15s ease-in-out;
}

.ppd-trigger:hover[b-boa62e3qir] {
    background: #065f46;
    color: #fff;
}

/* Own dialog in the app's dialog band (5040 backdrop / 5050 dialog), no Syncfusion. */
.ppd-overlay[b-boa62e3qir] {
    position: fixed;
    inset: 0;
    z-index: 5040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 17, 14, .42);
}

.ppd-modal[b-boa62e3qir] {
    position: relative;
    z-index: 5050;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 26px 26px 22px;
    border-radius: var(--cx-radius-surface);
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    color: var(--ink, #1c1915);
    font-weight: 400;
}

.ppd-modal h3[b-boa62e3qir] {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px;
    padding-right: 32px;
}

.ppd-modal p[b-boa62e3qir] {
    font-size: 14px;
    color: var(--walnut, #4a4038);
    line-height: 1.5;
    margin: 0 0 18px;
}

.ppd-close[b-boa62e3qir] {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--stone, #8a8078);
    cursor: pointer;
}

.ppd-close:hover[b-boa62e3qir] {
    background: var(--sand, #f1ece5);
    color: var(--ink, #1c1915);
}
/* _content/CraftX.Web/Components/Catalog/CatalogInlineField.razor.rz.scp.css */
/* A value of the catalog list: text with a quiet hover until it is clicked, then a field of the same size. */

.cxi-text[b-ya4fr9g6w8] {
    display: block;
    width: 100%;
    min-height: 26px;
    padding: 2px 6px;
    border: 1px solid transparent;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
}

button.cxi-text:hover[b-ya4fr9g6w8] {
    background: rgba(28, 25, 21, 0.06);
}

button.cxi-text:focus-visible[b-ya4fr9g6w8] {
    outline: none;
    border-color: var(--cx-focus-border-color);
}

.cxi-text.is-readonly[b-ya4fr9g6w8] {
    cursor: default;
}

.cxi-text.is-empty[b-ya4fr9g6w8] {
    color: var(--cx-placeholder-color);
    font-weight: 400;
}

/* Saved: a short green wash on the field that changed. */
.cxi-text.is-saved[b-ya4fr9g6w8] {
    animation: cxi-saved-b-ya4fr9g6w8 1.4s ease-out;
}

@keyframes cxi-saved-b-ya4fr9g6w8 {
    0%, 35% { background: rgba(63, 125, 91, 0.20); }
    100% { background: transparent; }
}

.cxi-edit[b-ya4fr9g6w8] {
    position: relative;
    display: block;
}

.cxi-edit[b-ya4fr9g6w8]  .cxi-control,
.cxi-edit select.cxi-control[b-ya4fr9g6w8] {
    display: block;
    width: 100%;
    height: 28px;
    padding: 0 6px;
    border: var(--cx-field-border);
    border-color: var(--cx-focus-border-color);
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    font: inherit;
    text-align: inherit;
    font-variant-numeric: tabular-nums;
    outline: none;
}

.cxi-edit[b-ya4fr9g6w8]  .cxi-control.is-refused,
.cxi-edit select.cxi-control.is-refused[b-ya4fr9g6w8] {
    border-color: var(--cx-warning);
}

.cxi-msg[b-ya4fr9g6w8] {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    max-width: 320px;
    padding: 6px 10px;
    border: 1px solid var(--cx-warning);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    box-shadow: 0 6px 18px rgba(28, 25, 21, 0.12);
}

.cxi-num[b-ya4fr9g6w8] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cxi-strong[b-ya4fr9g6w8] {
    font-weight: 600;
}
/* _content/CraftX.Web/Components/Catalog/CatalogLongTextField.razor.rz.scp.css */
/* Langtext field of the catalog editor: label row with the placeholder button, the editor, the hint. */
.cxe-longtext[b-vdg29tq66i] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.cxe-longtext-add[b-vdg29tq66i] {
    border-top: 0;
}

.cxe-longtext-head[b-vdg29tq66i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cxe-longtext-var[b-vdg29tq66i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    font-size: 16px;
    cursor: pointer;
}

.cxe-longtext-var:hover:not(:disabled)[b-vdg29tq66i] {
    color: var(--cx-primary-hover);
    background: var(--cx-hover-bg);
}

.cxe-longtext-var:focus-visible[b-vdg29tq66i] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.cxe-longtext-var:disabled[b-vdg29tq66i] {
    cursor: default;
    opacity: 0.5;
}

.rte-wrapper[b-vdg29tq66i] {
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    border: var(--cx-field-border);
}

.rte-wrapper.rte-pending[b-vdg29tq66i] {
    height: 222px; /* the initialized editor: toolbar + 180px content */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cx-card-bg);
}

.rte-wrapper:focus-within[b-vdg29tq66i] {
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.cxe-longtext-loading[b-vdg29tq66i] {
    padding: 12px;
    font-size: 0.8125rem;
    color: var(--cx-text-secondary);
    text-align: center;
}

.cxe-longtext-retry[b-vdg29tq66i] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--cx-text-secondary);
    text-decoration: underline;
    cursor: pointer;
}

.cxe-longtext-retry:hover[b-vdg29tq66i] {
    color: var(--cx-primary-hover);
}

.cxe-longtext-dialog-title[b-vdg29tq66i] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--fw-semibold);
}
/* _content/CraftX.Web/Components/Components/HrOverviewWidget.razor.rz.scp.css */
.hr-overview-widget[b-ldynzo50ac] {
    background: white;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--cx-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.widget-header[b-ldynzo50ac] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--cx-content-bg-2, var(--sand)) 0%, var(--cx-card-bg) 100%);
    border-bottom: 1px solid var(--cx-content-bg-2, var(--sand));
}

.widget-title-section[b-ldynzo50ac] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.widget-icon[b-ldynzo50ac] {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--cx-info) 0%, var(--cx-info) 100%);
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

.widget-title[b-ldynzo50ac] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.widget-subtitle[b-ldynzo50ac] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    margin: 0.125rem 0 0 0;
}

.widget-link[b-ldynzo50ac] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-info);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--cx-radius-control);
    transition: all 0.2s ease;
}

.widget-link:hover[b-ldynzo50ac] {
    background: rgba(31, 74, 130, 0.06);
    color: var(--cx-info);
}

.widget-link i[b-ldynzo50ac] {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.widget-link:hover i[b-ldynzo50ac] {
    transform: translateX(3px);
}

.widget-content[b-ldynzo50ac] {
    flex: 1;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.loading-state[b-ldynzo50ac],
.error-state[b-ldynzo50ac] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--cx-text-muted);
}

.error-icon[b-ldynzo50ac] {
    width: 48px;
    height: 48px;
    background: rgba(169, 117, 20, 0.15);
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cx-warning);
}

.retry-btn[b-ldynzo50ac] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-text-muted);
    background: var(--cx-content-bg-2, var(--sand));
    border: none;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover:not(:disabled)[b-ldynzo50ac] {
    background: var(--cx-border);
    color: var(--cx-text-secondary);
}

.retry-btn:disabled[b-ldynzo50ac] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Action rows */
.action-row[b-ldynzo50ac] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: var(--cx-radius-surface);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-row:hover[b-ldynzo50ac] {
    background: var(--cx-content-bg-2, var(--sand));
    transform: translateX(2px);
}

.action-icon-wrapper[b-ldynzo50ac] {
    width: 36px;
    height: 36px;
    border-radius: var(--cx-radius-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.action-icon-wrapper.present[b-ldynzo50ac] {
    background: rgba(63, 125, 91, 0.08);
    color: var(--cx-success);
}

.action-icon-wrapper.pending[b-ldynzo50ac] {
    background: rgba(169, 117, 20, 0.15);
    color: var(--cx-warning);
}

.action-info[b-ldynzo50ac] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.action-label[b-ldynzo50ac] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.action-detail[b-ldynzo50ac] {
    font-size: 0.725rem;
    color: var(--cx-text-muted);
}

.action-count[b-ldynzo50ac] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cx-text-secondary);
    min-width: 28px;
    text-align: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--cx-radius-round);
    background: var(--cx-content-bg-2, var(--sand));
}

.action-count.warning[b-ldynzo50ac] {
    background: rgba(169, 117, 20, 0.15);
    color: var(--cx-warning);
}

.action-count.danger[b-ldynzo50ac] {
    background: rgba(154, 59, 51, 0.10);
    color: var(--cx-danger);
}

.all-clear[b-ldynzo50ac] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    color: var(--cx-success);
    font-size: 0.875rem;
    font-weight: 500;
}

.all-clear i[b-ldynzo50ac] {
    font-size: 1.125rem;
}

.widget-footer[b-ldynzo50ac] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--cx-content-bg-2, var(--sand));
    border-top: 1px solid var(--cx-content-bg-2, var(--sand));
}

.last-update[b-ldynzo50ac] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.last-update i[b-ldynzo50ac] {
    font-size: 0.6875rem;
}

.refresh-btn[b-ldynzo50ac] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-btn:hover:not(:disabled)[b-ldynzo50ac] {
    background: var(--cx-content-bg-2, var(--sand));
    color: var(--cx-text-secondary);
}

.refresh-btn:disabled[b-ldynzo50ac] {
    cursor: not-allowed;
    opacity: 0.5;
}

[b-ldynzo50ac] .spinning {
    animation: spin-b-ldynzo50ac 1s linear infinite;
}

@keyframes spin-b-ldynzo50ac {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* _content/CraftX.Web/Components/Components/MyAttendanceWidget.razor.rz.scp.css */
.my-attendance-widget[b-720foft3j6] {
    background: white;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--cx-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.widget-header[b-720foft3j6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--cx-content-bg-2, var(--sand)) 0%, var(--cx-card-bg) 100%);
    border-bottom: 1px solid var(--cx-content-bg-2, var(--sand));
}

.widget-title-section[b-720foft3j6] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.widget-icon[b-720foft3j6] {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--cx-success) 0%, var(--cx-success) 100%);
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

.widget-title[b-720foft3j6] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.widget-subtitle[b-720foft3j6] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    margin: 0.125rem 0 0 0;
}

.widget-link[b-720foft3j6] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-success);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--cx-radius-control);
    transition: all 0.2s ease;
}

.widget-link:hover[b-720foft3j6] {
    background: rgba(63, 125, 91, 0.08);
    color: var(--cx-success);
}

.widget-link i[b-720foft3j6] {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.widget-link:hover i[b-720foft3j6] {
    transform: translateX(3px);
}

.widget-content[b-720foft3j6] {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loading-state[b-720foft3j6],
.error-state[b-720foft3j6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--cx-text-muted);
}

.error-icon[b-720foft3j6] {
    width: 48px;
    height: 48px;
    background: rgba(169, 117, 20, 0.15);
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cx-warning);
}

.retry-btn[b-720foft3j6] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-text-muted);
    background: var(--cx-content-bg-2, var(--sand));
    border: none;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover:not(:disabled)[b-720foft3j6] {
    background: var(--cx-border);
    color: var(--cx-text-secondary);
}

.retry-btn:disabled[b-720foft3j6] {
    cursor: not-allowed;
    opacity: 0.5;
}

.status-row[b-720foft3j6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface);
}

.status-indicator[b-720foft3j6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot[b-720foft3j6] {
    width: 10px;
    height: 10px;
    border-radius: var(--cx-radius-round);
    background: var(--cx-border);
}

.status-indicator.present .status-dot[b-720foft3j6] {
    background: var(--cx-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-dot-b-720foft3j6 2s ease-in-out infinite;
}

@keyframes pulse-dot-b-720foft3j6 {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
}

.status-text[b-720foft3j6] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cx-text-secondary);
}

.status-indicator.present .status-text[b-720foft3j6] {
    color: var(--cx-success);
}

.clock-in-time[b-720foft3j6] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--cx-text-muted);
}

.clock-in-time i[b-720foft3j6] {
    font-size: 0.75rem;
}

.metrics-row[b-720foft3j6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.metric-card[b-720foft3j6] {
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--cx-content-bg-2, var(--sand));
}

.metric-value[b-720foft3j6] {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
}

.metric-label[b-720foft3j6] {
    font-size: 0.75rem;
    color: var(--cx-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-footer[b-720foft3j6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--cx-content-bg-2, var(--sand));
    border-top: 1px solid var(--cx-content-bg-2, var(--sand));
}

.last-update[b-720foft3j6] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.last-update i[b-720foft3j6] {
    font-size: 0.6875rem;
}

.refresh-btn[b-720foft3j6] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-btn:hover:not(:disabled)[b-720foft3j6] {
    background: var(--cx-content-bg-2, var(--sand));
    color: var(--cx-text-secondary);
}

.refresh-btn:disabled[b-720foft3j6] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Clock In/Out Action */
.clock-action[b-720foft3j6] {
    margin-top: 0.25rem;
}

.clock-btn[b-720foft3j6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem;
    border: none;
    border-radius: var(--cx-radius-control);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clock-btn:disabled[b-720foft3j6] {
    opacity: 0.6;
    cursor: not-allowed;
}

.clock-in[b-720foft3j6] {
    background: rgba(63, 125, 91, 0.08);
    color: var(--cx-success);
    border: 1px solid rgba(63, 125, 91, 0.25);
}

.clock-in:hover:not(:disabled)[b-720foft3j6] {
    background: rgba(63, 125, 91, 0.12);
    border-color: rgba(63, 125, 91, 0.40);
}

.clock-out[b-720foft3j6] {
    background: rgba(154, 59, 51, 0.06);
    color: var(--cx-danger);
    border: 1px solid rgba(154, 59, 51, 0.20);
}

.clock-out:hover:not(:disabled)[b-720foft3j6] {
    background: rgba(154, 59, 51, 0.10);
    border-color: rgba(154, 59, 51, 0.35);
}

/* Clock-Out Dialog */
.clockout-overlay[b-720foft3j6] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.clockout-dialog[b-720foft3j6] {
    background: white;
    border-radius: var(--cx-radius-surface);
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.clockout-header[b-720foft3j6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--cx-content-bg-2, var(--sand));
}

.clockout-header h4[b-720foft3j6] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.clockout-close[b-720foft3j6] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.clockout-close:hover[b-720foft3j6] {
    background: var(--cx-border);
    color: var(--cx-text-secondary);
}

.clockout-body[b-720foft3j6] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.clockout-summary[b-720foft3j6] {
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface);
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.clockout-row[b-720foft3j6] {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--cx-text-muted);
}

.clockout-row strong[b-720foft3j6] {
    color: var(--ink);
}

.clockout-field[b-720foft3j6] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.clockout-field label[b-720foft3j6] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-label-color);
}

.clockout-field small[b-720foft3j6] {
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.clockout-footer[b-720foft3j6] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cx-content-bg-2, var(--sand));
    background: var(--cx-content-bg-2, var(--sand));
}

.clockout-cancel[b-720foft3j6] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-control);
    background: white;
    color: var(--cx-text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.clockout-cancel:hover[b-720foft3j6] {
    background: var(--cx-content-bg-2, var(--sand));
    border-color: var(--cx-border);
}

.clockout-confirm[b-720foft3j6] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--cx-radius-control);
    background: var(--cx-danger);
    color: white;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.clockout-confirm:hover:not(:disabled)[b-720foft3j6] {
    background: var(--cx-danger);
}

.clockout-confirm:disabled[b-720foft3j6] {
    opacity: 0.6;
    cursor: not-allowed;
}

[b-720foft3j6] .spinning {
    animation: spin-b-720foft3j6 1s linear infinite;
}

@keyframes spin-b-720foft3j6 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* _content/CraftX.Web/Components/Components/MyLeaveWidget.razor.rz.scp.css */
.my-leave-widget[b-xaz5vjytot] {
    background: white;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--cx-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.widget-header[b-xaz5vjytot] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--cx-content-bg-2, var(--sand)) 0%, var(--cx-card-bg) 100%);
    border-bottom: 1px solid var(--cx-content-bg-2, var(--sand));
}

.widget-title-section[b-xaz5vjytot] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.widget-icon[b-xaz5vjytot] {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--cx-warning) 0%, var(--cx-warning) 100%);
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

.widget-title[b-xaz5vjytot] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.widget-subtitle[b-xaz5vjytot] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    margin: 0.125rem 0 0 0;
}

.widget-link[b-xaz5vjytot] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-warning);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--cx-radius-control);
    transition: all 0.2s ease;
}

.widget-link:hover[b-xaz5vjytot] {
    background: rgba(169, 117, 20, 0.06);
    color: var(--cx-warning);
}

.widget-link i[b-xaz5vjytot] {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.widget-link:hover i[b-xaz5vjytot] {
    transform: translateX(3px);
}

.widget-content[b-xaz5vjytot] {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loading-state[b-xaz5vjytot],
.error-state[b-xaz5vjytot],
.empty-state[b-xaz5vjytot] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--cx-text-muted);
}

.empty-state i[b-xaz5vjytot] {
    font-size: 1.5rem;
    color: var(--cx-border);
}

.error-icon[b-xaz5vjytot] {
    width: 48px;
    height: 48px;
    background: rgba(169, 117, 20, 0.15);
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cx-warning);
}

.retry-btn[b-xaz5vjytot] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-text-muted);
    background: var(--cx-content-bg-2, var(--sand));
    border: none;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover:not(:disabled)[b-xaz5vjytot] {
    background: var(--cx-border);
    color: var(--cx-text-secondary);
}

.retry-btn:disabled[b-xaz5vjytot] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Leave bar visualization */
.leave-bar-container[b-xaz5vjytot] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leave-bar[b-xaz5vjytot] {
    position: relative;
    height: 8px;
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-control);
    overflow: hidden;
}

.leave-bar-used[b-xaz5vjytot] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--cx-warning), var(--cx-warning));
    border-radius: var(--cx-radius-control);
    transition: width 0.5s ease;
}

.leave-bar-pending[b-xaz5vjytot] {
    position: absolute;
    top: 0;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(169, 117, 20, 0.45),
        rgba(169, 117, 20, 0.45) 3px,
        rgba(169, 117, 20, 0.25) 3px,
        rgba(169, 117, 20, 0.25) 6px
    );
    border-radius: 0 var(--cx-radius-control) var(--cx-radius-control) 0;
    transition: width 0.5s ease, left 0.5s ease;
}

.leave-bar-labels[b-xaz5vjytot] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.leave-available[b-xaz5vjytot] {
    font-weight: 600;
    color: var(--cx-success);
}

/* Metrics */
.metrics-row[b-xaz5vjytot] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.75rem;
}

.metric-card[b-xaz5vjytot] {
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--cx-content-bg-2, var(--sand));
}

.metric-card.pending[b-xaz5vjytot] {
    background: rgba(169, 117, 20, 0.06);
    border-color: rgba(169, 117, 20, 0.25);
}

.metric-value[b-xaz5vjytot] {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
}

.metric-card.pending .metric-value[b-xaz5vjytot] {
    color: var(--cx-warning);
}

.metric-label[b-xaz5vjytot] {
    font-size: 0.75rem;
    color: var(--cx-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.widget-footer[b-xaz5vjytot] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--cx-content-bg-2, var(--sand));
    border-top: 1px solid var(--cx-content-bg-2, var(--sand));
}

.last-update[b-xaz5vjytot] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.last-update i[b-xaz5vjytot] {
    font-size: 0.6875rem;
}

.refresh-btn[b-xaz5vjytot] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-btn:hover:not(:disabled)[b-xaz5vjytot] {
    background: var(--cx-content-bg-2, var(--sand));
    color: var(--cx-text-secondary);
}

.refresh-btn:disabled[b-xaz5vjytot] {
    cursor: not-allowed;
    opacity: 0.5;
}

[b-xaz5vjytot] .spinning {
    animation: spin-b-xaz5vjytot 1s linear infinite;
}

@keyframes spin-b-xaz5vjytot {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* _content/CraftX.Web/Components/Components/PendingPaymentsWidget.razor.rz.scp.css */
.pending-payments-widget[b-3n6bppgkxt] {
    background: white;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--cx-border);
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.widget-header[b-3n6bppgkxt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--cx-content-bg-2, var(--sand)) 0%, var(--cx-card-bg) 100%);
    border-bottom: 1px solid var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface) var(--cx-radius-surface) 0 0;
}

.widget-title-section[b-3n6bppgkxt] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.widget-icon[b-3n6bppgkxt] {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--cx-success) 0%, var(--cx-success) 100%);
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

.widget-title[b-3n6bppgkxt] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.widget-subtitle[b-3n6bppgkxt] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    margin: 0.125rem 0 0 0;
}

.widget-link[b-3n6bppgkxt] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-success);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--cx-radius-control);
    transition: all 0.2s ease;
}

.widget-link:hover[b-3n6bppgkxt] {
    background: rgba(63, 125, 91, 0.08);
    color: var(--cx-success);
}

.widget-link i[b-3n6bppgkxt] {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.widget-link:hover i[b-3n6bppgkxt] {
    transform: translateX(3px);
}

.widget-content[b-3n6bppgkxt] {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loading-state[b-3n6bppgkxt],
.error-state[b-3n6bppgkxt],
.empty-state[b-3n6bppgkxt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--cx-text-muted);
}

.empty-icon[b-3n6bppgkxt] {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(63, 125, 91, 0.12) 0%, rgba(63, 125, 91, 0.25) 100%);
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cx-success);
    margin-bottom: 0.5rem;
}

.empty-title[b-3n6bppgkxt] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.empty-subtitle[b-3n6bppgkxt] {
    font-size: 0.8125rem;
    color: var(--cx-text-muted);
}

.error-icon[b-3n6bppgkxt] {
    width: 48px;
    height: 48px;
    background: rgba(169, 117, 20, 0.15);
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cx-warning);
}

.retry-btn[b-3n6bppgkxt] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cx-text-muted);
    background: var(--cx-content-bg-2, var(--sand));
    border: none;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover:not(:disabled)[b-3n6bppgkxt] {
    background: var(--cx-border);
    color: var(--cx-text-secondary);
}

.retry-btn:disabled[b-3n6bppgkxt] {
    cursor: not-allowed;
    opacity: 0.5;
}

.metrics-row[b-3n6bppgkxt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.metric-card[b-3n6bppgkxt] {
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--cx-content-bg-2, var(--sand));
}

.metric-card.highlight[b-3n6bppgkxt] {
    background: linear-gradient(135deg, rgba(154, 59, 51, 0.06) 0%, rgba(154, 59, 51, 0.10) 100%);
    border-color: rgba(154, 59, 51, 0.20);
}

.metric-value[b-3n6bppgkxt] {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
}

.metric-card.highlight .metric-value[b-3n6bppgkxt] {
    color: var(--cx-danger);
}

.metric-label[b-3n6bppgkxt] {
    font-size: 0.75rem;
    color: var(--cx-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* Info icon + tooltip */
.info-icon[b-3n6bppgkxt] {
    font-size: 0.6875rem;
    color: var(--cx-text-muted);
    cursor: help;
    line-height: 1;
    flex-shrink: 0;
}

.metric-card.highlight .info-icon[b-3n6bppgkxt] {
    color: rgba(154, 59, 51, 0.55);
}

.info-tooltip-wrapper[b-3n6bppgkxt] {
    position: relative;
    display: inline-flex;
    align-items: center;
    outline: none;
}

.info-tooltip[b-3n6bppgkxt] {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--cx-content-bg-2, var(--sand));
    font-size: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--cx-radius-surface);
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    z-index: 1050;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    min-width: 180px;
    flex-direction: column;
    gap: 0.3rem;
}

.info-tooltip[b-3n6bppgkxt]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--ink);
}

.info-tooltip strong[b-3n6bppgkxt] {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 0.1rem;
}

.info-tooltip span[b-3n6bppgkxt] {
    display: block;
    color: var(--cx-border);
    font-size: 0.73rem;
}

.tooltip-divider[b-3n6bppgkxt] {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0.2rem 0 !important;
}

.tooltip-row[b-3n6bppgkxt] {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    color: var(--cx-border) !important;
}

.tooltip-row strong[b-3n6bppgkxt] {
    display: inline !important;
    font-weight: 600;
    color: #fff;
    font-size: inherit;
    margin-bottom: 0;
}

.tooltip-overdue-icon[b-3n6bppgkxt] {
    color: rgba(154, 59, 51, 0.55) !important;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.tooltip-pending-icon[b-3n6bppgkxt] {
    color: rgba(169, 117, 20, 0.70) !important;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.tooltip-ok-icon[b-3n6bppgkxt] {
    color: var(--cx-success) !important;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.info-tooltip-wrapper:hover .info-tooltip[b-3n6bppgkxt],
.info-tooltip-wrapper:focus .info-tooltip[b-3n6bppgkxt] {
    display: flex;
}

.overdue-alert[b-3n6bppgkxt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, rgba(154, 59, 51, 0.06) 0%, rgba(154, 59, 51, 0.10) 100%);
    border-radius: var(--cx-radius-surface);
    border: 1px solid rgba(154, 59, 51, 0.20);
}

.alert-icon[b-3n6bppgkxt] {
    width: 36px;
    height: 36px;
    background: rgba(154, 59, 51, 0.20);
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cx-danger);
    font-size: 1rem;
    flex-shrink: 0;
}

.alert-content[b-3n6bppgkxt] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.alert-title[b-3n6bppgkxt] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cx-danger);
}

.alert-amount[b-3n6bppgkxt] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cx-danger);
}

.oldest-info[b-3n6bppgkxt] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--cx-text-muted);
    padding: 0.75rem;
    background: var(--cx-content-bg-2, var(--sand));
    border-radius: var(--cx-radius-surface);
}

.oldest-info i[b-3n6bppgkxt] {
    color: var(--cx-text-muted);
}

.oldest-info strong[b-3n6bppgkxt] {
    color: var(--cx-text-secondary);
}

.invoice-info[b-3n6bppgkxt] {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.action-buttons[b-3n6bppgkxt] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.action-btn[b-3n6bppgkxt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.primary[b-3n6bppgkxt] {
    background: linear-gradient(135deg, var(--cx-success) 0%, var(--cx-success) 100%);
    color: white;
}

.action-btn.primary:hover[b-3n6bppgkxt] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.action-btn.secondary[b-3n6bppgkxt] {
    background: var(--cx-content-bg-2, var(--sand));
    color: var(--cx-text-secondary);
}

.action-btn.secondary:hover[b-3n6bppgkxt] {
    background: var(--cx-border);
    color: var(--cx-text-secondary);
}

.widget-footer[b-3n6bppgkxt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--cx-content-bg-2, var(--sand));
    border-top: 1px solid var(--cx-content-bg-2, var(--sand));
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
}

.last-update[b-3n6bppgkxt] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--cx-text-muted);
}

.last-update i[b-3n6bppgkxt] {
    font-size: 0.6875rem;
}

.refresh-btn[b-3n6bppgkxt] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-btn:hover:not(:disabled)[b-3n6bppgkxt] {
    background: var(--cx-content-bg-2, var(--sand));
    color: var(--cx-text-secondary);
}

.refresh-btn:disabled[b-3n6bppgkxt] {
    cursor: not-allowed;
    opacity: 0.5;
}

[b-3n6bppgkxt] .spinning {
    animation: spin-b-3n6bppgkxt 1s linear infinite;
}

@keyframes spin-b-3n6bppgkxt {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/AccountField.razor.rz.scp.css */
/* The field „Konto“ (Mockup 5164, pictures 01–04, 09): search box and „Alle Konten“ as one box, the hits under it. */

.af[b-ncuo16qrmk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.af-head[b-ncuo16qrmk] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}

/* „Vorschlag“: the proposal nobody confirmed yet. */
.af-chip[b-ncuo16qrmk] {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-primary-soft);
    font-size: 12px;
    font-weight: var(--fw-bold);
    line-height: 1;
    white-space: nowrap;
    color: var(--cx-primary-hover);
}

.af-field[b-ncuo16qrmk] {
    position: relative;
    display: flex;
    min-width: 0;
}

/* The search box: field border on three sides, „Alle Konten“ closes it on the right. */
.af-box[b-ncuo16qrmk] {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: var(--cx-row-h);
    padding: 0 6px 0 12px;
    box-sizing: border-box;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control) 0 0 var(--cx-radius-control);
    background: var(--cx-card-bg);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.af-box:focus-within[b-ncuo16qrmk] {
    z-index: 1;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.af-box.is-invalid[b-ncuo16qrmk] {
    border-color: var(--cx-danger);
}

.af-box.is-readonly[b-ncuo16qrmk] {
    border-color: var(--cx-hairline-soft);
    border-radius: var(--cx-radius-control);
    background: var(--paper-2);
}

.af-lens[b-ncuo16qrmk] {
    flex: none;
    font-size: 16px;
    color: var(--cx-text-secondary);
}

.af-box[b-ncuo16qrmk]  .af-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--cx-text-primary);
}

.af-box[b-ncuo16qrmk]  .af-input::placeholder {
    color: var(--cx-placeholder-color);
}

.af-box[b-ncuo16qrmk]  .af-input:disabled {
    -webkit-text-fill-color: var(--cx-text-primary);
    opacity: 1;
    cursor: default;
}

/* The chosen account over the empty input. It gives way as soon as something is typed – in the browser, no round trip. */
.af-value[b-ncuo16qrmk] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 36px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
    color: var(--cx-text-primary);
    pointer-events: none;
}

.af-box.is-readonly .af-value[b-ncuo16qrmk] {
    right: 12px;
}

.af-box[b-ncuo16qrmk]  .af-input:not(:placeholder-shown) ~ .af-value {
    visibility: hidden;
}

.af-number[b-ncuo16qrmk] {
    flex: none;
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.af-clear[b-ncuo16qrmk] {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    font-size: 15px;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.af-clear:hover[b-ncuo16qrmk] {
    background: var(--sand);
}

/* While something is typed the X of the value has nothing to say. */
.af-box[b-ncuo16qrmk]  .af-input:not(:placeholder-shown) ~ .af-clear {
    visibility: hidden;
}

.af-all[b-ncuo16qrmk] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--cx-row-h);
    padding: 0 12px;
    box-sizing: border-box;
    border: var(--cx-field-border);
    border-left: 0;
    border-radius: 0 var(--cx-radius-control) var(--cx-radius-control) 0;
    background: var(--cx-card-bg);
    font-family: inherit;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.af-all i[b-ncuo16qrmk] {
    font-size: 16px;
}

.af-all:hover[b-ncuo16qrmk] {
    background: var(--sand);
}

/* ── Hits under the field ── */
.af-hits[b-ncuo16qrmk] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 20;
    overflow: hidden;
    border: 1px solid var(--cx-hairline-strong);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    box-shadow: 0 12px 32px rgba(28, 25, 21, 0.18);
}

.af-hits-group[b-ncuo16qrmk] {
    padding: 8px 12px 4px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cx-text-secondary);
}

.af-hit[b-ncuo16qrmk] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 12px 8px 9px;
    border: 0;
    border-left: 3px solid transparent;
    background: none;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.af-hit:hover[b-ncuo16qrmk],
.af-hit.is-active[b-ncuo16qrmk] {
    background: var(--sand);
    border-left-color: var(--cx-primary);
}

.af-hit-name[b-ncuo16qrmk] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: var(--fw-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.af-hit-group[b-ncuo16qrmk] {
    margin-left: 10px;
    font-size: 12.5px;
    font-weight: var(--fw-medium);
    color: var(--cx-text-secondary);
}

/* The search word that explains the hit, under the name („Diesel“ for „Laufende Fahrzeug-Betriebskosten“). */
.af-hit-keyword[b-ncuo16qrmk] {
    display: block;
    font-size: 12.5px;
    font-weight: var(--fw-medium);
    color: var(--cx-text-secondary);
}

.af-hit-number[b-ncuo16qrmk] {
    flex: none;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--cx-text-secondary);
}

.af-hits-none[b-ncuo16qrmk] {
    padding: 12px;
    font-size: 13px;
    color: var(--cx-text-secondary);
}

.af-hits-all[b-ncuo16qrmk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid var(--cx-hairline);
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    text-align: left;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.af-hits-all:hover[b-ncuo16qrmk] {
    color: var(--cx-primary-hover);
}

.af[b-ncuo16qrmk]  mark {
    padding: 0 1px;
    background: var(--copper-100);
    color: inherit;
}

/* A note on the chosen account that changes nothing (§13b on normal tax): a tinted line, no symbol, no frame. */
.af-note[b-ncuo16qrmk] {
    margin: 2px 0 0;
    padding: 8px 12px;
    border-radius: var(--cx-radius-control);
    background: var(--warning-50);
    font-size: 12.5px;
    line-height: 18px;
    color: var(--cx-text-primary);
}

@media (max-width: 760px) {
    .af-all-text[b-ncuo16qrmk] {
        display: none;
    }
}

@media (max-width: 600px) {
    .af-box[b-ncuo16qrmk]  .af-input {
        font-size: 16px;
    }

    .af-hits[b-ncuo16qrmk] {
        max-width: 100%;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/AccountingLinesEditor.razor.rz.scp.css */
/* The accounts of a document. The fields are .cxf-control; only what is particular to the rows stands here. */

.ale[b-m43bug0u7w] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}

.ale-field i[b-m43bug0u7w] {
    flex: none;
    font-size: 14px;
    color: var(--cx-text-muted);
}

.ale-links[b-m43bug0u7w] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    min-height: 20px;
}

.ale-split[b-m43bug0u7w] {
    flex: none;
    margin-left: auto;
}

.ale-rows[b-m43bug0u7w] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ale-row[b-m43bug0u7w] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px 120px 32px;
    align-items: start;
    gap: 4px 8px;
}

/* The same inner spacing as the single field (12 px), so a split reads as the field it came from. */
.ale-rate[b-m43bug0u7w] {
    padding: 0 28px 0 12px;
    background-position: right 10px center;
}

.ale-amount[b-m43bug0u7w] {
    padding: 0 12px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ale-remove[b-m43bug0u7w] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: var(--cx-row-h);
    border: none;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.ale-remove:hover[b-m43bug0u7w] {
    background: var(--paper-2);
}

.ale-sum[b-m43bug0u7w],
.ale-rest[b-m43bug0u7w] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: var(--cx-text-secondary);
}

.ale-sum[b-m43bug0u7w] {
    font-variant-numeric: tabular-nums;
}

.ale-rest[b-m43bug0u7w] {
    color: var(--cx-warning);
}

.ale-problem[b-m43bug0u7w] {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .ale-field[b-m43bug0u7w],
    .ale-rate[b-m43bug0u7w],
    .ale-amount[b-m43bug0u7w] {
        font-size: 16px;
    }

    .ale-row[b-m43bug0u7w] {
        grid-template-columns: 84px minmax(0, 1fr) 32px;
    }

    .ale-row > .ale-field[b-m43bug0u7w] {
        grid-column: 1 / -1;
    }

    .ale-remove[b-m43bug0u7w] {
        width: 40px;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/AccountPickerPanel.razor.rz.scp.css */
/* „Konto wählen“ (Mockup 5164, pictures 05, 06, 08, 10, 11): search fixed on top, the list scrolls under it. */

.ap[b-qrpmrs8827] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.ap-search[b-qrpmrs8827] {
    flex: none;
    padding: 16px 24px 10px;
    border-bottom: 1px solid var(--cx-hairline);
    background: var(--cx-card-bg);
}

.ap-hidden-label[b-qrpmrs8827] {
    position: absolute;
    left: -9999px;
}

.ap-box[b-qrpmrs8827] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 6px 0 12px;
    box-sizing: border-box;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
}

.ap-box:focus-within[b-qrpmrs8827] {
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.ap-lens[b-qrpmrs8827] {
    flex: none;
    font-size: 16px;
    color: var(--cx-text-secondary);
}

.ap-box[b-qrpmrs8827]  .ap-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--cx-text-primary);
    appearance: none;
    -webkit-appearance: none;
}

.ap-box[b-qrpmrs8827]  .ap-input::placeholder {
    color: var(--cx-placeholder-color);
}

/* The X of the box is ours: it is the one that also puts the list back, and the browser would show a second one. */
.ap-box[b-qrpmrs8827]  .ap-input::-webkit-search-cancel-button,
.ap-box[b-qrpmrs8827]  .ap-input::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
}

.ap-clear[b-qrpmrs8827] {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: var(--cx-radius-control);
    background: none;
    font-size: 15px;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.ap-clear:hover[b-qrpmrs8827] {
    background: var(--sand);
}

.ap-chart[b-qrpmrs8827] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--cx-text-secondary);
}

.ap-chart b[b-qrpmrs8827] {
    font-weight: var(--fw-bold);
    color: var(--cx-text-primary);
}

.ap-list[b-qrpmrs8827] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 12px;
}

.ap-group[b-qrpmrs8827] {
    border-top: 1px solid var(--cx-hairline);
}

.ap-group:first-child[b-qrpmrs8827] {
    border-top: 0;
}

.ap-group-head[b-qrpmrs8827] {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 13px 24px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: var(--fw-bold);
    text-align: left;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.ap-group-head:hover[b-qrpmrs8827] {
    background: var(--sand);
}

.ap-caret[b-qrpmrs8827] {
    flex: none;
    font-size: 16px;
    color: var(--cx-text-secondary);
    transition: transform .12s;
}

.ap-group.is-open .ap-caret[b-qrpmrs8827] {
    transform: rotate(90deg);
}

.ap-group.is-chosen .ap-group-head[b-qrpmrs8827] {
    color: var(--cx-primary-hover);
}

.ap-group-name[b-qrpmrs8827] {
    flex: 1;
    min-width: 0;
}

.ap-count[b-qrpmrs8827] {
    flex: none;
    font-size: 12.5px;
    font-weight: var(--fw-medium);
    font-variant-numeric: tabular-nums;
    color: var(--cx-text-secondary);
}

/* „Zuletzt verwendet“ and „Bei diesem Lieferanten zuletzt“: small caps heading, rows without text. */
.ap-recent[b-qrpmrs8827] {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--cx-hairline-strong);
}

.ap-recent + .ap-recent[b-qrpmrs8827] {
    border-top: 0;
}

.ap-recent-head[b-qrpmrs8827] {
    margin: 0;
    padding: 16px 24px 4px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cx-text-secondary);
}

.ap-row[b-qrpmrs8827] {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 24px 10px 21px;
    border: 0;
    border-left: 3px solid transparent;
    background: none;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.ap-row:hover[b-qrpmrs8827],
.ap-row:focus-visible[b-qrpmrs8827] {
    background: var(--sand);
}

.ap-row.is-chosen[b-qrpmrs8827] {
    background: var(--sand);
    border-left-color: var(--cx-primary);
}

/* The radio of a row, drawn: filled only for the chosen one. */
.ap-radio[b-qrpmrs8827] {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    box-sizing: border-box;
    border: 1.6px solid var(--cx-field-border-color);
    border-radius: var(--cx-radius-round);
    background: var(--cx-card-bg);
}

.ap-row.is-chosen .ap-radio[b-qrpmrs8827] {
    border-color: var(--cx-primary-hover);
}

.ap-row.is-chosen .ap-radio[b-qrpmrs8827]::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: var(--cx-radius-round);
    background: var(--cx-primary-hover);
}

.ap-row-body[b-qrpmrs8827] {
    min-width: 0;
}

.ap-name[b-qrpmrs8827] {
    display: block;
    font-weight: var(--fw-semibold);
}

.ap-number[b-qrpmrs8827] {
    font-weight: var(--fw-medium);
    font-variant-numeric: tabular-nums;
    color: var(--cx-text-secondary);
}

.ap-text[b-qrpmrs8827],
.ap-keyword[b-qrpmrs8827] {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--cx-text-secondary);
}

.ap[b-qrpmrs8827]  mark {
    padding: 0 1px;
    background: var(--copper-100);
    color: inherit;
}

.ap-note[b-qrpmrs8827] {
    margin: 0;
    padding: 20px 24px;
    font-size: 14px;
    color: var(--cx-text-secondary);
}

.ap-foot[b-qrpmrs8827] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ap-foot .btn[b-qrpmrs8827] {
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    font-size: 13.5px;
    white-space: nowrap;
}

.ap-foot .btn.primary[b-qrpmrs8827] {
    padding: 0 18px;
    background: var(--cx-primary-hover);
}

.ap-foot .btn.primary:disabled[b-qrpmrs8827] {
    opacity: .45;
}

@media (max-width: 760px) {
    .ap-search[b-qrpmrs8827] {
        padding: 12px 16px 8px;
    }

    .ap-group-head[b-qrpmrs8827],
    .ap-recent-head[b-qrpmrs8827] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ap-row[b-qrpmrs8827] {
        padding: 10px 16px 10px 13px;
    }

    .ap-note[b-qrpmrs8827] {
        padding: 20px 16px;
    }

    .ap-foot .btn[b-qrpmrs8827] {
        flex: 1;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .ap-box[b-qrpmrs8827]  .ap-input {
        font-size: 16px;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/CaptureFooter.razor.rz.scp.css */
/* Stands under the scrolling part of the form and spans the width of the panel: a hairline and a soft shadow upwards, so the
   fields disappear cleanly beneath it. The one blocker stands in it, right above the buttons (design standard, section I). */
.cfoot[b-7z8pm3arsn] {
    position: relative;
    z-index: 1;
    flex: none;
    display: flex;
    flex-direction: column;
    background: var(--cx-card-bg);
    border-top: 1px solid var(--cx-hairline-strong);
    box-shadow: 0 -6px 16px rgba(28, 25, 21, .07);
}

.cfoot-note[b-7z8pm3arsn] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 20px 0;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--cx-text-secondary);
}

.cfoot-note > .bi[b-7z8pm3arsn] {
    flex: none;
    font-size: 15px;
    color: var(--cx-warning);
}

.cfoot-note-text[b-7z8pm3arsn] {
    min-width: 0;
}

.cfoot-hold[b-7z8pm3arsn] {
    display: block;
}

.cfoot-missing[b-7z8pm3arsn] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
}

.cfoot-actions .btn[b-7z8pm3arsn] {
    font-weight: var(--fw-medium);
}

.cfoot-link[b-7z8pm3arsn] {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary-hover);
    text-decoration: underline;
    cursor: pointer;
}

.cfoot-link:focus-visible[b-7z8pm3arsn] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}

.cfoot-closed[b-7z8pm3arsn] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 20px;
    font-size: 13px;
    color: var(--cx-text-secondary);
}

.cfoot-actions[b-7z8pm3arsn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 18px;
}

.cfoot-actions .btn[b-7z8pm3arsn] {
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
}

/* The one action the bar is for: filled copper, the only one on the page. */
.cfoot-actions .cfoot-main[b-7z8pm3arsn] {
    padding: 0 18px;
}

.cfoot-actions .cfoot-main:disabled[b-7z8pm3arsn] {
    opacity: .45;
    box-shadow: none;
}

/* Declining happens in under 1 % of the cases: a text button at the far left. */
.cfoot-actions .cfoot-reject[b-7z8pm3arsn] {
    box-shadow: none;
}

.cfoot-actions .cfoot-save[b-7z8pm3arsn] {
    margin-left: auto;
}

@media (max-width: 520px) {
    .cfoot-actions .cfoot-main[b-7z8pm3arsn] {
        flex: 1 1 100%;
    }

    .cfoot-actions .cfoot-save[b-7z8pm3arsn] {
        margin-left: 0;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/CaptureHeader.razor.rz.scp.css */
/* The head of the review: dark like the sidebar of the app, the two an L around the work (mockup Prüfseite, Variante B). */
.cap-head[b-ual9jl1ylw] {
    display: flex;
    flex: none;
    align-items: center;
    position: relative;
    gap: 12px;
    height: 56px;
    padding: 0 20px;
    box-sizing: border-box;
    background: var(--cx-sidebar-bg);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
}

.head-btn[b-ual9jl1ylw],
.head-step[b-ual9jl1ylw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-on-dark);
    cursor: pointer;
    transition: background-color .15s var(--ease), color .15s var(--ease);
}

.head-btn[b-ual9jl1ylw] {
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    font-size: 18px;
}

.head-btn .bi[b-ual9jl1ylw],
.head-btn .bi[b-ual9jl1ylw]::before {
    display: block;
}

/* The „?“ of the help: a ghost button with the fine rim of its neighbours on the dark bar (design standard 41). */
.head-help[b-ual9jl1ylw] {
    border: 1px solid rgba(255, 255, 255, .15);
}

/* The help panel is open: copper, also under the pointer — right after the click the pointer still stands on it. */
.head-help.is-on[b-ual9jl1ylw],
.head-help.is-on:hover[b-ual9jl1ylw] {
    border-color: transparent;
    background: rgba(184, 96, 31, .5);
    color: #fff;
}

.head-step[b-ual9jl1ylw] {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--cx-radius-control);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.head-btn:hover[b-ual9jl1ylw],
.head-step:hover:not(:disabled)[b-ual9jl1ylw] {
    background: var(--cx-sidebar-hover);
    color: #fff;
}

.head-btn:focus-visible[b-ual9jl1ylw],
.head-step:focus-visible[b-ual9jl1ylw] {
    outline: 2px solid var(--ink-on-dark);
    outline-offset: -2px;
}

.head-step:disabled[b-ual9jl1ylw] {
    opacity: .4;
    cursor: default;
}

/* Shrinks first, so the plate next to it and everything on the right keep their place. */
.head-title[b-ual9jl1ylw] {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    font-weight: var(--fw-bold);
    line-height: 20px;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.head-number[b-ual9jl1ylw] {
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, .6);
}

.head-spacer[b-ual9jl1ylw] {
    flex: 1 1 0;
    min-width: 0;
}

.head-status[b-ual9jl1ylw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: var(--cx-radius-control);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}

/* „Zu prüfen“: dark copper, white on it is 7.1:1 (owner 08.11.: the copper of the mockup falls short on 12 px text). */
.tone-attention[b-ual9jl1ylw] { background: var(--cx-primary-hover); color: #fff; }
.tone-neutral[b-ual9jl1ylw] { background: var(--paper-2); color: var(--cx-text-secondary); }
.tone-warning[b-ual9jl1ylw] { background: var(--warning-50); color: var(--cx-warning); }
.tone-info[b-ual9jl1ylw] { background: var(--info-50); color: var(--cx-info); }
.tone-success[b-ual9jl1ylw] { background: var(--success-50); color: var(--cx-success); }
.tone-danger[b-ual9jl1ylw] { background: var(--danger-50); color: var(--cx-danger); }

.head-chip[b-ual9jl1ylw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--cx-radius-control);
    font-size: 12px;
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
}

.head-run[b-ual9jl1ylw] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
}

.head-run-text[b-ual9jl1ylw] {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
}

.head-more-wrap[b-ual9jl1ylw] {
    position: relative;
    flex: none;
}

.head-more[b-ual9jl1ylw] {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--cx-radius-control);
    background: none;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    cursor: pointer;
}

.head-more:hover[b-ual9jl1ylw] {
    background: var(--cx-sidebar-hover);
    color: #fff;
}

.head-more:focus-visible[b-ual9jl1ylw],
.head-menu-item:focus-visible[b-ual9jl1ylw] {
    outline: 2px solid var(--ink-on-dark);
    outline-offset: -2px;
}

.head-menu-backdrop[b-ual9jl1ylw] {
    position: fixed;
    inset: 0;
    /* Over the help panel (999, cx-help.css), which begins right below this head: the menu drops into its place. */
    z-index: 1000;
}

.head-menu[b-ual9jl1ylw] {
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    padding: 4px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
}

.head-menu-item[b-ual9jl1ylw] {
    padding: 8px 10px;
    border-radius: var(--cx-radius-control);
    font-size: 13px;
    color: var(--cx-text-primary);
    text-decoration: none;
}

.head-menu-item:hover[b-ual9jl1ylw] {
    background: var(--cx-hover-bg);
}

/* At phone width only what is open and the way out stay: the run text and the chip give way. */
@media (max-width: 800px) {
    .head-chip[b-ual9jl1ylw],
    .head-run-text[b-ual9jl1ylw] {
        display: none;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/CapturePaymentSection.razor.rz.scp.css */
/* The sentence of the payment run: grey box, amount bold (decision E4). The one box of the section. */
.cps-run[b-r19ws1gxm8] {
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--cx-radius-surface);
    background: var(--sand);
    color: var(--cx-text-secondary);
    font-size: 13px;
    line-height: 18px;
}

.cps-run strong[b-r19ws1gxm8] {
    font-weight: var(--fw-semibold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/CaptureSidePanel.razor.rz.scp.css */
/* Side panel of the review: own scrim and panel in the z-band 5040/5050, above Syncfusion dialog containers. The panel is
   fixed, so no ancestor of it may carry a transform. */

/* The page behind stays visible and usable for reading while a panel is open: the document pane scrolls under the mouse
   wheel, and its text (an IBAN below the fold) can be selected and copied. So the scrim only shades and lets every pointer
   event through; the panel closes on its button and on Escape. */
.csp-scrim[b-5pibpw79v9] {
    position: fixed;
    inset: 0;
    z-index: 5040;
    background: rgba(28, 25, 21, 0.12);
    pointer-events: none;
}

.csp-panel[b-5pibpw79v9] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5050;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 520px;
    max-width: 100vw;
    background: var(--cx-card-bg);
    border-left: 1px solid var(--cx-hairline);
    box-shadow: -12px 0 32px rgba(28, 25, 21, 0.14);
    color: var(--cx-text-primary);
    outline: none;
}

.csp-head[b-5pibpw79v9] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--cx-hairline);
}

.csp-title[b-5pibpw79v9] {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 17px;
    font-weight: var(--fw-bold);
}

.csp-close[b-5pibpw79v9] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.csp-close:hover:not(:disabled)[b-5pibpw79v9] {
    background: var(--paper-2);
}

.csp-close:disabled[b-5pibpw79v9] {
    opacity: 0.4;
    cursor: default;
}

.csp-body[b-5pibpw79v9] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.csp-foot[b-5pibpw79v9] {
    flex: none;
    padding: 14px 24px;
    border-top: 1px solid var(--cx-hairline);
}

@media (max-width: 600px) {
    .csp-panel[b-5pibpw79v9] {
        width: 100vw;
        border-left: none;
    }

    .csp-head[b-5pibpw79v9] {
        padding: 14px 16px;
    }

    .csp-foot[b-5pibpw79v9] {
        padding: 12px 16px;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/CaptureSupplierField.razor.rz.scp.css */
/* The field „Lieferant“: the one field form, below it a quiet line with the state and the action. */

.csf-chevron[b-te1lp6g4v2] {
    flex: none;
    font-size: 12px;
    color: var(--cx-text-muted);
}

.csf-meta[b-te1lp6g4v2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-height: 24px;
}

.csf-chip[b-te1lp6g4v2] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: var(--cx-radius-control);
    background: var(--warning-50);
    font-size: 12px;
    font-weight: var(--fw-medium);
    line-height: 1;
    white-space: nowrap;
    color: var(--cx-warning);
}

.csf-chip.is-good[b-te1lp6g4v2] {
    background: var(--success-50);
    color: var(--cx-success);
}

.csf-action[b-te1lp6g4v2] {
    flex: none;
    margin-left: auto;
    text-decoration: none;
}

/* A supplier the document names but the business lacks (o724): one tinted line below the empty field, without frame or
   icon, with what the document reads and the step to take. The button stands right of the words and moves below them
   where the form is narrow. */
.csf-todo[b-te1lp6g4v2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 8px 8px 8px 12px;
    border-radius: var(--cx-radius-control);
    background: var(--warning-50);
}

.csf-todo-text[b-te1lp6g4v2] {
    flex: 1 1 220px;
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--cx-text-primary);
    overflow-wrap: anywhere;
}

.csf-todo-text b[b-te1lp6g4v2] {
    font-weight: var(--fw-semibold);
}

.csf-todo-acts[b-te1lp6g4v2] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

/* The one filled button of the form while the approval waits for the supplier: flat, in the dark copper white text reads
   on at 7.1:1 (design standard, rule 19). */
.csf-todo .btn.primary[b-te1lp6g4v2] {
    background: var(--cx-primary-hover);
    box-shadow: none;
    white-space: nowrap;
}

.csf-todo .btn.primary:hover[b-te1lp6g4v2] {
    background: color-mix(in srgb, var(--cx-primary-hover) 86%, var(--cx-text-primary));
    box-shadow: none;
}

/* Where the jump to „Lieferant“ lands. */
.csf-todo .btn.primary:focus-visible[b-te1lp6g4v2],
.csf-todo .btn.primary.is-flash[b-te1lp6g4v2],
.csf-todo .cxf-link:focus-visible[b-te1lp6g4v2] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/CaptureSupplierNoMatch.razor.rz.scp.css */
/* The empty list of the supplier search (o740): one quiet line and the „+“ line to create the supplier, in the text
   colours of the form (design standard, rule 49). It stands inside the list's own „no entries“ area. */

.csn[b-eanwcwa15q] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
    text-align: left;
}

.csn-text[b-eanwcwa15q] {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--cx-text-secondary);
    overflow-wrap: anywhere;
}

.csn-create[b-eanwcwa15q] {
    text-align: left;
    line-height: 18px;
    overflow-wrap: anywhere;
}

.csn-create:focus-visible[b-eanwcwa15q] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Capture/SkontoLine.razor.rz.scp.css */
.skonto-line[b-58e4w92ncg] {
    border-top: 1px solid var(--cx-hairline-soft);
    border-bottom: 1px solid var(--cx-hairline-soft);
}

/* The open editor or the summary needs air; the closed „+ Skonto“ is a line of its own height. */
.skonto-line:not(:has(> .skonto-add))[b-58e4w92ncg] {
    padding: 12px 0;
}

/* Read-only without a Skonto: nothing to frame. */
.skonto-line:not(:has(> *))[b-58e4w92ncg] {
    display: none;
}

.skonto-line.is-flash[b-58e4w92ncg] {
    box-shadow: var(--cx-focus-ring);
}

.skonto-row[b-58e4w92ncg] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 32px;
}

.skonto-terms[b-58e4w92ncg] {
    min-width: 0;
    font-size: 13px;
    font-weight: var(--fw-medium);
    color: var(--cx-text-primary);
}

.skonto-origin[b-58e4w92ncg] {
    flex: 1;
    min-width: 0;
}

.skonto-pen[b-58e4w92ncg] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.skonto-pen:hover[b-58e4w92ncg] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary-hover);
}

.skonto-actions[b-58e4w92ncg] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.skonto-add[b-58e4w92ncg] {
    align-self: flex-start;
    border-top: 0;
}

/* The unit sits in the field, at its right end: % or €, % as the default. */
.skonto-field[b-58e4w92ncg] {
    position: relative;
}

.skonto-field .cxf-control[b-58e4w92ncg] {
    padding-right: 76px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* The switch stands in the field, on its right edge; a segment like every other, in the small size. */
.skonto-field[b-58e4w92ncg]  .skonto-switch {
    position: absolute;
    top: 50%;
    right: 4px;
    translate: 0 -50%;
}

.skonto-equivalent:empty[b-58e4w92ncg] {
    display: none;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/EInvoiceDocumentView.razor.rz.scp.css */
/*
 * A structured e-invoice, rendered as the document it is.
 *
 * The layout borrows from paper on purpose: the reviewer's task is "read the invoice", and a
 * form-like presentation would compete with the actual form on the other side of the splitter.
 * White sheet on the paper background, one accent (the amount due), everything else typography.
 */

.eiv-container[b-n0dja94cvu] {
    container-type: inline-size;
    height: 100%;
    overflow-y: auto;
    background: var(--paper-2);
    padding: 14px;
}

/* Inside the document viewer: its surface scrolls and carries the background. */
.eiv-container.is-embedded[b-n0dja94cvu] {
    height: auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    background: none;
}

/* ── Loading / unreadable states ────────────────────────────────────── */

.eiv-empty[b-n0dja94cvu],
.eiv-unreadable[b-n0dja94cvu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    text-align: center;
    color: var(--cx-text-muted);
    padding: 2rem;
}

.eiv-empty > .bi[b-n0dja94cvu],
.eiv-unreadable > .bi[b-n0dja94cvu] {
    font-size: 34px;
    margin-bottom: 10px;
    opacity: 0.55;
}

.eiv-unreadable-title[b-n0dja94cvu] {
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    margin: 0 0 4px;
}

.eiv-unreadable-hint[b-n0dja94cvu] {
    font-size: 13px;
    max-width: 42ch;
    margin: 0;
}

/* ── Toolbar above the sheet ────────────────────────────────────────── */

.eiv-toolbar[b-n0dja94cvu] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.eiv-format[b-n0dja94cvu] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-secondary);
    white-space: nowrap;
}

.eiv-filename[b-n0dja94cvu] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--cx-text-muted);
    font-family: var(--font-mono);
}

.eiv-download[b-n0dja94cvu] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--cx-radius-control);
    border: 1px solid var(--cx-hairline);
    background: var(--cx-card-bg);
    font-size: 12.5px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-secondary);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.eiv-download:hover[b-n0dja94cvu] {
    border-color: var(--cx-text-secondary);
    color: var(--cx-text-primary);
}

/* The same affordance as an anchor, for the state where there are no bytes to build a download
   from and only the stored original can still be offered. */
.eiv-download-link[b-n0dja94cvu] {
    margin-top: 14px;
    text-decoration: none;
}

/* ── Findings ───────────────────────────────────────────────────────── */

.eiv-findings[b-n0dja94cvu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.eiv-finding[b-n0dja94cvu] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 12px;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline);
    border-left-width: 3px;
    font-size: 13px;
}

.eiv-finding.is-warning[b-n0dja94cvu] {
    border-left-color: var(--cx-warning);
}

.eiv-finding.is-error[b-n0dja94cvu] {
    border-left-color: var(--cx-danger);
}

/* Recorded at import and since answered by the form: shown, not deleted, with what the field says
   now beside what the file said then. */
.eiv-finding.is-resolved[b-n0dja94cvu] {
    border-left-color: var(--cx-success);
}

.eiv-finding > .bi[b-n0dja94cvu] {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.4;
}

.eiv-finding.is-warning > .bi[b-n0dja94cvu] { color: var(--cx-warning); }
.eiv-finding.is-error > .bi[b-n0dja94cvu] { color: var(--cx-danger); }
.eiv-finding.is-resolved > .bi[b-n0dja94cvu] { color: var(--cx-success); }

.eiv-finding-body[b-n0dja94cvu] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eiv-finding-text[b-n0dja94cvu] {
    color: var(--cx-text-primary);
}

.eiv-finding-resolution[b-n0dja94cvu] {
    color: var(--cx-success);
}

/* Touched, but not settled: the finding still applies, so it keeps the warning's colour. */
.eiv-finding-followup[b-n0dja94cvu] {
    color: var(--cx-warning);
}

.eiv-finding-term[b-n0dja94cvu] {
    font-size: 11px;
    color: var(--cx-text-muted);
    font-family: var(--font-mono);
}

/* ── The sheet ──────────────────────────────────────────────────────── */

.eiv-sheet[b-n0dja94cvu] {
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline);
    border-radius: 10px;
    padding: 26px 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.eiv-head[b-n0dja94cvu] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cx-hairline);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.eiv-doctype[b-n0dja94cvu] {
    margin: 0;
    font-size: 19px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    letter-spacing: 0.01em;
}

.eiv-number[b-n0dja94cvu] {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--cx-text-secondary);
    font-family: var(--font-mono);
}

.eiv-dates[b-n0dja94cvu] {
    display: flex;
    gap: 20px;
    margin: 0;
    flex-wrap: wrap;
}

.eiv-dates div[b-n0dja94cvu] {
    display: flex;
    flex-direction: column;
}

.eiv-dates dt[b-n0dja94cvu] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cx-text-muted);
    font-weight: var(--fw-semibold);
}

.eiv-dates dd[b-n0dja94cvu] {
    margin: 1px 0 0;
    font-size: 13.5px;
    color: var(--cx-text-primary);
}

/* ── Parties ────────────────────────────────────────────────────────── */

.eiv-parties[b-n0dja94cvu] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.eiv-party h4[b-n0dja94cvu] {
    margin: 0 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cx-text-muted);
    font-weight: var(--fw-semibold);
}

.eiv-address[b-n0dja94cvu] {
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--cx-text-primary);
    display: flex;
    flex-direction: column;
}

.eiv-party-name[b-n0dja94cvu] {
    font-weight: var(--fw-semibold);
}

.eiv-party-meta[b-n0dja94cvu] {
    font-size: 12px;
    color: var(--cx-text-muted);
}

/* ── References ─────────────────────────────────────────────────────── */

/* The references (Leitweg-ID, order, contract, payment reference) as small lines, no box: they are seldom what the office
   looks for (K11). */
.eiv-refs[b-n0dja94cvu] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 24px;
    margin: 0 0 18px;
}

.eiv-refs div[b-n0dja94cvu] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
    line-height: 16px;
}

.eiv-refs dt[b-n0dja94cvu] {
    font-weight: var(--fw-medium);
    color: var(--cx-text-muted);
}

.eiv-refs dt[b-n0dja94cvu]::after {
    content: ":";
}

.eiv-refs dd[b-n0dja94cvu] {
    margin: 0;
    color: var(--cx-text-secondary);
}

/* ── Lines ──────────────────────────────────────────────────────────── */

.eiv-lines[b-n0dja94cvu] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

.eiv-lines th[b-n0dja94cvu] {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cx-text-muted);
    font-weight: var(--fw-semibold);
    padding: 0 8px 6px 0;
    border-bottom: 1px solid var(--cx-hairline);
    white-space: nowrap;
}

.eiv-lines td[b-n0dja94cvu] {
    padding: 7px 8px 7px 0;
    border-bottom: 1px solid var(--cx-hairline-soft);
    vertical-align: top;
    color: var(--cx-text-primary);
}

.eiv-lines .c-pos[b-n0dja94cvu] { width: 44px; color: var(--cx-text-muted); }
.eiv-lines .c-qty[b-n0dja94cvu],
.eiv-lines .c-price[b-n0dja94cvu],
.eiv-lines .c-tax[b-n0dja94cvu],
.eiv-lines .c-total[b-n0dja94cvu] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.eiv-lines th.c-qty[b-n0dja94cvu],
.eiv-lines th.c-price[b-n0dja94cvu],
.eiv-lines th.c-tax[b-n0dja94cvu],
.eiv-lines th.c-total[b-n0dja94cvu] {
    text-align: right;
}

.eiv-line-name[b-n0dja94cvu] {
    display: block;
    font-weight: 500;
}

.eiv-line-desc[b-n0dja94cvu] {
    display: block;
    font-size: 12px;
    color: var(--cx-text-muted);
    margin-top: 1px;
    white-space: pre-line;
}

.eiv-nolines[b-n0dja94cvu] {
    font-size: 13px;
    color: var(--cx-text-muted);
    background: var(--paper);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 16px;
}

/* ── Totals ─────────────────────────────────────────────────────────── */

.eiv-totals-wrap[b-n0dja94cvu] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.eiv-totals[b-n0dja94cvu] {
    min-width: 300px;
    max-width: 380px;
    margin: 0;
}

.eiv-totals div[b-n0dja94cvu] {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 3px 0;
    font-size: 13.5px;
}

.eiv-totals dt[b-n0dja94cvu] {
    color: var(--cx-text-secondary);
    font-weight: 400;
}

.eiv-totals dd[b-n0dja94cvu] {
    margin: 0;
    color: var(--cx-text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.eiv-totals .eiv-grand[b-n0dja94cvu] {
    border-top: 1px solid var(--cx-hairline);
    margin-top: 4px;
    padding-top: 7px;
    font-weight: var(--fw-semibold);
}

.eiv-totals .eiv-grand dt[b-n0dja94cvu] { color: var(--cx-text-primary); }

.eiv-totals .eiv-due[b-n0dja94cvu] {
    font-weight: var(--fw-semibold);
    font-size: 14.5px;
}

.eiv-totals .eiv-due dd[b-n0dja94cvu] { color: var(--cx-success); }

/* ── Payment & notes ────────────────────────────────────────────────── */

.eiv-payment h4[b-n0dja94cvu] {
    margin: 0 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cx-text-muted);
    font-weight: var(--fw-semibold);
}

.eiv-payment dl[b-n0dja94cvu] {
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.eiv-payment dl div[b-n0dja94cvu] {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.eiv-payment dt[b-n0dja94cvu] {
    flex: 0 0 110px;
    color: var(--cx-text-muted);
}

.eiv-payment dd[b-n0dja94cvu] {
    margin: 0;
    color: var(--cx-text-primary);
}

.eiv-mono[b-n0dja94cvu] {
    font-family: var(--font-mono);
    /* People compare the IBAN against master data — let one click select it whole. */
    user-select: all;
}

.eiv-notes[b-n0dja94cvu] {
    border-top: 1px solid var(--cx-hairline-soft);
    padding-top: 10px;
}

.eiv-notes p[b-n0dja94cvu] {
    font-size: 12.5px;
    color: var(--cx-text-secondary);
    margin: 0 0 6px;
    white-space: pre-line;
}

/* ── Narrow panes ───────────────────────────────────────────────────── */

@container (max-width: 560px) {
    .eiv-sheet[b-n0dja94cvu] {
        padding: 18px 16px;
    }

    /* A line of six columns cannot get narrower than its figures: it scrolls on the paper, not over its edge. */
    .eiv-lines[b-n0dja94cvu] {
        display: block;
        overflow-x: auto;
    }

    .eiv-parties[b-n0dja94cvu] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .eiv-totals[b-n0dja94cvu] {
        min-width: 0;
        width: 100%;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/EInvoiceFindingsStrip.razor.rz.scp.css */
/*
 * Stored e-invoice findings, shown where the document viewer cannot show them itself.
 * Same visual language as the findings block inside EInvoiceDocumentView: card rows with a
 * severity-coloured left edge — ochre for "check this", brick only for real errors.
 */

.efs-strip[b-d4brbqg4pb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px 0;
}

.efs-finding[b-d4brbqg4pb] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 12px;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline);
    border-left-width: 3px;
    font-size: 13px;
}

.efs-finding.is-warning[b-d4brbqg4pb] {
    border-left-color: var(--cx-warning);
}

.efs-finding.is-error[b-d4brbqg4pb] {
    border-left-color: var(--cx-danger);
}

/* The import finding still reads as it was recorded; the row states that the field it complains
   about has since been filled in, so the two are not read as contradicting each other. */
.efs-finding.is-resolved[b-d4brbqg4pb] {
    border-left-color: var(--cx-success);
}

.efs-finding > .bi[b-d4brbqg4pb] {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.4;
}

.efs-finding.is-warning > .bi[b-d4brbqg4pb] { color: var(--cx-warning); }
.efs-finding.is-error > .bi[b-d4brbqg4pb] { color: var(--cx-danger); }
.efs-finding.is-resolved > .bi[b-d4brbqg4pb] { color: var(--cx-success); }

.efs-body[b-d4brbqg4pb] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.efs-text[b-d4brbqg4pb] {
    color: var(--cx-text-primary);
}

.efs-resolution[b-d4brbqg4pb] {
    color: var(--cx-success);
}

/* The field was touched but the finding still stands — stated in the warning's own colour, not in
   the colour of an all-clear. */
.efs-followup[b-d4brbqg4pb] {
    color: var(--cx-warning);
}

.efs-term[b-d4brbqg4pb] {
    font-size: 11px;
    color: var(--cx-text-muted);
    font-family: var(--font-mono);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/DocumentThumbnail.razor.rz.scp.css */
/* The first page as a sheet in a tray: full width, cut at the top, a click opens the document. */
.dth[b-5bllnuvfgy] {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    background: var(--sand);
    cursor: pointer;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.dth:hover[b-5bllnuvfgy] {
    border-color: var(--cx-hairline-strong);
}

.dth:focus-visible[b-5bllnuvfgy] {
    outline: none;
    border-color: var(--cx-primary);
    box-shadow: var(--cx-focus-ring);
}

/* No background of its own: the picture paints over the skeleton the moment it is there. */
.dth-frame[b-5bllnuvfgy] {
    position: absolute;
    inset: 0;
    display: block;
}

.dth-page[b-5bllnuvfgy] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.dth-skeleton[b-5bllnuvfgy] {
    position: absolute;
    inset: 12px 24px 0;
    border-radius: var(--cx-radius-surface) var(--cx-radius-surface) 0 0;
    background: var(--cx-card-bg);
    animation: dth-pulse-b-5bllnuvfgy 1.4s ease-in-out infinite;
}

.dth-fallback[b-5bllnuvfgy],
.dth-xml[b-5bllnuvfgy] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--cx-text-muted);
}

.dth-fallback > .bi[b-5bllnuvfgy],
.dth-xml > .bi[b-5bllnuvfgy] {
    font-size: 28px;
}

.dth-xml[b-5bllnuvfgy] {
    color: var(--cx-text-secondary);
}

.dth-xml > .bi[b-5bllnuvfgy] {
    color: var(--cx-info);
}

/* Which layer shows follows data-state (loading, drawn, failed, xml), written by the component. */
.dth .dth-fallback[b-5bllnuvfgy] {
    visibility: hidden;
}

.dth[data-state="failed"] .dth-fallback[b-5bllnuvfgy] {
    visibility: visible;
}

.dth[data-state="drawn"] .dth-skeleton[b-5bllnuvfgy],
.dth[data-state="failed"] .dth-skeleton[b-5bllnuvfgy] {
    display: none;
}

@keyframes dth-pulse-b-5bllnuvfgy {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .dth-skeleton[b-5bllnuvfgy] {
        animation: none;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingDropZone.razor.rz.scp.css */
/* A quiet dashed field above the rows: the drop target the office sees. */
.idz[b-m5y2fqp7kj] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 56px;
    padding: 8px 16px;
    border: 1px dashed var(--cx-hairline-strong);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    overflow: hidden;
}

.idz-icon[b-m5y2fqp7kj] {
    flex: none;
    font-size: 18px;
    line-height: 1;
    color: var(--cx-primary);
}

.idz-text[b-m5y2fqp7kj] {
    flex: 1 1 auto;
    min-width: 0;
}

.idz-title[b-m5y2fqp7kj] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-semibold);
    line-height: 20px;
    color: var(--cx-text-primary);
}

.idz-pick[b-m5y2fqp7kj] {
    position: relative;
    display: inline;
    margin: 0;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
    text-underline-offset: 2px;
    cursor: pointer;
}

/* Part of the sentence as in the mockup; the pointer and the underline on hover show that it picks files. */
.idz-pick:hover[b-m5y2fqp7kj] {
    text-decoration: underline;
}

.idz-pick:focus-within[b-m5y2fqp7kj] {
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}

.idz-pick.is-disabled[b-m5y2fqp7kj] {
    color: var(--cx-text-muted);
    cursor: default;
}

/* The file input stays in the DOM and in the tab order, but takes no room. */
.idz-pick[b-m5y2fqp7kj]  .idz-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.idz-sub[b-m5y2fqp7kj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 4px;
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--cx-text-muted);
}

.idz-email[b-m5y2fqp7kj] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}

.idz-address[b-m5y2fqp7kj] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-mono);
    color: var(--cx-text-secondary);
}

.idz-copy[b-m5y2fqp7kj] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    font-size: 12px;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.idz-copy:hover[b-m5y2fqp7kj] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary);
}

.idz-copy:focus-visible[b-m5y2fqp7kj] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.idz-file[b-m5y2fqp7kj] {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    color: var(--cx-text-secondary);
}

/* 2 px along the lower edge of the field. */
.idz-bar[b-m5y2fqp7kj] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--cx-hairline-soft);
}

.idz-bar-fill[b-m5y2fqp7kj] {
    display: block;
    height: 100%;
    background: var(--cx-primary);
    transition: width .2s var(--ease);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListBulkBar.razor.rz.scp.css */
/* Sits in the head row of the list card. On a wide card one line in the height of the row; on a narrow one the numbers
   and „Auswahl aufheben“ stay on the first line and the actions get the second, nothing is cut off. */
.iil-bulk[b-m24plotxyg] {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    min-width: 0;
    min-height: 48px;
    padding: 7px 0;
}

.iil-bulk-summary[b-m24plotxyg] { order: 1; }
.iil-bulk-link[b-m24plotxyg] { order: 2; }
.iil-bulk-clear[b-m24plotxyg] { order: 3; }

.iil-bulk-actions[b-m24plotxyg] {
    order: 4;
    flex: 1 0 100%;
}

/* Ticks the search hides: a line of its own under the numbers and actions, never cut off. */
.iil-bulk-search[b-m24plotxyg] {
    order: 5;
    flex: 1 0 100%;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 13px;
    color: var(--cx-text-primary);
}

.iil-bulk-search .bi[b-m24plotxyg] {
    color: var(--cx-warning);
}

@container iil (min-width: 760px) {
    .iil-bulk-actions[b-m24plotxyg] {
        order: 3;
        flex: 0 1 auto;
    }

    .iil-bulk-clear[b-m24plotxyg] { order: 4; }
}

.iil-bulk-summary[b-m24plotxyg] {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
    color: var(--cx-text-primary);
}

.iil-bulk-summary strong[b-m24plotxyg] {
    font-weight: var(--fw-semibold);
}

.iil-bulk-sum[b-m24plotxyg] {
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.iil-bulk-link[b-m24plotxyg],
.iil-bulk-clear[b-m24plotxyg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    cursor: pointer;
}

.iil-bulk-link[b-m24plotxyg] {
    color: var(--cx-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.iil-bulk-actions[b-m24plotxyg] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.iil-bulk-actions .btn[b-m24plotxyg] {
    white-space: nowrap;
}

.iil-bulk-danger[b-m24plotxyg] {
    color: var(--cx-danger);
}

.iil-bulk-danger:hover[b-m24plotxyg] {
    border-color: var(--cx-danger);
    background: var(--danger-50);
}

.iil-bulk-clear[b-m24plotxyg] {
    margin-left: auto;
    height: 28px;
    padding: 0 8px;
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-secondary);
}

.iil-bulk-clear:hover[b-m24plotxyg] {
    background: var(--cx-hover-bg);
    color: var(--cx-text-primary);
}

.iil-bulk-link:focus-visible[b-m24plotxyg],
.iil-bulk-clear:focus-visible[b-m24plotxyg] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}

.iil-bulk-clear .bi[b-m24plotxyg] {
    font-size: 12px;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListFilterBar.razor.rz.scp.css */
/* The filter bar of the Rechnungseingang (Hülle B „Ruhige Spalten“, 08.11.): full-width rows on the sand of the filter
   column, no card. Below 760 px of list width (container iip of the page) one row of chips.
   Colours (Nachtrag 3, as the mockup tab B), each checked at 4.5:1 or more on the surface it stands on:
   - entries in the colour of the body text (14.9:1 on sand, 13.4:1 hovered);
   - the chosen entry: a 4 px copper bar at the left on 18 % soft copper over the sand (#E6D3C1), text, icon and count
     in the dark copper --cx-primary-hover, bold (4.91:1); the count has no surface of its own there, because the
     soft copper twice would give 4.08:1;
   - counts one step lighter (--cx-text-secondary, 8.2:1), a zero pale (--cx-text-muted, by the owner's wish), „–“ of
     counts that could not be loaded readable like a count;
   - „Zu prüfen“ with documents on the same 18 % soft copper in the dark copper (4.91:1), never filled; failed readings
     in --cx-danger without a surface (5.85:1).
   The mockup's lighter copper text (#9A4F17) would stay under 4.5:1 on the chosen surface: the dark copper token stands
   in for it. Strong copper surfaces belong only to „Rechnung hochladen“ and „Prüfen“; the bar has none but the bar. */

.iilf[b-uz30rfe0vl] {
    min-width: 0;
}

.iilf-list[b-uz30rfe0vl] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.iilf-entry[b-uz30rfe0vl] {
    min-width: 0;
}

.iilf-item[b-uz30rfe0vl] {
    position: relative;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    min-height: 38px;
    padding: 6px 10px 6px 12px;
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-primary);
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 0.12s var(--ease), color 0.12s var(--ease);
}

.iilf-item:hover[b-uz30rfe0vl] {
    background: rgba(28, 25, 21, 0.05);
    color: var(--cx-text-primary);
    text-decoration: none;
}

.iilf-item:focus-visible[b-uz30rfe0vl] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.iilf-item.is-active[b-uz30rfe0vl] {
    background: rgba(184, 96, 31, 0.18);
    color: var(--cx-primary-hover);
    font-weight: var(--fw-bold);
}

.iilf-item.is-active[b-uz30rfe0vl]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-primary);
}

.iilf-icon[b-uz30rfe0vl] {
    font-size: 16px;
    color: var(--cx-text-primary);
    line-height: 1;
}

.iilf-item.is-active .iilf-icon[b-uz30rfe0vl] {
    color: var(--cx-primary-hover);
}

.iilf-text[b-uz30rfe0vl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.iilf-label[b-uz30rfe0vl] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iilf-amount[b-uz30rfe0vl] {
    margin-top: 2px;
    font-size: 12px;
    font-weight: var(--fw-regular);
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.iilf-count[b-uz30rfe0vl] {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: var(--cx-radius-round);
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.iilf-count.is-zero[b-uz30rfe0vl] {
    color: var(--cx-text-muted);
    font-weight: var(--fw-regular);
}

.iilf-count.is-some[b-uz30rfe0vl] {
    color: var(--cx-text-secondary);
    font-weight: var(--fw-semibold);
}

.iilf-count.is-attention[b-uz30rfe0vl] {
    background: rgba(184, 96, 31, 0.18);
    color: var(--cx-primary-hover);
}

.iilf-count.is-unknown[b-uz30rfe0vl] {
    color: var(--cx-text-secondary);
    font-weight: var(--fw-semibold);
}

.iilf-count.is-danger[b-uz30rfe0vl] {
    color: var(--cx-danger);
}

/* After the colour of the count itself: the chosen entry's count is in its copper, bold, on the entry's surface, without
   a surface of its own, also for „Zu prüfen“. */
.iilf-item.is-active .iilf-count[b-uz30rfe0vl] {
    color: var(--cx-primary-hover);
    font-weight: var(--fw-bold);
    background: transparent;
}

.iilf-item.is-active .iilf-count.is-attention[b-uz30rfe0vl] {
    background: transparent;
}

.iilf-count.is-placeholder[b-uz30rfe0vl] {
    display: inline-block;
    width: 3ch;
    min-width: 0;
    height: 12px;
    padding: 0;
    border-radius: var(--cx-radius-control);
    background: rgba(28, 25, 21, 0.06);
}

.iilf-separator[b-uz30rfe0vl] {
    height: 1px;
    margin: 8px 10px;
    background: var(--cx-hairline-strong);
}

/* Phone and narrow windows: one row of chips above the list. The row scrolls inside itself; the page never does. */
@container iip (max-width: 759px) {
    .iilf-list[b-uz30rfe0vl] {
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .iilf-entry[b-uz30rfe0vl] {
        flex: 0 0 auto;
    }

    .iilf-item[b-uz30rfe0vl] {
        grid-template-columns: auto auto auto;
        column-gap: 6px;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid var(--cx-hairline);
        border-radius: var(--cx-radius-control);
        background: var(--cx-card-bg);
        font-size: 13px;
    }

    .iilf-item.is-active[b-uz30rfe0vl] {
        border-color: var(--cx-primary);
    }

    .iilf-item.is-active[b-uz30rfe0vl]::before {
        display: none;
    }

    .iilf-icon[b-uz30rfe0vl] {
        font-size: 14px;
    }

    .iilf-amount[b-uz30rfe0vl] {
        display: none;
    }

    .iilf-label[b-uz30rfe0vl] {
        overflow: visible;
    }

    .iilf-separator[b-uz30rfe0vl] {
        width: 1px;
        height: 24px;
        margin: 5px 2px;
        flex: 0 0 auto;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListHeaderActions.razor.rz.scp.css */
/* The right side of the head of the Rechnungseingang: help, bank import, export menu. Text buttons 34 px high, as in
   the mockup (tab B). */

.iih[b-glrlv0z4uk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.iih .btn.outline[b-glrlv0z4uk] {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
}

[b-glrlv0z4uk] .iih-help .info-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-round);
    color: var(--cx-text-muted);
    text-decoration: none;
}

[b-glrlv0z4uk] .iih-help .info-help-button:hover {
    color: var(--cx-primary);
    background: var(--cx-primary-soft);
}

.iih-help-text p[b-glrlv0z4uk] {
    margin: 0 0 10px;
    line-height: 1.5;
    color: var(--cx-text-secondary);
}

.iih-export[b-glrlv0z4uk] {
    position: relative;
}

/* The phone-only parts of the export menu (S2). */
.iih-more-icon[b-glrlv0z4uk],
.iih-menu-phone[b-glrlv0z4uk] {
    display: none !important;
}

.iih-chevron[b-glrlv0z4uk] {
    font-size: 11px !important;
    transition: transform 0.15s var(--ease);
}

.iih-chevron.is-open[b-glrlv0z4uk] {
    transform: rotate(180deg);
}

.iih-backdrop[b-glrlv0z4uk] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.iih-menu[b-glrlv0z4uk] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 41;
    min-width: 240px;
    padding: 6px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
}

.iih-menu-item[b-glrlv0z4uk] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-primary);
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.iih-menu-item:hover[b-glrlv0z4uk],
.iih-menu-item:focus-visible[b-glrlv0z4uk] {
    background: var(--cx-hover-bg);
    outline: none;
}

.iih-menu-item i[b-glrlv0z4uk] {
    font-size: 15px;
    color: var(--cx-text-muted);
}

/* Phone: the help, then import and export sharing the width, so no button stands alone half-wide. */
@media (max-width: 760px) {
    .iih[b-glrlv0z4uk] {
        width: 100%;
        justify-content: flex-start;
    }

    .iih-bank[b-glrlv0z4uk] {
        flex: 1 1 0;
        justify-content: center;
    }

    .iih-export[b-glrlv0z4uk] {
        flex: 1 1 0;
    }

    .iih-export-toggle[b-glrlv0z4uk] {
        width: 100%;
        justify-content: center;
    }

    .iih-menu[b-glrlv0z4uk] {
        right: auto;
        left: 0;
    }
}

/* Phone (S2): „Kontoauszug importieren“ and the exports sit in „⋯“ at the right of the help. */
@media (max-width: 600px) {
    .iih[b-glrlv0z4uk] {
        flex-wrap: nowrap;
    }

    .iih-bank[b-glrlv0z4uk] {
        display: none !important;
    }

    .iih-export[b-glrlv0z4uk] {
        flex: none;
        margin-left: auto;
    }

    .iih-export-toggle[b-glrlv0z4uk] {
        width: var(--cx-row-h);
        padding: 0 !important;
        justify-content: center;
    }

    .iih-export-text[b-glrlv0z4uk],
    .iih-chevron[b-glrlv0z4uk] {
        display: none !important;
    }

    .iih-more-icon[b-glrlv0z4uk] {
        display: inline-block !important;
        font-size: 18px;
    }

    .iih-menu-phone[b-glrlv0z4uk] {
        display: flex !important;
    }

    .iih-menu[b-glrlv0z4uk] {
        right: 0;
        left: auto;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListPager.razor.rz.scp.css */
/* Footer strip at the bottom of the list card. */
.iil-pager[b-zrf3cu9hj8] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px;
    border-top: 1px solid var(--cx-hairline);
    font-size: 13px;
    color: var(--cx-text-secondary);
}

.iil-pager-row[b-zrf3cu9hj8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    min-height: 32px;
}

.iil-pager-range[b-zrf3cu9hj8] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* What a double click on a row does, at the right of the footer (Nachtrag 3, 3). */
.iil-pager-hint[b-zrf3cu9hj8] {
    margin-left: auto;
    white-space: nowrap;
    color: var(--cx-text-secondary);
}

@media (hover: none) {
    .iil-pager-hint[b-zrf3cu9hj8] {
        display: none;
    }
}

.iil-pages[b-zrf3cu9hj8] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.iil-page[b-zrf3cu9hj8] {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    font: inherit;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.iil-page:hover:not(:disabled)[b-zrf3cu9hj8] {
    background: var(--cx-hover-bg);
    color: var(--cx-text-primary);
}

.iil-page.is-current[b-zrf3cu9hj8] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary);
    font-weight: var(--fw-semibold);
    cursor: default;
}

.iil-page:disabled[b-zrf3cu9hj8] {
    color: var(--cx-text-muted);
    opacity: .5;
    cursor: default;
}

.iil-page:focus-visible[b-zrf3cu9hj8],
.iil-pager-reload:focus-visible[b-zrf3cu9hj8] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.iil-page-gap[b-zrf3cu9hj8] {
    min-width: 20px;
    text-align: center;
    color: var(--cx-text-muted);
}

.iil-pager-live[b-zrf3cu9hj8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--cx-warning);
}

.iil-pager-reload[b-zrf3cu9hj8] {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    border-radius: var(--cx-radius-control);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListPreview.razor.rz.scp.css */
/* The detail panel (Hülle B „Ruhige Spalten“, Nachtrag 3/4, 08.11.): no frame and no tint of its own, the white column
   of the page gives the surface and the hairline. From the top: icons, heading, buttons, picture, sections. Nothing is
   fixed: the panel scrolls as a whole in its column, so the buttons at the top are reached first on any height. Over the
   list (narrow) the side panel frame holds it the same way. */
.ilp[b-15ovu4tckz] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--cx-text-primary);
}

.ilp p[b-15ovu4tckz] {
    margin: 0;
}

.ilp-block[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px;
}

/* ── Summary and group ───────────────────────────────────────────────── */

.ilp-title[b-15ovu4tckz] {
    font-size: 15px;
    font-weight: var(--fw-semibold);
    line-height: 20px;
}

.ilp-count[b-15ovu4tckz],
.ilp-sum[b-15ovu4tckz] {
    font-size: 22px;
    font-weight: var(--fw-bold);
    line-height: 28px;
    font-variant-numeric: tabular-nums;
}

.ilp-names[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ilp-names > li[b-15ovu4tckz] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ilp-more-names[b-15ovu4tckz],
.ilp-hint[b-15ovu4tckz] {
    font-size: 12px;
    line-height: 16px;
    color: var(--cx-text-secondary);
}

.ilp-link[b-15ovu4tckz] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary-hover);
    text-decoration: none;
    cursor: pointer;
}

.ilp-link:hover[b-15ovu4tckz] {
    text-decoration: underline;
}

.ilp-link:focus-visible[b-15ovu4tckz] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}

/* The block of the summary keeps its main button full width. */
.ilp-block .ilp-primary[b-15ovu4tckz] {
    justify-content: center;
    width: 100%;
    height: 40px;
}

/* ── One document ────────────────────────────────────────────────────── */

.ilp-doc[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-bottom: 16px;
}

/* Icon row: pure icons with a tooltip, only tools with a real action, spread over the width as in the mockup. */
.ilp-tools[b-15ovu4tckz] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 16px 0;
}

.ilp-tool[b-15ovu4tckz] {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .12s var(--ease), border-color .12s var(--ease);
}

.ilp-tool:hover[b-15ovu4tckz],
.ilp-tool[aria-expanded="true"][b-15ovu4tckz] {
    background: var(--sand);
    border-color: var(--cx-hairline);
    color: var(--cx-text-primary);
}

.ilp-tool:focus-visible[b-15ovu4tckz] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.ilp-more[b-15ovu4tckz] {
    position: relative;
}

/* An invisible layer under the menu closes it on a click anywhere else. */
.ilp-menu-backdrop[b-15ovu4tckz] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

/* „Mehr“ stands at the right edge: the menu opens to the left. */
.ilp-menu[b-15ovu4tckz] {
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    padding: 4px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
}

.ilp-menu-item[b-15ovu4tckz] {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    font: inherit;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.ilp-menu-item:hover[b-15ovu4tckz],
.ilp-menu-item:focus-visible[b-15ovu4tckz] {
    outline: none;
    background: var(--cx-hover-bg);
}

.ilp-menu-item.is-danger[b-15ovu4tckz] {
    color: var(--cx-danger);
}

/* The heading „Lieferant · Nummer“, centred, without a small line above (Nachtrag 3 b). It stands only here, so it
   wraps instead of being cut. */
.ilp-name[b-15ovu4tckz] {
    margin: 0;
    padding: 6px 16px 4px;
    overflow-wrap: anywhere;
    text-align: center;
    font-size: 15px;
    font-weight: var(--fw-bold);
    line-height: 20px;
    color: var(--cx-text-primary);
}

/* The buttons of the state, right under the heading, 6 px air to the picture (Nachtrag 3 c). A main button alone takes
   the full width; „Öffnen“ beside it keeps its own. */
.ilp-buttons[b-15ovu4tckz] {
    flex: none;
    display: flex;
    gap: 8px;
    padding: 6px 16px 0;
    margin-bottom: 6px;
}

.ilp-buttons .btn[b-15ovu4tckz] {
    justify-content: center;
    height: 38px;
}

.ilp-buttons .ilp-primary[b-15ovu4tckz] {
    flex: 1 1 auto;
}

.ilp-buttons .ilp-action[b-15ovu4tckz] {
    flex: 0 0 auto;
}

/* Flat like in the mockup: no copper glow under „Prüfen“, also on hover. */
.ilp-buttons .btn.primary[b-15ovu4tckz] {
    box-shadow: none;
}

.ilp-buttons .btn.primary:hover[b-15ovu4tckz] {
    box-shadow: none;
}

.ilp-buttons .btn:focus-visible[b-15ovu4tckz],
.ilp-buttons .btn.primary:focus-visible[b-15ovu4tckz] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

/* A copper outline where an action is due but not filled („Zahlung vorbereiten“, „Erneut lesen“): dark copper text on
   white 7.14:1, on the soft copper of the hover 6.29:1. */
.ilp-buttons .btn.is-copper[b-15ovu4tckz] {
    border-color: var(--cx-primary);
    color: var(--cx-primary-hover);
}

.ilp-buttons .btn.is-copper:hover[b-15ovu4tckz] {
    background: var(--cx-primary-soft);
    border-color: var(--cx-primary-hover);
    color: var(--cx-primary-hover);
}

/* „· 2 von 4“: lighter by weight, not by transparency (white at 85 % on copper would be 3.66:1). */
.ilp-buttons .ilp-count[b-15ovu4tckz] {
    font-size: inherit;
    font-weight: var(--fw-regular);
    line-height: inherit;
}

/* The picture: a fixed height, „Groß ansehen“ in its corner. */
.ilp-preview[b-15ovu4tckz] {
    flex: none;
    position: relative;
    margin: 0 16px;
}

.ilp-preview[b-15ovu4tckz]  .dth {
    height: 230px;
}

.ilp-zoom[b-15ovu4tckz] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border: 1px solid var(--cx-hairline-strong);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    line-height: 14px;
    text-decoration: none;
}

.ilp-zoom:hover[b-15ovu4tckz] {
    color: var(--cx-text-primary);
    text-decoration: none;
}

.ilp-zoom:focus-visible[b-15ovu4tckz] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

/* The sections under the picture; they scroll with the panel. */
.ilp-sections[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px 0;
}

.ilp-notices[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.is-attention[b-15ovu4tckz] { color: var(--cx-primary-hover); }
.is-neutral[b-15ovu4tckz] { color: var(--cx-text-secondary); }
.is-warning[b-15ovu4tckz] { color: var(--cx-warning); }
.is-info[b-15ovu4tckz] { color: var(--cx-text-secondary); }
.is-success[b-15ovu4tckz] { color: var(--cx-success); }
.is-danger[b-15ovu4tckz] { color: var(--cx-danger); }

.ilp-section[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* A small capital heading between two hairlines. */
.ilp-heading[b-15ovu4tckz] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    line-height: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cx-text-secondary);
}

.ilp-heading[b-15ovu4tckz]::before,
.ilp-heading[b-15ovu4tckz]::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--cx-hairline);
}

/* Label left, value right; a long value ends in an ellipsis and carries the full text in its title. */
.ilp-rows[b-15ovu4tckz] {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    align-items: baseline;
    column-gap: 14px;
    row-gap: 6px;
    margin: 0;
}

.ilp-rows > dt[b-15ovu4tckz] {
    margin: 0;
    font-weight: var(--fw-regular);
    color: var(--cx-text-secondary);
    white-space: nowrap;
}

.ilp-rows > dd[b-15ovu4tckz] {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--fw-medium);
}

.ilp-rows > dd.is-empty[b-15ovu4tckz] {
    font-weight: var(--fw-regular);
    color: var(--cx-text-secondary);
}

.ilp-money[b-15ovu4tckz] {
    font-variant-numeric: tabular-nums;
}

/* The gross amount opens the first section, large. */
.ilp-rows > dd.ilp-big[b-15ovu4tckz] {
    font-size: 17px;
    font-weight: var(--fw-bold);
    line-height: 22px;
}

.ilp-rows > dd.is-reducing[b-15ovu4tckz],
.ilp-rows > dd.is-income[b-15ovu4tckz] {
    color: var(--cx-success);
}

/* The review's payment note (Punkt 6): its sentence as on the review page, in the text colour of the section. */
.ilp-payment-note[b-15ovu4tckz] {
    color: var(--cx-text-secondary);
    overflow-wrap: anywhere;
}

/* A note is free text: it wraps instead of being cut, and keeps its line breaks. */
.ilp-rows > dd.ilp-note[b-15ovu4tckz] {
    overflow: visible;
    white-space: pre-line;
    overflow-wrap: anywhere;
    font-weight: var(--fw-regular);
}

.ilp-notice[b-15ovu4tckz] {
    padding: 8px 12px;
    border-radius: var(--cx-radius-surface);
    overflow-wrap: anywhere;
}

.ilp-notice.is-warning[b-15ovu4tckz] {
    background: var(--warning-50);
    color: var(--cx-text-primary);
}

.ilp-notice.is-danger[b-15ovu4tckz] {
    background: var(--danger-50);
    color: var(--cx-text-primary);
}

/* ── Problems and loading ────────────────────────────────────────────── */

.ilp-problem[b-15ovu4tckz] {
    align-items: flex-start;
    color: var(--cx-text-secondary);
}

.ilp-skeleton[b-15ovu4tckz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.ilp-sk[b-15ovu4tckz] {
    display: block;
    border-radius: var(--cx-radius-control);
    background: var(--sand);
    animation: ilp-pulse-b-15ovu4tckz 1.4s ease-in-out infinite;
}

.ilp-sk-button[b-15ovu4tckz] {
    height: 40px;
    border-radius: var(--cx-radius-control);
}

.ilp-sk-thumb[b-15ovu4tckz] {
    height: 230px;
    border-radius: var(--cx-radius-surface);
}

.ilp-sk-line[b-15ovu4tckz] {
    height: 14px;
}

.ilp-sk-line.is-short[b-15ovu4tckz] {
    width: 60%;
}

@keyframes ilp-pulse-b-15ovu4tckz {
    0%, 100% { opacity: .6; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ilp-sk[b-15ovu4tckz] {
        animation: none;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListRowItem.razor.rz.scp.css */
/* One row: checkbox | open surface | menu. The open surface has two lines, as in the mockup: supplier and amount, then
   the document line with its chips and the status. */
.iil-row[b-2teueo91e8] {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: stretch;
    min-height: 64px;
    border-bottom: 1px solid var(--cx-hairline-soft);
    background: var(--cx-card-bg);
    transition: background-color .12s var(--ease);
}

/* In the payment run a fourth column carries „Zahlbetrag“ (mockup, Variante A). */
.iil-row.has-pay[b-2teueo91e8] {
    grid-template-columns: 40px minmax(0, 1fr) 148px 40px;
    column-gap: 8px;
}

.iil-pay[b-2teueo91e8] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    padding-block: 8px;
}

.iil-row:last-child[b-2teueo91e8] {
    border-bottom: 0;
}

.iil-row:hover[b-2teueo91e8] {
    background: var(--cx-hover-bg);
}

.iil-row.is-selected[b-2teueo91e8] {
    background: var(--paper-2);
}

/* The row the review page came back from: a bar in the colour of the app on its left edge, so the eye finds the place
   again; it goes with the next filter or search. */
.iil-row.is-marked[b-2teueo91e8] {
    box-shadow: inset 3px 0 0 var(--cx-primary);
}

/* The row the detail panel shows (Punkt 6, Hülle B): sand with the same bar, while the panel stays open. */
.iil-row.is-shown[b-2teueo91e8] {
    background: var(--sand);
    box-shadow: inset 3px 0 0 var(--cx-primary);
}

.iil-row-check[b-2teueo91e8] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 14px;
}

.iil-check[b-2teueo91e8] {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--cx-primary);
    cursor: pointer;
}

.iil-check:focus-visible[b-2teueo91e8] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
    border-radius: var(--cx-radius-control);
}

.iil-open[b-2teueo91e8] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 12px 8px 12px 12px;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.iil-open:focus-visible[b-2teueo91e8] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: inset 0 0 0 2px var(--cx-primary);
}

/* Line 1: the supplier gives way, the amount never. */
.iil-line1[b-2teueo91e8] {
    display: flex;
    align-items: baseline;
    gap: 16px;
    min-width: 0;
}

.iil-supplier[b-2teueo91e8] {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.iil-amount[b-2teueo91e8] {
    flex: none;
    white-space: nowrap;
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--fw-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--cx-text-primary);
}

/* Credit notes and cancellations lower the expense: minus sign and the colour of money coming back. A Gutschriftsverfahren
   is money coming in: the same colour with a plus. */
.iil-amount.is-reducing[b-2teueo91e8],
.iil-amount.is-income[b-2teueo91e8] {
    color: var(--cx-success);
}

/* Line 2 as in the mockup (tab B): document line with its chips right after the date, the status at the right. */
.iil-line2[b-2teueo91e8] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 8px;
    min-width: 0;
    overflow: hidden;
}

/* The document line gives way first (with an ellipsis, full text on hover), down to a minimum that keeps the number. */
.iil-doc[b-2teueo91e8] {
    order: 1;
    flex: 0 1000 auto;
    min-width: 6em;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--cx-text-secondary);
}

.iil-doc-text[b-2teueo91e8] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iil-source[b-2teueo91e8] {
    flex: none;
    font-size: 14px;
    line-height: 1;
    color: var(--cx-text-muted);
}

.iil-status[b-2teueo91e8] {
    order: 2;
    flex: 0 1 auto;
    min-width: 7em;
    max-width: 280px;
    margin-left: auto;
    padding-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 18px;
    font-weight: var(--fw-medium);
    text-align: right;
}

/* A waiting document is a state, not a call to action: the quiet grey of the mockup, like any other open state. */
.tone-attention[b-2teueo91e8] { color: var(--cx-text-muted); }
.tone-neutral[b-2teueo91e8] { color: var(--cx-text-muted); }
.tone-warning[b-2teueo91e8] { color: var(--cx-warning); }
.tone-info[b-2teueo91e8] { color: var(--cx-text-secondary); }
.tone-success[b-2teueo91e8] { color: var(--cx-success); }
.tone-danger[b-2teueo91e8] { color: var(--cx-danger); }

/* Then the chips: one that no longer fits drops whole onto a second line the height hides, so none is cut in half and none
   runs under the menu. The panel names them all. */
.iil-markers[b-2teueo91e8] {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    height: 20px;
    overflow: hidden;
    gap: 4px;
}

.iil-chip[b-2teueo91e8] {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: var(--cx-radius-control);
    font-size: 11.5px;
    font-weight: var(--fw-semibold);
    line-height: 1;
    white-space: nowrap;
}

.chip-info[b-2teueo91e8] { background: var(--info-50); color: var(--cx-info); }
.chip-success[b-2teueo91e8] { background: var(--success-50); color: var(--cx-success); }
.chip-warning[b-2teueo91e8] { background: var(--warning-50); color: var(--cx-warning); }
.chip-danger[b-2teueo91e8] { background: var(--danger-50); color: var(--cx-danger); }
.chip-neutral[b-2teueo91e8] { background: var(--paper-2); color: var(--cx-text-secondary); }
.iil-chip-more[b-2teueo91e8] { background: var(--paper-2); color: var(--cx-text-muted); }

/* The menu button keeps its place on every row; it shows on hover, focus, selection or while open. */
.iil-more[b-2teueo91e8] {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

.iil-more-btn[b-2teueo91e8] {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    cursor: pointer;
    opacity: 0;
    transition: opacity .12s var(--ease), background-color .12s var(--ease);
}

.iil-row:hover .iil-more-btn[b-2teueo91e8],
.iil-row:focus-within .iil-more-btn[b-2teueo91e8],
.iil-row.is-selected .iil-more-btn[b-2teueo91e8],
.iil-more-btn.is-open[b-2teueo91e8] {
    opacity: 1;
}

.iil-more-btn:hover[b-2teueo91e8],
.iil-more-btn.is-open[b-2teueo91e8] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary);
}

.iil-more-btn:focus-visible[b-2teueo91e8] {
    outline: none;
    opacity: 1;
    box-shadow: var(--cx-focus-ring);
}

@media (hover: none) {
    .iil-more-btn[b-2teueo91e8] { opacity: 1; }
}

/* An invisible layer under the menu closes it on a click anywhere else. */
.iil-menu-backdrop[b-2teueo91e8] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.iil-menu[b-2teueo91e8] {
    position: absolute;
    top: 40px;
    right: 6px;
    z-index: 21;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    padding: 4px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
}

.iil-menu-item[b-2teueo91e8] {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    font: inherit;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    color: var(--cx-text-primary);
    cursor: pointer;
}

/* The last rows of a longer list: above the button, so the menu does not reach the end of the scrolling column. */
.iil-menu.is-up[b-2teueo91e8] {
    top: auto;
    bottom: calc(100% - 8px);
}

.iil-menu-item:hover[b-2teueo91e8],
.iil-menu-item:focus-visible[b-2teueo91e8] {
    outline: none;
    background: var(--cx-hover-bg);
}

.iil-menu-item.is-danger[b-2teueo91e8] {
    color: var(--cx-danger);
}

.iil-menu-item.is-danger:hover[b-2teueo91e8],
.iil-menu-item.is-danger:focus-visible[b-2teueo91e8] {
    background: var(--danger-50);
}

/* Phone (S2): the supplier across the full width, then „Nr. · Datum“ without the type word, then the amount in bold with
   the status on the right, the markers last. The two lines give up their boxes so their parts can take these places. */
@media (max-width: 600px) {
    .iil-open[b-2teueo91e8] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "supplier supplier"
            "doc doc"
            "amount status"
            "markers markers";
        column-gap: 12px;
        row-gap: 2px;
        justify-content: stretch;
    }

    .iil-line1[b-2teueo91e8],
    .iil-line2[b-2teueo91e8] {
        display: contents;
    }

    .iil-supplier[b-2teueo91e8] { grid-area: supplier; }
    .iil-doc[b-2teueo91e8] { grid-area: doc; }
    .iil-doc-type[b-2teueo91e8] { display: none; }

    .iil-amount[b-2teueo91e8] {
        grid-area: amount;
        margin-top: 4px;
        font-weight: var(--fw-bold);
    }

    .iil-status[b-2teueo91e8] {
        grid-area: status;
        align-self: end;
        max-width: none;
        margin-left: 0;
        padding-left: 0;
    }

    .iil-markers[b-2teueo91e8] {
        grid-area: markers;
        margin-top: 4px;
        flex-wrap: wrap;
        height: auto;
        overflow: visible;
    }

    /* In the payment run „Zahlbetrag“ takes a line of its own under the row: beside it, the row kept about 110 px and the
       amount lay over the due date (BLIND-K4 M2). */
    .iil-row.has-pay[b-2teueo91e8] {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        grid-template-areas:
            "check open more"
            ". pay more";
        column-gap: 0;
    }

    .iil-row.has-pay > .iil-row-check[b-2teueo91e8] { grid-area: check; }
    .iil-row.has-pay > .iil-open[b-2teueo91e8] { grid-area: open; }
    .iil-row.has-pay > .iil-more[b-2teueo91e8] { grid-area: more; }

    /* The line takes room only with content: a row without a tick has none and no empty line under it (BLIND-K5 N3). The
       menu spans both lines, so Tab goes from the field to it, beside it. */
    .iil-row.has-pay > .iil-pay[b-2teueo91e8] {
        grid-area: pay;
        padding: 0 0 10px;
    }

    .iil-row.has-pay > .iil-pay:empty[b-2teueo91e8] {
        padding: 0;
    }

    .iil-row.has-pay > .iil-more[b-2teueo91e8] {
        align-self: start;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListRows.razor.rz.scp.css */
/* The list: a white surface without frame in the list column of the page (Hülle B „Ruhige Spalten“, 08.11.). The rows
   and the bulk bar read its width (container iil). No overflow: hidden, so the row menu may reach beyond it; the menu of the last rows opens upwards. */
.iil-card[b-wwfv6yp95r] {
    container: iil / inline-size;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--cx-card-bg);
}

.iil-top[b-wwfv6yp95r] {
    padding: 12px 16px 4px;
}

.iil-top:empty[b-wwfv6yp95r] {
    display: none;
}

/* Head row: page checkbox, then „Alle · n Belege“ or the bulk bar in the same height. Sticks to the top while the
   rows scroll under it. */
.iil-head[b-wwfv6yp95r] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 16px 0 0;
    border-bottom: 1px solid var(--cx-hairline);
    background: var(--cx-card-bg);
}

/* Stands over the row checkboxes (column of 40 px, box at its right edge) and beside the first line when the bulk
   bar takes two. */
.iil-head .iil-check-page[b-wwfv6yp95r] {
    align-self: flex-start;
    margin: 16px 0 0 24px;
}

.iil-head-label[b-wwfv6yp95r] {
    font-size: 12px;
    font-weight: var(--fw-regular);
    color: var(--cx-text-secondary);
}

.iil-head-count[b-wwfv6yp95r] {
    margin-left: auto;
    font-size: 13px;
    color: var(--cx-text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iil-head-bar[b-wwfv6yp95r] {
    flex: 1;
    min-width: 0;
    align-self: stretch;
    display: flex;
}

.iil-check[b-wwfv6yp95r] {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--cx-primary);
    cursor: pointer;
}

.iil-check:disabled[b-wwfv6yp95r] {
    cursor: default;
}

/* Some rows of the page ticked: the page checkbox shows a dash in CraftX colour. */
.iil-check.is-partial[b-wwfv6yp95r] {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--cx-primary);
    border-radius: var(--cx-radius-control);
    background: var(--cx-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.iil-check:focus-visible[b-wwfv6yp95r] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
    border-radius: var(--cx-radius-control);
}

.iil-list[b-wwfv6yp95r] {
    margin: 0;
    padding: 0;
    list-style: none;
    transition: opacity .15s var(--ease);
}

/* An earlier page stays visible, dimmed, until the new rows arrive: nothing jumps. */
.iil-list.is-busy[b-wwfv6yp95r] {
    opacity: .5;
    pointer-events: none;
}

/* Placeholder rows of the first load, as high as real rows. */
.iil-skeleton-row[b-wwfv6yp95r] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 64px;
    padding: 0 16px 0 12px;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.iil-skeleton-lines[b-wwfv6yp95r] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.iil-skeleton-right[b-wwfv6yp95r] {
    flex: none;
    align-items: flex-end;
    width: 120px;
}

.iil-skeleton-box[b-wwfv6yp95r] {
    display: block;
    height: 12px;
    border-radius: var(--cx-radius-control);
    background: linear-gradient(90deg, var(--paper-2) 0%, var(--sand) 50%, var(--paper-2) 100%);
    background-size: 200% 100%;
    animation: iil-shimmer-b-wwfv6yp95r 1.4s ease-in-out infinite;
}

.iil-skeleton-check[b-wwfv6yp95r] { width: 16px; height: 16px; flex: none; }
.iil-skeleton-l1[b-wwfv6yp95r] { width: 45%; height: 14px; }
.iil-skeleton-l2[b-wwfv6yp95r] { width: 65%; }
.iil-skeleton-amount[b-wwfv6yp95r] { width: 80px; height: 14px; }
.iil-skeleton-status[b-wwfv6yp95r] { width: 64px; }

.iil-skeleton-row:nth-child(3n + 2) .iil-skeleton-l1[b-wwfv6yp95r] { width: 35%; }
.iil-skeleton-row:nth-child(3n) .iil-skeleton-l1[b-wwfv6yp95r] { width: 55%; }

@keyframes iil-shimmer-b-wwfv6yp95r {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .iil-skeleton-box[b-wwfv6yp95r] { animation: none; }
}

/* Empty and error state: one sentence and its action, centred, in the height of a few rows. */
.iil-state[b-wwfv6yp95r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 192px;
    padding: 32px 24px;
    text-align: center;
}

.iil-state-text[b-wwfv6yp95r] {
    margin: 0;
    max-width: 44ch;
    font-size: 14px;
    line-height: 20px;
    color: var(--cx-text-secondary);
}

.iil-state-icon[b-wwfv6yp95r] {
    font-size: 20px;
    color: var(--cx-danger);
}

.iil-state-error .iil-state-text[b-wwfv6yp95r] {
    color: var(--cx-text-primary);
}

.iil-bottom:empty[b-wwfv6yp95r] {
    display: none;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListToolbar.razor.rz.scp.css */
/* Search and sort as the tool row of the list column, as in the mockup (tab B): the search a sand pill across the row,
   sort and direction 34 px. */
.iil-toolbar[b-1vr8lqiqy2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    min-width: 0;
}

.iil-search[b-1vr8lqiqy2] {
    position: relative;
    flex: 1 1 220px;
    min-width: 0;
}

.iil-search-icon[b-1vr8lqiqy2] {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--cx-text-muted);
    pointer-events: none;
}

/* The input is drawn by BufferedInput, hence ::deep. */
.iil-search[b-1vr8lqiqy2]  .iil-search-input {
    height: 34px;
    padding-left: 36px;
    padding-right: 36px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--sand);
    font-size: 13px;
}

.iil-search[b-1vr8lqiqy2]  .iil-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.iil-search-clear[b-1vr8lqiqy2] {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    font-size: 12px;
    color: var(--cx-text-muted);
    cursor: pointer;
}

.iil-search-clear:hover[b-1vr8lqiqy2] {
    background: var(--cx-hover-bg);
    color: var(--cx-text-primary);
}

.iil-search-clear:focus-visible[b-1vr8lqiqy2],
.iil-sort-dir:focus-visible[b-1vr8lqiqy2] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.iil-sort[b-1vr8lqiqy2] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.iil-sort-label[b-1vr8lqiqy2] {
    margin: 0;
    font-size: 13px;
    color: var(--cx-text-secondary);
    white-space: nowrap;
}

.iil-sort-select[b-1vr8lqiqy2] {
    width: auto;
    height: 34px;
    font-size: 13px;
}

.iil-sort-dir[b-1vr8lqiqy2] {
    flex: none;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    font-size: 14px;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.iil-sort-dir:hover[b-1vr8lqiqy2] {
    border-color: var(--cx-hairline-strong);
    color: var(--cx-primary);
}

@media (max-width: 759px) {
    .iil-search[b-1vr8lqiqy2] {
        flex-basis: 100%;
        max-width: none;
    }

    .iil-sort[b-1vr8lqiqy2] {
        margin-left: 0;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/IncomingListUploadButton.razor.rz.scp.css */
/* „+ Rechnung hochladen“ on top of the filter column: full copper across the column, 38 px as in the mockup. White on
   the copper is the app's main button (4.44:1, as everywhere in CraftX and in the mockup). */
.iiu-button[b-ftud95ctc9] {
    position: relative;
    overflow: hidden;
    justify-content: center;
    width: 100%;
    height: 38px;
    font-size: 13px;
    white-space: nowrap;
}

/* Flat like in the mockup: no copper glow. One class above the app's .btn.primary, its hover included. */
.btn.primary.iiu-button[b-ftud95ctc9] {
    box-shadow: none;
}

.btn.primary.iiu-button:hover[b-ftud95ctc9] {
    box-shadow: none;
}

/* The keyboard focus of the file input shows on the button, above the flat rule below. */
.btn.primary.iiu-button:focus-within[b-ftud95ctc9] {
    box-shadow: var(--cx-focus-ring);
}

.iiu-button.is-disabled[b-ftud95ctc9] {
    opacity: 0.6;
}

/* The file input lies over the button: a click on the button is a click on the input. */
[b-ftud95ctc9] .iiu-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

[b-ftud95ctc9] .iiu-input:disabled {
    cursor: progress;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/PaymentAmountCell.razor.rz.scp.css */
/* „Zahlbetrag“ in a row of the payment run, Variante A of the mockup (owner 17.11.): the field is always visible with its
   border, 36 px high with a mouse and 40 px with a finger; the line under it is right-aligned. */

.prc-box[b-14qung815z] {
    position: relative;
    display: block;
    margin-block: 4px;
}

.prc-edit[b-14qung815z]  .prc-in {
    display: block;
    width: 100%;
    height: 36px;
    padding: 0 26px 0 10px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    font: inherit;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
    cursor: text;
}

.prc-edit[b-14qung815z]  .prc-in:hover {
    border-color: var(--cx-text-secondary);
}

.prc-edit[b-14qung815z]  .prc-in:focus {
    outline: none;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

/* The euro sign stands in the field, beside the amount; it is not part of what is typed. */
.prc-cur[b-14qung815z] {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--cx-text-primary);
    font-weight: 600;
    pointer-events: none;
}

/* Taken: a short green wash over the field that changed (the cell script sets is-saved on the box for each amount taken). */
.prc-box.is-saved[b-14qung815z]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--cx-radius-control);
    pointer-events: none;
    animation: prc-saved-b-14qung815z 1.4s ease-out forwards;
}

/* Enter goes on to the next field: below 1000 px the bar „Weiter“ stands over the bottom of the list, the field is scrolled
   clear of it (BLIND-K5 N7). */
.prc-edit[b-14qung815z]  .prc-in {
    scroll-margin-bottom: 96px;
}

@keyframes prc-saved-b-14qung815z {
    0%, 35% { background: color-mix(in srgb, var(--cx-success) 20%, transparent); }
    100% { background: transparent; }
}

.prc-edit[b-14qung815z] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

/* Refused: the field keeps the text in the colour of a warning, the reason stands under it. */
.prc-edit[b-14qung815z]  .prc-in.is-refused {
    border-color: var(--cx-warning);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cx-warning) 18%, transparent);
}

.prc-note[b-14qung815z] {
    display: block;
    padding-right: 10px;
    color: var(--cx-text-secondary);
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
}

.prc-note.is-skonto[b-14qung815z] {
    color: var(--cx-success);
    font-weight: 600;
}

.prc-note.is-refused[b-14qung815z] {
    padding: 0 2px;
    color: var(--cx-text-primary);
    font-weight: 600;
    text-align: left;
}

@media (pointer: coarse) {
    .prc-edit[b-14qung815z]  .prc-in {
        height: 40px;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/PaymentRunPanel.razor.rz.scp.css */
/* Four connected tiles in the segment style of the review, the main button under them on the right. */
.prp[b-7s9vb7nnr2] {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prp-tiles[b-7s9vb7nnr2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    overflow: hidden;
}

.prp-tile[b-7s9vb7nnr2] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    border-left: 1px solid var(--cx-hairline);
    background: none;
    font: inherit;
    text-align: left;
    color: var(--cx-text-primary);
    cursor: pointer;
    transition: background-color .15s var(--ease);
}

.prp-tile:first-child[b-7s9vb7nnr2] {
    border-left: 0;
}

.prp-tile:hover:not(:disabled)[b-7s9vb7nnr2] {
    background: var(--cx-hover-bg);
}

.prp-tile:focus-visible[b-7s9vb7nnr2] {
    position: relative;
    outline: none;
    box-shadow: inset 0 0 0 2px var(--cx-primary);
}

.prp-tile[aria-pressed="true"][b-7s9vb7nnr2] {
    background: var(--cx-primary-soft);
    box-shadow: inset 0 -2px 0 var(--cx-primary);
}

.prp-tile[aria-pressed="true"] .prp-label[b-7s9vb7nnr2] {
    color: var(--cx-primary);
}

.prp-tile:disabled[b-7s9vb7nnr2] {
    cursor: default;
}

.prp-tile:disabled .prp-label[b-7s9vb7nnr2],
.prp-tile:disabled .prp-count[b-7s9vb7nnr2],
.prp-tile:disabled .prp-amount[b-7s9vb7nnr2] {
    color: var(--cx-text-muted);
}

.prp-label[b-7s9vb7nnr2],
.prp-count[b-7s9vb7nnr2],
.prp-amount[b-7s9vb7nnr2] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prp-label[b-7s9vb7nnr2] {
    font-size: 12px;
    font-weight: var(--fw-semibold);
    line-height: 16px;
    color: var(--cx-text-secondary);
}

.prp-count[b-7s9vb7nnr2] {
    font-size: 15px;
    font-weight: var(--fw-semibold);
    line-height: 20px;
    font-variant-numeric: tabular-nums;
}

.prp-amount[b-7s9vb7nnr2] {
    font-size: 13px;
    line-height: 18px;
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.prp-placeholder[b-7s9vb7nnr2] {
    display: block;
    width: 72px;
    height: 14px;
    margin: 3px 0;
    border-radius: var(--cx-radius-control);
    background: var(--sand);
}

.prp-amount.prp-placeholder[b-7s9vb7nnr2] {
    width: 56px;
    height: 12px;
}

/* A narrow list column: two rows of two tiles. */
@container (max-width: 520px) {
    .prp-tiles[b-7s9vb7nnr2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prp-tile:nth-child(3)[b-7s9vb7nnr2] {
        border-left: 0;
    }

    .prp-tile:nth-child(n + 3)[b-7s9vb7nnr2] {
        border-top: 1px solid var(--cx-hairline);
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/PaymentRunPayBar.razor.rz.scp.css */
/* The bar under the payment run (mockup Runde 3, .paybar): only below 1000 px of list area, where the summary column is
   gone. It stays at the bottom of the view while the list scrolls. */

.prb[b-pkoclnmwvk] {
    display: none;
    position: sticky;
    bottom: 0;
    z-index: 3;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--cx-hairline-strong);
    background: var(--cx-card-bg);
    box-shadow: var(--cx-shadow-sm);
}

@container iip (max-width: 999px) {
    .prb[b-pkoclnmwvk] {
        display: flex;
    }
}

.prb-s[b-pkoclnmwvk] {
    flex: 1;
    min-width: 0;
}

.prb-sum[b-pkoclnmwvk] {
    display: block;
    color: var(--cx-text-primary);
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.prb-line[b-pkoclnmwvk] {
    display: block;
    overflow: hidden;
    color: var(--cx-text-secondary);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prb-line .is-warning[b-pkoclnmwvk] {
    color: color-mix(in srgb, var(--cx-warning) 70%, var(--cx-text-primary));
    font-weight: 600;
}

.prb-go[b-pkoclnmwvk] {
    flex: none;
    min-height: 44px;
}

/* „Weiter“ in the colour of the main button it leads to: white on the dark copper (7,14:1), no shadow (BLIND-K1 N5). */
.prb .prb-go.primary[b-pkoclnmwvk] {
    border-color: var(--cx-primary-hover);
    background: var(--cx-primary-hover);
    box-shadow: none;
}

.prb .prb-go.primary:not(:disabled):hover[b-pkoclnmwvk] {
    background: var(--cx-primary-hover);
    box-shadow: none;
    filter: brightness(.92);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/PaymentRunReferenceField.razor.rz.scp.css */
/* One Verwendungszweck under „Weitere Optionen“: wrapped text that becomes a field on click, with a counter. */

.prr[b-6yvg3jxxhx] {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.prr-who[b-6yvg3jxxhx] {
    color: var(--cx-text-secondary);
    font-size: 12.5px;
}

.prr-text[b-6yvg3jxxhx] {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 2px -8px 0;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: var(--cx-radius-control);
    background: none;
    color: inherit;
    font: inherit;
    font-size: 13px;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: text;
}

.prr-text:hover[b-6yvg3jxxhx] {
    background: var(--cx-hover-bg);
}

.prr-text.is-long[b-6yvg3jxxhx] {
    background: color-mix(in srgb, var(--cx-warning) 12%, var(--cx-card-bg));
}

.prr[b-6yvg3jxxhx]  .prr-in {
    width: 100%;
    height: 36px;
    margin-top: 2px;
    padding: 0 8px;
    border: var(--cx-field-border);
    border-color: var(--cx-focus-border-color);
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
    font: inherit;
    font-size: 13px;
    outline: none;
}

.prr[b-6yvg3jxxhx]  .prr-in.is-refused {
    border-color: var(--cx-warning);
}

.prr-count[b-6yvg3jxxhx] {
    color: var(--cx-text-secondary);
    font-size: 11.5px;
    text-align: right;
}

.prr-count.is-warning[b-6yvg3jxxhx] {
    color: var(--cx-warning);
    font-weight: 600;
    text-align: left;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/IncomingList/PaymentRunSummary.razor.rz.scp.css */
/* The summary beside the payment run (mockup Runde 3): centred title and sum, fields of 36 px (40 px by finger), one
   blocker tinted without frame, the main button full width, quiet sections with a hairline. */

/* Text in the warning or success colour reaches 4.5:1 only darkened toward the text colour (BLIND-P8FIX-P9 M5); the light
   colours stay for tints, borders and icons beside text. */
.prs[b-opfix657d8] {
    --prs-warn-text: color-mix(in srgb, var(--cx-warning) 70%, var(--cx-text-primary));
    --prs-ok-text: color-mix(in srgb, var(--cx-success) 70%, var(--cx-text-primary));
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    color: var(--cx-text-primary);
}

.prs-title[b-opfix657d8] {
    color: var(--cx-text-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.prs-num[b-opfix657d8] {
    font-variant-numeric: tabular-nums;
}

.prs-sum[b-opfix657d8] {
    margin: 10px 0 14px;
    text-align: center;
}

.prs-big[b-opfix657d8] {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.prs-sub[b-opfix657d8] {
    margin-top: 2px;
    color: var(--cx-text-secondary);
    font-size: 13px;
}

.prs-sub.is-warning[b-opfix657d8],
.prs-hint.is-warning[b-opfix657d8] {
    color: var(--prs-warn-text);
    font-weight: 600;
}

.prs-field[b-opfix657d8] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.prs-field > label[b-opfix657d8],
.prs-label[b-opfix657d8] {
    font-size: 13px;
    font-weight: 600;
}

.prs-date[b-opfix657d8] {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: inherit;
    font: inherit;
}

.prs-date:focus[b-opfix657d8] {
    outline: none;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.prs-date.is-needed[b-opfix657d8] {
    border-color: var(--cx-warning);
}

[b-opfix657d8] .prs-seg.is-needed {
    outline: 1px solid var(--cx-warning);
}

.prs-hint[b-opfix657d8] {
    color: var(--cx-text-secondary);
    font-size: 12.5px;
}

.prs-center[b-opfix657d8] {
    margin: 6px 0 0;
    text-align: center;
}

.prs-link[b-opfix657d8] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.prs-link:hover[b-opfix657d8] {
    color: var(--cx-primary-hover);
}

.prs-blocker[b-opfix657d8] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 9px 10px;
    border-radius: var(--cx-radius-control);
    background: color-mix(in srgb, var(--cx-warning) 12%, var(--cx-card-bg));
    color: var(--cx-text-primary);
    font-size: 13px;
}

.prs-blocker > .bi[b-opfix657d8] {
    color: var(--prs-warn-text);
}

.prs-blocker ul[b-opfix657d8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prs-acts[b-opfix657d8] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.prs-acts .btn[b-opfix657d8] {
    min-height: 36px;
    font-size: 12.5px;
}

.prs-wide[b-opfix657d8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 44px;
    text-align: center;
}

/* The main button flat in the darker copper of the mockup (white on it ≥ 4.5:1), centred, without the copper shadow;
   locked in the soft copper with dark copper text, never by opacity. */
.prs .prs-main[b-opfix657d8] {
    justify-content: center;
    border-color: var(--cx-primary-hover);
    background: var(--cx-primary-hover);
    box-shadow: none;
}

.prs .prs-main:not([aria-disabled="true"]):hover[b-opfix657d8] {
    filter: brightness(.92);
}

.prs .prs-main[aria-disabled="true"][b-opfix657d8] {
    border-color: transparent;
    background: var(--cx-primary-light);
    color: var(--cx-primary-hover);
    cursor: not-allowed;
}

/* While an amount field holds text the server has not taken, the browser locks the button at once (payment-amount-cell.js
   sets data-cx-amount-open on the root and holds the click back); drawn like the locked button. */
html[data-cx-amount-open] .prs .prs-main[b-opfix657d8] {
    border-color: transparent;
    background: var(--cx-primary-light);
    color: var(--cx-primary-hover);
    cursor: not-allowed;
}

/* From a break of the connection until the summary is drawn anew from the server (K8, payment-amount-cell.js sets
   data-cx-run-stale on the root): the button is locked and the hint under it says why. */
html[data-cx-run-stale] .prs .prs-main[b-opfix657d8] {
    border-color: transparent;
    background: var(--cx-primary-light);
    color: var(--cx-primary-hover);
    cursor: not-allowed;
}

.prs .prs-stale[b-opfix657d8] {
    display: none;
}

html[data-cx-run-stale] .prs .prs-stale[b-opfix657d8] {
    display: block;
}

/* One hint at a time: after a break only the one above (BLIND-K9 F3). */
html[data-cx-run-stale] .prs .prs-connecting[b-opfix657d8],
html[data-cx-run-stale] .prs .prs-pending[b-opfix657d8],
html[data-cx-run-stale] .prs .prs-changed[b-opfix657d8] {
    display: none;
}

.prs-sec[b-opfix657d8] {
    margin-top: 18px;
}

.prs-sec h3[b-opfix657d8] {
    margin: 0 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--cx-hairline-strong);
    color: var(--cx-text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.prs-kv[b-opfix657d8] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    font-size: 13.5px;
}

.prs-kv > span:first-child[b-opfix657d8] {
    color: var(--cx-text-secondary);
}

.prs-v[b-opfix657d8] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.prs-v.is-skonto[b-opfix657d8] {
    color: var(--prs-ok-text);
}

/* „Je Rechnung“ (K7): who is paid, with the invoice number under the name, and the amount the run pays for it. */
.prs-line-who[b-opfix657d8] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.prs-line-name[b-opfix657d8] {
    overflow: hidden;
    color: var(--cx-text-primary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prs-line-ref[b-opfix657d8] {
    color: var(--cx-text-secondary);
    font-size: 12px;
}

.prs-kv.is-total[b-opfix657d8] {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--cx-hairline-soft);
}

.prs-kv.is-total > span:first-child[b-opfix657d8] {
    color: var(--cx-text-primary);
    font-weight: 700;
}

.prs-plus[b-opfix657d8] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.prs-plus:hover[b-opfix657d8] {
    color: var(--cx-primary-hover);
}

.prs-pcts[b-opfix657d8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.prs-opt[b-opfix657d8] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 44px;
    padding: 8px 0;
    cursor: pointer;
}

.prs-opt input[b-opfix657d8] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--cx-primary);
}

.prs-opt b[b-opfix657d8] {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
}

.prs-opt span span[b-opfix657d8] {
    color: var(--cx-text-secondary);
    font-size: 12.5px;
}

.prs-refs[b-opfix657d8] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.prs-back[b-opfix657d8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.prs-empty[b-opfix657d8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--cx-text-secondary);
    font-size: 13.5px;
    text-align: center;
}

.prs-empty .bi[b-opfix657d8] {
    font-size: 28px;
}

.prs-last[b-opfix657d8] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 9px 10px;
    border-radius: var(--cx-radius-control);
    background: color-mix(in srgb, var(--cx-success) 12%, var(--cx-card-bg));
    color: var(--prs-ok-text);
    font-size: 13px;
}

.prs-done[b-opfix657d8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.prs-done-icon[b-opfix657d8] {
    color: var(--prs-ok-text);
    font-size: 36px;
}

.prs-done-icon.is-nothing[b-opfix657d8] {
    color: var(--prs-warn-text);
}

.prs-done-title[b-opfix657d8] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.prs-done-text[b-opfix657d8] {
    margin: 0 0 6px;
    font-size: 13.5px;
    line-height: 1.5;
}

.prs-notes[b-opfix657d8] {
    margin: 0;
    padding: 8px 10px;
    border-radius: var(--cx-radius-control);
    background: color-mix(in srgb, var(--cx-warning) 12%, var(--cx-card-bg));
    color: var(--cx-text-primary);
    font-size: 12.5px;
    list-style: none;
    text-align: left;
}

@media (pointer: coarse) {
    .prs-date[b-opfix657d8] {
        height: 40px;
    }

    .prs-acts .btn[b-opfix657d8] {
        min-height: 40px;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/InvoiceApprovalHoldPanel.razor.rz.scp.css */
/*
 * Reservations standing in the way of releasing a document.
 *
 * Deliberately not an alert. An alert says "something is wrong"; this says "here is what is left to
 * do, and here is how". The ochre accent carries that: it is the palette's attention colour without
 * the finality of brick red, which in this product means an error the user cannot act on.
 *
 * The panel turns patina green once nothing is open, and resolved rows stay in place with a check —
 * the reviewer needs to see that the release button came alive for a reason they caused.
 */

.iah-panel[b-rhypnhm4vz] {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--paper-2);
    border: 1px solid var(--cx-hairline);
    border-left: 3px solid var(--cx-warning);
    border-radius: var(--cx-radius-surface);
}

.iah-panel.is-clear[b-rhypnhm4vz] {
    border-left-color: var(--cx-success);
    background: var(--paper);
}

/* Inside the hints bar the bar is the frame and the head: only the items remain. */
.iah-panel.is-embedded[b-rhypnhm4vz] {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

/* ── Header ─────────────────────────────────────────────────────────── */

.iah-head[b-rhypnhm4vz] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.iah-head > .bi[b-rhypnhm4vz] {
    font-size: 16px;
    color: var(--cx-warning);
    line-height: 1;
}

.iah-panel.is-clear .iah-head > .bi[b-rhypnhm4vz] {
    color: var(--cx-success);
}

.iah-title[b-rhypnhm4vz] {
    flex: 1 1 auto;
    font-size: 13.5px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.iah-count[b-rhypnhm4vz] {
    flex: 0 0 auto;
    padding: 2px 9px;
    border-radius: var(--cx-radius-round);
    background: color-mix(in srgb, var(--cx-warning) 16%, white);
    color: var(--cx-warning);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}

.iah-panel.is-clear .iah-count[b-rhypnhm4vz] {
    background: color-mix(in srgb, var(--cx-success) 14%, white);
    color: var(--cx-success);
}

/* ── Items ──────────────────────────────────────────────────────────── */

.iah-list[b-rhypnhm4vz] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iah-item[b-rhypnhm4vz] {
    display: flex;
    gap: 10px;
    padding: 11px 12px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline-soft);
    border-radius: var(--cx-radius-control);
}

.iah-item + .iah-item[b-rhypnhm4vz] {
    margin-top: 0;
}

.iah-marker[b-rhypnhm4vz] {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 14px;
    color: var(--cx-warning);
    line-height: 1.4;
}

.iah-item.is-resolved[b-rhypnhm4vz] {
    /* Present but quiet: it is a record now, not a task. */
    opacity: 0.62;
}

.iah-item.is-resolved .iah-marker[b-rhypnhm4vz] {
    color: var(--cx-success);
}

.iah-body[b-rhypnhm4vz] {
    flex: 1 1 auto;
    min-width: 0;
}

.iah-item-title[b-rhypnhm4vz] {
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    margin-bottom: 3px;
}

.iah-text[b-rhypnhm4vz] {
    margin: 0 0 5px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cx-text-secondary, var(--cx-text-primary));
}

.iah-text:last-child[b-rhypnhm4vz] {
    margin-bottom: 0;
}

.iah-muted[b-rhypnhm4vz] {
    color: var(--cx-text-muted);
}

.iah-done[b-rhypnhm4vz] {
    color: var(--cx-success);
}

/*
 * The address is the thing the reviewer is actually being asked to judge, so it is set apart and
 * kept selectable — people copy it to compare against a supplier record or a previous mail.
 */
.iah-email[b-rhypnhm4vz] {
    display: inline-block;
    padding: 1px 7px;
    border-radius: var(--cx-radius-control);
    background: var(--paper-2);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cx-text-primary);
    word-break: break-all;
    user-select: all;
}

/* ── Resolution affordances ─────────────────────────────────────────── */

.iah-actions[b-rhypnhm4vz] {
    margin-top: 8px;
}

.iah-btn[b-rhypnhm4vz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-warning);
    border-radius: var(--cx-radius-control);
    color: var(--cx-warning);
    font-size: 12.5px;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.iah-btn:hover:not(:disabled)[b-rhypnhm4vz] {
    background: var(--cx-warning);
    color: #fff;
}

.iah-btn:disabled[b-rhypnhm4vz] {
    opacity: 0.55;
    cursor: not-allowed;
}

.iah-btn:focus-visible[b-rhypnhm4vz] {
    outline: 2px solid var(--cx-warning);
    outline-offset: 2px;
}

.iah-check[b-rhypnhm4vz] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.iah-check input[b-rhypnhm4vz] {
    flex: 0 0 auto;
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: var(--cx-warning);
    cursor: pointer;
}

.iah-check input:disabled[b-rhypnhm4vz] {
    cursor: not-allowed;
}

/* ── Failure of the resolution itself ───────────────────────────────── */

.iah-error[b-rhypnhm4vz] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 12.5px;
    color: var(--cx-danger);
}

@media (max-width: 640px) {
    .iah-panel[b-rhypnhm4vz] {
        padding: 12px;
    }

    .iah-count[b-rhypnhm4vz] {
        display: none; /* the header text already says what is open */
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/InvoiceReviewDialog.razor.rz.scp.css */
/* InvoiceReviewDialog specific styles with CSS isolation. The shell itself lives in cx-finance.css with the .cap-* rules. */

/* Loading states styling */
.loading-overlay[b-vngnmr3hlh] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 10;
    backdrop-filter: blur(3px);
}

.loading-content[b-vngnmr3hlh] {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--paper);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-md, 0 5px 20px rgba(0, 0, 0, 0.08));
}

/* Skeleton loader */
.skeleton-loader[b-vngnmr3hlh] {
    width: 60px;
    height: 60px;
    border-radius: var(--cx-radius-round);
    background: linear-gradient(90deg, var(--paper-2) 25%, var(--cx-border) 50%, var(--paper-2) 75%);
    background-size: 200% 100%;
    animation: shimmer-b-vngnmr3hlh 1.5s infinite;
    margin: 0 auto;
}

@keyframes shimmer-b-vngnmr3hlh {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Content layout styling */
.validation-content[b-vngnmr3hlh] {
    width: 100%;
    height: 100%;
    background-color: var(--paper-2, var(--paper-2));
    overflow: hidden;
}

/* Main dialog content container - desktop layout */
.dialog-main-content[b-vngnmr3hlh] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--paper-2, var(--paper-2));
}

/* Splitter container for PDF and form panes */
.splitter-container[b-vngnmr3hlh] {
    flex: 1;
    min-height: 0; /* Important for proper flex behavior */
    overflow: hidden;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Review/InvoiceLineItemsGrid.razor.rz.scp.css */
.lig[b-oj14znxpi9] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.lig-tools[b-oj14znxpi9] {
    flex: none;
    display: flex;
    justify-content: flex-end;
    padding: 6px 12px 0;
}

.lig-link[b-oj14znxpi9] {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary);
    cursor: pointer;
}

.lig-link:hover[b-oj14znxpi9] {
    text-decoration: underline;
}

.lig-scroll[b-oj14znxpi9] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.lig-table[b-oj14znxpi9] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.lig-table th[b-oj14znxpi9] {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 32px;
    padding: 0 8px;
    background: var(--cx-card-bg);
    border-bottom: 1px solid var(--cx-hairline);
    font-size: 11.5px;
    font-weight: var(--fw-semibold);
    text-align: left;
    color: var(--cx-text-muted);
    white-space: nowrap;
}

.lig-table td[b-oj14znxpi9] {
    min-height: 40px;
    padding: 8px;
    border-bottom: 1px solid var(--cx-hairline-soft);
    vertical-align: top;
    color: var(--cx-text-primary);
}

.lig-pos[b-oj14znxpi9] { width: 44px; text-align: left; color: var(--cx-text-muted); }

/* The table starts on the edge of the bar above it (12 px), not 4 px left of it. */
.lig-table th:first-child[b-oj14znxpi9],
.lig-table td:first-child[b-oj14znxpi9] { padding-left: 12px; }
.lig-qty[b-oj14znxpi9] { width: 88px; }
.lig-unit[b-oj14znxpi9] { width: 96px; }
.lig-net[b-oj14znxpi9] { width: 104px; }
.lig-vat[b-oj14znxpi9] { width: 64px; }
.lig-act[b-oj14znxpi9] { width: 40px; padding-right: 4px; }

.lig-table .lig-num[b-oj14znxpi9] { text-align: right; }

.lig-text[b-oj14znxpi9] {
    font-weight: var(--fw-medium);
    overflow-wrap: anywhere;
}

.lig-sub[b-oj14znxpi9] {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    color: var(--cx-text-muted);
    overflow-wrap: anywhere;
}

.lig-tags[b-oj14znxpi9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.lig-tag[b-oj14znxpi9] {
    padding: 0 8px;
    border-radius: var(--cx-radius-control);
    background: var(--paper-2);
    font-size: 11.5px;
    line-height: 18px;
    color: var(--cx-text-secondary);
}

.lig-tag.is-action[b-oj14znxpi9] {
    background: var(--copper-50);
    color: var(--copper-dark);
}

/* The „…“ stands on the first line of its row: the button is taller than the line, so it reaches into the padding. */
.lig-more[b-oj14znxpi9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -7px 0;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.lig-more:hover[b-oj14znxpi9],
.lig-row.is-open .lig-more[b-oj14znxpi9] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary);
}

.lig-more:focus-visible[b-oj14znxpi9],
.lig-link:focus-visible[b-oj14znxpi9],
.lig-choice:focus-visible[b-oj14znxpi9] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.lig-menu-row td[b-oj14znxpi9] {
    padding: 4px 8px 8px;
    background: var(--paper-2);
}

.lig-menu[b-oj14znxpi9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.lig-menu-gap[b-oj14znxpi9] {
    width: 1px;
    height: 20px;
    margin: 0 4px;
    background: var(--cx-hairline);
}

.lig-choice[b-oj14znxpi9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    font: inherit;
    font-size: 12.5px;
    font-weight: var(--fw-medium);
    color: var(--cx-text-primary);
    cursor: pointer;
}

.lig-choice:hover[b-oj14znxpi9] {
    border-color: var(--cx-hairline-strong);
}

.lig-choice.is-on[b-oj14znxpi9] {
    border-color: var(--cx-primary);
    background: var(--copper-50);
    color: var(--copper-dark);
}

.lig-choice.is-danger[b-oj14znxpi9] {
    color: var(--cx-danger);
}

.lig-sum[b-oj14znxpi9] {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    min-height: 40px;
    padding: 6px 12px;
    background: var(--paper-2);
    border-top: 1px solid var(--cx-hairline);
    font-size: 13px;
}

.lig-sum-count[b-oj14znxpi9] {
    color: var(--cx-text-secondary);
}

.lig-sum-amounts[b-oj14znxpi9] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    margin-left: auto;
    font-weight: var(--fw-semibold);
    font-variant-numeric: tabular-nums;
}

.lig-sum-state.is-ok[b-oj14znxpi9] { color: var(--cx-success); }
.lig-sum-state.is-warn[b-oj14znxpi9] { color: var(--cx-warning); }

.lig-sum-diff[b-oj14znxpi9] {
    flex: 1 0 100%;
    text-align: right;
    font-size: 12px;
    color: var(--cx-warning);
}

.lig-empty[b-oj14znxpi9] {
    padding: 24px 16px;
    text-align: center;
    color: var(--cx-text-secondary);
}

.lig-empty .bi-list-ul[b-oj14znxpi9] {
    font-size: 28px;
    color: var(--cx-text-muted);
}

.lig-empty p[b-oj14znxpi9] {
    margin: 8px 0;
}

.lig-sr[b-oj14znxpi9] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Review/ReviewDocumentPane.razor.rz.scp.css */
/* Left panel layout for the document and the bar of the positions. */
.left-panel-container[b-bktrd1vm1y] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Let child elements manage their own scrolling */
}

/* The viewer scrolls inside itself, this box only gives it its height. */
.pdf-viewer-section.is-flash[b-bktrd1vm1y]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    box-shadow: inset 0 0 0 3px var(--cx-primary);
}

.pdf-viewer-section[b-bktrd1vm1y] {
    flex: 1 1 50%; /* Take up 50% of available space, can grow/shrink */
    display: flex;
    position: relative; /* Anchors the frame of a jump to the document */
    min-height: 250px; /* Ensure the document has minimum usable space */
    overflow: hidden;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Review/ReviewFormPane.razor.rz.scp.css */
.review-form-pane[b-8ckc5ojujj] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--cx-card-bg);
}

.form-pane-content[b-8ckc5ojujj] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding: 0 0 12px;
    background-color: var(--cx-card-bg);
}

.cap-form[b-8ckc5ojujj] {
    gap: 0;
    padding: 0;
}

/* White from top to bottom: the sections are told apart by their title and its hairline alone (mockup Prüfseite, Variante B). */
.cap-form[b-8ckc5ojujj]  .cap-section {
    gap: 0;
    padding: 0;
}

.cap-form[b-8ckc5ojujj]  .cap-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 20px 12px;
    font-size: 11px;
    font-weight: var(--fw-bold);
    line-height: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cx-text-secondary);
}

.cap-form[b-8ckc5ojujj]  .cap-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--cx-hairline);
}

.cap-form[b-8ckc5ojujj]  .cap-section:first-child .cap-title {
    margin-top: 18px;
}

.cap-form[b-8ckc5ojujj]  .cap-section > .cxf-grid {
    gap: 14px 16px;
    padding: 0 20px;
}

.cap-form[b-8ckc5ojujj]  .cxf {
    gap: 6px;
}

.cap-form[b-8ckc5ojujj]  .cxf-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
}

.cap-form[b-8ckc5ojujj]  .cxf-required {
    margin-left: 0;
    font-size: 12.5px;
    color: var(--cx-primary-hover);
}

.cxf-plus-group[b-8ckc5ojujj] {
    margin: 14px 20px 0;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

/* „Sonstiges“ has no category (o742): the „+“ lines follow the title, whose own space is enough. */
.cap-form[b-8ckc5ojujj]  .cap-title + .cxf-plus-group {
    margin-top: 0;
}

.cap-form[b-8ckc5ojujj]  .form-field {
    margin-bottom: 0;
}

/* Where a hint lands: the field style marks its controls, these two forms have none of those. */
.cap-form[b-8ckc5ojujj]  .cxf-sf.is-flash .e-input-group,
.cap-form[b-8ckc5ojujj]  .cxf.is-flash .cxf-seg {
    box-shadow: var(--cx-focus-ring);
}

/* S3: the content of a Syncfusion field stands in the middle of its height, like a plain field, and its arrow is the
   chevron of „Lieferant“ (bi-chevron-down, 12 px, muted) rather than the Syncfusion glyph. */
.cap-form[b-8ckc5ojujj]  .cxf-sf .e-input-group {
    display: flex;
    align-items: center;
}

.cap-form[b-8ckc5ojujj]  .cxf-sf .e-input-group input.e-input {
    height: 100%;
    min-height: 0;
    line-height: 20px;
}

.cap-form[b-8ckc5ojujj]  .cxf-sf .e-input-group .e-input-group-icon.e-ddl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.cap-form[b-8ckc5ojujj]  .cxf-sf .e-input-group .e-input-group-icon.e-ddl-icon::before {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 12px;
    line-height: 1;
    color: var(--cx-text-muted);
}

/* M5: a closed document has one read-only look. Every field is the beige of a disabled field, without an arrow, a
   calendar or a clear button; a chosen segment is a brown outline instead of the full orange, so nothing looks like an
   action. */
.is-readonly[b-8ckc5ojujj]  select.cxf-control:disabled {
    background-image: none;
    padding-right: 12px;
}

/* Nothing can be missing on a closed document. */
.is-readonly[b-8ckc5ojujj]  .cxf-required {
    display: none;
}

.is-readonly[b-8ckc5ojujj]  .cxf-sf .e-input-group,
.is-readonly[b-8ckc5ojujj]  .cxf-sf .e-input-group.e-disabled {
    border-color: var(--cx-hairline-soft) !important;
    background: var(--paper-2) !important;
}

.is-readonly[b-8ckc5ojujj]  .cxf-sf .e-input-group input.e-input,
.is-readonly[b-8ckc5ojujj]  .cxf-sf .e-input-group.e-disabled input.e-input {
    color: var(--cx-text-primary) !important;
    -webkit-text-fill-color: var(--cx-text-primary);
    background: transparent !important;
    opacity: 1;
}

.is-readonly[b-8ckc5ojujj]  .cxf-sf .e-input-group .e-input-group-icon,
.is-readonly[b-8ckc5ojujj]  .cxf-sf .e-input-group .e-clear-icon {
    display: none !important;
}

.is-readonly[b-8ckc5ojujj]  .cxf-seg {
    background: var(--paper-2);
}

.is-readonly[b-8ckc5ojujj]  .cxf-seg > button,
.is-readonly[b-8ckc5ojujj]  .cxf-seg > button:disabled {
    color: var(--cx-text-muted);
}

.is-readonly[b-8ckc5ojujj]  .cxf-seg > button[aria-pressed="true"],
.is-readonly[b-8ckc5ojujj]  .cxf-seg > button[aria-pressed="true"]:disabled {
    color: var(--cx-text-secondary);
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Review/ReviewHintsBar.razor.rz.scp.css */
/* A hint that asks nothing of the form: thin, tinted, no icon, no border. */
.rh-line[b-lbxsnnuz3b] {
    flex: none;
    margin: 0;
    padding: 9px 20px;
    background: color-mix(in srgb, var(--cx-warning) 10%, var(--cx-card-bg));
    font-size: 12.5px;
    line-height: 18px;
    color: var(--cx-text-secondary);
}

/* Stands open in the flow and scrolls inside the share the bar may take of the panel; the fold is one row of 40 px. */
.review-hints[b-lbxsnnuz3b] {
    flex: none;
    display: flex;
    flex-direction: column;
    max-height: 40%;
    min-height: 0;
    overflow-y: auto;
    background: var(--cx-card-bg);
    border-bottom: 1px solid var(--cx-hairline);
}

.review-hints > *[b-lbxsnnuz3b] {
    flex: none;
}

.review-hints > * + *[b-lbxsnnuz3b] {
    border-top: 1px solid var(--cx-hairline-soft);
}

.rh-row[b-lbxsnnuz3b] {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 13px;
    font-weight: var(--fw-medium);
    text-align: left;
    cursor: pointer;
}

.rh-row:hover[b-lbxsnnuz3b] {
    background: var(--paper-2);
}

.rh-row:focus-visible[b-lbxsnnuz3b] {
    outline: none;
    box-shadow: inset var(--cx-focus-ring);
}

.rh-icon[b-lbxsnnuz3b] {
    flex: none;
    font-size: 14px;
    line-height: 1;
    color: var(--cx-text-muted);
}

.rh-icon.is-done[b-lbxsnnuz3b] {
    color: var(--cx-success);
}

.rh-summary[b-lbxsnnuz3b] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rh-chevron[b-lbxsnnuz3b] {
    flex: none;
    font-size: 12px;
    color: var(--cx-text-muted);
}

.rh-holds[b-lbxsnnuz3b] {
    padding: 12px;
}

.rh-list[b-lbxsnnuz3b] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rh-entry + .rh-entry[b-lbxsnnuz3b] {
    border-top: 1px solid var(--cx-hairline-soft);
}

.rh-item[b-lbxsnnuz3b] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    background: none;
    color: var(--cx-text-primary);
    font: inherit;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
}

.rh-item.is-link[b-lbxsnnuz3b] {
    cursor: pointer;
}

.rh-item.is-link:hover[b-lbxsnnuz3b] {
    background: var(--paper-2);
}

.rh-item.is-link:hover .rh-go[b-lbxsnnuz3b] {
    text-decoration: underline;
}

.rh-item.is-link:focus-visible[b-lbxsnnuz3b] {
    outline: none;
    box-shadow: inset var(--cx-focus-ring);
}

.rh-mark[b-lbxsnnuz3b] {
    flex: none;
    font-size: 13px;
    color: var(--cx-warning);
}

.rh-mark.is-note[b-lbxsnnuz3b] {
    color: var(--cx-text-muted);
}

.rh-mark.is-done[b-lbxsnnuz3b] {
    color: var(--cx-success);
}

.rh-text[b-lbxsnnuz3b] {
    flex: 1 1 auto;
    min-width: 0;
}

.rh-go[b-lbxsnnuz3b] {
    flex: none;
    white-space: nowrap;
}

/* A settled hint stays as a record of what cleared it and no longer asks for anything. */
.rh-entry.is-resolved .rh-text[b-lbxsnnuz3b] {
    color: var(--cx-text-muted);
    text-decoration: line-through;
}

/* The line on a document nobody read: a plain paragraph, no button, no way to a field. */
.rh-not-read[b-lbxsnnuz3b] {
    margin: 0;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Review/ReviewLineItemsBar.razor.rz.scp.css */
/* The bar under the document: white with a hairline, closing on the same line as the footer of the form, a share of the left side
   open, so the document stays in view above it. */
.lib[b-rlrz0965hv] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--cx-card-bg);
    border-top: 1px solid var(--cx-hairline-strong);
    overflow: hidden;
}

.lib.is-expanded[b-rlrz0965hv] {
    flex: 0 0 min(45%, 360px);
}

.lib-head[b-rlrz0965hv] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 16px;
}

.lib.is-expanded .lib-head[b-rlrz0965hv] {
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.lib-toggle[b-rlrz0965hv] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: var(--cx-text-primary);
    cursor: pointer;
}

.lib-toggle:focus-visible[b-rlrz0965hv],
.lib-fix:focus-visible[b-rlrz0965hv] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring);
}

.lib-toggle > .bi[b-rlrz0965hv] {
    flex: none;
    width: 10px;
    font-size: 10px;
    color: var(--cx-text-secondary);
}

.lib-title[b-rlrz0965hv] {
    flex: none;
    font-size: 13px;
    font-weight: var(--fw-semibold);
}

.lib-status[b-rlrz0965hv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-left: auto;
    font-size: 13px;
    line-height: 18px;
    color: var(--cx-text-secondary);
}

.lib-status > span[b-rlrz0965hv] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lib-status.is-ok[b-rlrz0965hv] { color: var(--cx-success); }
.lib-status.is-warn[b-rlrz0965hv] { color: var(--cx-warning); }

.lib-fix[b-rlrz0965hv] {
    flex: none;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary);
    cursor: pointer;
}

.lib-fix:hover[b-rlrz0965hv] {
    text-decoration: underline;
}

.lib-body[b-rlrz0965hv] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* The source of the positions is a plain statement beside the title, without a mark. */
.lib-status.is-neutral > .bi[b-rlrz0965hv] {
    display: none;
}
/* _content/CraftX.Web/Components/InvoiceProcessing/Viewer/DocumentViewer.razor.rz.scp.css */
/* The document of the review: a toolbar beside it, the page on a calm surface, nothing floating over either. */
.dv-root[b-nsebp0vhiw] {
    flex: 1 1 auto;
    display: flex;
    min-width: 0;
    min-height: 0;
    background: var(--cx-desk);
}

/* ── Toolbar ────────────────────────────────────────────────────────── */

.dv-tools[b-nsebp0vhiw] {
    flex: none;
    width: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    background: var(--cx-desk);
    overflow-y: auto;
}

.dv-tool[b-nsebp0vhiw] {
    flex: none;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.dv-tool:hover:not(:disabled)[b-nsebp0vhiw] {
    background: var(--copper-50);
}

.dv-tool:disabled[b-nsebp0vhiw] {
    opacity: .4;
    cursor: default;
}

.dv-rule[b-nsebp0vhiw] {
    display: none;
}

.dv-pager[b-nsebp0vhiw] {
    flex: none;
    box-sizing: border-box;
    width: 34px;
    margin-top: 8px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
}

.dv-page-label[b-nsebp0vhiw] {
    display: inline-flex;
    font-size: 11px;
    line-height: 14px;
}

.dv-pager[hidden][b-nsebp0vhiw] {
    display: none;
}

.dv-page-step[b-nsebp0vhiw] {
    width: 30px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    font-size: 12px;
    cursor: pointer;
}

.dv-page-step:hover:not(:disabled)[b-nsebp0vhiw] {
    background: var(--copper-50);
}

.dv-page-step:disabled[b-nsebp0vhiw] {
    opacity: .4;
    cursor: default;
}

.dv-page-number[b-nsebp0vhiw] {
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.dv-page-count[b-nsebp0vhiw] {
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    white-space: nowrap;
}

/* ── Surface ────────────────────────────────────────────────────────── */

/* position: page numbers are read from offsetTop. The vertical bar is always there: one that comes and goes would change the
   fitted width, and with it whether the bar is needed. */
.dv-surface[b-nsebp0vhiw] {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 22px 68px 22px 6px;
    overflow-x: auto;
    overflow-y: scroll;
    background: var(--cx-desk);
}

/* „Automatisch gedreht“: one calm line above the first sheet, half of it in the padding of the surface, so the sheet
   moves down by a few pixels only. It scrolls away with the sheet. */
.dv-note[b-nsebp0vhiw] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: -12px 0 8px;
    font-size: 12px;
    line-height: 18px;
    color: var(--cx-text-secondary);
    cursor: default;
}

.dv-note > .ph[b-nsebp0vhiw] {
    flex: none;
    font-size: 14px;
}

.dv-root[data-state="failed"] .dv-note[b-nsebp0vhiw] {
    display: none;
}

/* max-content so a zoomed page widens the scrolling area instead of being cut off on the left. */
.dv-pages[b-nsebp0vhiw] {
    width: max-content;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.dv-skeleton[b-nsebp0vhiw] {
    display: none;
    width: min(100%, 900px);
    aspect-ratio: 210 / 297;
    margin: 0 auto;
    background: var(--paper-2);
    box-shadow: var(--shadow-sm);
}

.dv-root[data-state="loading"] .dv-skeleton[b-nsebp0vhiw] {
    display: block;
}

.dv-root[data-state="loading"]:not([data-placeholder]) .dv-pages[b-nsebp0vhiw] {
    display: none;
}

/* The small preview stands in for the document: once it is loaded it takes the place of the skeleton. */
.dv-root[data-state="loading"][data-placeholder] .dv-skeleton[b-nsebp0vhiw] {
    display: none;
}

.dv-fallback[b-nsebp0vhiw] {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 48px 24px;
    text-align: center;
    color: var(--cx-text-secondary);
}

.dv-root[data-state="failed"] .dv-fallback[b-nsebp0vhiw] {
    display: flex;
}

.dv-fallback > .bi[b-nsebp0vhiw] {
    font-size: 32px;
    color: var(--cx-text-muted);
}

.dv-fallback p[b-nsebp0vhiw] {
    margin: 0;
    font-size: 14px;
}

.dv-fallback-actions[b-nsebp0vhiw] {
    display: flex;
    gap: 16px;
}

/* ── Pages: drawn by document-viewer.js, so outside this component's scope ────────────── */

.dv-surface[b-nsebp0vhiw]  .dv-page {
    position: relative;
    flex: none;
    background: var(--paper-2);
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 1px 2px rgba(28, 25, 21, .10), 0 12px 32px rgba(28, 25, 21, .12);
    overflow: hidden;
}

.dv-surface[b-nsebp0vhiw]  .dv-page.is-drawn {
    background: #fff;
}

/* Stretched: during a zoom the old drawing stands in the new size until the new one is finished. */
.dv-surface[b-nsebp0vhiw]  .dv-page canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* The preview before the first page exists: a sheet as wide as the fitted page. Inside the first page it fills the page,
   so the drawing replaces it without a jump. Soft on purpose, it is 480 pixels wide. */
.dv-surface[b-nsebp0vhiw]  .dv-placeholder {
    display: block;
    flex: none;
    max-width: none;
    height: auto;
    background: #fff;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 1px 2px rgba(28, 25, 21, .10), 0 12px 32px rgba(28, 25, 21, .12);
}

.dv-surface[b-nsebp0vhiw]  .dv-page > .dv-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    box-shadow: none;
}

.dv-surface[b-nsebp0vhiw]  .dv-image {
    display: block;
    flex: none;
    max-width: none;
    height: auto;
    background: #fff;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 1px 2px rgba(28, 25, 21, .10), 0 12px 32px rgba(28, 25, 21, .12);
}

/* A photo shown turned („Drehen“): the file stays as it is, the picture is turned by quarter turns. The script gives the
   box the margins that make the surface as large as what is seen. */
.dv-surface[b-nsebp0vhiw]  .dv-image[data-turn="90"] {
    transform: rotate(90deg);
}

.dv-surface[b-nsebp0vhiw]  .dv-image[data-turn="180"] {
    transform: rotate(180deg);
}

.dv-surface[b-nsebp0vhiw]  .dv-image[data-turn="270"] {
    transform: rotate(270deg);
}

/* The text layer of pdf.js, from its web/pdf_viewer.css (4.10.38): invisible text over the canvas, for marking an IBAN. */
.dv-surface[b-nsebp0vhiw]  .textLayer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: clip;
    text-align: initial;
    line-height: 1;
    opacity: 1;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    forced-color-adjust: none;
    transform-origin: 0 0;
    caret-color: CanvasText;
}

.dv-surface[b-nsebp0vhiw]  .textLayer :is(span, br) {
    position: absolute;
    color: transparent;
    white-space: pre;
    cursor: text;
    transform-origin: 0% 0%;
}

.dv-surface[b-nsebp0vhiw]  .textLayer > :not(.markedContent),
.dv-surface[b-nsebp0vhiw]  .textLayer .markedContent span:not(.markedContent) {
    z-index: 1;
}

.dv-surface[b-nsebp0vhiw]  .textLayer span.markedContent {
    top: 0;
    height: 0;
}

.dv-surface[b-nsebp0vhiw]  .textLayer ::selection {
    background: rgba(0, 0, 255, .25);
}

.dv-surface[b-nsebp0vhiw]  .textLayer br::selection {
    background: transparent;
}

.dv-surface[b-nsebp0vhiw]  .textLayer .endOfContent {
    display: block;
    position: absolute;
    inset: 100% 0 0;
    z-index: 0;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

.dv-surface[b-nsebp0vhiw]  .textLayer.selecting .endOfContent {
    top: 0;
}

/* ── Phone: same width limit as the stacked dialog ────────────────────────── */

@media (max-width: 799.98px) {
    .dv-root[b-nsebp0vhiw] {
        flex-direction: column;
    }

    .dv-tools[b-nsebp0vhiw] {
        width: auto;
        flex-direction: row;
        padding: 8px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--cx-hairline);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .dv-pager[b-nsebp0vhiw] {
        width: auto;
        margin-top: 0;
        padding: 0 4px;
        flex-direction: row;
    }

    .dv-surface[b-nsebp0vhiw] {
        flex: 1 1 0;
        min-height: 0;
        padding: 12px;
    }

    .dv-note[b-nsebp0vhiw] {
        margin-top: -4px;
    }
}
/* _content/CraftX.Web/Components/InvoiceProcessing/VoucherReviewDialog.razor.rz.scp.css */
.voucher-review-dialog[b-95juhkuba0] {
    --bs-modal-padding: 0;
}

.voucher-review-dialog .e-dialog-content[b-95juhkuba0] {
    padding: 0;
    height: 100%;
}

.dialog-header[b-95juhkuba0] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--cx-border-color);
    background-color: var(--paper-2);
}

.splitter-container[b-95juhkuba0] {
    height: calc(100vh - 120px);
}

.voucher-review-splitter[b-95juhkuba0] {
    height: 100%;
}

.pdf-panel[b-95juhkuba0],
.form-panel[b-95juhkuba0] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-header[b-95juhkuba0] {
    padding: 1rem;
    border-bottom: 1px solid var(--cx-border-color);
    background-color: var(--paper);
}

.pdf-viewer-section[b-95juhkuba0] {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.form-content[b-95juhkuba0] {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.pdf-loading-overlay[b-95juhkuba0] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.skeleton-page[b-95juhkuba0] {
    width: 80%;
    height: 60%;
    background: linear-gradient(90deg, var(--paper-2) 25%, var(--cx-card-border) 50%, var(--paper-2) 75%);
    background-size: 200% 100%;
    animation: loading-b-95juhkuba0 1.5s infinite;
    border-radius: var(--cx-radius-surface);
}

.skeleton-loader[b-95juhkuba0] {
    width: 200px;
    height: 20px;
    background: linear-gradient(90deg, var(--paper-2) 25%, var(--cx-card-border) 50%, var(--paper-2) 75%);
    background-size: 200% 100%;
    animation: loading-b-95juhkuba0 1.5s infinite;
    border-radius: var(--cx-radius-control);
}

@keyframes loading-b-95juhkuba0 {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.loading-overlay[b-95juhkuba0] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.loading-content[b-95juhkuba0] {
    text-align: center;
}

.calculated-values[b-95juhkuba0] {
    background-color: var(--paper-2) !important;
    border: 1px solid var(--cx-card-border);
}

.calculated-values .fw-semibold[b-95juhkuba0] {
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .splitter-container[b-95juhkuba0] {
        height: calc(100vh - 100px);
    }
    
    .form-content[b-95juhkuba0] {
        max-height: calc(100vh - 180px);
    }
}

/* Form styling improvements */
.form-label[b-95juhkuba0] {
    font-weight: 600;
    color: var(--cx-label-color);
    margin-bottom: 0.5rem;
}

.form-label .text-danger[b-95juhkuba0] {
    font-weight: 400;
}

/* Button styling */
.btn-success[b-95juhkuba0] {
    background-color: var(--cx-success);
    border-color: var(--cx-success);
}

.btn-success:hover[b-95juhkuba0] {
    background-color: var(--cx-success);
    border-color: var(--cx-success);
    opacity: 0.9;
}

/* Badge styling */
.badge[b-95juhkuba0] {
    font-size: 0.75rem;
    font-weight: 500;
}

/* SyncFusion overrides */
.voucher-review-dialog .e-splitter .e-split-bar[b-95juhkuba0] {
    background-color: var(--cx-border-color);
}

.voucher-review-dialog .e-splitter .e-split-bar:hover[b-95juhkuba0] {
    background-color: var(--cx-primary);
}
/* _content/CraftX.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9bbx4omp1g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9bbx4omp1g] {
    flex: 1;
}
#blazor-error-ui[b-9bbx4omp1g] {
    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-9bbx4omp1g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/CraftX.Web/Components/Layout/MaintenanceBanner.razor.rz.scp.css */
.maintenance-banner[b-rccfvyeq4z] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 38px; /* must match --cx-maintenance-banner-h reserved by the shell */
    z-index: 12000; /* above the app bar, sidebar and Syncfusion dialogs */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 1.25rem;
    background: linear-gradient(90deg, #b45309 0%, #d97706 100%);
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    animation: maintenance-banner-slide-in-b-rccfvyeq4z 0.25s ease-out;
}

.maintenance-banner__icon[b-rccfvyeq4z] {
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.maintenance-banner__text[b-rccfvyeq4z] {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maintenance-banner__countdown[b-rccfvyeq4z] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    padding: 0.05rem 0.5rem;
    border-radius: var(--cx-radius-control);
    background: rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

@keyframes maintenance-banner-slide-in-b-rccfvyeq4z {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
/* _content/CraftX.Web/Components/Layout/SenderAccountBanner.razor.rz.scp.css */
/* Full-width notice above the page content while the tenant's own mailbox is unusable and mail
   falls back to the shared relay. Same shape as the trial banner, warning tone. */
.sender-banner[b-1fvbozhpx8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem 0;
    padding: 0.75rem 1.1rem;
    border-radius: var(--cx-radius-surface);
    border: 1px solid #f1b8bd;
    background: #fbe9eb;
    color: #7a1c26;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
}

.sender-banner__icon[b-1fvbozhpx8] {
    font-size: 1.15rem;
    flex: 0 0 auto;
    color: #b02a37;
}

.sender-banner__text[b-1fvbozhpx8] {
    flex: 1 1 auto;
    min-width: 0;
}

.sender-banner__action[b-1fvbozhpx8] {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
    background: #b02a37;
    color: #fff;
}

.sender-banner__action:hover[b-1fvbozhpx8] {
    background: #8f1f2b;
    color: #fff;
}

@media (max-width: 640px) {
    .sender-banner[b-1fvbozhpx8] {
        flex-wrap: wrap;
    }

    .sender-banner__action[b-1fvbozhpx8] {
        margin-left: auto;
    }
}
/* _content/CraftX.Web/Components/Layout/TrialStatusBanner.razor.rz.scp.css */
/* Full-width billing notice above the page content. Three tones: info (calm trial reminder,
   warm paper look matching the app), urgent (last trial days, amber), warning (failed payment). */
.trial-banner[b-626h28fkfi] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem 0;
    padding: 0.75rem 1.1rem;
    border-radius: var(--cx-radius-surface);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
}

.trial-banner__icon[b-626h28fkfi] {
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.trial-banner__text[b-626h28fkfi] {
    flex: 1 1 auto;
    min-width: 0;
}

.trial-banner__action[b-626h28fkfi] {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

@media (max-width: 640px) {
    .trial-banner[b-626h28fkfi] {
        flex-wrap: wrap;
    }

    .trial-banner__action[b-626h28fkfi] {
        margin-left: auto;
    }
}

/* Urgent — trial ending within a few days. */
.trial-banner--urgent[b-626h28fkfi] {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
}

.trial-banner--urgent .trial-banner__icon[b-626h28fkfi] {
    color: #b45309;
}

.trial-banner--urgent .trial-banner__action[b-626h28fkfi] {
    background: #b45309;
    color: #fff;
}

.trial-banner--urgent .trial-banner__action:hover[b-626h28fkfi] {
    background: #a04708;
}

/* Warning — payment failed, within the dunning grace window. */
.trial-banner--warning[b-626h28fkfi] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.trial-banner--warning .trial-banner__icon[b-626h28fkfi] {
    color: #b91c1c;
}

.trial-banner--warning .trial-banner__action[b-626h28fkfi] {
    background: #b91c1c;
    color: #fff;
}

.trial-banner--warning .trial-banner__action:hover[b-626h28fkfi] {
    background: #a11616;
}

/* Package — an operator prepared a package; friendly, not a warning. */
.trial-banner--package[b-626h28fkfi] {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}

.trial-banner--package .trial-banner__icon[b-626h28fkfi] {
    color: #047857;
}

.trial-banner--package .trial-banner__action[b-626h28fkfi] {
    background: #047857;
    color: #fff;
}

.trial-banner--package .trial-banner__action:hover[b-626h28fkfi] {
    background: #065f46;
}

.trial-banner__actions[b-626h28fkfi] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-left: auto;
}

/* #284: „2 Monate gratis“ beside the yearly price, and the split button with the other choices in its menu. */
.trial-banner__hint[b-626h28fkfi] {
    font-size: 0.8em;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: var(--cx-radius-control);
    background: rgba(255, 255, 255, .25);
    white-space: nowrap;
}

.trial-banner__split[b-626h28fkfi] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.trial-banner__more > summary[b-626h28fkfi] {
    list-style: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--cx-radius-surface);
}

.trial-banner__more > summary[b-626h28fkfi]::-webkit-details-marker {
    display: none;
}

.trial-banner__more[open] > summary[b-626h28fkfi] {
    background: rgba(0, 0, 0, .12);
}

.trial-banner__more-menu[b-626h28fkfi] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    min-width: 260px;
    max-width: min(420px, 90vw);
    padding: 4px 0;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-surface, #fff);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.trial-banner__more-item[b-626h28fkfi] {
    padding: 8px 12px;
    color: var(--cx-text, #1f2937);
    text-decoration: none;
    font-size: 0.9em;
}

.trial-banner__more-item + .trial-banner__more-item[b-626h28fkfi] {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.trial-banner__more-item:hover[b-626h28fkfi] {
    text-decoration: underline;
}
/* _content/CraftX.Web/Components/Pages/Admin/AccountingSettingsSection.razor.rz.scp.css */
.acc-question[b-ttv849e1f2] {
    padding: 14px 0;
    border-top: 1px solid var(--hairline);
}

.acc-question:first-child[b-ttv849e1f2] {
    border-top: 0;
    padding-top: 6px;
}

.acc-q[b-ttv849e1f2] {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    color: var(--ink);
}

.acc-hint[b-ttv849e1f2] {
    margin: 2px 0 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--stone);
}

.acc-cards[b-ttv849e1f2] {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.acc-card[b-ttv849e1f2] {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 0 0 1px transparent;
}

.acc-card.on[b-ttv849e1f2] {
    background: var(--copper-50);
    border-color: var(--copper);
    box-shadow: 0 0 0 1px var(--copper);
}

.acc-card-title[b-ttv849e1f2] {
    display: block;
    font-size: 14px;
    font-weight: 650;
    color: var(--ink);
}

.acc-card-text[b-ttv849e1f2] {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--stone);
}

.acc-segments[b-ttv849e1f2] {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.acc-segment[b-ttv849e1f2] {
    height: 36px;
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--cx-radius-control);
}

.acc-segment.on[b-ttv849e1f2] {
    color: #fff;
    background: var(--copper);
    border-color: var(--copper);
}

.acc-value[b-ttv849e1f2] {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--ink);
}

.acc-link[b-ttv849e1f2] {
    margin-left: 8px;
    padding: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--copper-dark);
    background: none;
    border: none;
}

.acc-link:hover[b-ttv849e1f2] {
    text-decoration: underline;
}

.acc-facts[b-ttv849e1f2] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
}

.acc-fact-label[b-ttv849e1f2] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--stone);
}

.acc-fact-value[b-ttv849e1f2] {
    font-size: 14px;
    color: var(--ink);
}

@media (max-width: 640px) {
    .acc-cards[b-ttv849e1f2] {
        flex-direction: column;
    }
}
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/AltdatenArchiv.razor.rz.scp.css */
.aa-page[b-tys65nfqft] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

/* ── header ── */
.aa-head[b-tys65nfqft] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.aa-head h1[b-tys65nfqft] {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    color: var(--cx-text, #1f2937);
}

.aa-head h1 i[b-tys65nfqft] { color: var(--copper, #b8601f); margin-right: .4rem; }

.aa-sub[b-tys65nfqft] { margin: .25rem 0 0; color: #6b7280; font-size: .9rem; }

.aa-total[b-tys65nfqft] {
    text-align: right;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-surface);
    padding: .5rem .9rem;
    min-width: 120px;
}

.aa-total b[b-tys65nfqft] { display: block; font-size: 1.4rem; color: var(--copper, #b8601f); line-height: 1.1; }
.aa-total span[b-tys65nfqft] { font-size: .72rem; color: #6b7280; text-transform: uppercase; letter-spacing: .03em; }

/* ── view toggle ── */
.aa-modes[b-tys65nfqft] {
    display: inline-flex;
    gap: .25rem;
    padding: .25rem;
    background: #f2efec;
    border-radius: var(--cx-radius-surface);
    margin-bottom: 1.1rem;
}
.aa-mode[b-tys65nfqft] {
    border: none;
    background: none;
    padding: .45rem .95rem;
    border-radius: var(--cx-radius-control);
    font-size: .88rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.aa-mode i[b-tys65nfqft] { margin-right: .35rem; }
.aa-mode:hover[b-tys65nfqft] { color: var(--copper, #b8601f); }
.aa-mode.on[b-tys65nfqft] { background: #fff; color: var(--copper, #b8601f); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* ── customer grid ── */
.aa-cust-grid[b-tys65nfqft] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: .6rem;
}
.aa-cust-card[b-tys65nfqft] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    text-align: left;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-surface);
    padding: .8rem .9rem;
    cursor: pointer;
    transition: border-color .12s, box-shadow .12s, transform .06s;
}
.aa-cust-card:hover[b-tys65nfqft] { border-color: var(--copper, #b8601f); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.aa-cust-card:active[b-tys65nfqft] { transform: translateY(1px); }

.aa-cust-top[b-tys65nfqft] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.aa-cust-name[b-tys65nfqft] { font-weight: 700; color: #1f2937; font-size: .96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.aa-cust-meta[b-tys65nfqft] { display: flex; flex-wrap: wrap; gap: .1rem .8rem; font-size: .8rem; color: #6b7280; }
.aa-cust-meta i[b-tys65nfqft] { margin-right: .2rem; color: #9ca3af; }

.aa-cust-foot[b-tys65nfqft] { display: flex; flex-wrap: wrap; gap: .1rem .8rem; font-size: .78rem; color: #6b7280; border-top: 1px solid #f2f2f2; padding-top: .4rem; margin-top: .15rem; }
.aa-cust-count[b-tys65nfqft] { font-weight: 600; color: #374151; }
.aa-cust-count i[b-tys65nfqft] { margin-right: .25rem; color: #9ca3af; }
.aa-cust-open[b-tys65nfqft] { color: var(--copper, #b8601f); font-weight: 600; }

/* ── customer detail ── */
.aa-back[b-tys65nfqft] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid #e2e2e2;
    background: #fff;
    border-radius: var(--cx-radius-control);
    padding: .4rem .8rem;
    font-size: .85rem;
    color: #374151;
    cursor: pointer;
    margin-bottom: .9rem;
}
.aa-back:hover[b-tys65nfqft] { border-color: var(--copper, #b8601f); color: var(--copper, #b8601f); }

.aa-vorg-h[b-tys65nfqft] {
    font-size: .9rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.1rem 0 .6rem;
}
.aa-vorg-h i[b-tys65nfqft] { color: var(--copper, #b8601f); margin-right: .35rem; }
.aa-vorg-h .aa-muted[b-tys65nfqft] { font-weight: 400; }

/* ── filters ── */
.aa-filters[b-tys65nfqft] {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    margin-bottom: 1.1rem;
}

.aa-search[b-tys65nfqft] {
    position: relative;
    flex: 1 1 320px;
    display: flex;
    align-items: center;
}

.aa-search i[b-tys65nfqft] { position: absolute; left: .75rem; color: #9ca3af; }

.aa-search input[b-tys65nfqft] {
    width: 100%;
    padding: .6rem .8rem .6rem 2.2rem;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    font-size: .92rem;
    background: #fff;
}

.aa-filters select[b-tys65nfqft] {
    padding: .6rem .7rem;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: #fff;
    font-size: .9rem;
    color: #374151;
}

.aa-search input:focus[b-tys65nfqft], .aa-filters select:focus[b-tys65nfqft] {
    outline: none;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.aa-clear[b-tys65nfqft] {
    border: none;
    background: none;
    color: #6b7280;
    font-size: .85rem;
    cursor: pointer;
    padding: .4rem .5rem;
}
.aa-clear:hover[b-tys65nfqft] { color: var(--copper, #b8601f); }

/* ── list ── */
.aa-list[b-tys65nfqft] { display: flex; flex-direction: column; gap: .55rem; }

.aa-card[b-tys65nfqft] {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    transition: border-color .12s, box-shadow .12s;
}
.aa-card:hover[b-tys65nfqft] { border-color: #dcdcdc; }
.aa-card.open[b-tys65nfqft] { border-color: var(--copper, #b8601f); box-shadow: 0 2px 12px rgba(0,0,0,.05); }

.aa-row[b-tys65nfqft] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1rem;
    cursor: pointer;
}
.aa-row:focus-visible[b-tys65nfqft] {
    outline: 2px solid var(--copper, #b8601f);
    outline-offset: -2px;
    border-radius: var(--cx-radius-control);
}

.aa-row-main[b-tys65nfqft] { flex: 1 1 auto; min-width: 0; }

.aa-row-top[b-tys65nfqft] { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.aa-num[b-tys65nfqft] { font-weight: 700; color: #1f2937; font-size: .95rem; }

.aa-party[b-tys65nfqft] { font-size: .9rem; color: #374151; margin-top: .15rem; }
.aa-title[b-tys65nfqft] { font-size: .82rem; color: #6b7280; margin-top: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }

.aa-row-side[b-tys65nfqft] { text-align: right; flex: 0 0 auto; }
.aa-date[b-tys65nfqft] { font-size: .8rem; color: #6b7280; }
.aa-amount[b-tys65nfqft] { font-weight: 600; color: #1f2937; font-size: .95rem; }
.aa-docs-badge[b-tys65nfqft] { font-size: .75rem; color: #9ca3af; margin-top: .1rem; }

.aa-chev[b-tys65nfqft] { color: #c0c0c0; font-size: .85rem; }

.aa-muted[b-tys65nfqft] { color: #9ca3af; font-weight: 400; }

/* ── pills ── */
.aa-pill[b-tys65nfqft] {
    font-size: .7rem;
    font-weight: 600;
    padding: .12rem .5rem;
    border-radius: var(--cx-radius-control);
    background: #f1f1f1;
    color: #555;
    white-space: nowrap;
}
.aa-mig[b-tys65nfqft] { background: rgba(63,125,91,.12); color: #2f6347; }

/* stage tints (by enum value) */
.aa-stage-2[b-tys65nfqft] { background: rgba(31,74,130,.12); color: #1f4a82; }   /* Quote */
.aa-stage-3[b-tys65nfqft] { background: rgba(63,125,91,.12); color: #2f6347; }   /* OrderConfirmed */
.aa-stage-4[b-tys65nfqft] { background: rgba(169,117,20,.14); color: #8a5e10; }  /* InProduction */
.aa-stage-5[b-tys65nfqft] { background: rgba(169,117,20,.14); color: #8a5e10; }  /* Delivered */
.aa-stage-6[b-tys65nfqft] { background: rgba(184,96,31,.14); color: #b8601f; }   /* PartiallyInvoiced */
.aa-stage-7[b-tys65nfqft] { background: rgba(63,125,91,.16); color: #2f6347; }   /* Invoiced */
.aa-stage-8[b-tys65nfqft] { background: rgba(91,75,138,.14); color: #5b4b8a; }   /* CreditNote */
.aa-stage-9[b-tys65nfqft] { background: #f1f1f1; color: #9ca3af; }               /* Lost */

/* ── customer rollup (the detail itself lives in LegacyVorgangDetail) ── */
.aa-stats[b-tys65nfqft] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.75rem;
    padding: .75rem .9rem;
    margin-bottom: .75rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-surface);
}
.aa-stat[b-tys65nfqft] { display: flex; flex-direction: column; }
.aa-stat-label[b-tys65nfqft] { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.aa-stat-value[b-tys65nfqft] { font-weight: 700; color: #1f2937; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.aa-stat-value.aa-open[b-tys65nfqft] { color: var(--copper, #b8601f); }
.aa-stat-sm[b-tys65nfqft] { font-size: .9rem; font-weight: 600; }
.aa-stat-link[b-tys65nfqft] {
    margin-left: auto;
    font-size: .82rem;
    color: var(--copper, #b8601f);
    text-decoration: none;
    white-space: nowrap;
}
.aa-stat-link:hover[b-tys65nfqft] { text-decoration: underline; }
.aa-takeover[b-tys65nfqft] {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .82rem; font-weight: 600; white-space: nowrap;
    color: #fff; background: var(--copper, #b8601f);
    border: 0; border-radius: var(--cx-radius-control); padding: .4rem .8rem; cursor: pointer;
}
.aa-takeover:hover[b-tys65nfqft] { filter: brightness(.95); }

.aa-stage-counts[b-tys65nfqft] { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }

.aa-tag[b-tys65nfqft] {
    font-size: .66rem;
    font-weight: 600;
    color: #fff;
    background: var(--tag, #9ca3af);
    padding: .1rem .4rem;
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
}

/* ── pager ── */
.aa-pager[b-tys65nfqft] { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.aa-pager button[b-tys65nfqft] {
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: var(--cx-radius-control);
    padding: .45rem .8rem;
    font-size: .85rem;
    cursor: pointer;
    color: #374151;
}
.aa-pager button:disabled[b-tys65nfqft] { opacity: .45; cursor: default; }
.aa-pager span[b-tys65nfqft] { font-size: .85rem; color: #6b7280; }

/* ── empty / loading ── */
.aa-empty[b-tys65nfqft] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 3rem 1rem;
    color: #9ca3af;
    text-align: center;
}
.aa-error[b-tys65nfqft] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #f3c2c2;
    border-radius: var(--cx-radius-surface);
    background: #fdecec;
    color: #b3261e;
    font-size: .9rem;
}

.aa-empty.sm[b-tys65nfqft] { padding: 1.25rem; }
.aa-empty i[b-tys65nfqft] { font-size: 1.8rem; }
.aa-empty small[b-tys65nfqft] { font-size: .8rem; }

.aa-spin[b-tys65nfqft] {
    width: 1rem; height: 1rem;
    border: 2px solid #ddd;
    border-top-color: var(--copper, #b8601f);
    border-radius: var(--cx-radius-round);
    display: inline-block;
    animation: aa-spin-b-tys65nfqft .7s linear infinite;
}
@keyframes aa-spin-b-tys65nfqft { to { transform: rotate(360deg); } }

/* ── lightbox ── */
.aa-overlay[b-tys65nfqft] {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 1080;
    padding: 2rem;
}
.aa-lightbox[b-tys65nfqft] {
    background: #fff;
    border-radius: var(--cx-radius-surface);
    width: min(900px, 95vw);
    height: min(90vh, 1100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.aa-lb-head[b-tys65nfqft] { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid #eee; }
.aa-lb-head .aa-muted[b-tys65nfqft] { font-size: .85rem; }
.aa-lb-head .aa-btn[b-tys65nfqft] { margin-left: auto; font-size: .8rem; color: #374151; text-decoration: none; border: 1px solid #d8d8d8; border-radius: var(--cx-radius-control); padding: .3rem .6rem; }
.aa-lb-head .aa-btn:hover[b-tys65nfqft] { border-color: var(--copper, #b8601f); color: var(--copper, #b8601f); }
.aa-x[b-tys65nfqft] { border: none; background: none; font-size: 1.5rem; line-height: 1; color: #9ca3af; cursor: pointer; }
.aa-x:hover[b-tys65nfqft] { color: #1f2937; }
.aa-lb-body[b-tys65nfqft] { flex: 1 1 auto; overflow: auto; background: #f6f5f4; display: flex; }
.aa-lb-body img[b-tys65nfqft] { max-width: 100%; margin: auto; }
.aa-lb-body iframe[b-tys65nfqft] { width: 100%; height: 100%; border: none; }

@media (max-width: 640px) {
    .aa-row-side[b-tys65nfqft] { display: none; }
    .aa-title[b-tys65nfqft] { max-width: 30ch; }
}
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/AltdatenMigration.razor.rz.scp.css */
/* Altdaten-Migration — custom, Syncfusion-free cockpit UI */

.am-page[b-nmv0af9kli] {
    padding: 24px 28px 48px;
    max-width: 1500px;
}

/* ── header ───────────────────────────────────────────── */
.am-head[b-nmv0af9kli] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.am-title[b-nmv0af9kli] {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cx-text-primary);
    margin: 0;
}
.am-subtitle[b-nmv0af9kli] {
    color: var(--cx-text-muted);
    font-size: 0.875rem;
    margin-top: 2px;
}
.am-head-actions[b-nmv0af9kli] { display: flex; gap: 8px; }

/* ── buttons ──────────────────────────────────────────── */
.am-btn[b-nmv0af9kli] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--cx-input-border);
    background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
    white-space: nowrap;
}
.am-btn:hover:not(:disabled)[b-nmv0af9kli] { background: var(--sand, #f3efe7); }
.am-btn:disabled[b-nmv0af9kli] { opacity: .5; cursor: default; }

.am-btn-primary[b-nmv0af9kli] {
    background: var(--cx-primary);
    border-color: var(--cx-primary);
    color: #fff;
}
.am-btn-primary:hover:not(:disabled)[b-nmv0af9kli] { background: var(--cx-primary-hover); }

.am-btn-success[b-nmv0af9kli] {
    background: var(--cx-success);
    border-color: var(--cx-success);
    color: #fff;
}
.am-btn-success:hover:not(:disabled)[b-nmv0af9kli] { filter: brightness(.94); background: var(--cx-success); }

.am-btn-ghost[b-nmv0af9kli] { background: transparent; border-color: transparent; color: var(--cx-text-secondary); }
.am-btn-ghost:hover:not(:disabled)[b-nmv0af9kli] { background: var(--sand, #f3efe7); }

.am-btn-sm[b-nmv0af9kli] { padding: 5px 10px; font-size: 0.78rem; }
.am-btn-lg[b-nmv0af9kli] { padding: 12px 22px; font-size: 0.98rem; font-weight: 600; }

/* get-started: numbered run-the-assistant steps */
.am-steps-list[b-nmv0af9kli] {
    text-align: left;
    max-width: 520px;
    margin: 4px auto 22px;
    padding-left: 22px;
    color: var(--cx-text-secondary);
    line-height: 1.7;
}
.am-steps-list li[b-nmv0af9kli] { margin-bottom: 4px; }
.am-steps-list b[b-nmv0af9kli] { color: var(--cx-text-primary); }

/* active state for the per-row decision buttons */
.am-btn-on-success[b-nmv0af9kli] { background: var(--success-50); border-color: var(--cx-success); color: var(--cx-success); }
.am-btn-on-primary[b-nmv0af9kli] { background: var(--cx-primary-soft); border-color: var(--cx-primary); color: var(--cx-primary); }
.am-btn-on-muted[b-nmv0af9kli]   { background: rgba(28,25,21,.06); border-color: var(--cx-text-muted); color: var(--cx-text-secondary); }

/* ── tabs ─────────────────────────────────────────────── */
.am-tabs[b-nmv0af9kli] {
    display: inline-flex;
    gap: 4px;
    background: rgba(28,25,21,.05);
    padding: 4px;
    border-radius: var(--cx-radius-control);
    margin-bottom: 18px;
}
.am-tab[b-nmv0af9kli] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: background .12s, color .12s, box-shadow .12s;
}
.am-tab:hover[b-nmv0af9kli] { color: var(--cx-text-primary); }
.am-tab.active[b-nmv0af9kli] {
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    box-shadow: var(--cx-shadow-sm, 0 1px 2px rgba(0,0,0,.06));
}
.am-tab-count[b-nmv0af9kli] {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(28,25,21,.10);
    color: var(--cx-text-secondary);
    padding: 1px 8px;
    border-radius: var(--cx-radius-round);
}
.am-tab.active .am-tab-count[b-nmv0af9kli] { background: var(--cx-primary-soft); color: var(--cx-primary); }

/* ── toolbar (per tab) ────────────────────────────────── */
.am-toolbar[b-nmv0af9kli] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.am-hint[b-nmv0af9kli] { color: var(--cx-text-muted); font-size: 0.82rem; max-width: 640px; }
.am-toolbar-actions[b-nmv0af9kli] { display: flex; gap: 8px; align-items: center; }

/* status summary chips */
.am-summary[b-nmv0af9kli] { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.am-sum-chip[b-nmv0af9kli] {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 600;
    padding: 4px 10px; border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg); border: 1px solid var(--cx-hairline);
    color: var(--cx-text-secondary);
}
.am-sum-dot[b-nmv0af9kli] { width: 8px; height: 8px; border-radius: var(--cx-radius-round); }

/* ── card / table ─────────────────────────────────────── */
.am-card[b-nmv0af9kli] {
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-sm, 0 1px 2px rgba(0,0,0,.05));
    /* Safety net: a table wider than the viewport scrolls horizontally inside the card
       instead of being silently clipped (the right-hand action columns used to be cut off). */
    overflow-x: auto;
    overflow-y: hidden;
}
.am-table[b-nmv0af9kli] { width: 100%; border-collapse: collapse; }
/* The Vorgänge table carries many columns; keep it readable but let it scroll on
   narrow viewports rather than clip. */
.am-table-expand[b-nmv0af9kli] { min-width: 920px; }
.am-table thead th[b-nmv0af9kli] {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cx-text-muted);
    padding: 12px 16px;
    background: var(--cx-content-bg);
    border-bottom: 1px solid var(--cx-hairline);
    white-space: nowrap;
}
.am-table tbody td[b-nmv0af9kli] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--cx-hairline-soft);
    font-size: 0.875rem;
    color: var(--cx-text-primary);
    vertical-align: middle;
}
.am-table tbody tr:last-child td[b-nmv0af9kli] { border-bottom: none; }
.am-table tbody tr:hover[b-nmv0af9kli] { background: rgba(28,25,21,.02); }

.am-num[b-nmv0af9kli] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.am-th-right[b-nmv0af9kli] { text-align: right; }
.am-muted[b-nmv0af9kli] { color: var(--cx-text-muted); }
.am-name[b-nmv0af9kli] { font-weight: 600; color: var(--cx-text-primary); }
.am-meta[b-nmv0af9kli] { font-size: 0.78rem; color: var(--cx-text-muted); margin-top: 2px; }

.am-title-cell[b-nmv0af9kli] {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── pills ────────────────────────────────────────────── */
.am-pill[b-nmv0af9kli] {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.74rem; font-weight: 700;
    padding: 3px 10px; border-radius: var(--cx-radius-control);
    white-space: nowrap;
}
.am-pill-success[b-nmv0af9kli] { background: var(--success-50); color: var(--cx-success); }
.am-pill-info[b-nmv0af9kli]    { background: var(--info-50);    color: var(--cx-info); }
.am-pill-warning[b-nmv0af9kli] { background: var(--warning-50); color: var(--cx-warning); }
.am-pill-primary[b-nmv0af9kli] { background: var(--cx-primary-soft); color: var(--cx-primary); }
.am-pill-muted[b-nmv0af9kli]   { background: rgba(28,25,21,.06); color: var(--cx-text-secondary); }
.am-pill-neutral[b-nmv0af9kli] { background: var(--cx-content-bg); color: var(--cx-text-secondary); border: 1px solid var(--cx-hairline); }

/* match suggestion cell */
.am-suggest[b-nmv0af9kli] { display: flex; align-items: center; gap: 8px; }
.am-conf[b-nmv0af9kli] {
    font-size: 0.72rem; font-weight: 700;
    color: var(--cx-text-muted);
    background: rgba(28,25,21,.05);
    padding: 1px 7px; border-radius: var(--cx-radius-control);
}

/* row action group */
.am-actions[b-nmv0af9kli] { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }

/* segmented decision toggle (Vorgänge) */
.am-seg[b-nmv0af9kli] {
    display: inline-flex;
    border: 1px solid var(--cx-input-border);
    border-radius: var(--cx-radius-control);
    overflow: hidden;
}
.am-seg button[b-nmv0af9kli] {
    border: none; background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font-size: 0.78rem; font-weight: 600;
    padding: 5px 12px; cursor: pointer;
    transition: background .12s, color .12s;
}
.am-seg button + button[b-nmv0af9kli] { border-left: 1px solid var(--cx-input-border); }
.am-seg button:hover[b-nmv0af9kli] { background: var(--sand, #f3efe7); }
.am-seg button.on-yes[b-nmv0af9kli] { background: var(--success-50); color: var(--cx-success); }
.am-seg button.on-no[b-nmv0af9kli]  { background: rgba(28,25,21,.07); color: var(--cx-text-primary); }
/* Compact icon-only variant for dense tables (Vorgänge decision column) — saves the
   horizontal space the "Übernehmen / Nicht" text labels used to take. */
.am-seg-icon button[b-nmv0af9kli] { padding: 5px 11px; font-size: 0.95rem; line-height: 1; }
.am-seg-icon button i[b-nmv0af9kli] { display: block; }

/* ── state blocks ─────────────────────────────────────── */
.am-banner[b-nmv0af9kli] {
    display: flex; align-items: center; gap: 10px;
    background: var(--info-50); color: var(--cx-info);
    border: 1px solid color-mix(in srgb, var(--cx-info) 20%, transparent);
    border-radius: var(--cx-radius-surface); padding: 12px 16px; margin-bottom: 16px;
    font-size: 0.875rem; font-weight: 500;
}
.am-banner-ok[b-nmv0af9kli] {
    background: var(--success-50, #ecfdf3); color: var(--cx-success, #157347);
    border-color: color-mix(in srgb, var(--cx-success, #157347) 22%, transparent);
}
.am-banner-error[b-nmv0af9kli] {
    background: var(--danger-50, #fef3f2); color: var(--cx-danger, #b42318);
    border-color: color-mix(in srgb, var(--cx-danger, #b42318) 22%, transparent);
}
.am-btn-danger[b-nmv0af9kli] {
    background: var(--cx-danger, #b42318); border-color: var(--cx-danger, #b42318); color: #fff;
}
.am-btn-danger:hover:not(:disabled)[b-nmv0af9kli] { filter: brightness(.94); }
.am-warn-box[b-nmv0af9kli] {
    background: var(--danger-50, #fef3f2); color: var(--cx-danger, #b42318);
    border: 1px solid color-mix(in srgb, var(--cx-danger, #b42318) 22%, transparent);
    border-radius: var(--cx-radius-surface); padding: 10px 12px; font-size: 0.85rem; margin-top: 10px;
}
.am-spinner[b-nmv0af9kli] {
    width: 16px; height: 16px; border-radius: var(--cx-radius-round);
    border: 2px solid currentColor; border-right-color: transparent;
    animation: am-spin-b-nmv0af9kli .7s linear infinite;
}
@keyframes am-spin-b-nmv0af9kli { to { transform: rotate(360deg); } }
.am-empty[b-nmv0af9kli] { padding: 48px; text-align: center; color: var(--cx-text-muted); }

/* ── modal ────────────────────────────────────────────── */
.am-overlay[b-nmv0af9kli] {
    position: fixed; inset: 0;
    background: rgba(28,25,21,.45);
    display: flex; align-items: center; justify-content: center;
    z-index: 1080; padding: 24px;
}
.am-modal[b-nmv0af9kli] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-md, 0 12px 40px rgba(0,0,0,.18));
    width: 100%; max-width: 480px;
    display: flex; flex-direction: column;
    max-height: 86vh;
}
.am-modal.am-modal-lg[b-nmv0af9kli] { max-width: 760px; }
.am-modal-head[b-nmv0af9kli] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--cx-hairline);
}
.am-modal-head h4[b-nmv0af9kli] { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--cx-text-primary); }
.am-modal-body[b-nmv0af9kli] { padding: 20px; overflow: auto; }
.am-modal-foot[b-nmv0af9kli] {
    display: flex; justify-content: flex-end; gap: 8px;
    padding: 16px 20px; border-top: 1px solid var(--cx-hairline);
}
.am-x[b-nmv0af9kli] {
    border: none; background: transparent; cursor: pointer;
    color: var(--cx-text-muted); font-size: 1.2rem; line-height: 1;
    width: 30px; height: 30px; border-radius: var(--cx-radius-control);
}
.am-x:hover[b-nmv0af9kli] { background: var(--sand, #f3efe7); color: var(--cx-text-primary); }

/* customer picker */
.am-search[b-nmv0af9kli] {
    width: 100%;
    border: 1px solid var(--cx-input-border);
    border-radius: var(--cx-radius-control);
    padding: 9px 12px;
    font-size: 0.9rem;
    color: var(--cx-text-primary);
    background: var(--cx-card-bg);
}
.am-search:focus[b-nmv0af9kli] { outline: none; border-color: var(--cx-primary); box-shadow: var(--cx-focus-ring); }
.am-picker-list[b-nmv0af9kli] {
    margin-top: 8px;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    max-height: 280px; overflow: auto;
}
.am-picker-item[b-nmv0af9kli] {
    display: block; width: 100%; text-align: left;
    border: none; background: transparent; cursor: pointer;
    padding: 9px 12px; font-size: 0.875rem; color: var(--cx-text-primary);
    border-bottom: 1px solid var(--cx-hairline-soft);
}
.am-picker-item:last-child[b-nmv0af9kli] { border-bottom: none; }
.am-picker-item:hover[b-nmv0af9kli] { background: var(--sand, #f3efe7); }
.am-picker-item.selected[b-nmv0af9kli] { background: var(--cx-primary-soft); color: var(--cx-primary); font-weight: 600; }

/* ── stepper ───────────────────────────────────────────── */
.am-steps[b-nmv0af9kli] {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 2px 0 24px;
    padding: 14px 18px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-sm, 0 1px 2px rgba(0,0,0,.05));
}
.am-step[b-nmv0af9kli] { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.am-step-num[b-nmv0af9kli] {
    width: 28px; height: 28px; border-radius: var(--cx-radius-round);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem;
    background: var(--cx-content-bg); color: var(--cx-text-muted);
    border: 1.5px solid var(--cx-hairline); flex: none;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.am-step-lbl[b-nmv0af9kli] { font-size: 0.86rem; font-weight: 600; color: var(--cx-text-muted); white-space: nowrap; }
.am-step.done .am-step-num[b-nmv0af9kli] { background: var(--cx-success); border-color: var(--cx-success); color: #fff; }
.am-step.done .am-step-lbl[b-nmv0af9kli] { color: var(--cx-text-secondary); }
.am-step.active .am-step-num[b-nmv0af9kli] { background: var(--cx-primary); border-color: var(--cx-primary); color: #fff; box-shadow: 0 0 0 4px var(--cx-primary-soft); }
.am-step.active .am-step-lbl[b-nmv0af9kli] { color: var(--cx-text-primary); }
.am-step-con[b-nmv0af9kli] { flex: 1; height: 2px; min-width: 24px; margin: 0 14px; background: var(--cx-hairline); border-radius: var(--cx-radius-control); transition: background .15s; }
.am-step-con.done[b-nmv0af9kli] { background: var(--cx-success); }

/* ── hero (pre-analysis) ──────────────────────────────── */
.am-hero[b-nmv0af9kli] {
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-sm, 0 1px 2px rgba(0,0,0,.05));
    padding: 40px;
    max-width: 720px;
    margin: 8px auto;
    text-align: center;
}
.am-hero-icon[b-nmv0af9kli] {
    width: 60px; height: 60px; border-radius: var(--cx-radius-control);
    background: var(--cx-primary-soft); color: var(--cx-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.7rem; margin-bottom: 18px;
}
.am-hero h2[b-nmv0af9kli] { font-size: 1.3rem; font-weight: 700; margin: 0 0 10px; color: var(--cx-text-primary); }
.am-hero p[b-nmv0af9kli] { color: var(--cx-text-secondary); font-size: 0.92rem; line-height: 1.6; margin: 0 auto 24px; max-width: 560px; }
.am-hero-counts[b-nmv0af9kli] { display: flex; gap: 14px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.am-hero-count[b-nmv0af9kli] {
    background: var(--cx-content-bg); border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface); padding: 14px 26px; min-width: 110px;
}
.am-hero-count b[b-nmv0af9kli] { display: block; font-size: 1.6rem; font-weight: 700; color: var(--cx-text-primary); line-height: 1; }
.am-hero-count span[b-nmv0af9kli] { font-size: 0.76rem; color: var(--cx-text-muted); }
.am-hero .am-btn-primary[b-nmv0af9kli] { font-size: 0.95rem; padding: 11px 24px; }
.am-reassure[b-nmv0af9kli] { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.am-reassure span[b-nmv0af9kli] { font-size: 0.78rem; color: var(--cx-text-muted); display: inline-flex; align-items: center; gap: 6px; }
.am-reassure i[b-nmv0af9kli] { color: var(--cx-success); }

/* ── guide / next-step banners ────────────────────────── */
.am-guide[b-nmv0af9kli] {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--info-50); color: var(--cx-text-secondary);
    border: 1px solid color-mix(in srgb, var(--cx-info) 18%, transparent);
    border-radius: var(--cx-radius-surface); padding: 11px 15px; margin-bottom: 14px;
    font-size: 0.84rem; line-height: 1.5;
}
.am-guide i[b-nmv0af9kli] { color: var(--cx-info); margin-top: 1px; flex: none; }
.am-guide b[b-nmv0af9kli] { color: var(--cx-text-primary); }

.am-nextbar[b-nmv0af9kli] {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 16px; padding: 14px 18px;
    background: var(--success-50);
    border: 1px solid color-mix(in srgb, var(--cx-success) 24%, transparent);
    border-radius: var(--cx-radius-surface);
}
.am-nextbar-text[b-nmv0af9kli] { font-size: 0.88rem; color: var(--cx-text-primary); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.am-nextbar-text i[b-nmv0af9kli] { color: var(--cx-success); }

/* report summary tiles */
.am-report-tiles[b-nmv0af9kli] { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.am-tile[b-nmv0af9kli] {
    flex: 1; min-width: 120px;
    border: 1px solid var(--cx-hairline); border-radius: var(--cx-radius-surface);
    padding: 12px 14px; text-align: center;
}
.am-tile-num[b-nmv0af9kli] { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.am-tile-lbl[b-nmv0af9kli] { font-size: 0.74rem; color: var(--cx-text-muted); margin-top: 4px; }

/* ── warning variant of the guide banner ──────────────── */
.am-guide-warn[b-nmv0af9kli] {
    background: var(--warning-50);
    border-color: color-mix(in srgb, var(--cx-warning) 26%, transparent);
    align-items: center;
}
.am-guide-warn i[b-nmv0af9kli] { color: var(--cx-warning); }
.am-guide-warn .am-btn[b-nmv0af9kli] { margin-left: auto; flex: none; white-space: nowrap; }

/* ── expandable Vorgänge table ─────────────────────────── */
.am-th-expand[b-nmv0af9kli] { width: 36px; }
.am-expand-cell[b-nmv0af9kli] { width: 36px; text-align: center; }
.am-expand[b-nmv0af9kli] {
    border: none; background: transparent; cursor: pointer;
    color: var(--cx-text-muted); width: 26px; height: 26px;
    border-radius: var(--cx-radius-control); display: inline-flex; align-items: center; justify-content: center;
    transition: background .12s, color .12s;
}
.am-expand:hover:not(:disabled)[b-nmv0af9kli] { background: var(--sand, #f3efe7); color: var(--cx-text-primary); }
.am-expand:disabled[b-nmv0af9kli] { opacity: .3; cursor: default; }
.am-table-expand tbody tr.am-row-open[b-nmv0af9kli] { background: var(--cx-content-bg); }
.am-table-expand tbody tr.am-row-open:hover[b-nmv0af9kli] { background: var(--cx-content-bg); }
.am-detail-row td[b-nmv0af9kli] { padding: 0 !important; background: var(--cx-content-bg); border-bottom: 1px solid var(--cx-hairline) !important; }
.am-detail-row:hover td[b-nmv0af9kli] { background: var(--cx-content-bg); }

/* clickable Belege pill */
.am-pill-btn[b-nmv0af9kli] { border: none; cursor: pointer; font: inherit; }
.am-pill-btn:hover[b-nmv0af9kli] { filter: brightness(.96); }

/* soft customer gate hint */
.am-gate-hint[b-nmv0af9kli] {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem; color: var(--cx-warning); margin-top: 4px; font-weight: 600;
}

/* ── document gallery (detail grid body) ──────────────── */
.am-gallery[b-nmv0af9kli] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    padding: 18px 20px 22px;
}
.am-doc[b-nmv0af9kli] {
    position: relative;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    box-shadow: var(--cx-shadow-sm, 0 1px 2px rgba(0,0,0,.05));
    /* overflow visible so an open tag menu can escape the card; inner parts round themselves */
    transition: box-shadow .14s, opacity .14s;
}
.am-doc:hover[b-nmv0af9kli] { box-shadow: var(--cx-shadow-md, 0 8px 24px rgba(0,0,0,.12)); }
.am-doc.excluded[b-nmv0af9kli] { opacity: .5; }
.am-doc.excluded .am-doc-preview[b-nmv0af9kli] { filter: grayscale(.6); }

/* floating select checkbox (top-left) */
.am-doc-check[b-nmv0af9kli] {
    position: absolute; top: 8px; left: 8px; z-index: 3;
    width: 26px; height: 26px; border-radius: var(--cx-radius-control);
    background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.18);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.am-doc-check input[b-nmv0af9kli] { width: 15px; height: 15px; cursor: pointer; accent-color: var(--cx-primary); margin: 0; }

/* preview surface */
.am-doc-preview[b-nmv0af9kli] {
    position: relative;
    height: 230px; background: #f5f3ee;
    cursor: zoom-in; overflow: hidden;
    border-radius: var(--cx-radius-surface) var(--cx-radius-surface) 0 0;
    display: flex; align-items: center; justify-content: center;
}
.am-doc-preview iframe[b-nmv0af9kli] { width: 100%; height: 100%; border: none; pointer-events: none; background: #fff; }
.am-doc-preview img[b-nmv0af9kli] { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.am-doc-zoom[b-nmv0af9kli] {
    position: absolute; top: 8px; right: 8px;
    width: 26px; height: 26px; border-radius: var(--cx-radius-surface);
    background: rgba(28,25,21,.6); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem; opacity: 0; transition: opacity .14s;
}
.am-doc-preview:hover .am-doc-zoom[b-nmv0af9kli] { opacity: 1; }
.am-doc-noprev[b-nmv0af9kli] {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--cx-text-muted); font-size: .78rem;
}
.am-doc-noprev i[b-nmv0af9kli] { font-size: 1.5rem; }

/* tag row (bottom of preview) */
.am-doc-tags[b-nmv0af9kli] {
    position: absolute; left: 8px; right: 8px; bottom: 42px;
    display: flex; gap: 6px; flex-wrap: wrap;
}
.am-tagwrap[b-nmv0af9kli] { position: relative; }
.am-tag[b-nmv0af9kli] {
    --tag: #9ca3af;
    display: inline-flex; align-items: center; gap: 5px;
    border: none; cursor: pointer;
    background: color-mix(in srgb, var(--tag) 16%, #fff);
    color: color-mix(in srgb, var(--tag) 72%, #000);
    border: 1px solid color-mix(in srgb, var(--tag) 40%, transparent);
    font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: var(--cx-radius-control);
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.am-tag i[b-nmv0af9kli] { font-size: .6rem; opacity: .7; }
.am-tag.paid[b-nmv0af9kli] { --tag: var(--cx-success); }
.am-tag.open[b-nmv0af9kli] { --tag: var(--cx-warning); }

/* tag dropdown menu */
.am-tagmenu[b-nmv0af9kli] {
    position: absolute; bottom: calc(100% + 5px); left: 0; z-index: 30;
    min-width: 170px; padding: 5px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border); border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-md, 0 12px 40px rgba(0,0,0,.18));
}
.am-tagmenu button[b-nmv0af9kli] {
    display: block; width: 100%; text-align: left;
    border: none; background: transparent; cursor: pointer;
    padding: 7px 10px; font-size: .8rem; border-radius: var(--cx-radius-control);
    color: var(--cx-text-primary);
}
.am-tagmenu button:hover[b-nmv0af9kli] { background: var(--sand, #f3efe7); }
.am-tagmenu button.sel[b-nmv0af9kli] { background: var(--cx-primary-soft); color: var(--cx-primary); font-weight: 600; }
.am-menu-backdrop[b-nmv0af9kli] { position: fixed; inset: 0; z-index: 20; background: transparent; }

/* filename strip */
.am-doc-name[b-nmv0af9kli] {
    padding: 9px 12px; font-size: .76rem; color: var(--cx-text-secondary);
    border-top: 1px solid var(--cx-hairline-soft);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: var(--cx-card-bg); position: relative; z-index: 1;
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
}

/* ── lightbox ──────────────────────────────────────────── */
.am-lightbox[b-nmv0af9kli] { z-index: 1100; padding: 32px; }
.am-lightbox-inner[b-nmv0af9kli] {
    background: var(--cx-card-bg); border-radius: var(--cx-radius-surface);
    box-shadow: var(--cx-shadow-md, 0 12px 40px rgba(0,0,0,.3));
    width: 100%; max-width: 900px; height: 90vh;
    display: flex; flex-direction: column; overflow: hidden;
}
.am-lightbox-head[b-nmv0af9kli] {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-bottom: 1px solid var(--cx-hairline);
}
.am-lightbox-title[b-nmv0af9kli] { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.am-lightbox-body[b-nmv0af9kli] { flex: 1; background: #525659; }
.am-lightbox-body iframe[b-nmv0af9kli] { width: 100%; height: 100%; border: none; }
.am-lightbox-body img[b-nmv0af9kli] { width: 100%; height: 100%; object-fit: contain; }
.am-lightbox-body .am-doc-noprev[b-nmv0af9kli] { height: 100%; justify-content: center; color: #cfcfcf; }

/* ---- background document ingest progress banner ---- */
.am-ingest[b-nmv0af9kli] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #e6cdb4;
    border-radius: var(--cx-radius-surface);
    background: #fbf3ea;
    color: #5b4632;
    font-size: 0.9rem;
}
.am-ingest.is-error[b-nmv0af9kli] {
    border-color: #f3c2c2;
    background: #fdecec;
    color: #b3261e;
}
.am-ingest-body[b-nmv0af9kli] { flex: 1 1 auto; min-width: 0; }
.am-ingest-label[b-nmv0af9kli] { margin-bottom: 6px; }
.am-ingest-label b[b-nmv0af9kli] { color: #b8601f; }
.am-ingest-bar[b-nmv0af9kli] {
    height: 7px;
    border-radius: var(--cx-radius-round);
    background: #ecdcc9;
    overflow: hidden;
}
.am-ingest-fill[b-nmv0af9kli] {
    height: 100%;
    border-radius: var(--cx-radius-round);
    background: linear-gradient(90deg, #c97a2f, #b8601f);
    transition: width 0.4s ease;
}
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/LegacyContactCard.razor.rz.scp.css */
.aa-contact[b-obyrj4ibdb] {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-surface);
    padding: .8rem .9rem;
    margin-bottom: 1rem;
}
.aa-contact h4[b-obyrj4ibdb] { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #6b7280; margin: 0 0 .55rem; }
.aa-contact h4 i[b-obyrj4ibdb] { color: var(--copper, #b8601f); margin-right: .3rem; }

.aa-contact-name[b-obyrj4ibdb] { font-size: .95rem; font-weight: 600; color: #1f2937; }
.aa-contact-name .aa-muted[b-obyrj4ibdb] { font-weight: 400; font-size: .85rem; margin-left: .3rem; color: #9ca3af; }
.aa-contact-addr[b-obyrj4ibdb] { font-size: .82rem; color: #6b7280; margin-top: .2rem; }
.aa-contact-addr i[b-obyrj4ibdb] { margin-right: .25rem; }
.aa-contact-none[b-obyrj4ibdb] { font-size: .82rem; color: #9ca3af; margin-top: .5rem; font-style: italic; }

.aa-contact-grid[b-obyrj4ibdb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .45rem .9rem;
    margin-top: .6rem;
}
.aa-contact-item[b-obyrj4ibdb] { display: flex; flex-direction: column; min-width: 0; }
.aa-contact-label[b-obyrj4ibdb] { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.aa-contact-label i[b-obyrj4ibdb] { margin-right: .25rem; }
.aa-contact-val[b-obyrj4ibdb] {
    font-size: .92rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
a.aa-contact-val[b-obyrj4ibdb] { color: var(--copper, #b8601f); }
a.aa-contact-val:hover[b-obyrj4ibdb] { text-decoration: underline; }

.aa-contact-salut[b-obyrj4ibdb] { font-size: .82rem; color: #6b7280; margin-top: .35rem; font-style: italic; }

/* billing / delivery address, only rendered when it deviates from the main address */
.aa-contact-alt[b-obyrj4ibdb] { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid #f4f4f4; }
.aa-contact-alt .aa-contact-label i[b-obyrj4ibdb] { margin-right: .25rem; }
.aa-contact-alt-body[b-obyrj4ibdb] { font-size: .85rem; color: #4b5563; display: flex; flex-wrap: wrap; gap: .1rem .7rem; }
.aa-contact-alt-name[b-obyrj4ibdb] { font-weight: 600; color: #1f2937; }
.aa-contact-alt-extra[b-obyrj4ibdb] { color: #6b7280; font-size: .8rem; }
.aa-contact-alt-extra i[b-obyrj4ibdb] { color: #9ca3af; margin-right: .2rem; }
.aa-contact-alt-extra a[b-obyrj4ibdb] { color: var(--copper, #b8601f); text-decoration: none; }
.aa-contact-alt-extra a:hover[b-obyrj4ibdb] { text-decoration: underline; }

/* verbatim source columns */
.aa-contact-raw[b-obyrj4ibdb] { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid #f4f4f4; }
.aa-contact-raw > summary[b-obyrj4ibdb] { cursor: pointer; font-size: .76rem; color: #9ca3af; }
.aa-contact-raw > summary[b-obyrj4ibdb]::marker { color: #c0c0c0; }
.aa-contact-raw > summary:hover[b-obyrj4ibdb] { color: var(--copper, #b8601f); }
.aa-contact-raw-list[b-obyrj4ibdb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .45rem .9rem;
    margin: .6rem 0 0;
}
.aa-contact-raw-list div[b-obyrj4ibdb] { display: flex; flex-direction: column; min-width: 0; }
.aa-contact-raw-list dt[b-obyrj4ibdb] { font-size: .64rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.aa-contact-raw-list dd[b-obyrj4ibdb] { margin: 0; font-size: .82rem; color: #374151; overflow-wrap: anywhere; }

/* loading / empty (component-local copies so the card is self-contained) */
.aa-empty[b-obyrj4ibdb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.25rem;
    color: #9ca3af;
    text-align: center;
}
.aa-empty i[b-obyrj4ibdb] { font-size: 1.4rem; }

.aa-spin[b-obyrj4ibdb] {
    width: 1rem; height: 1rem;
    border: 2px solid #ddd;
    border-top-color: var(--copper, #b8601f);
    border-radius: var(--cx-radius-round);
    display: inline-block;
    animation: aa-cc-spin-b-obyrj4ibdb .7s linear infinite;
}
@keyframes aa-cc-spin-b-obyrj4ibdb { to { transform: rotate(360deg); } }
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/LegacyTakeoverDialog.razor.rz.scp.css */
/* ── „Als Kunden übernehmen“ dialog — own scrim + modal in the hand-made-dialog z-band (5040/5050) ── */
.tk-scrim[b-1pox4lgu23] {
    position: fixed; inset: 0;
    background: rgba(28, 25, 21, .34);
    backdrop-filter: blur(2px);
    z-index: 5040;
}
.tk-modal[b-1pox4lgu23] {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 640px;
    max-width: 94vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 28px 56px rgba(28, 25, 21, .18), 0 10px 20px rgba(28, 25, 21, .10);
    z-index: 5050;
    outline: none;
}

/* header */
.tk-head[b-1pox4lgu23] { display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem 1.25rem .9rem; border-bottom: 1px solid #eee; }
.tk-head-icon[b-1pox4lgu23] {
    width: 40px; height: 40px; border-radius: var(--cx-radius-control); flex-shrink: 0;
    display: grid; place-items: center; font-size: 1.2rem;
    background: rgba(184, 96, 31, .1); color: var(--copper, #b8601f);
}
.tk-head-text[b-1pox4lgu23] { min-width: 0; flex: 1; }
.tk-title[b-1pox4lgu23] { font-size: 1.05rem; font-weight: 700; color: #1f2937; }
.tk-sub[b-1pox4lgu23] { font-size: .85rem; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-x[b-1pox4lgu23] { border: 0; background: none; font-size: 1.5rem; line-height: 1; color: #9ca3af; cursor: pointer; padding: 0 .2rem; }
.tk-x:hover[b-1pox4lgu23] { color: #1f2937; }

/* body */
.tk-body[b-1pox4lgu23] { padding: 1rem 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.tk-section h4[b-1pox4lgu23] { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: #9ca3af; margin: 0 0 .5rem; }
.tk-section h4 i[b-1pox4lgu23] { margin-right: .3rem; }
.tk-facts[b-1pox4lgu23] { margin: 0; display: grid; gap: .45rem; }
.tk-facts div[b-1pox4lgu23] { display: grid; grid-template-columns: 90px 1fr; gap: .5rem; align-items: baseline; }
.tk-facts dt[b-1pox4lgu23] { font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.tk-facts dd[b-1pox4lgu23] { margin: 0; font-size: .9rem; color: #1f2937; display: flex; flex-wrap: wrap; gap: .3rem; }
.tk-note[b-1pox4lgu23] { font-size: .84rem; color: #4b5563; font-style: italic; }
.tk-muted[b-1pox4lgu23] { color: #9ca3af; font-weight: 400; font-size: .85em; }
.tk-chip[b-1pox4lgu23] {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .84rem; padding: .15rem .5rem; border-radius: var(--cx-radius-control);
    background: #f6f6f6; color: #374151;
}
.tk-chip i[b-1pox4lgu23] { color: #9ca3af; }
.tk-chip small[b-1pox4lgu23] { color: #6b7280; }

.tk-ok[b-1pox4lgu23] { display: flex; align-items: center; gap: .5rem; color: #2f6347; background: rgba(63,125,91,.1); border-radius: var(--cx-radius-surface); padding: .6rem .8rem; font-size: .9rem; }
.tk-warn[b-1pox4lgu23] {
    display: flex; align-items: flex-start; gap: .6rem;
    background: #fff7ed; color: #7c2d12; border: 1px solid #fed7aa;
    border-radius: var(--cx-radius-surface); padding: .7rem .85rem; font-size: .88rem; margin-bottom: .6rem;
}
.tk-warn i[b-1pox4lgu23] { font-size: 1.1rem; color: #ea580c; }
.tk-warn b[b-1pox4lgu23] { display: block; }

.tk-cands[b-1pox4lgu23] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.tk-cand[b-1pox4lgu23] {
    display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
    border: 1px solid #ececec; border-radius: var(--cx-radius-surface); padding: .6rem .8rem; background: #fff;
}
.tk-cand-main[b-1pox4lgu23] { min-width: 0; flex: 1; }
.tk-cand-name[b-1pox4lgu23] { font-weight: 600; color: #1f2937; font-size: .92rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.tk-cand-meta[b-1pox4lgu23] { display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .8rem; color: #6b7280; margin-top: .15rem; }
.tk-cand-meta i[b-1pox4lgu23] { margin-right: .2rem; color: #9ca3af; }
.tk-cand-side[b-1pox4lgu23] { display: flex; align-items: center; gap: .6rem; }
.tk-score[b-1pox4lgu23] { font-size: .78rem; font-weight: 700; color: var(--copper, #b8601f); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-pill[b-1pox4lgu23] { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; padding: .1rem .4rem; border-radius: var(--cx-radius-control); background: #f1f1f1; color: #6b7280; }

.tk-error[b-1pox4lgu23] { display: flex; align-items: center; gap: .5rem; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: var(--cx-radius-surface); padding: .6rem .8rem; font-size: .88rem; }
.tk-empty[b-1pox4lgu23] { display: flex; align-items: center; justify-content: center; gap: .5rem; color: #9ca3af; padding: 1.5rem; }
.tk-spin[b-1pox4lgu23] { width: 1rem; height: 1rem; border: 2px solid #ddd; border-top-color: var(--copper, #b8601f); border-radius: var(--cx-radius-round); animation: tk-spin-b-1pox4lgu23 .8s linear infinite; }
@keyframes tk-spin-b-1pox4lgu23 { to { transform: rotate(360deg); } }

/* footer */
.tk-foot[b-1pox4lgu23] { display: flex; justify-content: flex-end; gap: .5rem; padding: .85rem 1.25rem; border-top: 1px solid #eee; }
.tk-btn[b-1pox4lgu23] {
    display: inline-flex; align-items: center; gap: .35rem;
    border-radius: var(--cx-radius-control); padding: .45rem .9rem; font-size: .88rem; font-weight: 600;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.tk-btn:disabled[b-1pox4lgu23] { opacity: .55; cursor: default; }
.tk-btn.ghost[b-1pox4lgu23] { background: #fff; border-color: #d8d8d8; color: #374151; }
.tk-btn.ghost:hover:not(:disabled)[b-1pox4lgu23] { border-color: var(--copper, #b8601f); color: var(--copper, #b8601f); }
.tk-btn.primary[b-1pox4lgu23] { background: var(--copper, #b8601f); color: #fff; }
.tk-btn.primary:hover:not(:disabled)[b-1pox4lgu23] { filter: brightness(.95); }
.tk-btn.warn[b-1pox4lgu23] { background: #ea580c; color: #fff; }
.tk-btn.warn:hover:not(:disabled)[b-1pox4lgu23] { filter: brightness(.95); }

@media (max-width: 560px) {
    .tk-facts div[b-1pox4lgu23] { grid-template-columns: 1fr; gap: .1rem; }
    .tk-cand-side[b-1pox4lgu23] { width: 100%; justify-content: space-between; }
}
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/LegacyVorgangDetail.razor.rz.scp.css */
/* Expanded Vorgang detail. Self-contained (CSS isolation scopes these to this component only), so the
   few shared primitives — empty state, spinner, tag, muted text — exist here as local copies, the same
   way LegacyContactCard keeps its own. */

.aa-detail[b-lz55rp5wkj] { border-top: 1px solid #f0f0f0; padding: 1rem; background: #fcfbfa; }

.aa-muted[b-lz55rp5wkj] { color: #9ca3af; font-weight: 400; }
.aa-open[b-lz55rp5wkj] { color: var(--copper, #b8601f); }

.aa-section[b-lz55rp5wkj] { margin-bottom: 1.25rem; }
.aa-section h4[b-lz55rp5wkj] {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6b7280;
    margin: 0 0 .6rem;
}

/* ── the office's note from the old system ── */
.aa-note[b-lz55rp5wkj] {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    background: #fffaf4;
    border: 1px solid #f0dcc6;
    border-left: 3px solid var(--copper, #b8601f);
    border-radius: var(--cx-radius-surface);
    padding: .7rem .85rem;
    margin-bottom: 1rem;
}
.aa-note-icon[b-lz55rp5wkj] { color: var(--copper, #b8601f); font-size: .95rem; line-height: 1.35; flex: 0 0 auto; }
.aa-note-body[b-lz55rp5wkj] { min-width: 0; }
.aa-note-subject[b-lz55rp5wkj] { font-size: .88rem; font-weight: 600; color: #1f2937; }
.aa-note-text[b-lz55rp5wkj] { font-size: .88rem; color: #4b5563; white-space: pre-wrap; overflow-wrap: anywhere; }
.aa-note-subject + .aa-note-text[b-lz55rp5wkj] { margin-top: .2rem; }

/* ── lifecycle ── */
.aa-timeline[b-lz55rp5wkj] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    margin-bottom: 1rem;
}
.aa-tl-step[b-lz55rp5wkj] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-round);
    padding: .22rem .6rem .22rem .45rem;
    font-size: .78rem;
    white-space: nowrap;
}
.aa-tl-dot[b-lz55rp5wkj] {
    width: .45rem;
    height: .45rem;
    border-radius: var(--cx-radius-round);
    background: var(--copper, #b8601f);
    flex: 0 0 auto;
}
.aa-tl-label[b-lz55rp5wkj] { color: #6b7280; }
.aa-tl-date[b-lz55rp5wkj] { color: #1f2937; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── key figures ── */
.aa-meta[b-lz55rp5wkj] { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 1rem; }
.aa-meta div[b-lz55rp5wkj] { display: flex; flex-direction: column; }
.aa-meta dt[b-lz55rp5wkj] { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.aa-meta dd[b-lz55rp5wkj] { margin: 0; font-weight: 600; color: #1f2937; font-size: .95rem; }
.aa-docnum[b-lz55rp5wkj] { font-variant-numeric: tabular-nums; }

/* ── deviating addresses ── */
.aa-addr-grid[b-lz55rp5wkj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .7rem;
    margin-bottom: 1.25rem;
}
.aa-addr[b-lz55rp5wkj] {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--cx-radius-surface);
    padding: .7rem .8rem;
}
.aa-addr h5[b-lz55rp5wkj] {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #9ca3af;
    font-weight: 600;
    margin: 0 0 .4rem;
}
.aa-addr h5 i[b-lz55rp5wkj] { color: var(--copper, #b8601f); margin-right: .25rem; }
.aa-addr-name[b-lz55rp5wkj] { font-size: .88rem; font-weight: 600; color: #1f2937; }
.aa-addr-lines[b-lz55rp5wkj] { font-size: .85rem; color: #4b5563; }
.aa-addr-contacts[b-lz55rp5wkj] { display: flex; flex-wrap: wrap; gap: .15rem .7rem; margin-top: .4rem; }
.aa-addr-contact[b-lz55rp5wkj] { font-size: .8rem; color: #6b7280; }
.aa-addr-contact i[b-lz55rp5wkj] { color: #9ca3af; margin-right: .25rem; }
.aa-addr-contact a[b-lz55rp5wkj] { color: var(--copper, #b8601f); text-decoration: none; }
.aa-addr-contact a:hover[b-lz55rp5wkj] { text-decoration: underline; }

/* ── tables (Positionen + Rechnungen) ── */
.aa-pos-wrap[b-lz55rp5wkj] { overflow-x: auto; border: 1px solid #ececec; border-radius: var(--cx-radius-surface); background: #fff; }
.aa-pos-table[b-lz55rp5wkj] { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 520px; }
.aa-pos-table th[b-lz55rp5wkj] {
    text-align: left;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #9ca3af;
    font-weight: 600;
    padding: .5rem .7rem;
    border-bottom: 1px solid #ececec;
    white-space: nowrap;
}
.aa-pos-table td[b-lz55rp5wkj] { padding: .5rem .7rem; border-bottom: 1px solid #f4f4f4; color: #1f2937; vertical-align: top; }
.aa-pos-table tbody tr:last-child td[b-lz55rp5wkj] { border-bottom: none; }
.aa-pos-nr[b-lz55rp5wkj] { width: 3rem; color: #9ca3af; font-variant-numeric: tabular-nums; }
.aa-pos-num[b-lz55rp5wkj] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.aa-pos-cost[b-lz55rp5wkj] { color: #6b7280; }
.aa-pos-info td[b-lz55rp5wkj] { color: #6b7280; font-style: italic; background: #fbfaf9; }
.aa-pos-table tfoot td[b-lz55rp5wkj] { border-top: 1px solid #ececec; padding: .55rem .7rem; }
.aa-pos-sumlbl[b-lz55rp5wkj] { text-align: right; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.aa-pos-sum[b-lz55rp5wkj] { font-weight: 700; color: var(--copper, #b8601f); }
.aa-inv-cancelled td[b-lz55rp5wkj] { color: #9ca3af; text-decoration: line-through; }
.aa-inv-cancelled td:first-child[b-lz55rp5wkj] { text-decoration: none; }

/* ── hours ── */
.aa-hours[b-lz55rp5wkj] { background: #fff; border: 1px solid #ececec; border-radius: var(--cx-radius-surface); padding: .7rem .8rem; }
.aa-hours-head[b-lz55rp5wkj] { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; font-size: .82rem; }
.aa-hours-total[b-lz55rp5wkj] { font-size: 1.05rem; font-weight: 700; color: var(--copper, #b8601f); }
.aa-hours-people[b-lz55rp5wkj] { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .6rem; }
.aa-hours-person[b-lz55rp5wkj] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #f7f6f5;
    border-radius: var(--cx-radius-control);
    padding: .2rem .6rem;
    font-size: .78rem;
    color: #4b5563;
}
.aa-hours-person i[b-lz55rp5wkj] { color: #9ca3af; }
.aa-hours-person b[b-lz55rp5wkj] { color: #1f2937; font-variant-numeric: tabular-nums; }

/* ── documents ── */
.aa-doc-grid[b-lz55rp5wkj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .7rem;
}
.aa-doc[b-lz55rp5wkj] { border: 1px solid #ececec; border-radius: var(--cx-radius-surface); overflow: hidden; background: #fff; }
.aa-doc-prev[b-lz55rp5wkj] {
    display: block;
    width: 100%;
    height: 170px;
    border: none;
    padding: 0;
    background: #f6f5f4;
    cursor: pointer;
    overflow: hidden;
}
.aa-doc-prev[disabled][b-lz55rp5wkj] { cursor: default; }
.aa-doc-prev img[b-lz55rp5wkj], .aa-doc-prev iframe[b-lz55rp5wkj] { width: 100%; height: 100%; border: none; object-fit: cover; pointer-events: none; }
.aa-doc-noprev[b-lz55rp5wkj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: .35rem;
    color: #b0b0b0;
    font-size: .75rem;
}
.aa-doc-noprev i[b-lz55rp5wkj] { font-size: 1.4rem; }
.aa-doc-foot[b-lz55rp5wkj] { display: flex; align-items: center; gap: .4rem; padding: .45rem .55rem; border-top: 1px solid #f0f0f0; }
.aa-doc-name[b-lz55rp5wkj] { font-size: .76rem; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; }
.aa-doc-dl[b-lz55rp5wkj] { color: #9ca3af; font-size: .8rem; flex: 0 0 auto; }
.aa-doc-dl:hover[b-lz55rp5wkj] { color: var(--copper, #b8601f); }
.aa-doc-sent[b-lz55rp5wkj] {
    font-size: .72rem;
    color: #6b7280;
    padding: 0 .55rem .45rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aa-doc-sent i[b-lz55rp5wkj] { color: #9ca3af; margin-right: .2rem; }

.aa-tag[b-lz55rp5wkj] {
    font-size: .66rem;
    font-weight: 600;
    color: #fff;
    background: var(--tag, #9ca3af);
    padding: .1rem .4rem;
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
}

/* ── verbatim source columns ── */
.aa-raw[b-lz55rp5wkj] { border-top: 1px solid #f0f0f0; padding-top: .8rem; }
.aa-raw > summary[b-lz55rp5wkj] { cursor: pointer; font-size: .78rem; color: #6b7280; }
.aa-raw > summary[b-lz55rp5wkj]::marker { color: #c0c0c0; }
.aa-raw > summary:hover[b-lz55rp5wkj] { color: var(--copper, #b8601f); }
.aa-raw-list[b-lz55rp5wkj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .5rem .9rem;
    margin: .7rem 0 0;
}
.aa-raw-list div[b-lz55rp5wkj] { display: flex; flex-direction: column; min-width: 0; }
.aa-raw-list dt[b-lz55rp5wkj] { font-size: .66rem; text-transform: uppercase; letter-spacing: .03em; color: #9ca3af; }
.aa-raw-list dd[b-lz55rp5wkj] { margin: 0; font-size: .84rem; color: #374151; overflow-wrap: anywhere; }

/* ── loading / empty (component-local copies so the detail is self-contained) ── */
.aa-empty[b-lz55rp5wkj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.25rem;
    color: #9ca3af;
    text-align: center;
}
.aa-empty i[b-lz55rp5wkj] { font-size: 1.4rem; }

.aa-spin[b-lz55rp5wkj] {
    width: 1rem; height: 1rem;
    border: 2px solid #ddd;
    border-top-color: var(--copper, #b8601f);
    border-radius: var(--cx-radius-round);
    display: inline-block;
    animation: aa-vd-spin-b-lz55rp5wkj .7s linear infinite;
}
@keyframes aa-vd-spin-b-lz55rp5wkj { to { transform: rotate(360deg); } }

.aa-full-text[b-lz55rp5wkj] { white-space: pre-wrap; overflow-wrap: anywhere; }
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/Wiso/UmzugWiso.razor.rz.scp.css */
.wiso-page[b-158tyc6293] { max-width: 1320px; margin: 0 auto; padding: 2rem; color: var(--cx-text-primary, #252b30); }
.wiso-page header[b-158tyc6293] { margin-bottom: 2rem; }
.wiso-eyebrow[b-158tyc6293] { color: var(--cx-primary, #a45c32); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; }
.wiso-page h1[b-158tyc6293] { font-size: 2rem; margin: .4rem 0 1rem; }
.wiso-panel[b-158tyc6293] { background: var(--cx-surface, #fff); border: 1px solid var(--cx-border, #dfe4e8); border-radius: var(--cx-radius-surface); padding: 1.5rem; margin: 1.5rem 0; }
.wiso-page[b-158tyc6293]  h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.wiso-page[b-158tyc6293]  p { line-height: 1.6; margin: .5rem 0; }
.wiso-page[b-158tyc6293]  fieldset { border: 0; padding: 0; margin: 1rem 0; min-width: 0; }
.wiso-page[b-158tyc6293]  input:not([type=checkbox]):not([type=radio]), .wiso-page[b-158tyc6293]  select, .wiso-page[b-158tyc6293]  textarea { border: var(--cx-field-border); background: var(--cx-surface, #fff); color: inherit; border-radius: var(--cx-radius-control); padding: .65rem; max-width: 100%; }
.wiso-page[b-158tyc6293]  textarea { width: 100%; }
.wiso-page[b-158tyc6293]  input[type=checkbox] { width: 1.1rem; height: 1.1rem; vertical-align: middle; margin-right: .45rem; }
.wiso-page[b-158tyc6293]  button { cursor: pointer; }
.wiso-page[b-158tyc6293]  button:disabled { opacity: .5; cursor: not-allowed; }
.wiso-page[b-158tyc6293]  a { color: var(--cx-primary, #91502c); text-underline-offset: .2em; }
.wiso-page[b-158tyc6293]  .wiso-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1rem 0; }
.wiso-page[b-158tyc6293]  .wiso-row { padding: 1.25rem 0; border-bottom: 1px solid var(--cx-border, #dfe4e8); overflow-wrap: anywhere; }
.wiso-page[b-158tyc6293]  .wiso-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding: .75rem 0; }
.wiso-page[b-158tyc6293]  .wiso-warning { background: #fff5df; color: #674915; padding: .8rem 1rem; border-radius: var(--cx-radius-surface); margin: .8rem 0; }
.wiso-page[b-158tyc6293]  .wiso-success { background: #edf7f0; color: #25553c; padding: .8rem 1rem; border-radius: var(--cx-radius-surface); }
.wiso-page[b-158tyc6293]  .wiso-muted { color: var(--cx-text-secondary, #626d76); font-size: .9rem; }
.wiso-page[b-158tyc6293]  .wiso-document { display: flex; flex-wrap: wrap; gap: .75rem; margin: .65rem 0; }
.wiso-page[b-158tyc6293]  .wiso-source-text { white-space: pre-wrap; }
.wiso-page[b-158tyc6293]  .wiso-target { display: block; margin: .4rem 0; text-align: left; }
.wiso-page[b-158tyc6293]  .wiso-scrim { position: fixed; inset: 0; z-index: 1100; background: #17212db3; display: grid; place-items: center; padding: 1.5rem; }
.wiso-page[b-158tyc6293]  .wiso-dialog { width: min(820px, 100%); max-height: 90vh; overflow-y: auto; padding: 1.75rem; border-radius: var(--cx-radius-surface); background: var(--cx-surface, #fff); box-shadow: 0 20px 80px #0004; }
.wiso-page[b-158tyc6293]  .wiso-dialog label { display: flex; flex-direction: column; gap: .35rem; margin: .8rem 0; }
.wiso-page[b-158tyc6293]  .wiso-dialog small { color: var(--cx-text-secondary, #626d76); }
.wiso-page progress[b-158tyc6293] { width: 100%; margin-top: 1rem; }
@media (max-width: 700px) { .wiso-page[b-158tyc6293] { padding: 1rem; } .wiso-panel[b-158tyc6293] { padding: 1rem; } .wiso-page[b-158tyc6293]  .wiso-compare { grid-template-columns: 1fr; gap: .5rem; } .wiso-page[b-158tyc6293]  .wiso-scrim { padding: .5rem; } }

.wiso-page.wiso-page-embedded[b-158tyc6293] { max-width: none; margin: 1rem 0 0; padding: 0; }

.wiso-transfer-options[b-158tyc6293] { border: 0; padding: 1rem 0; margin: 0; }
.wiso-transfer-options legend[b-158tyc6293] { font-size: 1.2rem; padding: 0; }
.wiso-transfer-options label[b-158tyc6293] { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; font-weight: 600; }
.wiso-transfer-options input[b-158tyc6293] { width: auto; }
.wiso-panel[hidden][b-158tyc6293] { display: none; }
.wiso-stages[b-158tyc6293] { display: flex; gap: 1rem; flex-wrap: wrap; padding: 0 0 1rem; margin: 0 0 1.25rem; list-style: none; border-bottom: 1px solid #eee8df; font-size: .85rem; color: #8a8276; }
.wiso-stages .done[b-158tyc6293] { color: #397859; }
.wiso-stages .current[b-158tyc6293] { color: #b8601b; font-weight: 700; }
.wiso-counts[b-158tyc6293] { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.2rem 0; }
.wiso-counts span[b-158tyc6293] { display: flex; flex-direction: column; font-size: .9rem; color: #746c61; }
.wiso-counts strong[b-158tyc6293] { font-size: 1.65rem; color: #2b2721; }
.wiso-import-details[b-158tyc6293] { padding-top: .8rem; border-top: 1px solid #eee8df; }
.wiso-import-details summary[b-158tyc6293] { cursor: pointer; color: #71685d; font-size: .9rem; }
.wiso-import-details details[b-158tyc6293] { margin-top: .8rem; }
.wiso-overview progress[b-158tyc6293] { height: .4rem; accent-color: #b8601b; }

.wiso-overview.is-complete[b-158tyc6293] { padding: 1rem 1.25rem; }
.wiso-overview.is-complete .wiso-stages[b-158tyc6293] { display: none; }
.wiso-overview.is-complete .wiso-counts[b-158tyc6293] { margin: .5rem 0; gap: 1.25rem; }
.wiso-overview.is-complete .wiso-counts span[b-158tyc6293] { flex-direction: row; align-items: baseline; gap: .4rem; }
.wiso-overview.is-complete .wiso-counts strong[b-158tyc6293] { font-size: 1.1rem; }
.wiso-overview.is-complete h2[b-158tyc6293] { margin-bottom: .4rem; }
.wiso-overview.is-complete .wiso-actions[b-158tyc6293] { margin: .5rem 0; }

.wiso-back-link[b-158tyc6293] { display: inline-block; font-size: .85rem; margin-top: .4rem; }
.wiso-guide-steps[b-158tyc6293] { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 0 1.2rem; margin: 0; border-bottom: 1px solid #eee8df; gap: 1rem; }
.wiso-guide-steps li[b-158tyc6293] { display: flex; align-items: center; gap: .6rem; color: #797269; font-size: .85rem; }
.wiso-guide-steps li > span[b-158tyc6293] { display: grid; place-items: center; flex-shrink: 0; width: 1.65rem; height: 1.65rem; border-radius: var(--cx-radius-round); border: 1px solid #dcd6ce; font-size: .8rem; }
.wiso-guide-steps li.active[b-158tyc6293] { color: #9a4e17; font-weight: 700; }
.wiso-guide-steps li.active > span[b-158tyc6293] { color: white; background: #b8601b; border-color: #b8601b; }
.wiso-step-heading[b-158tyc6293] { padding: 1.3rem 0 .5rem; max-width: 850px; }
.wiso-step-heading h2[b-158tyc6293] { font-size: 1.5rem; font-weight: 650; margin: .4rem 0; }
.wiso-step-heading > p:not(.wiso-eyebrow):not(.wiso-case-count)[b-158tyc6293] { color: #70685f; font-size: .95rem; }
.wiso-case-count[b-158tyc6293] { font-size: .85rem; font-weight: 600; color: #8b5b2c; }
.wiso-page[b-158tyc6293]  .wiso-text-button { border: 0; background: transparent; padding: .55rem 0; font: inherit; font-size: .9rem; color: #766656; text-decoration: underline; text-underline-offset: .25rem; box-shadow: none; }
.wiso-page[b-158tyc6293]  button:focus-visible, .wiso-page[b-158tyc6293]  a:focus-visible { outline: 2px solid #9a4e17; outline-offset: 4px; }
.wiso-page[b-158tyc6293]  input[type=radio] { accent-color: #b8601b; width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin: .15rem 0 0; }
.wiso-page[b-158tyc6293]  .wiso-customer-case { background: #faf9f6; border: 1px solid #e9e4dd; border-radius: var(--cx-radius-surface); padding: 1.25rem; }
.wiso-page[b-158tyc6293]  .wiso-customer-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1rem; }
.wiso-page[b-158tyc6293]  .wiso-customer-title h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.wiso-page[b-158tyc6293]  .wiso-customer-title > span { font-size: .85rem; color: #837b70; }
.wiso-page[b-158tyc6293]  .wiso-customer-case .wiso-compare { padding: .8rem 0; font-size: .9rem; }
.wiso-page[b-158tyc6293]  .wiso-decision-options { margin-bottom: 0; }
.wiso-page[b-158tyc6293]  .wiso-decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.wiso-page[b-158tyc6293]  .wiso-decision-options legend { font-weight: 600; font-size: .95rem; margin-bottom: .75rem; }
.wiso-page[b-158tyc6293]  .wiso-decision { display: flex; align-items: flex-start; gap: .65rem; border: 1px solid #ded8cf; padding: .9rem; border-radius: var(--cx-radius-surface); background: white; cursor: pointer; }
.wiso-page[b-158tyc6293]  .wiso-decision.chosen { border-color: #bb692a; background: #fdf2e9; box-shadow: 0 0 0 1px #bb692a; }
.wiso-page[b-158tyc6293]  .wiso-decision strong { display: block; font-size: .9rem; line-height: 1.4; }
.wiso-page[b-158tyc6293]  .wiso-decision small { display: block; color: #786e62; font-size: .8rem; line-height: 1.45; margin-top: .3rem; }
.wiso-page[b-158tyc6293]  .wiso-submit-row { display: flex; justify-content: flex-end; margin-top: 1.2rem; }
.wiso-guide-footer[b-158tyc6293] { position: sticky; bottom: 0; z-index: 3; box-shadow: 0 -8px 16px #ffffffed; border-top: 1px solid #eee8df; background: white; padding-top: 1rem; margin-top: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.wiso-guide-footer > div[b-158tyc6293] { margin-left: auto; text-align: right; }
.wiso-guide-footer small[b-158tyc6293] { display: block; color: #8b8378; font-size: .75rem; margin-top: .35rem; max-width: 420px; }
.wiso-pagination[b-158tyc6293] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0; color: #81796e; font-size: .85rem; }
.wiso-guide-finish[b-158tyc6293] { text-align: center; padding: 3rem 1.5rem; }
.wiso-guide-finish > .btn[b-158tyc6293], .wiso-guide-finish > button[b-158tyc6293] { display: block; width: fit-content; margin: 1rem auto 0; }
.wiso-finish-icon[b-158tyc6293] { display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto 1rem; background: #edf7f0; color: #397859; border-radius: var(--cx-radius-round); font-size: 1.4rem; }
@media (max-width: 800px) {
    .wiso-guide-steps[b-158tyc6293] { gap: .6rem; }
    .wiso-guide-steps li[b-158tyc6293] { flex-direction: column; align-items: flex-start; font-size: .75rem; }
    .wiso-page[b-158tyc6293]  .wiso-decision-grid { grid-template-columns: 1fr; }
    .wiso-page[b-158tyc6293]  .wiso-customer-case { padding: 1rem; }
    .wiso-guide-footer[b-158tyc6293] { flex-wrap: wrap; }
    .wiso-guide-footer > div[b-158tyc6293] { flex: 1; min-width: 190px; }
}

.wiso-panel[tabindex="-1"]:focus[b-158tyc6293] { outline: none; }
.wiso-guide-finish > a.btn.primary[b-158tyc6293] { color: white; text-decoration: none; }

.wiso-page[b-158tyc6293]  .wiso-selection-toolbar { position: sticky; top: 0; z-index: 2; background: white; padding: .7rem 0; border-bottom: 1px solid #eee8df; }

/* The application shell owns the available height. Only the current step scrolls. */
.wiso-page-standalone[b-158tyc6293] { height: 100%; min-height: 0; box-sizing: border-box; display: flex; flex-direction: column; padding: 1.25rem 2rem; overflow: hidden; }
.wiso-page-standalone > header[b-158tyc6293] { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.wiso-page-standalone > header > .wiso-eyebrow[b-158tyc6293] { display: none; }
.wiso-page-standalone > header h1[b-158tyc6293] { margin: 0; font-size: 1.65rem; }
.wiso-page-standalone .wiso-workspace[b-158tyc6293] { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; }
.wiso-page-standalone .wiso-workspace.has-guide[b-158tyc6293] { display: flex; flex-direction: column; overflow: hidden; }
.wiso-overview-trigger[b-158tyc6293] { flex-shrink: 0; align-self: flex-start; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.wiso-page.wiso-overview-content[b-158tyc6293] { padding: 0; margin: 0; max-width: none; }
.wiso-overview-content .wiso-overview[b-158tyc6293] { border: 0; margin: 0; padding: 0; }
.wiso-page-standalone .has-guide > .wiso-review[b-158tyc6293] { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; margin: .5rem 0 0; padding: 1.2rem 1.4rem 0; }
.wiso-page-standalone .wiso-guide-steps[b-158tyc6293] { flex-shrink: 0; padding-bottom: 1rem; }
.wiso-page-standalone .wiso-step-content[b-158tyc6293] { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; padding: 0 .8rem 1rem 0; }
.wiso-step-content:focus-visible[b-158tyc6293] { outline: 2px solid var(--cx-primary, #b8601b); outline-offset: -2px; }
.wiso-page-standalone .wiso-guide-footer[b-158tyc6293] { position: static; flex-shrink: 0; margin: 0; padding: .75rem 0; box-shadow: none; }
.wiso-page-standalone .wiso-guide-footer small[b-158tyc6293] { max-width: none; }
@media (max-width: 700px) {
    .wiso-page-standalone[b-158tyc6293] { padding: .75rem; }
    .wiso-page-standalone > header[b-158tyc6293] { gap: .5rem; margin-bottom: .5rem; }
    .wiso-page-standalone > header h1[b-158tyc6293] { font-size: 1.25rem; }
    .wiso-page-standalone > header .wiso-back-link[b-158tyc6293] { font-size: .75rem; margin: 0; }
    .wiso-page-standalone .has-guide > .wiso-review[b-158tyc6293] { padding: .8rem .8rem 0; }
    .wiso-page-standalone .wiso-guide-steps[b-158tyc6293] { padding-bottom: .65rem; }
    .wiso-page-standalone .wiso-step-content[b-158tyc6293] { padding-right: .3rem; }
    .wiso-page-standalone .wiso-guide-footer[b-158tyc6293] { gap: .5rem; }
    .wiso-page-standalone .wiso-guide-footer small[b-158tyc6293] { font-size: .7rem; }
}
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/Wiso/WisoCatalogBlock.razor.rz.scp.css */
.catalog-status[b-mx55s8kuma] { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 1rem; background: #f8f6f2; border-radius: var(--cx-radius-surface); margin: 1rem 0; }
.catalog-status progress[b-mx55s8kuma] { width: 100%; height: .5rem; appearance: none; border: 0; border-radius: var(--cx-radius-round); overflow: hidden; background: #e9e3da; accent-color: #b8601b; }
.catalog-status progress[b-mx55s8kuma]::-webkit-progress-bar { background: #e9e3da; border-radius: var(--cx-radius-round); }
.catalog-status progress[b-mx55s8kuma]::-webkit-progress-value { background: #b8601b; border-radius: var(--cx-radius-round); }
.catalog-status progress[b-mx55s8kuma]::-moz-progress-bar { background: #b8601b; border-radius: var(--cx-radius-round); }
.catalog-status progress:indeterminate[b-mx55s8kuma] { background: linear-gradient(90deg, #e9e3da 25%, #b8601b 50%, #e9e3da 75%); background-size: 200% 100%; animation: catalog-progress-b-mx55s8kuma 2s linear infinite; }
.catalog-status progress:indeterminate[b-mx55s8kuma]::-webkit-progress-bar { background: transparent; }
.catalog-status-running[b-mx55s8kuma] { display: grid; gap: .8rem; padding: 1.5rem; }
.catalog-status-running strong[b-mx55s8kuma] { font-size: 1.1rem; }
.catalog-status-running p[b-mx55s8kuma], .catalog-retry p:last-child[b-mx55s8kuma] { margin-bottom: 0; }
@keyframes catalog-progress-b-mx55s8kuma { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .catalog-status progress:indeterminate[b-mx55s8kuma] { animation: none; } }
.catalog-status span[b-mx55s8kuma] { color: #655f57; }
.catalog-notes[b-mx55s8kuma] { border: 1px solid #eadcc5; border-radius: var(--cx-radius-surface); padding: .75rem 1rem; margin: 1rem 0; background: #fffbf2; }
summary[b-mx55s8kuma] { cursor: pointer; font-weight: 600; font-size: .9rem; }
.catalog-notes li[b-mx55s8kuma] { margin: .6rem 0; }
.catalog-toolbar[b-mx55s8kuma], .catalog-pagination[b-mx55s8kuma] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0; }
.catalog-toolbar label[b-mx55s8kuma] { display: flex; align-items: center; gap: .7rem; }
.catalog-cards[b-mx55s8kuma] { display: grid; gap: 1rem; }
.catalog-card[b-mx55s8kuma] { border: 1px solid #e5e0d8; border-radius: var(--cx-radius-surface); padding: 1.25rem; min-width: 0; }
.catalog-card-head[b-mx55s8kuma] { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.catalog-choice[b-mx55s8kuma] { display: flex; align-items: flex-start; gap: .6rem; min-width: 0; flex: 1; }
.catalog-choice input[b-mx55s8kuma] { margin-top: .3rem; flex-shrink: 0; }
.catalog-choice span[b-mx55s8kuma] { min-width: 0; }
.catalog-choice strong[b-mx55s8kuma] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.05rem; line-height: 1.45; }
.catalog-choice small[b-mx55s8kuma] { display: block; color: #806744; margin-bottom: .3rem; }
.catalog-price[b-mx55s8kuma] { text-align: right; flex-shrink: 0; }
.catalog-price strong[b-mx55s8kuma] { display: block; font-size: 1.2rem; }
.catalog-price small[b-mx55s8kuma] { color: #706b63; }
.catalog-text[b-mx55s8kuma] { padding: 1rem; border-radius: var(--cx-radius-surface); background: #f8f7f4; margin: .8rem 0; }
.catalog-text > small[b-mx55s8kuma] { font-size: .7rem; letter-spacing: .08em; color: #706b63; font-weight: 600; }
.catalog-preview[b-mx55s8kuma] { margin-top: .6rem; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-preview-collapsed[b-mx55s8kuma] { max-height: 7.5rem; overflow: hidden; mask-image: linear-gradient(to bottom, black 65%, transparent); }
.catalog-text-toggle[b-mx55s8kuma] { display: block; border: 0; background: transparent; color: #9a4e17; font-weight: 600; padding: .5rem 0 0; cursor: pointer; }
.catalog-preview[b-mx55s8kuma]  mark { border-radius: var(--cx-radius-control); padding: .1rem .25rem; background: #efe8fa; color: #65449a; }
.catalog-preview[b-mx55s8kuma]  p { margin: .4rem 0; }
.catalog-variables[b-mx55s8kuma] { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .8rem 0; }
.catalog-variables span[b-mx55s8kuma] { padding: .4rem .6rem; background: #f3eef9; border-radius: var(--cx-radius-control); font-size: .85rem; }
.catalog-card-foot[b-mx55s8kuma] { border-top: 1px solid #eee9e3; padding-top: .8rem; margin-top: .8rem; }
.catalog-evidence[b-mx55s8kuma] { color: #6e675c; }
.catalog-review-hint[b-mx55s8kuma] { font-size: .85rem; color: #84643b; }
.catalog-plan[b-mx55s8kuma] { border: 1px solid #e5e0d8; border-radius: var(--cx-radius-surface); padding: 1.25rem; margin: 1rem 0; }
.catalog-plan h3[b-mx55s8kuma] { margin: 0 0 1rem; font-size: 1.1rem; }
.catalog-folders[b-mx55s8kuma] { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem 1.5rem; }
.catalog-folders li[b-mx55s8kuma] { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid #eee9e3; }
.catalog-folders strong[b-mx55s8kuma] { color: #9a4e17; }
.catalog-details[b-mx55s8kuma] { margin: 1rem 0; }
.catalog-details > summary[b-mx55s8kuma] { padding: .75rem 0; color: #655f57; }
.catalog-evidence p[b-mx55s8kuma] { overflow-wrap: anywhere; }
@media (max-width: 650px) { .catalog-card-head[b-mx55s8kuma] { flex-direction: column; } .catalog-price[b-mx55s8kuma] { text-align: left; margin-left: 1.7rem; } .catalog-card[b-mx55s8kuma] { padding: 1rem; } .catalog-toolbar label[b-mx55s8kuma] { flex-direction: column; align-items: flex-start; } }
/* _content/CraftX.Web/Components/Pages/Admin/Altdaten/Wiso/WisoOpenItemsBlock.razor.rz.scp.css */
.invoice-heading[b-ofna7tmwm8] { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.invoice-heading input[b-ofna7tmwm8] { margin-top: 4px; flex-shrink: 0; }
.invoice-heading strong[b-ofna7tmwm8] { font-size: 16px; }
.invoice-reference[b-ofna7tmwm8] { display: block; color: var(--cx-text-secondary); font-size: 13px; margin-top: 3px; }
.invoice-meta[b-ofna7tmwm8] { color: var(--cx-text-muted); font-size: 13px; margin: 8px 0; }
.invoice-amounts[b-ofna7tmwm8] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.invoice-amounts dt[b-ofna7tmwm8] { font-size: 12px; color: var(--cx-text-secondary); font-weight: 400; margin-bottom: 4px; }
.invoice-amounts dd[b-ofna7tmwm8] { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.invoice-outstanding dd[b-ofna7tmwm8] { color: var(--copper, var(--cx-primary)); }
.invoice-original[b-ofna7tmwm8] { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; margin-right: 16px; font-size: 13px; }
@media (max-width: 600px) {
    .invoice-amounts[b-ofna7tmwm8] { grid-template-columns: 1fr; gap: 10px; }
    .invoice-amounts > div[b-ofna7tmwm8] { display: flex; justify-content: space-between; gap: 12px; }
    .invoice-amounts dd[b-ofna7tmwm8] { text-align: right; }
}
/* _content/CraftX.Web/Components/Pages/Admin/DocumentDesigner.razor.rz.scp.css */
/* ── Dokumentdesign studio: full-width two-pane layout ─────────────────── */

.dd-page[b-ztldtt83we] {
    padding: 1.25rem 1.5rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

/* Topbar */
.dd-topbar[b-ztldtt83we] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.dd-back[b-ztldtt83we] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dd-back:hover[b-ztldtt83we] {
    border-color: var(--cx-text-muted);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.dd-topbar-title[b-ztldtt83we] {
    flex: 1 1 auto;
    min-width: 0;
}

.dd-topbar-title h1[b-ztldtt83we] {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cx-text-primary);
}

.dd-topbar-title p[b-ztldtt83we] {
    margin: 0.125rem 0 0;
    font-size: 0.875rem;
    color: var(--cx-text-secondary);
}

.dd-topbar-actions[b-ztldtt83we] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.dd-dirty-hint[b-ztldtt83we] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
    white-space: nowrap;
}

.dd-dirty-hint i[b-ztldtt83we] {
    font-size: 0.45rem;
    color: var(--cx-warning, #f59e0b);
}

.dd-loading[b-ztldtt83we] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
}

/* Two-pane layout: fixed controls column, preview takes the rest */
.dd-layout[b-ztldtt83we] {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Controls column */
.dd-variant-group[b-ztldtt83we] {
    margin-bottom: 1.25rem;
}

.dd-variant-group-label[b-ztldtt83we] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cx-text-primary);
    margin-bottom: 0.625rem;
}

.dd-variant-group-label i[b-ztldtt83we] {
    color: var(--cx-text-secondary);
}

.dd-variant-options[b-ztldtt83we] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dd-variant-card[b-ztldtt83we] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.875rem;
    border: 2px solid var(--cx-border);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    cursor: pointer;
    transition: all 0.15s ease;
}

.dd-variant-card:hover[b-ztldtt83we] {
    border-color: var(--cx-text-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dd-variant-card.selected[b-ztldtt83we] {
    border-color: var(--cx-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.dd-variant-card-icon[b-ztldtt83we] {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--cx-radius-control);
    background: linear-gradient(135deg, var(--cx-primary-light), var(--cx-border));
    color: var(--cx-primary-hover);
    font-size: 1.05rem;
}

.dd-variant-card-text[b-ztldtt83we] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.dd-variant-card-title[b-ztldtt83we] {
    font-weight: 600;
    color: var(--cx-text-primary);
    font-size: 0.9rem;
}

.dd-variant-card-desc[b-ztldtt83we] {
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
    line-height: 1.3;
}

.dd-variant-card-check[b-ztldtt83we] {
    margin-left: auto;
    color: var(--cx-primary);
    font-size: 1.1rem;
}

.dd-controls-note[b-ztldtt83we] {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0.875rem;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-primary-light, rgba(59, 130, 246, 0.08));
    color: var(--cx-text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.dd-controls-note i[b-ztldtt83we] {
    color: var(--cx-primary);
    margin-top: 0.1rem;
}

/* Preview pane */
.dd-preview[b-ztldtt83we] {
    position: sticky;
    top: 1rem;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    overflow: hidden;
}

.dd-preview-header[b-ztldtt83we] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cx-border);
}

.dd-preview-title[b-ztldtt83we] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cx-text-primary);
    margin-right: auto;
}

.dd-preview-kind[b-ztldtt83we] {
    display: inline-flex;
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
}

.dd-kind-btn[b-ztldtt83we] {
    padding: 0.35rem 0.9rem;
    border: none;
    background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dd-kind-btn + .dd-kind-btn[b-ztldtt83we] {
    border-left: 1px solid var(--cx-border);
}

.dd-kind-btn.active[b-ztldtt83we] {
    background: var(--cx-primary);
    color: #fff;
}

.dd-preview-body[b-ztldtt83we] {
    padding: 1rem;
    background: var(--light-gray, #f3f4f6);
    display: flex;
    justify-content: center;
}

/* True A4 proportions (210:297); width comes from the pane, height follows. */
.dd-preview-frame[b-ztldtt83we] {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 210 / 297;
    height: auto;
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-surface);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.dd-preview-placeholder[b-ztldtt83we] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
}

/* Stack on narrow screens; preview stops being sticky */
@media (max-width: 1100px) {
    .dd-layout[b-ztldtt83we] {
        grid-template-columns: 1fr;
    }

    .dd-preview[b-ztldtt83we] {
        position: static;
    }
}
/* _content/CraftX.Web/Components/Pages/Admin/Dunning/DunningPresetPicker.razor.rz.scp.css */
.dpp-title[b-0b301358sl] { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.dpp-cards[b-0b301358sl] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dpp-card[b-0b301358sl] { position: relative; text-align: left; border: 2px solid rgba(28,25,21,.14); border-radius: var(--cx-radius-surface); background: #fff;
            padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit; color: inherit; }
.dpp-card:hover[b-0b301358sl] { border-color: rgba(184,96,31,.45); }
.dpp-card:focus-visible[b-0b301358sl] { outline: none; box-shadow: 0 0 0 3px rgba(184,96,31,.25); }
.dpp-card.sel[b-0b301358sl] { border-color: var(--copper); background: var(--copper-50); }
.dpp-t[b-0b301358sl] { font-family: var(--font-display); font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; padding-right: 26px; }
.dpp-t small[b-0b301358sl] { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
               color: #3F7D5B; background: var(--success-50); padding: 2px 7px; border-radius: var(--cx-radius-control); }
.dpp-d[b-0b301358sl] { font-size: 13px; color: var(--walnut); line-height: 1.4; }
.dpp-ck[b-0b301358sl] { position: absolute; top: 12px; right: 12px; color: var(--copper); font-size: 22px; }
.dpp-own[b-0b301358sl] { margin-top: 12px; padding: 8px 12px; border-radius: var(--cx-radius-surface); background: var(--warning-50); color: #A97514; font-size: 13px;
           font-weight: 500; display: flex; gap: 6px; align-items: center; }
.dpp-own .material-icons-outlined[b-0b301358sl] { font-size: 18px; }
.dpp-toggle[b-0b301358sl] { border: 0; background: none; color: var(--copper-dark); font-weight: 600; cursor: pointer; padding: 0; margin-top: 18px;
              display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 600; }
.dpp-toggle:hover[b-0b301358sl] { text-decoration: underline; }
.dpp-toggle .material-icons-outlined[b-0b301358sl] { font-size: 20px; }
.dpp-fine[b-0b301358sl] { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--hairline); }

@media (max-width: 760px) {
    .dpp-cards[b-0b301358sl] { grid-template-columns: 1fr; }
}
/* _content/CraftX.Web/Components/Pages/Admin/Dunning/DunningStageList.razor.rz.scp.css */
.dsl[b-tza07zv7hy] { position: relative; display: grid; grid-template-columns: 18px minmax(110px, 1fr) auto auto auto; column-gap: 12px; }
.dsl[b-tza07zv7hy]::before { content: ''; position: absolute; left: 8px; top: 20px; bottom: 20px; width: 2px; background: var(--hairline); }
.dsl-row[b-tza07zv7hy] { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; row-gap: 8px; align-items: center; padding: 11px 0; }
.dsl-row + .dsl-row[b-tza07zv7hy] { border-top: 1px solid var(--hairline-soft); }
.dsl-dot[b-tza07zv7hy] { width: 18px; height: 18px; border-radius: var(--cx-radius-round); border: 3px solid var(--ink); background: #fff; position: relative; z-index: 1; }
.dsl-dot.copper[b-tza07zv7hy] { border-color: var(--copper); background: var(--copper); }
.dsl-dot.grey[b-tza07zv7hy] { border-color: #C9C2B6; background: #F3F0EA; }
.dsl-name b[b-tza07zv7hy] { display: block; font-weight: 600; }
.dsl-row.office .dsl-name b[b-tza07zv7hy] { color: var(--walnut); }
.dsl-src[b-tza07zv7hy] { display: block; border: 0; background: none; padding: 0; font-size: 12px; color: var(--stone); text-align: left; cursor: pointer; }
.dsl-src:hover[b-tza07zv7hy] { color: var(--copper-dark); text-decoration: underline; }
/* „Zahlungsziel · 14 Tage (Zahlungsbedingungen)“: one line over name and middle. */
.dsl-term[b-tza07zv7hy] { grid-column: 2 / 4; color: var(--walnut); }
.dsl-term b[b-tza07zv7hy] { display: inline; color: var(--ink); }
.dsl-term .dsl-src[b-tza07zv7hy] { display: inline; font-size: inherit; color: var(--copper-dark); }
.dsl-mid[b-tza07zv7hy] { display: flex; align-items: center; gap: 6px; }
.dsl-muted[b-tza07zv7hy] { color: var(--stone); }
.dsl-lab[b-tza07zv7hy] { color: var(--walnut); }
.dsl-day[b-tza07zv7hy] { color: var(--walnut); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.dsl-day b[b-tza07zv7hy] { color: var(--ink); font-weight: 600; }
.dsl-shift[b-tza07zv7hy] { display: block; color: var(--stone); font-size: 11.5px; }
.dsl-stepper[b-tza07zv7hy] { flex: none; }

.dsl-stepper[b-tza07zv7hy] { display: inline-flex; align-items: stretch; border: 1px solid rgba(28,25,21,.14); border-radius: var(--cx-radius-control); overflow: hidden; background: #fff; height: 32px; }
.dsl-stepper button[b-tza07zv7hy] { width: 30px; border: 0; background: var(--paper-2); cursor: pointer; font-size: 16px; color: var(--walnut); }
.dsl-stepper button:hover:not(:disabled)[b-tza07zv7hy] { background: var(--sand); color: var(--ink); }
.dsl-stepper button:disabled[b-tza07zv7hy] { color: #C9C2B6; cursor: default; }
.dsl-stepper input[b-tza07zv7hy] { width: 44px; border: 0; text-align: center; font-weight: 600; font-family: var(--font-mono); font-size: 13.5px; background: #fff; }
.dsl-stepper input:focus[b-tza07zv7hy] { outline: none; box-shadow: inset var(--cx-focus-ring); }

/* The switch is CxSwitch; its text beside it is its label (a click on it switches, as before). */
.dsl-who[b-tza07zv7hy] { display: flex; align-items: center; gap: 8px; }
.dsl-who-txt[b-tza07zv7hy] { font-size: 13px; color: var(--walnut); white-space: nowrap; cursor: pointer; margin: 0; }
.dsl-who-txt.on[b-tza07zv7hy] { color: var(--copper-dark); font-weight: 600; }

.dsl-foot[b-tza07zv7hy] { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); color: var(--walnut); display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }

/* Phone: line by line, number and switch under the name. */
@media (max-width: 760px) {
    .dsl[b-tza07zv7hy] { display: block; }
    .dsl-row[b-tza07zv7hy] { grid-template-columns: 18px 1fr; column-gap: 12px; }
    .dsl-mid[b-tza07zv7hy], .dsl-day[b-tza07zv7hy], .dsl-who[b-tza07zv7hy], .dsl-term[b-tza07zv7hy] { grid-column: 2; }
    .dsl-mid[b-tza07zv7hy] { flex-wrap: wrap; }
    .dsl-day[b-tza07zv7hy] { text-align: left; }
    .dsl-shift[b-tza07zv7hy] { display: inline; margin-left: 2px; }
    .dsl[b-tza07zv7hy]::before { top: 24px; bottom: 60px; }
}
/* _content/CraftX.Web/Components/Pages/Admin/Dunning/DunningTimeline.razor.rz.scp.css */
.dtl[b-euxn0sil86] { margin-top: 18px; padding: 16px 18px 14px; background: var(--paper); border-radius: var(--cx-radius-surface); border: 1px solid var(--hairline); }
.dtl-head[b-euxn0sil86] { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-weight: 600; margin-bottom: 18px; }
.dtl-strip[b-euxn0sil86] { display: flex; justify-content: space-between; position: relative; gap: 4px; list-style: none; margin: 0; padding: 0; }
.dtl-strip[b-euxn0sil86]::before { content: ''; position: absolute; left: 8%; right: 8%; top: 7px; height: 2px; background: var(--hairline); }
.dtl-pt[b-euxn0sil86] { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; flex: 1; min-width: 0; }
.dtl-pt i[b-euxn0sil86] { width: 16px; height: 16px; border-radius: var(--cx-radius-round); border: 3px solid var(--ink); background: #fff; z-index: 1; margin-bottom: 6px; }
.dtl-pt.auto i[b-euxn0sil86] { border-color: var(--copper); background: var(--copper); }
.dtl-pt.office i[b-euxn0sil86] { border-color: #C9C2B6; background: #F3F0EA; }
.dtl-pt b[b-euxn0sil86] { font-size: 13px; font-weight: 600; }
.dtl-pt.office b[b-euxn0sil86] { color: var(--walnut); }
.dtl-pt span[b-euxn0sil86] { font-size: 12.5px; color: var(--walnut); font-variant-numeric: tabular-nums; }
.dtl-pt em[b-euxn0sil86] { font-style: normal; font-size: 11px; color: var(--stone); }
.dtl-pt.auto em[b-euxn0sil86] { color: var(--copper-dark); font-weight: 600; }
.dtl-shift[b-euxn0sil86] { display: block; font-size: 11px; color: var(--stone); }
.dtl-note[b-euxn0sil86] { margin: 14px 0 0; padding: 8px 12px; border-radius: var(--cx-radius-surface); background: var(--paper-2); color: var(--walnut); font-size: 13px; }

/* Narrow (phone, or the settings column on a small screen): one point per line, the line on the left. */
@media (max-width: 640px) {
    .dtl-strip[b-euxn0sil86] { flex-direction: column; gap: 14px; padding-left: 30px; }
    .dtl-strip[b-euxn0sil86]::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
    .dtl-pt[b-euxn0sil86] { flex-direction: row; align-items: baseline; gap: 4px 10px; text-align: left; flex-wrap: wrap; }
    .dtl-pt i[b-euxn0sil86] { position: absolute; left: -30px; top: 0; margin: 0; }
    .dtl-shift[b-euxn0sil86] { display: inline; }
}
/* _content/CraftX.Web/Components/Pages/Admin/Protocols/ProtocolTemplateDesigner.razor.rz.scp.css */
.ptd[b-if0sez8r0z] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ptd-back[b-if0sez8r0z] {
    margin-left: -8px;
}

.ptd-head[b-if0sez8r0z] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Grows beside the actions while there is room; below ~240 px of text the actions wrap under it instead of squeezing it. */
.ptd-head-main[b-if0sez8r0z] {
    flex: 1 1 240px;
    min-width: 0;
}

.ptd-title[b-if0sez8r0z] {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -.01em;
    color: var(--ink);
}

.ptd-meta[b-if0sez8r0z] {
    font-size: 12.5px;
    color: var(--stone, #6b6259);
    margin-top: 2px;
}

.ptd-note[b-if0sez8r0z],
.ptd-result[b-if0sez8r0z] {
    margin: 0;
}

.ptd-result .btn[b-if0sez8r0z] {
    margin-left: auto;
    flex-shrink: 0;
}

.ptd-json[b-if0sez8r0z] {
    border-top: 1px solid var(--hairline, rgba(28,25,21,.08));
    padding-top: 10px;
}

.ptd-json-toggle[b-if0sez8r0z] {
    margin-left: -8px;
}

.ptd-json-body[b-if0sez8r0z] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.ptd-hint[b-if0sez8r0z] {
    font-size: 12.5px;
    color: var(--stone, #6b6259);
    line-height: 1.5;
    max-width: 72ch;
    margin: 0;
}

.ptd-json-input[b-if0sez8r0z] {
    width: 100%;
    min-height: 260px;
    padding: 10px 12px;
    border-radius: var(--cx-radius-control);
    border: var(--cx-field-border);
    background: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink);
    resize: vertical;
    tab-size: 2;
}

.ptd-json-input:focus[b-if0sez8r0z] {
    outline: none;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.ptd-json-input:disabled[b-if0sez8r0z] {
    background: var(--paper-2, #faf8f5);
}

.ptd-json-actions[b-if0sez8r0z] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ptd-errors[b-if0sez8r0z] {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--cx-danger);
}

.ptd-changes[b-if0sez8r0z] {
    padding: 10px 14px;
    border-radius: var(--cx-radius-surface);
    border: 1px solid var(--hairline, rgba(28,25,21,.08));
    background: var(--paper-2, #faf8f5);
    font-size: 13px;
    line-height: 1.5;
    color: var(--walnut, #4a4038);
}

.ptd-changes-title[b-if0sez8r0z] {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.ptd-changes ul[b-if0sez8r0z] {
    margin: 0;
    padding-left: 18px;
}

.ptd-change-label[b-if0sez8r0z] {
    font-weight: 600;
}

/* „Kopfzeile auf jeder Seite“: one checkbox per field printed on every page of the PDF. */
.ptd-repeat[b-if0sez8r0z] {
    border-top: 1px solid var(--hairline, rgba(28,25,21,.08));
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ptd-repeat-title[b-if0sez8r0z] {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink);
}

.ptd-repeat-list[b-if0sez8r0z] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ptd-repeat-field[b-if0sez8r0z] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}

.ptd-repeat-field input[b-if0sez8r0z] {
    margin-top: 3px;
}

.ptd-repeat-block[b-if0sez8r0z] {
    color: var(--stone, #6b6259);
}
/* _content/CraftX.Web/Components/Pages/Admin/Protocols/ProtocolTemplateImportDialog.razor.rz.scp.css */
/* „Vorlage aus PDF/Foto“ (ProtocolTemplateImportDialog): own scrim + modal in the z-band 5040/5050 — above Syncfusion
   dialog containers (4999/5000), like .bad-scrim/.bad-modal (BobApprovalDialog) and .cxe-* in cx-catalog.css. On a phone
   the modal takes the whole screen; head and foot stay, the body scrolls. */

.cx-ptimport-scrim[b-7r4zohs3cy] {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.34);
    backdrop-filter: blur(2px);
    z-index: 5040;
    animation: cx-ptimport-fade-b-7r4zohs3cy 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes cx-ptimport-fade-b-7r4zohs3cy {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cx-ptimport-modal[b-7r4zohs3cy] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--cx-radius-surface);
    z-index: 5050;
    box-shadow: var(--shadow-xl, 0 28px 56px rgba(28, 25, 21, .18));
    font-family: var(--font-sans, inherit);
    color: var(--ink, #1C1915);
    overflow: hidden;
    outline: none;
    animation: cx-ptimport-in-b-7r4zohs3cy 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes cx-ptimport-in-b-7r4zohs3cy {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.cx-ptimport-head[b-7r4zohs3cy] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--hairline, rgba(28, 25, 21, .08));
}

.cx-ptimport-head-text[b-7r4zohs3cy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cx-ptimport-title[b-7r4zohs3cy] {
    font-size: 18px;
    font-weight: 700;
}

.cx-ptimport-subtitle[b-7r4zohs3cy] {
    font-size: 13px;
    color: var(--walnut, #4A443C);
}

.cx-ptimport-close[b-7r4zohs3cy] {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--walnut, #4A443C);
    cursor: pointer;
}

.cx-ptimport-close:hover:not(:disabled)[b-7r4zohs3cy] {
    background: var(--sand, #F0ECE4);
}

.cx-ptimport-close:disabled[b-7r4zohs3cy] {
    opacity: .55;
    cursor: default;
}

.cx-ptimport-body[b-7r4zohs3cy] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px;
}

.cx-ptimport-upload[b-7r4zohs3cy] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cx-ptimport-upload[hidden][b-7r4zohs3cy] {
    display: none;
}

.cx-ptimport-notice[b-7r4zohs3cy],
.cx-ptimport-error[b-7r4zohs3cy] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: var(--cx-radius-surface);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cx-ptimport-notice[b-7r4zohs3cy] {
    background: var(--sand, #F0ECE4);
    color: var(--walnut, #4A443C);
}

.cx-ptimport-notice.warn[b-7r4zohs3cy] {
    background: var(--warning-50, #FAF1DE);
    color: var(--ink, #1C1915);
}

.cx-ptimport-error[b-7r4zohs3cy] {
    background: var(--danger-50, #F7E7E5);
    color: var(--cx-danger, #9A3B33);
}

.cx-ptimport-errorlist[b-7r4zohs3cy] {
    margin: 6px 0 0;
    padding-left: 18px;
}

.cx-ptimport-check[b-7r4zohs3cy] {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.cx-ptimport-check input[b-7r4zohs3cy] {
    width: 18px;
    height: 18px;
    accent-color: var(--copper, #B8601F);
}

.cx-ptimport-field[b-7r4zohs3cy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cx-ptimport-field label[b-7r4zohs3cy] {
    font-size: 13px;
    font-weight: 600;
}

.cx-ptimport-optional[b-7r4zohs3cy] {
    font-weight: 400;
    color: var(--stone, #8E8679);
}

.cx-ptimport-field textarea[b-7r4zohs3cy] {
    width: 100%;
    min-height: 72px;
    padding: 10px 12px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    font: 400 14px var(--font-sans, inherit);
    color: var(--ink, #1C1915);
    resize: vertical;
}

.cx-ptimport-field textarea:focus-visible[b-7r4zohs3cy] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.cx-ptimport-filerow[b-7r4zohs3cy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

/* The drop zone: the InputFile lies invisibly over all of it (pattern of DocumentStampPanel), so a click and a dropped file
   both land in it; it is a child component, hence ::deep. */
.cx-ptimport-file[b-7r4zohs3cy] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 120px;
    padding: 18px;
    border: 2px dashed var(--hairline-strong, rgba(28, 25, 21, .14));
    border-radius: var(--cx-radius-surface);
    background: var(--paper, #FAF7F2);
    color: var(--ink, #1C1915);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.cx-ptimport-file > .bi[b-7r4zohs3cy] {
    font-size: 28px;
    color: var(--copper, #B8601F);
}

.cx-ptimport-file-title[b-7r4zohs3cy] {
    font: 600 14px var(--font-sans, inherit);
}

.cx-ptimport-file-types[b-7r4zohs3cy] {
    font-size: 12px;
    color: var(--stone, #8E8679);
}

.cx-ptimport-file:hover:not(.is-disabled)[b-7r4zohs3cy],
.cx-ptimport-file.is-dragover[b-7r4zohs3cy] {
    border-color: var(--copper, #B8601F);
    background: var(--copper-50, #FBEFE5);
}

.cx-ptimport-file.is-disabled[b-7r4zohs3cy] {
    opacity: .55;
    cursor: default;
}

.cx-ptimport-file[b-7r4zohs3cy]  input[type=file] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Locked, the input takes no pointer: the drag events reach the zone, whose cancelled dragover and drop keep the browser
   from opening the file (some browsers send no events to a disabled control). */
.cx-ptimport-file[b-7r4zohs3cy]  input[type=file]:disabled {
    cursor: default;
    pointer-events: none;
}

.cx-ptimport-file:focus-within[b-7r4zohs3cy] {
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

.cx-ptimport-filehint[b-7r4zohs3cy] {
    font-size: 12px;
    color: var(--stone, #8E8679);
}

.cx-ptimport-working[b-7r4zohs3cy] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 12px;
    font-size: 14px;
    color: var(--walnut, #4A443C);
}

.cx-ptimport-notes[b-7r4zohs3cy] {
    padding: 10px 12px;
    border: 1px solid var(--hairline, rgba(28, 25, 21, .08));
    border-radius: var(--cx-radius-surface);
    font-size: 13px;
    color: var(--walnut, #4A443C);
    overflow-wrap: anywhere;
}

.cx-ptimport-notes-title[b-7r4zohs3cy] {
    font-weight: 600;
    color: var(--ink, #1C1915);
    margin-bottom: 4px;
}

.cx-ptimport-notes ul[b-7r4zohs3cy] {
    margin: 0;
    padding-left: 18px;
}

.cx-ptimport-foot[b-7r4zohs3cy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    background: var(--paper, #FAF7F2);
    border-top: 1px solid var(--hairline, rgba(28, 25, 21, .08));
}

.cx-ptimport-btn[b-7r4zohs3cy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--cx-radius-control);
    font: 600 14px var(--font-sans, inherit);
    cursor: pointer;
}

.cx-ptimport-btn.primary[b-7r4zohs3cy] {
    border: 0;
    background: var(--copper, #B8601F);
    color: #fff;
}

.cx-ptimport-btn.primary:hover:not(:disabled)[b-7r4zohs3cy] {
    background: var(--copper-dark, #8A4514);
}

.cx-ptimport-btn.ghost[b-7r4zohs3cy] {
    border: 1px solid var(--hairline-strong, rgba(28, 25, 21, .14));
    background: #fff;
    color: var(--ink, #1C1915);
}

.cx-ptimport-btn:disabled[b-7r4zohs3cy] {
    opacity: .55;
    cursor: default;
}

.cx-ptimport-btn:focus-visible[b-7r4zohs3cy],
.cx-ptimport-close:focus-visible[b-7r4zohs3cy] {
    outline: none;
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

@media (max-width: 576px) {
    .cx-ptimport-modal[b-7r4zohs3cy] {
        top: 0;
        left: 0;
        transform: none;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        animation: cx-ptimport-fade-b-7r4zohs3cy 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    .cx-ptimport-head[b-7r4zohs3cy],
    .cx-ptimport-foot[b-7r4zohs3cy] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cx-ptimport-body[b-7r4zohs3cy] {
        padding: 14px 16px;
    }

    .cx-ptimport-foot .cx-ptimport-btn[b-7r4zohs3cy] {
        flex: 1 1 auto;
    }
}
/* _content/CraftX.Web/Components/Pages/Admin/ProtocolTemplatesPanel.razor.rz.scp.css */
.ptp-empty[b-izdj8imtrw] {
    padding: 4px 0;
}

.ptp-empty p[b-izdj8imtrw] {
    font-size: 13.5px;
    color: var(--stone, #6b6259);
    line-height: 1.5;
    max-width: 62ch;
    margin: 0 0 12px;
}

.ptp-list[b-izdj8imtrw] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ptp-row[b-izdj8imtrw] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--cx-radius-surface);
    border: 1px solid var(--hairline, rgba(28,25,21,.08));
    background: #fff;
}

.ptp-row.archived[b-izdj8imtrw] {
    background: var(--paper-2, #faf8f5);
}

.ptp-row.archived .ptp-title[b-izdj8imtrw] {
    color: var(--stone, #6b6259);
}

.ptp-main[b-izdj8imtrw] {
    flex: 1;
    min-width: 0;
}

.ptp-title[b-izdj8imtrw] {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}

.ptp-meta[b-izdj8imtrw] {
    font-size: 12.5px;
    color: var(--stone, #6b6259);
    margin-top: 2px;
}

.ptp-missing[b-izdj8imtrw] {
    margin-top: 10px;
}

/* Entry points of the designer (Bob, PDF/Foto) above the list. */
.ptp-actions[b-izdj8imtrw] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ptp-ai-note[b-izdj8imtrw] {
    margin: -4px 0 12px;
}

.ptp-empty p.ptp-empty-bob[b-izdj8imtrw] {
    margin: 12px 0 0;
}

/* The title opens the template: a button that reads like the title. */
.ptp-open[b-izdj8imtrw] {
    display: block;
    max-width: 100%;
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

.ptp-open:hover[b-izdj8imtrw],
.ptp-open:focus-visible[b-izdj8imtrw] {
    color: var(--copper, #b8601f);
    text-decoration: underline;
}

/* Confirmation dialog: own scrim + modal (no SfDialog), same look as the leave dialog. */
.ptp-scrim[b-izdj8imtrw] {
    position: fixed;
    inset: 0;
    background: rgba(28,25,21,.34);
    backdrop-filter: blur(2px);
    z-index: 1140;
    animation: ptp-fade-b-izdj8imtrw .18s ease-out;
}

.ptp-modal[b-izdj8imtrw] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 94vw;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--paper, #fff);
    border-radius: var(--cx-radius-surface);
    z-index: 1150;
    box-shadow: var(--sh-xl, 0 24px 48px rgba(28,25,21,.18));
    animation: ptp-modalin-b-izdj8imtrw .24s ease-out;
}

@keyframes ptp-fade-b-izdj8imtrw {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ptp-modalin-b-izdj8imtrw {
    from { opacity: 0; transform: translate(-50%, -46%) scale(.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.ptp-modal-h[b-izdj8imtrw] {
    padding: 22px 24px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--hairline-soft, rgba(28,25,21,.06));
    position: relative;
}

.ptp-modal-h .mi[b-izdj8imtrw] {
    width: 42px;
    height: 42px;
    border-radius: var(--cx-radius-control);
    background: var(--copper-50, rgba(184,96,31,.1));
    color: var(--copper, #b8601f);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.ptp-modal-h .mt[b-izdj8imtrw] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}

.ptp-modal-h .ms[b-izdj8imtrw] {
    font-size: 13px;
    color: var(--walnut, #4a4038);
    margin-top: 3px;
}

.ptp-modal-close[b-izdj8imtrw] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    border: none;
    background: var(--sand, #f1ece5);
    display: grid;
    place-items: center;
    color: var(--walnut, #4a4038);
}

.ptp-modal-close:hover[b-izdj8imtrw] {
    background: var(--sand-2, #e8e1d7);
}

.ptp-modal-b[b-izdj8imtrw] {
    padding: 18px 24px 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--walnut, #4a4038);
}

.ptp-modal-b p[b-izdj8imtrw] {
    margin: 0 0 10px;
}

.ptp-modal-f[b-izdj8imtrw] {
    padding: 14px 24px;
    border-top: 1px solid var(--hairline-soft, rgba(28,25,21,.06));
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 576px) {
    .ptp-row[b-izdj8imtrw] {
        flex-wrap: wrap;
    }
}
/* _content/CraftX.Web/Components/Pages/Admin/TenantSettings.razor.rz.scp.css */
.tenant-settings-container[b-oghdthv88j] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tenant-settings-header[b-oghdthv88j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tenant-settings-title h1[b-oghdthv88j] {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: var(--cx-text-primary);
}

.tenant-settings-title p.lead[b-oghdthv88j] {
    margin: 0;
    color: var(--cx-text-secondary);
}

.tenant-completion[b-oghdthv88j] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-sm);
}

.progress-circle[b-oghdthv88j] {
    width: 60px;
    height: 60px;
    border-radius: var(--cx-radius-round);
    background: conic-gradient(var(--cx-primary) calc(var(--completion) * 1%), var(--cx-border) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle[b-oghdthv88j]::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: var(--cx-card-bg);
    border-radius: var(--cx-radius-round);
}

.progress-text[b-oghdthv88j] {
    position: relative;
    font-weight: bold;
    font-size: 1rem;
    color: var(--cx-text-primary);
}

.completion-text[b-oghdthv88j] {
    display: flex;
    flex-direction: column;
}

.completion-title[b-oghdthv88j] {
    font-weight: 600;
    margin: 0;
    color: var(--cx-text-primary);
}

.completion-status[b-oghdthv88j] {
    font-size: 0.9rem;
    margin: 0;
    color: var(--cx-text-secondary);
}

.tenant-settings-content[b-oghdthv88j] {
    background-color: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-sm);
}

.tenant-settings-content[b-oghdthv88j]  .e-tab-header {
    overflow: visible;
}

.tenant-settings-content[b-oghdthv88j]  .e-content {
    overflow: hidden;
}

.tab-content[b-oghdthv88j] {
    padding: 2rem;
}

.form-section[b-oghdthv88j] {
    margin-bottom: 2rem;
}

/* Section headers: a lightweight icon-chip treatment so every tab reads as
   consistently as the polished Design tab, without per-tab markup changes. */
.form-section h3[b-oghdthv88j] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.875rem;
    color: var(--cx-text-primary);
    border-bottom: 1px solid var(--cx-hairline);
}

.form-section h3 i[b-oghdthv88j] {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    font-size: 1.05rem;
    color: var(--cx-primary);
    background: var(--cx-primary-light);
    border-radius: var(--cx-radius-control);
}

/* Tint icons on section sub-headers (e.g. "NFC Tag", "Rechnungsverarbeitung").
   Targets only h4s that actually carry an icon, so the icon-less logo heading
   is untouched; excludes the AI tab's .category-title (its own purple icon). */
.form-section h4:not(.category-title) i[b-oghdthv88j] {
    color: var(--cx-primary);
}

/* Form controls: a brand-colored focus ring across all tabs (native inputs,
   selects, textareas). Label weight is intentionally left to Bootstrap/utility
   classes so existing fw-semibold labels keep their emphasis. */
.tab-content .form-control:focus[b-oghdthv88j],
.tab-content .form-select:focus[b-oghdthv88j],
.tab-content textarea.form-control:focus[b-oghdthv88j] {
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.tab-content .form-check-input:checked[b-oghdthv88j] {
    background-color: var(--cx-primary);
    border-color: var(--cx-primary);
}

.tab-content .form-check-input:focus[b-oghdthv88j] {
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.form-actions[b-oghdthv88j] {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cx-hairline);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.company-logo-container[b-oghdthv88j] {
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-logo-container h4[b-oghdthv88j] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--cx-text-primary);
}

.logo-preview[b-oghdthv88j] {
    width: 150px;
    height: 150px;
    border: 2px dashed var(--cx-border);
    border-radius: var(--cx-radius-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.logo-preview img[b-oghdthv88j] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder[b-oghdthv88j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cx-text-muted);
}

.logo-placeholder i[b-oghdthv88j] {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.color-preview[b-oghdthv88j] {
    width: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .tenant-settings-container[b-oghdthv88j] {
        padding: 1.5rem;
    }

    .tab-content[b-oghdthv88j] {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .tenant-settings-container[b-oghdthv88j] {
        padding: 1rem;
    }

    .tenant-settings-header[b-oghdthv88j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .tenant-completion[b-oghdthv88j] {
        width: 100%;
    }

    .tab-content[b-oghdthv88j] {
        padding: 1rem;
    }

    .form-actions[b-oghdthv88j] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions[b-oghdthv88j]  .e-btn {
        min-height: 44px;
    }
}

/* SyncFusion Tab styling */
[b-oghdthv88j] .tenant-tabs .e-tab-header {
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--cx-border);
}

[b-oghdthv88j] .tenant-tabs .e-tab-header .e-toolbar-item .e-tab-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--cx-text-secondary);
    padding: 0.75rem 1.25rem;
    transition: color 0.15s ease;
}

[b-oghdthv88j] .tenant-tabs .e-tab-header .e-toolbar-item:not(.e-active):hover .e-tab-text {
    color: var(--cx-text-primary);
}

[b-oghdthv88j] .tenant-tabs .e-tab-header .e-toolbar-item.e-active .e-tab-text {
    color: var(--cx-primary);
    font-weight: 600;
    position: relative;
}

[b-oghdthv88j] .tenant-tabs .e-tab-header .e-toolbar-item.e-active .e-tab-text:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--cx-primary);
}

/* ===================================================================
   Page-wide polish — shared surfaces so every tab feels consistent
   =================================================================== */

/* Completion card: subtle lift on hover */
.tenant-completion[b-oghdthv88j] {
    transition: box-shadow 0.2s ease;
}

.tenant-completion:hover[b-oghdthv88j] {
    box-shadow: var(--shadow-md);
}

/* Bootstrap cards used in the NFC, GoBD and AI-usage tabs — align with the
   design system (radius + soft shadow + tinted header). Border-color is left
   untouched so semantic utilities like .border-success keep working. */
.tab-content .card[b-oghdthv88j] {
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-sm);
}

.tab-content .card-header[b-oghdthv88j] {
    background: var(--light-gray);
    border-bottom: 1px solid var(--cx-hairline);
    font-weight: 600;
    color: var(--cx-text-primary);
}

/* Info banners: re-tint to the brand so the many "alert-info" hints across
   tabs read as part of the product rather than raw Bootstrap blue. */
.tab-content .alert[b-oghdthv88j] {
    border-radius: var(--cx-radius-surface);
}

.tab-content .alert-info[b-oghdthv88j] {
    background: var(--cx-primary-light);
    border-color: color-mix(in srgb, var(--cx-primary) 18%, transparent);
    color: var(--cx-text-primary);
}

.tab-content .alert-info i[b-oghdthv88j] {
    color: var(--cx-primary);
}

/* Unified stat cards. Previously defined in two competing, unscoped <style>
   blocks (and leaking app-wide). Consolidated here, scoped to this page. */
.ai-stats-summary[b-oghdthv88j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.stat-card[b-oghdthv88j] {
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-surface);
    padding: 1rem 1.25rem;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat-card:hover[b-oghdthv88j] {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.stat-card .stat-value[b-oghdthv88j] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cx-text-primary);
}

.stat-card .stat-label[b-oghdthv88j],
.stat-card .stat-title[b-oghdthv88j] {
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
}

.stat-card.success[b-oghdthv88j],
.stat-card.stat-ok[b-oghdthv88j] {
    background: var(--success-50);
    border-color: color-mix(in srgb, var(--cx-success) 35%, transparent);
}

.stat-card.error[b-oghdthv88j],
.stat-card.stat-danger[b-oghdthv88j] {
    background: var(--danger-50);
    border-color: color-mix(in srgb, var(--cx-danger) 35%, transparent);
}

.stat-card.success .stat-value[b-oghdthv88j],
.stat-card.stat-ok .stat-value[b-oghdthv88j] {
    color: var(--cx-success);
}

.stat-card.error .stat-value[b-oghdthv88j],
.stat-card.stat-danger .stat-value[b-oghdthv88j] {
    color: var(--cx-danger);
}

/* Tables (Ausgabenkategorien): lighter, more modern grid */
.tab-content .table > thead > tr > th[b-oghdthv88j] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--cx-text-secondary);
    border-bottom: 1px solid var(--cx-border);
}

.tab-content .table > tbody > tr > td[b-oghdthv88j] {
    vertical-align: middle;
}
/* _content/CraftX.Web/Components/Pages/Catalog/CatalogManager.razor.rz.scp.css */
/* Katalog (owner 14.11., design standard B/C/D): the shell of the incoming documents. Full width without page margins;
   the filter column on sand at the left, the list white in the middle, the detail column white at the right only while
   an entry is chosen. No cards or frames — surfaces divided by one strong hairline. The columns follow the width of
   .ckp-body (container ckp), not the window, because the sidebar may be open or closed:
   - below 760 px: filters above the list, the page scrolls;
   - from 760 px: filter column and list; a shown entry opens over the list at the right;
   - from 1000 px: three columns in the height left under the head, each column scrolls by itself. */

.ckp[b-vklinchr19] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--cx-content-bg);
}

.ckp-head[b-vklinchr19] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--cx-hairline-strong);
}

.ckp-title[b-vklinchr19] {
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--cx-text-primary);
}

.ckp-body[b-vklinchr19] {
    container: ckp / inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 420px;
}

.ckp-grid[b-vklinchr19] {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

/* ── Filter column ───────────────────────────────────────────────────── */

.ckp-filters[b-vklinchr19] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 10px;
    background: var(--sand);
    min-width: 0;
}

.ckp-kinds[b-vklinchr19] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ckp-fi[b-vklinchr19] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 38px;
    padding: 0 10px 0 14px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-primary);
    font: inherit;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.ckp-fi i[b-vklinchr19] {
    font-size: 18px;
    color: var(--cx-text-secondary);
}

.ckp-fi:hover[b-vklinchr19] {
    background: rgba(28, 25, 21, 0.05);
}

/* Rule 16: copper bar at the left, copper-tinted ground, dark copper bold; the icon in its filled shape. */
.ckp-fi.is-active[b-vklinchr19] {
    background: rgba(184, 96, 31, 0.18);
    color: var(--cx-primary-hover);
    font-weight: var(--fw-bold);
}

.ckp-fi.is-active[b-vklinchr19]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: var(--cx-radius-control) 0 0 var(--cx-radius-control);
    background: var(--cx-primary);
}

.ckp-fi.is-active i[b-vklinchr19] {
    color: var(--cx-primary-hover);
    font-family: "Phosphor-Fill" !important;
}

.ckp-fi-label[b-vklinchr19] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Rule 17: 0 pale without ground, > 0 dark text. */
.ckp-fi-count[b-vklinchr19] {
    min-width: 22px;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--cx-text-primary);
}

.ckp-fi.is-active .ckp-fi-count[b-vklinchr19] {
    color: var(--cx-primary-hover);
}

.ckp-fi-count.is-zero[b-vklinchr19] {
    font-weight: 500;
    color: var(--cx-text-muted);
}

.ckp-sep[b-vklinchr19] {
    height: 1px;
    margin: 8px 6px;
    background: var(--cx-hairline-strong);
}

.ckp-fhead[b-vklinchr19] {
    padding: 4px 14px;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cx-text-secondary);
}

/* The folder tree sits on the sand without its own card; its „Alle Einträge“ row is the „Alle“ above. */
.ckp-tree[b-vklinchr19]  .cx-ftree {
    padding: 0;
    border: 0;
    background: transparent;
}

.ckp-tree[b-vklinchr19]  .cx-ftree__row--root {
    display: none;
}

.ckp-tree[b-vklinchr19]  .cx-ftree__row {
    position: relative;
    min-height: 38px;
}

/* Folders without subfolders line up with the kinds above; the caret keeps its place where there is one. */
.ckp-tree[b-vklinchr19]  .cx-ftree__toggle:disabled {
    width: 4px;
}

.ckp-tree[b-vklinchr19]  .cx-ftree__node {
    font-size: 14px;
    font-weight: 500;
}

.ckp-tree[b-vklinchr19]  .cx-ftree__node i {
    font-size: 18px;
    color: var(--cx-text-secondary);
}

.ckp-tree[b-vklinchr19]  .cx-ftree__count {
    font-size: 12px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.ckp-tree[b-vklinchr19]  .cx-ftree__row:hover {
    background: rgba(28, 25, 21, 0.05);
}

.ckp-tree[b-vklinchr19]  .cx-ftree__row.is-active {
    background: rgba(184, 96, 31, 0.18);
}

.ckp-tree[b-vklinchr19]  .cx-ftree__row.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: var(--cx-radius-control) 0 0 var(--cx-radius-control);
    background: var(--cx-primary);
}

.ckp-tree[b-vklinchr19]  .cx-ftree__row.is-active .cx-ftree__node,
.ckp-tree[b-vklinchr19]  .cx-ftree__row.is-active .cx-ftree__node i,
.ckp-tree[b-vklinchr19]  .cx-ftree__row.is-active .cx-ftree__count {
    color: var(--cx-primary-hover);
    font-weight: var(--fw-bold);
}

/* Rule 49: secondary „+“ lines in text colour, copper only on hover. */
.ckp-tree[b-vklinchr19]  .cx-ftree__add {
    border: 0;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--cx-text-secondary);
}

.ckp-tree[b-vklinchr19]  .cx-ftree__add:hover {
    color: var(--cx-primary-hover);
}

/* ── List column ─────────────────────────────────────────────────────── */

.ckp-list[b-vklinchr19] {
    container: ckl / inline-size;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--cx-card-bg);
}

.ckp-toolbar[b-vklinchr19],
.ckp-bulk[b-vklinchr19] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    min-height: 57px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--cx-hairline);
}

.ckp-bulk[b-vklinchr19] {
    background: var(--sand);
}

.ckp-bulk-count[b-vklinchr19] {
    margin-right: 6px;
    font-weight: var(--fw-bold);
    white-space: nowrap;
}

.ckp-bulk-btn[b-vklinchr19],
.ckp-new-btn[b-vklinchr19] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* The page's one copper action, flat like the buttons of the shared page frame (design standard: no shadow).
   Scoped under the toolbar: the global `.btn.primary` (cx-widgets.css) has the same weight and loads later. */
.ckp-toolbar .ckp-new-btn[b-vklinchr19],
.ckp-toolbar .ckp-new-btn:hover[b-vklinchr19],
.ckp-toolbar .ckp-new-btn:active[b-vklinchr19] {
    margin-left: auto;
    box-shadow: none;
    transform: none;
}

.ckp-search[b-vklinchr19] {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    max-width: 520px;
    min-width: 0;
}

.ckp-search > i[b-vklinchr19] {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: var(--cx-text-muted);
    pointer-events: none;
}

.ckp-search[b-vklinchr19]  .ckp-search-field {
    width: 100%;
    height: 36px;
    padding: 0 34px 0 34px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    font: inherit;
}

.ckp-search[b-vklinchr19]  .ckp-search-field:focus {
    outline: none;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.ckp-search[b-vklinchr19]  .ckp-search-field::placeholder {
    color: var(--cx-placeholder-color);
}

.ckp-search-clear[b-vklinchr19] {
    position: absolute;
    right: 4px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-secondary);
}

.ckp-icon-btn[b-vklinchr19] {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-secondary);
    font-size: 18px;
    cursor: pointer;
}

.ckp-icon-btn:hover[b-vklinchr19] {
    background: var(--sand);
    color: var(--cx-text-primary);
}

/* Columns: choose · entry · price · unit · hours · tax · menu.
   The unit column holds the longest unit in use in full: „Pauschal“ needs 72px with the value's padding and border, and
   the list keeps that width when the detail column narrows it — the entry column gives way instead. */
.ckp-row[b-vklinchr19] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 116px 80px 60px 66px 32px;
    gap: 6px;
    align-items: center;
    position: relative;
    padding: 5px 10px;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

@container ckl (max-width: 640px) {
    .ckp-row[b-vklinchr19] {
        grid-template-columns: 24px minmax(0, 1fr) 108px 80px 32px;
    }

    .ckp-c-hours[b-vklinchr19],
    .ckp-c-tax[b-vklinchr19] {
        display: none;
    }

    .ckp-foot-hint[b-vklinchr19] {
        display: none;
    }
}

.ckp-rowhead[b-vklinchr19] {
    flex: none;
    min-height: 32px;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--cx-hairline);
    color: var(--cx-text-secondary);
    font-size: 12px;
}

.ckp-rowhead .ckp-c-price[b-vklinchr19],
.ckp-rowhead .ckp-c-hours[b-vklinchr19],
.ckp-rowhead .ckp-c-tax[b-vklinchr19] {
    padding-right: 7px;
    text-align: right;
}

.ckp-rowhead .ckp-c-main[b-vklinchr19],
.ckp-rowhead .ckp-c-unit[b-vklinchr19] {
    padding-left: 7px;
}

.ckp-rows[b-vklinchr19] {
    flex: 1 1 auto;
    min-height: 0;
}

.ckp-rows > .ckp-row[b-vklinchr19] {
    min-height: 50px;
    cursor: default;
    outline: none;
}

.ckp-rows > .ckp-row:hover[b-vklinchr19] {
    background: var(--cx-content-bg);
}

/* Rule 21/22: the shown entry on sand with a copper bar; chosen entries copper-tinted. */
.ckp-rows > .ckp-row.is-shown[b-vklinchr19] {
    background: var(--sand);
}

.ckp-rows > .ckp-row.is-shown[b-vklinchr19]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--cx-primary);
}

.ckp-rows > .ckp-row.is-picked[b-vklinchr19] {
    background: var(--cx-primary-soft);
}

.ckp-rows > .ckp-row.is-archived[b-vklinchr19]  .cxi-text {
    color: var(--cx-text-secondary);
}

.ckp-c-main[b-vklinchr19] {
    min-width: 0;
}

.ckp-c-price[b-vklinchr19],
.ckp-c-hours[b-vklinchr19],
.ckp-c-tax[b-vklinchr19] {
    text-align: right;
}

.ckp-c-menu[b-vklinchr19] {
    position: relative;
}

/* The box to choose appears on hover and stays while anything is chosen. */
.ckp-check[b-vklinchr19] {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    accent-color: var(--cx-primary);
    cursor: pointer;
    opacity: 0;
}

.ckp-row:hover .ckp-check[b-vklinchr19],
.ckp-check:focus-visible[b-vklinchr19],
.ckp-check:checked[b-vklinchr19],
.ckp-check.is-on[b-vklinchr19],
.ckp-rows.is-picking .ckp-check[b-vklinchr19] {
    opacity: 1;
}

.ckp-meta[b-vklinchr19] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding-left: 7px;
    color: var(--cx-text-secondary);
    font-size: 13px;
}

/* Name and short text take only the width of their text: the free rest of the cell chooses the row (a click on a value
   edits the value and does not choose the row). The open field takes the full width again. */
.ckp-c-main[b-vklinchr19] >  .cxi-text {
    width: auto;
    max-width: 100%;
}

.ckp-meta[b-vklinchr19]  .cxi-text {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
}

/* Second line of a row: the start of the Langtext, otherwise the folder. Read-only, one line. */
.ckp-desc[b-vklinchr19] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
}

.ckp-meta[b-vklinchr19]  .cxi-edit {
    flex: 1 1 auto;
    min-width: 0;
}

.ckp-rows > .ckp-row[data-row][b-vklinchr19] {
    cursor: pointer;
}

.ckp-rows > .ckp-row[b-vklinchr19]  button.cxi-text {
    cursor: text;
}

.ckp-mark[b-vklinchr19] {
    flex: none;
    padding: 1px 6px;
    border-radius: var(--cx-radius-control);
    background: var(--sand);
    color: var(--cx-text-secondary);
    font-size: 10.5px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ckp-mark[draggable="true"][b-vklinchr19] {
    cursor: grab;
}

.ckp-row.is-shown .ckp-mark[b-vklinchr19] {
    background: var(--cx-card-bg);
}

.ckp-chip[b-vklinchr19] {
    flex: none;
    padding: 0 6px;
    border: 1px solid var(--cx-hairline-strong);
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-secondary);
    font-size: 11px;
}

.ckp-path[b-vklinchr19] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.ckp-more[b-vklinchr19] {
    opacity: 0.7;
}

.ckp-row:hover .ckp-more[b-vklinchr19],
.ckp-more:focus-visible[b-vklinchr19] {
    opacity: 1;
}

.ckp-menu-backdrop[b-vklinchr19] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.ckp-menu[b-vklinchr19] {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    min-width: 230px;
    padding: 4px;
    border: 1px solid var(--cx-hairline-strong);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    box-shadow: 0 12px 28px rgba(28, 25, 21, 0.14);
}

.ckp-menu button[b-vklinchr19] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-primary);
    font: inherit;
    text-align: left;
}

.ckp-menu button:hover[b-vklinchr19] {
    background: var(--sand);
}

.ckp-menu button i[b-vklinchr19] {
    font-size: 16px;
    color: var(--cx-text-secondary);
}

/* New entry: a row at the top in edit state. */
.ckp-rows > .ckp-row.is-new[b-vklinchr19] {
    background: var(--cx-primary-soft);
}

.ckp-row.is-new .ckp-meta[b-vklinchr19] {
    padding: 4px 0 0;
}

.ckp-row[b-vklinchr19]  .ckp-new-control,
.ckp-row select.ckp-new-control[b-vklinchr19] {
    width: 100%;
    height: 30px;
    padding: 0 6px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
    font: inherit;
}

.ckp-row[b-vklinchr19]  .ckp-new-control:focus,
.ckp-row select.ckp-new-control:focus[b-vklinchr19] {
    outline: none;
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.ckp-row[b-vklinchr19]  .ckp-new-control::placeholder {
    color: var(--cx-placeholder-color);
}

.ckp-row[b-vklinchr19]  .ckp-new-name {
    font-weight: var(--fw-semibold);
}

.ckp-row[b-vklinchr19]  .ckp-new-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ckp-row select.ckp-new-type[b-vklinchr19] {
    width: auto;
    flex: none;
}

.ckp-new-hint[b-vklinchr19] {
    padding-left: 8px;
    font-size: 12.5px;
    white-space: nowrap;
}

.ckp-scope[b-vklinchr19] {
    padding: 8px 16px;
    border-bottom: 1px solid var(--cx-hairline);
    color: var(--cx-text-secondary);
    font-size: 13px;
}

.ckp-scope.is-warning[b-vklinchr19] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--warning-50);
    color: var(--cx-text-primary);
}

.ckp-scope.is-warning i[b-vklinchr19] {
    color: var(--cx-warning);
    font-size: 16px;
}

.ckp-row.is-skeleton[b-vklinchr19] {
    min-height: 54px;
}

.ckp-skel[b-vklinchr19],
.ckd-skel[b-vklinchr19] {
    display: block;
    height: 12px;
    border-radius: var(--cx-radius-control);
    background: var(--sand);
}

.ckd-skel[b-vklinchr19] {
    height: 72px;
}

.ckp-empty[b-vklinchr19] {
    padding: 48px 16px;
    color: var(--cx-text-secondary);
    text-align: center;
}

.ckp-empty-actions[b-vklinchr19] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ckp-foot[b-vklinchr19] {
    display: flex;
    flex: none;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    border-top: 1px solid var(--cx-hairline-strong);
    background: var(--cx-card-bg);
    color: var(--cx-text-secondary);
    font-size: 13px;
}

/* ── Detail column ───────────────────────────────────────────────────── */

.ckp-detail[b-vklinchr19] {
    min-width: 0;
    padding: 12px 16px 20px;
    background: var(--cx-card-bg);
}

.ckd-icons[b-vklinchr19] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ckd-icons > span[b-vklinchr19] {
    display: flex;
    gap: 4px;
}

.ckd-title[b-vklinchr19] {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: var(--fw-bold);
    text-align: center;
}

.ckd-title[b-vklinchr19]  .cxi-text {
    text-align: center;
    white-space: normal;
}

.ckd-sec[b-vklinchr19] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 8px;
    color: var(--cx-text-secondary);
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ckd-sec[b-vklinchr19]::before,
.ckd-sec[b-vklinchr19]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--cx-hairline-strong);
}

.ckd-kv[b-vklinchr19] {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 32px;
}

.ckd-kv > span:first-child[b-vklinchr19] {
    color: var(--cx-text-secondary);
}

.ckd-kv[b-vklinchr19]  .cxi-text,
.ckd-v[b-vklinchr19] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ckd-v[b-vklinchr19] {
    padding: 4px 7px;
}

.ckd-kv.is-big[b-vklinchr19]  .cxi-text {
    font-size: 20px;
    font-weight: var(--fw-bold);
}

/* Rule 47: segmented choice as tiles — warm-grey ground, the chosen one a white tile. */
.ckd-seg[b-vklinchr19] {
    display: inline-flex;
    justify-self: end;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--cx-hairline-strong);
    border-radius: var(--cx-radius-control);
    background: var(--cx-content-bg);
}

.ckd-seg button[b-vklinchr19] {
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 13px;
}

.ckd-seg button.is-on[b-vklinchr19] {
    background: var(--cx-card-bg);
    box-shadow: 0 1px 2px rgba(28, 25, 21, 0.14), 0 0 0 1px var(--cx-hairline-strong);
    color: var(--cx-text-primary);
    font-weight: var(--fw-bold);
}

.ckd-comp[b-vklinchr19] {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 5px 7px;
    border-bottom: 1px solid var(--cx-hairline-soft);
    font-size: 13px;
}

.ckd-comp span:first-child[b-vklinchr19] {
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.ckd-comp span:last-child[b-vklinchr19] {
    font-variant-numeric: tabular-nums;
}

/* Print preview: the entry as one position on a sheet lying on the viewer desk (design standard rule 42). */
.ckd-sheet[b-vklinchr19] {
    height: 150px;
    margin-top: 6px;
    padding: 10px;
    overflow: hidden;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-desk);
}

.ckd-paper[b-vklinchr19] {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    height: 100%;
    padding: 12px 14px;
    overflow: hidden;
    background: var(--cx-card-bg);
    box-shadow: var(--cx-shadow);
    color: var(--cx-text-primary);
    font-size: 12px;
}

.ckd-paper-pos[b-vklinchr19] {
    color: var(--cx-text-secondary);
}

.ckd-paper-line[b-vklinchr19] {
    font-weight: var(--fw-bold);
    overflow-wrap: anywhere;
}

.ckd-paper-long[b-vklinchr19] {
    margin-top: 2px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ckd-paper-num[b-vklinchr19] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ckd-sheetcap[b-vklinchr19] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 6px 2px 0;
    color: var(--cx-text-secondary);
    font-size: 12px;
}

/* Secondary action in text colour, copper only on hover (design standard rule 49). */
.ckd-sheet-edit[b-vklinchr19] {
    padding: 2px 4px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.ckd-sheet-edit:hover[b-vklinchr19] {
    color: var(--cx-primary-hover);
}

.ckd-sheet-edit:focus-visible[b-vklinchr19] {
    outline: none;
    box-shadow: var(--cx-focus-ring);
}

.ckd-all[b-vklinchr19] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 18px;
}

.ckd-sum-title[b-vklinchr19] {
    margin: 4px 0;
    font-size: 16px;
    font-weight: var(--fw-bold);
}

.ckd-sum-kinds[b-vklinchr19] {
    margin: 0 0 8px;
    color: var(--cx-text-secondary);
}

.ckd-sum-list[b-vklinchr19] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ckd-sum-list li[b-vklinchr19] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 4px;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.ckd-sum-list li span:last-child[b-vklinchr19] {
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ckd-sum-more[b-vklinchr19] {
    padding: 6px 4px;
    color: var(--cx-text-secondary);
}

/* ── Widths ──────────────────────────────────────────────────────────── */

/* Below 1000 px the shown entry opens over the list at the right edge. */
@container ckp (max-width: 999px) {
    .ckp-detail[b-vklinchr19] {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 25;
        width: min(400px, 100%);
        overflow-y: auto;
        border-left: 1px solid var(--cx-hairline-strong);
        box-shadow: -12px 0 32px rgba(28, 25, 21, 0.14);
    }
}

@container ckp (min-width: 760px) {
    .ckp-grid[b-vklinchr19] {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .ckp-filters[b-vklinchr19] {
        border-right: 1px solid var(--cx-hairline-strong);
    }
}

@container ckp (min-width: 1000px) {
    .ckp-grid[b-vklinchr19] {
        position: absolute;
        inset: 0;
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .ckp-grid.has-detail[b-vklinchr19] {
        grid-template-columns: 220px minmax(0, 1fr) 340px;
    }

    .ckp-filters[b-vklinchr19],
    .ckp-detail[b-vklinchr19] {
        overflow-y: auto;
    }

    .ckp-list[b-vklinchr19] {
        overflow: hidden;
    }

    .ckp-rows[b-vklinchr19] {
        overflow-y: auto;
    }

    .ckp-detail[b-vklinchr19] {
        border-left: 1px solid var(--cx-hairline-strong);
    }
}

@container ckp (min-width: 1200px) {
    .ckp-grid[b-vklinchr19] {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .ckp-grid.has-detail[b-vklinchr19] {
        grid-template-columns: 260px minmax(0, 1fr) 380px;
    }
}
/* _content/CraftX.Web/Components/Pages/Contacts/ContactsOverview.razor.rz.scp.css */
.contacts-page[b-yf1xtnyuam] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

[b-yf1xtnyuam] .cx-content-section {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

[b-yf1xtnyuam] .tab-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
/* _content/CraftX.Web/Components/Pages/Contacts/Customers/CustomerLettersManager.razor.rz.scp.css */
.cx-letters[b-qz6wj4v8k2] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cx-letters__head[b-qz6wj4v8k2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cx-letters__title[b-qz6wj4v8k2] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.cx-letters__loading[b-qz6wj4v8k2] {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.cx-letters__list[b-qz6wj4v8k2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cx-letters__item[b-qz6wj4v8k2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bs-border-color, #e2e2e2);
    border-radius: var(--cx-radius-surface);
    background: var(--bs-body-bg, #fff);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cx-letters__item:hover[b-qz6wj4v8k2] {
    border-color: #b9803d;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cx-letters__main[b-qz6wj4v8k2] {
    min-width: 0;
    flex: 1 1 auto;
}

.cx-letters__subject[b-qz6wj4v8k2] {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cx-letters__meta[b-qz6wj4v8k2] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
}

.cx-letters__sep[b-qz6wj4v8k2] {
    opacity: 0.5;
}

.cx-letters__actions[b-qz6wj4v8k2],
.cx-letters__confirm[b-qz6wj4v8k2] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
}
/* _content/CraftX.Web/Components/Pages/Expenditures/CashBookPage.razor.rz.scp.css */
/* ===== Page Wrapper ===== */
/*
 * Read-only notice for a user without Vollzugriff on Finanzen.
 *
 * Informational, not an error: nothing has gone wrong, this is simply what the page is for them.
 * Stated once at the top so the disabled controls below read as expected rather than as breakage.
 */
.cashbook-readonly-note[b-o0u3pph7ql] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--paper-2);
    border: 1px solid var(--cx-hairline);
    border-left: 3px solid var(--cx-text-muted);
    border-radius: var(--cx-radius-surface);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cx-text-secondary);
}

.cashbook-readonly-note > i[b-o0u3pph7ql] {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 15px;
    color: var(--cx-text-muted);
}

.cashbook-readonly-note strong[b-o0u3pph7ql] {
    color: var(--cx-text-primary);
}

/* Month-close status band: one line about the previous month, with the closing action
   inline — closing happens where the book is kept. */
/* Side and top margin come from the page frame (.cx-page-frame-row), so the band lines up with
   the head, the figures and the table. */
.cb-month-close[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--paper-2);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cx-text-secondary);
}

.cb-month-close.is-closed[b-o0u3pph7ql] {
    border-left: 3px solid var(--cx-success);
}

.cb-month-close.is-open[b-o0u3pph7ql] {
    border-left: 3px solid var(--cx-primary);
}

.cb-month-close > i[b-o0u3pph7ql] {
    flex: 0 0 auto;
    font-size: 16px;
    color: var(--cx-text-muted);
}

.cb-month-close.is-closed > i[b-o0u3pph7ql] {
    color: var(--cx-success);
}

.cb-month-close-text[b-o0u3pph7ql] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cb-month-close-text strong[b-o0u3pph7ql] {
    color: var(--cx-text-primary);
}

/* The way out of a sender hold, offered on the row that is held. */
.cashbook-sender-hold-btn.e-btn[b-o0u3pph7ql] {
    border-color: var(--cx-warning);
    color: var(--cx-warning);
}

.cashbook-sender-hold-btn.e-btn:hover[b-o0u3pph7ql] {
    background: var(--cx-warning);
    color: #fff;
}

.cash-book-page[b-o0u3pph7ql] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

/* ===== Upload Area (header) ===== */
.cb-upload-area[b-o0u3pph7ql] {
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
}

[b-o0u3pph7ql] .cb-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

/* ===== Stat Icon Colors ===== */
.cb-stat-balance[b-o0u3pph7ql]  .cx-stat-icon { background: var(--ai-50); color: var(--ai); }
.cb-stat-today[b-o0u3pph7ql]  .cx-stat-icon { background: var(--success-50); color: var(--cx-success); }
.cb-stat-pending[b-o0u3pph7ql]  .cx-stat-icon { background: var(--warning-50); color: var(--cx-warning); }

.cb-negative[b-o0u3pph7ql] {
    color: var(--cx-danger) !important;
}

.cb-pending[b-o0u3pph7ql] {
    color: var(--cx-warning) !important;
}

/* Also on hover: the page frame drops the hover shadow of the figure cards (0,3,0). */
.cx-stat-card.cb-highlight[b-o0u3pph7ql],
.cx-stat-card.cb-highlight:hover[b-o0u3pph7ql] {
    box-shadow: inset 3px 0 0 var(--cx-warning);
}

/* ===== Date Range Filter in Toolbar ===== */
/* Native <input type="date"> is used instead of SfDatePicker to avoid Syncfusion
   binding-timing issues when changes must trigger a grid reload. */
.cx-filter-date[b-o0u3pph7ql] {
    height: 34px;
    padding: 0 0.5rem;
    border-radius: var(--cx-radius-control);
    border: 1px solid var(--cx-border);
    background: var(--cx-card-bg);
    font-size: 0.8rem;
    color: var(--cx-text-primary);
    min-width: 140px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.cx-filter-date:focus[b-o0u3pph7ql],
.cx-filter-date:focus-within[b-o0u3pph7ql] {
    outline: none;
    border-color: var(--cx-primary);
    box-shadow: 0 0 0 2px rgba(44, 82, 130, 0.1);
}

.cx-filter-date-separator[b-o0u3pph7ql] {
    color: var(--cx-text-muted);
    font-weight: 500;
    padding: 0 0.25rem;
}

/* Quick month picker — give the month label room and a touch of emphasis so it reads
   as the primary, fast way to jump between months. */
.cx-filter-month[b-o0u3pph7ql] {
    min-width: 148px;
    font-weight: 500;
}

/* Free-text search: same chrome as the date inputs, wide enough for the placeholder. */
.cx-filter-search[b-o0u3pph7ql] {
    height: 34px;
    padding: 0 0.6rem;
    border-radius: var(--cx-radius-control);
    border: 1px solid var(--cx-border);
    background: var(--cx-card-bg);
    font-size: 0.8rem;
    color: var(--cx-text-primary);
    min-width: 260px;
    font-family: inherit;
    transition: border-color 0.15s;
}

.cx-filter-search:focus[b-o0u3pph7ql] {
    outline: none;
    border-color: var(--cx-primary);
    box-shadow: 0 0 0 2px rgba(44, 82, 130, 0.1);
}

.cx-filter-date:disabled[b-o0u3pph7ql],
.cx-filter-month:disabled[b-o0u3pph7ql] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Search result line above the ledger — tells the reader the month filter is off. */
.cashbook-search-hint[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    border-left: 3px solid var(--cx-primary);
    font-size: 0.85rem;
    color: var(--cx-text-primary);
}

.cashbook-search-hint .cx-clear-btn[b-o0u3pph7ql] {
    margin-left: auto;
}

/* ===== Collapsible Pending Vouchers ===== */
.pending-vouchers-section[b-o0u3pph7ql] {
    margin-bottom: 1rem;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    border-left: 3px solid var(--cx-warning);
}

.pending-header[b-o0u3pph7ql] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s;
}

.pending-header:hover[b-o0u3pph7ql] {
    background: var(--warning-50);
}

.pending-toggle[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--cx-text-primary);
}

.pending-toggle i[b-o0u3pph7ql] {
    color: var(--cx-warning);
}

.pending-badge[b-o0u3pph7ql] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-warning);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.pending-content[b-o0u3pph7ql] {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--warning-50);
}

/* ===== Entries Grid Section ===== */
.entries-section[b-o0u3pph7ql] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== Ledger Table ===== */
.cashbook-ledger[b-o0u3pph7ql] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.cashbook-table[b-o0u3pph7ql] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    table-layout: fixed;
}

.cashbook-table thead th[b-o0u3pph7ql] {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--cx-hairline);
}

.cashbook-table tbody td[b-o0u3pph7ql] {
    padding: 0.625rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--cx-hairline);
}

.cashbook-table tbody tr.cashbook-row:hover td[b-o0u3pph7ql] {
    background-color: var(--light-gray);
}

/* Column widths (table-layout: fixed) */
.cb-col-nr[b-o0u3pph7ql]       { width: 56px; text-align: center; }
.cb-col-date[b-o0u3pph7ql]     { width: 84px; white-space: nowrap; }
.cb-col-kind[b-o0u3pph7ql]     { width: 116px; }
.cb-col-desc[b-o0u3pph7ql]     { width: auto; }
.cb-col-amount[b-o0u3pph7ql]   { width: 110px; text-align: right; }
.cb-col-balance[b-o0u3pph7ql]  { width: 112px; text-align: right; }
.cb-col-category[b-o0u3pph7ql] { width: 120px; }
.cb-col-status[b-o0u3pph7ql]   { width: 160px; }
.cb-col-actions[b-o0u3pph7ql]  { width: 96px; text-align: center; }

.cb-col-nr[b-o0u3pph7ql] { color: var(--cx-text-muted); font-variant-numeric: tabular-nums; }

/* Storno indent marker in the description cell */
.storno-indent[b-o0u3pph7ql] {
    color: var(--cx-text-muted);
    margin-right: 0.25rem;
    font-size: 0.8rem;
}

/* ===== Description Cell ===== */
.description-cell[b-o0u3pph7ql] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    line-height: 1.3;
}

.description-text[b-o0u3pph7ql] {
    font-weight: 500;
    color: var(--cx-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.vendor-hint[b-o0u3pph7ql] {
    font-size: 0.7rem;
    color: var(--cx-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* ===== Amount + Balance Values ===== */
.amount-value[b-o0u3pph7ql],
.balance-value[b-o0u3pph7ql] {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-weight: 500;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.amount-positive[b-o0u3pph7ql] { color: var(--cx-success); }
.amount-negative[b-o0u3pph7ql] { color: var(--cx-danger); }

/* The Saldo is a neutral running total, not a gain/loss — keep it ink-coloured so it
   doesn't read as "good/bad"; only flag a (problematic) negative cash balance in red. */
.balance-value[b-o0u3pph7ql] { font-weight: 600; }
.balance-positive[b-o0u3pph7ql] { color: var(--cx-text-primary); }
.balance-negative[b-o0u3pph7ql] { color: var(--cx-danger); }

/* ===== Entry Kind Badges ===== */
.entry-kind-badge[b-o0u3pph7ql] {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: var(--cx-radius-control);
    text-align: center;
    min-width: 45px;
}

.kind-expense[b-o0u3pph7ql] { background: var(--danger-50); color: var(--cx-danger); }
.kind-revenue[b-o0u3pph7ql] { background: var(--success-50); color: var(--cx-success); }
/* A Storno is a counter-booking, not a business transaction of its own — neutral, not red/green */
.kind-storno[b-o0u3pph7ql] { background: var(--light-gray); color: var(--cx-text-secondary); }

/* ===== Correction context line (replaces the vendor hint on paired rows) ===== */
.correction-line[b-o0u3pph7ql] {
    font-size: 0.7rem;
    color: var(--cx-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

.cb-entry-link[b-o0u3pph7ql] {
    color: var(--cx-text-primary);
    font-weight: 600;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

.cb-entry-link:hover[b-o0u3pph7ql] { color: var(--cx-primary, var(--cx-text-primary)); text-decoration-style: solid; }

/* Target row after a jump from a correction link */
.cashbook-table tbody tr.cashbook-row-highlight td[b-o0u3pph7ql] {
    box-shadow: inset 0 0 0 1px var(--cx-primary, #8a5a2b);
}

.cashbook-table tbody tr.cashbook-row-highlight td:first-child[b-o0u3pph7ql] {
    box-shadow: inset 3px 0 0 0 var(--cx-primary, #8a5a2b), inset 0 0 0 1px var(--cx-primary, #8a5a2b);
}

/* The Storno amount only undoes another line — it is neither income nor a real expense */
.cashbook-table tbody tr.cashbook-row-storno td .amount-value[b-o0u3pph7ql] {
    color: var(--cx-text-muted);
}
.kind-banktransaction[b-o0u3pph7ql] { background: var(--info-50); color: var(--cx-info); }
.kind-bankdeposit[b-o0u3pph7ql] { background: var(--info-50); color: var(--cx-info); }
.kind-bankwithdrawal[b-o0u3pph7ql] { background: var(--info-50); color: var(--cx-info); }
.kind-employeeadvance[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.kind-employeerepayment[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.kind-privatedeposit[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.kind-privatewithdrawal[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.kind-internaltransfer[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.kind-initialbalance[b-o0u3pph7ql] { background: var(--warning-50); color: var(--cx-warning); }

/* ===== Category Badge ===== */
.category-badge[b-o0u3pph7ql] {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    background: transparent;
    color: var(--cx-text-secondary);
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ===== Status Badges ===== */
.status-cell[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.35rem;
}

.status-badge[b-o0u3pph7ql] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: var(--cx-radius-control);
}

.status-draft[b-o0u3pph7ql] { background: var(--warning-50); color: var(--cx-warning); }
.status-finalized[b-o0u3pph7ql] { background: var(--success-50); color: var(--cx-success); }
.status-corrected[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.status-correctionentry[b-o0u3pph7ql] { background: var(--danger-50); color: var(--cx-danger); }

/* ===== Pending Voucher Processing Status (KI pipeline) ===== */
.voucher-status[b-o0u3pph7ql] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: var(--cx-radius-control);
    white-space: nowrap;
}

.voucher-status i[b-o0u3pph7ql] {
    font-size: 0.75rem;
}

.vstatus-queued[b-o0u3pph7ql] { background: var(--paper-2); color: var(--cx-text-secondary); }
.vstatus-processing[b-o0u3pph7ql] { background: var(--ai-50); color: var(--ai); }
.vstatus-ready[b-o0u3pph7ql] { background: var(--success-50); color: var(--cx-success); }
.vstatus-failed[b-o0u3pph7ql] { background: var(--danger-50); color: var(--cx-danger); }

.voucher-status-spin[b-o0u3pph7ql] {
    animation: spin-b-o0u3pph7ql 1.2s linear infinite;
}

/* Upload button spinner — icon element is generated by Syncfusion, so ::deep */
[b-o0u3pph7ql] .cb-upload-area .cb-upload-spin {
    display: inline-block;
    animation: spin-b-o0u3pph7ql 1s linear infinite;
}

.doc-warning[b-o0u3pph7ql] {
    color: var(--cx-warning);
    font-size: 0.875rem;
}

.doc-replacement-icon[b-o0u3pph7ql] {
    color: var(--ai);
    font-size: 0.8rem;
}

.doc-invoice-icon[b-o0u3pph7ql] {
    color: var(--cx-info);
    font-size: 0.8rem;
}

/* ===== Action Buttons in Ledger ===== */
.action-buttons[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

[b-o0u3pph7ql] .cashbook-ledger .e-btn.e-small {
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
    min-width: unset;
}

[b-o0u3pph7ql] .cashbook-ledger .e-btn.e-small .e-btn-icon {
    font-size: 0.8rem;
}

/* ===== Loading States ===== */
.loading-overlay[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.loading-spinner[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
}

.spinning[b-o0u3pph7ql] {
    animation: spin-b-o0u3pph7ql 1s linear infinite;
}

@keyframes spin-b-o0u3pph7ql {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.grid-loading[b-o0u3pph7ql] {
    opacity: 0.6;
    pointer-events: none;
}

/* ===== Document Badges ===== */
.doc-badge[b-o0u3pph7ql] {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.4rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.7rem;
    font-weight: 600;
}

.doc-missing[b-o0u3pph7ql] {
    background-color: var(--warning-50);
    color: var(--cx-warning);
}

.doc-invoice[b-o0u3pph7ql] {
    background-color: var(--info-50);
    color: var(--cx-info);
}

.doc-replacement[b-o0u3pph7ql] {
    background-color: var(--ai-50);
    color: var(--ai);
}

/* ===== Month Section Header Band ===== */
.cb-month-band td[b-o0u3pph7ql] {
    background: var(--ai-50);
    border-bottom: 2px solid var(--cx-hairline) !important;
    padding: 0.5rem 0.75rem !important;
    position: sticky;
    top: 38px; /* sits just under the sticky column header row */
    z-index: 1;
}

.cb-month-band-inner[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    color: var(--cx-text-primary);
}

.cb-month-title[b-o0u3pph7ql] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-transform: capitalize;
}

.cb-month-title i[b-o0u3pph7ql] {
    color: var(--ai);
    font-size: 0.875rem;
}

.cb-month-count[b-o0u3pph7ql] {
    font-weight: 400;
    color: var(--cx-text-muted);
    font-size: 0.75rem;
}

/* Monatssaldo (net change for the month) */
.cb-month-net[b-o0u3pph7ql] {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.75rem;
    font-weight: 600;
}

.cb-month-net.is-positive[b-o0u3pph7ql] { color: var(--cx-success); }
.cb-month-net.is-negative[b-o0u3pph7ql] { color: var(--cx-danger); }

/* Drafts of this month: shown next to the net, but visibly outside the balance. */
.cb-month-pending[b-o0u3pph7ql] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--cx-warning);
    background: var(--warning-50);
    border-radius: var(--cx-radius-control);
    padding: 0.05rem 0.45rem;
    white-space: nowrap;
}

/* Finalized non-cash entries: never part of the Kassenbestand, so visibly neutral. */
.cb-month-noncash[b-o0u3pph7ql] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--cx-text-secondary, #6c757d);
    background: var(--cx-surface-2, #f1f3f5);
    border-radius: var(--cx-radius-control);
    padding: 0.05rem 0.45rem;
    white-space: nowrap;
}

/* Anfangsbestand -> Endbestand (opening / closing cash balance) */
.cb-month-balances[b-o0u3pph7ql] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--cx-text-secondary);
    white-space: nowrap;
}

.cb-month-balances i[b-o0u3pph7ql] {
    color: var(--cx-text-muted);
}

.cb-mb strong[b-o0u3pph7ql] {
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--cx-text-primary);
}

.cb-mb-end strong[b-o0u3pph7ql] {
    color: var(--cx-text-primary);
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .description-text[b-o0u3pph7ql] {
        max-width: 200px;
    }
}

@media (max-width: 640px) {
    .entries-section[b-o0u3pph7ql],
    .pending-vouchers-section[b-o0u3pph7ql] {
        border-radius: 0;
    }

    .pending-header[b-o0u3pph7ql] {
        padding: 0.75rem 1rem;
    }

    .pending-content[b-o0u3pph7ql] {
        padding: 0 1rem 1rem;
    }

    .description-text[b-o0u3pph7ql] {
        max-width: 140px;
    }

    .vendor-hint[b-o0u3pph7ql] {
        max-width: 120px;
    }

    /* Touch targets for in-grid action buttons */
    [b-o0u3pph7ql] .cashbook-ledger .e-btn.e-small {
        min-height: 36px;
    }
}

/* ===== Entry-kind badge: full words ===== */
.entry-kind-badge[b-o0u3pph7ql] {
    white-space: nowrap;
}

/* ===== Legend / "how to read your cash book" ===== */
.cashbook-legend[b-o0u3pph7ql] {
    background: var(--ai-50);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.cashbook-legend-head[b-o0u3pph7ql] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--cx-text-primary);
    margin-bottom: 0.35rem;
}

.cashbook-legend-head > i[b-o0u3pph7ql] {
    color: var(--ai);
}

.cashbook-legend-close[b-o0u3pph7ql] {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--cx-text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.1rem 0.3rem;
    border-radius: var(--cx-radius-control);
}

.cashbook-legend-close:hover[b-o0u3pph7ql] {
    background: rgba(0, 0, 0, 0.06);
    color: var(--cx-text-primary);
}

.cashbook-legend-list[b-o0u3pph7ql] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    color: var(--cx-text-secondary);
    line-height: 1.5;
}

.cashbook-legend-list li[b-o0u3pph7ql] {
    margin-bottom: 0.15rem;
}

/* ===== Correction pairing chip ===== */
.correction-link[b-o0u3pph7ql] {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--cx-text-secondary);
    background: var(--light-gray);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    padding: 0.05rem 0.4rem;
    white-space: nowrap;
}

/* ===== De-emphasized correction rows (Storno + corrected original) =====
   These rows cancel each other out and must not compete with live bookings.
   A muted fill + a left accent bar + muted text make the pair unmistakably
   "settled / inactive" without hiding it (GoBD: entries are never removed). */
.cashbook-table tbody tr.cashbook-row-storno td[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected td[b-o0u3pph7ql] {
    background-color: var(--paper-2, #f6f6f4);
    color: var(--cx-text-muted);
}

.cashbook-table tbody tr.cashbook-row-storno td:first-child[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected td:first-child[b-o0u3pph7ql] {
    box-shadow: inset 3px 0 0 0 var(--cx-text-muted);
}

/* Dim the coloured inner badges/amounts on settled rows so the whole row reads back */
.cashbook-table tbody tr.cashbook-row-storno td .amount-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-storno td .balance-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-storno td .entry-kind-badge[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected td .amount-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected td .balance-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected td .entry-kind-badge[b-o0u3pph7ql] {
    opacity: 0.7;
}

.cashbook-table tbody tr.cashbook-row-storno:hover td[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected:hover td[b-o0u3pph7ql] {
    color: var(--cx-text-secondary);
}

.cashbook-table tbody tr.cashbook-row-storno:hover td .amount-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-storno:hover td .balance-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-storno:hover td .entry-kind-badge[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected:hover td .amount-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected:hover td .balance-value[b-o0u3pph7ql],
.cashbook-table tbody tr.cashbook-row-corrected:hover td .entry-kind-badge[b-o0u3pph7ql] {
    opacity: 1;
}

/* Tame the correction (Storno) action so it doesn't read as a primary, loud control */
[b-o0u3pph7ql] .cashbook-ledger .e-btn.cashbook-correct-btn {
    color: var(--cx-text-secondary);
    border-color: var(--cx-hairline);
}

[b-o0u3pph7ql] .cashbook-ledger .e-btn.cashbook-correct-btn:hover {
    color: var(--cx-warning);
    border-color: var(--cx-warning);
}

/* Phone: the month-close band wraps – text next to its icon, the action below on its own line,
   label in full (the Syncfusion button does not wrap by itself). */
@media (max-width: 768px) {
    .cb-month-close[b-o0u3pph7ql] {
        flex-wrap: wrap;
    }

    .cb-month-close-text[b-o0u3pph7ql] {
        flex: 1 1 0;
        min-width: 0;
    }

    .cb-month-close[b-o0u3pph7ql]  .e-btn,
    .cb-month-close .cx-clear-btn[b-o0u3pph7ql] {
        flex: 1 1 100%;
        justify-content: center;
        height: auto;
        min-height: 36px;
        white-space: normal;
    }
}
/* _content/CraftX.Web/Components/Pages/HR/Attendance.razor.rz.scp.css */
.attendance-page[b-ke0wim6v74] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header — patina-green gradient (token-based) */
.page-header[b-ke0wim6v74] {
    background: linear-gradient(135deg, var(--cx-success) 0%, var(--cx-success) 100%);
    border-radius: var(--cx-radius-surface);
    padding: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.header-content[b-ke0wim6v74] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title h1[b-ke0wim6v74] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: var(--fw-semibold);
}

.header-subtitle[b-ke0wim6v74] {
    margin: 0.25rem 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Stats */
.stats-section[b-ke0wim6v74] { margin-bottom: 1.5rem; }

.stats-grid[b-ke0wim6v74] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card[b-ke0wim6v74] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    transition: all 0.15s var(--ease);
}

.stat-card.clickable[b-ke0wim6v74] { cursor: pointer; }

.stat-card.clickable:hover[b-ke0wim6v74] {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon[b-ke0wim6v74] {
    width: 48px;
    height: 48px;
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-total .stat-icon[b-ke0wim6v74]       { background: var(--cx-primary-soft); color: var(--cx-primary); }
.stat-active .stat-icon[b-ke0wim6v74]      { background: var(--success-50); color: var(--cx-success); }
.stat-departments .stat-icon[b-ke0wim6v74] { background: var(--info-50); color: var(--cx-info); }
.stat-pending .stat-icon[b-ke0wim6v74]     { background: var(--warning-50); color: var(--cx-warning); }
.stat-rejected .stat-icon[b-ke0wim6v74]    { background: var(--danger-50); color: var(--cx-danger); }

.stat-content[b-ke0wim6v74] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-ke0wim6v74] {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--cx-text-primary);
}

.stat-label[b-ke0wim6v74] {
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

.tabs-section[b-ke0wim6v74] { margin-bottom: 1rem; }

.content-section[b-ke0wim6v74] { margin-top: 1rem; }

/* Summary Bar */
.today-summary[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-50);
    padding: 1rem;
    border-radius: var(--cx-radius-control);
    margin-bottom: 1rem;
    color: var(--cx-success);
    font-weight: var(--fw-medium);
}

.today-summary i[b-ke0wim6v74] { font-size: 1.1rem; }

/* Entries List */
.entries-list[b-ke0wim6v74] { display: flex; flex-direction: column; gap: 0.75rem; }

.entries-list-section[b-ke0wim6v74] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.entries-list-section h3[b-ke0wim6v74] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
}

/* Entry Row */
.entry-row[b-ke0wim6v74] {
    display: grid;
    grid-template-columns: 180px 120px 70px auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
}

.entry-row.approved[b-ke0wim6v74] { opacity: 0.7; }

.entry-row.active[b-ke0wim6v74] {
    background: var(--success-50);
    border-left: 3px solid var(--cx-success);
}

.entry-row.needs-correction[b-ke0wim6v74] {
    background: var(--danger-50);
    border-left: 3px solid var(--cx-danger);
}

.entry-row .entry-date[b-ke0wim6v74] {
    font-weight: var(--fw-medium);
    color: var(--cx-text-primary);
    font-size: 0.85rem;
}

.entry-time-range[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
}

.entry-time-range i[b-ke0wim6v74] { color: var(--cx-text-muted); }

.entry-duration[b-ke0wim6v74] {
    font-weight: var(--fw-semibold);
    color: var(--cx-primary);
}

.entry-hours[b-ke0wim6v74] {
    color: var(--cx-primary);
    font-weight: var(--fw-semibold);
}

.entry-break[b-ke0wim6v74] {
    color: var(--cx-text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.entry-status[b-ke0wim6v74], .entry-method[b-ke0wim6v74] { display: flex; justify-content: flex-end; }

.entry-notes[b-ke0wim6v74] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.entry-notes i[b-ke0wim6v74] { color: var(--cx-text-muted); flex-shrink: 0; }

.entry-meta[b-ke0wim6v74] { font-size: 0.8rem; color: var(--cx-text-secondary); }

/* Present Card */
.present-card[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--success-50);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    border-left: 4px solid var(--cx-success);
}

/* Approval Card */
.approval-card[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    border-left: 4px solid var(--cx-warning);
    transition: all 0.15s var(--ease);
    flex-wrap: wrap;
}

.approval-card.correction[b-ke0wim6v74] {
    border-left-color: var(--cx-danger);
    background: var(--danger-50);
}

.approval-card:hover[b-ke0wim6v74] { box-shadow: var(--shadow-md); }

.approval-checkbox[b-ke0wim6v74] { display: flex; align-items: center; }
.approval-checkbox input[type="checkbox"][b-ke0wim6v74] { width: 18px; height: 18px; cursor: pointer; }

/* Employee Info */
.employee-info[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.avatar[b-ke0wim6v74] {
    width: 40px;
    height: 40px;
    border-radius: var(--cx-radius-round);
    background: linear-gradient(135deg, var(--cx-primary), var(--cx-primary-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.avatar.active[b-ke0wim6v74] {
    background: linear-gradient(135deg, var(--cx-success), var(--cx-success));
    animation: pulse-b-ke0wim6v74 2s infinite;
}

@keyframes pulse-b-ke0wim6v74 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.employee-details[b-ke0wim6v74] { display: flex; flex-direction: column; }
.employee-name[b-ke0wim6v74] { font-weight: var(--fw-semibold); color: var(--cx-text-primary); }
.employee-details .entry-date[b-ke0wim6v74] { font-size: 0.85rem; color: var(--cx-text-secondary); }

.entry-details[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.entry-actions[b-ke0wim6v74] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-wrap: wrap;
}

/* Correction Notes */
.correction-notes[b-ke0wim6v74] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--danger-50);
    border: 1px solid var(--danger-50);
    border-radius: var(--cx-radius-surface);
    font-size: 0.8rem;
    color: var(--cx-danger);
    width: 100%;
}

.correction-notes i[b-ke0wim6v74] { color: var(--cx-danger); flex-shrink: 0; margin-top: 0.1rem; }

/* Toolbar */
.toolbar-container[b-ke0wim6v74] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cx-card-bg);
    padding: 1rem;
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    margin-bottom: 1rem;
}

.toolbar-left[b-ke0wim6v74] { display: flex; align-items: center; gap: 1rem; }
.toolbar-right[b-ke0wim6v74] { display: flex; align-items: center; gap: 0.5rem; }

.select-all-checkbox[b-ke0wim6v74] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--cx-text-secondary);
}

.select-all-checkbox input[type="checkbox"][b-ke0wim6v74] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Employee Selector */
.employee-selector[b-ke0wim6v74] {
    background: var(--cx-card-bg);
    padding: 1.25rem;
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    margin-bottom: 1.5rem;
}

.selector-row[b-ke0wim6v74] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.selector-field[b-ke0wim6v74] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.selector-field label[b-ke0wim6v74] {
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    color: var(--cx-label-color);
}

.employee-dropdown[b-ke0wim6v74] { min-width: 250px; }
.month-dropdown[b-ke0wim6v74] { min-width: 180px; }

/* Badges — chip pattern */
.badge[b-ke0wim6v74] {
    padding: 0.25rem 0.5rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
}

.badge-active[b-ke0wim6v74]   { background: var(--success-50); color: var(--cx-success); }
.badge-approved[b-ke0wim6v74] { background: var(--cx-border);  color: var(--cx-text-primary); }
.badge-pending[b-ke0wim6v74]  { background: var(--warning-50); color: var(--cx-warning); }
.badge-rejected[b-ke0wim6v74] { background: var(--danger-50);  color: var(--cx-danger); }
.badge-warning[b-ke0wim6v74]  { background: var(--warning-50); color: var(--cx-warning); }
.badge-method[b-ke0wim6v74]   { background: var(--light-gray); color: var(--cx-text-secondary); }
.badge-break[b-ke0wim6v74]    { background: var(--light-gray); color: var(--cx-text-secondary); display: inline-flex; align-items: center; gap: 0.25rem; }
.badge-location[b-ke0wim6v74] { background: var(--info-50);    color: var(--cx-info); cursor: help; }

/* Delete Warning */
.delete-warning[b-ke0wim6v74] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--danger-50);
    border: 1px solid var(--danger-50);
    border-radius: var(--cx-radius-control);
    font-size: 0.875rem;
    color: var(--cx-danger);
}

.delete-warning i[b-ke0wim6v74] {
    color: var(--cx-danger);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Empty State */
.empty-state[b-ke0wim6v74] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.empty-state i[b-ke0wim6v74] {
    font-size: 3rem;
    color: var(--cx-border);
    margin-bottom: 1rem;
}

.empty-state h3[b-ke0wim6v74] {
    margin: 0 0 0.5rem;
    color: var(--cx-text-secondary);
}

.empty-state p[b-ke0wim6v74] {
    color: var(--cx-text-muted);
    margin: 0;
}

/* Dialog */
.dialog-overlay[b-ke0wim6v74] {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container[b-ke0wim6v74] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.dialog-header[b-ke0wim6v74] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.dialog-header h3[b-ke0wim6v74] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.dialog-close[b-ke0wim6v74] {
    background: none;
    border: none;
    color: var(--cx-text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--cx-radius-control);
    font-size: 1rem;
}

.dialog-close:hover[b-ke0wim6v74] {
    background: var(--light-gray);
    color: var(--cx-text-primary);
}

.dialog-body[b-ke0wim6v74] { padding: 1.5rem; }

.dialog-info[b-ke0wim6v74] {
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: var(--cx-radius-surface);
    margin-bottom: 1rem;
    color: var(--cx-text-primary);
}

.dialog-footer[b-ke0wim6v74] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cx-hairline-soft);
}

.form-group[b-ke0wim6v74] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.form-group label[b-ke0wim6v74] {
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    color: var(--cx-label-color);
}

.form-group .required[b-ke0wim6v74] { color: var(--cx-danger); }

.form-row[b-ke0wim6v74] { display: flex; gap: 1rem; }
.form-row .form-group[b-ke0wim6v74] { flex: 1; }

.form-input[b-ke0wim6v74] {
    padding: 0.5rem 0.75rem;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    font-size: 0.9rem;
    color: var(--cx-text-primary);
    outline: none;
    transition: border-color 0.2s var(--ease);
}

.form-input:focus[b-ke0wim6v74] {
    border-color: var(--cx-success);
    box-shadow: var(--cx-focus-ring);
}

.form-textarea[b-ke0wim6v74] {
    padding: 0.5rem 0.75rem;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    font-size: 0.9rem;
    color: var(--cx-text-primary);
    resize: vertical;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s var(--ease);
}

.form-textarea:focus[b-ke0wim6v74] {
    border-color: var(--cx-success);
    box-shadow: var(--cx-focus-ring);
}

/* Responsive */
@media (max-width: 1024px) {
    .approval-card[b-ke0wim6v74],
    .present-card[b-ke0wim6v74] { flex-wrap: wrap; }

    .approval-card .entry-details[b-ke0wim6v74],
    .present-card .entry-details[b-ke0wim6v74] {
        width: 100%;
        margin-top: 0.5rem;
    }

    .approval-card .entry-actions[b-ke0wim6v74] {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }
}

@media (max-width: 992px) {
    .cx-tab-buttons[b-ke0wim6v74] { flex-wrap: wrap; }
    .stats-grid[b-ke0wim6v74] { grid-template-columns: repeat(2, 1fr); }

    .toolbar-container[b-ke0wim6v74] {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .toolbar-left[b-ke0wim6v74], .toolbar-right[b-ke0wim6v74] { width: 100%; }

    .selector-row[b-ke0wim6v74] {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .attendance-page[b-ke0wim6v74] { padding: 1rem; }

    .header-content[b-ke0wim6v74] {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .entry-row[b-ke0wim6v74] {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .entries-list-section[b-ke0wim6v74],
    .toolbar-container[b-ke0wim6v74],
    .employee-selector[b-ke0wim6v74],
    .empty-state[b-ke0wim6v74] { padding: 1rem; }

    .dialog-close[b-ke0wim6v74] { min-height: 44px; min-width: 44px; }
}
/* _content/CraftX.Web/Components/Pages/HR/LeaveManagement.razor.rz.scp.css */
.leave-management[b-7dn968lha9] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

/* Stat icon color overrides — token-based */
.stat-total[b-7dn968lha9]  .cx-stat-icon { background: var(--cx-primary-soft); color: var(--cx-primary); }
.stat-pending[b-7dn968lha9]  .cx-stat-icon { background: var(--warning-50); color: var(--cx-warning); }
.stat-active[b-7dn968lha9]  .cx-stat-icon { background: var(--success-50); color: var(--cx-success); }
.stat-departments[b-7dn968lha9]  .cx-stat-icon { background: var(--info-50); color: var(--cx-info); }

/* Request List — aligned with mockup .card pattern */
.request-list[b-7dn968lha9] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-card[b-7dn968lha9] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    border-left: 4px solid var(--cx-border);
    transition: box-shadow 0.15s var(--ease);
}

.request-card:hover[b-7dn968lha9] {
    box-shadow: var(--shadow-md);
}

.request-card.status-pending[b-7dn968lha9] { border-left-color: var(--cx-warning); }
.request-card.status-approved[b-7dn968lha9] { border-left-color: var(--cx-success); }
.request-card.status-rejected[b-7dn968lha9] { border-left-color: var(--cx-danger); }
.request-card.status-cancelled[b-7dn968lha9] { border-left-color: var(--cx-text-secondary); }

.request-header[b-7dn968lha9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.employee-info[b-7dn968lha9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar[b-7dn968lha9] {
    width: 40px;
    height: 40px;
    border-radius: var(--cx-radius-round);
    background: linear-gradient(135deg, var(--cx-success), var(--cx-success));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
}

.employee-details[b-7dn968lha9] {
    display: flex;
    flex-direction: column;
}

.employee-name[b-7dn968lha9] {
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.leave-type[b-7dn968lha9] {
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

/* Status chip — aligned with mockup .chip pattern */
.status-badge[b-7dn968lha9] {
    padding: 3px 10px;
    border-radius: var(--cx-radius-control);
    font-size: 11.5px;
    font-weight: var(--fw-semibold);
    letter-spacing: -0.005em;
    white-space: nowrap;
}

.badge-warning[b-7dn968lha9]   { background: var(--warning-50); color: var(--cx-warning); }
.badge-success[b-7dn968lha9]   { background: var(--success-50); color: var(--cx-success); }
.badge-danger[b-7dn968lha9]    { background: var(--danger-50);  color: var(--cx-danger); }
.badge-secondary[b-7dn968lha9] { background: transparent; color: var(--cx-text-secondary); }
.badge-info[b-7dn968lha9]      { background: var(--info-50);    color: var(--cx-info); }

.request-body[b-7dn968lha9] {
    margin-bottom: 1rem;
}

.date-range[b-7dn968lha9], .reason[b-7dn968lha9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.date-range i[b-7dn968lha9], .reason i[b-7dn968lha9] {
    color: var(--cx-text-muted);
}

.days-count[b-7dn968lha9] {
    color: var(--cx-text-secondary);
    font-size: 0.85rem;
}

.request-footer[b-7dn968lha9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--cx-hairline-soft);
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-info[b-7dn968lha9] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
}

.actions[b-7dn968lha9] {
    display: flex;
    gap: 0.5rem;
}

/* Absence List */
.absence-list[b-7dn968lha9] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.section-title[b-7dn968lha9] {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.absence-card[b-7dn968lha9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: transparent;
    border-radius: var(--cx-radius-surface);
    margin-bottom: 0.75rem;
}

.absence-card.sick[b-7dn968lha9] {
    background: var(--danger-50);
}

.absence-info[b-7dn968lha9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.absence-type[b-7dn968lha9] {
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
}

.absence-dates[b-7dn968lha9] {
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

.days-until[b-7dn968lha9] {
    font-size: 0.85rem;
    color: var(--cx-success);
    font-weight: var(--fw-medium);
}

/* Sick Leave Section */
.sick-leave-section[b-7dn968lha9] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.quick-action-card[b-7dn968lha9] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.quick-action-card h4[b-7dn968lha9] {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: var(--fw-semibold);
}

.sick-form[b-7dn968lha9] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row[b-7dn968lha9] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-row label[b-7dn968lha9] {
    font-size: 0.85rem;
    color: var(--cx-label-color);
    font-weight: var(--fw-medium);
}

.sick-list[b-7dn968lha9] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.sick-list h4[b-7dn968lha9] {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: var(--fw-semibold);
}

.no-data[b-7dn968lha9] {
    color: var(--cx-text-muted);
    font-style: italic;
}

/* Empty State */
.empty-state[b-7dn968lha9] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.empty-state i[b-7dn968lha9] {
    font-size: 3rem;
    color: var(--cx-border);
    margin-bottom: 1rem;
}

.empty-state h3[b-7dn968lha9] {
    margin: 0 0 0.5rem;
    color: var(--cx-text-secondary);
}

.empty-state p[b-7dn968lha9] {
    color: var(--cx-text-muted);
    margin: 0;
}

/* Dialog */
.dialog-overlay[b-7dn968lha9] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container[b-7dn968lha9] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.dialog-header[b-7dn968lha9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.dialog-header h3[b-7dn968lha9] {
    margin: 0;
    font-size: 1.25rem;
}

.close-btn[b-7dn968lha9] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--cx-text-secondary);
    cursor: pointer;
    padding: 0.25rem;
}

.close-btn:hover[b-7dn968lha9] {
    color: var(--cx-text-primary);
}

.dialog-body[b-7dn968lha9] {
    padding: 1.5rem;
}

.form-group[b-7dn968lha9] {
    margin-bottom: 1rem;
}

.form-group label[b-7dn968lha9] {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: var(--cx-label-color);
    margin-bottom: 0.375rem;
}

.form-row-2col[b-7dn968lha9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dialog-footer[b-7dn968lha9] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cx-hairline-soft);
    background: transparent;
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
}

/* ─────────────────────────── Responsive ─────────────────────────── */

@media (max-width: 992px) {
    .sick-leave-section[b-7dn968lha9] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .request-card[b-7dn968lha9],
    .absence-list[b-7dn968lha9],
    .quick-action-card[b-7dn968lha9],
    .sick-list[b-7dn968lha9] {
        padding: 1rem;
    }

    .form-row-2col[b-7dn968lha9] {
        grid-template-columns: 1fr;
    }

    .request-header[b-7dn968lha9],
    .request-footer[b-7dn968lha9] {
        flex-direction: column;
        align-items: stretch;
    }

    /* Touch target on close button */
    .close-btn[b-7dn968lha9] {
        min-height: 44px;
        min-width: 44px;
    }
}
/* _content/CraftX.Web/Components/Pages/HR/TimeTracking.razor.rz.scp.css */
.time-tracking[b-hy1lw6cw2b] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header — copper gradient (was indigo) */
.page-header[b-hy1lw6cw2b] {
    background: linear-gradient(135deg, var(--cx-primary) 0%, var(--cx-primary-hover) 100%);
    border-radius: var(--cx-radius-surface);
    padding: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.header-content[b-hy1lw6cw2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title h1[b-hy1lw6cw2b] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: var(--fw-semibold);
}

.header-subtitle[b-hy1lw6cw2b] {
    margin: 0.25rem 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.header-actions[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes pulse-b-hy1lw6cw2b {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Stats */
.stats-section[b-hy1lw6cw2b] {
    margin-bottom: 1.5rem;
}

.stats-grid[b-hy1lw6cw2b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    transition: all 0.15s var(--ease);
}

.stat-card.clickable[b-hy1lw6cw2b] { cursor: pointer; }

.stat-card.clickable:hover[b-hy1lw6cw2b] {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon[b-hy1lw6cw2b] {
    width: 48px;
    height: 48px;
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-total .stat-icon[b-hy1lw6cw2b]              { background: var(--cx-primary-soft); color: var(--cx-primary); }
.stat-active .stat-icon[b-hy1lw6cw2b]             { background: var(--success-50); color: var(--cx-success); }
.stat-departments .stat-icon[b-hy1lw6cw2b]        { background: var(--info-50); color: var(--cx-info); }
.stat-pending .stat-icon[b-hy1lw6cw2b]            { background: var(--warning-50); color: var(--cx-warning); }
.stat-expected .stat-icon[b-hy1lw6cw2b]           { background: var(--info-50); color: var(--cx-info); }
.stat-actual .stat-icon[b-hy1lw6cw2b]             { background: var(--cx-primary-soft); color: var(--cx-primary); }
.stat-overtime-positive .stat-icon[b-hy1lw6cw2b]  { background: var(--success-50); color: var(--cx-success); }
.stat-overtime-positive .stat-value[b-hy1lw6cw2b] { color: var(--cx-success); }
.stat-overtime-negative .stat-icon[b-hy1lw6cw2b]  { background: var(--danger-50); color: var(--cx-danger); }
.stat-overtime-negative .stat-value[b-hy1lw6cw2b] { color: var(--cx-danger); }

.stat-content[b-hy1lw6cw2b] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-hy1lw6cw2b] {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--cx-text-primary);
}

.stat-label[b-hy1lw6cw2b] {
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

/* Date Navigation */
.date-nav-section[b-hy1lw6cw2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--cx-card-bg);
    padding: 1rem;
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.date-nav[b-hy1lw6cw2b] { display: flex; align-items: center; gap: 0.5rem; }

.date-range-display[b-hy1lw6cw2b] { min-width: 150px; }

/* Timesheet Grid */
.timesheet-section[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    overflow-x: auto;
}

.timesheet-header[b-hy1lw6cw2b] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.day-header[b-hy1lw6cw2b] {
    text-align: center;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
}

.day-header.today[b-hy1lw6cw2b] { background: var(--cx-primary); color: white; }
.day-header.weekend[b-hy1lw6cw2b] { background: var(--cx-border); color: var(--cx-text-secondary); }

.day-name[b-hy1lw6cw2b] { display: block; font-weight: var(--fw-semibold); font-size: 0.9rem; }
.day-date[b-hy1lw6cw2b] { display: block; font-size: 0.8rem; opacity: 0.8; }

.timesheet-body[b-hy1lw6cw2b] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    min-height: 200px;
}

.day-column[b-hy1lw6cw2b] {
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
    padding: 0.75rem;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.day-column.today[b-hy1lw6cw2b] { background: var(--info-50); border: 2px solid var(--cx-primary); }
.day-column.weekend[b-hy1lw6cw2b] { background: var(--light-gray); }

.time-entry[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-control);
    padding: 0.5rem;
    font-size: 0.8rem;
    border-left: 3px solid var(--cx-primary);
    box-shadow: var(--shadow-xs);
}

.time-entry.active[b-hy1lw6cw2b] { border-left-color: var(--cx-success); background: var(--success-50); }
.time-entry.approved[b-hy1lw6cw2b] { border-left-color: var(--cx-text-secondary); opacity: 0.8; }

.entry-time[b-hy1lw6cw2b] { font-weight: var(--fw-semibold); color: var(--cx-text-primary); }
.entry-hours[b-hy1lw6cw2b] { color: var(--cx-primary); font-weight: var(--fw-semibold); }

.entry-break[b-hy1lw6cw2b] {
    color: var(--cx-text-secondary);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.entry-desc[b-hy1lw6cw2b] {
    color: var(--cx-text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.entry-actions[b-hy1lw6cw2b] {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.action-btn[b-hy1lw6cw2b] {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--cx-text-secondary);
    font-size: 0.8rem;
}

.action-btn:hover[b-hy1lw6cw2b] { color: var(--cx-primary); }
.action-btn.delete:hover[b-hy1lw6cw2b] { color: var(--cx-danger); }
.action-btn.approve[b-hy1lw6cw2b] { color: var(--cx-success); }
.action-btn.approve:hover[b-hy1lw6cw2b] { color: var(--cx-success); }

.no-entries[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cx-border);
    flex: 1;
}

.day-total[b-hy1lw6cw2b] {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--cx-border);
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
    text-align: center;
}

.week-total[b-hy1lw6cw2b] {
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid var(--cx-hairline-soft);
    color: var(--cx-text-primary);
}

.week-total-row[b-hy1lw6cw2b] {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cx-hairline-soft);
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.week-total-row .overtime-positive[b-hy1lw6cw2b] { color: var(--cx-success); }
.week-total-row .overtime-negative[b-hy1lw6cw2b] { color: var(--cx-danger); }

/* Day indicators (holiday, leave) */
.day-indicator[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
}

.day-indicator.holiday[b-hy1lw6cw2b] {
    background: var(--warning-50);
    color: var(--cx-warning);
    border: 1px solid var(--warning-50);
}

.day-indicator.holiday i[b-hy1lw6cw2b] { color: var(--cx-warning); }

.day-indicator.leave-day[b-hy1lw6cw2b] {
    background: var(--ai-50);
    color: var(--ai);
    border: 1px solid var(--ai-50);
}

.day-indicator.leave-day.sick[b-hy1lw6cw2b] {
    background: var(--danger-50);
    color: var(--cx-danger);
    border: 1px solid var(--danger-50);
}

.day-indicator.leave-day.sick i[b-hy1lw6cw2b] { color: var(--cx-danger); }

.half-day-badge[b-hy1lw6cw2b] {
    background: rgba(255,255,255,0.6);
    padding: 0 0.25rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.7rem;
    font-weight: var(--fw-bold);
}

/* Entries List */
.entries-list-section[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.entries-list-section h3[b-hy1lw6cw2b] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
}

.entries-list[b-hy1lw6cw2b] { display: flex; flex-direction: column; gap: 0.5rem; }

.entry-row[b-hy1lw6cw2b] {
    display: grid;
    grid-template-columns: 160px 120px 80px auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
}

.entry-row.approved[b-hy1lw6cw2b] { opacity: 0.7; }

.entry-date[b-hy1lw6cw2b] { font-weight: var(--fw-medium); color: var(--cx-text-primary); }
.entry-time-range[b-hy1lw6cw2b] { color: var(--cx-text-secondary); }
.entry-duration[b-hy1lw6cw2b] { font-weight: var(--fw-semibold); color: var(--cx-primary); }

/* Badges */
.badge[b-hy1lw6cw2b] {
    padding: 0.25rem 0.5rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
}

.badge-active[b-hy1lw6cw2b]   { background: var(--success-50); color: var(--cx-success); }
.badge-approved[b-hy1lw6cw2b] { background: var(--cx-border); color: var(--cx-text-primary); }
.badge-pending[b-hy1lw6cw2b]  { background: var(--warning-50); color: var(--cx-warning); }
.badge-break[b-hy1lw6cw2b]    { background: var(--light-gray); color: var(--cx-text-secondary); display: inline-flex; align-items: center; gap: 0.25rem; }
.badge-method[b-hy1lw6cw2b]   { background: var(--light-gray); color: var(--cx-text-secondary); }
.badge-job[b-hy1lw6cw2b]      { background: var(--info-50);    color: var(--cx-info); display: inline-flex; align-items: center; gap: 0.25rem; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Dialog */
.dialog-overlay[b-hy1lw6cw2b] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.dialog-header[b-hy1lw6cw2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--cx-hairline-soft);
}

.dialog-header h3[b-hy1lw6cw2b] { margin: 0; font-size: 1.25rem; }

.close-btn[b-hy1lw6cw2b] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.close-btn:hover[b-hy1lw6cw2b] { color: var(--cx-text-primary); }

.dialog-body[b-hy1lw6cw2b] { padding: 1.5rem; }

.clock-summary[b-hy1lw6cw2b] {
    background: var(--light-gray);
    border-radius: var(--cx-radius-surface);
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-row[b-hy1lw6cw2b] {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.form-group[b-hy1lw6cw2b] { margin-bottom: 1rem; }

.form-group label[b-hy1lw6cw2b] {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: var(--cx-label-color);
    margin-bottom: 0.375rem;
}

.form-hint[b-hy1lw6cw2b] {
    color: var(--cx-text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-row-2col[b-hy1lw6cw2b] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dialog-footer[b-hy1lw6cw2b] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cx-hairline-soft);
    background: var(--light-gray);
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
}

/* Responsive */
@media (max-width: 1024px) {
    .timesheet-section[b-hy1lw6cw2b] { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .timesheet-header[b-hy1lw6cw2b], .timesheet-body[b-hy1lw6cw2b] { min-width: 700px; }
}

@media (max-width: 992px) {
    .stats-grid[b-hy1lw6cw2b] { grid-template-columns: repeat(2, 1fr); }
    .date-nav-section[b-hy1lw6cw2b] { flex-direction: column; gap: 1rem; align-items: stretch; }
}

@media (max-width: 640px) {
    .time-tracking[b-hy1lw6cw2b] { padding: 1rem; }
    .header-content[b-hy1lw6cw2b] { flex-direction: column; gap: 1rem; text-align: center; }
    .header-actions[b-hy1lw6cw2b] { flex-direction: column; }
    .entry-row[b-hy1lw6cw2b] { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .form-row-2col[b-hy1lw6cw2b] { grid-template-columns: 1fr; }

    .timesheet-section[b-hy1lw6cw2b],
    .entries-list-section[b-hy1lw6cw2b],
    .date-nav-section[b-hy1lw6cw2b] { padding: 1rem; }
}

/* ===========================================
   HR-SPECIFIC STYLES (HR view shares this CSS)
   =========================================== */

.content-section[b-hy1lw6cw2b] { margin-top: 1rem; }

.entry-status[b-hy1lw6cw2b] { display: flex; justify-content: flex-end; }

.tabs-section[b-hy1lw6cw2b] { margin-bottom: 1rem; }

.toolbar-container[b-hy1lw6cw2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cx-card-bg);
    padding: 1rem;
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    margin-bottom: 1rem;
}

.toolbar-left[b-hy1lw6cw2b] { display: flex; align-items: center; gap: 1rem; }
.toolbar-right[b-hy1lw6cw2b] { display: flex; align-items: center; gap: 0.5rem; }

.select-all-checkbox[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--cx-text-secondary);
}

.select-all-checkbox input[type="checkbox"][b-hy1lw6cw2b] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.approval-list[b-hy1lw6cw2b] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.approval-card[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    border-left: 4px solid var(--cx-warning);
    transition: all 0.15s var(--ease);
}

.approval-card:hover[b-hy1lw6cw2b] { box-shadow: var(--shadow-md); }

.approval-checkbox[b-hy1lw6cw2b] { display: flex; align-items: center; }
.approval-checkbox input[type="checkbox"][b-hy1lw6cw2b] { width: 18px; height: 18px; cursor: pointer; }

.employee-info[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.avatar[b-hy1lw6cw2b] {
    width: 40px;
    height: 40px;
    border-radius: var(--cx-radius-round);
    background: linear-gradient(135deg, var(--cx-primary), var(--cx-primary-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.avatar.active[b-hy1lw6cw2b] {
    background: linear-gradient(135deg, var(--cx-success), var(--cx-success));
    animation: pulse-b-hy1lw6cw2b 2s infinite;
}

.employee-details[b-hy1lw6cw2b] { display: flex; flex-direction: column; }
.employee-name[b-hy1lw6cw2b] { font-weight: var(--fw-semibold); color: var(--cx-text-primary); }

.approval-card .entry-date[b-hy1lw6cw2b] { font-size: 0.85rem; color: var(--cx-text-secondary); }

.approval-card .entry-details[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.approval-card .entry-time-range[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
}

.approval-card .entry-time-range i[b-hy1lw6cw2b] { color: var(--cx-text-muted); }

.approval-card .entry-hours[b-hy1lw6cw2b] {
    color: var(--cx-primary);
    font-weight: var(--fw-semibold);
}

.approval-card .entry-description[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
    font-size: 0.85rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.approval-card .entry-description i[b-hy1lw6cw2b] { color: var(--cx-text-muted); }

.today-summary[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--info-50);
    padding: 1rem;
    border-radius: var(--cx-radius-control);
    margin-bottom: 1rem;
    color: var(--cx-info);
    font-weight: var(--fw-medium);
}

.today-summary i[b-hy1lw6cw2b] { font-size: 1.1rem; }

.today-entries-list[b-hy1lw6cw2b] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.employee-today-card[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.entry-time-badges[b-hy1lw6cw2b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.entry-time-badge[b-hy1lw6cw2b] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

.entry-time-badge.active[b-hy1lw6cw2b] {
    background: var(--success-50);
    color: var(--cx-success);
    animation: pulse-b-hy1lw6cw2b 2s infinite;
}

.entry-time-badge .hours[b-hy1lw6cw2b] {
    color: var(--cx-text-secondary);
    font-size: 0.8rem;
}

.daily-total[b-hy1lw6cw2b] {
    min-width: 60px;
    text-align: right;
    color: var(--cx-primary);
    font-weight: var(--fw-semibold);
}

.employee-selector[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    padding: 1.25rem;
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
    margin-bottom: 1.5rem;
}

.selector-row[b-hy1lw6cw2b] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.selector-field[b-hy1lw6cw2b] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.selector-field label[b-hy1lw6cw2b] {
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    color: var(--cx-label-color);
}

.employee-dropdown[b-hy1lw6cw2b] { min-width: 250px; }
.month-dropdown[b-hy1lw6cw2b] { min-width: 180px; }

.selector-actions[b-hy1lw6cw2b] {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.status-badge[b-hy1lw6cw2b] {
    padding: 0.25rem 0.5rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
}

.empty-state[b-hy1lw6cw2b] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--cx-card-border);
}

.empty-state i[b-hy1lw6cw2b] {
    font-size: 3rem;
    color: var(--cx-border);
    margin-bottom: 1rem;
}

.empty-state h3[b-hy1lw6cw2b] {
    margin: 0 0 0.5rem;
    color: var(--cx-text-secondary);
}

.empty-state p[b-hy1lw6cw2b] {
    color: var(--cx-text-muted);
    margin: 0;
}

/* Rejection / Correction Styles */
.badge-rejected[b-hy1lw6cw2b]  { background: var(--danger-50); color: var(--cx-danger); }
.badge-corrected[b-hy1lw6cw2b] { background: var(--info-50);   color: var(--cx-info); }

.time-entry.needs-correction[b-hy1lw6cw2b] { border-left-color: var(--cx-danger); background: var(--danger-50); }
.time-entry.corrected[b-hy1lw6cw2b]        { border-left-color: var(--cx-primary); background: var(--info-50); }
.entry-row.needs-correction[b-hy1lw6cw2b]  { background: var(--danger-50); border-left: 3px solid var(--cx-danger); }

.rejection-reason[b-hy1lw6cw2b] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--danger-50);
    border: 1px solid var(--danger-50);
    border-radius: var(--cx-radius-surface);
    font-size: 0.8rem;
    color: var(--cx-danger);
    margin-top: 0.25rem;
}

.rejection-reason i[b-hy1lw6cw2b] { color: var(--cx-danger); flex-shrink: 0; margin-top: 0.1rem; }

.reject-info[b-hy1lw6cw2b] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--warning-50);
    border: 1px solid var(--warning-50);
    border-radius: var(--cx-radius-surface);
    font-size: 0.875rem;
    color: var(--cx-warning);
    margin-bottom: 1rem;
}

.reject-info i[b-hy1lw6cw2b] { color: var(--cx-warning); flex-shrink: 0; margin-top: 0.1rem; }

.delete-warning[b-hy1lw6cw2b] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--danger-50);
    border: 1px solid var(--danger-50);
    border-radius: var(--cx-radius-control);
    font-size: 0.875rem;
    color: var(--cx-danger);
}

.delete-warning i[b-hy1lw6cw2b] { color: var(--cx-danger); flex-shrink: 0; margin-top: 0.1rem; }

.stat-rejected .stat-icon[b-hy1lw6cw2b] {
    background: var(--danger-50);
    color: var(--cx-danger);
}

.approval-card .entry-actions[b-hy1lw6cw2b] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-wrap: wrap;
}

/* HR Responsive */
@media (max-width: 1024px) {
    .approval-card[b-hy1lw6cw2b] { flex-wrap: wrap; }

    .approval-card .entry-details[b-hy1lw6cw2b] {
        width: 100%;
        margin-top: 0.5rem;
    }

    .approval-card .entry-actions[b-hy1lw6cw2b] {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }
}

@media (max-width: 992px) {
    .cx-tab-buttons[b-hy1lw6cw2b] { flex-wrap: wrap; }

    .toolbar-container[b-hy1lw6cw2b] {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .toolbar-left[b-hy1lw6cw2b], .toolbar-right[b-hy1lw6cw2b] { width: 100%; }

    .selector-row[b-hy1lw6cw2b] {
        flex-direction: column;
        align-items: stretch;
    }

    .selector-actions[b-hy1lw6cw2b] { margin-left: 0; margin-top: 0.5rem; }
}

@media (max-width: 640px) {
    .approval-card[b-hy1lw6cw2b],
    .employee-today-card[b-hy1lw6cw2b],
    .employee-selector[b-hy1lw6cw2b],
    .empty-state[b-hy1lw6cw2b] { padding: 1rem; }

    .employee-today-card[b-hy1lw6cw2b] {
        flex-direction: column;
        align-items: flex-start;
    }

    .daily-total[b-hy1lw6cw2b] {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
    }
}
/* _content/CraftX.Web/Components/Pages/Inbox/Posteingang.razor.rz.scp.css */
.posteingang[b-il58624iu0] {
    display: grid;
    grid-template-columns: minmax(300px, 360px) 1fr;
    height: calc(var(--cx-app-h) - var(--cx-topbar-h));
    min-height: 0;
    background: var(--cx-bg, #f4f6f8);
}

/* ============ LEFT: thread list ============ */
.inbox-list[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid var(--cx-card-border);
    background: var(--cx-card-bg, #fff);
}

.inbox-list-header[b-il58624iu0] {
    padding: 16px 16px 10px;
    border-bottom: 1px solid var(--cx-card-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inbox-list-title[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inbox-list-title h1[b-il58624iu0] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cx-text-primary);
}

.inbox-conn-dot[b-il58624iu0] {
    width: 8px;
    height: 8px;
    border-radius: var(--cx-radius-round);
    background: #f59e0b;
}

.inbox-import-btn[b-il58624iu0] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg, #fff);
    color: #16a34a;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.12s;
}

.inbox-import-btn:hover[b-il58624iu0] {
    border-color: #bbf7d0;
    background: rgba(22, 163, 74, 0.06);
}

.inbox-search[b-il58624iu0] {
    position: relative;
    display: flex;
    align-items: center;
}

.inbox-search > i[b-il58624iu0] {
    position: absolute;
    left: 11px;
    color: var(--cx-text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.inbox-search[b-il58624iu0]  input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 32px;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-bg, #f8fafc);
    color: var(--cx-text-primary);
    font-size: 0.9rem;
    outline: none;
}

.inbox-search[b-il58624iu0]  input:focus {
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
    background: #fff;
}

.inbox-filter-chips[b-il58624iu0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.inbox-chip[b-il58624iu0] {
    padding: 5px 12px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg, #fff);
    color: var(--cx-text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.12s;
}

.inbox-chip:hover[b-il58624iu0] {
    border-color: #bbf7d0;
    color: var(--cx-text-primary);
}

.inbox-chip.is-active[b-il58624iu0] {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.inbox-list-body[b-il58624iu0] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.inbox-list-state[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 24px;
    text-align: center;
    color: var(--cx-text-secondary);
}

.inbox-list-state > i[b-il58624iu0] {
    font-size: 2.4rem;
    color: #16a34a;
    opacity: 0.4;
}

.inbox-list-state p[b-il58624iu0] {
    margin: 0;
    font-weight: 600;
    color: var(--cx-text-primary);
}

.inbox-list-state-sub[b-il58624iu0] {
    font-size: 0.82rem;
    color: var(--cx-text-muted);
}

.inbox-retry-btn[b-il58624iu0] {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg, #fff);
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.inbox-retry-btn:hover[b-il58624iu0] {
    background: rgba(22, 163, 74, 0.06);
    border-color: #bbf7d0;
}

.inbox-load-more[b-il58624iu0] {
    width: calc(100% - 24px);
    margin: 10px 12px 14px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg, #fff);
    color: var(--cx-text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.12s;
}

.inbox-load-more:hover:not(:disabled)[b-il58624iu0] {
    border-color: #bbf7d0;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.05);
}

.inbox-load-more:disabled[b-il58624iu0] {
    opacity: 0.6;
    cursor: default;
}

/* ---- thread card ---- */
.inbox-card[b-il58624iu0] {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--cx-card-border);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s;
}

.inbox-card:hover[b-il58624iu0] {
    background: rgba(22, 163, 74, 0.04);
}

.inbox-card.is-selected[b-il58624iu0] {
    background: rgba(22, 163, 74, 0.09);
    box-shadow: inset 3px 0 0 #16a34a;
}

.inbox-card-avatar[b-il58624iu0] {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: var(--cx-radius-round);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.inbox-card-main[b-il58624iu0] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.inbox-card-top[b-il58624iu0] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.inbox-card-name[b-il58624iu0] {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cx-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-card.is-unread .inbox-card-name[b-il58624iu0] {
    font-weight: 700;
}

.inbox-card-channel[b-il58624iu0] {
    font-size: 0.78rem;
    color: var(--cx-text-secondary, #8a8279);
    margin-right: 4px;
    vertical-align: baseline;
}

.inbox-card-time[b-il58624iu0] {
    flex: 0 0 auto;
    font-size: 0.7rem;
    color: var(--cx-text-muted);
    white-space: nowrap;
}

.inbox-card-preview[b-il58624iu0] {
    font-size: 0.82rem;
    color: var(--cx-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-card.is-unread .inbox-card-preview[b-il58624iu0] {
    color: var(--cx-text-primary);
}

.inbox-card-chips[b-il58624iu0] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.inbox-tag[b-il58624iu0] {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--cx-radius-control);
    background: rgba(15, 23, 42, 0.06);
    color: var(--cx-text-secondary);
    white-space: nowrap;
}

.inbox-tag.is-attention[b-il58624iu0] {
    background: #fffbeb;
    color: #b45309;
}

.inbox-tag.is-done[b-il58624iu0] {
    background: #f0fdf4;
    color: #15803d;
}

.inbox-tag.is-snoozed[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #eef2ff;
    color: #4338ca;
}

.inbox-card-side[b-il58624iu0] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.inbox-unread-badge[b-il58624iu0] {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--cx-radius-round);
    background: #16a34a;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inbox-assignee[b-il58624iu0] {
    width: 22px;
    height: 22px;
    border-radius: var(--cx-radius-round);
    background: #e2e8f0;
    color: #475569;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* ============ RIGHT: detail ============ */
.inbox-detail[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--cx-card-bg, #fff);
}

.inbox-detail-empty[b-il58624iu0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--cx-text-secondary);
}

.inbox-detail-empty > i[b-il58624iu0] {
    font-size: 3rem;
    color: #16a34a;
    opacity: 0.35;
}

.inbox-detail-empty p[b-il58624iu0] {
    margin: 0;
    font-weight: 600;
    color: var(--cx-text-primary);
}

.inbox-detail-empty span[b-il58624iu0] {
    font-size: 0.84rem;
    color: var(--cx-text-muted);
}

.inbox-detail-header[b-il58624iu0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--cx-card-border);
    background: var(--cx-card-bg, #fff);
}

.inbox-detail-identity[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.inbox-detail-name[b-il58624iu0] {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--cx-text-primary);
}

.inbox-detail-sub[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    font-size: 0.78rem;
}

.inbox-detail-channel[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-surface-muted, #f1ede7);
    color: var(--cx-text-secondary, #6f675e);
    font-weight: 600;
}

.inbox-status-pill[b-il58624iu0] {
    padding: 2px 9px;
    border-radius: var(--cx-radius-control);
    font-weight: 600;
}

.inbox-status-pill.is-open[b-il58624iu0] {
    background: #eff6ff;
    color: #1d4ed8;
}

.inbox-status-pill.is-waiting[b-il58624iu0] {
    background: #fff7ed;
    color: #c2410c;
}

.inbox-status-pill.is-done[b-il58624iu0] {
    background: #f0fdf4;
    color: #15803d;
}

.inbox-detail-assignee[b-il58624iu0] {
    color: var(--cx-text-secondary);
}

.inbox-detail-assignee.is-unassigned[b-il58624iu0] {
    color: var(--cx-text-muted);
}

.inbox-detail-linked[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #047857;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.inbox-detail-linked:hover[b-il58624iu0] {
    color: #065f46;
    text-decoration: underline;
}

.inbox-detail-linked-go[b-il58624iu0] {
    font-size: 0.7rem;
    opacity: 0.7;
}

.inbox-detail-snooze[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4338ca;
}

/* AI summary / attention strip below the header */
.inbox-detail-summary[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--cx-card-border);
    background: #faf5ff;
}

.inbox-detail-summary-row[b-il58624iu0] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--cx-text-secondary);
}

.inbox-detail-summary-row > i[b-il58624iu0] {
    margin-top: 2px;
    flex: 0 0 auto;
    color: #8b5cf6;
}

.inbox-detail-summary-row.is-attention[b-il58624iu0] {
    color: #b45309;
    font-weight: 500;
}

.inbox-detail-summary-row.is-attention > i[b-il58624iu0] {
    color: #d97706;
}

.inbox-detail-actions[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.inbox-takeover-btn[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #16a34a;
    border-radius: var(--cx-radius-control);
    background: #16a34a;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.inbox-takeover-btn:hover:not(:disabled)[b-il58624iu0] {
    background: #15803d;
}

.inbox-takeover-btn:disabled[b-il58624iu0] {
    opacity: 0.6;
    cursor: not-allowed;
}

.inbox-menu[b-il58624iu0] {
    position: relative;
}

.inbox-menu-trigger[b-il58624iu0] {
    width: 36px;
    height: 36px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg, #fff);
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.inbox-menu-trigger:hover[b-il58624iu0] {
    background: rgba(15, 23, 42, 0.04);
}

.inbox-menu-popover[b-il58624iu0] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    min-width: 230px;
    padding: 6px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.inbox-menu-popover button[b-il58624iu0] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-primary);
    font-size: 0.86rem;
    text-align: left;
    cursor: pointer;
}

.inbox-menu-popover button:hover:not(:disabled)[b-il58624iu0] {
    background: rgba(22, 163, 74, 0.08);
}

.inbox-menu-popover button:disabled[b-il58624iu0] {
    opacity: 0.5;
    cursor: not-allowed;
}

.inbox-menu-popover button.is-danger[b-il58624iu0] {
    color: #b91c1c;
}

.inbox-menu-popover button.is-danger:hover:not(:disabled)[b-il58624iu0] {
    background: #fef2f2;
}

.inbox-menu-cat.is-current[b-il58624iu0] {
    color: #16a34a;
    font-weight: 600;
}

.inbox-menu-section[b-il58624iu0] {
    padding: 8px 10px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--cx-text-muted);
}

.inbox-menu-divider[b-il58624iu0] {
    height: 1px;
    margin: 5px 6px;
    background: var(--cx-card-border);
}

.inbox-detail-body[b-il58624iu0] {
    flex: 1;
    min-height: 0;
    display: flex;
}

.inbox-detail-body > *[b-il58624iu0] {
    flex: 1;
    min-height: 0;
}

/* ============ Inline Bob panel ============ */
.bob-cta[b-il58624iu0] {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.bob-ask-btn[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #c4b5fd;
    border-radius: var(--cx-radius-control);
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s;
}

.bob-ask-btn:hover[b-il58624iu0] {
    background: #ede9fe;
}

.bob-panel[b-il58624iu0] {
    margin-bottom: 10px;
    border: 1px solid #ddd6fe;
    border-radius: var(--cx-radius-surface);
    background: linear-gradient(180deg, #faf5ff, #fff);
    padding: 12px;
}

.bob-panel-head[b-il58624iu0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.bob-panel-title[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6d28d9;
}

.bob-panel-close[b-il58624iu0] {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-muted);
    cursor: pointer;
}

.bob-panel-close:hover[b-il58624iu0] {
    background: rgba(109, 40, 217, 0.08);
}

.bob-thinking[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bob-thinking-text[b-il58624iu0] {
    font-size: 0.86rem;
    color: #6d28d9;
    font-weight: 500;
}

.bob-pulse[b-il58624iu0] {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: var(--cx-radius-round);
    background: #8b5cf6;
    animation: bob-pulse-b-il58624iu0 1s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes bob-pulse-b-il58624iu0 {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}

.bob-streaming[b-il58624iu0] {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--cx-text-primary);
    white-space: pre-wrap;
}

.bob-pills[b-il58624iu0] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bob-pill[b-il58624iu0] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--cx-radius-control);
    font-size: 0.74rem;
    font-weight: 600;
    background: #ede9fe;
    color: #6d28d9;
}

.bob-pill.success[b-il58624iu0] {
    background: #dcfce7;
    color: #15803d;
}

.bob-pill.error[b-il58624iu0] {
    background: #fee2e2;
    color: #b91c1c;
}

.bob-pill-spinner[b-il58624iu0] {
    width: 10px;
    height: 10px;
    border: 2px solid rgba(109, 40, 217, 0.3);
    border-top-color: #6d28d9;
    border-radius: var(--cx-radius-round);
    animation: bob-spin-b-il58624iu0 0.7s linear infinite;
}

@keyframes bob-spin-b-il58624iu0 {
    to { transform: rotate(360deg); }
}

.bob-drafts[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bob-draft[b-il58624iu0] {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #ddd6fe;
    border-radius: var(--cx-radius-surface);
    background: #fff;
    color: var(--cx-text-primary);
    font-size: 0.88rem;
    line-height: 1.38;
    cursor: pointer;
    transition: all 0.1s;
}

.bob-draft:hover[b-il58624iu0] {
    border-color: #a78bfa;
    background: #faf5ff;
}

.bob-refine[b-il58624iu0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
}

.bob-refine-label[b-il58624iu0] {
    font-size: 0.76rem;
    color: var(--cx-text-muted);
}

.bob-refine button[b-il58624iu0] {
    padding: 4px 10px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    background: #fff;
    color: var(--cx-text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.bob-refine button:hover:not(:disabled)[b-il58624iu0] {
    border-color: #a78bfa;
    color: #6d28d9;
}

.bob-refine button:disabled[b-il58624iu0] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bob-error[b-il58624iu0] {
    font-size: 0.84rem;
    color: #b91c1c;
}

/* ============ Link dialog ============ */
.inbox-link-overlay[b-il58624iu0] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4);
}

.inbox-link-card[b-il58624iu0] {
    width: min(440px, 92vw);
    padding: 22px;
    border-radius: var(--cx-radius-surface);
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.inbox-link-card h3[b-il58624iu0] {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--cx-text-primary);
}

.inbox-link-card p[b-il58624iu0] {
    margin: 0 0 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--cx-text-secondary);
}

.inbox-link-head[b-il58624iu0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.inbox-link-head h3[b-il58624iu0] {
    margin: 0;
}

.inbox-link-close[b-il58624iu0] {
    border: none;
    background: transparent;
    color: var(--cx-text-muted);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--cx-radius-control);
}

.inbox-link-close:hover[b-il58624iu0] {
    background: var(--cx-bg, #f1f5f9);
    color: var(--cx-text-primary);
}

.inbox-link-current[b-il58624iu0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    background: var(--cx-bg, #f8fafc);
    margin-bottom: 14px;
}

.inbox-link-current-main[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.inbox-link-current-main > i[b-il58624iu0] {
    font-size: 1.2rem;
    color: #047857;
}

.inbox-link-current-name[b-il58624iu0] {
    font-weight: 600;
    color: var(--cx-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inbox-link-current-sub[b-il58624iu0] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
}

.inbox-link-remove[b-il58624iu0] {
    flex: 0 0 auto;
    border: 1px solid var(--cx-card-border);
    background: #fff;
    color: #b91c1c;
    border-radius: var(--cx-radius-control);
    padding: 6px 10px;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
}

.inbox-link-remove:hover:not(:disabled)[b-il58624iu0] {
    background: #fef2f2;
    border-color: #fecaca;
}

.inbox-link-remove:disabled[b-il58624iu0] {
    opacity: 0.5;
    cursor: default;
}

.inbox-link-section[b-il58624iu0] {
    margin-bottom: 14px;
}

.inbox-link-label[b-il58624iu0] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cx-text-secondary);
    margin-bottom: 6px;
}

.inbox-link-select[b-il58624iu0],
.inbox-link-search[b-il58624iu0] {
    width: 100%;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    padding: 8px 10px;
    font-size: 0.9rem;
    color: var(--cx-text-primary);
    background: #fff;
}

.inbox-link-select:focus[b-il58624iu0],
.inbox-link-search:focus[b-il58624iu0] {
    outline: none;
    border-color: var(--cx-accent, #2563eb);
}

.inbox-link-results[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    max-height: 230px;
    overflow-y: auto;
}

.inbox-link-result[b-il58624iu0] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    border: 1px solid var(--cx-card-border);
    background: #fff;
    border-radius: var(--cx-radius-control);
    padding: 8px 10px;
    cursor: pointer;
}

.inbox-link-result:hover:not(:disabled)[b-il58624iu0] {
    border-color: var(--cx-accent, #2563eb);
    background: var(--cx-bg, #f8fafc);
}

.inbox-link-result:disabled[b-il58624iu0] {
    opacity: 0.5;
    cursor: default;
}

.inbox-link-result-name[b-il58624iu0] {
    font-weight: 600;
    color: var(--cx-text-primary);
}

.inbox-link-result small[b-il58624iu0] {
    color: var(--cx-text-muted);
    font-size: 0.78rem;
}

.inbox-link-hint[b-il58624iu0] {
    font-size: 0.82rem;
    color: var(--cx-text-muted);
}

.inbox-link-error[b-il58624iu0] {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: var(--cx-radius-surface);
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.82rem;
}

@media (max-width: 860px) {
    .posteingang[b-il58624iu0] {
        grid-template-columns: 1fr;
    }

    .inbox-detail[b-il58624iu0] {
        display: none;
    }
}

/* ============ Connection gate (WhatsApp offline) ============ */
.posteingang-gate[b-il58624iu0] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: calc(var(--cx-app-h) - var(--cx-topbar-h));
    min-height: 0;
    padding: 40px 20px;
    background: var(--cx-bg, #f4f6f8);
    overflow-y: auto;
}

.inbox-gate-loading[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 80px;
    color: var(--cx-text-secondary);
    font-size: 0.95rem;
}

.inbox-gate-card[b-il58624iu0] {
    width: min(100%, 560px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg, #fff);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.inbox-gate-intro[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.inbox-gate-icon[b-il58624iu0] {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--cx-radius-control);
    background: #dcfce7;
    color: #16a34a;
    font-size: 1.5rem;
}

.inbox-gate-intro h1[b-il58624iu0] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cx-text-primary);
}

.inbox-gate-intro p[b-il58624iu0] {
    margin: 4px 0 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--cx-text-secondary);
}

.inbox-gate-connector[b-il58624iu0] {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
}

/* Non-blocking progress banner shown while a chat's history is re-pulled from WhatsApp. */
.inbox-reload-banner[b-il58624iu0] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 16px 0;
    padding: 9px 12px;
    border: 1px solid #bbf7d0;
    border-radius: var(--cx-radius-surface);
    background: rgba(22, 163, 74, 0.06);
    color: var(--cx-text-secondary);
    font-size: 13px;
    line-height: 1.35;
}

.inbox-reload-spinner[b-il58624iu0] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(22, 163, 74, 0.3);
    border-top-color: #16a34a;
    border-radius: var(--cx-radius-round);
    animation: bob-spin-b-il58624iu0 0.7s linear infinite;
}
/* _content/CraftX.Web/Components/Pages/InvoiceProcessing/IncomingDocumentReviewPage.razor.rz.scp.css */
/* The review fills the content area of the app under its bar, edge to edge (full-bleed): the document and the form scroll
   on their own inside it, never the page. */
.idr[b-9lwlpplhov] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* Not found, failed, loading: a short message in the middle of the page with the way back. */
.idr-state[b-9lwlpplhov] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    padding: 40px 16px;
    text-align: center;
}

.idr-state-icon[b-9lwlpplhov] {
    font-size: 40px;
    color: var(--cx-text-muted);
}

.idr-state-title[b-9lwlpplhov] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--cx-text-primary);
}

.idr-state-text[b-9lwlpplhov] {
    max-width: 440px;
    margin: 0;
    color: var(--cx-text-muted);
}

.idr-state-actions[b-9lwlpplhov] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}
/* _content/CraftX.Web/Components/Pages/InvoiceProcessing/IncomingInvoicePage.razor.rz.scp.css */
/* Rechnungseingang, Hülle B „Ruhige Spalten“ (Owner-Entscheid 08.11.): full width without page margins. The filter column
   on sand at the left, the list white in the middle, the detail panel to the right edge; no cards or frames, only
   surfaces with one strong hairline between the columns. The columns follow the width of .iip-body (container iip), not
   the window, because the sidebar may be open or closed:
   - below 760 px: filter chips above the list, the page scrolls (phone, unchanged);
   - from 760 px: filter column and list, the page scrolls; the panel stands over the list (CaptureSidePanel);
   - from 1000 px (a 13-inch laptop of 1280 px with the sidebar open): three columns in the height left under the
     head, each column scrolls by itself: the filter column with „Rechnung hochladen“ on top, the list under its tool
     row, the white panel as a whole (Nachtrag 3).
   The page takes the height left in the content column (cx-fill-height in cx-shell.css), so a banner above it keeps
   its own height. */

.iip[b-dx5kbyfv41] {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--cx-content-bg);
    min-width: 0;
}

/* ── Head ─────────────────────────────────────────────────────────────── */

.iip-head[b-dx5kbyfv41] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--cx-hairline);
}

.iip-title[b-dx5kbyfv41] {
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--cx-text-primary);
    letter-spacing: var(--tracking-tight);
}

/* ── Columns ──────────────────────────────────────────────────────────── */

/* Takes the height left under the head; a short window keeps a usable work area and the page scrolls instead. */
.iip-body[b-dx5kbyfv41] {
    container: iip / inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 420px;
}

.iip-grid[b-dx5kbyfv41] {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "filters"
        "list";
    row-gap: 12px;
    align-items: start;
}

.iip-filters[b-dx5kbyfv41] {
    grid-area: filters;
    min-width: 0;
}

/* „Rechnung hochladen“ on top of the filters (Nachtrag 3, 1). */
.iip-filter-stack[b-dx5kbyfv41] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* The scrolling part of the list column; the drop overlay stands beside it and covers the column, not the rows. */
.iip-list-scroll[b-dx5kbyfv41] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.iip-main[b-dx5kbyfv41] {
    grid-area: list;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.iip-preview[b-dx5kbyfv41] {
    display: none;
    grid-area: preview;
    min-width: 0;
}

@container iip (max-width: 759px) {
    /* One column: each row takes its content's height, the free height stays below (no gap above the list). */
    .iip-grid[b-dx5kbyfv41] {
        align-content: start;
        padding: 12px 16px 24px;
    }
}

@container iip (min-width: 760px) {
    .iip-grid[b-dx5kbyfv41] {
        grid-template-columns: 240px minmax(0, 1fr);
        grid-template-areas: "filters list";
        row-gap: 0;
        align-items: stretch;
    }

    .iip-filters[b-dx5kbyfv41] {
        padding: 8px;
        background: var(--sand);
        border-right: 1px solid var(--cx-hairline-strong);
    }

    /* Two columns: the page scrolls, upload and filters stay in view beside the list. */
    .iip-filter-stack[b-dx5kbyfv41] {
        position: sticky;
        top: 8px;
    }

    .iip-main[b-dx5kbyfv41] {
        gap: 0;
        background: var(--cx-card-bg);
    }

    .iip-list-scroll[b-dx5kbyfv41] {
        gap: 0;
    }

    /* Search and sort as the tool row on top of the list column. */
    .iip-main[b-dx5kbyfv41]  .iil-toolbar {
        padding: 10px 12px;
        border-bottom: 1px solid var(--cx-hairline);
    }
}

@container iip (min-width: 1000px) {
    .iip-grid[b-dx5kbyfv41] {
        position: absolute;
        inset: 0;
        grid-template-columns: 220px minmax(0, 1fr) 320px;
        grid-template-areas: "filters list preview";
    }

    .iip-filters[b-dx5kbyfv41] {
        overflow-y: auto;
    }

    .iip-filter-stack[b-dx5kbyfv41] {
        position: static;
    }

    /* The column holds still; its scrolling part scrolls and the drop overlay covers what is visible. */
    .iip-main[b-dx5kbyfv41] {
        overflow: hidden;
    }

    .iip-list-scroll[b-dx5kbyfv41] {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    /* The list fills the height: the footer stands at its bottom when there are few rows. */
    .iip-list-scroll[b-dx5kbyfv41]  .iil-card {
        flex: 1 0 auto;
    }

    .iip-list-scroll[b-dx5kbyfv41]  .iil-bottom {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin-top: auto;
        background: var(--cx-card-bg);
    }

    .iip-preview[b-dx5kbyfv41] {
        display: block;
        overflow-y: auto;
        background: var(--cx-card-bg);
        border-left: 1px solid var(--cx-hairline-strong);
    }
}

@container iip (min-width: 1180px) {
    .iip-grid[b-dx5kbyfv41] {
        grid-template-columns: 260px minmax(0, 1fr) 380px;
    }
}

/* ── The list column is the drop area (incoming-list.js, attachDropArea) ─ */

.iip-list[b-dx5kbyfv41] {
    position: relative;
    min-width: 0;
}

.iip-drop-overlay[b-dx5kbyfv41] {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    border: 2px dashed var(--cx-primary);
    background: color-mix(in srgb, var(--copper-50) 88%, transparent);
    pointer-events: none;
    transition: opacity 0.15s var(--ease), visibility 0.15s var(--ease);
}

.iip-drop-overlay p[b-dx5kbyfv41] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--cx-primary);
    font-size: 16px;
    font-weight: var(--fw-semibold);
}

.iip-drop-overlay i[b-dx5kbyfv41] {
    font-size: 22px;
}

/* attachDropArea puts is-drag-over on the column while files are dragged over it. */
.iip-list.is-drag-over .iip-drop-overlay[b-dx5kbyfv41] {
    visibility: visible;
    opacity: 1;
}

/* The input that receives dropped files: in the DOM, never seen or reached. */
[b-dx5kbyfv41] .iip-drop-input {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ── Dialog texts ─────────────────────────────────────────────────────── */

.iip-dialog-text[b-dx5kbyfv41] {
    margin: 0;
    padding: 4px 0;
    color: var(--cx-text-secondary);
    line-height: 1.5;
}

/* „Erstattung erfassen“: the three fields under one another, the consequence below them. */
.iip-refund-fields[b-dx5kbyfv41] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
}

.iip-refund-hint[b-dx5kbyfv41] {
    color: var(--cx-text-primary);
}

/* ── Phone ────────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
    .iip-head[b-dx5kbyfv41] {
        padding: 14px 16px;
    }
}

/* „Mit Skonto bezahlt?“ under the amount of a payment already made, and a Storno standing against the invoice. */
.iip-run-skonto[b-dx5kbyfv41] {
    display: block;
    margin: 2px 10px 0 auto;
}

.iip-run-warn[b-dx5kbyfv41] {
    display: block;
    margin-top: 4px;
    padding: 4px 6px;
    border-radius: var(--cx-radius-control);
    background: color-mix(in srgb, var(--cx-warning) 12%, var(--cx-card-bg));
    color: var(--cx-text-primary);
    font-size: 12px;
    line-height: 1.3;
}

/* The decision at an e-invoice whose supplier debits it, in the line (owner answer 3). */
.iip-run-decide[b-dx5kbyfv41] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.iip-run-decide-acts[b-dx5kbyfv41] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.iip-run-decide-acts .btn[b-dx5kbyfv41] {
    min-height: 36px;
    font-size: 12.5px;
}

.iip-run-note[b-dx5kbyfv41] {
    color: var(--cx-text-secondary);
    font-size: 12px;
    line-height: 1.3;
}

.iip-run-link[b-dx5kbyfv41] {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--cx-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.iip-run-link:hover[b-dx5kbyfv41] {
    color: var(--cx-primary-hover);
}

/* „Zahlbetrag“ of a ticked invoice the payment run cannot pay: why, where the amount would stand (o776 A). */
.iip-run-state[b-dx5kbyfv41] {
    display: block;
    padding: 0 2px;
    color: var(--cx-text-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

/* The summary of the payment run as a sheet over the whole page below 1000 px of list area (mockup .sheet). */
.iip-run-sheet[b-dx5kbyfv41]  .csp-panel {
    width: 100vw;
}

/* „Zurück zum Zahlungslauf“ above a document shown in the payment run. */
.iip-run-back[b-dx5kbyfv41] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    margin: 0 0 8px;
}

/* The sheet's content stands 560 px wide in the middle (mockup Runde 3, .sheet .sb). */
.iip-run-sheet[b-dx5kbyfv41]  .csp-body > .prs {
    max-width: 560px;
    margin: 0 auto;
}
/* _content/CraftX.Web/Components/Pages/My/MyLeave.razor.rz.scp.css */
.my-leave[b-7zeohw1f7y] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--paper-2);
    overflow: hidden;
}

/* Stat icon colors */
.stat-total[b-7zeohw1f7y]  .cx-stat-icon { background: rgba(99, 102, 241, 0.1); color: var(--ai); }
.stat-active[b-7zeohw1f7y]  .cx-stat-icon { background: rgba(16, 185, 129, 0.1); color: var(--cx-success); }
.stat-inactive[b-7zeohw1f7y]  .cx-stat-icon { background: rgba(245, 158, 11, 0.1); color: var(--cx-warning); }
.stat-pending[b-7zeohw1f7y]  .cx-stat-icon { background: rgba(245, 158, 11, 0.1); color: var(--cx-warning); }

/* Request List */
.request-list[b-7zeohw1f7y] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-card[b-7zeohw1f7y] {
    background: white;
    border-radius: var(--cx-radius-surface);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-left: 4px solid var(--cx-border);
    transition: all 0.2s;
}

.request-card:hover[b-7zeohw1f7y] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.request-card.status-pending[b-7zeohw1f7y] { border-left-color: var(--cx-warning); }
.request-card.status-approved[b-7zeohw1f7y] { border-left-color: var(--cx-success); }
.request-card.status-rejected[b-7zeohw1f7y] { border-left-color: var(--cx-danger); }
.request-card.status-cancelled[b-7zeohw1f7y] { border-left-color: var(--cx-text-secondary); }

.request-header[b-7zeohw1f7y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.employee-info[b-7zeohw1f7y] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar[b-7zeohw1f7y] {
    width: 40px;
    height: 40px;
    border-radius: var(--cx-radius-round);
    background: linear-gradient(135deg, var(--cx-success), var(--cx-success));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.employee-details[b-7zeohw1f7y] {
    display: flex;
    flex-direction: column;
}

.employee-name[b-7zeohw1f7y] {
    font-weight: 600;
    color: var(--cx-text-primary);
}

.leave-type[b-7zeohw1f7y] {
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

.status-badge[b-7zeohw1f7y] {
    padding: 0.375rem 0.75rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-warning[b-7zeohw1f7y] { background: rgba(169,117,20,0.15); color: var(--cx-warning); }
.badge-success[b-7zeohw1f7y] { background: rgba(63,125,91,0.15); color: var(--cx-success); }
.badge-danger[b-7zeohw1f7y] { background: rgba(154,59,51,0.15); color: var(--cx-danger); }
.badge-secondary[b-7zeohw1f7y] { background: var(--cx-border); color: var(--cx-text-secondary); }
.badge-info[b-7zeohw1f7y] { background: rgba(31,74,130,0.12); color: var(--cx-info); }

.request-body[b-7zeohw1f7y] {
    margin-bottom: 1rem;
}

.date-range[b-7zeohw1f7y], .reason[b-7zeohw1f7y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cx-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.date-range i[b-7zeohw1f7y], .reason i[b-7zeohw1f7y] {
    color: var(--cx-text-muted);
}

.days-count[b-7zeohw1f7y] {
    color: var(--cx-text-secondary);
    font-size: 0.85rem;
}

.request-footer[b-7zeohw1f7y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--cx-border);
}

.meta-info[b-7zeohw1f7y] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
}

.actions[b-7zeohw1f7y] {
    display: flex;
    gap: 0.5rem;
}

/* Empty State */
.empty-state[b-7zeohw1f7y] {
    background: white;
    border-radius: var(--cx-radius-surface);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.empty-state i[b-7zeohw1f7y] {
    font-size: 3rem;
    color: var(--cx-border);
    margin-bottom: 1rem;
}

.empty-state h3[b-7zeohw1f7y] {
    margin: 0 0 0.5rem;
    color: var(--cx-text-secondary);
}

.empty-state p[b-7zeohw1f7y] {
    color: var(--cx-text-muted);
    margin: 0;
}

/* Dialog */
.dialog-overlay[b-7zeohw1f7y] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container[b-7zeohw1f7y] {
    background: white;
    border-radius: var(--cx-radius-surface);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.dialog-header[b-7zeohw1f7y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--cx-border);
}

.dialog-header h3[b-7zeohw1f7y] {
    margin: 0;
    font-size: 1.25rem;
}

.close-btn[b-7zeohw1f7y] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--cx-text-secondary);
    cursor: pointer;
    padding: 0.25rem;
}

.close-btn:hover[b-7zeohw1f7y] {
    color: var(--cx-text-primary);
}

.dialog-body[b-7zeohw1f7y] {
    padding: 1.5rem;
}

.form-group[b-7zeohw1f7y] {
    margin-bottom: 1rem;
}

.form-group label[b-7zeohw1f7y] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cx-label-color);
    margin-bottom: 0.375rem;
}

.form-row-2col[b-7zeohw1f7y] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dialog-footer[b-7zeohw1f7y] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cx-border);
    background: var(--paper-2);
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row-2col[b-7zeohw1f7y] {
        grid-template-columns: 1fr;
    }
}
/* _content/CraftX.Web/Components/Pages/My/MyTimesheet.razor.rz.scp.css */
.my-timesheet[b-j3xuxgq374] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--paper-2);
    overflow: hidden;
}

/* Stat card icon colors (page-specific) */
.stat-total[b-j3xuxgq374]  .cx-stat-icon { background: rgba(99, 102, 241, 0.1); color: var(--ai); }
.stat-active[b-j3xuxgq374]  .cx-stat-icon { background: rgba(16, 185, 129, 0.1); color: var(--cx-success); }
.stat-departments[b-j3xuxgq374]  .cx-stat-icon { background: rgba(59, 130, 246, 0.1); color: var(--cx-primary); }
.stat-expected[b-j3xuxgq374]  .cx-stat-icon { background: rgba(59, 130, 246, 0.1); color: var(--cx-primary); }
.stat-actual[b-j3xuxgq374]  .cx-stat-icon { background: rgba(99, 102, 241, 0.1); color: var(--ai); }
.stat-overtime-positive[b-j3xuxgq374]  .cx-stat-icon { background: rgba(16, 185, 129, 0.1); color: var(--cx-success); }
.stat-overtime-positive[b-j3xuxgq374]  .cx-stat-value { color: var(--cx-success); }
.stat-overtime-negative[b-j3xuxgq374]  .cx-stat-icon { background: rgba(239, 68, 68, 0.1); color: var(--cx-danger); }
.stat-overtime-negative[b-j3xuxgq374]  .cx-stat-value { color: var(--cx-danger); }
.stat-rejected[b-j3xuxgq374]  .cx-stat-icon { background: rgba(239, 68, 68, 0.1); color: var(--cx-danger); }
.stat-attendance[b-j3xuxgq374]  .cx-stat-icon { background: rgba(16, 185, 129, 0.1); color: var(--cx-success); }
.stat-locked[b-j3xuxgq374]  .cx-stat-icon { background: rgba(107, 114, 128, 0.1); color: var(--cx-text-muted); }
.stat-locked[b-j3xuxgq374]  .cx-stat-value { color: var(--cx-text-muted); font-size: 1.1rem; }

/* Clock Status (inside shared header) */
.clock-status[b-j3xuxgq374] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: var(--cx-radius-surface);
    font-size: 0.875rem;
}

.clock-status.clocked-in i[b-j3xuxgq374] {
    animation: pulse-b-j3xuxgq374 2s infinite;
}

@keyframes pulse-b-j3xuxgq374 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Date Navigation */
.date-nav-section[b-j3xuxgq374] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--cx-radius-surface);
    border: 1px solid var(--cx-hairline);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.date-nav[b-j3xuxgq374] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-range-display[b-j3xuxgq374] {
    min-width: 150px;
}

/* Week label (KW + date range) */
.week-label[b-j3xuxgq374] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--ink-2);
}

.week-kw[b-j3xuxgq374] {
    font-weight: 700;
    color: var(--ink);
    background: var(--paper-2);
    padding: 0.25rem 0.625rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.8rem;
}

.week-range[b-j3xuxgq374] {
    color: var(--cx-text-muted);
}

/* Timesheet Grid */
.timesheet-section[b-j3xuxgq374] {
    background: white;
    border-radius: var(--cx-radius-surface);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--cx-hairline);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    overflow-x: auto;
}

.timesheet-header[b-j3xuxgq374] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.day-header[b-j3xuxgq374] {
    text-align: center;
    padding: 0.625rem 0.5rem;
    background: var(--paper-2);
    border-radius: var(--cx-radius-control);
}

.day-header.today[b-j3xuxgq374] {
    background: var(--cx-primary);
    color: white;
}

.day-header.weekend[b-j3xuxgq374] {
    background: var(--paper-2);
    color: var(--cx-text-muted);
}

.day-header.future[b-j3xuxgq374] {
    opacity: 0.5;
}

.day-header.future.today[b-j3xuxgq374] {
    opacity: 1;
}

.day-name[b-j3xuxgq374] {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
}

.day-date[b-j3xuxgq374] {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.timesheet-body[b-j3xuxgq374] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.375rem;
    min-height: 180px;
}

.day-column[b-j3xuxgq374] {
    background: var(--paper-2);
    border-radius: var(--cx-radius-control);
    padding: 0.625rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.day-column.today[b-j3xuxgq374] {
    background: rgba(31,74,130,0.06);
    border: 2px solid var(--cx-primary);
}

.day-column.weekend[b-j3xuxgq374] {
    background: var(--paper-2);
}

.day-column.future[b-j3xuxgq374] {
    opacity: 0.45;
    background: var(--paper-2);
}

.day-column.future.today[b-j3xuxgq374] {
    opacity: 1;
}

.time-entry[b-j3xuxgq374] {
    background: white;
    border-radius: var(--cx-radius-control);
    padding: 0.5rem;
    font-size: 0.8rem;
    border-left: 3px solid var(--cx-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.time-entry.active[b-j3xuxgq374] {
    border-left-color: var(--cx-success);
    background: rgba(63,125,91,0.10);
}

.time-entry.locked[b-j3xuxgq374] {
    border-left-color: var(--cx-text-muted);
    opacity: 0.7;
    background: var(--paper-2);
}

.entry-time[b-j3xuxgq374] {
    font-weight: 600;
    color: var(--ink);
}

.entry-hours[b-j3xuxgq374] {
    color: var(--cx-primary);
    font-weight: 600;
}

.entry-break[b-j3xuxgq374] {
    color: var(--cx-text-muted);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.entry-desc[b-j3xuxgq374] {
    color: var(--cx-text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.no-entries[b-j3xuxgq374] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cx-hairline);
    flex: 1;
}

.day-total[b-j3xuxgq374] {
    margin-top: auto;
    padding-top: 0.375rem;
    border-top: 1px dashed var(--cx-hairline);
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    text-align: center;
}

.week-total[b-j3xuxgq374] {
    text-align: right;
    padding-top: 0.75rem;
    border-top: 1px solid var(--cx-hairline);
    color: var(--ink);
}

/* Week total row with Soll/Ist/+- */
.week-total-row[b-j3xuxgq374] {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--cx-hairline);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.week-total-row .overtime-positive[b-j3xuxgq374] {
    color: var(--cx-success);
}

.week-total-row .overtime-negative[b-j3xuxgq374] {
    color: var(--cx-danger);
}

/* Day indicators (holiday, leave) */
.day-indicator[b-j3xuxgq374] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.5rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: 500;
}

.day-indicator.holiday[b-j3xuxgq374] {
    background: rgba(169,117,20,0.15);
    color: var(--cx-warning);
    border: 1px solid rgba(169,117,20,0.20);
}

.day-indicator.holiday i[b-j3xuxgq374] {
    color: var(--cx-warning);
}

.day-indicator.leave-day[b-j3xuxgq374] {
    background: var(--ai-50);
    color: var(--ai);
    border: 1px solid var(--ai-50);
}

.day-indicator.leave-day.sick[b-j3xuxgq374] {
    background: color-mix(in srgb, var(--cx-danger) 10%, white);
    color: var(--cx-danger);
    border: 1px solid color-mix(in srgb, var(--cx-danger) 22%, white);
}

.day-indicator.leave-day.sick i[b-j3xuxgq374] {
    color: var(--cx-danger);
}

.half-day-badge[b-j3xuxgq374] {
    background: rgba(255,255,255,0.6);
    padding: 0 0.25rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.7rem;
    font-weight: 700;
}

/* Entries List */
.entries-list-section[b-j3xuxgq374] {
    background: white;
    border-radius: var(--cx-radius-surface);
    padding: 1.25rem;
    border: 1px solid var(--cx-hairline);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.entries-list-section h3[b-j3xuxgq374] {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.entries-list[b-j3xuxgq374] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.entry-row[b-j3xuxgq374] {
    display: grid;
    grid-template-columns: 160px 120px 80px auto;
    gap: 1rem;
    align-items: center;
    padding: 0.625rem 1rem;
    background: var(--paper-2);
    border-radius: var(--cx-radius-control);
}

.entry-row.locked[b-j3xuxgq374] {
    opacity: 0.7;
    background: var(--paper-2);
}

/* Where corrections happen (the page itself is read-only) */
.timesheet-correction-hint[b-j3xuxgq374] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--paper-2);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
}

.timesheet-correction-hint i[b-j3xuxgq374] {
    color: var(--cx-text-muted);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Week locked banner */
.week-locked-banner[b-j3xuxgq374] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--paper-2);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--cx-text-secondary);
    font-weight: 500;
}

.week-locked-banner i[b-j3xuxgq374] {
    color: var(--cx-text-muted);
}

.entry-date[b-j3xuxgq374] {
    font-weight: 500;
    color: var(--ink);
}

.entry-time-range[b-j3xuxgq374] {
    color: var(--cx-text-secondary);
}

.entry-duration[b-j3xuxgq374] {
    font-weight: 600;
    color: var(--cx-primary);
}

.entry-status[b-j3xuxgq374] {
    display: flex;
    justify-content: flex-end;
}

.badge[b-j3xuxgq374] {
    padding: 0.2rem 0.5rem;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-active[b-j3xuxgq374] {
    background: rgba(63,125,91,0.15);
    color: var(--cx-success);
}

.badge-locked[b-j3xuxgq374] {
    background: var(--cx-hairline);
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-locked i[b-j3xuxgq374] {
    font-size: 0.65rem;
}

/* Dialog */
.dialog-overlay[b-j3xuxgq374] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container[b-j3xuxgq374] {
    background: white;
    border-radius: var(--cx-radius-surface);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.dialog-header[b-j3xuxgq374] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--cx-hairline);
}

.dialog-header h3[b-j3xuxgq374] {
    margin: 0;
    font-size: 1.15rem;
}

.close-btn[b-j3xuxgq374] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--cx-text-muted);
    cursor: pointer;
}

.close-btn:hover[b-j3xuxgq374] {
    color: var(--ink);
}

.dialog-body[b-j3xuxgq374] {
    padding: 1.25rem 1.5rem;
}

.clock-summary[b-j3xuxgq374] {
    background: var(--paper-2);
    border-radius: var(--cx-radius-surface);
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-row[b-j3xuxgq374] {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.form-group[b-j3xuxgq374] {
    margin-bottom: 1rem;
}

.form-group label[b-j3xuxgq374] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cx-label-color);
    margin-bottom: 0.375rem;
}

.form-hint[b-j3xuxgq374] {
    color: var(--cx-text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.dialog-footer[b-j3xuxgq374] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cx-hairline);
    background: var(--paper-2);
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
}

/* Empty State */
.empty-state[b-j3xuxgq374] {
    background: white;
    border-radius: var(--cx-radius-surface);
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--cx-hairline);
}

.empty-state i[b-j3xuxgq374] {
    font-size: 2.5rem;
    color: var(--cx-hairline);
    margin-bottom: 1rem;
}

.empty-state h3[b-j3xuxgq374] {
    margin: 0 0 0.5rem;
    color: var(--cx-text-secondary);
}

.empty-state p[b-j3xuxgq374] {
    color: var(--cx-text-muted);
    margin: 0;
}

/* Rejection / Correction Styles */
.badge-rejected[b-j3xuxgq374] {
    background: rgba(154,59,51,0.15);
    color: var(--cx-danger);
}

.badge-corrected[b-j3xuxgq374] {
    background: rgba(31,74,130,0.12);
    color: var(--cx-info);
}

.time-entry.needs-correction[b-j3xuxgq374] {
    border-left-color: var(--cx-danger);
    background: rgba(154,59,51,0.06);
}

.time-entry.corrected[b-j3xuxgq374] {
    border-left-color: var(--cx-primary);
    background: rgba(31,74,130,0.06);
}

.entry-row.needs-correction[b-j3xuxgq374] {
    background: rgba(154,59,51,0.06);
    border-left: 3px solid var(--cx-danger);
}

.rejection-reason[b-j3xuxgq374] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(154,59,51,0.06);
    border: 1px solid rgba(154,59,51,0.20);
    border-radius: var(--cx-radius-control);
    font-size: 0.8rem;
    color: var(--cx-danger);
    margin-top: 0.25rem;
}

.rejection-reason i[b-j3xuxgq374] {
    color: var(--cx-danger);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Skeleton Loading */
.skeleton[b-j3xuxgq374] {
    background: linear-gradient(90deg, var(--paper-2) 25%, var(--cx-border) 50%, var(--paper-2) 75%);
    background-size: 200% 100%;
    animation: shimmer-b-j3xuxgq374 1.5s infinite;
    border-radius: var(--cx-radius-control);
}

.skeleton-circle[b-j3xuxgq374] {
    border-radius: var(--cx-radius-control);
}

.skeleton-text[b-j3xuxgq374] {
    height: 14px;
}

.skeleton-text-xl[b-j3xuxgq374] {
    height: 24px;
}

@keyframes shimmer-b-j3xuxgq374 {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .timesheet-section[b-j3xuxgq374] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .timesheet-header[b-j3xuxgq374],
    .timesheet-body[b-j3xuxgq374] {
        min-width: 700px;
    }
}

@media (max-width: 768px) {
    .date-nav-section[b-j3xuxgq374] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .week-label[b-j3xuxgq374] {
        order: -1;
    }

    .entry-row[b-j3xuxgq374] {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}
/* _content/CraftX.Web/Components/Pages/Nachfassen/NachfassCockpit.razor.rz.scp.css */
/* ==========================================================================
   Nachfassen-Cockpit — warm-craftsman skin (matches the design mockup).
   Reuses the global tokens from app.css (--copper #B8601F, paper/sand/ink,
   --font-display Bricolage, --font-mono JetBrains Mono). Light surfaces only.
   ========================================================================== */

.nfc[b-ivi3huy888] {
    --nfc-ease: cubic-bezier(.22, .61, .36, 1);
    --nfc-violet: #5B4B8A;
    --nfc-violet-50: #EEEBF5;
    --nfc-hairline: rgba(28, 25, 21, .08);
    --nfc-hairline-soft: rgba(28, 25, 21, .05);
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 28px 24px;
    font-family: var(--font-sans);
    color: var(--ink, #1C1915);
    /* Fixed-height master-detail: the page fills the bounded content area and the
       list / detail panes scroll INDEPENDENTLY, instead of the whole cockpit
       scrolling as one long document (which left the short list column with a
       big empty gutter while the tall detail kept scrolling). */
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header chrome stays put; only the split below it scrolls. */
.nfc__back[b-ivi3huy888],
.nfc__head[b-ivi3huy888],
.nfc-kpis[b-ivi3huy888],
.nfc-filters[b-ivi3huy888] { flex: 0 0 auto; }

.nfc__back[b-ivi3huy888] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--walnut, #4A443C);
    text-decoration: none;
    margin-bottom: 6px;
}
.nfc__back:hover[b-ivi3huy888] { color: var(--copper, #B8601F); }

/* ── Page header ───────────────────────────────────────── */
.nfc__head[b-ivi3huy888] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.nfc__title[b-ivi3huy888] {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin: 0;
}
.nfc__sub[b-ivi3huy888] {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--stone, #8E8679);
    letter-spacing: .02em;
    margin: 5px 0 0;
}

/* Kennzahlen (KPI) collapse toggle — replaces the old Liste/Split segmented control. */
.nfc-kpitoggle[b-ivi3huy888] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--nfc-hairline);
    background: #fff;
    border-radius: var(--cx-radius-control);
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--walnut, #4A443C);
    cursor: pointer;
    transition: all .15s var(--nfc-ease);
}
.nfc-kpitoggle:hover[b-ivi3huy888] {
    border-color: color-mix(in srgb, var(--copper, #B8601F) 45%, transparent);
    color: var(--ink, #1C1915);
}
.nfc-kpitoggle > .bi-bar-chart-line[b-ivi3huy888] { color: var(--copper, #B8601F); font-size: 13px; }
.nfc-kpitoggle > .bi-chevron-up[b-ivi3huy888],
.nfc-kpitoggle > .bi-chevron-down[b-ivi3huy888] { font-size: 11px; color: var(--stone, #8E8679); }
.nfc-kpitoggle.off[b-ivi3huy888] { background: var(--sand, #F0ECE4); }

.nfc__state[b-ivi3huy888] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 0;
    color: var(--stone, #8E8679);
}

/* ── KPI cards ─────────────────────────────────────────── */
.nfc-kpis[b-ivi3huy888] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}
/* Shown/hidden purely via the "Kennzahlen" toggle — instant, no animation, so a
   row-click never triggers a vertical reflow alongside the detail's horizontal slide. */
.nfc-kpis.is-collapsed[b-ivi3huy888] { display: none; }
.nfc-kpi[b-ivi3huy888] {
    position: relative;
    background: #fff;
    border: 1px solid var(--nfc-hairline);
    border-radius: var(--cx-radius-surface);
    padding: 15px 17px;
    overflow: hidden;
}
.nfc-kpi[b-ivi3huy888]::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}
.nfc-kpi.copper[b-ivi3huy888]::after { background: var(--copper, #B8601F); }
.nfc-kpi.brick[b-ivi3huy888]::after { background: var(--cx-danger, #9A3B33); }
.nfc-kpi.patina[b-ivi3huy888]::after { background: var(--cx-success, #3F7D5B); }
.nfc-kpi.ochre[b-ivi3huy888]::after { background: var(--cx-warning, #A97514); }

.nfc-kpi__l[b-ivi3huy888] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: var(--stone, #8E8679);
    margin-bottom: 9px;
}
.nfc-kpi__ic[b-ivi3huy888] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: var(--cx-radius-surface);
    font-size: 11px;
    color: #fff;
    flex: 0 0 auto;
}
.nfc-kpi__ic.copper[b-ivi3huy888] { background: var(--copper, #B8601F); }
.nfc-kpi__ic.brick[b-ivi3huy888] { background: var(--cx-danger, #9A3B33); }
.nfc-kpi__ic.patina[b-ivi3huy888] { background: var(--cx-success, #3F7D5B); }
.nfc-kpi__ic.ochre[b-ivi3huy888] { background: var(--cx-warning, #A97514); }

.nfc-kpi__v[b-ivi3huy888] {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.05;
    color: var(--ink, #1C1915);
    font-variant-numeric: tabular-nums;
}
.nfc-kpi__f[b-ivi3huy888] {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--stone, #8E8679);
}

/* ── Filter chips ──────────────────────────────────────── */
.nfc-filters[b-ivi3huy888] {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.nfc-filter[b-ivi3huy888] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--nfc-hairline);
    border-radius: var(--cx-radius-control);
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--walnut, #4A443C);
    opacity: .6;
    transition: all .15s var(--nfc-ease);
}
.nfc-filter:hover[b-ivi3huy888] { opacity: .85; }
.nfc-filter.active[b-ivi3huy888] {
    opacity: 1;
    border-color: color-mix(in srgb, var(--copper, #B8601F) 50%, transparent);
    color: var(--ink, #1C1915);
    background: var(--copper-50, #FBEFE5);
}
.nfc-chip[b-ivi3huy888] {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: var(--cx-radius-control);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
}
.nfc-chip.danger[b-ivi3huy888] { background: var(--cx-danger, #9A3B33); }
.nfc-chip.info[b-ivi3huy888] { background: var(--cx-info, #1F4A82); }
.nfc-chip.warning[b-ivi3huy888] { background: var(--cx-warning, #A97514); }
.nfc-chip.neutral[b-ivi3huy888] { background: var(--stone, #8E8679); }
.nfc-chip.copper[b-ivi3huy888] {
    background: var(--copper-50, #FBEFE5);
    color: var(--copper-dark, #8A4514);
    font-weight: 600;
    padding: 0 9px;
}

/* ── Bob strip ────────────────────────────────────────────
   A slim single-line nudge inside the list column (above the rows): present in the
   Fokus-Liste, hidden in Split. Sitting within the list pane means hiding it only
   reflows the list's own rows — the split surface and detail never move (no pop). */
.nfc-bob[b-ivi3huy888] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    background: var(--nfc-violet-50);
    border: 1px solid rgba(91, 75, 138, .16);
    border-radius: var(--cx-radius-surface);
    padding: 8px 10px 8px 9px;
    margin-bottom: 12px;
}
.nfc-bob.is-done[b-ivi3huy888] { background: #EAF3EE; border-color: rgba(63, 125, 91, .18); }
.nfc-split.is-split .nfc-bob[b-ivi3huy888] { display: none; }

.nfc-bob__av[b-ivi3huy888] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: var(--cx-radius-surface);
    background: linear-gradient(135deg, var(--nfc-violet), #8370c0);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
}
.nfc-bob.is-done .nfc-bob__av[b-ivi3huy888] { background: var(--cx-success, #3F7D5B); }

.nfc-bob__tag[b-ivi3huy888] {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--nfc-violet);
    border-radius: var(--cx-radius-control);
    padding: 2px 6px;
}
.nfc-bob__tag.done[b-ivi3huy888] { background: var(--cx-success, #3F7D5B); }

.nfc-bob__line[b-ivi3huy888] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    color: var(--ink, #1C1915);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nfc-bob__line b[b-ivi3huy888] { font-weight: 700; }

.nfc-bob__actions[b-ivi3huy888] { flex: 0 0 auto; display: flex; gap: 6px; }
.nfc-bchip[b-ivi3huy888] {
    font-size: 12px;
    padding: 5px 11px;
    border-radius: var(--cx-radius-control);
    background: #fff;
    border: 1px solid rgba(91, 75, 138, .22);
    color: var(--nfc-violet);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .15s var(--nfc-ease);
}
.nfc-bchip.solid[b-ivi3huy888] { background: var(--nfc-violet); color: #fff; border-color: var(--nfc-violet); }
.nfc-bchip.icon[b-ivi3huy888] { padding: 5px 8px; }
.nfc-bchip:hover[b-ivi3huy888] { filter: brightness(.97); }

/* ── Bob expanded (assistant card) ─────────────────────────
   The richer default state: the prepared-reminder pitch + two actions. Earns the extra height
   because it carries something the row doesn't (a draft ready to send). Collapses to the slim
   strip above via the chevron; the choice persists in localStorage. */
.nfc-bob.is-expanded[b-ivi3huy888] {
    align-items: flex-start;
    gap: 13px;
    padding: 14px 14px 14px 14px;
    border-radius: var(--cx-radius-surface);
}
.nfc-bob.is-expanded .nfc-bob__av[b-ivi3huy888] {
    width: 34px;
    height: 34px;
    border-radius: var(--cx-radius-surface);
    font-size: 14px;
    margin-top: 1px;
}
.nfc-bob__body[b-ivi3huy888] { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.nfc-bob__tags[b-ivi3huy888] { display: flex; align-items: center; gap: 9px; }
.nfc-bob__by[b-ivi3huy888] {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nfc-violet);
    opacity: .75;
}
.nfc-bob__head[b-ivi3huy888] { font-size: 14px; line-height: 1.45; color: var(--ink, #1C1915); }
.nfc-bob__head b[b-ivi3huy888] { font-weight: 700; }
.nfc-bob__sub[b-ivi3huy888] { font-size: 12.5px; color: var(--walnut, #4A443C); }
.nfc-bob.is-expanded .nfc-bob__actions[b-ivi3huy888] { margin-top: 4px; }
.nfc-bob__toggle[b-ivi3huy888] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: var(--cx-radius-control);
    border: 1px solid transparent;
    background: transparent;
    color: var(--nfc-violet);
    display: grid;
    place-items: center;
    font-size: 13px;
    cursor: pointer;
    opacity: .55;
    transition: opacity .15s var(--nfc-ease), background .15s var(--nfc-ease);
}
.nfc-bob__toggle:hover[b-ivi3huy888] { opacity: 1; background: rgba(91, 75, 138, .1); }

/* ── Split surface (animated list ⇄ detail) ───────────────────────────────
   Flex layout: the list pane is `flex:1` and reflows into whatever space the
   detail pane leaves. Toggling views animates the detail's flex-basis between
   0 (Fokus-Liste) and `--nfc-work-w` (Split) — both pixel values, so it
   interpolates smoothly (a grid-template-columns transition between fr and px
   only half-animates). The list follows frame-by-frame as the detail opens. */
.nfc-split[b-ivi3huy888] {
    /* Detail leans wider so the list reads as a slim master column. Clamp keeps it
       sane across widths and still animates 0 → value (both resolve to px). */
    --nfc-work-w: clamp(600px, 66%, 940px);
    display: flex;
    align-items: stretch;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 0;
}

.nfc-split__list[b-ivi3huy888] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
/* The list card fills the column (header pinned, rows scroll inside) so a short
   list reads as a full-height panel rather than a card floating over a gutter. */
.nfc-split__list > .nfc-card[b-ivi3huy888] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.nfc-split__list > .nfc-card > .nfc-card__h[b-ivi3huy888] { flex: 0 0 auto; }
.nfc-split__list .nfc-rows[b-ivi3huy888] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    /* Clip horizontal overflow so that, while closing, the wide rows snapping back
       in are revealed cleanly by the widening list instead of spilling rightward. */
    overflow-x: clip;
}
.nfc-split__list .nfc-empty[b-ivi3huy888] { flex: 1 1 auto; }

/* The list reflows between the wide action-queue and the compact split layout
   (columns toggle via display: a hard swap). A brief dim-then-settle masks that
   snap so it reads as the list "resolving" AFTER the detail has opened, rather
   than everything moving at once. */
.nfc-split.is-split .nfc-rows[b-ivi3huy888] { animation: nfc-rows-settle-split-b-ivi3huy888 .42s var(--nfc-ease) both; }
.nfc-split.is-list .nfc-rows[b-ivi3huy888] { animation: nfc-rows-settle-list-b-ivi3huy888 .4s var(--nfc-ease) both; }
@keyframes nfc-rows-settle-split-b-ivi3huy888 {
    0% { opacity: .25; }
    36% { opacity: .25; } /* hold dim while the detail pane slides open */
    100% { opacity: 1; }
}
@keyframes nfc-rows-settle-list-b-ivi3huy888 {
    0% { opacity: .25; }
    40% { opacity: .28; } /* hold dim while the list widens back out, then resolve */
    100% { opacity: 1; }
}

/* ── Detail (right) pane ──
   The base transition governs OPENING (is-split): the pane widens first, then its
   content fades in (opacity delayed). The is-list rule governs CLOSING and adds a
   small delay so the KPI banner expands first — the reverse of the open sequence. */
.nfc-split__work[b-ivi3huy888] {
    flex: 0 0 var(--nfc-work-w);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 10px 30px rgba(28, 25, 21, .10);
    border: 1px solid var(--nfc-hairline);
    background: #fff;
    transition: flex-basis .3s var(--nfc-ease), opacity .22s var(--nfc-ease) .1s,
                box-shadow .24s var(--nfc-ease), border-color .24s var(--nfc-ease),
                margin-left .3s var(--nfc-ease);
}
/* In Fokus-Liste the detail folds away (basis → 0) and the gap collapses with it.
   It closes WITHOUT delay so the list widens in step with the rows snapping back to
   their wide layout — otherwise wide rows would briefly overflow the still-narrow
   list. The "detail first, then KPIs" feel on the way back comes from staggering the
   KPI expansion (below), not from delaying the fold. */
.nfc-split.is-list .nfc-split__work[b-ivi3huy888] {
    flex-basis: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    border-color: transparent;
    margin-left: -20px; /* cancels the flex gap so the list reads as full-width */
}

/* ── Card shell ────────────────────────────────────────── */
.nfc-card[b-ivi3huy888] {
    background: #fff;
    border: 1px solid var(--nfc-hairline);
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 1px 2px rgba(28, 25, 21, .04);
    overflow: hidden;
}
.nfc-card__h[b-ivi3huy888] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--nfc-hairline-soft);
}
.nfc-card__t[b-ivi3huy888] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, #1C1915);
}
.nfc-card__ic[b-ivi3huy888] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: var(--cx-radius-surface);
    background: var(--copper-50, #FBEFE5);
    color: var(--copper, #B8601F);
    font-size: 13px;
}
.nfc-card__hint[b-ivi3huy888] { font-size: 12.5px; color: var(--stone, #8E8679); }
.nfc-card__hint b[b-ivi3huy888] { color: var(--ink, #1C1915); font-weight: 700; }

/* ── Rows ──────────────────────────────────────────────── */
.nfc-rows[b-ivi3huy888] { display: flex; flex-direction: column; }

.nfc-row[b-ivi3huy888] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px 13px 16px;
    border-bottom: 1px solid var(--nfc-hairline-soft);
    cursor: pointer;
    transition: background .15s var(--nfc-ease);
}
.nfc-row:last-child[b-ivi3huy888] { border-bottom: none; }
.nfc-row[b-ivi3huy888]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 var(--cx-radius-control) var(--cx-radius-control) 0;
    background: var(--accent, transparent);
}
.nfc-row.tier-hot[b-ivi3huy888] { --accent: var(--cx-danger, #9A3B33); }
.nfc-row.tier-warm[b-ivi3huy888] { --accent: var(--copper, #B8601F); }
.nfc-row.tier-cool[b-ivi3huy888] { --accent: transparent; }
.nfc-row:hover[b-ivi3huy888] { background: var(--copper-50, #FBEFE5); }
.nfc-row.sel[b-ivi3huy888] { background: var(--copper-50, #FBEFE5); }

.nfc-row__rank[b-ivi3huy888] {
    flex: 0 0 auto;
    width: 24px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--stone, #8E8679);
}
.nfc-row.tier-hot .nfc-row__rank[b-ivi3huy888] { color: var(--cx-danger, #9A3B33); }
.nfc-row.tier-warm .nfc-row__rank[b-ivi3huy888] { color: var(--copper, #B8601F); }

.nfc-row__main[b-ivi3huy888] { flex: 1 1 auto; min-width: 0; }
.nfc-row__cust[b-ivi3huy888] {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink, #1C1915);
}
.nfc-row__cust strong[b-ivi3huy888] { font-weight: 700; }
.nfc-row__id[b-ivi3huy888] {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--stone, #8E8679);
    background: var(--sand, #F0ECE4);
    padding: 1px 6px;
    border-radius: var(--cx-radius-control);
}
.nfc-row__proj[b-ivi3huy888] {
    margin-top: 3px;
    font-size: 12.5px;
    color: var(--walnut, #4A443C);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nfc-row__val[b-ivi3huy888] { flex: 0 0 auto; width: 124px; }
.nfc-row__val-n[b-ivi3huy888] {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--ink, #1C1915);
    font-variant-numeric: tabular-nums;
}
.nfc-row__val-l[b-ivi3huy888] {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--stone, #8E8679);
}

.nfc-row__sig[b-ivi3huy888] { flex: 0 0 auto; width: 240px; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.nfc-row__sig-top[b-ivi3huy888] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nfc-row__sig-bot[b-ivi3huy888] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.nfc-tag[b-ivi3huy888] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--cx-radius-control);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .03em;
    white-space: nowrap;
    background: var(--sand, #F0ECE4);
    color: var(--walnut, #4A443C);
}
.nfc-tag__d[b-ivi3huy888] { width: 6px; height: 6px; border-radius: var(--cx-radius-control); background: currentColor; }
.nfc-tag.neutral[b-ivi3huy888] { background: var(--sand, #F0ECE4); color: var(--walnut, #4A443C); }
.nfc-tag.info[b-ivi3huy888] { background: #EEF3FB; color: var(--cx-info, #1F4A82); }
.nfc-tag.violet[b-ivi3huy888] { background: var(--nfc-violet-50); color: var(--nfc-violet); }
.nfc-tag.copper[b-ivi3huy888] { background: var(--copper-50, #FBEFE5); color: var(--copper-dark, #8A4514); }
.nfc-tag.warning[b-ivi3huy888] { background: #FAF1DE; color: var(--cx-warning, #A97514); }
.nfc-tag.danger[b-ivi3huy888] { background: #F7E7E5; color: var(--cx-danger, #9A3B33); }

.nfc-sig[b-ivi3huy888] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--walnut, #4A443C);
    white-space: nowrap;
}
.nfc-sig i[b-ivi3huy888] { font-size: 12px; opacity: .8; }
.nfc-sig.muted[b-ivi3huy888] { color: var(--stone, #8E8679); }

/* Erfolgs-Chance bar (Hoch/Mittel/Niedrig — never a fabricated %) */
.nfc-row__chance[b-ivi3huy888] { flex: 0 0 auto; width: 132px; display: flex; flex-direction: column; gap: 5px; }
.nfc-bar[b-ivi3huy888] { display: flex; align-items: center; gap: 8px; }
.nfc-bar__track[b-ivi3huy888] { flex: 1; height: 6px; border-radius: var(--cx-radius-control); background: var(--sand, #F0ECE4); overflow: hidden; }
.nfc-bar__fill[b-ivi3huy888] { height: 100%; border-radius: var(--cx-radius-control); }
.nfc-bar__lvl[b-ivi3huy888] { font-family: var(--font-mono); font-size: 11px; font-weight: 600; white-space: nowrap; }
.nfc-bar.hoch .nfc-bar__fill[b-ivi3huy888] { background: var(--cx-success, #3F7D5B); }
.nfc-bar.hoch .nfc-bar__lvl[b-ivi3huy888] { color: var(--cx-success, #3F7D5B); }
.nfc-bar.mittel .nfc-bar__fill[b-ivi3huy888] { background: var(--cx-warning, #A97514); }
.nfc-bar.mittel .nfc-bar__lvl[b-ivi3huy888] { color: var(--cx-warning, #A97514); }
.nfc-bar.niedrig .nfc-bar__fill[b-ivi3huy888] { background: var(--stone, #8E8679); }
.nfc-bar.niedrig .nfc-bar__lvl[b-ivi3huy888] { color: var(--stone, #8E8679); }
.nfc-row__chance-l[b-ivi3huy888] {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--stone, #8E8679);
}

/* compact-only expiry dot (hidden in Fokus-Liste) */
.nfc-row__dot[b-ivi3huy888] { display: none; width: 7px; height: 7px; border-radius: var(--cx-radius-round); flex: 0 0 auto; }
.nfc-row__dot.danger[b-ivi3huy888] { background: var(--cx-danger, #9A3B33); }
.nfc-row__dot.warning[b-ivi3huy888] { background: var(--cx-warning, #A97514); }
.nfc-row__dot.copper[b-ivi3huy888] { background: var(--cx-success, #3F7D5B); }

/* inline action cluster — two groups (contact | focus/hide) split by a hairline divider */
.nfc-row__actions[b-ivi3huy888] { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.nfc-ib-sep[b-ivi3huy888] {
    width: 1px;
    align-self: stretch;
    margin: 4px 3px;
    background: var(--nfc-hairline);
}
.nfc-ib[b-ivi3huy888] {
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    border: 1px solid var(--nfc-hairline);
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
    color: var(--walnut, #4A443C);
    cursor: pointer;
    transition: all .15s var(--nfc-ease);
}
.nfc-ib.call:hover[b-ivi3huy888] { color: var(--cx-info, #1F4A82); border-color: var(--cx-info, #1F4A82); }
.nfc-ib.mail:hover[b-ivi3huy888] { color: var(--copper, #B8601F); border-color: var(--copper, #B8601F); }
.nfc-ib.wa[b-ivi3huy888] { color: #1C7C54; }
.nfc-ib.wa:hover[b-ivi3huy888] { border-color: #1C7C54; background: #E7F2EC; }
.nfc-ib.star:hover[b-ivi3huy888] { color: var(--cx-warning, #A97514); border-color: var(--cx-warning, #A97514); }
.nfc-ib.star.on[b-ivi3huy888] { color: var(--copper, #B8601F); border-color: var(--copper, #B8601F); background: var(--copper-50, #FBEFE5); }
.nfc-ib.dismiss:hover[b-ivi3huy888] { color: var(--stone, #8E8679); border-color: var(--stone, #8E8679); }

.nfc-row__chev[b-ivi3huy888] { display: none; color: var(--stone, #8E8679); font-size: 15px; }

/* ── Compact rows (Split mode) ─────────────────────────── */
.is-split .nfc-row__rank[b-ivi3huy888],
.is-split .nfc-row__val-l[b-ivi3huy888],
.is-split .nfc-row__id[b-ivi3huy888],
.is-split .nfc-row__sig[b-ivi3huy888],
.is-split .nfc-row__chance[b-ivi3huy888],
.is-split .nfc-row__actions[b-ivi3huy888] { display: none; }
.is-split .nfc-row[b-ivi3huy888] { gap: 11px; padding: 11px 16px; }
.is-split .nfc-row__cust[b-ivi3huy888] { font-size: 13px; font-weight: 600; }
.is-split .nfc-row__proj[b-ivi3huy888] { font-size: 11px; margin-top: 1px; }
.is-split .nfc-row__val[b-ivi3huy888] { width: auto; text-align: right; }
.is-split .nfc-row__val-n[b-ivi3huy888] { font-size: 12.5px; }
.is-split .nfc-row__dot[b-ivi3huy888] { display: block; }

/* ── Empty state ───────────────────────────────────────── */
.nfc-empty[b-ivi3huy888] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 44px 24px 48px;
    gap: 6px;
}
.nfc-empty__ring[b-ivi3huy888] {
    width: 60px;
    height: 60px;
    border-radius: var(--cx-radius-round);
    background: #EAF3EE;
    color: var(--cx-success, #3F7D5B);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 8px;
}
.nfc-empty h4[b-ivi3huy888] {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--ink, #1C1915);
}
.nfc-empty p[b-ivi3huy888] { font-size: 13.5px; color: var(--walnut, #4A443C); margin: 0; max-width: 44ch; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
    .nfc-kpis[b-ivi3huy888] { grid-template-columns: repeat(2, 1fr); }
    .nfc-row__chance[b-ivi3huy888] { display: none; }
    .nfc-row__sig[b-ivi3huy888] { width: 200px; }
}

@media (max-width: 900px) {
    /* Narrow screens fall back to a single natural-scrolling document and show one
       pane at a time — the side-by-side dual-pane / drag-resize only makes sense on
       wide viewports. */
    .nfc[b-ivi3huy888] { height: auto; overflow: visible; display: block; }
    .nfc-split[b-ivi3huy888] { display: block; }
    .nfc-split__list[b-ivi3huy888],
    .nfc-split__work[b-ivi3huy888] { overflow: visible; }
    .nfc-split__list[b-ivi3huy888] { display: block; }
    .nfc-split__list > .nfc-card[b-ivi3huy888] { display: block; }
    .nfc-split__list .nfc-rows[b-ivi3huy888] { overflow: visible; }
    .nfc-split__work[b-ivi3huy888] { flex: none; max-height: none; opacity: 1; margin-left: 0; }
    /* One pane at a time: list in Fokus-Liste, detail in Split. */
    .nfc-split.is-list .nfc-split__work[b-ivi3huy888] { display: none; }
    .nfc-split.is-split .nfc-split__list[b-ivi3huy888] { display: none; }
    .nfc-row__sig[b-ivi3huy888] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .nfc-split__work[b-ivi3huy888] { transition: none; }
    .nfc-split.is-split .nfc-rows[b-ivi3huy888],
    .nfc-split.is-list .nfc-rows[b-ivi3huy888] { animation: none; }
}
/* _content/CraftX.Web/Components/Pages/Protocols/ProtocolEntryPage.razor.rz.scp.css */
.protocol-entry-page[b-tjko69zy0j] {
    max-width: 1200px;
    margin: 0 auto;
}

.pep-state[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 40px 16px;
    color: var(--cx-text-secondary, #4a4038);
    font-size: 0.9375rem;
}

.pep-state p[b-tjko69zy0j] {
    margin: 4px 0 0;
}

.pep-state.warn i[b-tjko69zy0j] {
    color: var(--cx-warning, #b45309);
}

/* ── Header ──────────────────────────────────────────────────────────── */

.pep-head[b-tjko69zy0j] {
    margin-bottom: 16px;
}

.pep-back[b-tjko69zy0j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--cx-primary, #b4532a);
    text-decoration: none;
    margin-bottom: 6px;
}

.pep-back:hover[b-tjko69zy0j] {
    text-decoration: underline;
}

.pep-title-row[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.pep-title[b-tjko69zy0j] {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--cx-text-primary, #1c1915);
}

.pep-norm[b-tjko69zy0j] {
    font-weight: 400;
    color: var(--cx-text-secondary, #6b7280);
}

.pep-meta[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 8px;
}

.pep-meta-item[b-tjko69zy0j] {
    font-size: 0.8125rem;
    color: var(--cx-text-secondary, #6b7280);
}

a.pep-link[b-tjko69zy0j] {
    text-decoration: none;
}

a.pep-link:hover[b-tjko69zy0j] {
    text-decoration: underline;
}

/* ── Notices ─────────────────────────────────────────────────────────── */

.pep-banner[b-tjko69zy0j] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: var(--cx-radius-surface);
    font-size: 0.875rem;
    background: rgba(28, 25, 21, 0.04);
    color: var(--cx-text-primary, #1c1915);
}

.pep-banner > i[b-tjko69zy0j] {
    font-size: 1.125rem;
    line-height: 1.25rem;
}

.pep-banner-text[b-tjko69zy0j] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.pep-banner-text span[b-tjko69zy0j] {
    color: var(--cx-text-secondary, #4a4038);
}

.pep-banner.warn[b-tjko69zy0j] {
    background: color-mix(in srgb, var(--cx-warning, #b45309) 11%, white);
}

.pep-banner.warn > i[b-tjko69zy0j] {
    color: var(--cx-warning, #b45309);
}

.pep-banner.info[b-tjko69zy0j] {
    background: color-mix(in srgb, var(--cx-info, #1d4ed8) 9%, white);
}

.pep-banner.info > i[b-tjko69zy0j] {
    color: var(--cx-info, #1d4ed8);
}

.pep-banner.ok[b-tjko69zy0j] {
    background: color-mix(in srgb, var(--cx-success, #15803d) 10%, white);
}

.pep-banner.ok > i[b-tjko69zy0j] {
    color: var(--cx-success, #15803d);
}

.pep-issues[b-tjko69zy0j] {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--cx-radius-surface);
    border: 1px solid color-mix(in srgb, var(--cx-danger, #b91c1c) 30%, white);
    background: color-mix(in srgb, var(--cx-danger, #b91c1c) 5%, white);
    font-size: 0.875rem;
    scroll-margin-top: 16px;
}

.pep-issues-head[b-tjko69zy0j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pep-issues-title[b-tjko69zy0j] {
    font-weight: 600;
    color: var(--cx-danger, #b91c1c);
}

.pep-issue-list[b-tjko69zy0j] {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
}

.pep-issue-list li[b-tjko69zy0j] {
    border-top: 1px solid color-mix(in srgb, var(--cx-danger, #b91c1c) 12%, white);
}

.pep-issue-list li:first-child[b-tjko69zy0j] {
    border-top: 0;
}

.pep-issue-link[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: none;
    text-align: left;
    color: var(--cx-text-primary, #1c1915);
    font-size: 0.8125rem;
}

.pep-issue-link:hover strong[b-tjko69zy0j],
.pep-issue-link:focus-visible strong[b-tjko69zy0j] {
    text-decoration: underline;
}

.pep-issue-text[b-tjko69zy0j] {
    display: block;
    padding: 6px 0;
    font-size: 0.8125rem;
}

.pep-issues-more[b-tjko69zy0j] {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--cx-text-secondary, #4a4038);
}

/* ── Sections ────────────────────────────────────────────────────────── */

.pep-blocks[b-tjko69zy0j] {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pep-section[b-tjko69zy0j] {
    scroll-margin-top: 16px;
}

.pep-section h2.cx-card-title[b-tjko69zy0j] {
    font-size: 15px;
}

.pep-signatures[b-tjko69zy0j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pep-signature[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    font-size: 0.875rem;
}

.pep-signature-role[b-tjko69zy0j] {
    min-width: 12rem;
    font-weight: 600;
    color: var(--cx-text-primary, #1c1915);
}

.pep-signature-name[b-tjko69zy0j] {
    color: var(--cx-text-primary, #1c1915);
}

.pep-signature-date[b-tjko69zy0j] {
    color: var(--cx-text-secondary, #6b7280);
}

.pep-signature-hint[b-tjko69zy0j] {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    color: var(--cx-text-secondary, #4a4038);
}

/* ── Bar ─────────────────────────────────────────────────────────────── */

/* Sticky at the bottom of the content area (not over the navigation), always in reach while scrolling. */
.pep-bar[b-tjko69zy0j] {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-top: 16px;
    background: var(--cx-card-bg, #fff);
    border: 1px solid var(--cx-hairline, rgba(28,25,21,.12));
    border-bottom: 0;
    border-radius: var(--cx-radius-surface) var(--cx-radius-surface) 0 0;
    box-shadow: 0 -6px 18px rgba(28, 25, 21, 0.08);
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
}

.pep-bar-inner[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.pep-bar-state[b-tjko69zy0j] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--cx-success, #15803d);
}

.pep-bar-state.dirty[b-tjko69zy0j] {
    color: var(--cx-warning, #b45309);
}

.pep-bar-state i[b-tjko69zy0j] {
    font-size: 1.125rem;
}

.pep-bar-actions[b-tjko69zy0j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Reached with a finger on a tablet as well as with the mouse. */
.pep-bar-actions .btn[b-tjko69zy0j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    font-weight: 600;
    white-space: nowrap;
}

.pep-bar-actions .btn i[b-tjko69zy0j] {
    font-size: 1.25rem;
}

.pep-bar-discard[b-tjko69zy0j] {
    padding: 0 10px;
    color: var(--cx-text-secondary);
    text-decoration: none;
}

.pep-bar-discard:hover[b-tjko69zy0j] {
    color: var(--cx-danger);
}

/* The neutral actions: outlined, in the text colour. */
.pep-bar-actions .btn-outline-secondary[b-tjko69zy0j] {
    border-color: var(--cx-hairline-strong);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
}

.pep-bar-actions .btn-outline-secondary:hover:not(:disabled)[b-tjko69zy0j] {
    background: var(--cx-hover-bg);
    color: var(--cx-text-primary);
}

/* White on --cx-primary is below 4.5:1; the darker copper carries the text of the main action. */
.pep-bar-sign[b-tjko69zy0j] {
    background-color: var(--cx-primary-hover);
    border-color: var(--cx-primary-hover);
}

@media (max-width: 1000px) {
    .pep-bar[b-tjko69zy0j] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pep-bar-state[b-tjko69zy0j] {
        flex-basis: 100%;
    }

    .pep-bar-actions[b-tjko69zy0j] {
        flex: 1 1 auto;
    }

    .pep-bar-actions .btn[b-tjko69zy0j] {
        flex: 1 1 auto;
        padding: 0 12px;
    }

    .pep-bar-actions .pep-bar-discard[b-tjko69zy0j] {
        flex: 0 0 auto;
    }
}
/* _content/CraftX.Web/Components/Pages/Protocols/ProtocolEntryRow.razor.rz.scp.css */
.pe-row[b-eyj46yrhf9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.pe-row:first-child[b-eyj46yrhf9] {
    border-top: 0;
}

.pe-main[b-eyj46yrhf9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-width: 0;
    font-size: 0.875rem;
}

.pe-title[b-eyj46yrhf9] {
    font-weight: 600;
    color: var(--bs-body-color);
}

.pe-norm[b-eyj46yrhf9] {
    font-weight: 400;
    color: var(--bs-secondary-color, #6b7280);
}

.pe-meta[b-eyj46yrhf9] {
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.8125rem;
}

.pe-meta strong[b-eyj46yrhf9] {
    color: var(--bs-body-color);
    font-weight: 600;
}

a.pe-link[b-eyj46yrhf9] {
    text-decoration: none;
}

a.pe-link:hover[b-eyj46yrhf9] {
    text-decoration: underline;
}

.pe-actions[b-eyj46yrhf9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .pe-row[b-eyj46yrhf9] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* _content/CraftX.Web/Components/Pages/Protocols/ProtocolTemplateChoiceDialog.razor.rz.scp.css */
/* Dialog „Protokoll ausfüllen“: own scrim and modal, as the template panel's archive dialog. */
.ptc-scrim[b-jefnedc58i] {
    position: fixed;
    inset: 0;
    background: rgba(28,25,21,.34);
    backdrop-filter: blur(2px);
    z-index: 1140;
    animation: ptc-fade-b-jefnedc58i .18s ease-out;
}

.ptc-modal[b-jefnedc58i] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    max-width: 94vw;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--paper, #fff);
    border-radius: var(--cx-radius-surface);
    z-index: 1150;
    box-shadow: var(--sh-xl, 0 24px 48px rgba(28,25,21,.18));
    animation: ptc-modalin-b-jefnedc58i .24s ease-out;
}

@keyframes ptc-fade-b-jefnedc58i {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ptc-modalin-b-jefnedc58i {
    from { opacity: 0; transform: translate(-50%, -46%) scale(.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.ptc-modal-h[b-jefnedc58i] {
    padding: 22px 24px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--hairline-soft, rgba(28,25,21,.06));
    position: relative;
}

.ptc-modal-h .mi[b-jefnedc58i] {
    width: 42px;
    height: 42px;
    border-radius: var(--cx-radius-control);
    background: var(--copper-50, rgba(184,96,31,.1));
    color: var(--copper, #b8601f);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.ptc-modal-h .mt[b-jefnedc58i] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}

.ptc-modal-h .ms[b-jefnedc58i] {
    font-size: 13px;
    color: var(--walnut, #4a4038);
    margin-top: 3px;
}

.ptc-modal-close[b-jefnedc58i] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    border: none;
    background: var(--sand, #f1ece5);
    display: grid;
    place-items: center;
    color: var(--walnut, #4a4038);
}

.ptc-modal-close:hover[b-jefnedc58i] {
    background: var(--sand-2, #e8e1d7);
}

.ptc-modal-b[b-jefnedc58i] {
    padding: 18px 24px 12px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--walnut, #4a4038);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ptc-modal-f[b-jefnedc58i] {
    padding: 14px 24px;
    border-top: 1px solid var(--hairline-soft, rgba(28,25,21,.06));
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ptc-state[b-jefnedc58i] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0;
    color: var(--stone, #6b6259);
}

.ptc-note[b-jefnedc58i] {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--stone, #6b6259);
}

.ptc-note.warn[b-jefnedc58i] {
    color: var(--cx-warning);
}

.ptc-list[b-jefnedc58i] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ptc-row[b-jefnedc58i] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--cx-radius-surface);
    border: 1px solid var(--hairline, rgba(28,25,21,.08));
    background: #fff;
}

.ptc-row.unavailable[b-jefnedc58i] {
    background: var(--paper-2, #faf8f5);
}

.ptc-row.unavailable .ptc-title[b-jefnedc58i] {
    color: var(--stone, #6b6259);
}

.ptc-main[b-jefnedc58i] {
    flex: 1;
    min-width: 0;
}

.ptc-title[b-jefnedc58i] {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}

.ptc-norm[b-jefnedc58i] {
    font-weight: 400;
    color: var(--stone, #6b6259);
}

.ptc-meta[b-jefnedc58i],
.ptc-reason[b-jefnedc58i] {
    font-size: 12.5px;
    color: var(--stone, #6b6259);
    margin-top: 2px;
}

.ptc-reason[b-jefnedc58i] {
    color: var(--walnut, #4a4038);
}

@media (max-width: 576px) {
    .ptc-row[b-jefnedc58i] {
        flex-wrap: wrap;
    }
}
/* _content/CraftX.Web/Components/Pages/Protocols/SiteProtocolsPanel.razor.rz.scp.css */
.site-protocols[b-3z0y7w03h7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-state[b-3z0y7w03h7] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6b7280);
}

.sp-state.warn[b-3z0y7w03h7] {
    color: var(--cx-warning);
}

.sp-empty[b-3z0y7w03h7] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6b7280);
}

.sp-empty i[b-3z0y7w03h7] {
    font-size: 1.1rem;
    opacity: 0.6;
}

.sp-log[b-3z0y7w03h7] {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    background: #fff;
}

.sp-log-head[b-3z0y7w03h7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 0.625rem 1rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--bs-border-color);
}

.sp-log-title[b-3z0y7w03h7] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-body-color);
}

.sp-log-title i[b-3z0y7w03h7] {
    color: var(--cx-primary);
}

.sp-figures[b-3z0y7w03h7] {
    display: flex;
    gap: 18px;
}

.sp-figure[b-3z0y7w03h7] {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.sp-figure-label[b-3z0y7w03h7] {
    font-size: 0.72rem;
    color: var(--bs-secondary-color, #6b7280);
}

.sp-figure-value[b-3z0y7w03h7] {
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--bs-body-color);
}

.sp-table-wrap[b-3z0y7w03h7] {
    padding: 0.75rem 1rem 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.sp-table-title[b-3z0y7w03h7],
.sp-entries-title[b-3z0y7w03h7] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 6px;
}

.sp-table[b-3z0y7w03h7] {
    font-size: 0.8125rem;
    margin-bottom: 4px;
}

.sp-table th[b-3z0y7w03h7] {
    font-weight: 600;
    color: var(--bs-secondary-color, #6b7280);
    white-space: nowrap;
}

.sp-table tr.sp-removed td[b-3z0y7w03h7] {
    color: var(--bs-secondary-color, #6b7280);
    text-decoration: line-through;
}

.sp-removed-hint[b-3z0y7w03h7] {
    margin-left: 6px;
    font-size: 0.72rem;
    color: var(--cx-warning);
    text-decoration: none;
    display: inline-block;
}

.sp-added-hint[b-3z0y7w03h7] {
    margin-left: 6px;
    font-size: 0.72rem;
    color: var(--cx-success);
    display: inline-block;
}

.sp-count[b-3z0y7w03h7] {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6b7280);
}

.sp-count strong[b-3z0y7w03h7] {
    color: var(--bs-body-color);
}

.sp-entries[b-3z0y7w03h7] {
    padding: 0.75rem 0 0;
}

.sp-entries-title[b-3z0y7w03h7] {
    padding: 0 1rem;
}

.sp-entry-list[b-3z0y7w03h7] {
    border-top: 1px solid var(--bs-border-color);
}

.sp-entries .sp-note[b-3z0y7w03h7] {
    padding: 0 1rem 0.75rem;
}

.sp-note[b-3z0y7w03h7] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6b7280);
}

.sp-note.warn[b-3z0y7w03h7] {
    color: var(--cx-warning);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

/* Filters above the history: template and year, over the loaded data. */
.sp-filters[b-3z0y7w03h7] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 16px;
}

.sp-filter[b-3z0y7w03h7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    max-width: 100%;
    margin: 0;
}

.sp-filter-label[b-3z0y7w03h7] {
    font-size: 0.72rem;
    color: var(--bs-secondary-color, #6b7280);
}
/* _content/CraftX.Web/Components/Pages/Scheduler/InventoryManager.razor.rz.scp.css */
/* ========== Layout ========== */
.inventory-management[b-reiin3unb2] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

/* Content area: fill remaining space */
[b-reiin3unb2] .cx-content-section {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Grid surface and column heads come from the page frame (cx-page-frame.css). */
[b-reiin3unb2] .e-headercell {
    padding: 0.55rem 0.65rem;
}

[b-reiin3unb2] .e-rowcell {
    padding: 0.35rem 0.65rem;
    vertical-align: middle;
}

[b-reiin3unb2] .e-gridcontent .e-row:hover {
    background: rgba(184, 96, 31, 0.04);
}

/* ========== Action Buttons ========== */
.action-buttons[b-reiin3unb2] {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.action-buttons[b-reiin3unb2]  .e-small {
    padding: 4px 8px;
    min-width: 30px;
}

/* ========== Form Styles ========== */
.resource-form[b-reiin3unb2] {
    padding: 15px;
    overflow-y: auto;
}

.form-group[b-reiin3unb2] {
    margin-bottom: 12px;
}

.form-row[b-reiin3unb2] {
    display: flex;
    margin-right: -5px;
    margin-left: -5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.form-row > .form-group[b-reiin3unb2] {
    padding-right: 5px;
    padding-left: 5px;
}

.col-md-6[b-reiin3unb2] {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4[b-reiin3unb2] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-12[b-reiin3unb2] {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-compact[b-reiin3unb2] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 8px;
    padding-left: 8px;
}

/* Responsive adjustments for smaller dialog sizes */
@media (max-width: 768px) {
    .col-md-4[b-reiin3unb2], .col-compact[b-reiin3unb2] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-4:last-child[b-reiin3unb2] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .col-md-6[b-reiin3unb2],
    .col-md-4[b-reiin3unb2],
    .col-compact[b-reiin3unb2] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .resource-form[b-reiin3unb2] {
        padding: 12px;
    }
}

/* Improved spacing for checkboxes */
.form-group[b-reiin3unb2]  .e-checkbox-wrapper {
    margin-top: 8px;
}

/* Compact label spacing */
.form-group label[b-reiin3unb2] {
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.form-label[b-reiin3unb2] {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--cx-label-color);
}

label[b-reiin3unb2] {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: 500;
}

.required[b-reiin3unb2] {
    color: var(--cx-danger);
    font-weight: bold;
}

.field-hint[b-reiin3unb2] {
    font-size: 0.875rem;
    color: var(--cx-text-muted);
    margin-top: 0.25rem;
}

.validation-message[b-reiin3unb2] {
    color: var(--cx-danger);
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary[b-reiin3unb2] {
    background-color: var(--danger-50);
    border: 1px solid rgba(154, 59, 51, 0.3);
    border-radius: var(--cx-radius-surface);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--cx-danger);
}

.validation-summary ul[b-reiin3unb2] {
    margin: 0;
    padding-left: 1.5rem;
}

[b-reiin3unb2] .e-error .e-input-group:not(.e-float-icon-left),
[b-reiin3unb2] .e-error .e-input-group.e-float-icon-left .e-input-in-wrap {
    border-color: var(--cx-danger) !important;
}

.button-container[b-reiin3unb2] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.tooltip-trigger[b-reiin3unb2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: var(--cx-radius-control);
    background-color: var(--cx-text-muted);
    color: white;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    cursor: help;
    transition: background-color 0.2s ease;
    vertical-align: middle;
}

.tooltip-trigger:hover[b-reiin3unb2] {
    background-color: var(--cx-primary);
}

/* ========== Ordered Items / Delivery Tracking ========== */
.qty-received-container[b-reiin3unb2] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

[b-reiin3unb2] .qty-complete .e-input-group {
    border-color: var(--cx-success) !important;
    background-color: var(--success-50);
}

[b-reiin3unb2] .qty-partial .e-input-group {
    border-color: var(--cx-warning) !important;
    background-color: var(--warning-50);
}

[b-reiin3unb2] .qty-pending .e-input-group {
    border-color: var(--cx-field-border-color) !important;
    background-color: var(--light-gray);
}

/* ========== Badge Styles ========== */
.badge[b-reiin3unb2] {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-success[b-reiin3unb2] {
    background-color: var(--cx-success) !important;
    color: white;
}

.bg-warning[b-reiin3unb2] {
    background-color: var(--cx-warning) !important;
    color: white;
}

.bg-primary[b-reiin3unb2] {
    background-color: var(--cx-primary) !important;
    color: white;
}

.bg-secondary[b-reiin3unb2] {
    background-color: var(--cx-text-muted) !important;
    color: white;
}

/* ========== Inventory Display ========== */
.inventory-display-text[b-reiin3unb2] {
    line-height: 1.3;
}

.inventory-name[b-reiin3unb2] {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.inventory-description[b-reiin3unb2] {
    font-size: 0.8rem;
    margin-bottom: 4px;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.inventory-meta[b-reiin3unb2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4px;
}

.inventory-meta .badge[b-reiin3unb2] {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
}

/* ========== Status Badges ========== */
.status-badges-container[b-reiin3unb2] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
}

.status-badge[b-reiin3unb2] {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.5rem !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    border-radius: var(--cx-radius-control) !important;
    font-weight: 500 !important;
}

/* ========== Order Display ========== */
.order-display-text[b-reiin3unb2] {
    line-height: 1.3;
}

.order-description[b-reiin3unb2] {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.order-meta[b-reiin3unb2] {
    margin-bottom: 4px;
}

.order-meta i[b-reiin3unb2] {
    width: 12px;
    margin-right: 4px;
}

.order-project[b-reiin3unb2] {
    margin-top: 4px;
}

.order-project .badge[b-reiin3unb2] {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
}

/* ========== Quantity Info ========== */
.quantity-info[b-reiin3unb2] {
    text-align: center;
}

.quantities .badge[b-reiin3unb2] {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* ========== Details Dialog ========== */
.details-dialog[b-reiin3unb2] {
    padding: 15px;
    line-height: 1.5;
}

.details-dialog .row[b-reiin3unb2] {
    margin-bottom: 1rem;
}

.details-dialog strong[b-reiin3unb2] {
    color: var(--cx-text-primary);
    font-weight: 600;
}

.progress[b-reiin3unb2] {
    border-radius: var(--cx-radius-control);
    overflow: hidden;
}

.progress-bar[b-reiin3unb2] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}
/* _content/CraftX.Web/Components/Pages/Scheduler/SchedulerPage.razor.rz.scp.css */
.scheduler-page[b-91x3frcphn] {
    height: calc(var(--cx-app-h) - var(--cx-topbar-h));
    display: flex;
    flex-direction: column;
}

.page-header[b-91x3frcphn] {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.page-header h2[b-91x3frcphn] {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.control-panel[b-91x3frcphn] {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.e-plus-icon[b-91x3frcphn]::before {
    content: "\e823";
}

.connection-status[b-91x3frcphn] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--cx-radius-control);
    font-size: 12px;
    font-weight: 500;
}

.connection-status.disconnected[b-91x3frcphn] {
    background: var(--danger-50);
    color: var(--cx-danger);
}

.connection-status.reconnecting[b-91x3frcphn] {
    background: var(--warning-50);
    color: var(--cx-warning);
}

.connection-status .e-icons[b-91x3frcphn] {
    font-size: 14px;
}

/* Scheduler Layout */
.scheduler-layout[b-91x3frcphn] {
    flex: 1;
    display: flex;
    gap: 0;
    overflow: hidden;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cx-card-border);
}

.scheduler-main-container[b-91x3frcphn] {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.scheduler-main-container.drag-active[b-91x3frcphn] {
    opacity: 0.95;
}

/* Drop Zone Overlay */
.drop-zone-overlay[b-91x3frcphn] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(184, 96, 31, 0.05);
    border: 2px dashed var(--cx-primary);
    border-radius: var(--cx-radius-surface);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.drop-zone-hint[b-91x3frcphn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
    color: var(--cx-primary);
    font-weight: 500;
}

.drop-zone-hint .e-icons[b-91x3frcphn] {
    font-size: 20px;
}

/* Appointment Dialog - Compact layout with minimal SfDialog overhead */
[b-91x3frcphn] .appointment-dialog.e-dialog {
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
}

[b-91x3frcphn] .appointment-dialog .e-dlg-header-content {
    padding: 12px 16px !important;
    min-height: auto !important;
    background: var(--cx-card-bg);
    border-bottom: 1px solid var(--cx-hairline-soft);
}

[b-91x3frcphn] .appointment-dialog .e-dlg-header {
    padding: 0 !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--cx-text-primary);
}

[b-91x3frcphn] .appointment-dialog .e-dlg-content {
    padding: 0 !important;
    overflow: hidden;
}

[b-91x3frcphn] .appointment-dialog .e-footer-content {
    display: none !important;
}

/* Remove close icon default padding */
[b-91x3frcphn] .appointment-dialog .e-btn.e-dlg-closeicon-btn {
    padding: 4px;
    margin: 0;
    width: 28px;
    height: 28px;
    min-width: auto;
}

[b-91x3frcphn] .appointment-dialog .e-btn.e-dlg-closeicon-btn .e-btn-icon {
    font-size: 14px;
}

/* Appointment block separation — prevents same-color consecutive events from merging visually */
[b-91x3frcphn] .e-schedule .e-appointment {
    border-radius: var(--cx-radius-control) !important;
    border-bottom: 2px solid rgba(255,255,255,0.35) !important;
}

/* Appointment type colors — semantic palette */
.appointment-type-initialconsultation[b-91x3frcphn] {
    background-color: var(--cx-success) !important;
    color: white !important;
}

.appointment-type-siteassessment[b-91x3frcphn] {
    background-color: var(--cx-primary) !important;
    color: white !important;
}

.appointment-type-projectstart[b-91x3frcphn] {
    background-color: var(--cx-info) !important;
    color: white !important;
}

.appointment-type-teammeeting[b-91x3frcphn] {
    background-color: var(--ai) !important;
    color: white !important;
}

.appointment-type-training[b-91x3frcphn] {
    background-color: var(--ai) !important;
    color: white !important;
}

.appointment-type-handover[b-91x3frcphn] {
    background-color: var(--cx-success) !important;
    color: white !important;
}

.appointment-type-warrantyfollow[b-91x3frcphn] {
    background-color: var(--cx-warning) !important;
    color: white !important;
}

.appointment-type-equipmentreservation[b-91x3frcphn] {
    background-color: var(--cx-info) !important;
    color: white !important;
}

.appointment-type-maintenance[b-91x3frcphn] {
    background-color: var(--cx-warning) !important;
    color: white !important;
}

.appointment-type-vacation[b-91x3frcphn] {
    background-color: var(--ai) !important;
    color: white !important;
}

.appointment-type-holiday[b-91x3frcphn] {
    background-color: var(--cx-danger) !important;
    color: white !important;
}

.appointment-type-other[b-91x3frcphn] {
    background-color: var(--cx-text-secondary) !important;
    color: white !important;
}

/* Virtual Leave Block Styles */
[b-91x3frcphn] .e-schedule .e-appointment.virtual-leave-block {
    opacity: 0.8;
    border-style: dashed !important;
    border-width: 2px !important;
    cursor: default;
}

[b-91x3frcphn] .e-schedule .e-appointment.virtual-leave-block .e-appointment-resize {
    display: none;
}

[b-91x3frcphn] .e-schedule .e-appointment.leave-type-annual {
    background-color: var(--cx-info) !important;
    border-color: var(--cx-info) !important;
    color: white !important;
}

[b-91x3frcphn] .e-schedule .e-appointment.leave-type-sick {
    background-color: var(--cx-danger) !important;
    border-color: var(--cx-danger) !important;
    color: white !important;
}

[b-91x3frcphn] .e-schedule .e-appointment.leave-type-special {
    background-color: var(--ai) !important;
    border-color: var(--ai) !important;
    color: white !important;
}

[b-91x3frcphn] .e-schedule .e-appointment.leave-type-parental {
    background-color: var(--cx-success) !important;
    border-color: var(--cx-success) !important;
    color: white !important;
}

[b-91x3frcphn] .e-schedule .e-appointment.leave-type-other {
    background-color: var(--cx-text-secondary) !important;
    border-color: var(--cx-text-secondary) !important;
    color: white !important;
}

/* Anfahrt & Puffer chip inside the event block — dezent, inherits the block's
   light text on the coloured background. Buffer is shown as an annotation only;
   the block height still spans the appointment duration (Syncfusion couples
   height to start/end and clips overflow, so a geometric strip isn't feasible). */
.event-buffer[b-91x3frcphn] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-buffer-icon[b-91x3frcphn] {
    flex-shrink: 0;
}

/* Leave QuickInfo styling */
.leave-info-content .leave-badge[b-91x3frcphn] {
    font-weight: 600;
}

.leave-footer-hint[b-91x3frcphn] {
    font-size: 12px;
    color: var(--cx-text-muted);
    font-style: italic;
    padding: 8px 0;
}

/* Date header */
.date-header[b-91x3frcphn] {
    font-weight: 600;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .scheduler-layout[b-91x3frcphn] {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .control-panel[b-91x3frcphn] {
        gap: 8px;
    }
}
/* _content/CraftX.Web/Components/Pages/Templates/TemplateManager.razor.rz.scp.css */
/* Templates page styles live in wwwroot/css/cx-catalog.css under
   "Templates page (TemplateManager)" — kept global so the dialogs can
   share the same chrome as the list view. This file is intentionally
   empty so Blazor's scoped-CSS bundle does not produce stale rules. */
/* _content/CraftX.Web/Components/Pages/WorkItems/JobManagement.razor.rz.scp.css */
.job-management[b-gdjuf4cgg0] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

/* Header stat styles (inside shared PageHeader's HeaderStats slot) */
.header-stat[b-gdjuf4cgg0] {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--cx-radius-surface);
    transition: all 0.2s var(--ease);
}

.header-stat:hover[b-gdjuf4cgg0] {
    background: rgba(255,255,255,0.15);
}

.header-stat strong[b-gdjuf4cgg0] {
    font-weight: var(--fw-semibold);
}

.header-stat-divider[b-gdjuf4cgg0] {
    opacity: 0.4;
}

.highlight-new strong[b-gdjuf4cgg0] { color: var(--warning-50); }
.highlight-progress strong[b-gdjuf4cgg0] { color: var(--copper-100); }
.highlight-hold strong[b-gdjuf4cgg0] { color: var(--danger-50); }
.highlight-questions[b-gdjuf4cgg0] {
    background: var(--cx-primary-soft) !important;
    border-radius: var(--cx-radius-control);
    animation: pulse-header-b-gdjuf4cgg0 2s ease-in-out infinite;
}
.highlight-questions strong[b-gdjuf4cgg0] { color: var(--copper-100); }
.highlight-questions i[b-gdjuf4cgg0] { margin-right: 0.25rem; }

@keyframes pulse-header-b-gdjuf4cgg0 {
    0%, 100% { background: rgba(184, 96, 31, 0.18); }
    50%      { background: rgba(184, 96, 31, 0.32); }
}

/* ── KPI Strip ──────────────────────────────────────────────────── */
.kpi-strip[b-gdjuf4cgg0] {
    border-bottom: 1px solid var(--cx-hairline-soft);
    padding: 14px 2rem;
    flex-shrink: 0;
}

.kpi-strip-inner[b-gdjuf4cgg0] {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.kpi-card[b-gdjuf4cgg0] {
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.kpi-card:hover[b-gdjuf4cgg0] { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.kpi-card.kpi-active[b-gdjuf4cgg0] { border-color: var(--cx-warning); background: var(--warning-50); }

.kpi-icon[b-gdjuf4cgg0] {
    width: 38px;
    height: 38px;
    border-radius: var(--cx-radius-control);
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
}

.kpi-card.kpi-blue   .kpi-icon[b-gdjuf4cgg0] { background: var(--info-50);    color: var(--cx-info); }
.kpi-card.kpi-patina .kpi-icon[b-gdjuf4cgg0] { background: var(--success-50); color: var(--cx-success); }
.kpi-card.kpi-ochre  .kpi-icon[b-gdjuf4cgg0] { background: var(--warning-50); color: var(--cx-warning); }
.kpi-card.kpi-copper .kpi-icon[b-gdjuf4cgg0] { background: var(--copper-50);  color: var(--copper); }

.kpi-icon-skel[b-gdjuf4cgg0] { width: 38px; height: 38px; border-radius: var(--cx-radius-surface); flex-shrink: 0; }

.kpi-body[b-gdjuf4cgg0] { min-width: 0; flex: 1; }

.kpi-label[b-gdjuf4cgg0] {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 2px;
}

.kpi-value[b-gdjuf4cgg0] {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--ink);
}

.kpi-value.kpi-eur[b-gdjuf4cgg0]    { font-size: 17px; }
.kpi-value.kpi-urgent[b-gdjuf4cgg0] { color: var(--cx-warning); }

.kpi-hint[b-gdjuf4cgg0] { font-size: 10.5px; color: var(--stone); margin-top: 1px; }

/* ── Job Table ──────────────────────────────────────────────────── */
.job-table-wrapper[b-gdjuf4cgg0] { overflow-x: auto; }

.job-table[b-gdjuf4cgg0] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.job-table thead th[b-gdjuf4cgg0] {
    padding: 9px 14px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
    background: var(--paper-2);
    border-bottom: 1px solid var(--cx-hairline);
    white-space: nowrap;
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 1;
}

.job-table thead th.tbl-num[b-gdjuf4cgg0] { text-align: right; }
.job-table thead th.tbl-sort[b-gdjuf4cgg0] { cursor: pointer; }
.job-table thead th.tbl-sort:hover[b-gdjuf4cgg0] { color: var(--copper); }
.job-table thead th.tbl-active[b-gdjuf4cgg0] { color: var(--copper); }
.job-table thead th i[b-gdjuf4cgg0] { font-size: 9px; margin-left: 3px; }

.job-table thead th.col-nr[b-gdjuf4cgg0]      { width: 110px; }
.job-table thead th.col-kunde[b-gdjuf4cgg0]   { width: 160px; }
.job-table thead th.col-phase[b-gdjuf4cgg0]   { width: 125px; }
.job-table thead th.col-prio[b-gdjuf4cgg0]    { width: 95px; }
.job-table thead th.col-bearer[b-gdjuf4cgg0]  { width: 84px; }
.job-table thead th.col-created[b-gdjuf4cgg0] { width: 88px; }
.job-table thead th.col-due[b-gdjuf4cgg0]     { width: 88px; }
.job-table thead th.col-brutto[b-gdjuf4cgg0]  { width: 112px; }
.job-table thead th.col-actions[b-gdjuf4cgg0] { width: 44px; }

.job-table-row[b-gdjuf4cgg0] { cursor: pointer; transition: background 0.1s; }
.job-table-row:hover[b-gdjuf4cgg0] { background: var(--copper-50); }

.job-table tbody td[b-gdjuf4cgg0] {
    padding: 9px 14px;
    border-bottom: 1px solid var(--cx-hairline-soft);
    color: var(--ink);
    vertical-align: middle;
}

.job-table tbody tr:last-child td[b-gdjuf4cgg0] { border-bottom: none; }
.job-table tbody td.tbl-num[b-gdjuf4cgg0] { text-align: right; }

.job-table-row.row-overdue[b-gdjuf4cgg0] { border-left: 3px solid var(--cx-danger); }
.job-table-row.row-urgent[b-gdjuf4cgg0]  { border-left: 3px solid var(--cx-warning); }
.job-table-row.row-hold[b-gdjuf4cgg0]    { opacity: 0.6; }

.job-num-mono[b-gdjuf4cgg0] {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--stone);
}

.tbl-question-dot[b-gdjuf4cgg0] {
    margin-left: 5px;
    color: var(--copper);
    font-size: 10px;
}

.betreff-title[b-gdjuf4cgg0] {
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 340px;
}

.betreff-city[b-gdjuf4cgg0] {
    font-size: 11.5px;
    color: var(--stone);
    margin-top: 1px;
}

.betreff-city i[b-gdjuf4cgg0] { font-size: 10px; }

.tbl-muted[b-gdjuf4cgg0] { color: var(--stone); }

.assignee-avatar[b-gdjuf4cgg0] {
    width: 26px;
    height: 26px;
    border-radius: var(--cx-radius-round);
    color: white;
    display: inline-grid;
    place-items: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0;
}

.tbl-due[b-gdjuf4cgg0],
.tbl-date[b-gdjuf4cgg0] {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--stone);
}

.tbl-due.due-overdue[b-gdjuf4cgg0]  { color: var(--cx-danger);  font-weight: 700; }
.tbl-due.due-today[b-gdjuf4cgg0]    { color: var(--cx-warning);  font-weight: 700; }
.tbl-due.due-tomorrow[b-gdjuf4cgg0] { color: var(--cx-warning); }
.tbl-due.due-soon[b-gdjuf4cgg0]     { color: var(--walnut); }

.tbl-amount[b-gdjuf4cgg0] {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
}

/* Toolbar page-specific overrides */
.sort-select[b-gdjuf4cgg0] {
    min-width: 150px;
}

.show-cancelled-toggle[b-gdjuf4cgg0] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.show-cancelled-toggle input[type="checkbox"][b-gdjuf4cgg0] {
    accent-color: var(--cx-primary);
    cursor: pointer;
}

/* Hinweiszeile zwischen Filtern und Liste: erklärt, was die aktuelle Ansicht nicht zeigt. */
.scope-hint-section[b-gdjuf4cgg0] {
    padding: 0.625rem 2rem 0;
    flex-shrink: 0;
}

.scope-hint[b-gdjuf4cgg0] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    font-size: 0.8125rem;
    color: var(--cx-text-secondary);
}

.scope-hint i[b-gdjuf4cgg0] {
    color: var(--cx-primary);
}

.scope-hint-warn i[b-gdjuf4cgg0] {
    color: var(--cx-warning, #b8860b);
}

.scope-hint-btn[b-gdjuf4cgg0] {
    margin-left: auto;
    border: 1px solid var(--cx-card-border);
    background: transparent;
    border-radius: var(--cx-radius-control);
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary);
    cursor: pointer;
    transition: all 0.15s var(--ease);
}

.scope-hint-btn:hover[b-gdjuf4cgg0] {
    background: var(--cx-card-bg-hover, var(--light-gray));
}

/* Filter Chips */
.filter-chips-section[b-gdjuf4cgg0] {
    background: transparent;
    padding: 0.625rem 2rem;
    border-bottom: 1px solid var(--cx-hairline-soft);
    flex-shrink: 0;
}

.filter-chips-container[b-gdjuf4cgg0] {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-chip[b-gdjuf4cgg0] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    color: var(--cx-text-secondary);
    transition: all 0.15s var(--ease);
}

.chip-label[b-gdjuf4cgg0] {
    color: var(--cx-text-muted);
    font-weight: var(--fw-regular);
}

.chip-value[b-gdjuf4cgg0] {
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
}

.chip-remove[b-gdjuf4cgg0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: 0.125rem;
    transition: all 0.15s var(--ease);
    font-size: 0.7rem;
}

.chip-remove:hover[b-gdjuf4cgg0] {
    background: var(--cx-danger);
    color: white;
}

/* Empty State */
.empty-state[b-gdjuf4cgg0] {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    border: 2px dashed var(--cx-hairline);
}

.empty-icon[b-gdjuf4cgg0] {
    font-size: 3rem;
    color: var(--cx-text-muted);
    margin-bottom: 1rem;
}

.empty-state h3[b-gdjuf4cgg0] {
    color: var(--cx-text-primary);
    margin: 0 0 0.5rem 0;
    font-weight: var(--fw-semibold);
}

.empty-state p[b-gdjuf4cgg0] {
    color: var(--cx-text-muted);
    margin: 0 0 1.5rem 0;
}

.empty-action[b-gdjuf4cgg0] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--cx-radius-surface);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: none;
    min-height: 44px;
}

.empty-action.primary[b-gdjuf4cgg0] {
    background: var(--cx-primary);
    color: white;
    box-shadow: var(--shadow-copper);
}

.empty-action.primary:hover[b-gdjuf4cgg0] {
    background: var(--cx-primary-hover);
    box-shadow: var(--shadow-copper-lg);
}

.empty-action.secondary[b-gdjuf4cgg0] {
    background: var(--light-gray);
    color: var(--cx-text-secondary);
}

.empty-action.secondary:hover[b-gdjuf4cgg0] {
    background: var(--sand-2, #E8E2D4);
}

/* Job List */
.job-list[b-gdjuf4cgg0] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.job-card[b-gdjuf4cgg0] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s var(--ease);
    border: 1px solid var(--cx-card-border);
    position: relative;
    box-shadow: var(--shadow-xs);
}

.job-card:hover[b-gdjuf4cgg0] {
    border-color: rgba(184, 96, 31, 0.30);
    box-shadow: var(--shadow-md);
}

.job-card.on-hold[b-gdjuf4cgg0] {
    border-left: 3px solid var(--cx-warning);
    background: linear-gradient(90deg, var(--warning-50) 0%, var(--cx-card-bg) 100px);
}

.job-card.urgent[b-gdjuf4cgg0] {
    border-left: 3px solid var(--cx-danger);
    background: linear-gradient(90deg, var(--danger-50) 0%, var(--cx-card-bg) 100px);
}

.card-badge[b-gdjuf4cgg0] {
    position: absolute;
    top: -8px;
    right: 60px;
    font-size: 0.65rem;
    font-weight: var(--fw-semibold);
    padding: 0.2rem 0.5rem;
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-badge.hold[b-gdjuf4cgg0] {
    background: var(--warning-50);
    color: var(--cx-warning);
}

.card-badge.urgent[b-gdjuf4cgg0] {
    background: var(--danger-50);
    color: var(--cx-danger);
}

.card-badge.questions[b-gdjuf4cgg0] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary);
    animation: pulse-questions-b-gdjuf4cgg0 2s ease-in-out infinite;
}

@keyframes pulse-questions-b-gdjuf4cgg0 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(184, 96, 31, 0.40); }
    50%      { box-shadow: 0 0 0 4px rgba(184, 96, 31, 0); }
}

.job-card.has-questions[b-gdjuf4cgg0] {
    border-left: 3px solid var(--cx-primary);
    background: linear-gradient(90deg, var(--copper-50) 0%, var(--cx-card-bg) 100px);
}

.card-header[b-gdjuf4cgg0] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.375rem;
}

.job-number[b-gdjuf4cgg0] {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    color: var(--cx-primary);
}

/* Colour comes from the shared chip tone (JobWorkflowConfiguration.GetStatusTone); this only sizes it for cards. */
.job-status[b-gdjuf4cgg0] {
    font-size: 0.65rem;
    font-weight: var(--fw-semibold);
    padding: 0.2rem 0.6rem;
    border-radius: var(--cx-radius-surface);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Priority Indicator */
.priority-indicator[b-gdjuf4cgg0] {
    display: inline-flex;
    align-items: center;
    margin-left: 0.25rem;
}

.priority-dot[b-gdjuf4cgg0] {
    width: 8px;
    height: 8px;
    border-radius: var(--cx-radius-round);
    display: inline-block;
}

.priority-medium .priority-dot[b-gdjuf4cgg0] {
    background: var(--cx-primary);
}

.priority-high .priority-dot[b-gdjuf4cgg0] {
    background: var(--cx-warning);
}

.priority-urgent .priority-dot[b-gdjuf4cgg0] {
    background: var(--cx-danger);
    animation: pulse-urgent-b-gdjuf4cgg0 1.5s ease-in-out infinite;
}

@keyframes pulse-urgent-b-gdjuf4cgg0 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(154, 59, 51, 0.40); }
    50%      { box-shadow: 0 0 0 4px rgba(154, 59, 51, 0); }
}

.job-title[b-gdjuf4cgg0] {
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.job-description-preview[b-gdjuf4cgg0] {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.job-meta[b-gdjuf4cgg0] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--cx-text-muted);
}

.meta-item[b-gdjuf4cgg0] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-item i[b-gdjuf4cgg0] {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Mini Stepper */
.card-progress[b-gdjuf4cgg0] {
    min-width: 90px;
}

.mini-stepper[b-gdjuf4cgg0] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mini-step[b-gdjuf4cgg0] {
    font-size: 0.5rem;
    color: var(--cx-text-muted);
    opacity: 0.5;
}

.mini-step.completed[b-gdjuf4cgg0] {
    color: var(--cx-success);
    opacity: 1;
}

.mini-step.current[b-gdjuf4cgg0] {
    color: var(--cx-primary);
    font-size: 0.625rem;
    opacity: 1;
}

.card-financials[b-gdjuf4cgg0] {
    text-align: right;
    min-width: 100px;
}

.card-financials .amount[b-gdjuf4cgg0] {
    font-size: 1rem;
    font-weight: var(--fw-bold);
    color: var(--cx-success);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
}

.card-financials .amount-empty[b-gdjuf4cgg0] {
    font-size: 1rem;
    font-weight: var(--fw-regular);
    color: var(--cx-text-muted);
}

.card-financials .created[b-gdjuf4cgg0] {
    font-size: 0.75rem;
    color: var(--cx-text-muted);
    margin-top: 0.125rem;
}

.card-actions[b-gdjuf4cgg0] {
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Native Action Dropdown */
.action-dropdown[b-gdjuf4cgg0] {
    position: relative;
}

.action-btn[b-gdjuf4cgg0] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-secondary);
    cursor: pointer;
    transition: all 0.15s var(--ease);
}

.action-btn:hover[b-gdjuf4cgg0] {
    background: rgba(28, 25, 21, 0.04);
    border-color: var(--cx-text-muted);
    color: var(--cx-text-primary);
}

.action-btn:active[b-gdjuf4cgg0] {
    background: rgba(28, 25, 21, 0.06);
}

.action-btn i[b-gdjuf4cgg0] {
    font-size: 1rem;
}

.action-menu[b-gdjuf4cgg0] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn-b-gdjuf4cgg0 0.15s var(--ease);
}

@keyframes fadeIn-b-gdjuf4cgg0 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.action-item[b-gdjuf4cgg0] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 1rem;
    background: none;
    border: none;
    color: var(--cx-text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s var(--ease);
    text-align: left;
}

.action-item:hover[b-gdjuf4cgg0] {
    background: var(--light-gray);
}

.action-item i[b-gdjuf4cgg0] {
    font-size: 0.875rem;
    color: var(--cx-text-secondary);
    width: 18px;
    text-align: center;
}

.action-item.tone-danger[b-gdjuf4cgg0],
.action-item.tone-danger i[b-gdjuf4cgg0] {
    color: var(--cx-danger);
}

.action-separator[b-gdjuf4cgg0] {
    height: 1px;
    background: var(--cx-hairline);
    margin: 0.25rem 0;
}

/* Grid View */
.job-grid[b-gdjuf4cgg0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.job-tile[b-gdjuf4cgg0] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1.125rem;
    cursor: pointer;
    transition: all 0.15s var(--ease);
    border: 1px solid var(--cx-card-border);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-xs);
}

.job-tile:hover[b-gdjuf4cgg0] {
    border-color: rgba(184, 96, 31, 0.30);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.job-tile.on-hold[b-gdjuf4cgg0] {
    border-top: 3px solid var(--cx-warning);
}

.job-tile.urgent[b-gdjuf4cgg0] {
    border-top: 3px solid var(--cx-danger);
}

.tile-header[b-gdjuf4cgg0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tile-badge[b-gdjuf4cgg0] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.6rem;
    font-weight: var(--fw-semibold);
    padding: 0.15rem 0.4rem;
    border-radius: var(--cx-radius-control);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.tile-badge.hold[b-gdjuf4cgg0] {
    background: var(--warning-50);
    color: var(--cx-warning);
}

.tile-badge.questions[b-gdjuf4cgg0] {
    background: var(--cx-primary-soft);
    color: var(--cx-primary);
    animation: pulse-questions-b-gdjuf4cgg0 2s ease-in-out infinite;
}

.tile-badge.urgent[b-gdjuf4cgg0] {
    background: var(--danger-50);
    color: var(--cx-danger);
}

.job-tile.has-questions[b-gdjuf4cgg0] {
    border-top: 3px solid var(--cx-primary);
}

.job-tile .job-title[b-gdjuf4cgg0] {
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.job-tile .job-customer[b-gdjuf4cgg0] {
    color: var(--cx-text-muted);
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-tile .job-employee[b-gdjuf4cgg0] {
    color: var(--cx-text-muted);
    font-size: 0.75rem;
    margin: 0.25rem 0 0 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tile-progress[b-gdjuf4cgg0] {
    display: flex;
    gap: 4px;
    margin: 0.75rem 0;
}

.progress-dot[b-gdjuf4cgg0] {
    width: 8px;
    height: 8px;
    border-radius: var(--cx-radius-round);
    background: var(--cx-hairline);
}

.progress-dot.completed[b-gdjuf4cgg0] {
    background: var(--cx-success);
}

.progress-dot.current[b-gdjuf4cgg0] {
    background: var(--cx-primary);
    box-shadow: 0 0 0 2px rgba(184, 96, 31, 0.25);
}

.tile-footer[b-gdjuf4cgg0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--cx-hairline-soft);
}

.tile-footer .amount[b-gdjuf4cgg0] {
    font-weight: var(--fw-bold);
    color: var(--cx-success);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
}

.tile-footer .amount-empty[b-gdjuf4cgg0] {
    font-weight: var(--fw-regular);
    color: var(--cx-text-muted);
}

.type-badge[b-gdjuf4cgg0] {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    background: var(--light-gray);
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-muted);
}

/* Results Footer */
.results-footer[b-gdjuf4cgg0] {
    text-align: center;
    padding: 1rem;
    color: var(--cx-text-muted);
    font-size: 0.8rem;
}

/* Responsive — page-specific (pipeline, cards) */
@media (max-width: 1200px) {
    .pipeline-step[b-gdjuf4cgg0] {
        flex-direction: column;
        text-align: center;
        padding: 0.375rem;
        gap: 0.25rem;
    }

    .step-info[b-gdjuf4cgg0] {
        align-items: center;
    }

    .step-connector[b-gdjuf4cgg0] {
        display: none;
    }
}

@media (max-width: 992px) {
    .pipeline-section[b-gdjuf4cgg0], .filter-chips-section[b-gdjuf4cgg0], .scope-hint-section[b-gdjuf4cgg0] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pipeline-stats[b-gdjuf4cgg0] {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pipeline-step[b-gdjuf4cgg0] {
        flex: 0 0 calc(33.333% - 0.5rem);
    }

    .job-card[b-gdjuf4cgg0] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .card-progress[b-gdjuf4cgg0] {
        order: 2;
    }

    .card-financials[b-gdjuf4cgg0] {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        order: 3;
    }

    .card-actions[b-gdjuf4cgg0] {
        position: absolute;
        top: 0.625rem;
        right: 0.625rem;
    }

    .card-badge[b-gdjuf4cgg0] {
        right: 56px;
    }
}

@media (max-width: 768px) {
    [b-gdjuf4cgg0] .cx-header-stats {
        flex-wrap: wrap;
    }

    .pipeline-step[b-gdjuf4cgg0] {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .filter-chips-container[b-gdjuf4cgg0] {
        gap: 0.375rem;
    }
}

@media (max-width: 640px) {
    .pipeline-section[b-gdjuf4cgg0],
    .filter-chips-section[b-gdjuf4cgg0] {
        padding: 12px 16px;
    }

    .pipeline-stats[b-gdjuf4cgg0] {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .job-grid[b-gdjuf4cgg0] {
        grid-template-columns: 1fr;
    }

    .job-card[b-gdjuf4cgg0] {
        padding: 0.875rem 1rem;
    }

    .empty-state[b-gdjuf4cgg0] {
        padding: 2.5rem 1rem;
    }
}

/* Focus states for keyboard accessibility */
.header-stat:focus-visible[b-gdjuf4cgg0],
.pipeline-step:focus-visible[b-gdjuf4cgg0],
.action-btn:focus-visible[b-gdjuf4cgg0],
.chip-remove:focus-visible[b-gdjuf4cgg0],
.empty-action:focus-visible[b-gdjuf4cgg0],
.job-card:focus-visible[b-gdjuf4cgg0],
.job-tile:focus-visible[b-gdjuf4cgg0] {
    outline: 2px solid var(--cx-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .highlight-questions[b-gdjuf4cgg0],
    .card-badge.questions[b-gdjuf4cgg0],
    .tile-badge.questions[b-gdjuf4cgg0],
    .priority-urgent .priority-dot[b-gdjuf4cgg0] {
        animation: none;
    }

    .job-card[b-gdjuf4cgg0],
    .job-tile[b-gdjuf4cgg0],
    .pipeline-step[b-gdjuf4cgg0],
    .header-stat[b-gdjuf4cgg0],
    .action-btn[b-gdjuf4cgg0],
    .filter-chip[b-gdjuf4cgg0],
    .chip-remove[b-gdjuf4cgg0] {
        transition: none;
    }
}

.skeleton-job-card[b-gdjuf4cgg0] {
    background: var(--cx-card-bg);
    border-radius: var(--cx-radius-surface);
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--cx-card-border);
    margin-bottom: 0.625rem;
}

/* Page-scoped overrides for shared chrome classes that ship with blue defaults
   in app.css. Token-swap to copper for the JobManagement page. */
[b-gdjuf4cgg0] .cx-header-actions .cx-header-btn {
    background: var(--cx-primary);
}

[b-gdjuf4cgg0] .cx-header-actions .cx-header-btn:hover {
    background: var(--cx-primary-hover);
}

[b-gdjuf4cgg0] .cx-view-btn.active,
[b-gdjuf4cgg0] .cx-view-btn.active:hover {
    background: var(--cx-primary);
    color: white;
}

/* ── Overdue state ─────────────────────────────────────────────────────── */

.job-card.is-overdue[b-gdjuf4cgg0] {
    border-left: 3px solid var(--cx-danger);
    background: linear-gradient(90deg, color-mix(in srgb, var(--cx-danger) 8%, var(--cx-card-bg)) 0%, var(--cx-card-bg) 120px);
}

.job-tile.is-overdue[b-gdjuf4cgg0] {
    border-top: 3px solid var(--cx-danger);
}

.card-badge.overdue[b-gdjuf4cgg0] {
    background: color-mix(in srgb, var(--cx-danger) 14%, white);
    color: var(--cx-danger);
    animation: pulse-overdue-b-gdjuf4cgg0 2s ease-in-out infinite;
}

.tile-badge.overdue[b-gdjuf4cgg0] {
    background: color-mix(in srgb, var(--cx-danger) 14%, white);
    color: var(--cx-danger);
}

@keyframes pulse-overdue-b-gdjuf4cgg0 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(154, 59, 51, 0.35); }
    50%      { box-shadow: 0 0 0 4px rgba(154, 59, 51, 0); }
}

/* Due date in card financials */
.card-financials .due-date[b-gdjuf4cgg0] {
    font-size: 0.72rem;
    margin-top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    font-weight: var(--fw-medium);
}

.card-financials .due-overdue[b-gdjuf4cgg0]  { color: var(--cx-danger); font-weight: var(--fw-semibold); }
.card-financials .due-today[b-gdjuf4cgg0]    { color: var(--cx-warning); font-weight: var(--fw-semibold); }
.card-financials .due-tomorrow[b-gdjuf4cgg0] { color: var(--cx-warning); }
.card-financials .due-soon[b-gdjuf4cgg0]     { color: var(--cx-primary); }
.card-financials .due-future[b-gdjuf4cgg0]   { color: var(--cx-text-muted); }

/* Due date in grid tile */
.tile-due[b-gdjuf4cgg0] {
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.25rem 0 0 0;
    font-weight: var(--fw-medium);
}

.tile-due.due-overdue[b-gdjuf4cgg0]  { color: var(--cx-danger); font-weight: var(--fw-semibold); }
.tile-due.due-today[b-gdjuf4cgg0]    { color: var(--cx-warning); font-weight: var(--fw-semibold); }
.tile-due.due-tomorrow[b-gdjuf4cgg0] { color: var(--cx-warning); }
.tile-due.due-soon[b-gdjuf4cgg0]     { color: var(--cx-primary); }
.tile-due.due-future[b-gdjuf4cgg0]   { color: var(--cx-text-muted); }

/* Overdue header stat (sits on dark header background) */
.highlight-overdue[b-gdjuf4cgg0] {
    background: rgba(154, 59, 51, 0.18) !important;
    border-radius: var(--cx-radius-control);
    animation: pulse-overdue-header-b-gdjuf4cgg0 2.5s ease-in-out infinite;
}

.highlight-overdue strong[b-gdjuf4cgg0] { color: var(--danger-50, #F4B7B7); }
.highlight-overdue i[b-gdjuf4cgg0] { margin-right: 0.25rem; color: var(--danger-50, #F4B7B7); }

@keyframes pulse-overdue-header-b-gdjuf4cgg0 {
    0%, 100% { background: rgba(154, 59, 51, 0.18); }
    50%      { background: rgba(154, 59, 51, 0.30); }
}

@media (prefers-reduced-motion: reduce) {
    .card-badge.overdue[b-gdjuf4cgg0],
    .highlight-overdue[b-gdjuf4cgg0] { animation: none; }
}
/* _content/CraftX.Web/Components/Shared/AI/AIActionCard.razor.rz.scp.css */
.ai-action-card[b-ylpr6g8z0f] {
    background: white;
    border-radius: var(--cx-radius-surface);
    padding: 12px;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--ai);
}

.ai-action-card.accepted[b-ylpr6g8z0f] {
    border-left-color: var(--cx-success);
    opacity: 0.8;
}

.ai-action-card.rejected[b-ylpr6g8z0f] {
    border-left-color: var(--cx-danger);
    opacity: 0.7;
}

.action-header[b-ylpr6g8z0f] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-icon[b-ylpr6g8z0f] {
    width: 36px;
    height: 36px;
    border-radius: var(--cx-radius-control);
    background: linear-gradient(135deg, var(--ai) 0%, var(--ai) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.action-info[b-ylpr6g8z0f] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.action-title[b-ylpr6g8z0f] {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
}

.action-type[b-ylpr6g8z0f] {
    font-size: 0.7rem;
    color: var(--cx-text-muted);
}

.action-badge[b-ylpr6g8z0f] {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: var(--cx-radius-control);
}

.action-badge.pending[b-ylpr6g8z0f] {
    background-color: rgba(31,74,130,0.12);
    color: var(--cx-primary);
}

.action-badge.accepted[b-ylpr6g8z0f] {
    background-color: rgba(63,125,91,0.15);
    color: var(--cx-success);
}

.action-badge.rejected[b-ylpr6g8z0f] {
    background-color: rgba(154,59,51,0.15);
    color: var(--cx-danger);
}

.action-description[b-ylpr6g8z0f] {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--ink-2);
}

.preview-fields[b-ylpr6g8z0f] {
    margin-top: 10px;
    padding: 8px;
    background-color: var(--paper-2);
    border-radius: var(--cx-radius-surface);
}

.preview-field[b-ylpr6g8z0f] {
    display: flex;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.preview-field:last-child[b-ylpr6g8z0f] {
    margin-bottom: 0;
}

.field-label[b-ylpr6g8z0f] {
    color: var(--cx-text-muted);
    width: 80px;
    flex-shrink: 0;
}

.field-value[b-ylpr6g8z0f] {
    color: var(--ink);
    font-weight: 500;
}

.action-buttons[b-ylpr6g8z0f] {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-accept[b-ylpr6g8z0f], .btn-reject[b-ylpr6g8z0f] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-accept[b-ylpr6g8z0f] {
    background: linear-gradient(135deg, var(--cx-success) 0%, var(--cx-success) 100%);
    color: white;
}

.btn-accept:hover:not(:disabled)[b-ylpr6g8z0f] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.4);
}

.btn-reject[b-ylpr6g8z0f] {
    background-color: var(--paper-2);
    color: var(--cx-text-muted);
}

.btn-reject:hover:not(:disabled)[b-ylpr6g8z0f] {
    background-color: var(--cx-hairline);
    color: var(--ink-2);
}

.btn-accept:disabled[b-ylpr6g8z0f], .btn-reject:disabled[b-ylpr6g8z0f] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-navigate[b-ylpr6g8z0f] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--cx-radius-control);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: linear-gradient(135deg, var(--ai) 0%, var(--ai) 100%);
    color: white;
}

.btn-navigate:hover[b-ylpr6g8z0f] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.4);
}

.error-message[b-ylpr6g8z0f] {
    margin-top: 8px;
    padding: 8px;
    background-color: rgba(154,59,51,0.15);
    color: var(--cx-danger);
    border-radius: var(--cx-radius-surface);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.success-message[b-ylpr6g8z0f] {
    margin-top: 8px;
    padding: 8px;
    background-color: rgba(63,125,91,0.15);
    color: var(--cx-success);
    border-radius: var(--cx-radius-surface);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-info-text[b-ylpr6g8z0f] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 10px;
    background-color: var(--paper-2);
    border-radius: var(--cx-radius-surface);
    font-size: 0.72rem;
    color: var(--cx-text-muted);
}

/* _content/CraftX.Web/Components/Shared/AI/BobApprovalDialog.razor.rz.scp.css */
/* „n Änderungen prüfen“ (mockup „Web · Freigaben prüfen“): own scrim + modal in the leave-dialog z-band — above
   Syncfusion dialog containers (4999/5000), like .cxe-scrim/.cxe-modal in cx-catalog.css. The change list and the batch
   table are child components rendered inside the modal, styled here through ::deep. */

.bad-scrim[b-a9dwsyjobm] {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.34);
    backdrop-filter: blur(2px);
    z-index: 5040;
    animation: bad-fade-b-a9dwsyjobm 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes bad-fade-b-a9dwsyjobm {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bad-modal[b-a9dwsyjobm] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 640px;
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--cx-radius-surface);
    z-index: 5050;
    box-shadow: var(--shadow-xl, 0 28px 56px rgba(28, 25, 21, .18));
    font-family: var(--font-sans, inherit);
    color: var(--ink, #1C1915);
    overflow: hidden;
    animation: bad-in-b-a9dwsyjobm 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes bad-in-b-a9dwsyjobm {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.bad-head[b-a9dwsyjobm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--hairline, rgba(28, 25, 21, .08));
}

.bad-head-text[b-a9dwsyjobm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bad-title[b-a9dwsyjobm] {
    font-size: 18px;
    font-weight: 700;
}

.bad-subtitle[b-a9dwsyjobm] {
    font-size: 13px;
    color: var(--walnut, #4A443C);
}

.bad-close[b-a9dwsyjobm] {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--walnut, #4A443C);
    cursor: pointer;
}

.bad-close:hover[b-a9dwsyjobm] {
    background: var(--sand, #F0ECE4);
}

.bad-body[b-a9dwsyjobm] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 24px;
}

.bad-item[b-a9dwsyjobm] {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline-soft, rgba(28, 25, 21, .05));
}

.bad-item:last-child[b-a9dwsyjobm] {
    border-bottom: 0;
}

.bad-item-check[b-a9dwsyjobm] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--copper, #B8601F);
    cursor: pointer;
}

.bad-item-check.placeholder[b-a9dwsyjobm] {
    cursor: default;
}

.bad-item-main[b-a9dwsyjobm] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bad-item.deselected .bad-item-main[b-a9dwsyjobm] {
    opacity: .6;
}

.bad-item-head[b-a9dwsyjobm] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.bad-item-summary[b-a9dwsyjobm] {
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
    cursor: pointer;
    margin: 0;
}

span.bad-item-summary[b-a9dwsyjobm] {
    cursor: default;
}

.bad-item-category[b-a9dwsyjobm] {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--walnut, #4A443C);
}

.bad-warning[b-a9dwsyjobm] {
    font-size: 12px;
    color: var(--cx-danger, #9A3B33);
}

/* A notice explains, it does not warn (BobPreview.Notices): neutral, never red. */
.bad-notice[b-a9dwsyjobm] {
    font-size: 12px;
    color: var(--walnut, #4A443C);
}

.bad-notice .bi[b-a9dwsyjobm] {
    color: var(--stone, #8E8679);
}

/* The changes of a preview whose batch is only the reference (a new template version): framed, before everything else. */
.bad-focus[b-a9dwsyjobm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(63, 125, 91, .22);
    border-radius: var(--cx-radius-surface);
    background: var(--success-50, #EAF3EE);
}

.bad-focus-title[b-a9dwsyjobm] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cx-success, #3F7D5B);
}

/* Here the labels are sentences („Baustein „Wartungseintrag“: Zusatzfeld hinzugefügt“): label above its value. One class more than the
   general .bad-item-main rules below, so it wins whatever their order. */
.bad-item-main .bad-focus[b-a9dwsyjobm]  .bad-changes {
    grid-template-columns: 1fr;
    gap: 2px;
}

.bad-item-main .bad-focus[b-a9dwsyjobm]  .bad-changes dd + dt {
    margin-top: 6px;
}

.bad-item-main .bad-focus[b-a9dwsyjobm]  .bad-after {
    background: #fff;
}

.bad-reference-toggle[b-a9dwsyjobm] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--hairline-strong, rgba(28, 25, 21, .14));
    border-radius: var(--cx-radius-control);
    background: #fff;
    font: 500 13px var(--font-sans, inherit);
    color: var(--ink, #1C1915);
    cursor: pointer;
}

.bad-reference-toggle:hover[b-a9dwsyjobm] {
    background: var(--sand, #F0ECE4);
}

.bad-reference-toggle:focus-visible[b-a9dwsyjobm] {
    outline: none;
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

.bad-note[b-a9dwsyjobm] {
    font-size: 12px;
    color: var(--walnut, #4A443C);
}

.bad-state[b-a9dwsyjobm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: var(--cx-radius-control);
    font-size: 12px;
    font-weight: 600;
}

.bad-state.done[b-a9dwsyjobm] {
    background: var(--success-50, #EAF3EE);
    color: var(--cx-success, #3F7D5B);
}

.bad-state.running[b-a9dwsyjobm] {
    background: var(--sand, #F0ECE4);
    color: var(--walnut, #4A443C);
}

.bad-state.conflict[b-a9dwsyjobm] {
    background: var(--warning-50, #FAF1DE);
    color: #7A5410;
}

.bad-state.failed[b-a9dwsyjobm] {
    background: var(--danger-50, #F7E7E5);
    color: var(--cx-danger, #9A3B33);
}

.bad-state.expired[b-a9dwsyjobm] {
    background: var(--sand, #F0ECE4);
    color: var(--stone, #8E8679);
}

.bad-open[b-a9dwsyjobm] {
    margin-left: 4px;
    font-weight: 500;
}

.bad-error[b-a9dwsyjobm] {
    margin: 0 24px 12px;
    padding: 8px 12px;
    border-radius: var(--cx-radius-surface);
    background: var(--danger-50, #F7E7E5);
    color: var(--cx-danger, #9A3B33);
    font-size: 13px;
}

.bad-foot[b-a9dwsyjobm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    background: var(--paper, #FAF7F2);
}

.bad-foot-hint[b-a9dwsyjobm] {
    font-size: 12px;
    color: var(--walnut, #4A443C);
}

.bad-approve[b-a9dwsyjobm],
.bad-done[b-a9dwsyjobm] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--cx-radius-control);
    font: 600 14px var(--font-sans, inherit);
    /* „1 freigeben“ is one command: on a phone the hint beside it wraps, never the button. */
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
}

.bad-approve[b-a9dwsyjobm] {
    border: 0;
    background: var(--copper, #B8601F);
    color: #fff;
}

.bad-approve:hover:not(:disabled)[b-a9dwsyjobm] {
    background: var(--copper-dark, #8A4514);
}

.bad-done[b-a9dwsyjobm] {
    border: 1px solid var(--hairline-strong, rgba(28, 25, 21, .14));
    background: #fff;
    color: var(--ink, #1C1915);
}

.bad-approve:disabled[b-a9dwsyjobm],
.bad-done:disabled[b-a9dwsyjobm] {
    opacity: .55;
    cursor: default;
}

.bad-approve:focus-visible[b-a9dwsyjobm],
.bad-done:focus-visible[b-a9dwsyjobm],
.bad-close:focus-visible[b-a9dwsyjobm] {
    outline: none;
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

/* ── Changes: „vorher (durchgestrichen) → nachher“ (BobApprovalChangeList) ── */
.bad-item-main[b-a9dwsyjobm]  .bad-changes {
    display: grid;
    grid-template-columns: minmax(90px, 140px) 1fr;
    gap: 6px 12px;
    margin: 0;
    font-size: 13px;
    align-items: baseline;
}

.bad-item-main[b-a9dwsyjobm]  .bad-changes dt {
    font-weight: 400;
    color: var(--walnut, #4A443C);
}

.bad-item-main[b-a9dwsyjobm]  .bad-changes dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bad-item-main[b-a9dwsyjobm]  .bad-before {
    color: var(--stone, #8E8679);
}

.bad-item-main[b-a9dwsyjobm]  .bad-arrow {
    margin: 0 6px;
    color: var(--walnut, #4A443C);
}

.bad-item-main[b-a9dwsyjobm]  .bad-after {
    background: var(--success-50, #EAF3EE);
    padding: 1px 6px;
    border-radius: var(--cx-radius-control);
}

/* ── Batch: compact table with a search over all rows (BobApprovalBatchTable) ── */
.bad-item-main[b-a9dwsyjobm]  .bad-batch {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bad-item-main[b-a9dwsyjobm]  .bad-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid var(--cx-input-border, rgba(28, 25, 21, .12));
    border-radius: var(--cx-radius-control);
    color: var(--walnut, #4A443C);
}

.bad-item-main[b-a9dwsyjobm]  .bad-search input {
    flex: 1;
    min-width: 0;
    height: 34px;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 13px;
    color: var(--ink, #1C1915);
}

.bad-item-main[b-a9dwsyjobm]  .bad-search-count {
    font-size: 12px;
    white-space: nowrap;
}

.bad-item-main[b-a9dwsyjobm]  .bad-table-wrap {
    max-height: 320px;
    overflow: auto;
    border: 1px solid var(--hairline, rgba(28, 25, 21, .08));
    border-radius: var(--cx-radius-surface);
}

.bad-item-main[b-a9dwsyjobm]  .bad-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.bad-item-main[b-a9dwsyjobm]  .bad-table th {
    white-space: nowrap;
    position: sticky;
    top: 0;
    background: var(--paper, #FAF7F2);
    text-align: left;
    font-weight: 600;
    color: var(--walnut, #4A443C);
    padding: 6px 8px;
    border-bottom: 1px solid var(--hairline, rgba(28, 25, 21, .08));
}

/* Cells wrap between words only: a column is at least as wide as its longest word, and what does not fit the dialog
   scrolls sideways in .bad-table-wrap — never „Stam mdaten“. break-word still breaks a single token longer than the
   whole table could ever be (a pasted link), without letting it widen the columns' minimum. */
.bad-item-main[b-a9dwsyjobm]  .bad-table td {
    padding: 5px 8px;
    border-bottom: 1px solid var(--hairline-soft, rgba(28, 25, 21, .05));
    overflow-wrap: break-word;
    vertical-align: top;
}

.bad-item-main[b-a9dwsyjobm]  .bad-table tr.excluded td {
    color: var(--stone, #8E8679);
    text-decoration: line-through;
}

.bad-item-main[b-a9dwsyjobm]  .bad-check-col {
    width: 28px;
    text-align: center;
}

.bad-item-main[b-a9dwsyjobm]  .bad-check-col input {
    accent-color: var(--copper, #B8601F);
}

.bad-item-main[b-a9dwsyjobm]  .bad-empty {
    text-align: center;
    color: var(--stone, #8E8679);
    padding: 12px;
}

@media (max-width: 576px) {
    .bad-head[b-a9dwsyjobm],
    .bad-foot[b-a9dwsyjobm] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bad-body[b-a9dwsyjobm] {
        padding: 4px 16px;
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-changes {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    /* Too narrow for the columns side by side: each row becomes a small card of „Spalte  Wert“ lines (data-label). */
    .bad-item-main[b-a9dwsyjobm]  .bad-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-table,
    .bad-item-main[b-a9dwsyjobm]  .bad-table tbody,
    .bad-item-main[b-a9dwsyjobm]  .bad-table tr {
        display: block;
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-table tr {
        padding: 6px 10px;
        border-bottom: 1px solid var(--hairline-soft, rgba(28, 25, 21, .05));
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-table td {
        display: grid;
        grid-template-columns: minmax(64px, 30%) 1fr;
        gap: 8px;
        padding: 2px 0;
        border-bottom: 0;
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-table td::before {
        content: attr(data-label);
        color: var(--walnut, #4A443C);
        font-weight: 600;
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-table td.bad-check-col,
    .bad-item-main[b-a9dwsyjobm]  .bad-table td.bad-empty {
        display: block;
        width: auto;
        text-align: left;
    }

    .bad-item-main[b-a9dwsyjobm]  .bad-table td.bad-check-col::before,
    .bad-item-main[b-a9dwsyjobm]  .bad-table td.bad-empty::before {
        content: none;
    }
}
/* _content/CraftX.Web/Components/Shared/AI/BobApprovalPanel.razor.rz.scp.css */
/* „Wartet auf deine Freigabe“ once at the end of a reply's timeline (mockup „Web · Zeitleiste fertig“). */
.bap[b-nvm1nue9kk] {
    margin: 4px 0 0;
    max-width: 560px;
    padding: 12px 14px;
    border-radius: var(--cx-radius-surface);
    background: var(--warning-50, #FAF1DE);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bap-title[b-nvm1nue9kk] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #7A5410;
}

.bap-list[b-nvm1nue9kk] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bap-row[b-nvm1nue9kk] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    min-width: 0;
}

.bap-mark[b-nvm1nue9kk] {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: var(--cx-radius-control);
    border: 2px solid var(--cx-warning, #A97514);
    box-sizing: border-box;
}

.bap-summary[b-nvm1nue9kk] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ink, #1C1915);
}

.bap-category[b-nvm1nue9kk] {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--walnut, #4A443C);
}

.bap-review[b-nvm1nue9kk] {
    align-self: flex-start;
    min-height: 38px;
    padding: 0 16px;
    margin-top: 2px;
    border: 0;
    border-radius: var(--cx-radius-surface);
    background: var(--copper, #B8601F);
    color: #fff;
    font: 600 14px var(--font-sans, inherit);
    cursor: pointer;
}

.bap-review:hover[b-nvm1nue9kk] {
    background: var(--copper-dark, #8A4514);
}

.bap-review:focus-visible[b-nvm1nue9kk] {
    outline: none;
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}
/* _content/CraftX.Web/Components/Shared/AI/BobReplyTimelineView.razor.rz.scp.css */
/* Bob's reply as a timeline (mockups Docs/superpowers/mockups/2026-10-21-bob-zeitleiste): text, then a quiet group of
   steps flush with it, text again … Finished groups fold to one line without a frame. */
.btl[b-0z0ipsls86] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* The surface's Markdown rules style the text itself; inside the timeline its own spacing does. */
.btl-text[b-0z0ipsls86] {
    min-width: 0;
}

/* Links in Bob's text (Owner 17.11., variant A of the mockup bob-hilfe): dark copper and underlined, so a link — a help
   article above all — reads as one. Dark copper, not the copper of the surfaces: 7,1:1 on white (rule 19). The base rule
   of Tailwind (a { color: inherit; text-decoration: inherit }) would otherwise make them look like the text around them.
   The text is rendered markup, hence ::deep. */
.btl-text[b-0z0ipsls86]  a {
    color: var(--cx-primary-hover, #8A4514);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.btl-text[b-0z0ipsls86]  a:hover {
    color: var(--cx-primary-hover, #8A4514);
    text-decoration-thickness: 2px;
}

.btl-text[b-0z0ipsls86]  a:focus-visible {
    outline: none;
    border-radius: var(--cx-radius-control);
    text-decoration-thickness: 2px;
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

.btl-group[b-0z0ipsls86] {
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--btl-step-size, 13px);
    max-width: 640px;
}

.btl-group-head[b-0z0ipsls86],
.btl-fold[b-0z0ipsls86] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    max-width: 100%;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--walnut, var(--cx-text-secondary, #4A443C));
    font: 500 var(--btl-step-size, 13px) var(--font-sans, inherit);
    text-align: left;
    cursor: pointer;
}

.btl-group-head[b-0z0ipsls86] {
    margin-bottom: 2px;
}

.btl-group-head:hover[b-0z0ipsls86],
.btl-fold:hover[b-0z0ipsls86] {
    color: var(--ink, var(--cx-text-primary, #1C1915));
}

.btl-group-head:focus-visible[b-0z0ipsls86],
.btl-fold:focus-visible[b-0z0ipsls86] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

.btl-fold-text[b-0z0ipsls86] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.btl-chevron[b-0z0ipsls86] {
    font-size: 12px;
    color: var(--stone, var(--cx-text-secondary, #8E8679));
}

.btl-mark.done[b-0z0ipsls86] {
    color: var(--cx-success, #3F7D5B);
}

.btl-mark.waiting[b-0z0ipsls86] {
    color: var(--cx-warning, #A97514);
}

.btl-mark.nothing[b-0z0ipsls86] {
    color: var(--stone, var(--cx-text-secondary, #8E8679));
}

.btl-step[b-0z0ipsls86] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 2px 0;
    color: var(--ink, var(--cx-text-primary, #1C1915));
    animation: btl-step-in-b-0z0ipsls86 180ms ease-out;
}

.btl-icon[b-0z0ipsls86] {
    flex: 0 0 16px;
    display: inline-flex;
    justify-content: center;
    padding-top: 1px;
}

.btl-step.done .btl-icon i[b-0z0ipsls86] {
    color: var(--cx-success, #3F7D5B);
    animation: btl-check-in-b-0z0ipsls86 160ms ease-out;
}

.btl-step.failed .btl-icon i[b-0z0ipsls86],
.btl-step.failed .btl-step-text[b-0z0ipsls86] {
    color: var(--cx-danger, #c62828);
}

.btl-step.waiting .btl-icon i[b-0z0ipsls86] {
    color: var(--cx-warning, #A97514);
}

.btl-step.not-carried-out .btl-icon i[b-0z0ipsls86],
.btl-step.not-carried-out .btl-step-text[b-0z0ipsls86],
.btl-step.running .btl-step-text[b-0z0ipsls86] {
    color: var(--walnut, var(--cx-text-secondary, #4A443C));
}

.btl-step-text[b-0z0ipsls86] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.btl-highlight[b-0z0ipsls86] {
    font-weight: 700;
    margin-left: 4px;
}

a.btl-highlight[b-0z0ipsls86],
a.btl-open[b-0z0ipsls86] {
    color: var(--ai, #5B4B8A);
    font-weight: 600;
    text-decoration: none;
}

a.btl-highlight:hover[b-0z0ipsls86],
a.btl-open:hover[b-0z0ipsls86] {
    text-decoration: underline;
}

/* A search step's fact („Termine gesucht: 2 Termine“) is bold black like the mockup, even where it opens a page. */
a.btl-highlight.plain[b-0z0ipsls86] {
    color: var(--ink, var(--cx-text-primary, #1C1915));
    font-weight: 700;
}

a.btl-open[b-0z0ipsls86] {
    margin-left: 4px;
}

/* The done step of a reorganization: „Rückgängig“ as a quiet text button, the question inline under the step, the
   refusal in the service's words, the undone state as a quiet note. */
.btl-undo[b-0z0ipsls86],
.btl-undo-confirm-yes[b-0z0ipsls86],
.btl-undo-confirm-no[b-0z0ipsls86] {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.btl-undo[b-0z0ipsls86] {
    margin-left: 8px;
    color: var(--ai, #5B4B8A);
    font-weight: 600;
}

.btl-undo:hover[b-0z0ipsls86],
.btl-undo-confirm-no:hover[b-0z0ipsls86] {
    text-decoration: underline;
}

.btl-undo:focus-visible[b-0z0ipsls86],
.btl-undo-confirm-yes:focus-visible[b-0z0ipsls86],
.btl-undo-confirm-no:focus-visible[b-0z0ipsls86] {
    outline: none;
    border-radius: var(--cx-radius-control);
    box-shadow: var(--cx-focus-ring, 0 0 0 3px rgba(184, 96, 31, .25));
}

.btl-undone[b-0z0ipsls86] {
    margin-left: 8px;
    color: var(--stone, var(--cx-text-secondary, #8E8679));
}

.btl-undo-confirm[b-0z0ipsls86] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 2px 0 4px 24px;
    color: var(--walnut, var(--cx-text-secondary, #4A443C));
}

.btl-undo-confirm-yes[b-0z0ipsls86] {
    padding: 2px 10px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-danger, #c62828);
    color: #fff;
    font-weight: 600;
}

.btl-undo-confirm-yes:hover[b-0z0ipsls86] {
    filter: brightness(.92);
}

.btl-undo-confirm-yes:disabled[b-0z0ipsls86],
.btl-undo-confirm-no:disabled[b-0z0ipsls86] {
    opacity: .6;
    cursor: default;
}

.btl-undo-confirm-no[b-0z0ipsls86] {
    color: var(--walnut, var(--cx-text-secondary, #4A443C));
}

.btl-undo-error[b-0z0ipsls86] {
    margin: 2px 0 4px 24px;
    color: var(--cx-danger, #c62828);
}

.btl-spinner[b-0z0ipsls86] {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-top: 2px;
    border: 2px solid var(--cx-hairline, rgba(28, 25, 21, .15));
    border-top-color: var(--ai, #5B4B8A);
    border-radius: var(--cx-radius-round);
    box-sizing: border-box;
    animation: btl-spin-b-0z0ipsls86 800ms linear infinite;
}

/* The writing cursor at the end of a reply in progress. */
.btl-cursor[b-0z0ipsls86] {
    display: block;
    width: 8px;
    height: 16px;
    border-radius: var(--cx-radius-control);
    background: var(--ai, #5B4B8A);
    animation: btl-blink-b-0z0ipsls86 1s step-end infinite;
}

.btl-debug-toggle[b-0z0ipsls86] {
    border: 0;
    background: transparent;
    color: var(--cx-text-secondary, #6b7280);
    padding: 0 2px;
    cursor: pointer;
}

.btl-debug[b-0z0ipsls86] {
    margin: 2px 0 6px 24px;
    font-size: 11px;
}

.btl-debug-title[b-0z0ipsls86] {
    font-weight: 600;
    color: var(--cx-text-secondary, #6b7280);
}

.btl-debug pre[b-0z0ipsls86] {
    max-height: 220px;
    overflow: auto;
    white-space: pre-wrap;
    background: var(--cx-hover-bg, #f6f7f9);
    padding: 6px;
    border-radius: var(--cx-radius-control);
}

@keyframes btl-spin-b-0z0ipsls86 {
    to { transform: rotate(360deg); }
}

@keyframes btl-blink-b-0z0ipsls86 {
    50% { opacity: 0; }
}

@keyframes btl-step-in-b-0z0ipsls86 {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

@keyframes btl-check-in-b-0z0ipsls86 {
    from { transform: scale(.6); }
    to { transform: scale(1); }
}

/* "Bewegung reduzieren": state changes only. The spinner keeps turning slowly — it is the sign that Bob works. */
@media (prefers-reduced-motion: reduce) {
    .btl-step[b-0z0ipsls86],
    .btl-step.done .btl-icon i[b-0z0ipsls86] {
        animation: none;
    }

    .btl-cursor[b-0z0ipsls86] {
        animation: none;
    }

    .btl-spinner[b-0z0ipsls86] {
        animation-duration: 2400ms;
    }
}
/* _content/CraftX.Web/Components/Shared/BlockingActionDialog.razor.rz.scp.css */
/* Modern, professional design system for BlockingActionDialog */

/* Define design tokens/CSS variables for consistency */
:root[b-2v5bkuszao] {
    --dialog-bg: #ffffff;
    --dialog-overlay-bg: rgba(15, 23, 42, 0.5);
    --dialog-overlay-bg-blur: rgba(15, 23, 42, 0.3);
    
    /* Typography palette */
    --dialog-header-text: var(--cx-text-primary); /* Slate 900 */
    --dialog-body-text: var(--cx-text-secondary); /* Slate 600 */
    --dialog-subtle-text: var(--cx-text-secondary); /* Slate 500 */
    
    /* Borders and dividers */
    --dialog-border-color: rgba(0, 0, 0, 0.06);
    --dialog-divider-color: var(--paper-2); /* Slate 100 */
    
    /* Warning/Alert colors */
    --warning-bg: rgba(169,117,20,0.15); /* Amber 100 */
    --warning-border: rgba(169,117,20,0.20); /* Amber 200 */
    --warning-text: var(--cx-warning); /* Amber 900 */
    --warning-icon: var(--cx-warning); /* Amber 500 */
    
    /* Footer */
    --dialog-footer-bg: var(--paper-2); /* Slate 50 */
    
    /* Spacing scale */
    --dialog-spacing-xs: 0.5rem;
    --dialog-spacing-sm: 0.75rem;
    --dialog-spacing-md: 1rem;
    --dialog-spacing-lg: 1.5rem;
    --dialog-spacing-xl: 2rem;
}

/* Modern layered shadow and backdrop effect */
[b-2v5bkuszao] .blocking-action-dialog.e-dialog-container {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dialog-overlay-bg);
}

/* Add backdrop blur support with fallback */
@supports (backdrop-filter: blur(8px)) {
    [b-2v5bkuszao] .blocking-action-dialog.e-dialog-container {
        background-color: var(--dialog-overlay-bg-blur);
        backdrop-filter: blur(8px);
    }
}

/* Dialog container with modern shadow */
[b-2v5bkuszao] .blocking-action-dialog .e-dialog {
    width: 90vw;
    max-width: 560px;
    background: var(--dialog-bg);
    border-radius: var(--cx-radius-surface);
    border: 1px solid var(--dialog-border-color);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Clean header design */
[b-2v5bkuszao] .blocking-action-dialog .e-dlg-header {
    background: var(--dialog-bg);
    color: var(--dialog-header-text);
    padding: var(--dialog-spacing-lg);
    padding-bottom: var(--dialog-spacing-md);
    border-bottom: 1px solid var(--dialog-divider-color);
}

/* Header content styling */
.dialog-header[b-2v5bkuszao] {
    display: flex;
    align-items: center;
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Dynamic icon coloring based on severity */
.dialog-header .e-icons[b-2v5bkuszao] {
    font-size: 1.375rem; /* 22px */
    margin-right: var(--dialog-spacing-sm);
    color: var(--warning-icon);
    flex-shrink: 0;
}

/* Content area with improved spacing */
.dialog-content[b-2v5bkuszao] {
    padding: var(--dialog-spacing-lg);
    padding-bottom: var(--dialog-spacing-xl);
    color: var(--dialog-body-text);
    font-size: 0.875rem; /* 14px */
    line-height: 1.6;
}

/* Content sections with variable spacing */
.headline[b-2v5bkuszao] {
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: var(--dialog-header-text);
    line-height: 1.4;
    margin-bottom: var(--dialog-spacing-sm);
}

.explanation[b-2v5bkuszao] {
    color: var(--dialog-body-text);
    margin-bottom: var(--dialog-spacing-md);
}

/* Modern warning/info box design */
.missing-fields[b-2v5bkuszao] {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--cx-radius-surface);
    padding: var(--dialog-spacing-md) var(--dialog-spacing-lg);
    margin: var(--dialog-spacing-md) 0;
}

.missing-fields-list[b-2v5bkuszao] {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--warning-text);
    font-weight: 500;
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--warning-border) transparent;
}

/* Custom scrollbar for webkit browsers */
.missing-fields-list[b-2v5bkuszao]::-webkit-scrollbar {
    width: 6px;
}

.missing-fields-list[b-2v5bkuszao]::-webkit-scrollbar-track {
    background: transparent;
}

.missing-fields-list[b-2v5bkuszao]::-webkit-scrollbar-thumb {
    background-color: var(--warning-border);
    border-radius: var(--cx-radius-control);
}

.missing-fields-list li[b-2v5bkuszao] {
    margin-bottom: var(--dialog-spacing-xs);
    line-height: 1.5;
}

.missing-fields-list li:last-child[b-2v5bkuszao] {
    margin-bottom: 0;
}

/* Call to action styling */
.call-to-action[b-2v5bkuszao] {
    color: var(--dialog-subtle-text);
    font-size: 0.8125rem; /* 13px */
    margin-top: var(--dialog-spacing-lg);
}

/* Footer with subtle background */
.dialog-footer[b-2v5bkuszao] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--dialog-spacing-md);
    padding: var(--dialog-spacing-md) var(--dialog-spacing-lg);
    background-color: var(--dialog-footer-bg);
    border-top: 1px solid var(--dialog-divider-color);
}

/* Button hover states for better UX */
.dialog-footer .e-btn[b-2v5bkuszao] {
    font-weight: 500;
    transition: all 200ms ease;
}

.dialog-footer .e-btn.e-flat:hover[b-2v5bkuszao] {
    background-color: rgba(0, 0, 0, 0.04);
}

.dialog-footer .e-btn.e-primary[b-2v5bkuszao] {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.dialog-footer .e-btn.e-primary:hover[b-2v5bkuszao] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Icons in buttons */
.dialog-footer .e-btn .e-icons[b-2v5bkuszao] {
    font-size: 1rem;
    vertical-align: middle;
}


/* Responsive adjustments */
@media (max-width: 640px) {
    [b-2v5bkuszao] .blocking-action-dialog .e-dialog {
        width: 95vw;
        margin: 1rem;
    }
    
    .dialog-content[b-2v5bkuszao] {
        padding: var(--dialog-spacing-md);
        padding-bottom: var(--dialog-spacing-lg);
    }
    
    .dialog-footer[b-2v5bkuszao] {
        padding: var(--dialog-spacing-sm) var(--dialog-spacing-md);
        flex-direction: column-reverse;
        gap: var(--dialog-spacing-xs);
    }
    
    .dialog-footer .e-btn[b-2v5bkuszao] {
        width: 100%;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root[b-2v5bkuszao] {
        --dialog-bg: var(--cx-text-primary);
        --dialog-overlay-bg: rgba(0, 0, 0, 0.7);
        --dialog-overlay-bg-blur: rgba(0, 0, 0, 0.5);
        --dialog-header-text: var(--paper-2);
        --dialog-body-text: var(--cx-border);
        --dialog-subtle-text: var(--cx-text-muted);
        --dialog-border-color: rgba(255, 255, 255, 0.1);
        --dialog-divider-color: var(--cx-text-primary);
        --dialog-footer-bg: var(--cx-text-primary);
        --warning-bg: #451a03;
        --warning-border: #7c2d12;
        --warning-text: #fed7aa;
    }
    
    .dialog-footer .e-btn.e-flat:hover[b-2v5bkuszao] {
        background-color: rgba(255, 255, 255, 0.08);
    }
}
/* _content/CraftX.Web/Components/Shared/BobVoice/BobVoiceBubble.razor.rz.scp.css */
/* Bob's voice message in the web chat. Class names of the player are shared with wwwroot/js/whatsapp-voice.js;
   the script adds .is-played to bars and .is-loading to the card. */
.bob-voice[b-kun3hh7atu] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    /* A definite width: the chat bubbles shrink to their content, and the bars have none of their own. */
    width: 270px;
    max-width: 100%;
    white-space: normal;
}

.wa-voice[b-kun3hh7atu] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

.wa-voice-play[b-kun3hh7atu] {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: var(--cx-primary);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
}

.wa-voice-play:hover:not(:disabled)[b-kun3hh7atu] {
    background: var(--cx-primary-hover, var(--cx-primary));
}

.wa-voice-play:active:not(:disabled)[b-kun3hh7atu] {
    transform: scale(0.94);
}

.wa-voice-play:focus-visible[b-kun3hh7atu],
.bob-voice-wave:focus-visible[b-kun3hh7atu],
.bob-voice-toggle:focus-visible[b-kun3hh7atu],
.bob-voice-retry:focus-visible[b-kun3hh7atu] {
    outline: 2px solid var(--cx-primary);
    outline-offset: 2px;
}

.wa-voice-play .bi-play-fill[b-kun3hh7atu] {
    margin-left: 2px;
}

.wa-voice-play:disabled[b-kun3hh7atu] {
    cursor: not-allowed;
    opacity: 0.45;
}

.wa-voice.is-loading .wa-voice-play[b-kun3hh7atu] {
    cursor: progress;
    animation: bob-voice-pulse-b-kun3hh7atu 1s ease-in-out infinite;
}

/* The waveform: bars scaled to the loudest, the played part in the primary colour. */
.bob-voice-wave[b-kun3hh7atu] {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    border-radius: var(--cx-radius-surface);
}

.wa-voice-bar[b-kun3hh7atu] {
    flex: 1 1 0;
    min-width: 2px;
    max-width: 3px;
    border-radius: var(--cx-radius-control);
    background: var(--cx-text-muted);
    opacity: 0.45;
    transition: background-color 0.12s, opacity 0.12s;
}

.wa-voice-bar.is-played[b-kun3hh7atu] {
    background: var(--cx-primary);
    opacity: 1;
}

.is-unavailable .bob-voice-wave[b-kun3hh7atu] {
    cursor: default;
}

.wa-voice-time[b-kun3hh7atu] {
    flex: 0 0 auto;
    min-width: 32px;
    text-align: right;
    font-size: 0.75rem;
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.wa-voice-audio[b-kun3hh7atu] {
    display: none;
}

.bob-voice-note[b-kun3hh7atu] {
    font-size: 0.75rem;
    color: var(--cx-text-secondary);
}

.bob-voice-error[b-kun3hh7atu] {
    color: var(--cx-danger, #c0392b);
}

/* „Transkribiere …“ with three pulsing dots. */
.bob-voice-status[b-kun3hh7atu] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--cx-text-secondary);
}

.bob-voice-status.is-failed[b-kun3hh7atu] {
    font-style: normal;
}

.bob-voice-dots[b-kun3hh7atu] {
    display: inline-flex;
    gap: 3px;
}

.bob-voice-dots i[b-kun3hh7atu] {
    width: 5px;
    height: 5px;
    border-radius: var(--cx-radius-round);
    background: var(--cx-text-secondary);
    animation: bob-voice-dot-b-kun3hh7atu 1.2s ease-in-out infinite;
}

.bob-voice-dots i:nth-child(2)[b-kun3hh7atu] {
    animation-delay: 0.2s;
}

.bob-voice-dots i:nth-child(3)[b-kun3hh7atu] {
    animation-delay: 0.4s;
}

.bob-voice-toggle[b-kun3hh7atu],
.bob-voice-retry[b-kun3hh7atu] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cx-primary);
    cursor: pointer;
}

.bob-voice-retry[b-kun3hh7atu] {
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--cx-primary);
    border-radius: var(--cx-radius-control);
}

.bob-voice-retry:disabled[b-kun3hh7atu] {
    cursor: progress;
    opacity: 0.6;
}

.bob-voice-toggle .bi-chevron-down[b-kun3hh7atu] {
    transition: transform 0.2s;
}

.bob-voice-toggle .bi-chevron-down.is-open[b-kun3hh7atu] {
    transform: rotate(180deg);
}

.bob-voice-transcript[b-kun3hh7atu] {
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--cx-text-primary);
    animation: bob-voice-unfold-b-kun3hh7atu 0.18s ease-out;
}

@keyframes bob-voice-dot-b-kun3hh7atu {
    0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

@keyframes bob-voice-pulse-b-kun3hh7atu {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@keyframes bob-voice-unfold-b-kun3hh7atu {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .bob-voice-dots i[b-kun3hh7atu],
    .wa-voice.is-loading .wa-voice-play[b-kun3hh7atu],
    .bob-voice-transcript[b-kun3hh7atu] {
        animation: none;
    }
}
/* _content/CraftX.Web/Components/Shared/BobVoice/BobVoiceComposer.razor.rz.scp.css */
/* The microphone beside the send button, and the recording bar over the whole input row (the row is its anchor:
   FloatingChatConversation's .input-wrapper is position: relative). The bar never changes the row's height — it lies over
   it — and its arrow sits exactly where the send button is, so the one round button seems to split into two: the square
   slides out of it to the left (180 ms). Targets 32 px, 44 px on touch screens (pointer: coarse), like the send button. */

.bvc-mic[b-fhpoe3hq38] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: var(--cx-radius-round);
    background: transparent;
    color: var(--cx-text-secondary);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.15s, background-color 0.15s;
}

.bvc-mic:hover:not(:disabled)[b-fhpoe3hq38] {
    color: var(--cx-text-primary);
    background-color: var(--cx-hairline-strong);
}

.bvc-mic:disabled[b-fhpoe3hq38] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bvc-bar[b-fhpoe3hq38] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 4px;
    background-color: var(--paper-2);
    border-radius: inherit;
    animation: bvc-bar-in-b-fhpoe3hq38 150ms ease-out;
}

.bvc-round[b-fhpoe3hq38] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--cx-radius-round);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.15s, opacity 0.15s;
}

.bvc-round:disabled[b-fhpoe3hq38] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bvc-cancel[b-fhpoe3hq38] {
    border: 1px solid var(--cx-hairline-strong);
    background-color: transparent;
    color: var(--cx-text-primary);
}

.bvc-cancel:hover:not(:disabled)[b-fhpoe3hq38] {
    background-color: var(--cx-hairline-strong);
}

/* Silence as dots, speech as bars: drawn by bob-voice-recorder.js in this colour. */
.bvc-line[b-fhpoe3hq38] {
    flex: 1;
    min-width: 0;
    height: 32px;
    color: var(--cx-text-secondary);
}

.bvc-time[b-fhpoe3hq38] {
    align-self: center;
    min-width: 2.6em;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--cx-text-secondary);
}

.bvc-text[b-fhpoe3hq38] {
    border: none;
    background-color: var(--cx-text-primary);
    color: var(--cx-card-bg);
    animation: bvc-split-b-fhpoe3hq38 180ms ease-out;
}

.bvc-text:hover:not(:disabled)[b-fhpoe3hq38] {
    background-color: var(--cx-text-secondary);
}

.bvc-square[b-fhpoe3hq38] {
    width: 10px;
    height: 10px;
    background-color: currentColor;
    border-radius: calc(var(--cx-radius-control) / 3);
}

.bvc-send[b-fhpoe3hq38] {
    border: none;
    background-color: var(--cx-primary);
    color: white;
}

.bvc-send:hover:not(:disabled)[b-fhpoe3hq38] {
    background-color: var(--cx-primary-hover, var(--cx-primary));
}

.bvc-recognizing[b-fhpoe3hq38] {
    flex: 1;
    align-self: center;
    font-size: 0.8rem;
    color: var(--cx-text-secondary);
}

.bvc-dots span[b-fhpoe3hq38] {
    animation: bvc-dot-b-fhpoe3hq38 1.4s infinite ease-in-out both;
}

.bvc-dots span:nth-child(2)[b-fhpoe3hq38] {
    animation-delay: 0.2s;
}

.bvc-dots span:nth-child(3)[b-fhpoe3hq38] {
    animation-delay: 0.4s;
}

.bvc-spin[b-fhpoe3hq38] {
    animation: bvc-spin-b-fhpoe3hq38 0.9s linear infinite;
}

@keyframes bvc-bar-in-b-fhpoe3hq38 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bvc-split-b-fhpoe3hq38 {
    from { transform: translateX(38px) scale(0.85); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@keyframes bvc-dot-b-fhpoe3hq38 {
    0%, 80%, 100% { opacity: 0.2; }
    40% { opacity: 1; }
}

@keyframes bvc-spin-b-fhpoe3hq38 {
    to { transform: rotate(360deg); }
}

@media (pointer: coarse) {
    .bvc-mic[b-fhpoe3hq38],
    .bvc-round[b-fhpoe3hq38] {
        width: 44px;
        height: 44px;
    }

    .bvc-line[b-fhpoe3hq38] {
        height: 44px;
    }

    @keyframes bvc-split-b-fhpoe3hq38 {
        from { transform: translateX(50px) scale(0.85); opacity: 0; }
        to { transform: none; opacity: 1; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .bvc-bar[b-fhpoe3hq38],
    .bvc-text[b-fhpoe3hq38],
    .bvc-dots span[b-fhpoe3hq38],
    .bvc-spin[b-fhpoe3hq38] {
        animation: none;
    }
}

/* hidden while the text is recognised; the class rules above would show it otherwise */
.bvc-bar [hidden][b-fhpoe3hq38] {
    display: none !important;
}
/* _content/CraftX.Web/Components/Shared/Catalog/CatalogFolderTree.razor.rz.scp.css */
.cx-ftree[b-ykv60p0zbc] {
    display: flex; flex-direction: column; gap: 2px; padding: 8px;
    background: var(--cx-card-bg); border: 1px solid var(--cx-card-border); border-radius: var(--cx-radius-surface);
}
.cx-ftree__row[b-ykv60p0zbc] {
    position: relative; display: flex; align-items: center; gap: 2px;
    padding-left: calc(var(--depth, 0) * 14px); border-radius: var(--cx-radius-control);
}
.cx-ftree__row--root[b-ykv60p0zbc] { padding-left: 24px; }
.cx-ftree__row.is-active[b-ykv60p0zbc] { background: var(--cx-primary-soft); }
.cx-ftree__row.is-drop[b-ykv60p0zbc] { outline: 2px dashed var(--copper, #B8601F); outline-offset: -2px; }
.cx-ftree__row[draggable="true"][b-ykv60p0zbc] { cursor: grab; }
.cx-ftree__node[b-ykv60p0zbc] {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 6px 6px;
    border: 0; background: transparent; border-radius: var(--cx-radius-control); text-align: left;
    font-size: 13px; color: var(--cx-text-primary); cursor: pointer;
}
.cx-ftree__name[b-ykv60p0zbc] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-ftree__count[b-ykv60p0zbc] { font-size: 11px; color: var(--cx-text-muted); font-variant-numeric: tabular-nums; }
.cx-ftree__toggle[b-ykv60p0zbc], .cx-ftree__more[b-ykv60p0zbc] {
    width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    border: 0; background: transparent; border-radius: var(--cx-radius-control); color: var(--cx-text-muted); font-size: 11px;
}
.cx-ftree__more:hover[b-ykv60p0zbc], .cx-ftree__toggle:not(:disabled):hover[b-ykv60p0zbc] { background: var(--paper-2, #F5F1E8); }
@media (hover: hover) {
    .cx-ftree__more[b-ykv60p0zbc] { opacity: 0; }
    .cx-ftree__row:hover .cx-ftree__more[b-ykv60p0zbc], .cx-ftree__more:focus-visible[b-ykv60p0zbc] { opacity: 1; }
}
.cx-ftree__backdrop[b-ykv60p0zbc] { position: fixed; inset: 0; z-index: 20; }
.cx-ftree__menu[b-ykv60p0zbc] {
    position: absolute; right: 4px; top: 100%; z-index: 30; min-width: 200px; padding: 4px;
    display: flex; flex-direction: column; background: var(--paper, #fff);
    border: 1px solid var(--cx-hairline); border-radius: var(--cx-radius-surface); box-shadow: 0 12px 28px rgba(28, 25, 21, 0.14);
}
.cx-ftree__menu button[b-ykv60p0zbc] {
    display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 0; background: transparent;
    border-radius: var(--cx-radius-control); text-align: left; font-size: 13px; color: var(--cx-text-primary);
}
.cx-ftree__menu button:hover[b-ykv60p0zbc] { background: var(--paper-2, #F5F1E8); }
.cx-ftree__menu .is-danger[b-ykv60p0zbc] { color: var(--cx-danger); }
.cx-ftree__add[b-ykv60p0zbc] {
    margin-top: 6px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px dashed var(--cx-hairline);
    border-radius: var(--cx-radius-control); background: transparent; font-size: 12.5px; color: var(--cx-text-secondary);
}
.cx-fcrumb[b-ykv60p0zbc] { display: none; }
.cx-fdialog[b-ykv60p0zbc] { width: 440px; }

@media (max-width: 767.98px) {
    .cx-ftree[b-ykv60p0zbc] { display: none; }
    .cx-fcrumb[b-ykv60p0zbc] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px 0; }
    .cx-fcrumb__seg[b-ykv60p0zbc] {
        border: 0; background: transparent; padding: 4px 6px; border-radius: var(--cx-radius-control);
        font-size: 13px; color: var(--cx-text-secondary);
    }
    .cx-fcrumb__seg.is-active[b-ykv60p0zbc] { color: var(--cx-text-primary); font-weight: 600; }
    .cx-fcrumb__sep[b-ykv60p0zbc] { font-size: 10px; color: var(--cx-text-muted); }
    .cx-fcrumb__down[b-ykv60p0zbc] { width: auto; max-width: 60vw; }
    .cx-fcrumb__add[b-ykv60p0zbc] { border: 0; background: transparent; color: var(--cx-text-secondary); padding: 4px 6px; }
}
/* _content/CraftX.Web/Components/Shared/Catalog/CatalogFolderTreeMoveDialog.razor.rz.scp.css */
.cx-fdialog[b-e0rsxkuwjv] { width: 440px; }
.cx-fmove[b-e0rsxkuwjv] { display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow-y: auto; }
.cx-fmove__row[b-e0rsxkuwjv] {
    display: flex; align-items: center; gap: 8px; padding: 7px 10px;
    padding-left: calc(10px + var(--depth, 0) * 16px); border-radius: var(--cx-radius-control); cursor: pointer; font-size: 13px;
}
.cx-fmove__row:hover[b-e0rsxkuwjv] { background: var(--paper-2, #F5F1E8); }
.cx-fmove__row i[b-e0rsxkuwjv] { color: var(--stone, #8E8679); }
/* _content/CraftX.Web/Components/Shared/Customers/CustomerActivityTimeline.razor.rz.scp.css */
/* Per-customer Verlauf — warm activity timeline, mirrors the Nachfassen optic.
   Reuses global tokens (--copper #B8601F, --walnut, --stone, --ink, --copper-50). */

.cat[b-ta47d6rc9m] {
    padding: 8px 4px 4px;
}

.cat__head[b-ta47d6rc9m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cat__title[b-ta47d6rc9m] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink, #1C1915);
}

.cat__title i[b-ta47d6rc9m] { color: var(--copper, #B8601F); }

.cat__add[b-ta47d6rc9m] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: var(--copper, #B8601F);
    border: 0;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: background .15s ease;
}

.cat__add:hover[b-ta47d6rc9m] { background: var(--copper-dark, #8A4514); }

/* Quick-add chips — one-tap presets that open the inline composer */
.cat__quickadd[b-ta47d6rc9m] { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.cat__chip-btn[b-ta47d6rc9m] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--walnut, #4A443C);
    background: #fff;
    border: 1px solid var(--cx-hairline-soft, #E8E3DA);
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.cat__chip-btn i[b-ta47d6rc9m] { font-size: 12px; opacity: .85; }
.cat__chip-btn:hover[b-ta47d6rc9m] {
    color: var(--copper, #B8601F);
    border-color: color-mix(in srgb, var(--copper, #B8601F) 45%, transparent);
    background: var(--copper-50, #FBEFE5);
}
.cat__chip-btn--accent[b-ta47d6rc9m] {
    color: #fff;
    background: var(--copper, #B8601F);
    border-color: var(--copper, #B8601F);
}
.cat__chip-btn--accent:hover[b-ta47d6rc9m] { color: #fff; background: var(--copper-dark, #8A4514); border-color: var(--copper-dark, #8A4514); }

/* Loading + empty states */
.cat__loading[b-ta47d6rc9m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--stone, #8E8679);
}

.cat__empty[b-ta47d6rc9m] {
    text-align: center;
    padding: 3rem 1.5rem;
}

.cat__empty-ico[b-ta47d6rc9m] {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: var(--cx-radius-round);
    font-size: 24px;
    color: var(--copper, #B8601F);
    background: var(--copper-50, #FBEFE5);
}

.cat__empty-title[b-ta47d6rc9m] { font-size: 16px; font-weight: 600; color: var(--ink, #1C1915); margin-bottom: 6px; }
.cat__empty-sub[b-ta47d6rc9m] { font-size: 13px; color: var(--stone, #8E8679); max-width: 440px; margin: 0 auto 18px; line-height: 1.5; }

/* Timeline */
.cat__timeline[b-ta47d6rc9m] { display: flex; flex-direction: column; }

.cat__item[b-ta47d6rc9m] { display: flex; gap: 12px; padding-bottom: 16px; position: relative; }
.cat__item:last-child[b-ta47d6rc9m] { padding-bottom: 0; }
.cat__item[b-ta47d6rc9m]::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 26px;
    bottom: -2px;
    width: 2px;
    background: var(--cx-hairline-soft, #E8E3DA);
}
.cat__item:last-child[b-ta47d6rc9m]::before { display: none; }

.cat__dot[b-ta47d6rc9m] {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: var(--cx-radius-round);
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #fff;
    z-index: 1;
    background: var(--stone, #8E8679);
}
.cat__dot.copper[b-ta47d6rc9m] { background: var(--copper, #B8601F); }
.cat__dot.info[b-ta47d6rc9m] { background: var(--cx-info, #1F4A82); }
.cat__dot.success[b-ta47d6rc9m] { background: var(--cx-success, #3F7D5B); }
.cat__dot.warning[b-ta47d6rc9m] { background: var(--cx-warning, #A97514); }
.cat__dot.danger[b-ta47d6rc9m] { background: var(--cx-danger, #9A3B33); }

.cat__body[b-ta47d6rc9m] { min-width: 0; flex: 1; padding-top: 3px; }

.cat__row[b-ta47d6rc9m] { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }

.cat__title-line[b-ta47d6rc9m] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.cat__headline[b-ta47d6rc9m] { font-size: 13px; font-weight: 600; color: var(--ink, #1C1915); }

.cat__chip[b-ta47d6rc9m] {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: var(--cx-radius-control);
    color: var(--copper-dark, #8A4514);
    background: var(--copper-50, #FBEFE5);
}

.cat__sub[b-ta47d6rc9m] { font-size: 11.5px; color: var(--stone, #8E8679); margin-top: 1px; }

/* A recorded note / message / feedback — a quoted line so it stays readable and never
   displaces the timestamp. */
.cat__note[b-ta47d6rc9m] {
    margin-top: 5px;
    padding: 6px 9px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
    color: var(--walnut, #4A443C);
    background: var(--copper-50, #FBEFE5);
    border-left: 2px solid var(--copper, #B8601F);
    border-radius: 0 var(--cx-radius-surface) var(--cx-radius-surface) 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.cat__followup[b-ta47d6rc9m] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--cx-info, #1F4A82);
}

/* Row actions (edit/delete for notes, jump-offs for system rows) — quiet until hover */
.cat__actions[b-ta47d6rc9m] {
    display: flex;
    gap: 2px;
    flex: 0 0 auto;
    opacity: 0;
    transition: opacity .15s ease;
}
.cat__item:hover .cat__actions[b-ta47d6rc9m] { opacity: 1; }

.cat__jump[b-ta47d6rc9m] {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    font-size: 12px;
    color: var(--stone, #8E8679);
    background: transparent;
    border: 0;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
.cat__jump:hover[b-ta47d6rc9m] { color: var(--copper, #B8601F); background: var(--copper-50, #FBEFE5); }
.cat__jump--danger:hover[b-ta47d6rc9m] { color: var(--cx-danger, #9A3B33); background: color-mix(in srgb, var(--cx-danger, #9A3B33) 10%, transparent); }

/* Inline note composer (add at top / edit in-row) */
.cat__item--composer[b-ta47d6rc9m] { padding-bottom: 16px; }

.cat-composer[b-ta47d6rc9m] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--copper, #B8601F) 35%, transparent);
    border-radius: var(--cx-radius-surface);
    background: var(--copper-50, #FBEFE5);
}

.cat-composer__head[b-ta47d6rc9m] { display: flex; flex-wrap: wrap; gap: 10px; }

[b-ta47d6rc9m] .cat-composer__input { min-height: 84px; background: #fff; }

.cat-composer__err[b-ta47d6rc9m] { font-size: 12px; margin-top: -4px; }

.cat-composer__actions[b-ta47d6rc9m] { display: flex; justify-content: flex-end; gap: 8px; }

.cat-composer__btn[b-ta47d6rc9m] {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--cx-radius-control);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cat-composer__btn--ghost[b-ta47d6rc9m] {
    color: var(--walnut, #4A443C);
    background: transparent;
    border-color: var(--cx-hairline-soft, #E8E3DA);
}
.cat-composer__btn--ghost:hover[b-ta47d6rc9m] { background: #fff; }
.cat-composer__btn--primary[b-ta47d6rc9m] {
    color: #fff;
    background: var(--copper, #B8601F);
}
.cat-composer__btn--primary:hover[b-ta47d6rc9m] { background: var(--copper-dark, #8A4514); }

/* Delete confirmation dialog */
.cat-dialog-footer[b-ta47d6rc9m] { display: flex; justify-content: flex-end; }
.cat-note-preview[b-ta47d6rc9m] {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--walnut, #4A443C);
    background: var(--cx-surface-soft, #F6F3ED);
    border-radius: var(--cx-radius-surface);
    max-height: 4.5rem;
    overflow: hidden;
}
/* _content/CraftX.Web/Components/Shared/Customers/CustomerSkontoField.razor.rz.scp.css */
.customer-skonto-own[b-zmnhosa6v4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-top: 0.5rem;
}

/* Label above its field for both parts; the fields line up at the bottom even when a label wraps. */
.customer-skonto-own > div[b-zmnhosa6v4] {
    flex: 1 1 10rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.customer-skonto > small[b-zmnhosa6v4] {
    display: block;
    margin-top: 0.25rem;
}
/* _content/CraftX.Web/Components/Shared/CxSwitch.razor.rz.scp.css */
/* The reference size (the settings' ww-toggle): set here only — SwitchConsistencyGuardTests refuses it anywhere else. */
.cx-switch[b-nj3l5o6756] { width: 46px; height: 27px; border-radius: var(--cx-radius-control); border: none; padding: 0; flex-shrink: 0;
    position: relative; cursor: pointer; background: var(--stone); transition: background .18s var(--ease); }
.cx-switch.on[b-nj3l5o6756] { background: var(--copper); }
.cx-switch:focus-visible[b-nj3l5o6756] { outline: 2px solid var(--copper); outline-offset: 2px; }
.cx-switch:disabled[b-nj3l5o6756] { cursor: not-allowed; opacity: .55; }
.cx-switch-knob[b-nj3l5o6756] { position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: var(--cx-radius-control); background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s var(--ease); }
.cx-switch.on .cx-switch-knob[b-nj3l5o6756] { transform: translateX(19px); }
/* _content/CraftX.Web/Components/Shared/Documents/EnergyCertificateSection.razor.rz.scp.css */
/* Empty state of the §35c card — explanation first, then the one action. */
.ecs-empty[b-7izmns00ip] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px 16px;
}

.ecs-empty > .bi[b-7izmns00ip] {
    font-size: 1.6rem;
    color: var(--copper);
    line-height: 1;
    margin-top: 2px;
}

.ecs-empty-body[b-7izmns00ip] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.ecs-empty-t[b-7izmns00ip] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.ecs-empty-s[b-7izmns00ip] {
    font-size: 12.5px;
    color: var(--stone);
    line-height: 1.45;
}

.ecs-empty-body .btn[b-7izmns00ip] { margin-top: 8px; }
/* _content/CraftX.Web/Components/Shared/Documents/EnergyCertificateWizardDialog.razor.rz.scp.css */
/* §35c wizard — leave/catalog dialog language (scrim + modal, radius 18, icon tile 42,
   title 19), step kicker + progress dots from the Termin guided wizard.
   z-band 5040/5050: above Syncfusion dialog containers, like .cxe-* in cx-catalog.css. */

.ecw-scrim[b-sazhyem376] {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 21, 0.34);
    backdrop-filter: blur(2px);
    z-index: 5040;
    animation: ecw-fade-b-sazhyem376 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes ecw-fade-b-sazhyem376 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ecw-modal[b-sazhyem376] {
    --ecw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 860px;
    max-width: 94vw;
    height: min(92vh, 900px);
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-radius: var(--cx-radius-surface);
    z-index: 5050;
    box-shadow: 0 28px 56px rgba(28, 25, 21, 0.18), 0 10px 20px rgba(28, 25, 21, 0.10);
    animation: ecw-modalin-b-sazhyem376 0.24s var(--ecw-ease);
    font-family: var(--font-sans);
    color: var(--ink);
    outline: none;
}

@keyframes ecw-modalin-b-sazhyem376 {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.ecw-h[b-sazhyem376] {
    padding: 22px 24px 14px;
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    border-bottom: 1px solid var(--hairline-soft);
    position: relative;
    flex-shrink: 0;
}

.ecw-hi[b-sazhyem376] {
    width: 42px;
    height: 42px;
    border-radius: var(--cx-radius-surface);
    background: var(--copper-50);
    color: var(--copper);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.ecw-ht[b-sazhyem376] { min-width: 0; padding-right: 40px; }

.ecw-kicker[b-sazhyem376] {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 2px;
}

.ecw-t[b-sazhyem376] {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ecw-s[b-sazhyem376] {
    font-size: 13px;
    color: var(--walnut);
    margin-top: 3px;
    max-width: 64ch;
}

.ecw-close[b-sazhyem376] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    border: none;
    background: var(--sand);
    display: grid;
    place-items: center;
    color: var(--walnut);
    cursor: pointer;
}

.ecw-close:hover[b-sazhyem376] { background: var(--sand-2); }

.ecw-dots[b-sazhyem376] {
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.ecw-dot[b-sazhyem376] {
    height: 6px;
    flex: 1;
    border-radius: var(--cx-radius-round);
    border: none;
    padding: 0;
    background: var(--sand-2);
    cursor: pointer;
    transition: background 0.2s var(--ecw-ease);
}

.ecw-dot.on[b-sazhyem376] { background: var(--copper); }
.ecw-dot:hover:not(:disabled)[b-sazhyem376] { background: var(--copper-dark); }

/* ── Body ───────────────────────────────────────────────────────────────── */
.ecw-b[b-sazhyem376] {
    padding: 18px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.ecw-loading[b-sazhyem376] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 3rem 1rem;
    color: var(--stone);
    font-size: 13px;
}

.ecw-loading .bi[b-sazhyem376] { font-size: 2rem; }

.ecw-blocks[b-sazhyem376], .ecw-values[b-sazhyem376], .ecw-pc[b-sazhyem376], .ecw-review[b-sazhyem376], .ecw-done[b-sazhyem376] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Block: icon tile + title/sub + optional action, then read view or editor */
.ecw-block[b-sazhyem376] {
    border: 1px solid var(--hairline);
    border-radius: var(--cx-radius-surface);
    padding: 14px 16px;
    background: #fff;
}

.ecw-block-h[b-sazhyem376] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ecw-block-ico[b-sazhyem376] {
    width: 34px;
    height: 34px;
    border-radius: var(--cx-radius-control);
    background: var(--sand);
    color: var(--walnut);
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ecw-block-t[b-sazhyem376] { flex: 1; min-width: 0; }
.ecw-block-t b[b-sazhyem376] { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.ecw-block-t span[b-sazhyem376] { display: block; font-size: 12px; color: var(--stone); margin-top: 1px; }

.ecw-read[b-sazhyem376] {
    margin: 10px 0 0 46px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink);
}

.ecw-missing[b-sazhyem376] {
    margin: 10px 0 0 46px;
    font-size: 12.5px;
    color: var(--cx-danger);
}

.ecw-edit[b-sazhyem376] {
    margin: 10px 0 0 46px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ecw-edit .form-control + .ecw-label[b-sazhyem376] { margin-top: 8px; }

.ecw-label[b-sazhyem376] {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.ecw-opt[b-sazhyem376] { font-weight: 400; color: var(--stone); }

.ecw-hint[b-sazhyem376] {
    font-size: 11.5px;
    color: var(--stone);
    margin-top: 4px;
    line-height: 1.45;
}

.ecw-link[b-sazhyem376] {
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--copper);
    cursor: pointer;
    white-space: nowrap;
}

.ecw-link:hover[b-sazhyem376] { color: var(--copper-dark); text-decoration: underline; }
.ecw-link:disabled[b-sazhyem376] { opacity: 0.5; cursor: default; text-decoration: none; }
.ecw-link.muted[b-sazhyem376] { color: var(--stone); font-weight: 500; }

.ecw-chips[b-sazhyem376] { margin: 10px 0 0 46px; display: flex; flex-wrap: wrap; gap: 6px; }

.ecw-chip[b-sazhyem376] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--cx-radius-control);
    font-size: 11.5px;
    font-weight: 600;
    background: var(--sand);
    color: var(--walnut);
}

/* Notes: info (default), warn, bob */
.ecw-note[b-sazhyem376] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 13px;
    border-radius: var(--cx-radius-surface);
    background: var(--paper-2);
    border: 1px solid var(--hairline);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--walnut);
    margin-top: 10px;
}

.ecw-note > .bi[b-sazhyem376] { flex-shrink: 0; margin-top: 2px; color: var(--copper); }
.ecw-note b[b-sazhyem376] { color: var(--ink); }
.ecw-note > div[b-sazhyem376] { flex: 1; min-width: 0; }
.ecw-note a[b-sazhyem376] { color: var(--copper); font-weight: 600; }

.ecw-note.warn[b-sazhyem376] {
    background: color-mix(in srgb, var(--cx-warning) 10%, white);
    border-color: color-mix(in srgb, var(--cx-warning) 40%, white);
}

.ecw-note.warn > .bi[b-sazhyem376] { color: var(--cx-warning); }

.ecw-note.bob[b-sazhyem376] {
    background: color-mix(in srgb, var(--ai, #6f5bd6) 8%, white);
    border-color: color-mix(in srgb, var(--ai, #6f5bd6) 30%, white);
    align-items: center;
}

.ecw-note.bob > .bi[b-sazhyem376] { color: var(--ai, #6f5bd6); }

.ecw-blocks > .ecw-note[b-sazhyem376] { margin-top: 0; }

/* Checkbox rows */
.ecw-check[b-sazhyem376] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 10px;
    border-radius: var(--cx-radius-control);
    border: 1px solid var(--hairline);
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    background: #fff;
    margin: 0;
}

.ecw-check:hover[b-sazhyem376] { background: var(--paper-2); }
.ecw-check.on[b-sazhyem376] { border-color: var(--copper); background: var(--copper-50); }
.ecw-check input[b-sazhyem376] { margin-top: 3px; accent-color: var(--copper); flex-shrink: 0; }
.ecw-check.inline[b-sazhyem376] { display: inline-flex; align-items: center; }

.ecw-trades[b-sazhyem376] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 12px 0;
}

/* Job picker (start from the customer) */
.ecw-jobs[b-sazhyem376] { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0 46px; }
.ecw-job[b-sazhyem376] { align-items: center; }
.ecw-job-main[b-sazhyem376] { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ecw-job-main small[b-sazhyem376] { font-size: 12px; color: var(--stone); }

/* Measures step */
.ecw-measures[b-sazhyem376] { display: flex; flex-direction: column; gap: 16px; }

.ecw-toolbar[b-sazhyem376] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ecw-count[b-sazhyem376] { font-size: 12.5px; font-weight: 600; color: var(--walnut); }

.ecw-group-h[b-sazhyem376] {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ecw-group-no[b-sazhyem376], .ecw-card-no[b-sazhyem376] {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--cx-radius-surface);
    background: var(--sand);
    color: var(--walnut);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
}

.ecw-cards[b-sazhyem376] { display: flex; flex-direction: column; gap: 6px; }

.ecw-card[b-sazhyem376] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--hairline);
    border-radius: var(--cx-radius-surface);
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.15s, background 0.15s;
}

.ecw-card:hover[b-sazhyem376] { background: var(--paper-2); }
.ecw-card.on[b-sazhyem376] { border-color: var(--copper); background: var(--copper-50); }

.ecw-card-check[b-sazhyem376] {
    width: 22px;
    height: 22px;
    border-radius: var(--cx-radius-control);
    border: 1.5px solid var(--hairline-strong, rgba(28, 25, 21, 0.25));
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fff;
    color: #fff;
    font-size: 13px;
    margin-top: 1px;
}

.ecw-card.on .ecw-card-check[b-sazhyem376] { background: var(--copper); border-color: var(--copper); }

.ecw-card-body[b-sazhyem376] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ecw-card-t[b-sazhyem376] { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: flex; gap: 8px; align-items: flex-start; }
.ecw-card-t .ecw-card-no[b-sazhyem376] { margin-top: 1px; }
.ecw-card-hint[b-sazhyem376] { font-size: 11.5px; color: var(--stone); }

/* Values step */
.ecw-inputs[b-sazhyem376] {
    margin: 12px 0 0 46px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ecw-input[b-sazhyem376] { display: flex; flex-direction: column; }

.ecw-num[b-sazhyem376] { display: flex; align-items: center; gap: 8px; max-width: 280px; }
.ecw-num .form-control[b-sazhyem376] { font-variant-numeric: tabular-nums; }
.ecw-num .form-control.num[b-sazhyem376] { text-align: right; }
.ecw-unit[b-sazhyem376] { font-size: 12.5px; color: var(--stone); white-space: nowrap; }

.ecw-issue[b-sazhyem376] {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    font-size: 12.5px;
    line-height: 1.45;
    margin-top: 6px;
}

.ecw-issue .bi[b-sazhyem376] { flex-shrink: 0; margin-top: 1px; }
.ecw-issue.block[b-sazhyem376] { color: var(--cx-danger); font-weight: 600; }
.ecw-issue.warn[b-sazhyem376] { color: var(--cx-warning); }
.ecw-issue.ok[b-sazhyem376] { color: var(--cx-success); font-weight: 600; }

.ecw-issues[b-sazhyem376] { display: flex; flex-direction: column; gap: 2px; }

.ecw-empty[b-sazhyem376] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--cx-radius-surface);
    background: var(--paper-2);
    font-size: 13px;
    color: var(--walnut);
}

.ecw-empty .bi[b-sazhyem376] { font-size: 1.4rem; color: var(--stone); }
.ecw-empty b[b-sazhyem376] { color: var(--ink); }

/* Periods & costs */
.ecw-table[b-sazhyem376] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
}

.ecw-table th[b-sazhyem376] {
    text-align: left;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--stone);
    padding: 0 6px 6px 0;
}

.ecw-table td[b-sazhyem376] { padding: 3px 6px 3px 0; vertical-align: middle; }
.ecw-table th.num[b-sazhyem376], .ecw-table td.num[b-sazhyem376] { text-align: right; }
.ecw-table td.muted[b-sazhyem376] { color: var(--stone); font-size: 12.5px; white-space: nowrap; }
.ecw-table td:last-child[b-sazhyem376] { width: 32px; padding-right: 0; }
.ecw-table .form-control[b-sazhyem376], .ecw-table .form-select[b-sazhyem376] { min-width: 0; }

.ecw-x[b-sazhyem376] {
    width: 28px;
    height: 28px;
    border-radius: var(--cx-radius-control);
    border: none;
    background: transparent;
    color: var(--stone);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.ecw-x:hover[b-sazhyem376] { background: var(--sand); color: var(--cx-danger); }

.ecw-row-actions[b-sazhyem376] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.ecw-jobpick[b-sazhyem376] { max-width: 320px; }

.ecw-collapse[b-sazhyem376] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.ecw-block.collapsible[b-sazhyem376] { padding: 12px 16px; }

.ecw-extra[b-sazhyem376] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-top: 12px;
}

/* Review */
.ecw-review-bar[b-sazhyem376] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ecw-review-bar .ecw-label[b-sazhyem376] { margin: 0; }
.ecw-date[b-sazhyem376] { width: 170px; }

.ecw-fixlist[b-sazhyem376] {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ecw-fixlist li[b-sazhyem376] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.ecw-preview[b-sazhyem376] {
    border: 1px solid var(--hairline);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    background: var(--sand);
    min-height: 420px;
    display: flex;
}

.ecw-frame[b-sazhyem376] { width: 100%; min-height: 520px; border: 0; background: #fff; }

/* Issued state: status line, send bar, then the final PDF exactly as the customer gets it */
.ecw-done[b-sazhyem376] { align-items: stretch; }

.ecw-done-head[b-sazhyem376] { display: flex; align-items: center; gap: 14px; }
.ecw-done-text[b-sazhyem376] { min-width: 0; }

.ecw-done-ico[b-sazhyem376] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--cx-radius-control);
    background: color-mix(in srgb, var(--cx-success) 14%, white);
    color: var(--cx-success);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}

.ecw-done-t[b-sazhyem376] { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ecw-done-s[b-sazhyem376] { font-size: 13px; color: var(--walnut); margin-top: 2px; }

.ecw-sendbar[b-sazhyem376] { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ecw-sendbar-input[b-sazhyem376] { flex: 1; min-width: 220px; }
.ecw-sendbar-download[b-sazhyem376] { margin-left: auto; }
.ecw-sendbar-hint[b-sazhyem376] { font-size: 12.5px; color: var(--stone); }

/* Errors (save path) — .cxe-errors twin */
.ecw-errors[b-sazhyem376] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--cx-danger-soft, rgba(154, 59, 51, 0.08));
    border: 1px solid var(--cx-danger);
    border-radius: var(--cx-radius-surface);
    padding: 11px 13px;
    font-size: 12.5px;
    color: var(--cx-danger);
    line-height: 1.5;
    margin-top: 1rem;
}

.ecw-errors b[b-sazhyem376] { color: var(--ink); display: block; margin-bottom: 2px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ecw-f[b-sazhyem376] {
    padding: 14px 24px;
    border-top: 1px solid var(--hairline-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cx-card-bg);
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
    flex-shrink: 0;
}

.ecw-f-left[b-sazhyem376] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ecw-saved[b-sazhyem376] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--stone);
    white-space: nowrap;
}

.ecw-saved .bi[b-sazhyem376] { color: var(--cx-success); }

.ecw-f-actions[b-sazhyem376] { display: flex; align-items: center; gap: 10px; }

.ecw-btn[b-sazhyem376] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 18px;
    border-radius: var(--cx-radius-control);
    font-size: 13.5px;
    font-weight: 600;
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.ecw-btn.sm[b-sazhyem376] { height: 32px; padding: 0 14px; font-size: 12.5px; }
.ecw-btn.ghost:hover[b-sazhyem376] { background: var(--sand); }
.ecw-btn.outline[b-sazhyem376] { border-color: var(--hairline-strong, rgba(28, 25, 21, 0.2)); background: #fff; }
.ecw-btn.outline:hover[b-sazhyem376] { background: var(--sand); }

.ecw-btn.primary[b-sazhyem376] {
    background: var(--copper);
    color: #fff;
    box-shadow: 0 8px 20px rgba(184, 96, 31, 0.28), 0 2px 6px rgba(184, 96, 31, 0.16);
}

.ecw-btn.primary:hover[b-sazhyem376] { background: var(--copper-dark); }
.ecw-btn:disabled[b-sazhyem376] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.ecw-btn:active:not(:disabled)[b-sazhyem376] { transform: translateY(1px); }

@media (max-width: 640px) {
    .ecw-modal[b-sazhyem376] { width: 96vw; height: 96vh; }
    .ecw-trades[b-sazhyem376], .ecw-extra[b-sazhyem376] { grid-template-columns: 1fr; }
    .ecw-read[b-sazhyem376], .ecw-edit[b-sazhyem376], .ecw-chips[b-sazhyem376], .ecw-inputs[b-sazhyem376], .ecw-jobs[b-sazhyem376] { margin-left: 0; }
    .ecw-sendbar-download[b-sazhyem376] { margin-left: 0; }
    .ecw-f[b-sazhyem376] { flex-wrap: wrap; }
    .ecw-f-left[b-sazhyem376] { flex-basis: 100%; }
}
/* _content/CraftX.Web/Components/Shared/Documents/LetterEditorDialog.razor.rz.scp.css */
.cx-letter[b-gia9kwws1q] {
    font-size: 0.9rem;
}

.cx-letter__label[b-gia9kwws1q] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cx-text-secondary, #6b7280);
    margin-bottom: 2px;
}

.cx-letter__recipient[b-gia9kwws1q] {
    background: var(--cx-surface-muted, #f8fafc);
    border: 1px solid #e5e7eb;
    border-radius: var(--cx-radius-surface);
    padding: 10px 14px;
}

.cx-letter__recipient-name[b-gia9kwws1q] {
    font-weight: 600;
    color: #111827;
}

/* Locked recipient summary — shown when the dialog is opened from a customer/employee page. */
.cx-letter__recipient-fixed[b-gia9kwws1q] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cx-letter__recipient-fixed i[b-gia9kwws1q] {
    color: var(--cx-text-secondary, #6b7280);
    font-size: 1.05rem;
}

.cx-letter__recipient-fixed .badge[b-gia9kwws1q] {
    font-weight: 500;
}

.cx-letter__check[b-gia9kwws1q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--cx-text-secondary, #6b7280);
    cursor: pointer;
}

.cx-letter__grid[b-gia9kwws1q] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cx-letter__field[b-gia9kwws1q] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cx-letter__field--full[b-gia9kwws1q] {
    grid-column: 1 / -1;
}

.cx-letter__field label[b-gia9kwws1q] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cx-label-color);
}

.cx-letter__label-row[b-gia9kwws1q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cx-letter__snippet-btn[b-gia9kwws1q] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cx-primary, #b87333);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cx-letter__snippet-btn:hover[b-gia9kwws1q] {
    text-decoration: underline;
}

.cx-letter__snippet-btn:disabled[b-gia9kwws1q] {
    color: var(--cx-text-secondary, #9ca3af);
    cursor: default;
    text-decoration: none;
}

.cx-letter__footer[b-gia9kwws1q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.cx-letter__send[b-gia9kwws1q] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 320px;
}

.cx-letter__send .form-control[b-gia9kwws1q] {
    max-width: 320px;
}

.cx-letter__actions[b-gia9kwws1q] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Recipient-type selector (Kunde / Mitarbeiter / Freier Empfänger). */
.cx-letter__segmented[b-gia9kwws1q] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cx-seg[b-gia9kwws1q] {
    flex: 1 1 auto;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: var(--cx-radius-control);
    font-size: 0.85rem;
    color: var(--cx-text-secondary, #6b7280);
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.cx-seg:hover[b-gia9kwws1q] {
    border-color: var(--cx-primary, #b87333);
}

.cx-seg.on[b-gia9kwws1q] {
    background: var(--cx-primary, #b87333);
    border-color: var(--cx-primary, #b87333);
    color: #fff;
}
/* _content/CraftX.Web/Components/Shared/Documents/UndeliverableDocumentsBanner.razor.rz.scp.css */
/* Undeliverable-documents banner ------------------------------ */
/* The banner names the affected documents, because a bare count is unactionable when the flagged row
   is filtered out or far down the list. Each entry that belongs to a job jumps to that job's
   documents tab; documents without a job stay as plain, non-clickable chips. */
.undeliverable-alert[b-5e4azgdg77] {
    margin-bottom: 16px;
}

.undeliverable-alert-head[b-5e4azgdg77] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.undeliverable-alert-docs[b-5e4azgdg77] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0.5rem 0 0 1.5rem;
}

.undeliverable-doc[b-5e4azgdg77],
.undeliverable-more[b-5e4azgdg77] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(154, 59, 51, 0.32);
    border-radius: var(--cx-radius-control);
    background: rgba(154, 59, 51, 0.08);
    color: var(--cx-danger);
    font-size: 0.8125rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

button.undeliverable-doc:hover[b-5e4azgdg77],
.undeliverable-more:hover[b-5e4azgdg77] {
    background: rgba(154, 59, 51, 0.16);
    border-color: rgba(154, 59, 51, 0.5);
}

.undeliverable-doc-static[b-5e4azgdg77] {
    cursor: default;
}

.undeliverable-doc strong[b-5e4azgdg77] {
    font-weight: var(--fw-semibold);
}

.undeliverable-doc-label[b-5e4azgdg77] {
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.undeliverable-doc i[b-5e4azgdg77] {
    font-size: 1rem;
}

.undeliverable-more[b-5e4azgdg77] {
    font-weight: var(--fw-medium);
}
/* _content/CraftX.Web/Components/Shared/DocumentSkontoField.razor.rz.scp.css */
.document-skonto-line[b-tfnsr4f7pd] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
}

.document-skonto-label[b-tfnsr4f7pd] {
    font-weight: 600;
}

.document-skonto-link[b-tfnsr4f7pd] {
    background: none;
    border: 0;
    padding: 0;
    color: var(--bs-link-color, #2563eb);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.document-skonto-link:disabled[b-tfnsr4f7pd] {
    color: inherit;
    opacity: 0.5;
    cursor: default;
}

.document-skonto-none[b-tfnsr4f7pd] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.document-skonto-own[b-tfnsr4f7pd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-top: 0.5rem;
}

/* Label above its field for both parts, whatever label class the host dialog passes. */
.document-skonto-own > div[b-tfnsr4f7pd] {
    flex: 1 1 9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.document-skonto-hint[b-tfnsr4f7pd] {
    display: block;
    margin-top: 0.25rem;
    opacity: 0.75;
}

.document-skonto-problem[b-tfnsr4f7pd] {
    margin-top: 0.4rem;
    color: #b91c1c;
    font-size: 0.875rem;
}
/* _content/CraftX.Web/Components/Shared/EmailSuggestionInput.razor.rz.scp.css */
/* The wrapper takes the field's place in its form row; the field stretches to the wrapper's width. */
.cx-email-suggest[b-sawcd1w1ts] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.cx-email-suggest__list[b-sawcd1w1ts] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--hairline-strong, rgba(28, 25, 21, 0.14));
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 6px 18px rgba(28, 25, 21, 0.12);
    max-height: 240px;
    overflow-y: auto;
}

.cx-email-suggest__item[b-sawcd1w1ts] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 10px;
    cursor: pointer;
}

.cx-email-suggest__item:hover[b-sawcd1w1ts],
.cx-email-suggest__item.is-highlighted[b-sawcd1w1ts] {
    background: var(--paper-2, #F5F1E8);
}

.cx-email-suggest__email[b-sawcd1w1ts],
.cx-email-suggest__label[b-sawcd1w1ts] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cx-email-suggest__email[b-sawcd1w1ts] {
    font-size: 13px;
    color: var(--ink, #1C1915);
}

.cx-email-suggest__label[b-sawcd1w1ts] {
    font-size: 11.5px;
    color: var(--cx-text-muted, #8E8679);
}
/* _content/CraftX.Web/Components/Shared/FloatingChat/FloatingChatWidget.razor.rz.scp.css */
/* Floating Chat Widget */
.floating-chat-widget[b-tpkgmmoxz0] {
    position: fixed;
    z-index: 1200;
}

.floating-chat-widget.collapsed[b-tpkgmmoxz0] {
    bottom: 24px;
    right: 24px;
}

.floating-chat-widget.expanded[b-tpkgmmoxz0] {
    bottom: 16px;
    right: 16px;
}

/* Chat Bubble */
.chat-bubble[b-tpkgmmoxz0] {
    width: 56px;
    height: 56px;
    border-radius: var(--cx-radius-control);
    background: linear-gradient(135deg, var(--cx-primary) 0%, var(--ai) 100%);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.chat-bubble:hover[b-tpkgmmoxz0] {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.chat-bubble:active[b-tpkgmmoxz0] {
    transform: scale(0.98);
}

.chat-bubble .unread-badge[b-tpkgmmoxz0] {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--cx-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}

/* Chat Panel */
.chat-panel[b-tpkgmmoxz0] {
    width: 420px;
    height: 560px;
    background-color: var(--cx-card-bg, white);
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat Header */
.chat-header[b-tpkgmmoxz0] {
    padding: 12px 16px;
    background-color: var(--cx-primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3[b-tpkgmmoxz0] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.header-actions[b-tpkgmmoxz0] {
    display: flex;
    gap: 4px;
}

.header-btn[b-tpkgmmoxz0] {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.header-btn:hover[b-tpkgmmoxz0] {
    background: rgba(255, 255, 255, 0.2);
}

/* Chat Body */
.chat-body[b-tpkgmmoxz0] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Chat Sidebar */
.chat-sidebar[b-tpkgmmoxz0] {
    width: 160px;
    border-right: 1px solid var(--cx-border-color, var(--cx-border));
    display: flex;
    flex-direction: column;
    background-color: var(--cx-sidebar-light, var(--paper-2));
}

.sidebar-header[b-tpkgmmoxz0] {
    padding: 8px;
    border-bottom: 1px solid var(--cx-border-color, var(--cx-border));
}

.search-box[b-tpkgmmoxz0] {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid var(--cx-border-color, var(--cx-border));
    border-radius: var(--cx-radius-control);
    padding: 4px 8px;
}

.search-box i[b-tpkgmmoxz0] {
    color: var(--cx-text-muted, var(--cx-text-muted));
    font-size: 0.75rem;
}

.search-box input[b-tpkgmmoxz0] {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.75rem;
    margin-left: 6px;
    background: transparent;
}

.thread-list[b-tpkgmmoxz0] {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
}

.thread-item[b-tpkgmmoxz0] {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: var(--cx-radius-surface);
    cursor: pointer;
    transition: background-color 0.15s;
    margin-bottom: 2px;
}

.thread-item:hover[b-tpkgmmoxz0] {
    background-color: var(--cx-hover-bg, var(--paper-2));
}

.thread-item.selected[b-tpkgmmoxz0] {
    background-color: var(--cx-primary-light, rgba(31,74,130,0.06));
}

.thread-item.unread[b-tpkgmmoxz0] {
    background-color: rgba(169,117,20,0.15);
}

.thread-item.unread:hover[b-tpkgmmoxz0] {
    background-color: rgba(169,117,20,0.20);
}

.thread-avatar[b-tpkgmmoxz0] {
    position: relative;
    margin-right: 8px;
    flex-shrink: 0;
}

.avatar-initials[b-tpkgmmoxz0],
.avatar-ai[b-tpkgmmoxz0],
.avatar-icon[b-tpkgmmoxz0] {
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
}

.avatar-initials[b-tpkgmmoxz0] {
    color: white;
}

.avatar-ai[b-tpkgmmoxz0] {
    color: white;
}

.avatar-ai i[b-tpkgmmoxz0] {
    font-size: 1rem;
}

.avatar-icon.job[b-tpkgmmoxz0] {
    background-color: rgba(31,74,130,0.12);
    color: var(--cx-primary);
}

.avatar-icon.channel[b-tpkgmmoxz0] {
    background-color: var(--ai-50);
    color: var(--ai);
}

.status-dot[b-tpkgmmoxz0] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: var(--cx-radius-round);
    border: 1.5px solid white;
}

.status-dot.online[b-tpkgmmoxz0] {
    background-color: var(--cx-success);
}

.status-dot.away[b-tpkgmmoxz0] {
    background-color: var(--cx-warning);
}

.status-dot.dnd[b-tpkgmmoxz0] {
    background-color: var(--cx-danger);
}

.status-dot.offline[b-tpkgmmoxz0] {
    background-color: var(--cx-text-muted);
}

.thread-info[b-tpkgmmoxz0] {
    flex: 1;
    min-width: 0;
}

.thread-name[b-tpkgmmoxz0] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cx-text-primary, var(--cx-text-primary));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-name .job-number[b-tpkgmmoxz0] {
    color: var(--cx-primary);
    font-weight: 600;
}

.thread-preview[b-tpkgmmoxz0] {
    font-size: 0.65rem;
    color: var(--cx-text-muted, var(--cx-text-muted));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-unread[b-tpkgmmoxz0] {
    background-color: var(--cx-primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: var(--cx-radius-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: 4px;
}

.loading-threads[b-tpkgmmoxz0],
.no-threads[b-tpkgmmoxz0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 8px;
    color: var(--cx-text-muted, var(--cx-text-muted));
}

.loading-threads i[b-tpkgmmoxz0],
.no-threads i[b-tpkgmmoxz0] {
    font-size: 1.5rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

.loading-threads span[b-tpkgmmoxz0],
.no-threads span[b-tpkgmmoxz0] {
    font-size: 0.75rem;
}

.sidebar-footer[b-tpkgmmoxz0] {
    padding: 8px;
    border-top: 1px solid var(--cx-border-color, var(--cx-border));
}

.new-chat-btn[b-tpkgmmoxz0] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background-color: var(--cx-primary);
    color: white;
    border: none;
    border-radius: var(--cx-radius-control);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.new-chat-btn:hover[b-tpkgmmoxz0] {
    background-color: var(--cx-primary-hover, var(--cx-info));
}

/* Chat Conversation */
.chat-conversation[b-tpkgmmoxz0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.no-selection[b-tpkgmmoxz0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--cx-text-muted, var(--cx-text-muted));
    padding: 24px;
}

.no-selection i[b-tpkgmmoxz0] {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.3;
}

.no-selection p[b-tpkgmmoxz0] {
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.start-ai-chat[b-tpkgmmoxz0] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--ai) 0%, var(--ai) 100%);
    color: white;
    border: none;
    border-radius: var(--cx-radius-surface);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.start-ai-chat:hover[b-tpkgmmoxz0] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.start-ai-chat i[b-tpkgmmoxz0] {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .chat-panel[b-tpkgmmoxz0] {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        max-height: 600px;
    }

    .chat-sidebar[b-tpkgmmoxz0] {
        width: 64px;
    }

    .thread-info[b-tpkgmmoxz0] {
        display: none;
    }

    .sidebar-header[b-tpkgmmoxz0] {
        display: none;
    }

    .new-chat-btn span[b-tpkgmmoxz0] {
        display: none;
    }
}
/* _content/CraftX.Web/Components/Shared/FloatingChat/WhatsAppConversation.razor.rz.scp.css */
/* Deliberate "Verbindung zurücksetzen" hard-reset affordance shown in the disconnected/connect
   empty state. Kept visually subordinate to the primary connect button — it is a rare, destructive
   action gated behind a two-step inline confirm. */

.whatsapp-reset-link[b-jradgxa4jl] {
    margin-top: 0.75rem;
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.whatsapp-reset-link:hover:not(:disabled)[b-jradgxa4jl] {
    color: var(--bs-body-color, #212529);
}

.whatsapp-reset-link:disabled[b-jradgxa4jl] {
    opacity: 0.5;
    cursor: default;
}

.whatsapp-reset-confirm[b-jradgxa4jl] {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    max-width: 18rem;
}

.whatsapp-reset-actions[b-jradgxa4jl] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wa-text-btn[b-jradgxa4jl] {
    background: none;
    border: none;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--bs-secondary-color, #6c757d);
    cursor: pointer;
}

.wa-text-btn:hover:not(:disabled)[b-jradgxa4jl] {
    color: var(--bs-body-color, #212529);
}

.wa-text-btn:disabled[b-jradgxa4jl] {
    opacity: 0.5;
    cursor: default;
}

/* "Abbrechen" affordance shown in the sticky pairing view so a user is never trapped on a QR/
   "wird verbunden…" spinner if the pairing stalls (e.g. OpenWA goes away mid-attempt). */
.whatsapp-pairing-cancel[b-jradgxa4jl] {
    margin-top: 1rem;
}
/* _content/CraftX.Web/Components/Shared/IbanBankHint.razor.rz.scp.css */
.iban-bank-hint[b-88n6sqsv0p] { font-size: 12.5px; color: var(--stone, #7a6f64); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.iban-bank-hint i[b-88n6sqsv0p] { color: var(--cx-success); }
/* _content/CraftX.Web/Components/Shared/Inbox/InboxConversationView.razor.rz.scp.css */
.inbox-conversation[b-svh7lsfd2t] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: var(--cx-card-bg);
}

.inbox-messages-area[b-svh7lsfd2t] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 18px;
    background:
        linear-gradient(180deg, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0) 130px),
        var(--cx-card-bg);
}

.inbox-conversation.is-embedded .inbox-messages-area[b-svh7lsfd2t] {
    padding: 24px 28px;
}

.inbox-empty-state[b-svh7lsfd2t] {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    color: var(--cx-text-secondary);
}

.inbox-empty-state > i[b-svh7lsfd2t] {
    font-size: 3.25rem;
    color: #16a34a;
    opacity: 0.42;
}

.inbox-empty-state p[b-svh7lsfd2t] {
    margin: 0;
    font-size: 1rem;
    color: var(--cx-text-primary);
    font-weight: 600;
}

/* ---- Messages ---- */
.inbox-message[b-svh7lsfd2t] {
    display: flex;
    margin-bottom: 8px;
}

.inbox-message-out[b-svh7lsfd2t] {
    justify-content: flex-end;
}

.inbox-message-in[b-svh7lsfd2t] {
    justify-content: flex-start;
}

.inbox-bubble[b-svh7lsfd2t] {
    max-width: min(76%, 560px);
    min-width: 92px;
    padding: 9px 11px 6px;
    border-radius: var(--cx-radius-surface);
    background: #fff;
    border: 1px solid var(--cx-card-border);
    color: var(--cx-text-primary);
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.inbox-message-out .inbox-bubble[b-svh7lsfd2t] {
    background: #dcfce7;
    border-color: #bbf7d0;
}

.inbox-message-text[b-svh7lsfd2t] {
    font-size: 0.95rem;
    line-height: 1.38;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.inbox-message-meta[b-svh7lsfd2t] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 4px;
    color: var(--cx-text-muted);
    font-size: 0.68rem;
    line-height: 1;
    white-space: nowrap;
}

.inbox-message-error[b-svh7lsfd2t] {
    margin-top: 6px;
    color: #b91c1c;
    font-size: 0.72rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* ---- Attachments ---- */
.inbox-attachment[b-svh7lsfd2t] {
    margin-top: 6px;
}

.inbox-image-preview-btn[b-svh7lsfd2t] {
    display: inline-block;
    max-width: 100%;
    padding: 0;
    margin: 0 0 8px;
    border: 0;
    border-radius: var(--cx-radius-control);
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.inbox-image-preview[b-svh7lsfd2t] {
    display: block;
    width: auto;
    max-width: min(100%, 320px);
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: var(--cx-radius-surface);
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
}

.inbox-caption[b-svh7lsfd2t] {
    margin: 0 0 8px;
    font-size: 0.9rem;
}

.inbox-attachment-file[b-svh7lsfd2t] {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    border-radius: var(--cx-radius-surface);
    background: rgba(15, 23, 42, 0.04);
}

.inbox-attachment-file-unavailable[b-svh7lsfd2t] {
    color: var(--cx-text-muted);
    background: rgba(15, 23, 42, 0.025);
}

.inbox-attachment-name[b-svh7lsfd2t] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 600;
}

.inbox-attachment-size[b-svh7lsfd2t] {
    color: var(--cx-text-muted);
    font-size: 0.72rem;
    white-space: nowrap;
}

.inbox-attachment-download[b-svh7lsfd2t] {
    margin-left: auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-surface);
    background: transparent;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.inbox-attachment-download:hover[b-svh7lsfd2t] {
    background: rgba(15, 23, 42, 0.08);
    color: var(--cx-text-primary);
}

/* ---- Voice player (class names shared with whatsapp-voice.js) ---- */
.wa-voice[b-svh7lsfd2t] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 260px);
    padding: 8px 12px 8px 8px;
    border-radius: var(--cx-radius-surface);
    background: rgba(15, 23, 42, 0.04);
}

.inbox-message-out .wa-voice[b-svh7lsfd2t] {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.5);
}

.wa-voice-play[b-svh7lsfd2t] {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: #25d366;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.wa-voice-play:hover[b-svh7lsfd2t] {
    background: #1ebe5a;
}

.wa-voice-play:active[b-svh7lsfd2t] {
    transform: scale(0.94);
}

.wa-voice-play .bi-play-fill[b-svh7lsfd2t] {
    margin-left: 2px;
}

.wa-voice-body[b-svh7lsfd2t] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wa-voice-top[b-svh7lsfd2t] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wa-voice-mic[b-svh7lsfd2t] {
    color: #25d366;
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.wa-voice-title[b-svh7lsfd2t] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cx-text-primary);
}

.wa-voice-track[b-svh7lsfd2t] {
    position: relative;
    height: 4px;
    border-radius: var(--cx-radius-control);
    background: rgba(15, 23, 42, 0.15);
    cursor: pointer;
}

.wa-voice-progress[b-svh7lsfd2t] {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: var(--cx-radius-control);
    background: #25d366;
}

.wa-voice-progress[b-svh7lsfd2t]::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: var(--cx-radius-round);
    background: #25d366;
    transform: translateY(-50%);
}

.wa-voice-time[b-svh7lsfd2t] {
    flex: 0 0 auto;
    min-width: 30px;
    text-align: right;
    font-size: 0.72rem;
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.wa-voice-audio[b-svh7lsfd2t] {
    display: none;
}

/* ---- Composer ---- */
.inbox-input-area[b-svh7lsfd2t] {
    padding: 12px;
    border-top: 1px solid var(--cx-card-border);
    background: var(--cx-card-bg);
}

.inbox-conversation.is-embedded .inbox-input-area[b-svh7lsfd2t] {
    padding: 14px 28px 18px;
}

.inbox-input-error[b-svh7lsfd2t] {
    color: #b91c1c;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.inbox-input-wrapper[b-svh7lsfd2t] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.inbox-message-input[b-svh7lsfd2t] {
    flex: 1;
    min-height: 42px;
    max-height: 140px;
    resize: none;
    border: var(--cx-field-border);
    border-radius: var(--cx-radius-surface);
    padding: 10px 12px;
    background: #fff;
    color: var(--cx-text-primary);
    font-size: 0.95rem;
    outline: none;
}

.inbox-message-input:focus[b-svh7lsfd2t] {
    border-color: var(--cx-focus-border-color);
    box-shadow: var(--cx-focus-ring);
}

.inbox-send-btn[b-svh7lsfd2t] {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: #16a34a;
    color: #fff;
    cursor: pointer;
}

.inbox-send-btn:disabled[b-svh7lsfd2t] {
    cursor: not-allowed;
    opacity: 0.55;
}

.inbox-attach-btn[b-svh7lsfd2t] {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-secondary);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.inbox-attach-btn:hover:not(:disabled)[b-svh7lsfd2t] {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
}

.inbox-attach-btn.has-file[b-svh7lsfd2t] {
    color: #16a34a;
}

.inbox-attach-btn.disabled[b-svh7lsfd2t] {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.inbox-hidden-file[b-svh7lsfd2t] {
    display: none;
}

.inbox-pending-attachment[b-svh7lsfd2t] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    background: rgba(22, 163, 74, 0.06);
}

.inbox-pending-attachment > .bi:first-child[b-svh7lsfd2t] {
    color: #16a34a;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.inbox-pending-name[b-svh7lsfd2t] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cx-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-pending-size[b-svh7lsfd2t] {
    flex: 0 0 auto;
    font-size: 0.74rem;
    color: var(--cx-text-secondary);
}

.inbox-pending-remove[b-svh7lsfd2t] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-secondary);
    cursor: pointer;
}

.inbox-pending-remove:hover:not(:disabled)[b-svh7lsfd2t] {
    background: rgba(15, 23, 42, 0.08);
    color: var(--cx-text-primary);
}

@media (max-width: 640px) {
    .inbox-bubble[b-svh7lsfd2t] {
        max-width: 84%;
    }
}
/* _content/CraftX.Web/Components/Shared/Inbox/InboxEmailView.razor.rz.scp.css */
.inbox-email[b-plm7n43kis] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.inbox-email-list[b-plm7n43kis] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inbox-email-item[b-plm7n43kis] {
    border: 1px solid #e6e2dc;
    border-radius: var(--cx-radius-surface);
    background: #fff;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.inbox-email-item.is-out[b-plm7n43kis] {
    border-color: #e2d6c6;
    background: #fbf7f1;
}

.inbox-email-item-head[b-plm7n43kis] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.inbox-email-from[b-plm7n43kis] {
    font-weight: 600;
    color: #3a3632;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    word-break: break-word;
}

.inbox-email-from i[b-plm7n43kis] {
    color: #b8601f;
}

.inbox-email-meta[b-plm7n43kis] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #8a8279;
    white-space: nowrap;
}

.inbox-email-autoreply[b-plm7n43kis] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--cx-radius-control);
    background: #eef1f5;
    color: #5a6472;
    font-size: 0.72rem;
    font-weight: 600;
}

.inbox-email-subject[b-plm7n43kis] {
    margin-top: 8px;
    font-weight: 600;
    color: #2c2925;
}

.inbox-email-body[b-plm7n43kis] {
    margin: 8px 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #423d38;
    background: none;
    border: none;
    padding: 0;
}

.inbox-email-empty[b-plm7n43kis] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    color: #9a9187;
    padding: 32px;
}

.inbox-email-empty i[b-plm7n43kis] {
    font-size: 2rem;
    opacity: 0.5;
}

.inbox-email-empty p[b-plm7n43kis] {
    margin: 0;
    font-weight: 600;
    color: #6f675e;
}

.inbox-email-empty span[b-plm7n43kis] {
    font-size: 0.85rem;
}

.inbox-email-footer[b-plm7n43kis] {
    flex: 0 0 auto;
    border-top: 1px solid #eae6e0;
    padding: 12px 18px;
    background: #faf8f5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inbox-email-hint[b-plm7n43kis] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #6f675e;
}

.inbox-email-hint i[b-plm7n43kis] {
    color: #b8601f;
}

.inbox-email-address[b-plm7n43kis] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inbox-email-address-link[b-plm7n43kis] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3a3632;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.inbox-email-address-link:hover[b-plm7n43kis] {
    text-decoration: underline;
}

.inbox-email-copy[b-plm7n43kis] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ddd6cd;
    background: #fff;
    color: #6f675e;
    border-radius: var(--cx-radius-surface);
    padding: 4px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

.inbox-email-copy:hover[b-plm7n43kis] {
    background: #f2ede6;
}

/* _content/CraftX.Web/Components/Shared/Inbox/InboxImportChatsDialog.razor.rz.scp.css */
.import-overlay[b-b11ii3fr2e] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4);
    padding: 20px;
}

.import-card[b-b11ii3fr2e] {
    width: min(560px, 96vw);
    max-height: min(80vh, 720px);
    display: flex;
    flex-direction: column;
    border-radius: var(--cx-radius-surface);
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.import-head[b-b11ii3fr2e] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--cx-card-border);
}

.import-head h3[b-b11ii3fr2e] {
    margin: 0;
    font-size: 1.08rem;
    color: var(--cx-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-head h3 .bi-whatsapp[b-b11ii3fr2e] {
    color: #16a34a;
}

.import-head p[b-b11ii3fr2e] {
    margin: 6px 0 0;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--cx-text-secondary);
}

.import-close[b-b11ii3fr2e] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--cx-text-muted);
    cursor: pointer;
}

.import-close:hover[b-b11ii3fr2e] {
    background: rgba(15, 23, 42, 0.06);
    color: var(--cx-text-primary);
}

.import-body[b-b11ii3fr2e] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 12px 14px;
}

.import-state[b-b11ii3fr2e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 44px 24px;
    text-align: center;
    color: var(--cx-text-secondary);
}

.import-state > i[b-b11ii3fr2e] {
    font-size: 2.2rem;
    color: #16a34a;
    opacity: 0.42;
}

.import-state small[b-b11ii3fr2e] {
    font-size: 0.78rem;
    color: var(--cx-text-muted);
}

.import-list[b-b11ii3fr2e] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.import-row[b-b11ii3fr2e] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 8px;
    border-bottom: 1px solid var(--cx-card-border);
}

.import-row-main[b-b11ii3fr2e] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.import-row-name[b-b11ii3fr2e] {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cx-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.import-row-sub[b-b11ii3fr2e] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--cx-text-muted);
}

.import-row-tag[b-b11ii3fr2e] {
    padding: 1px 7px;
    border-radius: var(--cx-radius-control);
    background: #f0fdf4;
    color: #15803d;
    font-weight: 600;
}

.import-row-action[b-b11ii3fr2e] {
    flex: 0 0 auto;
}

.import-btn[b-b11ii3fr2e] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 13px;
    border: 1px solid #16a34a;
    border-radius: var(--cx-radius-control);
    background: #16a34a;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.import-btn:hover:not(:disabled)[b-b11ii3fr2e] {
    background: #15803d;
}

.import-btn:disabled[b-b11ii3fr2e] {
    opacity: 0.55;
    cursor: not-allowed;
}

.import-btn.is-retry[b-b11ii3fr2e] {
    border-color: #b45309;
    background: #fff;
    color: #b45309;
}

.import-done[b-b11ii3fr2e] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #15803d;
}

.import-loading[b-b11ii3fr2e] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--cx-text-secondary);
}

.import-spinner[b-b11ii3fr2e] {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(22, 163, 74, 0.3);
    border-top-color: #16a34a;
    border-radius: var(--cx-radius-round);
    animation: import-spin-b-b11ii3fr2e 0.7s linear infinite;
}

@keyframes import-spin-b-b11ii3fr2e {
    to { transform: rotate(360deg); }
}

.import-row-error[b-b11ii3fr2e] {
    flex-basis: 100%;
    font-size: 0.76rem;
    color: #b91c1c;
}
/* _content/CraftX.Web/Components/Shared/Jobs/JobPositionsEditor.razor.rz.scp.css */
@media (hover: hover) and (pointer: fine) {
    .cx-po-row .secondary-actions[b-besfm59i1f] {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out;
    }

    .cx-po-row:hover .secondary-actions[b-besfm59i1f],
    .cx-po-row.expanded .secondary-actions[b-besfm59i1f] {
        opacity: 1;
        pointer-events: auto;
    }
}
/* _content/CraftX.Web/Components/Shared/Jobs/JobPositionsEditorV2.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════════
   JobPositionsEditorV2 — Side-by-side split pane layout
   Left: scrollable position list  |  Right: sticky detail panel
   ══════════════════════════════════════════════════════════════ */

/* ── Root ── */
.cx-v2-root[b-siokms7a3g] {
    position: relative;
    height: 100%;
}

/* ── Split Pane ── */
.cx-v2-split[b-siokms7a3g] {
    display: flex;
    height: 100%;
    overflow: hidden;
}

/* Prevent text selection while the divider is being dragged */
.cx-v2-split.is-resizing[b-siokms7a3g] {
    user-select: none;
}

/* ── Master (left pane) ── */
.cx-v2-master[b-siokms7a3g] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Draggable divider ── */
.cx-v2-divider[b-siokms7a3g] {
    flex: 0 0 16px;
    cursor: col-resize;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hairline-soft, rgba(28,25,21,0.05));
    border-left: 1px solid var(--hairline, rgba(28,25,21,0.08));
    border-right: 1px solid var(--hairline, rgba(28,25,21,0.08));
    transition: background 0.15s;
}

.cx-v2-divider:hover[b-siokms7a3g],
.cx-v2-split.is-resizing .cx-v2-divider[b-siokms7a3g] {
    background: var(--copper-50, #FBEFE5);
    border-color: var(--copper, #B8601F);
}

/* Grip icon */
.cx-v2-divider-grip[b-siokms7a3g] {
    font-size: 14px;
    color: var(--stone, #8E8679);
    transition: color 0.15s;
    pointer-events: none;
}

.cx-v2-divider:hover .cx-v2-divider-grip[b-siokms7a3g],
.cx-v2-split.is-resizing .cx-v2-divider-grip[b-siokms7a3g] {
    color: var(--copper, #B8601F);
}

/* ── Detail (right pane) ── */
.cx-v2-detail[b-siokms7a3g] {
    flex: 0 0 480px;
    width: 480px;      /* default; overridden by JS from localStorage */
    overflow-y: auto;
    min-height: 0;
    padding: .5rem .75rem .5rem .75rem;
    box-sizing: border-box;
    border-left: none; /* visual separator is now the divider */
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.cx-v2-detail > *[b-siokms7a3g] {
    flex-shrink: 0;
}

/* ── Toolbar (moved from header) ── */
.cx-v2-toolbar[b-siokms7a3g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-bottom: .375rem;
    border-bottom: 1px solid var(--cx-hairline-soft);
    flex-shrink: 0;
}

.cx-v2-readonly-hint[b-siokms7a3g] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--cx-text-muted);
}

/* ── Netto / Brutto mode toggle (segmented control) ── */
.cx-v2-mode-toggle[b-siokms7a3g] {
    display: inline-flex;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    overflow: hidden;
    background: white;
    height: 28px;
}

.cx-v2-mode-btn[b-siokms7a3g] {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0 12px;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-secondary);
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
    line-height: 1;
}

.cx-v2-mode-btn + .cx-v2-mode-btn[b-siokms7a3g] {
    border-left: 1px solid var(--cx-hairline);
}

.cx-v2-mode-btn:hover[b-siokms7a3g] {
    background: var(--paper-2);
}

.cx-v2-mode-btn.is-active[b-siokms7a3g] {
    background: var(--cx-primary);
    color: white;
}

.cx-v2-toolbar-left[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .375rem;
    flex-wrap: wrap;
}

.cx-v2-toolbar-save[b-siokms7a3g] {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── Detail bar (position context) ── */
.cx-v2-detail-bar[b-siokms7a3g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.cx-v2-detail-bar-left[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .375rem;
    min-width: 0;
    flex: 1;
    flex-wrap: wrap;
}

.cx-v2-detail-bar-right[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    font-size: .85rem;
    color: var(--cx-text-muted);
}

.cx-v2-detail-bar-qty[b-siokms7a3g] {
    font-family: var(--font-mono);
    font-size: 12px;
}

.cx-v2-detail-bar-amount[b-siokms7a3g] {
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    font-variant-numeric: tabular-nums;
}

.cx-v2-detail-bar-img-btn[b-siokms7a3g] {
    appearance: none;
    background: transparent;
    border: none;
    padding: 2px 4px;
    color: var(--cx-text-muted);
    cursor: pointer;
    border-radius: var(--cx-radius-control);
    transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.cx-v2-detail-bar-img-btn:hover[b-siokms7a3g] {
    color: var(--cx-primary);
    background: var(--paper-2);
}

/* Header row: image + title/description side by side */
.cx-v2-header-row[b-siokms7a3g] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.cx-v2-header-row.has-image[b-siokms7a3g] {
    flex-direction: row;
    align-items: stretch;
    gap: .75rem;
}

.cx-v2-header-fields[b-siokms7a3g] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

/* Image */
.cx-v2-img-surface[b-siokms7a3g] {
    width: 130px;
    min-height: 130px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    background: var(--paper-2);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s var(--ease);
}

.cx-v2-img-surface:hover[b-siokms7a3g] { border-color: var(--cx-primary); }

.cx-v2-img-surface img[b-siokms7a3g] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title input */
.cx-v2-title-input[b-siokms7a3g] {
    font-weight: 600;
    font-size: .9rem;
    width: 100%;
}

/* Editor wrap */
.cx-v2-editor-wrap[b-siokms7a3g] {
    min-height: 0;
}

/* TextBlock: lock the detail panel so only the RTE scrolls internally, not the whole pane */
.cx-v2-detail.cx-v2-detail--textblock[b-siokms7a3g] {
    overflow: hidden;
}

/* TextBlock: stretch the header row and editor to fill all available detail-pane height */
.cx-v2-header-row.cx-v2-textblock[b-siokms7a3g] {
    flex: 1;
    min-height: 0;
}

/* Propagate the height constraint through the field column so the editor-wrap can grow */
.cx-v2-header-row.cx-v2-textblock .cx-v2-header-fields[b-siokms7a3g] {
    min-height: 0;
}

.cx-v2-header-row.cx-v2-textblock .cx-v2-editor-wrap[b-siokms7a3g] {
    flex: 1;
    min-height: 0;
}

/* Ensure lists display properly inside the RTE content area */
.cx-v2-editor-wrap[b-siokms7a3g]  .e-rte-content .e-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 4px 0;
}
.cx-v2-editor-wrap[b-siokms7a3g]  .e-rte-content .e-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin: 4px 0;
}
.cx-v2-editor-wrap[b-siokms7a3g]  .e-rte-content .e-content li {
    display: list-item;
    margin: 2px 0;
}

/* Section head (used by calculation) */
.cx-v2-section-head[b-siokms7a3g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-top: .25rem;
    border-top: 1px solid var(--cx-hairline-soft);
}

/* Calculation section */
.cx-v2-calc-section[b-siokms7a3g] {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.cx-v2-calc-body[b-siokms7a3g] {
    min-height: 80px;
}

/* Empty state — detail panel */
.cx-v2-detail-empty[b-siokms7a3g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 2rem 1rem;
    color: var(--cx-text-muted);
    font-size: .875rem;
    text-align: center;
    flex: 1;
}

.cx-v2-detail-empty i[b-siokms7a3g] { font-size: 1.5rem; color: var(--copper); }

/* ── Position List Table — themed as cx-line-items shell with sticky header ── */
.cx-v2-table[b-siokms7a3g] {
    border: 1px solid var(--cx-card-border);
    border-radius: var(--cx-radius-surface);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    padding-bottom: 1rem;
    background: var(--cx-card-bg);
    flex: 1;
    min-height: 0;
}

.cx-v2-head[b-siokms7a3g],
.cx-v2-row[b-siokms7a3g] {
    display: grid;
    grid-template-columns: 28px 36px minmax(0, 2fr) 64px 80px 90px 80px 100px minmax(110px, auto);
    align-items: center;
    gap: .25rem;
}

.cx-v2-head[b-siokms7a3g] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--paper-2);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--cx-text-muted);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-bottom: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface) var(--cx-radius-surface) 0 0;
    white-space: nowrap;
}

.cx-v2-head .col-nr[b-siokms7a3g],
.cx-v2-head .col-text[b-siokms7a3g],
.cx-v2-head .col-qty[b-siokms7a3g],
.cx-v2-head .col-unit[b-siokms7a3g],
.cx-v2-head .col-price[b-siokms7a3g],
.cx-v2-head .col-surcharge[b-siokms7a3g] {
    border-right: 1px solid var(--cx-hairline-soft);
}

.cx-v2-row[b-siokms7a3g] {
    padding: .35rem .5rem;
    position: relative;
    border-bottom: 1px solid var(--cx-hairline-soft);
    transition: background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
    cursor: pointer;
    color: var(--cx-text-primary);
}

.cx-v2-row:hover[b-siokms7a3g] { background: var(--paper-2); }

.cx-v2-row.selected[b-siokms7a3g] {
    background: var(--info-50);
    box-shadow: inset 3px 0 0 var(--cx-info);
}

.cx-v2-row .col-nr[b-siokms7a3g],
.cx-v2-row .col-text[b-siokms7a3g],
.cx-v2-row .col-qty[b-siokms7a3g],
.cx-v2-row .col-unit[b-siokms7a3g],
.cx-v2-row .col-price[b-siokms7a3g],
.cx-v2-row .col-surcharge[b-siokms7a3g] {
    border-right: 1px solid var(--cx-hairline-soft);
}

.cx-v2-row .col[b-siokms7a3g] { display: flex; align-items: center; }
.cx-v2-row .col-text[b-siokms7a3g] { align-items: flex-start; flex-direction: column; gap: .2rem; min-width: 0; }
.cx-v2-row .col-text > *[b-siokms7a3g] { width: 100%; }
.cx-v2-row .col-text .form-control[b-siokms7a3g] { width: 100%; }
.cx-v2-row .cx-num[b-siokms7a3g],
.cx-v2-row .col-surcharge .form-control[b-siokms7a3g] { text-align: right; }
.col-surcharge[b-siokms7a3g] { justify-content: flex-end; }
.cx-v2-head .col-surcharge[b-siokms7a3g],
.cx-v2-head .col-amt[b-siokms7a3g] { justify-content: flex-end; }
.col-amt[b-siokms7a3g] { justify-content: flex-end; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
.col-amt span[b-siokms7a3g] { white-space: nowrap; font-size: .875rem; font-weight: var(--fw-semibold); }
.cx-v2-row .col-act[b-siokms7a3g] { justify-content: flex-end; }

/* Always-visible status indicators */
.status-indicators[b-siokms7a3g] {
    flex-shrink: 0;
}

.status-indicators .btn[b-siokms7a3g] {
    font-size: .75rem;
    line-height: 1;
    padding: .125rem .25rem;
}

/* Empty state — bob-card style with copper accent */
.cx-v2-empty[b-siokms7a3g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .375rem;
    padding: 2.5rem 1.25rem;
    background: linear-gradient(135deg, var(--copper-50) 0%, var(--paper) 60%);
    border-top: 1px solid var(--cx-hairline-soft);
}

.cx-v2-empty-icon[b-siokms7a3g] {
    width: 44px;
    height: 44px;
    border-radius: var(--cx-radius-control);
    background: var(--copper);
    color: white;
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-bottom: .25rem;
}

.cx-v2-empty-title[b-siokms7a3g] {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: var(--fw-bold);
    color: var(--cx-text-primary);
    letter-spacing: -0.01em;
}

.cx-v2-empty-text[b-siokms7a3g] {
    font-size: 12.5px;
    color: var(--cx-text-secondary);
    margin-bottom: .5rem;
}

/* ── Input styling ── */
.cx-input-sm[b-siokms7a3g] {
    height: 30px;
    padding: .2rem .4rem;
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
    border-radius: var(--cx-radius-control);
    font-size: .875rem;
    color: var(--cx-text-primary);
}

.cx-input-sm:hover[b-siokms7a3g] { background: var(--paper-2); }
.cx-input-sm:focus[b-siokms7a3g] {
    background: white;
    border-color: var(--cx-primary);
    box-shadow: 0 0 0 3px rgba(184, 96, 31, 0.15);
    outline: none;
}

.cx-input-sm.form-select[b-siokms7a3g] { height: 30px; padding-top: .2rem; padding-bottom: .2rem; }

.cx-input-sm.e-control-wrapper[b-siokms7a3g],
.cx-input-sm.e-input-group[b-siokms7a3g],
.cx-input-sm.e-control[b-siokms7a3g] {
    min-height: 30px;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

/* ── Autocomplete dropdown ── */
.cx-ac-dropdown[b-siokms7a3g] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
    margin-top: 4px;
    overflow: hidden;
}

.cx-ac-item[b-siokms7a3g] {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: .5rem .75rem;
}

.cx-ac-item:hover[b-siokms7a3g] { background: var(--paper-2); }
.cx-ac-item.selected[b-siokms7a3g] { background: var(--copper-50); }
.cx-ac-title[b-siokms7a3g] { font-weight: var(--fw-semibold); color: var(--cx-text-primary); font-size: .88rem; }
.cx-ac-sub[b-siokms7a3g] { color: var(--cx-text-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-ac-empty[b-siokms7a3g] { padding: .75rem; }
.cx-ac-empty .title[b-siokms7a3g] { font-weight: var(--fw-semibold); color: var(--cx-text-primary); margin-bottom: .25rem; }
.cx-ac-empty .subtitle[b-siokms7a3g] { font-size: .8rem; color: var(--cx-text-muted); }
.cx-ac-footer[b-siokms7a3g] {
    padding: .375rem .75rem;
    background: var(--paper);
    border-top: 1px solid var(--cx-hairline-soft);
    display: flex;
    flex-direction: column;
    gap: .125rem;
}

/* ── Drag & drop ── */
.col-drag[b-siokms7a3g] { display: flex; align-items: center; justify-content: center; }

.drag-handle[b-siokms7a3g] {
    cursor: grab;
    color: var(--cx-text-muted);
    opacity: .4;
    transition: opacity 0.15s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.drag-handle:hover[b-siokms7a3g] { opacity: .8; }
.drag-handle:active[b-siokms7a3g] { cursor: grabbing; }
.cx-v2-row.dragging[b-siokms7a3g] { opacity: .5; background: var(--paper-2); }
.cx-v2-row.drag-over[b-siokms7a3g] { border-top: 2px solid var(--cx-primary); }

/* ── Row state styles ── */
.cx-v2-row.row-hidden[b-siokms7a3g] {
    background: var(--paper-2);
    color: var(--cx-text-muted);
}

.cx-v2-row.row-hidden .col-text input[b-siokms7a3g],
.cx-v2-row.row-hidden .col-nr[b-siokms7a3g] {
    text-decoration: line-through;
    color: var(--cx-text-muted);
}

.cx-v2-row.row-optional .col-nr[b-siokms7a3g]::after {
    content: "Opt.";
    display: inline-block;
    margin-left: .25rem;
    font-size: .65rem;
    color: var(--cx-text-muted);
}

.cx-v2-row.row-alternative[b-siokms7a3g] {
    border-left: 3px solid var(--cx-warning);
}

.cx-v2-row.row-textblock .col-qty[b-siokms7a3g],
.cx-v2-row.row-textblock .col-unit[b-siokms7a3g],
.cx-v2-row.row-textblock .col-price[b-siokms7a3g],
.cx-v2-row.row-textblock .col-surcharge[b-siokms7a3g],
.cx-v2-row.row-textblock .col-amt[b-siokms7a3g] {
    visibility: hidden;
    border-right: none;
}

.cx-v2-row.row-textblock[b-siokms7a3g] {
    background: var(--blue-50);
    border-left: 3px solid var(--blue);
}

.alt-badge[b-siokms7a3g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    margin-left: .25rem;
    padding: .1rem .3rem;
    border-radius: var(--cx-radius-control);
    background: var(--warning-50);
    color: var(--cx-warning);
    font-size: .65rem;
    font-weight: var(--fw-bold);
}

/* ── Action dropdown ── */
.action-dropdown[b-siokms7a3g] {
    position: relative;
    display: inline-block;
}

.action-dropdown-menu[b-siokms7a3g] {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1050;
    min-width: 200px;
    background: var(--cx-card-bg);
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-surface);
    box-shadow: var(--shadow-md);
    padding: .375rem 0;
    display: none;
}

.action-dropdown.open .action-dropdown-menu[b-siokms7a3g] {
    display: block;
}

.cx-v2-toolbar .action-dropdown-menu[b-siokms7a3g] {
    right: auto;
    left: 0;
}

.action-dropdown-item[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: .5rem .875rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: .875rem;
    color: var(--cx-text-primary);
    cursor: pointer;
    transition: background 0.15s var(--ease);
}

.action-dropdown-item:hover[b-siokms7a3g] { background: var(--paper-2); }
.action-dropdown-item.active[b-siokms7a3g] { background: var(--copper-50); color: var(--cx-primary); }
.action-dropdown-item.danger[b-siokms7a3g] { color: var(--cx-danger); }
.action-dropdown-item.danger:hover[b-siokms7a3g] { background: var(--danger-50); }

.action-dropdown-divider[b-siokms7a3g] {
    height: 1px;
    background: var(--cx-hairline-soft);
    margin: .375rem 0;
}

.action-dropdown-item i[b-siokms7a3g] {
    width: 1rem;
    text-align: center;
    font-size: .9rem;
}

/* ── Alternative dialog ── */
.alt-group-dialog .e-dlg-content[b-siokms7a3g] { padding: 1.25rem !important; }
.alt-group-content[b-siokms7a3g] { display: flex; flex-direction: column; }
.alt-group-options[b-siokms7a3g] { display: flex; flex-direction: column; gap: .5rem; }
.alt-group-option[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border: 1px solid var(--cx-hairline);
    border-radius: var(--cx-radius-control);
    background: var(--cx-card-bg);
    cursor: pointer;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
    text-align: left;
}

.alt-group-option:hover[b-siokms7a3g] { background: var(--paper-2); border-color: var(--cx-text-muted); }
.alt-group-option.selected[b-siokms7a3g] { background: var(--warning-50); border-color: var(--cx-warning); }
.alt-group-option .alt-letter[b-siokms7a3g] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--cx-warning);
    color: white;
    font-weight: var(--fw-bold);
    border-radius: var(--cx-radius-surface);
    font-size: .875rem;
}

.alt-group-option.remove-alt[b-siokms7a3g] { color: var(--cx-text-muted); }
.alt-group-option.remove-alt:hover[b-siokms7a3g] { background: var(--paper-2); }
.alt-group-option.remove-alt i[b-siokms7a3g] { font-size: 1.25rem; color: var(--cx-text-muted); }
.alt-group-divider[b-siokms7a3g] { height: 1px; background: var(--cx-hairline-soft); margin: .5rem 0; }

/* ── Summary footer (totals row, mirrors .cx-line-items totals-block tokens) ── */
.cx-v2-summary-footer[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 12px 18px;
    border-top: 1px solid var(--cx-hairline);
    background: var(--paper);
    border-radius: 0 0 var(--cx-radius-surface) var(--cx-radius-surface);
    font-size: 12.5px;
    flex-shrink: 0;
    flex-wrap: wrap;
    color: var(--cx-text-secondary);
}

.cx-v2-summary-footer .summary-divider[b-siokms7a3g] {
    width: 1px;
    height: 1.25rem;
    background: var(--cx-hairline);
    flex-shrink: 0;
}

.cx-v2-summary-footer .summary-item[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .375rem;
    white-space: nowrap;
}

.cx-v2-summary-footer .summary-label[b-siokms7a3g] {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cx-text-muted);
}

.cx-v2-summary-footer .summary-value[b-siokms7a3g] {
    font-weight: var(--fw-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--cx-text-primary);
}

.cx-v2-summary-footer .summary-value.amount[b-siokms7a3g] {
    font-family: var(--font-mono);
}

.cx-v2-summary-footer .summary-item.is-grand .summary-value[b-siokms7a3g] {
    font-size: 14px;
    font-weight: var(--fw-bold);
}

.cx-v2-summary-footer .summary-value.highlight[b-siokms7a3g] {
    color: var(--cx-primary);
}

.cx-v2-summary-footer .summary-value-sm[b-siokms7a3g] {
    font-size: .75rem;
    font-weight: var(--fw-semibold);
    color: var(--cx-text-primary);
    font-variant-numeric: tabular-nums;
}

.cx-v2-summary-footer .summary-progress-item[b-siokms7a3g] {
    min-width: 0;
}

.cx-v2-summary-footer .summary-progress[b-siokms7a3g] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cx-v2-summary-footer .progress-bar-mini[b-siokms7a3g] {
    width: 60px;
    height: 6px;
    background: var(--cx-hairline-soft);
    border-radius: var(--cx-radius-round);
    overflow: hidden;
}

.cx-v2-summary-footer .progress-bar-fill[b-siokms7a3g] {
    height: 100%;
    background: var(--cx-success);
    border-radius: var(--cx-radius-round);
    transition: width 0.3s var(--ease);
}

.cx-v2-summary-footer .summary-info[b-siokms7a3g] {
    color: var(--cx-text-muted);
    font-size: .75rem;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Hover show/hide for secondary actions ── */
@media (hover: hover) and (pointer: fine) {
    .cx-v2-row .secondary-actions[b-siokms7a3g] {
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease-in-out;
    }

    .cx-v2-row:hover .secondary-actions[b-siokms7a3g],
    .cx-v2-row.selected .secondary-actions[b-siokms7a3g] {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ── Responsive ── */

/* Wide desktop — give detail pane more space */
@media (min-width: 1600px) {
    .cx-v2-split[b-siokms7a3g] {
        grid-template-columns: 1fr 520px;
    }
}

/* Medium desktop — narrower detail pane */
@media (max-width: 1400px) {
    .cx-v2-split[b-siokms7a3g] {
        grid-template-columns: 1fr 420px;
    }
}

/* Tablet / small desktop — stack vertically */
@media (max-width: 992px) {
    .cx-v2-root[b-siokms7a3g] {
        height: auto;
    }

    .cx-v2-split[b-siokms7a3g] {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .cx-v2-master[b-siokms7a3g] {
        overflow: visible;
    }

    .cx-v2-table[b-siokms7a3g] {
        flex: none;
        overflow-y: visible;
        min-height: auto;
    }

    .cx-v2-detail[b-siokms7a3g] {
        padding: 0;
        border-left: none;
        overflow-y: visible;
    }
}

/* Narrow screens — compact grid columns */
@media (max-width: 900px) {
    .cx-v2-head[b-siokms7a3g],
    .cx-v2-row[b-siokms7a3g] {
        grid-template-columns: 24px 28px minmax(0, 1.5fr) 56px 70px 80px 70px 90px minmax(90px, auto);
        font-size: .8rem;
    }
}

@media (max-width: 768px) {
    .cx-v2-toolbar[b-siokms7a3g] {
        flex-wrap: wrap;
    }

    .cx-v2-head[b-siokms7a3g],
    .cx-v2-row[b-siokms7a3g] {
        grid-template-columns: 24px 28px minmax(0, 1fr) 50px 50px 70px 90px minmax(80px, auto);
    }

    .cx-v2-head .col-surcharge[b-siokms7a3g],
    .cx-v2-row .col-surcharge[b-siokms7a3g] {
        display: none;
    }
}

/* ── Scrollbar styling ── */
.cx-v2-detail[b-siokms7a3g],
.cx-v2-table[b-siokms7a3g] {
    scrollbar-width: thin;
    scrollbar-color: var(--cx-hairline) transparent;
}

.cx-v2-detail[b-siokms7a3g]::-webkit-scrollbar,
.cx-v2-table[b-siokms7a3g]::-webkit-scrollbar {
    width: 6px;
}

.cx-v2-detail[b-siokms7a3g]::-webkit-scrollbar-track,
.cx-v2-table[b-siokms7a3g]::-webkit-scrollbar-track {
    background: transparent;
}

.cx-v2-detail[b-siokms7a3g]::-webkit-scrollbar-thumb,
.cx-v2-table[b-siokms7a3g]::-webkit-scrollbar-thumb {
    background: var(--cx-hairline);
    border-radius: var(--cx-radius-round);
}

.cx-v2-detail[b-siokms7a3g]::-webkit-scrollbar-thumb:hover,
.cx-v2-table[b-siokms7a3g]::-webkit-scrollbar-thumb:hover {
    background: var(--cx-text-muted);
}
/* _content/CraftX.Web/Components/Shared/Jobs/JobProtocolsTab.razor.rz.scp.css */
.job-protocols-tab[b-nu9idzxm9y] {
    padding: 0;
}

.loading-state[b-nu9idzxm9y] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: var(--bs-secondary);
}

.empty-state[b-nu9idzxm9y] {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--bs-secondary);
}

.empty-state i[b-nu9idzxm9y] {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state h4[b-nu9idzxm9y] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-body-color);
}

.empty-state p[b-nu9idzxm9y] {
    font-size: 0.9rem;
}

.protocol-list[b-nu9idzxm9y] {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    background: #fff;
}

.jp-toolbar[b-nu9idzxm9y] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}
/* _content/CraftX.Web/Components/Shared/Jobs/JobTimeTrackingTab.razor.rz.scp.css */
    .job-time-tracking-tab[b-cbi4803n9u] {
        padding: 0;
    }

    .loading-state[b-cbi4803n9u] {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 2rem;
        color: var(--bs-secondary);
    }

    .empty-state[b-cbi4803n9u] {
        text-align: center;
        padding: 3rem 2rem;
        color: var(--bs-secondary);
    }

    .empty-state i[b-cbi4803n9u] {
        font-size: 3rem;
        display: block;
        margin-bottom: 1rem;
        opacity: 0.4;
    }

    .empty-state h4[b-cbi4803n9u] {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--bs-body-color);
    }

    .empty-state p[b-cbi4803n9u] {
        font-size: 0.9rem;
    }

    .unassigned-banner[b-cbi4803n9u] {
        margin: 1.25rem;
        border: 1px solid rgba(169,117,20,0.20);
        border-radius: var(--cx-radius-surface);
        background: rgba(169,117,20,0.06);
        overflow: hidden;
    }

    .unassigned-header[b-cbi4803n9u] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.875rem 1rem;
        border-bottom: 1px solid rgba(169,117,20,0.20);
        flex-wrap: wrap;
    }

    .unassigned-title[b-cbi4803n9u] {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--cx-warning);
    }

    .unassigned-subtitle[b-cbi4803n9u] {
        font-size: 0.75rem;
        color: #a16207;
    }

    .unassigned-entries[b-cbi4803n9u] {
        display: flex;
        flex-direction: column;
    }

    .unassigned-entry[b-cbi4803n9u] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.625rem 1rem;
        border-bottom: 1px solid rgba(169,117,20,0.15);
        font-size: 0.825rem;
        flex-wrap: wrap;
    }

    .unassigned-entry:last-child[b-cbi4803n9u] {
        border-bottom: none;
    }

    .ue-name[b-cbi4803n9u] {
        font-weight: 600;
        color: var(--cx-text-primary);
        min-width: 140px;
    }

    .ue-date[b-cbi4803n9u] {
        color: var(--cx-text-secondary);
        min-width: 84px;
    }

    .ue-time[b-cbi4803n9u] {
        color: var(--cx-text-primary);
        min-width: 110px;
        font-variant-numeric: tabular-nums;
    }

    .ue-hours[b-cbi4803n9u] {
        color: var(--cx-warning);
        font-weight: 700;
        min-width: 56px;
    }

    .ue-reason[b-cbi4803n9u] {
        display: inline-flex;
        align-items: center;
        padding: 0.125rem 0.375rem;
        border-radius: var(--cx-radius-control);
        background: rgba(169,117,20,0.15);
        color: var(--cx-warning);
        font-size: 0.7rem;
        font-weight: 600;
    }

    .assign-btn[b-cbi4803n9u] {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.7rem;
        border: none;
        border-radius: var(--cx-radius-control);
        background: var(--cx-warning);
        color: white;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .assign-btn:hover[b-cbi4803n9u] {
        background: var(--cx-warning);
    }

    .assign-btn:disabled[b-cbi4803n9u] {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .employee-avatar[b-cbi4803n9u] {
        width: 32px;
        height: 32px;
        border-radius: var(--cx-radius-round);
        background: var(--ai);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .employee-avatar.small[b-cbi4803n9u] {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .status-badge[b-cbi4803n9u] {
        display: inline-block;
        padding: 0.2rem 0.5rem;
        border-radius: var(--cx-radius-control);
        font-size: 0.7rem;
        font-weight: 600;
    }

    .status-badge.in-progress[b-cbi4803n9u] {
        background: rgba(31,74,130,0.12);
        color: var(--cx-primary);
    }

    .status-badge.completed[b-cbi4803n9u] {
        background: rgba(63,125,91,0.15);
        color: var(--cx-success);
    }

    .status-badge.approved[b-cbi4803n9u] {
        background: rgba(63,125,91,0.06);
        color: var(--cx-success);
        border: 1px solid rgba(63,125,91,0.30);
    }

    .status-badge.needs-correction[b-cbi4803n9u] {
        background: rgba(154,59,51,0.06);
        color: var(--cx-danger);
    }

    .status-badge.corrected[b-cbi4803n9u] {
        background: rgba(169,117,20,0.06);
        color: var(--cx-warning);
    }

    /* Employee Summary */
    .employee-summary[b-cbi4803n9u] {
        margin: 0 1.25rem 1.25rem;
        border: 1px solid var(--bs-border-color);
        border-radius: var(--cx-radius-surface);
        overflow: hidden;
    }

    .employee-summary .summary-header[b-cbi4803n9u] {
        padding: 0.625rem 1rem;
        background: var(--paper-2);
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--cx-text-primary);
        border-bottom: 1px solid var(--bs-border-color);
    }

    .summary-rows[b-cbi4803n9u] {
        display: flex;
        flex-direction: column;
    }

    .summary-row[b-cbi4803n9u] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.625rem 1rem;
        border-bottom: 1px solid var(--paper-2);
    }

    .summary-row:last-child[b-cbi4803n9u] {
        border-bottom: none;
    }

    .summary-row .employee-name[b-cbi4803n9u] {
        flex: 1;
    }

    .summary-row .entry-count[b-cbi4803n9u] {
        font-size: 0.8rem;
        color: var(--cx-text-muted);
    }

    .summary-row .hours-total[b-cbi4803n9u] {
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--cx-primary);
        min-width: 60px;
        text-align: right;
    }

    .dialog-overlay[b-cbi4803n9u] {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1100;
        padding: 1rem;
    }

    .dialog-card[b-cbi4803n9u] {
        width: min(480px, 100%);
        background: white;
        border-radius: var(--cx-radius-surface);
        box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
        overflow: hidden;
    }

    .dialog-header[b-cbi4803n9u] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--cx-border);
    }

    .dialog-header h4[b-cbi4803n9u] {
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: var(--cx-text-primary);
    }

    .dialog-close[b-cbi4803n9u] {
        border: none;
        background: transparent;
        color: var(--cx-text-secondary);
        cursor: pointer;
    }

    .dialog-body[b-cbi4803n9u] {
        padding: 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .dialog-text[b-cbi4803n9u] {
        margin: 0;
        color: var(--cx-text-secondary);
        font-size: 0.9rem;
    }

    .dialog-entry[b-cbi4803n9u] {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.875rem 1rem;
        border-radius: var(--cx-radius-surface);
        background: var(--paper-2);
        border: 1px solid var(--cx-border);
        color: var(--cx-text-primary);
        font-size: 0.85rem;
    }

    .dialog-target[b-cbi4803n9u] {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 1rem;
        border-radius: var(--cx-radius-surface);
        background: rgba(169,117,20,0.06);
        border: 1px solid rgba(169,117,20,0.20);
    }

    .dialog-target-label[b-cbi4803n9u] {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #a16207;
    }

    .dialog-select-label[b-cbi4803n9u] {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--cx-warning);
    }

    .dialog-select[b-cbi4803n9u] {
        min-width: 260px;
    }

    .dialog-target-hint[b-cbi4803n9u] {
        font-size: 0.75rem;
        color: var(--cx-warning);
    }

    .dialog-actions[b-cbi4803n9u] {
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
        padding: 0 1.25rem 1.25rem;
    }

    .dialog-card.takeover-dialog[b-cbi4803n9u] {
        width: min(640px, 100%);
        max-height: calc(100vh - 2rem);
        display: flex;
        flex-direction: column;
    }

    .takeover-dialog .dialog-body[b-cbi4803n9u] {
        overflow-y: auto;
    }

    .takeover-dialog-day[b-cbi4803n9u] {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .takeover-dialog-day h5[b-cbi4803n9u] {
        margin: 0 0 0.25rem;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--cx-text-primary);
    }

    .takeover-dialog-row[b-cbi4803n9u] {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.5rem 0.75rem;
        border-radius: var(--cx-radius-surface);
        border: 1px solid var(--cx-border);
        background: var(--paper-2);
        font-size: 0.85rem;
        color: var(--cx-text-primary);
        cursor: pointer;
    }

    .takeover-dialog-row.is-off[b-cbi4803n9u] {
        background: transparent;
        color: var(--cx-text-secondary);
    }

    .takeover-dialog-row input[b-cbi4803n9u] {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    .takeover-dialog-row-text[b-cbi4803n9u] {
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .takeover-dialog-row-sub[b-cbi4803n9u] {
        display: block;
        font-size: 0.75rem;
        color: var(--cx-text-secondary);
        white-space: pre-line;
        max-height: 3.6em;
        overflow: hidden;
    }

    .takeover-dialog-row-qty[b-cbi4803n9u] {
        flex-shrink: 0;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    @media (max-width: 768px) {
        .unassigned-header[b-cbi4803n9u] {
            flex-direction: column;
            align-items: flex-start;
        }

        .assign-btn[b-cbi4803n9u] {
            margin-left: 0;
            width: 100%;
            justify-content: center;
        }
    }

/* ── Arbeitstage (Entwurf C) ─────────────────────────────────────────────── */
.job-time-tracking-tab[b-cbi4803n9u] {
    --wd-hairline: rgba(28,25,21,0.07);
    --wd-running: #C98A12;
    --wd-running-2: #E8B54A;
    --wd-confirmed: #3F7D5B;
    --wd-positions: #2D5F8A;
    --wd-recorded: rgba(28,25,21,0.22);
    --wd-muted: #6F685C;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--cx-text-primary);
    font-family: var(--font-sans);
}

.unassigned-banner[b-cbi4803n9u],
.employee-summary[b-cbi4803n9u] { margin: 0; }

/* Hint: days waiting for the take-over — jump to the newest, or take them all */
.takeover-hint[b-cbi4803n9u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    width: 100%;
    padding: 10px 12px 10px 6px;
    background: var(--copper-50, #FBEFE5);
    border: 1px solid rgba(184,96,31,0.30);
    border-radius: var(--cx-radius-surface);
    color: var(--cx-text-primary);
}

.takeover-hint-jump[b-cbi4803n9u] {
    flex: 1 1 360px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 4px 12px;
    border: 0;
    border-radius: var(--cx-radius-surface);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.takeover-hint-jump:hover[b-cbi4803n9u] { background: rgba(255,255,255,0.55); }
.takeover-hint-jump:focus-visible[b-cbi4803n9u] { outline: none; box-shadow: var(--cx-focus-ring); }
.hint-dot[b-cbi4803n9u] { width: 10px; height: 10px; border-radius: var(--cx-radius-round); background: var(--copper, #B8601F); flex: none; }
.hint-text[b-cbi4803n9u] { flex: 1 1 320px; min-width: 0; font-size: 15px; line-height: 1.4; }
.hint-text strong[b-cbi4803n9u] { font-weight: 600; }
.hint-meta[b-cbi4803n9u] { color: var(--cx-text-secondary); font-variant-numeric: tabular-nums; }
.hint-jump[b-cbi4803n9u] { font-weight: 600; font-size: 14px; color: var(--copper-dark, #8A4514); white-space: nowrap; }

/* State line */
.stand[b-cbi4803n9u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
}

.stand-total[b-cbi4803n9u] { display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.stand-total strong[b-cbi4803n9u] { font-size: 15px; font-weight: 600; }
.stand-counts[b-cbi4803n9u] { font-size: 12px; color: var(--wd-muted); }

.stand-bar[b-cbi4803n9u] {
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    height: 12px;
    border-radius: var(--cx-radius-round);
    overflow: hidden;
    background: rgba(28,25,21,0.08);
}

.stand-seg[b-cbi4803n9u] { display: block; height: 100%; }

.stand-legend[b-cbi4803n9u] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.legend-item[b-cbi4803n9u] { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-item.zero[b-cbi4803n9u] { color: var(--wd-muted); }
.legend-swatch[b-cbi4803n9u] { width: 12px; height: 12px; border-radius: var(--cx-radius-control); flex: none; }

.running[b-cbi4803n9u] { background: repeating-linear-gradient(135deg, var(--wd-running) 0 6px, var(--wd-running-2) 6px 12px); }
.legend-swatch.running[b-cbi4803n9u] { background: repeating-linear-gradient(135deg, var(--wd-running) 0 3px, var(--wd-running-2) 3px 6px); }
.confirmed[b-cbi4803n9u] { background: var(--wd-confirmed); }
.changed-after[b-cbi4803n9u] { background: var(--cx-warning); }
.positions[b-cbi4803n9u] { background: var(--wd-positions); }
.recorded[b-cbi4803n9u] { background: var(--wd-recorded); }

.days-title[b-cbi4803n9u] {
    margin: 4px 0 -4px;
    font: 600 20px/1.2 var(--font-display);
}

.days[b-cbi4803n9u] { display: flex; flex-direction: column; gap: 20px; }

/* One day: date rail + card */
.day[b-cbi4803n9u] { display: flex; gap: 16px; align-items: flex-start; scroll-margin-top: 16px; }

.day-rail[b-cbi4803n9u] {
    flex: none;
    width: 64px;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rail-weekday[b-cbi4803n9u] {
    font: 500 11px/1.2 var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wd-muted);
}

.rail-number[b-cbi4803n9u] { font: 700 30px/1 var(--font-display); color: var(--cx-text-primary); }
.rail-sub[b-cbi4803n9u] { font-size: 12px; color: var(--wd-muted); margin-top: 2px; }
.day.is-today .rail-weekday[b-cbi4803n9u],
.day.is-today .rail-number[b-cbi4803n9u] { color: var(--copper-dark, #8A4514); }

.day-card[b-cbi4803n9u] {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
}

.day-card.awaits-takeover[b-cbi4803n9u] {
    border-color: rgba(184,96,31,0.35);
    box-shadow: 0 6px 24px rgba(138,69,20,0.06);
}

.day-head[b-cbi4803n9u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--wd-hairline);
}

.day-path[b-cbi4803n9u] {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.path-step[b-cbi4803n9u] {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 600 13px/1.2 var(--font-sans);
    color: var(--wd-muted);
}

.path-dot[b-cbi4803n9u] {
    width: 22px;
    height: 22px;
    border-radius: var(--cx-radius-round);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid rgba(28,25,21,0.18);
    color: #fff;
    font-size: 13px;
}

.path-step.done[b-cbi4803n9u] { color: #2F5E45; }
.path-step.done .path-dot[b-cbi4803n9u] { background: var(--wd-confirmed); border-color: var(--wd-confirmed); }
.path-step.live[b-cbi4803n9u] { color: var(--cx-text-primary); }
.path-step.live .path-dot[b-cbi4803n9u] { background: var(--copper, #B8601F); border-color: var(--copper, #B8601F); }
.path-step.live .path-dot[b-cbi4803n9u]::after { content: ""; width: 8px; height: 8px; border-radius: var(--cx-radius-round); background: #fff; }
.path-step.now[b-cbi4803n9u] { color: var(--copper-dark, #8A4514); }
.path-step.now .path-dot[b-cbi4803n9u] { border-color: var(--copper, #B8601F); }
.path-step.warning[b-cbi4803n9u] { color: #6E4D0E; }
.path-step.warning .path-dot[b-cbi4803n9u] { background: var(--cx-warning); border-color: var(--cx-warning); }
.path-now[b-cbi4803n9u] { font-weight: 500; }

.path-line[b-cbi4803n9u] { flex: 1 1 24px; min-width: 16px; max-width: 160px; height: 2px; background: rgba(28,25,21,0.12); }
.path-line.done[b-cbi4803n9u] { background: var(--wd-confirmed); }

.day-chip[b-cbi4803n9u] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--cx-radius-control);
    font: 600 12px/1 var(--font-sans);
    white-space: nowrap;
}

.chip-pause[b-cbi4803n9u],
.chip-warning[b-cbi4803n9u] { background: #FAF1DE; color: #6E4D0E; }
.chip-pause[b-cbi4803n9u] { cursor: help; }
.chip-positions[b-cbi4803n9u] { background: #E8EEF5; color: #234A6E; }
.chip-dot[b-cbi4803n9u] { width: 8px; height: 8px; border-radius: var(--cx-radius-round); background: var(--wd-positions); }

.day-hours[b-cbi4803n9u] { font: 700 20px/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }

.icon-btn[b-cbi4803n9u] {
    width: 32px;
    height: 32px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--wd-muted);
    cursor: pointer;
}

.icon-btn:hover:not(:disabled)[b-cbi4803n9u] { background: #F0ECE4; color: var(--cx-text-primary); }
.icon-btn:focus-visible[b-cbi4803n9u] { outline: none; box-shadow: var(--cx-focus-ring); }
.icon-btn:disabled[b-cbi4803n9u] { opacity: 0.5; cursor: not-allowed; }

/* Three columns: Zeit | Arbeitsleistung | Material */
.day-cols[b-cbi4803n9u] { display: flex; flex-wrap: wrap; }

.day-col[b-cbi4803n9u] {
    flex: 1 1 260px;
    min-width: 0;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid var(--wd-hairline);
}

.day-col:last-child[b-cbi4803n9u] { border-right: 0; }

.col-head[b-cbi4803n9u] { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }

.col-label[b-cbi4803n9u] {
    font: 500 11px/1.2 var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wd-muted);
}

.col-action[b-cbi4803n9u] {
    min-height: 32px;
    padding: 6px 8px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--copper-dark, #8A4514);
    font: 600 13px/1 var(--font-sans);
    cursor: pointer;
}

.col-action:hover:not(:disabled)[b-cbi4803n9u] { background: var(--copper-50, #FBEFE5); }
.col-action:disabled[b-cbi4803n9u] { opacity: 0.5; cursor: not-allowed; }
.col-empty[b-cbi4803n9u] { font-size: 14px; color: var(--wd-muted); }

.tech[b-cbi4803n9u] { display: flex; flex-direction: column; gap: 4px; }
.tech-row[b-cbi4803n9u] { display: flex; align-items: center; gap: 10px; font-size: 14px; }

.avatar[b-cbi4803n9u] {
    width: 28px;
    height: 28px;
    border-radius: var(--cx-radius-round);
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cx-info);
    color: #fff;
    font: 600 11px/1 var(--font-sans);
}

.tech-name[b-cbi4803n9u] { flex: 1; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.tech-hours[b-cbi4803n9u] { font-variant-numeric: tabular-nums; white-space: nowrap; }

.tech-spans[b-cbi4803n9u] {
    padding-left: 38px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: 13px;
    color: var(--cx-text-secondary);
    font-variant-numeric: tabular-nums;
}

.span[b-cbi4803n9u] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.span + .span[b-cbi4803n9u]::before { content: "·"; margin: 0 6px; color: var(--wd-muted); }
.span-time[b-cbi4803n9u] { white-space: nowrap; }
.span-tag[b-cbi4803n9u] { font-size: 12px; color: var(--wd-muted); }
.span-pause[b-cbi4803n9u] { margin-left: 6px; color: var(--wd-muted); white-space: nowrap; }
.span-note[b-cbi4803n9u] { padding-left: 38px; font-size: 12.5px; color: var(--cx-text-secondary); overflow-wrap: break-word; hyphens: auto; }

.proof-badge[b-cbi4803n9u] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: var(--cx-radius-control);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.proof-badge.confirmed[b-cbi4803n9u] { background: #e7f6ec; color: #1d6b3a; }
.proof-badge.changed[b-cbi4803n9u] { background: #fff4e0; color: #8a5300; }
.proof-badge.later[b-cbi4803n9u] { background: #eef2ff; color: #3730a3; }

/* Line breaks as written; Blazor encodes the text, so no markup gets through. */
.work-performed-text[b-cbi4803n9u] { font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: break-word; hyphens: auto; }
.work-performed-edit[b-cbi4803n9u] { display: flex; flex-direction: column; gap: 8px; }

.work-performed-conflict[b-cbi4803n9u] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 10px;
    border-radius: var(--cx-radius-control);
    background: #fff4e0;
    color: #8a5300;
    font-size: 0.8125rem;
}

.work-performed-stored-label[b-cbi4803n9u] { font-weight: 600; }
.work-performed-stored[b-cbi4803n9u] { color: var(--cx-text-primary); white-space: pre-line; overflow-wrap: break-word; hyphens: auto; }
.work-performed-stored.empty[b-cbi4803n9u] { color: var(--wd-muted); font-style: italic; }

.form-actions[b-cbi4803n9u] { display: flex; flex-wrap: wrap; gap: 6px; }

.material-row[b-cbi4803n9u] { display: flex; align-items: flex-start; gap: 6px 8px; font-size: 14px; }
.material-actions[b-cbi4803n9u] { display: inline-flex; flex: none; }
.material-qty[b-cbi4803n9u] { min-width: 48px; padding-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.material-desc[b-cbi4803n9u] { flex: 1; min-width: 0; padding-top: 6px; overflow-wrap: break-word; hyphens: auto; }
.material-by[b-cbi4803n9u] { color: var(--wd-muted); }
.material-desc .proof-badge[b-cbi4803n9u] { margin-left: 6px; }

.material-form[b-cbi4803n9u] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.material-form[b-cbi4803n9u]  .material-input-qty { width: 84px; }
.material-form[b-cbi4803n9u]  .material-input-unit { width: 84px; }
.material-form[b-cbi4803n9u]  .material-input-desc { flex: 1 1 180px; min-width: 0; }

/* Arbeitsnachweis strip */
.proof-strip[b-cbi4803n9u] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
    background: #EAF3EE;
    border-top: 1px solid rgba(63,125,91,0.18);
    font-size: 14px;
    color: #2F5E45;
}

.proof-row[b-cbi4803n9u] { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; }
.proof-row.older[b-cbi4803n9u] { opacity: 0.75; }
.proof-icon[b-cbi4803n9u] { font-size: 18px; line-height: 1.3; }
.proof-text[b-cbi4803n9u] { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.45; }
.proof-note[b-cbi4803n9u] { font-size: 13px; color: var(--cx-text-secondary); }
.proof-meta[b-cbi4803n9u] { font-size: 13px; color: var(--cx-text-secondary); }
.proof-warning[b-cbi4803n9u] { font-size: 13px; color: #8a5300; }
.proof-actions[b-cbi4803n9u] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

.text-btn[b-cbi4803n9u] {
    min-height: 32px;
    padding: 6px 10px;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: transparent;
    color: var(--copper-dark, #8A4514);
    font: 600 14px/1 var(--font-sans);
    cursor: pointer;
    white-space: nowrap;
}

.text-btn:hover:not(:disabled)[b-cbi4803n9u] { background: rgba(255,255,255,0.6); }
.text-btn:disabled[b-cbi4803n9u] { opacity: 0.5; cursor: not-allowed; }

.mail-status[b-cbi4803n9u] { font-size: 13px; overflow-wrap: anywhere; }
.mail-status.ok[b-cbi4803n9u] { color: #1d6b3a; }
.mail-status.error[b-cbi4803n9u] { color: #b42318; }
.mail-status.neutral[b-cbi4803n9u] { color: var(--cx-text-secondary); }

.taken-over[b-cbi4803n9u] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: #1d6b3a; }
.taken-over .text-btn[b-cbi4803n9u] { padding: 4px 8px; font-size: 13px; }

.resend-form[b-cbi4803n9u] { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--cx-text-primary); }
.resend-form input[b-cbi4803n9u] { max-width: 280px; }

/* The day's action: take over as positions */
.takeover[b-cbi4803n9u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 16px 20px;
    background: var(--copper-50, #FBEFE5);
    border-top: 1px solid rgba(184,96,31,0.20);
}

.takeover-text[b-cbi4803n9u] { flex: 1 1 360px; min-width: 0; font-size: 14px; line-height: 1.45; }
.takeover-sub[b-cbi4803n9u] { font-size: 13px; color: var(--cx-text-secondary); }
.takeover-locked[b-cbi4803n9u] { margin-top: 4px; font-size: 13px; font-weight: 600; color: #8a5300; }

.takeover-btn[b-cbi4803n9u] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 16px;
    border: 1px solid #A0531A;
    border-radius: var(--cx-radius-control);
    background: var(--copper, #B8601F);
    color: #fff;
    font: 600 14px/1 var(--font-sans);
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 14px rgba(184,96,31,0.22);
    cursor: pointer;
    white-space: nowrap;
}

.takeover-btn:hover:not(:disabled)[b-cbi4803n9u] { background: var(--copper-dark, #8A4514); }
.takeover-btn:focus-visible[b-cbi4803n9u] { outline: none; box-shadow: var(--cx-focus-ring); }
.takeover-btn:disabled[b-cbi4803n9u] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* „Ohne Kundenunterschrift übernehmen“: possible, but not the business's normal way */
.takeover-btn.secondary[b-cbi4803n9u] { background: #fff; color: var(--copper-dark, #8A4514); box-shadow: none; }
.takeover-btn.secondary:hover:not(:disabled)[b-cbi4803n9u] { background: #FFF8F2; }

/* A day that cannot be taken over says why; a taken-over day says what is in the positions */
.takeover.refused[b-cbi4803n9u],
.takeover.done[b-cbi4803n9u] { background: #FAF8F5; border-top-color: var(--wd-hairline); }
.takeover-reason[b-cbi4803n9u] { font-size: 14px; color: var(--cx-text-secondary); }
.takeover-done[b-cbi4803n9u] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: #1d6b3a; }
.takeover-done .text-btn[b-cbi4803n9u] { padding: 4px 8px; font-size: 13px; }
.takeover-warning[b-cbi4803n9u] { flex-basis: 100%; font-size: 13px; font-weight: 600; color: #8a5300; }
.not-closed[b-cbi4803n9u] { background: repeating-linear-gradient(135deg, var(--wd-recorded) 0 6px, rgba(28,25,21,0.08) 6px 12px); }

/* A day already in positions, folded to one line */
.day-folded[b-cbi4803n9u] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-control);
    color: var(--cx-text-secondary);
    text-align: left;
    cursor: pointer;
}

.day-folded:hover[b-cbi4803n9u] { border-color: rgba(28,25,21,0.18); }
.day-folded:focus-visible[b-cbi4803n9u] { outline: none; box-shadow: var(--cx-focus-ring); }
.folded-text[b-cbi4803n9u] { flex: 1 1 260px; min-width: 0; font-size: 14px; }
.folded-hours[b-cbi4803n9u] { font: 700 17px/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* The Arbeitszeit drawer keeps its own global styles; its host adds no box of its own. */
.day-drawer-host[b-cbi4803n9u] { display: contents; }

@media (max-width: 640px) {
    .day[b-cbi4803n9u] { flex-direction: column; align-items: stretch; gap: 6px; }

    .day-rail[b-cbi4803n9u] {
        width: auto;
        padding-top: 0;
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .rail-number[b-cbi4803n9u] { font-size: 20px; }
    .day-head[b-cbi4803n9u] { padding: 12px 14px; }
    .day-col[b-cbi4803n9u] { flex-basis: 100%; padding: 14px; border-right: 0; border-bottom: 1px solid var(--wd-hairline); }
    .day-col:last-child[b-cbi4803n9u] { border-bottom: 0; }
    .path-line[b-cbi4803n9u] { display: none; }
    .tech-spans[b-cbi4803n9u],
    .span-note[b-cbi4803n9u] { padding-left: 0; }
    .material-qty[b-cbi4803n9u] { min-width: 0; }
    .proof-strip[b-cbi4803n9u],
    .takeover[b-cbi4803n9u],
    .day-folded[b-cbi4803n9u] { padding: 12px 14px; }
    .takeover-btn[b-cbi4803n9u],
    .takeover-hint .takeover-btn[b-cbi4803n9u] { width: 100%; justify-content: center; white-space: normal; text-align: center; }
    .text-btn[b-cbi4803n9u] { white-space: normal; }
    .resend-form input[b-cbi4803n9u] { max-width: 100%; }
}
/* _content/CraftX.Web/Components/Shared/Jobs/V2/JobV2ImportNotice.razor.rz.scp.css */
.import-notice[b-gl97ahtr01] {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: #f8f5f0;
    border: 1px solid #eadfd0;
    border-radius: var(--cx-radius-surface);
    color: #655b50;
    font-size: 13px;
}
.import-notice i[b-gl97ahtr01] { color: #b45f1b; padding-top: 2px; }
.import-notice strong[b-gl97ahtr01], .import-notice span[b-gl97ahtr01] { display: block; }
.import-notice strong[b-gl97ahtr01] { color: #39342e; margin-bottom: 3px; }
/* _content/CraftX.Web/Components/Shared/Jobs/V2/Tabs/JobV2DocumentsTab.razor.rz.scp.css */
.status-menu-wrapper[b-9dn1lsy9d7] {
    position: relative;
    display: inline-block;
}

.status-chip-btn[b-9dn1lsy9d7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: none;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    transition: opacity 0.15s;
}

.status-chip-btn:hover[b-9dn1lsy9d7] {
    opacity: 0.85;
}

.status-chip-btn i[b-9dn1lsy9d7] {
    font-size: 10px;
    opacity: 0.7;
}

.doc-status-menu[b-9dn1lsy9d7] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: var(--surface-card, #fff);
    border: 1px solid var(--border-default, #e5e7eb);
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    z-index: 200;
    padding: 4px 0;
}

.doc-status-menu-item[b-9dn1lsy9d7] {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary, #111827);
    transition: background 0.1s;
}

.doc-status-menu-item:hover[b-9dn1lsy9d7] {
    background: var(--surface-hover, #f3f4f6);
}

.job-v2-docs__followup-summary[b-9dn1lsy9d7] {
    display: flex;
    gap: 12px;
    margin: 0 16px 12px;
    padding: 12px 14px;
    border: 1px solid rgba(190, 111, 45, 0.24);
    border-radius: var(--cx-radius-surface);
    background: rgba(190, 111, 45, 0.07);
}

.job-v2-docs__followup-summary-icon[b-9dn1lsy9d7] {
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cx-copper, #b76b2c);
    background: rgba(190, 111, 45, 0.12);
    flex: 0 0 auto;
}

.job-v2-docs__followup-summary-body[b-9dn1lsy9d7] {
    min-width: 0;
}

.job-v2-docs__followup-summary-title[b-9dn1lsy9d7] {
    font-weight: 700;
    color: var(--cx-text, #24211f);
    line-height: 1.25;
}

.job-v2-docs__followup-summary-meta[b-9dn1lsy9d7],
.job-v2-docs__followup-inline[b-9dn1lsy9d7] {
    color: var(--cx-text-muted, #8a8178);
    font-size: 13px;
}

.job-v2-docs__followup-note[b-9dn1lsy9d7] {
    margin-top: 6px;
    color: var(--cx-text, #24211f);
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.job-v2-docs__followup-inline[b-9dn1lsy9d7] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    min-width: 0;
}

.job-v2-docs__followup-inline i[b-9dn1lsy9d7] {
    color: var(--cx-copper, #b76b2c);
}

.job-v2-docs__followup-inline-note[b-9dn1lsy9d7] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cx-text, #24211f);
}
/* _content/CraftX.Web/Components/Shared/Nachfassen/NachfassDrawer.razor.rz.scp.css */
.nachfass-drawer[b-eb984qx784] {
    position: fixed;
    inset: 0;
    /* Must beat the sticky topbar (.cx-shell topbar = z-index 1100), otherwise the
       panel slides in *behind* the appbar and its header is clipped. */
    z-index: 1200;
    pointer-events: none;
    visibility: hidden;
}

.nachfass-drawer--open[b-eb984qx784] {
    pointer-events: auto;
    visibility: visible;
}

.nachfass-drawer__backdrop[b-eb984qx784] {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 21, 0.32);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nachfass-drawer--open .nachfass-drawer__backdrop[b-eb984qx784] {
    opacity: 1;
}

/* The panel hosts the light NachfassWorkspace surface; here we only own position, motion and a
   light backing so the surface is seamless. */
.nachfass-drawer__panel[b-eb984qx784] {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 440px;
    max-width: 92vw;
    background: var(--paper, #faf7f2);
    box-shadow: -12px 0 32px rgba(28, 25, 21, 0.28);
    transform: translateX(100%);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nachfass-drawer--open .nachfass-drawer__panel[b-eb984qx784] {
    transform: translateX(0);
}

.nachfass-drawer__close[b-eb984qx784] {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--cx-radius-control);
    background: rgba(28, 25, 21, 0.06);
    color: var(--walnut, #4a443c);
    cursor: pointer;
    transition: background 0.15s ease;
}

.nachfass-drawer__close:hover[b-eb984qx784] {
    background: rgba(28, 25, 21, 0.12);
}
/* _content/CraftX.Web/Components/Shared/Nachfassen/NachfassWorkspace.razor.rz.scp.css */
/* ==========================================================================
   Nachfassen-Workspace — light "Angebot im Detail" panel (mockup parity).
   Container-agnostic: fills the cockpit Split pane or the off-canvas drawer.
   Reuses global tokens (--copper #B8601F, paper/sand/ink, --font-display/-mono).
   2-column facts|action layout collapses to one column via a container query, so
   it stays correct in the wide Split pane AND the narrow drawer.
   ========================================================================== */

.nfw[b-hvfaplxjyv] {
    --nfw-ease: cubic-bezier(.22, .61, .36, 1);
    --nfw-violet: #5B4B8A;
    --nfw-violet-50: #EEEBF5;
    --nfw-hairline: rgba(28, 25, 21, .08);
    --nfw-hairline-soft: rgba(28, 25, 21, .05);
    container-type: inline-size;
    height: 100%;
    overflow-y: auto;
    background: var(--paper, #FAF7F2);
    font-family: var(--font-sans);
    color: var(--ink, #1C1915);
}

.nfw--empty[b-hvfaplxjyv] { display: flex; align-items: center; justify-content: center; }
.nfw__placeholder[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 16px;
    color: var(--stone, #8E8679);
    font-size: 13px;
}

/* ── Detail header ─────────────────────────────────────── */
.nfw__head[b-hvfaplxjyv] {
    background: #fff;
    border-bottom: 1px solid var(--nfw-hairline);
    padding: 16px 20px;
}
.nfw__back[b-hvfaplxjyv] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    padding: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--walnut, #4A443C);
    cursor: pointer;
}
.nfw__back:hover[b-hvfaplxjyv] { color: var(--copper, #B8601F); }

.nfw__head-top[b-hvfaplxjyv] { display: flex; align-items: flex-start; gap: 14px; }
.nfw__head-id[b-hvfaplxjyv] { min-width: 0; flex: 1; }
.nfw__cust[b-hvfaplxjyv] {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ink, #1C1915);
}
.nfw__proj[b-hvfaplxjyv] { margin-top: 3px; font-size: 13px; color: var(--walnut, #4A443C); }
.nfw__val[b-hvfaplxjyv] { text-align: right; flex: 0 0 auto; }
.nfw__val-n[b-hvfaplxjyv] {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--ink, #1C1915);
    font-variant-numeric: tabular-nums;
}
.nfw__val-l[b-hvfaplxjyv] {
    font-family: var(--font-mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--stone, #8E8679);
}
.nfw__meta[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.nfw-meta-sig[b-hvfaplxjyv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--walnut, #4A443C);
}
.nfw-meta-sig i[b-hvfaplxjyv] { opacity: .7; }

/* Discreet jump-offs (Angebot ansehen / Auftrag öffnen) — quiet borderless links so they read as
   secondary affordances, never competing with the primary follow-up actions. Muted ink that only
   warms to copper on hover; there when the user wants the document or the underlying Auftrag. */
.nfw-jump[b-hvfaplxjyv] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--stone, #8E8679);
    background: transparent;
    border: 0;
    border-radius: var(--cx-radius-control);
    cursor: pointer;
    transition: color .15s ease;
}
.nfw-jump:hover[b-hvfaplxjyv] { color: var(--copper, #B8601F); }
.nfw-jump i[b-hvfaplxjyv] { font-size: 12px; opacity: .8; }

.nfw-tag[b-hvfaplxjyv] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--cx-radius-control);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .03em;
    white-space: nowrap;
    background: var(--sand, #F0ECE4);
    color: var(--walnut, #4A443C);
}
.nfw-tag.info[b-hvfaplxjyv] { background: #EEF3FB; color: var(--cx-info, #1F4A82); }
.nfw-tag.warning[b-hvfaplxjyv] { background: #FAF1DE; color: var(--cx-warning, #A97514); }
.nfw-tag.danger[b-hvfaplxjyv] { background: #F7E7E5; color: var(--cx-danger, #9A3B33); }

/* ── Body ──────────────────────────────────────────────── */
.nfw__body[b-hvfaplxjyv] {
    padding: 16px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nfw-block__title[b-hvfaplxjyv],
.nfw-card__h[b-hvfaplxjyv] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink, #1C1915);
}
.nfw-block__title[b-hvfaplxjyv] { margin-bottom: 10px; }

/* ── Channel pills (Kontaktweg) ────────────────────────── */
.nachfass-channels[b-hvfaplxjyv] { display: flex; gap: 8px; flex-wrap: wrap; }
.nachfass-channel[b-hvfaplxjyv] {
    position: relative;
    flex: 1 1 0;
    min-width: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-surface);
    background: #fff;
    color: var(--walnut, #4A443C);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s var(--nfw-ease);
}
.nachfass-channel i[b-hvfaplxjyv] { font-size: 15px; }
.nachfass-channel:hover[b-hvfaplxjyv] { border-color: var(--copper, #B8601F); color: var(--ink, #1C1915); }
.nachfass-channel.active[b-hvfaplxjyv] {
    border-color: var(--copper, #B8601F);
    background: var(--copper-50, #FBEFE5);
    color: var(--copper-dark, #8A4514);
}
.nachfass-channel.recommended[b-hvfaplxjyv] { border-color: color-mix(in srgb, var(--copper, #B8601F) 55%, transparent); }
.nachfass-channel__star[b-hvfaplxjyv] {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 9px;
    color: var(--copper, #B8601F);
}
.nachfass-channels__hint[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 11.5px;
    color: var(--stone, #8E8679);
}

/* phone links (call channel) */
.nfw-contact[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 8px;
    padding: 9px 12px;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-surface);
    background: #fff;
    text-decoration: none;
    color: var(--ink, #1C1915);
    transition: border-color .15s ease, background .15s ease;
}
.nfw-contact:hover[b-hvfaplxjyv] { border-color: var(--cx-info, #1F4A82); background: #EEF3FB; }
/* A value that is no dialable number is shown, not linked. */
.nfw-contact.is-text:hover[b-hvfaplxjyv] { border-color: var(--nfw-hairline); background: #fff; }
.nfw-contact i[b-hvfaplxjyv] { font-size: 17px; color: var(--cx-info, #1F4A82); }
.nfw-contact__label[b-hvfaplxjyv] { display: block; font-size: 11px; color: var(--stone, #8E8679); }
.nfw-contact__value[b-hvfaplxjyv] { font-size: 15px; font-weight: 600; }

.nfw-notice[b-hvfaplxjyv] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: var(--cx-radius-surface);
    background: #FAF1DE;
    color: var(--cx-warning, #A97514);
    font-size: 12px;
    line-height: 1.4;
}

/* ── Two-column facts | action ─────────────────────────── */
.nfw-cols[b-hvfaplxjyv] { display: grid; grid-template-columns: 1fr; gap: 14px; }
.nfw-colL[b-hvfaplxjyv], .nfw-colR[b-hvfaplxjyv] { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

@container (min-width: 720px) {
    .nfw-cols[b-hvfaplxjyv] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

/* ── Card shell ────────────────────────────────────────── */
.nfw-card[b-hvfaplxjyv] {
    background: #fff;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
}
.nfw-card__h[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--nfw-hairline-soft);
}
.nfw-card__ic[b-hvfaplxjyv] {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: var(--cx-radius-surface);
    background: var(--copper-50, #FBEFE5);
    color: var(--copper, #B8601F);
    font-size: 13px;
}
.nfw-card__b[b-hvfaplxjyv] { padding: 14px 16px; }

/* ── Angebotsübersicht ─────────────────────────────────── */
.nachfass-overview[b-hvfaplxjyv] { display: flex; flex-direction: column; }
.nachfass-overview__row[b-hvfaplxjyv] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--nfw-hairline-soft);
    font-size: 13px;
    color: var(--ink, #1C1915);
}
.nachfass-overview__desc[b-hvfaplxjyv] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nachfass-overview__amount[b-hvfaplxjyv] { flex: 0 0 auto; font-family: var(--font-mono); font-weight: 600; }
.nachfass-overview__total[b-hvfaplxjyv] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1.5px solid var(--nfw-hairline);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink, #1C1915);
}
.nachfass-overview__total span:last-child[b-hvfaplxjyv] { color: var(--copper, #B8601F); font-family: var(--font-mono); }

.nachfass-overview__cost[b-hvfaplxjyv] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    font-size: 12.5px;
    color: var(--stone, #8E8679);
}
.nachfass-overview__cost span:last-child[b-hvfaplxjyv] { font-family: var(--font-mono); }
.nachfass-overview__markup[b-hvfaplxjyv] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 2px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cx-success, #3F7D5B);
}
.nachfass-overview__markup span:last-child[b-hvfaplxjyv] { font-family: var(--font-mono); }
.nachfass-overview__markup.negative[b-hvfaplxjyv] { color: var(--cx-danger, #9A3B33); }
.nachfass-overview__note[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 11px;
    color: var(--stone, #8E8679);
}
.nachfass-overview__note.danger[b-hvfaplxjyv] { color: var(--cx-danger, #9A3B33); }
.nachfass-overview__note.muted[b-hvfaplxjyv] { color: var(--stone, #8E8679); font-style: italic; }

/* ── Verlauf timeline ──────────────────────────────────── */
.nachfass-timeline[b-hvfaplxjyv] { display: flex; flex-direction: column; }
.nachfass-timeline__item[b-hvfaplxjyv] { display: flex; gap: 12px; padding-bottom: 16px; position: relative; }
.nachfass-timeline__item:last-child[b-hvfaplxjyv] { padding-bottom: 0; }
.nachfass-timeline__item[b-hvfaplxjyv]::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 26px;
    bottom: -2px;
    width: 2px;
    background: var(--nfw-hairline);
}
.nachfass-timeline__item:last-child[b-hvfaplxjyv]::before { display: none; }
.nachfass-timeline__dot[b-hvfaplxjyv] {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: var(--cx-radius-round);
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #fff;
    z-index: 1;
    background: var(--stone, #8E8679);
}
.nachfass-timeline__dot.copper[b-hvfaplxjyv] { background: var(--copper, #B8601F); }
.nachfass-timeline__dot.info[b-hvfaplxjyv] { background: var(--cx-info, #1F4A82); }
.nachfass-timeline__dot.success[b-hvfaplxjyv] { background: var(--cx-success, #3F7D5B); }
.nachfass-timeline__dot.warning[b-hvfaplxjyv] { background: var(--cx-warning, #A97514); }
.nachfass-timeline__dot.danger[b-hvfaplxjyv] { background: var(--cx-danger, #9A3B33); }
.nachfass-timeline__body[b-hvfaplxjyv] { min-width: 0; padding-top: 3px; }
.nachfass-timeline__title[b-hvfaplxjyv] { font-size: 13px; font-weight: 600; color: var(--ink, #1C1915); }
.nachfass-timeline__sub[b-hvfaplxjyv] { font-size: 11.5px; color: var(--stone, #8E8679); margin-top: 1px; }
/* A recorded note (Gesprächsnotiz) — a quoted line under the date so it stays fully readable
   and never displaces the timestamp. */
.nachfass-timeline__note[b-hvfaplxjyv] {
    margin-top: 5px;
    padding: 6px 9px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.4;
    color: var(--walnut, #4A443C);
    background: var(--copper-50, #FBEFE5);
    border-left: 2px solid var(--copper, #B8601F);
    border-radius: 0 var(--cx-radius-surface) var(--cx-radius-surface) 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ── Call guide + Bob tips ─────────────────────────────── */
.nfw-guide__prompt[b-hvfaplxjyv] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--cx-radius-surface);
    background: var(--paper-2, #F5F1E8);
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink, #1C1915);
}
.nfw-guide__prompt i[b-hvfaplxjyv] { color: var(--copper, #B8601F); margin-top: 2px; }
.nfw-guide__checklist[b-hvfaplxjyv] { display: grid; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--walnut, #4A443C); }
.nfw-guide__checklist div[b-hvfaplxjyv] { display: flex; align-items: center; gap: 6px; }
.nfw-guide__checklist i[b-hvfaplxjyv] { color: var(--cx-success, #3F7D5B); }

.nfw-tips[b-hvfaplxjyv] {
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: var(--cx-radius-surface);
    background: var(--nfw-violet-50);
    border: 1px solid rgba(91, 75, 138, .2);
}
.nfw-tips__title[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--nfw-violet);
    margin-bottom: 6px;
}
.nfw-tips__item[b-hvfaplxjyv] { font-size: 12.5px; line-height: 1.5; color: var(--ink, #1C1915); padding: 2px 0 2px 14px; position: relative; }
.nfw-tips__item[b-hvfaplxjyv]::before { content: '—'; position: absolute; left: 0; color: var(--nfw-violet); }
.nfw-tips__loading[b-hvfaplxjyv] { display: flex; justify-content: center; padding: 8px; }

/* ── Composer (Bobs Erinnerung) ────────────────────────── */
.nfw-compose[b-hvfaplxjyv] {
    border: 1px solid rgba(91, 75, 138, .25);
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    background: #fff;
}
.nfw-compose__h[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    background: linear-gradient(120deg, var(--nfw-violet-50), #fff);
    border-bottom: 1px solid rgba(91, 75, 138, .18);
}
.nfw-compose__av[b-hvfaplxjyv] {
    width: 30px;
    height: 30px;
    border-radius: var(--cx-radius-surface);
    background: linear-gradient(135deg, var(--nfw-violet), #8370c0);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    flex: 0 0 auto;
}
.nfw-compose__t[b-hvfaplxjyv] { font-size: 13px; font-weight: 700; color: var(--ink, #1C1915); }
.nfw-compose__s[b-hvfaplxjyv] {
    font-family: var(--font-mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--nfw-violet);
    margin-top: 1px;
}
.nfw-compose__b[b-hvfaplxjyv] { padding: 14px 16px; }
.nfw-compose__text[b-hvfaplxjyv] {
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    min-height: 150px;
    border-radius: var(--cx-radius-control);
}
.nfw-compose__f[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-top: 1px solid var(--nfw-hairline-soft);
    background: var(--paper, #FAF7F2);
}
.nfw-compose__by[b-hvfaplxjyv] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--stone, #8E8679);
}
.nfw-compose__by i[b-hvfaplxjyv] { color: var(--nfw-violet); }
.nfw-compose__sent[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cx-success, #3F7D5B);
}

/* tone pills */
.nachfass-tone[b-hvfaplxjyv] { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.nachfass-tone__label[b-hvfaplxjyv] {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--stone, #8E8679);
    margin-right: 2px;
}
.nachfass-tone__pill[b-hvfaplxjyv] {
    padding: 4px 12px;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-control);
    background: #fff;
    color: var(--walnut, #4A443C);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s var(--nfw-ease);
}
.nachfass-tone__pill:hover:not(:disabled)[b-hvfaplxjyv] { color: var(--ink, #1C1915); border-color: var(--copper, #B8601F); }
.nachfass-tone__pill.active[b-hvfaplxjyv] { background: var(--ink, #1C1915); color: #fff; border-color: var(--ink, #1C1915); }
.nachfass-tone__pill:disabled[b-hvfaplxjyv] { opacity: .5; cursor: default; }

/* ── Ergebnis ──────────────────────────────────────────── */
.nfw-outcomes[b-hvfaplxjyv] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@container (max-width: 460px) { .nfw-outcomes[b-hvfaplxjyv] { grid-template-columns: 1fr; } }
.nfw-outcome[b-hvfaplxjyv] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-surface);
    background: #fff;
    color: var(--ink, #1C1915);
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.nfw-outcome:hover[b-hvfaplxjyv] { border-color: color-mix(in srgb, var(--copper, #B8601F) 40%, transparent); }
.nfw-outcome.active[b-hvfaplxjyv] { border-color: var(--copper, #B8601F); background: var(--copper-50, #FBEFE5); }
.nfw-outcome i[b-hvfaplxjyv] { margin-top: 2px; color: var(--stone, #8E8679); }
.nfw-outcome.active i[b-hvfaplxjyv] { color: var(--copper, #B8601F); }
.nfw-outcome strong[b-hvfaplxjyv] { display: block; font-size: 13px; line-height: 1.2; }
.nfw-outcome small[b-hvfaplxjyv] { display: block; margin-top: 2px; font-size: 11px; color: var(--stone, #8E8679); line-height: 1.3; }

.nfw-field[b-hvfaplxjyv] { display: grid; gap: 4px; margin-top: 12px; }
.nfw-field label[b-hvfaplxjyv] { font-size: 11px; font-weight: 600; color: var(--cx-label-color); }
.nfw-field .form-control[b-hvfaplxjyv], .nfw-field .form-select[b-hvfaplxjyv] { font-size: 13px; }
.nfw-field textarea.form-control[b-hvfaplxjyv] { resize: vertical; min-height: 74px; }
.nfw-req[b-hvfaplxjyv] { color: var(--cx-danger, #9A3B33); font-weight: 600; font-size: 11px; margin-left: 6px; }
.nfw-opt[b-hvfaplxjyv] { color: var(--stone, #8E8679); font-weight: 400; font-size: 11px; margin-left: 6px; }

.nfw-result[b-hvfaplxjyv] { margin-top: 2px; }

/* ── Buttons ───────────────────────────────────────────── */
.nfw .btn[b-hvfaplxjyv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-radius: var(--cx-radius-control);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}
.nfw .btn.primary[b-hvfaplxjyv] { background: var(--copper, #B8601F); color: #fff; }
.nfw .btn.primary:hover:not(:disabled)[b-hvfaplxjyv] { background: var(--copper-dark, #8A4514); }
.nfw .btn.success[b-hvfaplxjyv] { background: var(--cx-success, #3F7D5B); color: #fff; margin-top: 14px; }
.nfw .btn.success:hover:not(:disabled)[b-hvfaplxjyv] { filter: brightness(.95); }
.nfw .btn:disabled[b-hvfaplxjyv] { opacity: .55; cursor: default; }
.nfw .btn.w-100[b-hvfaplxjyv] { width: 100%; }

/* ── "Erinnern in …" snooze (header) ───────────────────── */
.nfw-remind[b-hvfaplxjyv] { position: relative; margin-left: auto; }
.nfw-remind__btn[b-hvfaplxjyv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-control);
    background: #fff;
    color: var(--walnut, #4A443C);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s var(--nfw-ease);
}
.nfw-remind__btn:hover:not(:disabled)[b-hvfaplxjyv],
.nfw-remind__btn.open[b-hvfaplxjyv] { border-color: var(--copper, #B8601F); color: var(--copper-dark, #8A4514); background: var(--copper-50, #FBEFE5); }
.nfw-remind__btn:disabled[b-hvfaplxjyv] { opacity: .6; cursor: default; }
.nfw-remind__caret[b-hvfaplxjyv] { font-size: 9px; opacity: .7; transition: transform .15s ease; }
.nfw-remind__btn.open .nfw-remind__caret[b-hvfaplxjyv] { transform: rotate(180deg); }

.nfw-remind__backdrop[b-hvfaplxjyv] { position: fixed; inset: 0; z-index: 30; }
.nfw-remind__menu[b-hvfaplxjyv] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 31;
    min-width: 210px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--nfw-hairline);
    border-radius: var(--cx-radius-surface);
    box-shadow: 0 12px 32px rgba(28, 25, 21, .16);
    animation: nfw-remind-in-b-hvfaplxjyv .14s var(--nfw-ease);
}
@keyframes nfw-remind-in-b-hvfaplxjyv { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nfw-remind__head[b-hvfaplxjyv] {
    padding: 4px 10px 6px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--stone, #8E8679);
}
.nfw-remind__item[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-radius: var(--cx-radius-control);
    background: none;
    color: var(--ink, #1C1915);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background .12s ease;
}
.nfw-remind__item:hover[b-hvfaplxjyv] { background: var(--copper-50, #FBEFE5); }
.nfw-remind__item i[b-hvfaplxjyv] { color: var(--cx-warning, #A97514); font-size: 14px; }
.nfw-remind__item span[b-hvfaplxjyv] { flex: 1; }
.nfw-remind__item em[b-hvfaplxjyv] {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 11px;
    color: var(--stone, #8E8679);
}

/* ── Empfänger (composer) ─────────────────────────────── */
.nfw-recipient[b-hvfaplxjyv] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 14px 16px 0;
    font-size: 11.5px;
    color: var(--stone, #8E8679);
}
.nfw-recipient i[b-hvfaplxjyv] {
    position: relative;
    top: 1px;
    flex: 0 0 auto;
}
.nfw-recipient strong[b-hvfaplxjyv] {
    font-weight: 600;
    color: var(--walnut, #4A443C);
    word-break: break-all;
}

/* ── WhatsApp reachability hint (composer) ─────────────── */
.nfw-wa-reach[b-hvfaplxjyv] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 16px 0;
    padding: 7px 11px;
    border-radius: var(--cx-radius-surface);
    font-size: 12px;
    font-weight: 600;
}
.nfw-wa-reach.ready[b-hvfaplxjyv] { background: #E7F1EC; color: var(--cx-success, #3F7D5B); }
.nfw-wa-reach.checking[b-hvfaplxjyv] { background: var(--sand, #F0ECE4); color: var(--walnut, #4A443C); }
.nfw-wa-reach.blocked[b-hvfaplxjyv] { background: #F7E7E5; color: var(--cx-danger, #9A3B33); }

/* Gesprächsnotiz — its own full-width band between the contact columns and the Ergebnis block */
.nfw-note__text[b-hvfaplxjyv] {
    min-height: 84px;
    background: var(--paper-2, #F5F1E8);
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/ChecklistBlockEditor.razor.rz.scp.css */
.pc-list[b-oteuo49e84] {
    display: flex;
    flex-direction: column;
}

.pc-item[b-oteuo49e84] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 8px 0;
    border-top: 1px solid var(--cx-hairline-soft, rgba(28,25,21,.06));
}

.pc-item:first-child[b-oteuo49e84] {
    border-top: 0;
}

.pc-num[b-oteuo49e84] {
    width: 1.5rem;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cx-text-secondary, #6b7280);
}

.pc-text[b-oteuo49e84] {
    flex: 1 1 16rem;
    min-width: 0;
    font-size: 0.875rem;
    color: var(--cx-text-primary, #1c1915);
}

.pc-answer[b-oteuo49e84] {
    font-size: 0.875rem;
    font-weight: 600;
}

.pc-error[b-oteuo49e84] {
    flex-basis: 100%;
    padding-left: calc(1.5rem + 12px);
    font-size: 0.75rem;
    color: var(--cx-danger, #b91c1c);
}

.pc-legend[b-oteuo49e84] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: var(--cx-text-secondary, #4a4038);
}

.pc-wrap[b-oteuo49e84] {
    margin-bottom: 10px;
}

.pc-grid[b-oteuo49e84] {
    margin: 0;
    font-size: 0.8125rem;
}

.pc-grid th[b-oteuo49e84] {
    font-weight: 600;
    color: var(--cx-text-secondary, #4a4038);
    white-space: nowrap;
}

.pc-col[b-oteuo49e84] {
    text-align: center;
    cursor: help;
}

.pc-row-label[b-oteuo49e84] {
    white-space: nowrap;
}

.pc-line[b-oteuo49e84] {
    min-width: 10rem;
    color: var(--cx-text-secondary, #4a4038);
}

.pc-cell[b-oteuo49e84] {
    text-align: center;
    min-width: 5.5rem;
}

.pc-cell.pc-invalid[b-oteuo49e84] {
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cx-danger, #b91c1c) 55%, white);
}

.pc-select[b-oteuo49e84] {
    min-width: 5rem;
}

.pc-unsaved[b-oteuo49e84] {
    font-style: italic;
    color: var(--cx-text-secondary, #6b7280);
}

.pc-empty[b-oteuo49e84] {
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--cx-text-secondary, #6b7280);
}

.pc-row-errors[b-oteuo49e84] {
    margin: 0 0 10px;
    padding-left: 1.25rem;
    font-size: 0.75rem;
    color: var(--cx-danger, #b91c1c);
}

.pc-foot[b-oteuo49e84] {
    margin-top: 10px;
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/EntryBlockEditor.razor.rz.scp.css */
.pe-blocks[b-f58ypibb7x] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pe-part[b-f58ypibb7x] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.pe-part[b-f58ypibb7x]  textarea {
    width: 100%;
}

.pe-label[b-f58ypibb7x] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cx-text-secondary, #4a4038);
}

.pe-req[b-f58ypibb7x] {
    color: var(--cx-danger, #b91c1c);
    margin-left: 2px;
}

.pe-value[b-f58ypibb7x] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cx-text-primary, #1c1915);
}

.pe-suggest[b-f58ypibb7x] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 6px 10px;
    border-radius: var(--cx-radius-surface);
    font-size: 0.8125rem;
    background: color-mix(in srgb, var(--cx-success, #15803d) 9%, white);
    color: var(--cx-text-primary, #1c1915);
}

.pe-suggest.pe-suggest-no[b-f58ypibb7x] {
    background: color-mix(in srgb, var(--cx-warning, #b45309) 12%, white);
}

.pe-suggest .btn-link[b-f58ypibb7x] {
    padding: 0;
}

.pe-error[b-f58ypibb7x] {
    font-size: 0.75rem;
    color: var(--cx-danger, #b91c1c);
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/PartyBlockEditor.razor.rz.scp.css */
.pp-grid[b-o0vggnm26d] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.pp-item[b-o0vggnm26d] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pp-label[b-o0vggnm26d] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cx-text-secondary, #4a4038);
}

.pp-same-check[b-o0vggnm26d] {
    margin-bottom: 12px;
}

.pp-note[b-o0vggnm26d],
.pp-same[b-o0vggnm26d] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--cx-text-secondary, #4a4038);
}

.pp-lines[b-o0vggnm26d] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--cx-text-primary, #1c1915);
    line-height: 1.5;
}

.pp-error[b-o0vggnm26d] {
    margin: -6px 0 10px;
    font-size: 0.75rem;
    color: var(--cx-danger, #b91c1c);
}

@media (max-width: 768px) {
    .pp-grid[b-o0vggnm26d] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/ProtocolAnswerButtons.razor.rz.scp.css */
.pa-group[b-jcckmt53x4] {
    display: inline-flex;
    border: 1px solid var(--cx-hairline, rgba(28,25,21,.14));
    border-radius: var(--cx-radius-surface);
    overflow: hidden;
    flex-shrink: 0;
}

.pa-group.pa-invalid[b-jcckmt53x4] {
    border-color: var(--cx-danger, #b91c1c);
}

.pa-btn[b-jcckmt53x4] {
    border: 0;
    border-left: 1px solid var(--cx-hairline, rgba(28,25,21,.14));
    background: var(--cx-card-bg, #fff);
    color: var(--cx-text-secondary, #4a4038);
    font-size: 0.8125rem;
    padding: 4px 12px;
    min-width: 56px;
    line-height: 1.5;
}

.pa-btn:first-child[b-jcckmt53x4] {
    border-left: 0;
}

.pa-btn:hover[b-jcckmt53x4] {
    background: var(--sand, #f1ece5);
}

.pa-btn:focus-visible[b-jcckmt53x4] {
    outline: 2px solid var(--cx-primary, #b4532a);
    outline-offset: -2px;
}

.pa-btn.active.pa-yes[b-jcckmt53x4] {
    background: color-mix(in srgb, var(--cx-success, #15803d) 16%, white);
    color: var(--cx-success, #15803d);
    font-weight: 600;
}

.pa-btn.active.pa-no[b-jcckmt53x4] {
    background: color-mix(in srgb, var(--cx-danger, #b91c1c) 14%, white);
    color: var(--cx-danger, #b91c1c);
    font-weight: 600;
}

.pa-btn.active.pa-na[b-jcckmt53x4] {
    background: rgba(28, 25, 21, 0.08);
    color: var(--cx-text-primary, #1c1915);
    font-weight: 600;
}

.pa-btn:disabled[b-jcckmt53x4] {
    opacity: .6;
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/ProtocolFieldInput.razor.rz.scp.css */
.pf-text[b-jxg2lh8cg3] {
    display: inline-block;
    color: var(--cx-text-primary, #1c1915);
    font-size: 0.875rem;
    word-break: break-word;
}

.pf-multiline[b-jxg2lh8cg3] {
    white-space: pre-wrap;
}

.pf-error[b-jxg2lh8cg3] {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--cx-danger, #b91c1c);
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/ProtocolFieldList.razor.rz.scp.css */
.pf-grid[b-bq3mjq7s6v] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.pf-item[b-bq3mjq7s6v] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pf-wide[b-bq3mjq7s6v] {
    grid-column: 1 / -1;
}

.pf-label[b-bq3mjq7s6v] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cx-text-secondary, #4a4038);
}

.pf-req[b-bq3mjq7s6v] {
    color: var(--cx-danger, #b91c1c);
    margin-left: 2px;
}

@media (max-width: 768px) {
    .pf-grid[b-bq3mjq7s6v] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* _content/CraftX.Web/Components/Shared/Protocols/Blocks/TableBlockEditor.razor.rz.scp.css */
.pt-hint[b-lzre239z3p] {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    color: var(--cx-text-secondary, #4a4038);
}

.pt-hint i[b-lzre239z3p] {
    margin-right: 4px;
}

.pt-wrap[b-lzre239z3p] {
    margin-bottom: 10px;
}

.pt-table[b-lzre239z3p] {
    margin: 0;
    font-size: 0.8125rem;
}

.pt-table th[b-lzre239z3p] {
    font-weight: 600;
    color: var(--cx-text-secondary, #4a4038);
    white-space: nowrap;
    vertical-align: bottom;
}

.pt-table td[b-lzre239z3p] {
    vertical-align: top;
    min-width: 8rem;
}

.pt-table td.pt-num[b-lzre239z3p],
.pt-table th.pt-num[b-lzre239z3p] {
    min-width: 0;
    width: 1%;
    white-space: nowrap;
}

.pt-table td.pt-actions[b-lzre239z3p],
.pt-table th.pt-actions[b-lzre239z3p] {
    min-width: 0;
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.pt-req[b-lzre239z3p] {
    color: var(--cx-danger, #b91c1c);
    margin-left: 2px;
}

.pt-removed td[b-lzre239z3p] {
    text-decoration: line-through;
    color: var(--cx-text-secondary, #6b7280);
}

.pt-removed td.pt-actions[b-lzre239z3p],
.pt-removed td.pt-num .pt-badge[b-lzre239z3p] {
    text-decoration: none;
}

.pt-badge[b-lzre239z3p] {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: var(--cx-radius-control);
    font-size: 0.6875rem;
    font-weight: 600;
    text-decoration: none;
}

.pt-badge-new[b-lzre239z3p] {
    background: color-mix(in srgb, var(--cx-success, #15803d) 14%, white);
    color: var(--cx-success, #15803d);
}

.pt-badge-removed[b-lzre239z3p] {
    background: color-mix(in srgb, var(--cx-danger, #b91c1c) 12%, white);
    color: var(--cx-danger, #b91c1c);
}

.pt-remove[b-lzre239z3p] {
    color: var(--cx-danger, #b91c1c);
}

.pt-row-error td[b-lzre239z3p] {
    border-top: 0;
    font-size: 0.75rem;
    color: var(--cx-danger, #b91c1c);
}

.pt-error-box[b-lzre239z3p] {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: var(--cx-radius-surface);
    font-size: 0.8125rem;
    background: color-mix(in srgb, var(--cx-danger, #b91c1c) 8%, white);
    color: var(--cx-danger, #b91c1c);
}

.pt-empty[b-lzre239z3p] {
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--cx-text-secondary, #6b7280);
}

.pt-foot[b-lzre239z3p] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.pt-limit[b-lzre239z3p] {
    font-size: 0.75rem;
    color: var(--cx-text-secondary, #6b7280);
}

.pt-count[b-lzre239z3p] {
    margin-left: auto;
    font-size: 0.8125rem;
    color: var(--cx-text-secondary, #4a4038);
}

.pt-count strong[b-lzre239z3p] {
    color: var(--cx-text-primary, #1c1915);
}
/* _content/CraftX.Web/Components/Shared/Protocols/ProtocolConfirmDialog.razor.rz.scp.css */
/* Own scrim and modal, as the template panel's archive dialog. */
.pcd-scrim[b-aifrd9c9j0] {
    position: fixed;
    inset: 0;
    background: rgba(28,25,21,.34);
    backdrop-filter: blur(2px);
    z-index: 1140;
    animation: pcd-fade-b-aifrd9c9j0 .18s ease-out;
}

.pcd-modal[b-aifrd9c9j0] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 94vw;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--paper, #fff);
    border-radius: var(--cx-radius-surface);
    z-index: 1150;
    box-shadow: var(--sh-xl, 0 24px 48px rgba(28,25,21,.18));
    animation: pcd-modalin-b-aifrd9c9j0 .24s ease-out;
}

@keyframes pcd-fade-b-aifrd9c9j0 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pcd-modalin-b-aifrd9c9j0 {
    from { opacity: 0; transform: translate(-50%, -46%) scale(.97); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.pcd-modal-h[b-aifrd9c9j0] {
    padding: 22px 24px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--hairline-soft, rgba(28,25,21,.06));
    position: relative;
}

.pcd-modal-h .mi[b-aifrd9c9j0] {
    width: 42px;
    height: 42px;
    border-radius: var(--cx-radius-control);
    background: rgba(28,25,21,.06);
    color: var(--walnut, #4a4038);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pcd-modal-h .mi.danger[b-aifrd9c9j0] {
    background: rgba(185,28,28,.08);
    color: #b91c1c;
}

.pcd-modal-h .mt[b-aifrd9c9j0] {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}

.pcd-modal-h .ms[b-aifrd9c9j0] {
    font-size: 13px;
    color: var(--walnut, #4a4038);
    margin-top: 3px;
}

.pcd-modal-close[b-aifrd9c9j0] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: var(--cx-radius-control);
    border: none;
    background: var(--sand, #f1ece5);
    display: grid;
    place-items: center;
    color: var(--walnut, #4a4038);
}

.pcd-modal-close:hover[b-aifrd9c9j0] {
    background: var(--sand-2, #e8e1d7);
}

.pcd-modal-b[b-aifrd9c9j0] {
    padding: 18px 24px 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--walnut, #4a4038);
}

.pcd-modal-b[b-aifrd9c9j0]  p {
    margin: 0 0 10px;
}

.pcd-modal-f[b-aifrd9c9j0] {
    padding: 14px 24px;
    border-top: 1px solid var(--hairline-soft, rgba(28,25,21,.06));
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
/* _content/CraftX.Web/Components/Shared/Protocols/ProtocolDefinitionView.razor.rz.scp.css */
/* Structure view of a protocol template (ProtocolDefinitionView): a head line and one card per building block. */

.cx-ptview[b-9bpd4acd7e] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--ink, #1C1915);
    font-size: 13.5px;
    min-width: 0;
}

/* Head line „Titel · Norm · Intervall“. Each part (.cx-ptview-item) starts with a separator box exactly
   --cx-ptview-sep-width wide; the row is shifted left by that width and the head clips its overflow, so the separator of
   whichever part begins a line – the first one or one moved down by wrapping – lies outside and is not shown. Between
   parts on the same line the box gives the former 8px · 8px spacing. */
.cx-ptview-head[b-9bpd4acd7e] {
    --cx-ptview-sep-width: 20px;
    overflow: hidden;
    color: var(--walnut, #4A443C);
}

.cx-ptview-headline[b-9bpd4acd7e] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    row-gap: 4px;
    margin-left: calc(-1 * var(--cx-ptview-sep-width));
    overflow-wrap: anywhere;
}

/* A part longer than the line wraps inside itself instead of running into the clipped edge. */
.cx-ptview-item[b-9bpd4acd7e],
.cx-ptview-item > :last-child[b-9bpd4acd7e] {
    min-width: 0;
}

/* Norm and interval never break inside a word („einm|alig“): only the title breaks anywhere; they shrink at most to their
   longest word and move to the next line instead. Only a word longer than the whole line still breaks. */
.cx-ptview-item.meta[b-9bpd4acd7e] {
    min-width: auto;
    max-width: 100%;
    overflow-wrap: break-word;
}

.cx-ptview-item[b-9bpd4acd7e] {
    display: inline-flex;
    align-items: baseline;
}

.cx-ptview-title[b-9bpd4acd7e] {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink, #1C1915);
    overflow-wrap: anywhere;
}

.cx-ptview-sep[b-9bpd4acd7e] {
    flex: 0 0 var(--cx-ptview-sep-width);
    text-align: center;
    color: var(--stone, #8E8679);
}

.cx-ptview-empty[b-9bpd4acd7e] {
    padding: 12px;
    text-align: center;
    color: var(--stone, #8E8679);
}

.cx-ptview-blocks[b-9bpd4acd7e] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cx-ptview-card[b-9bpd4acd7e] {
    padding: 12px 14px;
    border: 1px solid var(--hairline, rgba(28, 25, 21, .08));
    border-radius: var(--cx-radius-surface);
    background: #fff;
    min-width: 0;
}

.cx-ptview-card.has-errors[b-9bpd4acd7e] {
    border-color: var(--cx-danger, #9A3B33);
}

.cx-ptview-card-head[b-9bpd4acd7e] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-bottom: 6px;
}

.cx-ptview-number[b-9bpd4acd7e] {
    flex: 0 0 auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--cx-radius-round);
    background: var(--sand, #F0ECE4);
    color: var(--walnut, #4A443C);
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.cx-ptview-kind[b-9bpd4acd7e] {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--copper, #B8601F);
}

.cx-ptview-card-title[b-9bpd4acd7e] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cx-ptview-label[b-9bpd4acd7e] {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--walnut, #4A443C);
}

.cx-ptview-content[b-9bpd4acd7e],
.cx-ptview-traits[b-9bpd4acd7e] {
    color: var(--walnut, #4A443C);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cx-ptview-traits[b-9bpd4acd7e] {
    font-size: 12.5px;
}

.cx-ptview-list[b-9bpd4acd7e] {
    margin: 4px 0 6px;
    padding-left: 20px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.cx-ptview-list.numbered[b-9bpd4acd7e] {
    list-style: decimal;
}

.cx-ptview-errors[b-9bpd4acd7e] {
    margin: 8px 0 0;
    padding: 8px 10px 8px 26px;
    border-radius: var(--cx-radius-surface);
    background: var(--danger-50, #F7E7E5);
    color: var(--cx-danger, #9A3B33);
    font-size: 12.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.cx-ptview-errors.general[b-9bpd4acd7e] {
    margin-top: 0;
}

@media (max-width: 576px) {
    .cx-ptview-card[b-9bpd4acd7e] {
        padding: 10px 12px;
    }
}
/* _content/CraftX.Web/Components/Shared/Protocols/ProtocolSignLayer.razor.rz.scp.css */
/* Without a request the layer is a plain wrapper around the page's blocks. */
.psl[b-k13wzecwhr] {
    outline: 0;
}

/* ── The layer over the whole window ─────────────────────────────────── */

/* --psl-top / --psl-height follow the visible part of the window (on-screen keyboard), set by the script with the
   maintenance banner taken off in CSS, so the layer follows the banner as it comes and goes; without them the layer is
   as high as the app (--cx-app-h: the visible window below the banner). The layer is the container its parts size
   themselves by: with the keyboard up the window keeps its height, the layer does not. */
.psl.is-open[b-k13wzecwhr] {
    --psl-tap: 48px;
    --psl-ink: #1d2b64; /* the pen's colour, as in signature-pad.js and the stored image */
    position: fixed;
    left: 0;
    right: 0;
    top: var(--psl-top, var(--cx-maintenance-banner-h, 0px));
    height: var(--psl-height, var(--cx-app-h));
    container: psl / size;
    /* Above the app's own chrome (side bar, app bar, drawers: up to 2000), below its messages. */
    z-index: 3000;
    display: grid;
    /* The bar at the bottom takes what it needs, but never more than there is: the protocol gives way first. */
    grid-template-rows: 52px minmax(0, 1fr) minmax(0, max-content);
    background: var(--cx-desk);
    color: var(--cx-text-primary);
    font-size: 15px;
    line-height: 1.45;
    overscroll-behavior: none;
    /* No zooming and no scrolling of the page behind; only the protocol itself scrolls (below). Zooming with two
       fingers stays off for the protocol as well: it zooms the whole window, and the signing area and its buttons
       would slide out of view under the hand of the person signing. */
    touch-action: none;
}

.psl.is-open [hidden][b-k13wzecwhr] {
    display: none !important;
}

.psl.is-open :focus-visible[b-k13wzecwhr] {
    outline: 0;
    box-shadow: var(--cx-focus-ring);
}

/* ── Head ────────────────────────────────────────────────────────────── */

.psl-head[b-k13wzecwhr] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 12px 0 4px;
    background: var(--cx-sidebar-bg);
    color: #fff;
}

.psl-hbtn[b-k13wzecwhr] {
    flex: none;
    display: grid;
    place-items: center;
    width: var(--psl-tap);
    height: var(--psl-tap);
    padding: 0;
    border: 0;
    border-radius: var(--cx-radius-control);
    background: none;
    color: inherit;
    font-size: 22px;
}

.psl-title[b-k13wzecwhr] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}

.psl-title small[b-k13wzecwhr] {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
}

.psl-pill[b-k13wzecwhr],
.psl-net[b-k13wzecwhr] {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 26px;
    border-radius: var(--cx-radius-round);
    font-size: 12.5px;
    font-weight: 600;
}

.psl-pill[b-k13wzecwhr] {
    padding: 0 11px;
    background: var(--cx-primary-hover);
    color: #fff;
}

.psl-net[b-k13wzecwhr] {
    gap: 6px;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.72);
}

.psl-net i[b-k13wzecwhr] {
    font-size: 16px;
}

.psl-net.off[b-k13wzecwhr] {
    background: var(--cx-danger);
    color: #fff;
}

/* ── The protocol to read ────────────────────────────────────────────── */

.psl.is-open > .psl-doc[b-k13wzecwhr] {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 16px 24px;
    touch-action: pan-y;
}

/* The sheet: white on the stone, like a document in a viewer. */
.psl.is-open .psl-sheet[b-k13wzecwhr] {
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 24px 24px;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .psl.is-open > .psl-doc[b-k13wzecwhr] {
        padding: 12px 8px 16px;
    }

    .psl.is-open .psl-sheet[b-k13wzecwhr] {
        padding: 16px 14px 18px;
    }
}

.psl-sheet-head[b-k13wzecwhr] {
    margin-bottom: 16px;
}

.psl-sheet-head h1[b-k13wzecwhr] {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.psl-sheet-meta[b-k13wzecwhr] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    color: var(--cx-text-secondary);
    font-size: 14px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.psl-btn[b-k13wzecwhr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--psl-tap);
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--cx-radius-control);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.psl-btn i[b-k13wzecwhr] {
    font-size: 20px;
}

/* White on --cx-primary is below 4.5:1; the darker copper carries text. */
.psl-btn.primary[b-k13wzecwhr] {
    background: var(--cx-primary-hover);
    color: #fff;
}

.psl-btn.primary:disabled[b-k13wzecwhr] {
    background: color-mix(in srgb, var(--cx-text-primary) 22%, white);
    cursor: default;
}

.psl-btn.neutral[b-k13wzecwhr] {
    border-color: var(--cx-hairline-strong);
    background: var(--cx-card-bg);
    color: var(--cx-text-primary);
}

.psl-btn.neutral:disabled[b-k13wzecwhr] {
    color: var(--cx-text-muted);
    cursor: default;
}

.psl-link[b-k13wzecwhr] {
    display: inline-flex;
    align-items: center;
    padding: 0;
    min-height: var(--psl-tap);
    border: 0;
    background: none;
    color: var(--cx-text-secondary);
    font-size: 14.5px;
    text-align: left;
    text-decoration: underline;
}

.psl-link:hover[b-k13wzecwhr] {
    color: var(--cx-primary-hover);
}

/* ── Dock: who signs, the name, the area ─────────────────────────────── */

.psl-dock[b-k13wzecwhr] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--cx-card-bg);
    border-top: 1px solid var(--cx-hairline-strong);
    box-shadow: 0 -6px 18px rgba(28, 25, 21, 0.10);
}

.psl-dock-in[b-k13wzecwhr] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Who signs, the name and the area give way when even the smallest area does not fit (a very short window): they
   scroll, the buttons below stay in view. */
.psl-grid[b-k13wzecwhr] {
    display: grid;
    gap: 10px;
    flex: 0 1 auto;
    min-height: 0;
    overflow: auto;
    touch-action: pan-y;
    /* Room for the focus ring of the name field inside the scrolling box. */
    margin: -4px;
    padding: 4px;
}

.psl-band[b-k13wzecwhr],
.psl-need[b-k13wzecwhr],
.psl-btns[b-k13wzecwhr] {
    flex: none;
}

.psl-role[b-k13wzecwhr] {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.psl-hint[b-k13wzecwhr] {
    margin: 2px 0 8px;
    color: var(--cx-text-secondary);
    font-size: 14.5px;
}

.psl-name[b-k13wzecwhr] {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
}

.psl-name > span[b-k13wzecwhr] {
    font-size: 13px;
    font-weight: 600;
    color: var(--cx-label-color);
}

.psl-name > .form-control[b-k13wzecwhr] {
    height: var(--psl-tap);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.psl-name.is-missing > .form-control[b-k13wzecwhr] {
    border-color: var(--cx-warning);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cx-warning) 22%, transparent);
}

.psl-padslot[b-k13wzecwhr] {
    height: clamp(170px, 24vh, 250px);
}

.psl-padbox[b-k13wzecwhr] {
    position: relative;
    height: 100%;
    min-height: 120px;
    overflow: hidden;
    background: var(--cx-card-bg);
    border: 1.5px solid var(--cx-field-border-color);
    border-radius: var(--cx-radius-surface);
}

.psl-padbox.has-ink[b-k13wzecwhr] {
    border-color: var(--psl-ink);
}

/* The area itself: no scrolling, no zooming, no selection, no magnifier. */
.psl-pad[b-k13wzecwhr] {
    position: absolute;
    inset: 0;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    cursor: crosshair;
}

.psl-pad[b-k13wzecwhr]  canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.psl-pad-line[b-k13wzecwhr] {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 26%;
    border-bottom: 1.5px solid var(--cx-hairline-strong);
    pointer-events: none;
}

.psl-pad-line i[b-k13wzecwhr] {
    position: absolute;
    left: 0;
    bottom: 6px;
    font-size: 18px;
    color: var(--cx-placeholder-color);
}

.psl-pad-hint[b-k13wzecwhr] {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 16px;
    color: var(--cx-placeholder-color);
    pointer-events: none;
}

.psl-padbox.has-strokes .psl-pad-hint[b-k13wzecwhr] {
    display: none;
}

.psl-pad-clear[b-k13wzecwhr] {
    position: absolute;
    right: 6px;
    top: 6px;
    display: none;
    align-items: center;
    gap: 6px;
    min-height: var(--psl-tap);
    padding: 0 12px;
    border: 1px solid var(--cx-hairline-strong);
    border-radius: var(--cx-radius-control);
    background: color-mix(in srgb, var(--cx-card-bg) 92%, transparent);
    color: var(--cx-text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.psl-pad-clear i[b-k13wzecwhr] {
    font-size: 18px;
}

.psl-padbox.has-strokes .psl-pad-clear[b-k13wzecwhr] {
    display: inline-flex;
}

.psl-padbox.locked .psl-pad[b-k13wzecwhr] {
    pointer-events: none;
}

.psl-padbox.locked .psl-pad-clear[b-k13wzecwhr] {
    display: none;
}

.psl-skipped[b-k13wzecwhr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    border: 1.5px dashed var(--cx-hairline-strong);
    border-radius: var(--cx-radius-surface);
    color: var(--cx-text-secondary);
    text-align: center;
}

/* Why the main button is locked: what is still open, right above the buttons. */
.psl-need[b-k13wzecwhr] {
    margin: 10px 0 0;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: color-mix(in srgb, var(--cx-warning) 55%, black);
}

.psl-need + .psl-btns[b-k13wzecwhr] {
    margin-top: 6px;
}

.psl-btns[b-k13wzecwhr] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.psl-grow[b-k13wzecwhr] {
    flex: 1;
}

.psl-btns .psl-btn.primary[b-k13wzecwhr] {
    min-width: 180px;
}

@media (orientation: landscape) and (min-width: 900px) {
    .psl-grid[b-k13wzecwhr] {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        gap: 16px;
        align-items: stretch;
    }

    .psl-padslot[b-k13wzecwhr] {
        height: clamp(170px, 30vh, 240px);
    }
}

/* A short layer: a short window, or the on-screen keyboard up (the window keeps its height then, so the layer is
   asked, not the window). The media query stays for browsers without container queries. */
@media (max-height: 520px) {
    .psl-padslot[b-k13wzecwhr] {
        height: 130px;
    }

    .psl-hint[b-k13wzecwhr] {
        display: none;
    }
}

@container psl (max-height: 520px) {
    .psl-padslot[b-k13wzecwhr] {
        height: 130px;
    }

    .psl-hint[b-k13wzecwhr] {
        display: none;
    }
}

@container psl (max-height: 420px) {
    .psl-padslot[b-k13wzecwhr] {
        height: 96px;
    }

    .psl-padbox[b-k13wzecwhr] {
        min-height: 0;
    }
}

/* ── The one place that says where the signatures are ────────────────── */

.psl-band[b-k13wzecwhr] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: var(--cx-radius-surface);
    font-size: 14.5px;
    background: var(--sand);
    color: var(--cx-text-secondary);
}

.psl-band > i[b-k13wzecwhr] {
    flex: none;
    font-size: 22px;
}

.psl-band-text[b-k13wzecwhr] {
    flex: 1;
    min-width: 0;
}

.psl-band-text strong[b-k13wzecwhr] {
    display: block;
}

.psl-band-text ul[b-k13wzecwhr] {
    margin: 4px 0 0;
    padding-left: 18px;
}

.psl-band > .psl-btn[b-k13wzecwhr] {
    flex: none;
}

.psl-band.busy[b-k13wzecwhr] {
    color: var(--cx-text-primary);
}

.psl-band.warn[b-k13wzecwhr] {
    background: color-mix(in srgb, var(--cx-warning) 16%, white);
    color: color-mix(in srgb, var(--cx-warning) 55%, black);
}

.psl-band.bad[b-k13wzecwhr] {
    background: color-mix(in srgb, var(--cx-danger) 12%, white);
    color: color-mix(in srgb, var(--cx-danger) 72%, black);
}

.psl-spin[b-k13wzecwhr] {
    flex: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--cx-hairline-strong);
    border-top-color: var(--cx-primary-hover);
    border-radius: var(--cx-radius-round);
    animation: psl-spin-b-k13wzecwhr 0.8s linear infinite;
}

@keyframes psl-spin-b-k13wzecwhr {
    to {
        transform: rotate(360deg);
    }
}

/* ── Result ──────────────────────────────────────────────────────────── */

.psl-done[b-k13wzecwhr] {
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: auto;
    touch-action: pan-y;
}

.psl-done-card[b-k13wzecwhr] {
    width: 100%;
    max-width: 560px;
    padding: 28px 28px 24px;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.psl-done-card > i[b-k13wzecwhr] {
    font-size: 52px;
    color: var(--cx-success);
}

.psl-done-card h2[b-k13wzecwhr] {
    margin: 8px 0 6px;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
}

.psl-done-card p[b-k13wzecwhr] {
    margin: 0;
    color: var(--cx-text-secondary);
}

.psl-who[b-k13wzecwhr] {
    display: grid;
    gap: 4px;
    margin: 14px 0 18px;
    font-weight: 500;
}

.psl-acts[b-k13wzecwhr] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* The tap arrived and the layer is finding out whether the way is open. */
.psl-btn.is-waiting[b-k13wzecwhr] {
    opacity: 0.6;
    pointer-events: none;
}

.psl-done-card .psl-done-note[b-k13wzecwhr] {
    margin-top: 14px;
    font-weight: 600;
    color: color-mix(in srgb, var(--cx-warning) 55%, black);
}

/* ── Question before leaving ─────────────────────────────────────────── */

.psl-ask[b-k13wzecwhr] {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 16px;
    background: color-mix(in srgb, var(--cx-sidebar-bg) 45%, transparent);
}

.psl-ask-card[b-k13wzecwhr] {
    width: 100%;
    max-width: 440px;
    padding: 22px;
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
    box-shadow: var(--shadow-xl);
}

.psl-ask-card h3[b-k13wzecwhr] {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
}

.psl-ask-card p[b-k13wzecwhr] {
    margin: 0 0 16px;
    color: var(--cx-text-secondary);
}

.psl-ask-card .psl-acts[b-k13wzecwhr] {
    justify-content: flex-end;
}
/* _content/CraftX.Web/Components/Shared/Sites/WorkshopDriveLine.razor.rz.scp.css */
.workshop-drive[b-iswx4dcrxc] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--stone, #7a6f64); margin-top: 6px; }
.workshop-drive .workshop-drive-unknown[b-iswx4dcrxc] { font-style: italic; }
.workshop-drive-edit[b-iswx4dcrxc] { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 6px; font-size: 12.5px; }
.workshop-drive-edit label[b-iswx4dcrxc] { display: flex; flex-direction: column; gap: 2px; }
.workshop-drive-edit input[b-iswx4dcrxc] { width: 110px; }
.workshop-drive-moved[b-iswx4dcrxc] { font-size: 12.5px; color: var(--ochre, #9a6b00); margin-top: 4px; display: flex; gap: 6px; align-items: center; }
/* _content/CraftX.Web/Components/Shared/Widgets/WisoDashboardCard.razor.rz.scp.css */
.migration-card[b-4wn30hksxl] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--cx-card-border);
    border-left: 4px solid var(--copper, var(--cx-primary));
    border-radius: var(--cx-radius-surface);
    background: var(--cx-card-bg);
}
.migration-icon[b-4wn30hksxl] {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: var(--cx-radius-control);
    background: var(--primary-50, #fcf2e9);
    color: var(--copper, var(--cx-primary));
    font-size: 20px;
}
.migration-body[b-4wn30hksxl] { flex: 1; min-width: 0; }
.migration-body h2[b-4wn30hksxl] { margin: 0 0 5px; font-size: 16px; font-weight: 650; }
.migration-body p[b-4wn30hksxl] { margin: 0; font-size: 13px; color: var(--cx-text-secondary); }
.migration-body .migration-counts[b-4wn30hksxl] { margin-top: 6px; color: var(--cx-text-muted); }
.catalog-progress[b-4wn30hksxl] {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 6px;
    margin-top: 12px;
    border: 0;
    border-radius: var(--cx-radius-control);
    overflow: hidden;
    accent-color: var(--copper, var(--cx-primary));
}
.catalog-progress[b-4wn30hksxl]::-webkit-progress-bar { background: var(--cx-card-border); border-radius: var(--cx-radius-control); }
.catalog-progress[b-4wn30hksxl]::-webkit-progress-value { background: var(--copper, var(--cx-primary)); border-radius: var(--cx-radius-control); }
.catalog-progress[b-4wn30hksxl]::-moz-progress-bar { background: var(--copper, var(--cx-primary)); border-radius: var(--cx-radius-control); }
@media (max-width: 700px) {
    .migration-card[b-4wn30hksxl] { flex-wrap: wrap; }
    .migration-body[b-4wn30hksxl] { flex-basis: calc(100% - 56px); }
    .migration-card > a[b-4wn30hksxl] { flex: 1; justify-content: center; }
}
