/* /Components/Account/KartaKonta.razor.rz.scp.css */
.konto-page[b-htanzqn7kr] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--dxbl-page-bg);
}

.konto-card[b-htanzqn7kr] {
    width: 100%;
    max-width: 26rem;
    padding: 2rem 1.75rem;
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.konto-brand[b-htanzqn7kr] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.konto-brand-mark[b-htanzqn7kr] {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.konto-brand h1[b-htanzqn7kr] {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.konto-brand p[b-htanzqn7kr] {
    margin: 0.4rem 0 0 0;
    color: var(--dxbl-page-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.konto-card[b-htanzqn7kr]  .konto-blad {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.konto-card[b-htanzqn7kr]  .konto-ok {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.konto-card[b-htanzqn7kr]  .konto-info {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.konto-card[b-htanzqn7kr]  .konto-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.konto-card[b-htanzqn7kr]  .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.konto-card[b-htanzqn7kr]  .form-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dxbl-page-color);
    opacity: 0.85;
}

.konto-card[b-htanzqn7kr]  .form-field input {
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font-size: 0.95rem;
    font-family: inherit;
}

.konto-card[b-htanzqn7kr]  .form-field input:focus {
    outline: 2px solid var(--dxbl-accent-color-100);
    outline-offset: 1px;
    border-color: transparent;
}

.konto-card[b-htanzqn7kr]  .konto-submit {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
}

.konto-card[b-htanzqn7kr]  .konto-submit:hover {
    background: var(--dxbl-accent-color-110);
}

.konto-card[b-htanzqn7kr]  .konto-linki {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.88rem;
}

.konto-card[b-htanzqn7kr]  .konto-linki a {
    color: var(--dxbl-accent-color-100);
}
/* /Components/Account/Login.razor.rz.scp.css */
.login-page[b-ve6bafobca] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--dxbl-page-bg);
}

.login-card[b-ve6bafobca] {
    width: 100%;
    max-width: 26rem;
    padding: 2rem 1.75rem;
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.login-brand[b-ve6bafobca] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-brand-mark[b-ve6bafobca] {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.login-brand h1[b-ve6bafobca] {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.login-brand p[b-ve6bafobca] {
    margin: 0.4rem 0 0 0;
    color: var(--dxbl-page-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.login-error[b-ve6bafobca] {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.login-form[b-ve6bafobca] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-field[b-ve6bafobca] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-field label[b-ve6bafobca] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dxbl-page-color);
    opacity: 0.85;
}

.form-field input[b-ve6bafobca] {
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font-size: 0.95rem;
    font-family: inherit;
}

.form-field input:focus[b-ve6bafobca] {
    outline: 2px solid var(--dxbl-accent-color-100);
    outline-offset: 1px;
    border-color: transparent;
}

.login-submit[b-ve6bafobca] {
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.login-submit:hover[b-ve6bafobca] {
    background: var(--dxbl-accent-color-110);
}

.login-alt[b-ve6bafobca] {
    margin: 1rem 0 0 0;
    text-align: center;
    font-size: 0.88rem;
}

.login-alt a[b-ve6bafobca] {
    color: var(--dxbl-accent-color-100);
}

.login-submit:focus-visible[b-ve6bafobca] {
    outline: 2px solid var(--dxbl-accent-color-100);
    outline-offset: 2px;
}
/* /Components/Approvals/CompletedScreen.razor.rz.scp.css */
.completed-screen[b-lavhak7fes] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 40rem;
    margin: 0 auto;
}

.cs-icon-wrap[b-lavhak7fes] {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
}

.cs-icon[b-lavhak7fes] {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
}

.cs-title[b-lavhak7fes] {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dxbl-page-color);
}

.cs-lead[b-lavhak7fes] {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    color: var(--dxbl-page-color);
    opacity: 0.85;
}

.cs-stats[b-lavhak7fes] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 28rem;
    margin-bottom: 2rem;
}

.cs-stat[b-lavhak7fes] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
}

.cs-stat-value[b-lavhak7fes] {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--dxbl-page-color);
}

.cs-stat-label[b-lavhak7fes] {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.2;
}

.cs-stat-accepted .cs-stat-value[b-lavhak7fes] {
    color: #16a34a;
}

.cs-stat-excluded .cs-stat-value[b-lavhak7fes] {
    color: #dc2626;
}

.cs-stat-partial .cs-stat-value[b-lavhak7fes] {
    color: #ea580c;
}

.cs-hint[b-lavhak7fes] {
    margin: 0 0 2rem 0;
    font-size: 0.95rem;
    opacity: 0.7;
    max-width: 32rem;
    line-height: 1.5;
}

.cs-return[b-lavhak7fes] {
    padding: 0.65rem 1.5rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
}

.cs-return:hover[b-lavhak7fes] {
    background: var(--dxbl-accent-color-110);
}
/* /Components/Approvals/DeadlineBanner.razor.rz.scp.css */
.deadline-banner[b-pr4dzccud5] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.dlb-icon[b-pr4dzccud5] {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.dlb-text[b-pr4dzccud5] {
    flex: 1;
    min-width: 0;
}

.dlb-consequence[b-pr4dzccud5] {
    margin: 0.4rem 0 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Stan: dużo czasu (>7 dni) */
.deadline-banner-normal[b-pr4dzccud5] {
    background: rgba(0, 0, 0, 0.03);
    border-left-color: var(--dxbl-accent-color-60);
}

/* Stan: niedługo (4-7 dni) */
.deadline-banner-soon[b-pr4dzccud5] {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: #f59e0b;
    color: #92400e;
}

html[data-theme-mode="dark"] .deadline-banner-soon[b-pr4dzccud5] {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

/* Stan: urgent (2-3 dni) */
.deadline-banner-urgent[b-pr4dzccud5] {
    background: rgba(234, 88, 12, 0.1);
    border-left-color: #ea580c;
    color: #9a3412;
}

html[data-theme-mode="dark"] .deadline-banner-urgent[b-pr4dzccud5] {
    background: rgba(234, 88, 12, 0.18);
    color: #fb923c;
}

/* Stan: tomorrow (1 dzień) */
.deadline-banner-tomorrow[b-pr4dzccud5] {
    background: rgba(220, 38, 38, 0.1);
    border-left-color: #dc2626;
    color: #991b1b;
    font-weight: 500;
}

html[data-theme-mode="dark"] .deadline-banner-tomorrow[b-pr4dzccud5] {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
}

/* Stan: today (dziś!) */
.deadline-banner-today[b-pr4dzccud5] {
    background: rgba(220, 38, 38, 0.15);
    border-left-color: #991b1b;
    color: #7f1d1d;
    font-weight: 600;
}

html[data-theme-mode="dark"] .deadline-banner-today[b-pr4dzccud5] {
    background: rgba(220, 38, 38, 0.25);
    color: #fca5a5;
}

/* Stan: expired (minął) */
.deadline-banner-expired[b-pr4dzccud5] {
    background: rgba(0, 0, 0, 0.04);
    border-left-color: #6b7280;
    color: #4b5563;
}

html[data-theme-mode="dark"] .deadline-banner-expired[b-pr4dzccud5] {
    background: rgba(255, 255, 255, 0.04);
    color: #9ca3af;
}
/* /Components/Approvals/FirmaSelector.razor.rz.scp.css */
.firma-selector[b-rtkq1efgrn] {
    max-width: 50rem;
    margin: 2rem auto;
}

.fs-title[b-rtkq1efgrn] {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
}

.fs-lead[b-rtkq1efgrn] {
    margin: 0 0 1.5rem 0;
    opacity: 0.8;
}

.fs-tiles[b-rtkq1efgrn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.85rem;
}

.fs-tile[b-rtkq1efgrn] {
    display: block;
    padding: 1.1rem 1.25rem;
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dxbl-page-color);
    transition: border-color 0.12s ease, transform 0.05s ease, box-shadow 0.12s ease;
}

.fs-tile:hover[b-rtkq1efgrn] {
    border-color: var(--dxbl-accent-color-100);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.fs-tile-name[b-rtkq1efgrn] {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fs-tile-count[b-rtkq1efgrn] {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.fs-tile-count strong[b-rtkq1efgrn] {
    color: var(--dxbl-accent-color-100);
    font-size: 1.15rem;
}

.fs-tile-deadline[b-rtkq1efgrn] {
    font-size: 0.85rem;
}
/* /Components/Approvals/InvoicePreview.razor.rz.scp.css */
.invoice-preview[b-7pmi26fb6i] {
    margin: 1rem 0 1.25rem 0;
    padding: 1rem;
    background: var(--dxbl-page-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
}

.ip-topbar[b-7pmi26fb6i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.ip-ksef[b-7pmi26fb6i] {
    font-size: 0.78rem;
    opacity: 0.6;
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;
}

.ip-correction-ref[b-7pmi26fb6i] {
    margin-bottom: 0.85rem;
    padding: 0.5rem 0.75rem;
    background: rgba(234, 88, 12, 0.08);
    border-left: 3px solid #ea580c;
    border-radius: 4px;
    font-size: 0.88rem;
}

html[data-theme-mode="dark"] .ip-correction-ref[b-7pmi26fb6i] {
    background: rgba(251, 146, 60, 0.1);
}

.ip-corr-hash[b-7pmi26fb6i] {
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;
    font-size: 0.82rem;
    opacity: 0.8;
    margin-left: 0.3rem;
}

.ip-num[b-7pmi26fb6i] {
    font-size: 0.78rem;
    opacity: 0.6;
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;
}

.ip-topbar-right[b-7pmi26fb6i] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Link weryfikacyjny KSeF — podgląd oryginału faktury w KSeF (otwiera w nowej karcie). */
.ip-verify-link[b-7pmi26fb6i] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--dxbl-accent-color-100);
    border-radius: 6px;
    color: var(--dxbl-accent-color-100);
    background: var(--dxbl-accent-color-10);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease;
}

.ip-verify-link:hover[b-7pmi26fb6i] {
    background: var(--dxbl-accent-color-100);
    color: #fff;
}

html[data-theme-mode="dark"] .ip-verify-link[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme-mode="dark"] .ip-verify-link:hover[b-7pmi26fb6i] {
    background: var(--dxbl-accent-color-100);
    color: #fff;
}

.ip-verify-icon[b-7pmi26fb6i] {
    font-size: 0.9em;
    line-height: 1;
}

.ip-verify-row[b-7pmi26fb6i] {
    margin-top: 0.4rem;
}

/* Banner waluty obcej — kwoty w walucie + VAT w PLN. */
.ip-currency-note[b-7pmi26fb6i] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding: 0.5rem 0.75rem;
    background: var(--dxbl-accent-color-10);
    border-left: 3px solid var(--dxbl-accent-color-100);
    border-radius: 4px;
    font-size: 0.86rem;
    line-height: 1.45;
}

html[data-theme-mode="dark"] .ip-currency-note[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.05);
}

.ip-cur-badge[b-7pmi26fb6i] {
    flex-shrink: 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ip-cur-text[b-7pmi26fb6i] {
    opacity: 0.9;
}

/* Adnotacje (MPP, odwrotne obciążenie, marża, …) — pigułki. */
.ip-annotations[b-7pmi26fb6i] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.ip-annot[b-7pmi26fb6i] {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--dxbl-page-border-color);
    white-space: nowrap;
}

html[data-theme-mode="dark"] .ip-annot[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.08);
}

/* MPP wyróżniona — to obowiązek płatniczy, klient ma zwrócić uwagę. */
.ip-annot-strong[b-7pmi26fb6i] {
    background: var(--dxbl-accent-color-100);
    color: #fff;
    border-color: var(--dxbl-accent-color-100);
    font-weight: 600;
}

/* Blok przeliczenia na PLN (waluty obce) — wizualnie odróżniony od totali w walucie. */
.ip-pln-box[b-7pmi26fb6i] {
    margin-top: 0.75rem;
    padding: 0.6rem 0.5rem 0.5rem 0.75rem;
    border-top: none;
    border-left: 3px solid var(--dxbl-accent-color-100);
    background: var(--dxbl-accent-color-10);
    border-radius: 0 6px 6px 0;
}

html[data-theme-mode="dark"] .ip-pln-box[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.05);
}

.ip-pln-title[b-7pmi26fb6i] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
    margin-bottom: 0.35rem;
}

.ip-pln-hint[b-7pmi26fb6i] {
    margin-top: 0.4rem;
    font-size: 0.74rem;
    opacity: 0.6;
    line-height: 1.4;
}

/* Podmioty */
.ip-parties[b-7pmi26fb6i] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.ip-party[b-7pmi26fb6i] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 0.65rem;
    background: rgba(0, 0, 0, 0.025);
    border-radius: 5px;
}

html[data-theme-mode="dark"] .ip-party[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.04);
}

.ip-party-third[b-7pmi26fb6i] {
    border-left: 3px solid var(--dxbl-accent-color-60);
}

.ip-party-role[b-7pmi26fb6i] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.55;
}

.ip-party-name[b-7pmi26fb6i] {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.25;
}

.ip-party-nip[b-7pmi26fb6i] {
    font-size: 0.78rem;
    opacity: 0.7;
    font-variant-numeric: tabular-nums;
}

.ip-corr-reason[b-7pmi26fb6i] {
    margin-top: 0.2rem;
    opacity: 0.8;
}

/* Podsumowanie VAT per stawka */
.ip-vat-table[b-7pmi26fb6i] {
    width: 100%;
    max-width: 22rem;
    margin: 0 0 1rem auto;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.ip-vat-table thead th[b-7pmi26fb6i] {
    text-align: left;
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
    border-bottom: 1px solid var(--dxbl-page-border-color);
}

.ip-vat-table td[b-7pmi26fb6i] {
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    font-variant-numeric: tabular-nums;
}

.ip-vat-table tbody tr:last-child td[b-7pmi26fb6i] {
    border-bottom: none;
}

/* th.ip-vt-num podbity ponad `.ip-vat-table thead th { text-align:left }` — inaczej nagłówki kwot do lewej. */
.ip-vt-num[b-7pmi26fb6i],
.ip-vat-table thead th.ip-vt-num[b-7pmi26fb6i] {
    text-align: right;
    white-space: nowrap;
}

.ip-vt-dash[b-7pmi26fb6i] {
    opacity: 0.4;
}

.ip-settlement-note[b-7pmi26fb6i] {
    margin-bottom: 0.85rem;
    padding: 0.6rem 0.75rem;
    background: var(--dxbl-accent-color-10);
    border-left: 3px solid var(--dxbl-accent-color-100);
    border-radius: 4px;
    font-size: 0.88rem;
    line-height: 1.45;
}

html[data-theme-mode="dark"] .ip-settlement-note[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.05);
}

.ip-loading[b-7pmi26fb6i] {
    opacity: 0.7;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.ip-no-lines[b-7pmi26fb6i] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    margin-bottom: 1rem;
}

html[data-theme-mode="dark"] .ip-no-lines[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.04);
}

.ip-no-lines small[b-7pmi26fb6i] {
    opacity: 0.7;
    line-height: 1.4;
}

/* Tabela pozycji — nazwa + ilość + stawka + jedna wartość */
.ip-table[b-7pmi26fb6i] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ip-table thead th[b-7pmi26fb6i] {
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.65;
}

/* Wyższa specyficzność niż `.ip-table thead th { text-align:left }` — inaczej nagłówki kwot
   zostają do lewej mimo .ip-th-amt. */
.ip-table thead th.ip-th-qty[b-7pmi26fb6i],
.ip-table thead th.ip-th-rate[b-7pmi26fb6i],
.ip-table thead th.ip-th-amt[b-7pmi26fb6i] {
    text-align: right;
    white-space: nowrap;
}

.ip-th-nr[b-7pmi26fb6i] {
    width: 2rem;
}

.ip-th-amt[b-7pmi26fb6i] {
    width: 5.5rem;
}

/* Sekcje korekty: przed / po */
.ip-corr-block[b-7pmi26fb6i] {
    margin-bottom: 1rem;
}

.ip-section-title[b-7pmi26fb6i] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.5rem;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0.2rem;
}

.ip-section-before[b-7pmi26fb6i] {
    background: rgba(0, 0, 0, 0.05);
    opacity: 0.8;
}

html[data-theme-mode="dark"] .ip-section-before[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.06);
}

.ip-section-after[b-7pmi26fb6i] {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}

html[data-theme-mode="dark"] .ip-section-after[b-7pmi26fb6i] {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.ip-section-sum[b-7pmi26fb6i] {
    text-align: right;
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
    padding: 0.35rem 0.5rem;
    opacity: 0.85;
}

.ip-table tbody td[b-7pmi26fb6i] {
    padding: 0.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.ip-table tbody tr:last-child td[b-7pmi26fb6i] {
    border-bottom: none;
}

.ip-td-nr[b-7pmi26fb6i] {
    opacity: 0.55;
    font-variant-numeric: tabular-nums;
}

.ip-td-name[b-7pmi26fb6i] {
    line-height: 1.35;
}

.ip-td-qty[b-7pmi26fb6i], .ip-td-rate[b-7pmi26fb6i], .ip-td-amt[b-7pmi26fb6i] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ip-td-rate[b-7pmi26fb6i] {
    opacity: 0.75;
}

/* Blok totali — z autorytatywnego podsumowania faktury (nie suma pozycji) */
.ip-totals-box[b-7pmi26fb6i] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0.5rem 0.25rem 0.5rem;
    border-top: 2px solid var(--dxbl-page-border-color);
    max-width: 20rem;
    margin-left: auto;
}

.ip-total-row[b-7pmi26fb6i] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    font-variant-numeric: tabular-nums;
}

.ip-total-label[b-7pmi26fb6i] {
    font-size: 0.85rem;
    opacity: 0.7;
}

.ip-total-gross[b-7pmi26fb6i] {
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--dxbl-page-border-color);
    font-size: 1.05rem;
}

.ip-total-gross .ip-total-label[b-7pmi26fb6i] {
    opacity: 0.9;
    font-weight: 600;
}

.ip-total-correction[b-7pmi26fb6i] {
    color: #c2410c;
    padding-bottom: 0.35rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px dashed var(--dxbl-page-border-color);
}

html[data-theme-mode="dark"] .ip-total-correction[b-7pmi26fb6i] {
    color: #fb923c;
}

.ip-note[b-7pmi26fb6i] {
    margin: 0.85rem 0 0 0;
    font-size: 0.8rem;
    opacity: 0.65;
    line-height: 1.4;
}

/* === ZAL (zamówienie) / ROZ (rozliczenie zaliczek) === */
.ip-order-block[b-7pmi26fb6i],
.ip-settlement-block[b-7pmi26fb6i] {
    margin-bottom: 1rem;
}

/* Tytuł sekcji zamówienia/rozliczenia — w kolorze akcentu (odróżnienie od pomarańczowych korekt). */
.ip-section-order[b-7pmi26fb6i] {
    background: var(--dxbl-accent-color-10);
    color: var(--dxbl-accent-color-100);
}

html[data-theme-mode="dark"] .ip-section-order[b-7pmi26fb6i] {
    background: rgba(255, 255, 255, 0.06);
    color: var(--dxbl-accent-color-60);
}

.ip-adv-refs[b-7pmi26fb6i] {
    margin: 0.4rem 0 0.6rem 0;
    font-size: 0.88rem;
}

.ip-adv-label[b-7pmi26fb6i] {
    opacity: 0.7;
}

.ip-adv-refs ul[b-7pmi26fb6i] {
    margin: 0.25rem 0 0 0;
    padding-left: 1.25rem;
}

.ip-adv-refs li[b-7pmi26fb6i] {
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Tabela obciążeń/odliczeń — reużywa wyglądu ip-vat-table, ale pełna szerokość prawej kolumny. */
.ip-settle-table[b-7pmi26fb6i] {
    margin-top: 0.2rem;
}

/* Wiersze totali specyficzne dla ZAL/ROZ. */
.ip-total-extra[b-7pmi26fb6i] {
    opacity: 0.8;
    font-size: 0.9rem;
}

.ip-total-topay[b-7pmi26fb6i] {
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--dxbl-page-border-color);
    font-size: 1.05rem;
    color: var(--dxbl-accent-color-100);
}

.ip-total-topay .ip-total-label[b-7pmi26fb6i] {
    opacity: 0.9;
    font-weight: 600;
}

html[data-theme-mode="dark"] .ip-total-topay[b-7pmi26fb6i] {
    color: var(--dxbl-accent-color-60);
}

@media (max-width: 640px) {
    /* Na wąskim ekranie chowamy Ilość (3), Netto (5), VAT (6) — zostają #, Pozycja, Stawka, Brutto. */
    .ip-table th:nth-child(3)[b-7pmi26fb6i], .ip-table td:nth-child(3)[b-7pmi26fb6i],
    .ip-table th:nth-child(5)[b-7pmi26fb6i], .ip-table td:nth-child(5)[b-7pmi26fb6i],
    .ip-table th:nth-child(6)[b-7pmi26fb6i], .ip-table td:nth-child(6)[b-7pmi26fb6i] {
        display: none;
    }

    .ip-table[b-7pmi26fb6i] {
        font-size: 0.85rem;
    }

    .ip-totals-box[b-7pmi26fb6i] {
        max-width: none;
    }

    .ip-parties[b-7pmi26fb6i] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Approvals/InvoiceReview.razor.rz.scp.css */
.invoice-review[b-wiiscnt2yl] {
    max-width: 52rem;
    margin: 0 auto;
}

/* === Komentarz (uzasadnienie / opcjonalny) === */
.ir-comment[b-wiiscnt2yl] {
    margin-top: 1rem;
}

.ir-comment label[b-wiiscnt2yl] {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--dxbl-page-color);
}

.ir-required[b-wiiscnt2yl] {
    font-weight: 400;
    opacity: 0.75;
    font-size: 0.85rem;
    color: var(--dxbl-accent-color-120);
}

html[data-theme-mode="dark"] .ir-required[b-wiiscnt2yl] {
    color: var(--dxbl-accent-color-40);
}

.ir-optional[b-wiiscnt2yl] {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.85rem;
}

.ir-comment-input[b-wiiscnt2yl] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--dxbl-accent-color-60);
    border-radius: 6px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 3.5rem;
}

.ir-comment-input:focus[b-wiiscnt2yl] {
    outline: 2px solid var(--dxbl-accent-color-100);
    outline-offset: 1px;
    border-color: transparent;
}

/* === Przyciski decyzji (jeden spójny commit) === */
.ir-decide[b-wiiscnt2yl] {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.ir-btn[b-wiiscnt2yl] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1.02rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.ir-btn:disabled[b-wiiscnt2yl] {
    opacity: 0.5;
    cursor: not-allowed;
}

.ir-btn:not(:disabled):active[b-wiiscnt2yl] {
    transform: translateY(1px);
}

.ir-btn-accept[b-wiiscnt2yl] {
    background: #16a34a;
    color: white;
}

.ir-btn-accept:not(:disabled):hover[b-wiiscnt2yl] {
    background: #15803d;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.ir-btn-reject[b-wiiscnt2yl] {
    background: transparent;
    color: #dc2626;
    border-color: #dc2626;
}

.ir-btn-reject:not(:disabled):hover[b-wiiscnt2yl] {
    background: rgba(220, 38, 38, 0.08);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

html[data-theme-mode="dark"] .ir-btn-reject[b-wiiscnt2yl] {
    color: #f87171;
    border-color: #ef4444;
}

html[data-theme-mode="dark"] .ir-btn-reject:not(:disabled):hover[b-wiiscnt2yl] {
    background: rgba(248, 113, 113, 0.12);
}

.ir-btn-icon[b-wiiscnt2yl] {
    font-size: 1.2rem;
    line-height: 1;
}

.ir-btn-label[b-wiiscnt2yl] {
    line-height: 1.1;
}

/* === Potwierdzenie odrzucenia (inline alertdialog) === */
.ir-reject-confirm[b-wiiscnt2yl] {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #dc2626;
    border-left-width: 4px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.06);
}

html[data-theme-mode="dark"] .ir-reject-confirm[b-wiiscnt2yl] {
    border-color: #ef4444;
    background: rgba(248, 113, 113, 0.1);
}

.ir-rc-title[b-wiiscnt2yl] {
    margin: 0;
    font-size: 1.05rem;
}

.ir-rc-text[b-wiiscnt2yl] {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.45;
}

.ir-reject-confirm label[b-wiiscnt2yl] {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.35rem;
}

.ir-rc-actions[b-wiiscnt2yl] {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.ir-btn-cancel[b-wiiscnt2yl] {
    flex: 0 1 auto;
    background: transparent;
    color: var(--dxbl-page-color);
    border-color: var(--dxbl-page-border-color);
}

.ir-btn-cancel:not(:disabled):hover[b-wiiscnt2yl] {
    background: rgba(0, 0, 0, 0.05);
}

html[data-theme-mode="dark"] .ir-btn-cancel:not(:disabled):hover[b-wiiscnt2yl] {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 540px) {
    .ir-rc-actions[b-wiiscnt2yl] {
        flex-direction: column;
    }
}

.ir-error[b-wiiscnt2yl] {
    margin-top: 0.85rem;
    padding: 0.6rem 0.85rem;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-radius: 6px;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .ir-error[b-wiiscnt2yl] {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

@media (max-width: 540px) {
    .ir-decide[b-wiiscnt2yl] {
        flex-direction: column;
    }
}

/* Banner pytania biura — wyróżniony, akcentowy. */
.ir-office-question[b-wiiscnt2yl] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    background: var(--dxbl-accent-color-10);
    border: 1px solid var(--dxbl-accent-color-60);
    border-left: 4px solid var(--dxbl-accent-color-100);
    border-radius: 8px;
}

html[data-theme-mode="dark"] .ir-office-question[b-wiiscnt2yl] {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--dxbl-accent-color-100);
}

.ir-oq-icon[b-wiiscnt2yl] {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.ir-oq-text strong[b-wiiscnt2yl] {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--dxbl-accent-color-130);
}

html[data-theme-mode="dark"] .ir-oq-text strong[b-wiiscnt2yl] {
    color: var(--dxbl-accent-color-40);
}

.ir-oq-text p[b-wiiscnt2yl] {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.4;
}

.ir-oq-hint[b-wiiscnt2yl] {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    opacity: 0.75;
    font-style: italic;
}

.ir-card[b-wiiscnt2yl] {
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ir-header[b-wiiscnt2yl] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    margin-bottom: 1rem;
}

.ir-counterparty[b-wiiscnt2yl] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dxbl-page-color);
    line-height: 1.3;
}

.ir-amount[b-wiiscnt2yl] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dxbl-accent-color-110);
    text-align: right;
    white-space: nowrap;
}

html[data-theme-mode="dark"] .ir-amount[b-wiiscnt2yl] {
    color: var(--dxbl-accent-color-40);
}

.ir-amount-label[b-wiiscnt2yl] {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.1rem;
}

.ir-meta[b-wiiscnt2yl] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin: 0 0 1.25rem 0;
}

.ir-meta-row[b-wiiscnt2yl] {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0.85rem;
    margin: 0;
    align-items: baseline;
}

.ir-meta-row dt[b-wiiscnt2yl] {
    font-size: 0.85rem;
    opacity: 0.65;
    margin: 0;
    font-weight: 400;
}

.ir-meta-row dd[b-wiiscnt2yl] {
    margin: 0;
    font-size: 0.95rem;
}

.ir-ksef[b-wiiscnt2yl] {
    background: rgba(0, 0, 0, 0.04);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", monospace;
}

html[data-theme-mode="dark"] .ir-ksef[b-wiiscnt2yl] {
    background: rgba(255, 255, 255, 0.08);
}

.ir-html-placeholder[b-wiiscnt2yl] {
    display: flex;
    gap: 0.85rem;
    padding: 1.25rem;
    background: var(--dxbl-accent-color-10);
    border: 1px dashed var(--dxbl-accent-color-40);
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

html[data-theme-mode="dark"] .ir-html-placeholder[b-wiiscnt2yl] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.ir-html-icon[b-wiiscnt2yl] {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.ir-html-text strong[b-wiiscnt2yl] {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dxbl-page-color);
}

.ir-html-text p[b-wiiscnt2yl] {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.75;
    line-height: 1.4;
}

@media (max-width: 540px) {
    .ir-card[b-wiiscnt2yl] {
        padding: 1rem;
    }

    .ir-header[b-wiiscnt2yl] {
        flex-direction: column;
        align-items: stretch;
    }

    .ir-amount[b-wiiscnt2yl] {
        text-align: left;
    }

    .ir-meta-row[b-wiiscnt2yl] {
        grid-template-columns: 1fr;
        gap: 0.1rem;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid var(--dxbl-page-border-color);
    }
}

/* === Pojazd (wskazanie pojazdu, którego dotyczy faktura) === */

.ir-vehicle[b-wiiscnt2yl] {
    margin-top: 1rem;
}

.ir-vehicle-alert[b-wiiscnt2yl] {
    padding: 0.85rem 1rem;
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(217, 119, 6, 0.45);
    border-left: 4px solid #d97706;
    border-radius: 6px;
}

html[data-theme-mode="dark"] .ir-vehicle-alert[b-wiiscnt2yl] {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.5);
}

.ir-vehicle-banner[b-wiiscnt2yl] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.ir-vehicle-icon[b-wiiscnt2yl] {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.ir-vehicle-banner-text strong[b-wiiscnt2yl] {
    display: block;
    margin-bottom: 0.2rem;
    color: #92400e;
}

html[data-theme-mode="dark"] .ir-vehicle-banner-text strong[b-wiiscnt2yl] {
    color: #fbbf24;
}

.ir-vehicle-banner-text p[b-wiiscnt2yl] {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ir-vehicle-toggle[b-wiiscnt2yl] {
    background: none;
    border: 1px dashed var(--dxbl-page-border-color, #cbd5e1);
    border-radius: 6px;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.85;
}

.ir-vehicle-toggle:hover:not(:disabled)[b-wiiscnt2yl] {
    opacity: 1;
    border-style: solid;
}

.ir-vehicle-form label[b-wiiscnt2yl] {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.ir-vehicle-select[b-wiiscnt2yl],
.ir-vehicle-input[b-wiiscnt2yl] {
    width: 100%;
    padding: 0.5rem 0.65rem;
    font-size: 0.95rem;
    border: 1px solid var(--dxbl-page-border-color, #cbd5e1);
    border-radius: 6px;
    background: var(--dxbl-page-bg, #fff);
    color: inherit;
    margin-bottom: 0.65rem;
}

html[data-theme-mode="dark"] .ir-vehicle-select[b-wiiscnt2yl],
html[data-theme-mode="dark"] .ir-vehicle-input[b-wiiscnt2yl] {
    background: rgba(255, 255, 255, 0.05);
}

.ir-vehicle-new[b-wiiscnt2yl] {
    margin-top: 0.25rem;
}

.ir-vehicle-invalid[b-wiiscnt2yl] {
    display: block;
    margin: -0.35rem 0 0.65rem;
    font-size: 0.85rem;
    color: #dc2626;
}

.ir-vehicle-params[b-wiiscnt2yl] {
    border: 1px solid var(--dxbl-page-border-color, #cbd5e1);
    border-radius: 6px;
    padding: 0.6rem 0.9rem 0.75rem;
    margin: 0;
}

.ir-vehicle-params legend[b-wiiscnt2yl] {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0 0.35rem;
    opacity: 0.8;
}

.ir-vehicle-check[b-wiiscnt2yl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 400 !important;
    margin-bottom: 0.35rem !important;
    cursor: pointer;
}

.ir-vehicle-check input[type="checkbox"][b-wiiscnt2yl] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.ir-vehicle-hint[b-wiiscnt2yl] {
    display: block;
    font-size: 0.85rem;
    opacity: 0.75;
    font-style: italic;
}
/* /Components/Approvals/InvoiceTypeBadge.razor.rz.scp.css */
.itb[b-q426lp4p2f] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.itb-icon[b-q426lp4p2f] {
    font-size: 0.9rem;
    line-height: 1;
}

.itb-normal[b-q426lp4p2f] {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dxbl-page-color);
    opacity: 0.85;
}

html[data-theme-mode="dark"] .itb-normal[b-q426lp4p2f] {
    background: rgba(255, 255, 255, 0.08);
}

.itb-info[b-q426lp4p2f] {
    background: var(--dxbl-accent-color-20);
    color: var(--dxbl-accent-color-130);
}

html[data-theme-mode="dark"] .itb-info[b-q426lp4p2f] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dxbl-accent-color-40);
}

.itb-warn[b-q426lp4p2f] {
    background: rgba(234, 88, 12, 0.15);
    color: #c2410c;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

html[data-theme-mode="dark"] .itb-warn[b-q426lp4p2f] {
    background: rgba(251, 146, 60, 0.18);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.35);
}
/* /Components/Approvals/LineExclusionPanel.razor.rz.scp.css */
.line-exclusion[b-9807auxm5u] {
    margin-top: 0.5rem;
    border-top: 1px dashed var(--dxbl-page-border-color);
    padding-top: 0.75rem;
}

.lep-disclosure[b-9807auxm5u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--dxbl-page-color);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    opacity: 0.85;
}

.lep-disclosure:hover[b-9807auxm5u] {
    opacity: 1;
    color: var(--dxbl-accent-color-110);
}

html[data-theme-mode="dark"] .lep-disclosure:hover[b-9807auxm5u] {
    color: var(--dxbl-accent-color-40);
}

.lep-disclosure-icon[b-9807auxm5u] {
    font-size: 0.8rem;
    opacity: 0.7;
    flex-shrink: 0;
    width: 0.85rem;
    transition: transform 0.15s ease;
}

.lep-panel[b-9807auxm5u] {
    padding: 1rem;
    margin-top: 0.5rem;
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
}

.lep-loading[b-9807auxm5u],
.lep-empty[b-9807auxm5u] {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Tabela pozycji */
.lep-table[b-9807auxm5u] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.lep-table thead th[b-9807auxm5u] {
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.65;
}

.lep-th-qty[b-9807auxm5u],
.lep-th-amount[b-9807auxm5u] {
    text-align: right;
    white-space: nowrap;
}

.lep-th-exclude[b-9807auxm5u] {
    text-align: center;
    width: 4rem;
}

.lep-table tbody tr[b-9807auxm5u] {
    border-bottom: 1px solid var(--dxbl-page-border-color);
    transition: background 0.1s ease;
}

.lep-table tbody tr:last-child[b-9807auxm5u] {
    border-bottom: none;
}

.lep-table tbody tr:hover[b-9807auxm5u] {
    background: rgba(0, 0, 0, 0.02);
}

html[data-theme-mode="dark"] .lep-table tbody tr:hover[b-9807auxm5u] {
    background: rgba(255, 255, 255, 0.03);
}

.lep-row-excluded[b-9807auxm5u] {
    opacity: 0.55;
    text-decoration: line-through;
}

.lep-row-excluded:hover[b-9807auxm5u] {
    opacity: 0.75;
}

.lep-table td[b-9807auxm5u] {
    padding: 0.5rem;
    vertical-align: top;
}

.lep-td-num[b-9807auxm5u] {
    color: var(--dxbl-page-color);
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
    width: 2rem;
}

.lep-line-name[b-9807auxm5u] {
    display: block;
    line-height: 1.3;
}

.lep-vat-rate[b-9807auxm5u] {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    opacity: 0.6;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.05rem 0.35rem;
    border-radius: 3px;
}

html[data-theme-mode="dark"] .lep-vat-rate[b-9807auxm5u] {
    background: rgba(255, 255, 255, 0.06);
}

.lep-td-qty[b-9807auxm5u],
.lep-td-amount[b-9807auxm5u] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lep-td-exclude[b-9807auxm5u] {
    text-align: center;
}

.lep-checkbox[b-9807auxm5u] {
    width: 1.15rem;
    height: 1.15rem;
    cursor: pointer;
    accent-color: #dc2626;
}

.lep-row-excluded .lep-checkbox[b-9807auxm5u] {
    accent-color: #dc2626;
}

/* Summary */
.lep-summary[b-9807auxm5u] {
    padding: 0.6rem 0.85rem;
    margin-bottom: 1rem;
    background: var(--dxbl-accent-color-10);
    border-left: 3px solid var(--dxbl-accent-color-100);
    border-radius: 4px;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .lep-summary[b-9807auxm5u] {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--dxbl-accent-color-60);
}

.lep-summary-all[b-9807auxm5u] {
    color: #dc2626;
}

html[data-theme-mode="dark"] .lep-summary-all[b-9807auxm5u] {
    color: #f87171;
}

/* Komentarz */
.lep-comment[b-9807auxm5u] {
    margin-bottom: 1rem;
}

.lep-comment label[b-9807auxm5u] {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

.lep-required[b-9807auxm5u] {
    color: var(--dxbl-accent-color-120);
    font-weight: 600;
}

html[data-theme-mode="dark"] .lep-required[b-9807auxm5u] {
    color: var(--dxbl-accent-color-40);
}

.lep-comment-input[b-9807auxm5u] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.lep-comment-input:focus[b-9807auxm5u] {
    outline: 2px solid var(--dxbl-accent-color-100);
    outline-offset: 1px;
    border-color: transparent;
}

/* Akcje */
.lep-actions[b-9807auxm5u] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.lep-cancel[b-9807auxm5u],
.lep-save[b-9807auxm5u] {
    padding: 0.55rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
}

.lep-cancel[b-9807auxm5u] {
    background: transparent;
    color: var(--dxbl-page-color);
    border-color: var(--dxbl-page-border-color);
}

.lep-cancel:not(:disabled):hover[b-9807auxm5u] {
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme-mode="dark"] .lep-cancel:not(:disabled):hover[b-9807auxm5u] {
    background: rgba(255, 255, 255, 0.06);
}

.lep-save[b-9807auxm5u] {
    background: var(--dxbl-accent-color-100);
    color: white;
    font-weight: 600;
}

.lep-save:not(:disabled):hover[b-9807auxm5u] {
    background: var(--dxbl-accent-color-110);
}

.lep-cancel:disabled[b-9807auxm5u],
.lep-save:disabled[b-9807auxm5u] {
    opacity: 0.5;
    cursor: wait;
}

.lep-error[b-9807auxm5u] {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-radius: 5px;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .lep-error[b-9807auxm5u] {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

/* Mobile — uproszczamy tabelę */
@media (max-width: 540px) {
    .lep-th-qty[b-9807auxm5u],
    .lep-td-qty[b-9807auxm5u] {
        display: none;
    }

    .lep-panel[b-9807auxm5u] {
        padding: 0.75rem;
    }

    .lep-table[b-9807auxm5u] {
        font-size: 0.85rem;
    }
}
/* /Components/Approvals/PartnerDecisionNotice.razor.rz.scp.css */
.partner-notice[b-rihd2fzwm7] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
    background: var(--dxbl-accent-color-10);
    color: var(--dxbl-accent-color-130);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .partner-notice[b-rihd2fzwm7] {
    background: rgba(255, 255, 255, 0.06);
    color: var(--dxbl-accent-color-40);
}

.pn-icon[b-rihd2fzwm7] {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.pn-text[b-rihd2fzwm7] {
    line-height: 1.4;
}
/* /Components/Approvals/PeriodDeclaration.razor.rz.scp.css */
.period-decl[b-2zks68wapo] {
    max-width: 40rem;
    margin: 0 auto;
}

.pd-card[b-2zks68wapo] {
    background: var(--dxbl-content-bg);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pd-title[b-2zks68wapo] {
    margin: 0 0 0.25rem 0;
    font-size: 1.35rem;
}

.pd-lead[b-2zks68wapo] {
    margin: 0 0 1.25rem 0;
    opacity: 0.8;
    line-height: 1.45;
}

.pd-group[b-2zks68wapo] {
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
    padding: 0.85rem 1rem 1rem;
    margin: 0 0 1rem 0;
}

.pd-group legend[b-2zks68wapo] {
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0 0.4rem;
}

.pd-option[b-2zks68wapo] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.pd-option:hover[b-2zks68wapo] {
    background: var(--dxbl-accent-color-10);
}

html[data-theme-mode="dark"] .pd-option:hover[b-2zks68wapo] {
    background: rgba(255, 255, 255, 0.05);
}

.pd-option input[type="radio"][b-2zks68wapo] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--dxbl-accent-color-100);
    flex-shrink: 0;
}

.pd-paper-hint[b-2zks68wapo] {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    background: var(--dxbl-accent-color-10);
    border: 1px solid var(--dxbl-accent-color-60);
    border-left: 4px solid var(--dxbl-accent-color-100);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
}

html[data-theme-mode="dark"] .pd-paper-hint[b-2zks68wapo] {
    background: rgba(255, 255, 255, 0.05);
}

.pd-ph-ico[b-2zks68wapo] {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.pd-submit[b-2zks68wapo] {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #16a34a;
    color: white;
    font-size: 1.02rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.pd-submit:disabled[b-2zks68wapo] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pd-submit:not(:disabled):hover[b-2zks68wapo] {
    background: #15803d;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.pd-error[b-2zks68wapo] {
    margin-top: 0.85rem;
    padding: 0.6rem 0.85rem;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-radius: 6px;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .pd-error[b-2zks68wapo] {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

@media (max-width: 540px) {
    .pd-card[b-2zks68wapo] {
        padding: 1rem;
    }
}
/* /Components/Approvals/ProgressIndicator.razor.rz.scp.css */
.progress-indicator[b-mol01vzdgd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.pi-counter[b-mol01vzdgd] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dxbl-page-color);
}

.pi-dots[b-mol01vzdgd] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.pi-dot[b-mol01vzdgd] {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    border: 1px solid var(--dxbl-page-border-color);
    flex-shrink: 0;
}

.pi-dot-pending[b-mol01vzdgd] {
    background: transparent;
}

.pi-dot-done[b-mol01vzdgd] {
    background: var(--dxbl-accent-color-60);
    border-color: var(--dxbl-accent-color-60);
}

.pi-dot-active[b-mol01vzdgd] {
    background: var(--dxbl-accent-color-100);
    border-color: var(--dxbl-accent-color-100);
    width: 0.9rem;
    height: 0.9rem;
    box-shadow: 0 0 0 3px var(--dxbl-accent-color-20);
}
/* /Components/Documents/DocumentUpload.razor.rz.scp.css */
.du-card[b-5roaqw7reu] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.du-period[b-5roaqw7reu] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.du-period-field[b-5roaqw7reu] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.82rem;
}

.du-period-field > span[b-5roaqw7reu] {
    font-weight: 500;
    opacity: 0.8;
}

.du-input[b-5roaqw7reu] {
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 7px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-family: inherit;
    font-size: 0.9rem;
}

.du-input:focus[b-5roaqw7reu] {
    outline: none;
    border-color: var(--dxbl-accent-color-100);
}

.du-year[b-5roaqw7reu] {
    width: 6rem;
}

.du-period-hint[b-5roaqw7reu] {
    font-size: 0.76rem;
    opacity: 0.6;
    padding-bottom: 0.45rem;
}

.du-drop[b-5roaqw7reu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem;
    border: 1.5px dashed var(--dxbl-page-border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.du-drop:hover[b-5roaqw7reu] {
    border-color: var(--dxbl-accent-color-100);
    background: var(--dxbl-accent-color-10);
}

.du-drop-busy[b-5roaqw7reu] {
    opacity: 0.7;
    pointer-events: none;
}

.du-drop-text[b-5roaqw7reu] {
    font-size: 0.88rem;
    opacity: 0.85;
    text-align: center;
}

/* Input file: zostawiamy natywny, ale dyskretny */
.du-drop[b-5roaqw7reu]  input[type="file"] {
    font-size: 0.82rem;
}

.du-list[b-5roaqw7reu] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.du-item[b-5roaqw7reu] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.6rem;
    border-radius: 7px;
    font-size: 0.85rem;
    background: var(--dxbl-page-bg);
    border: 1px solid var(--dxbl-page-border-color);
}

.du-ico[b-5roaqw7reu] {
    flex: 0 0 auto;
    font-weight: 700;
}

.du-name[b-5roaqw7reu] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.du-status[b-5roaqw7reu] {
    flex: 0 0 auto;
    font-size: 0.78rem;
    opacity: 0.75;
}

.du-ok[b-5roaqw7reu] {
    border-color: var(--dxbl-accent-color-100);
}

.du-ok .du-ico[b-5roaqw7reu] {
    color: var(--dxbl-accent-color-100);
}

.du-dup .du-ico[b-5roaqw7reu] {
    color: #d97706;
}

.du-err[b-5roaqw7reu] {
    border-color: rgba(220, 38, 38, 0.4);
}

.du-err .du-ico[b-5roaqw7reu],
.du-err .du-status[b-5roaqw7reu] {
    color: #dc2626;
    opacity: 1;
}

.du-existing[b-5roaqw7reu] {
    margin-top: 0.4rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--dxbl-page-border-color);
}

.du-existing-head[b-5roaqw7reu] {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.du-existing-empty[b-5roaqw7reu] {
    font-size: 0.84rem;
    opacity: 0.6;
    margin: 0;
}

.du-files[b-5roaqw7reu] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.du-file[b-5roaqw7reu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 7px;
    font-size: 0.85rem;
}

.du-file-link[b-5roaqw7reu] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    color: var(--dxbl-accent-color-100);
    text-decoration: none;
}

.du-file-link:hover[b-5roaqw7reu] {
    text-decoration: underline;
}

.du-file-ico[b-5roaqw7reu] {
    flex: 0 0 auto;
}

.du-file-name[b-5roaqw7reu] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.du-file-meta[b-5roaqw7reu] {
    flex: 0 0 auto;
    font-size: 0.76rem;
    opacity: 0.65;
    white-space: nowrap;
}

/* Status obrobki dokumentu w biurze (C5): klient wreszcie widzi, co sie dzieje z plikiem. */
.du-file-status[b-5roaqw7reu] {
    display: inline-block;
    margin-left: .5rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    font-size: .78rem;
    white-space: nowrap;
}
.du-status-ok[b-5roaqw7reu]      { background: #e6f4ea; color: #1e7e34; border: 1px solid #b7e1c0; }
.du-status-bad[b-5roaqw7reu]     { background: #fce8e6; color: #b02a1e; border: 1px solid #f5c6c0; }
.du-status-neutral[b-5roaqw7reu] { background: #eef1f4; color: #555;    border: 1px solid #d9dee3; }
/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-layout[b-qt3zuf58t8] {
    display: flex;
    min-height: 100vh;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
}

.admin-sidebar[b-qt3zuf58t8] {
    width: 240px;
    flex-shrink: 0;
    background: var(--dxbl-content-bg);
    border-right: 1px solid var(--dxbl-page-border-color);
    display: flex;
    flex-direction: column;
}

.admin-brand[b-qt3zuf58t8] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-brand-mark[b-qt3zuf58t8] {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.admin-brand-title[b-qt3zuf58t8] {
    font-weight: 600;
    font-size: 1.05rem;
}

.admin-main[b-qt3zuf58t8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar[b-qt3zuf58t8] {
    height: 3rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--dxbl-content-bg);
    flex-shrink: 0;
}

.admin-topbar-right[b-qt3zuf58t8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-user[b-qt3zuf58t8] {
    font-size: 0.9rem;
    opacity: 0.85;
}

.admin-logout-form[b-qt3zuf58t8] {
    margin: 0;
}

.admin-logout-btn[b-qt3zuf58t8] {
    padding: 0.35rem 0.7rem;
    background: transparent;
    color: var(--dxbl-page-color);
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
}

.admin-logout-btn:hover[b-qt3zuf58t8] {
    background: var(--dxbl-accent-color-10);
    border-color: var(--dxbl-accent-color-40);
}

.admin-content[b-qt3zuf58t8] {
    flex: 1;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .admin-layout[b-qt3zuf58t8] {
        flex-direction: column;
    }

    .admin-sidebar[b-qt3zuf58t8] {
        width: 100%;
    }

    .admin-content[b-qt3zuf58t8] {
        padding: 1rem;
    }
}
/* /Components/Layout/AdminNavMenu.razor.rz.scp.css */
/*
 * Style dla elementów bezpośrednio w templejcie AdminNavMenu (dostają [b-xxx] scope).
 *
 * Style dla .admin-nav-link* są w GLOBALNYM site.css — bo NavLink to child component
 * (Microsoft.AspNetCore.Components.Routing) który renderuje <a> bez naszego scope-atrybutu.
 * .admin-nav-link[b-xxx] nie matchuje → browser default wygrywa.
 */

.admin-nav-menu[b-mo38lbepba] {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-section-label[b-mo38lbepba] {
    padding: 0 0.85rem;
    margin: 0.5rem 0 0.35rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dxbl-page-color);
    opacity: 0.5;
}

.admin-nav-list[b-mo38lbepba] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.admin-nav-divider[b-mo38lbepba] {
    margin: 0.75rem 0.5rem;
    border: none;
    border-top: 1px solid var(--dxbl-page-border-color);
    opacity: 0.7;
}

.admin-nav-footer[b-mo38lbepba] {
    margin-top: auto;
    padding: 0.75rem 0.85rem;
    font-size: 0.72rem;
    color: var(--dxbl-page-color);
    opacity: 0.5;
    line-height: 1.4;
}
/* /Components/Layout/ClientLayout.razor.rz.scp.css */
/*
 * CSS isolation dla ClientLayout — selektory działają tylko w tym komponencie.
 * Używamy CSS variables z DevExpress Fluent (--dxbl-*) żeby theme/dark mode automatycznie
 * podmieniał kolory tła, tekstu, borderu.
 */

.client-layout[b-dytcsjcr8q] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--dxbl-page-bg, #fff);
    color: var(--dxbl-page-color, #1a1a1a);
}

.client-topbar[b-dytcsjcr8q] {
    display: flex;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color, #e0e0e0);
    background: var(--dxbl-content-bg, var(--dxbl-page-bg, #fafafa));
    flex-shrink: 0;
}

.client-topbar-right[b-dytcsjcr8q] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

/* Menu konta: <details> z nazwą użytkownika jako przyciskiem. */
.client-konto[b-dytcsjcr8q] {
    position: relative;
}

.client-konto-przycisk[b-dytcsjcr8q] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--dxbl-page-border-color, #e0e0e0);
    border-radius: 4px;
    cursor: pointer;
    list-style: none;
    font-size: 0.9rem;
    color: var(--dxbl-page-color);
    user-select: none;
}

.client-konto-przycisk[b-dytcsjcr8q]::-webkit-details-marker {
    display: none;
}

.client-konto-przycisk[b-dytcsjcr8q]::after {
    content: "▾";
    font-size: 0.7rem;
    opacity: 0.6;
}

.client-konto-przycisk:hover[b-dytcsjcr8q],
.client-konto[open] > .client-konto-przycisk[b-dytcsjcr8q] {
    background: var(--dxbl-accent-color-10);
    border-color: var(--dxbl-accent-color-40);
}

.client-user[b-dytcsjcr8q] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-konto-menu[b-dytcsjcr8q] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 50;
    display: flex;
    flex-direction: column;
    min-width: 11rem;
    padding: 0.3rem;
    background: var(--dxbl-page-bg, #fff);
    border: 1px solid var(--dxbl-page-border-color, #e0e0e0);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.client-konto-link[b-dytcsjcr8q] {
    display: block;
    width: 100%;
    padding: 0.45rem 0.7rem;
    border: none;
    border-radius: 4px;
    background: none;
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.client-konto-link:hover[b-dytcsjcr8q] {
    background: var(--dxbl-accent-color-10);
}

.client-logout-form[b-dytcsjcr8q] {
    margin: 0;
    padding-top: 0.3rem;
    margin-top: 0.3rem;
    border-top: 1px solid var(--dxbl-page-border-color, #e0e0e0);
}

.client-login-link[b-dytcsjcr8q] {
    padding: 0.35rem 0.8rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}

.client-login-link:hover[b-dytcsjcr8q] {
    background: var(--dxbl-accent-color-110);
}

.client-brand[b-dytcsjcr8q] {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--dxbl-page-color);   /* explicit, żeby DX nie nadpisał na inherit z innego elementu */
    text-decoration: none;
    white-space: nowrap;
}

.client-nav[b-dytcsjcr8q] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--dxbl-page-border-color);
}

.client-nav-link[b-dytcsjcr8q] {
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--dxbl-page-color);
    opacity: 0.8;
    text-decoration: none;
}

.client-nav-link:hover[b-dytcsjcr8q] {
    opacity: 1;
    color: var(--dxbl-accent-color-100);
}

.client-content[b-dytcsjcr8q] {
    flex: 1;
    padding: 2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    /* Telefon: nazwa + konto + motyw w pierwszym wierszu, działy w drugim (przewijane w poziomie). */
    .client-topbar[b-dytcsjcr8q] {
        flex-wrap: wrap;
        padding: 0.5rem 0.75rem 0;
    }

    .client-nav[b-dytcsjcr8q] {
        order: 3;
        flex-basis: 100%;
        margin: 0 -0.75rem;
        padding: 0.45rem 0.75rem 0.55rem;
        border-left: none;
        border-top: 1px solid var(--dxbl-page-border-color, #e0e0e0);
        gap: 1.1rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .client-user[b-dytcsjcr8q] {
        max-width: 8.5rem;
    }

    .client-content[b-dytcsjcr8q] {
        padding: 1rem;
    }

    .client-brand[b-dytcsjcr8q] {
        font-size: 0.95rem;
    }
}

@media (max-width: 760px) {
    .client-topbar:not(:has(.client-nav))[b-dytcsjcr8q] {
        padding-bottom: 0.5rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Okno ponownego łączenia — który tekst widać, zależy od klasy stanu ustawionej przez blazor.web.js na <dialog>. */

.components-reconnect-first-attempt-visible[b-fl43seozuh],
.components-reconnect-repeated-attempt-visible[b-fl43seozuh],
.components-reconnect-failed-visible[b-fl43seozuh],
.components-pause-visible[b-fl43seozuh],
.components-resume-failed-visible[b-fl43seozuh],
.components-rejoining-animation[b-fl43seozuh] {
    display: none;
}

/* Przy kolejnych próbach klasa -show zostaje, dochodzi -retrying — wtedy tylko tekst z odliczaniem. */
#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying) .components-reconnect-first-attempt-visible[b-fl43seozuh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-fl43seozuh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-fl43seozuh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-fl43seozuh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-fl43seozuh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-fl43seozuh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-fl43seozuh] {
    display: block;
}

#components-reconnect-modal[b-fl43seozuh] {
    width: min(20rem, calc(100vw - 2rem));
    box-sizing: border-box;
    margin: 20vh auto;
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--dxbl-page-border-color, #e0e0e0);
    border-radius: .75rem;
    background: var(--dxbl-bg, #fff);
    color: var(--dxbl-page-color, #1a1a1a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    text-align: center;
}

/* showModal() ustawia fokus na samym oknie — bez tego Chrome rysuje grubą ramkę fokusu wokół całego okna. */
#components-reconnect-modal:focus[b-fl43seozuh],
#components-reconnect-modal:focus-visible[b-fl43seozuh] {
    outline: none;
}

#components-reconnect-modal[b-fl43seozuh]::backdrop {
    background: rgba(0, 0, 0, .4);
}

.components-reconnect-container[b-fl43seozuh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
}

.components-reconnect-container p[b-fl43seozuh] {
    margin: 0;
    line-height: 1.45;
}

.components-reconnect-container button[b-fl43seozuh] {
    padding: .55rem 1.2rem;
    border: none;
    border-radius: .5rem;
    background: var(--dxbl-accent-color-100, #2563eb);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.components-rejoining-animation[b-fl43seozuh] {
    position: relative;
    width: 3rem;
    height: 3rem;
}

.components-rejoining-animation div[b-fl43seozuh] {
    position: absolute;
    border: 3px solid var(--dxbl-accent-color-100, #2563eb);
    border-radius: 50%;
    animation: laczenie-b-fl43seozuh 1.5s cubic-bezier(0, .2, .8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-fl43seozuh] {
    animation-delay: -.5s;
}

@keyframes laczenie-b-fl43seozuh {
    0% {
        top: 1.5rem;
        left: 1.5rem;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 3rem;
        height: 3rem;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .components-rejoining-animation div[b-fl43seozuh] {
        animation: none;
        inset: 0;
        opacity: .6;
    }
}
/* /Components/Pages/Admin/Audit.razor.rz.scp.css */
.audit-section[b-uruhi8306z] {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.6rem 0;
}

.audit-section:first-of-type[b-uruhi8306z] {
    margin-top: 0.5rem;
}

.audit-loading[b-uruhi8306z] {
    opacity: 0.7;
}

.audit-table[b-uruhi8306z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    margin-bottom: 0.5rem;
}

.audit-table thead th[b-uruhi8306z] {
    text-align: left;
    padding: 0.45rem 0.6rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.65;
    white-space: nowrap;
}

.audit-table tbody td[b-uruhi8306z] {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.audit-num[b-uruhi8306z] {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.audit-cp[b-uruhi8306z] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audit-email[b-uruhi8306z] {
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.8rem;
}

.audit-subject[b-uruhi8306z] {
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audit-badge[b-uruhi8306z] {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.audit-badge-ok[b-uruhi8306z] {
    background: rgba(22, 163, 74, 0.15);
    color: #16a34a;
}

.audit-badge-reject[b-uruhi8306z] {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.audit-badge-partial[b-uruhi8306z] {
    background: rgba(202, 138, 4, 0.15);
    color: #ca8a04;
}

.audit-badge-pending[b-uruhi8306z] {
    background: rgba(0, 0, 0, 0.08);
    opacity: 0.85;
}

html[data-theme-mode="dark"] .audit-badge-pending[b-uruhi8306z] {
    background: rgba(255, 255, 255, 0.12);
}
/* /Components/Pages/Admin/Client.razor.rz.scp.css */
.client-loading[b-fryn482bp2] {
    opacity: 0.7;
}

.client-toolbar[b-fryn482bp2] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.client-back[b-fryn482bp2] {
    background: none;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    color: var(--dxbl-page-color);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.client-back:hover[b-fryn482bp2] {
    background: var(--dxbl-accent-color-10);
}

.client-count[b-fryn482bp2] {
    font-size: 0.92rem;
    opacity: 0.8;
}

.client-table[b-fryn482bp2] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.client-table th[b-fryn482bp2] {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.65;
    padding: 0.5rem 0.65rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
}

.client-table td[b-fryn482bp2] {
    padding: 0.6rem 0.65rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.client-num[b-fryn482bp2] {
    text-align: right;
    white-space: nowrap;
}

.client-invnum[b-fryn482bp2] {
    font-weight: 600;
}

.client-invdate[b-fryn482bp2] {
    font-size: 0.82rem;
    opacity: 0.65;
}

.client-cparty[b-fryn482bp2] {
    max-width: 18rem;
}

.client-req-badge[b-fryn482bp2] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.client-req-decision[b-fryn482bp2] {
    background: rgba(234, 179, 8, 0.18);
    color: #a16207;
}

html[data-theme-mode="dark"] .client-req-decision[b-fryn482bp2] {
    color: #fbbf24;
}

.client-req-justif[b-fryn482bp2] {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

html[data-theme-mode="dark"] .client-req-justif[b-fryn482bp2] {
    color: #f87171;
}

.client-question[b-fryn482bp2] {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    opacity: 0.85;
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-link[b-fryn482bp2] {
    background: none;
    border: none;
    color: var(--dxbl-accent-color-110);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

html[data-theme-mode="dark"] .client-link[b-fryn482bp2] {
    color: var(--dxbl-accent-color-40);
}

.client-link:hover[b-fryn482bp2] {
    text-decoration: underline;
}

.client-row-editing td[b-fryn482bp2] {
    border-bottom: none;
}

.client-editor-row td[b-fryn482bp2] {
    padding-top: 0;
}

.client-editor[b-fryn482bp2] {
    background: var(--dxbl-accent-color-10);
    border: 1px solid var(--dxbl-accent-color-60);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

html[data-theme-mode="dark"] .client-editor[b-fryn482bp2] {
    background: rgba(255, 255, 255, 0.04);
}

.client-editor label[b-fryn482bp2] {
    font-size: 0.88rem;
    font-weight: 500;
}

.client-opt[b-fryn482bp2] {
    font-weight: 400;
    opacity: 0.65;
    font-size: 0.82rem;
}

.client-editor-input[b-fryn482bp2] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--dxbl-accent-color-60);
    border-radius: 6px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font-family: inherit;
    font-size: 0.92rem;
    resize: vertical;
}

.client-req-options[b-fryn482bp2] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.client-req-option[b-fryn482bp2] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    line-height: 1.35;
}

.client-req-option:hover[b-fryn482bp2] {
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme-mode="dark"] .client-req-option:hover[b-fryn482bp2] {
    background: rgba(255, 255, 255, 0.06);
}

.client-req-option input[type="radio"][b-fryn482bp2] {
    margin-top: 0.2rem;
    accent-color: var(--dxbl-accent-color-100);
    flex-shrink: 0;
}

.client-editor-hint[b-fryn482bp2] {
    font-size: 0.84rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    background: rgba(234, 179, 8, 0.12);
}

.client-editor-actions[b-fryn482bp2] {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.client-btn[b-fryn482bp2] {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.client-btn:disabled[b-fryn482bp2] {
    opacity: 0.5;
    cursor: not-allowed;
}

.client-btn-save[b-fryn482bp2] {
    background: var(--dxbl-accent-color-100);
    border-color: var(--dxbl-accent-color-100);
    color: white;
    font-weight: 600;
}

.client-btn-save:not(:disabled):hover[b-fryn482bp2] {
    background: var(--dxbl-accent-color-110);
}

.client-editor-error[b-fryn482bp2] {
    padding: 0.5rem 0.75rem;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-radius: 6px;
    font-size: 0.88rem;
}

html[data-theme-mode="dark"] .client-editor-error[b-fryn482bp2] {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}
/* /Components/Pages/Admin/Index.razor.rz.scp.css */
.dash-loading[b-vi45zulr3z] {
    opacity: 0.7;
}

/* ===== kafle statystyk ===== */

.dash-tiles[b-vi45zulr3z] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

.dash-tile[b-vi45zulr3z] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 10px;
    background: var(--dxbl-content-bg, var(--dxbl-page-bg));
    color: inherit;
    text-decoration: none;
    transition: border-color 0.12s ease;
}

a.dash-tile:hover[b-vi45zulr3z] {
    border-color: var(--dxbl-accent-color-100);
}

.dash-tile-value[b-vi45zulr3z] {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.dash-tile-date[b-vi45zulr3z] {
    font-size: 1.45rem;
}

.dash-accent[b-vi45zulr3z] {
    color: var(--dxbl-accent-color-100);
}

.dash-danger[b-vi45zulr3z] {
    color: #dc2626;
}

.dash-tile-label[b-vi45zulr3z] {
    font-size: 0.84rem;
    font-weight: 500;
}

.dash-tile-sub[b-vi45zulr3z] {
    font-size: 0.76rem;
    opacity: 0.6;
}

/* ===== dwie kolumny sekcji ===== */

.dash-cols[b-vi45zulr3z] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 1.4rem;
    align-items: start;
}

.dash-section-head[b-vi45zulr3z] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.dash-section-head h2[b-vi45zulr3z] {
    font-size: 0.95rem;
    margin: 0;
}

.dash-more[b-vi45zulr3z] {
    font-size: 0.8rem;
    color: var(--dxbl-accent-color-100);
    text-decoration: none;
}

.dash-more:hover[b-vi45zulr3z] {
    text-decoration: underline;
}

.dash-empty[b-vi45zulr3z] {
    font-size: 0.86rem;
    opacity: 0.65;
    margin: 0.4rem 0 0;
}

/* ===== tabele sekcji ===== */

.dash-table[b-vi45zulr3z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.dash-table tbody td[b-vi45zulr3z] {
    padding: 0.45rem 0.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: middle;
}

.dash-table tbody tr:last-child td[b-vi45zulr3z] {
    border-bottom: none;
}

.dash-firma[b-vi45zulr3z] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-nkd[b-vi45zulr3z] {
    margin-left: 0.35rem;
}

.dash-num[b-vi45zulr3z] {
    text-align: right;
    width: 3rem;
}

.dash-count[b-vi45zulr3z] {
    display: inline-block;
    min-width: 1.6rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: var(--dxbl-accent-color-100);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

.dash-days[b-vi45zulr3z], .dash-when[b-vi45zulr3z] {
    white-space: nowrap;
}

.dash-who[b-vi45zulr3z] {
    opacity: 0.8;
    white-space: nowrap;
}

.dash-act[b-vi45zulr3z] {
    text-align: right;
}

.dash-link[b-vi45zulr3z] {
    font-size: 0.8rem;
    color: var(--dxbl-accent-color-100);
    text-decoration: none;
    white-space: nowrap;
}

.dash-link:hover[b-vi45zulr3z] {
    text-decoration: underline;
}

/* ===== badge dni/decyzji ===== */

.dash-badge[b-vi45zulr3z] {
    display: inline-block;
    padding: 0.08rem 0.5rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.dash-badge-ok[b-vi45zulr3z] {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.dash-badge-soon[b-vi45zulr3z] {
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
}

.dash-badge-urgent[b-vi45zulr3z] {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.dash-badge-overdue[b-vi45zulr3z] {
    background: #dc2626;
    color: #fff;
}

html[data-theme-mode="dark"] .dash-badge-ok[b-vi45zulr3z] {
    background: rgba(22, 163, 74, 0.22);
}

html[data-theme-mode="dark"] .dash-badge-soon[b-vi45zulr3z] {
    background: rgba(217, 119, 6, 0.22);
}

html[data-theme-mode="dark"] .dash-badge-urgent[b-vi45zulr3z] {
    background: rgba(220, 38, 38, 0.22);
}

/* Liczba i linki w kolorze akcentu: stopień 100 na ciemnym tle ma ~2,5:1 — jak menu biura, jaśniejszy stopień. */
html[data-theme-mode="dark"] .dash-accent[b-vi45zulr3z],
html[data-theme-mode="dark"] .dash-more[b-vi45zulr3z],
html[data-theme-mode="dark"] .dash-link[b-vi45zulr3z] {
    color: var(--dxbl-accent-color-40);
}
/* /Components/Pages/Admin/KluczeApiBiura.razor.rz.scp.css */
/* /Admin/KluczeApi — klucze API w bazie (biuro). */

.kb-uklad[b-wigjbwppoc] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 72rem;
}

.kb-uklad section[b-wigjbwppoc] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.kb-uklad h2[b-wigjbwppoc] {
    margin: 0;
    font-size: 1.05rem;
}

.kb-opis p[b-wigjbwppoc] {
    margin: 0;
    line-height: 1.5;
}

.kb-uwaga[b-wigjbwppoc],
.kb-pomoc[b-wigjbwppoc],
.kb-drobne[b-wigjbwppoc],
.kb-pusto[b-wigjbwppoc] {
    font-size: .82rem;
    opacity: .75;
}

.kb-token[b-wigjbwppoc] {
    padding: 1rem;
    border: 2px solid var(--dxbl-accent-color, #2f6fde);
    border-radius: 8px;
}

.kb-token-pole[b-wigjbwppoc] {
    font-family: Consolas, "Courier New", monospace;
    width: 100%;
}

.kb-nowy[b-wigjbwppoc] {
    padding: 1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
    max-width: 32rem;
}

.kb-pole[b-wigjbwppoc] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: .82rem;
}

.kb-check[b-wigjbwppoc] {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-size: .88rem;
}

.kb-input[b-wigjbwppoc] {
    padding: .4rem .55rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    font: inherit;
    background: transparent;
    color: inherit;
}

.kb-btn[b-wigjbwppoc] {
    align-self: flex-start;
    padding: .45rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--dxbl-accent-color, #2f6fde);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.kb-btn:disabled[b-wigjbwppoc] {
    opacity: .6;
    cursor: default;
}

.kb-btn-drugi[b-wigjbwppoc] {
    background: transparent;
    color: inherit;
    border-color: var(--dxbl-page-border-color);
}

.kb-blad[b-wigjbwppoc] {
    margin: 0;
    color: #c62828;
    font-size: .88rem;
}

.kb-tabela[b-wigjbwppoc] {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.kb-tabela thead th[b-wigjbwppoc] {
    text-align: left;
    padding: .45rem .6rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .65;
}

.kb-tabela tbody td[b-wigjbwppoc] {
    padding: .45rem .6rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.kb-nieaktywny[b-wigjbwppoc] {
    opacity: .55;
}

@media (max-width: 640px) {
    .kb-tabela thead[b-wigjbwppoc] {
        display: none;
    }

    .kb-tabela tbody td[b-wigjbwppoc] {
        display: block;
        border-bottom: none;
        padding: .2rem .4rem;
    }

    .kb-tabela tbody tr[b-wigjbwppoc] {
        display: block;
        border-bottom: 1px solid var(--dxbl-page-border-color);
        padding: .4rem 0;
    }
}
/* /Components/Pages/Admin/Notify.razor.rz.scp.css */
.notify-actions[b-s72kloa182] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.notify-btn[b-s72kloa182] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 7px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.notify-btn:hover:not(:disabled)[b-s72kloa182] {
    border-color: var(--dxbl-accent-color-100);
}

.notify-btn:disabled[b-s72kloa182] {
    opacity: 0.5;
    cursor: default;
}

.notify-btn-primary[b-s72kloa182] {
    background: var(--dxbl-accent-color-100);
    border-color: var(--dxbl-accent-color-100);
    color: #fff;
}

.notify-btn-primary:hover:not(:disabled)[b-s72kloa182] {
    filter: brightness(1.08);
}

.notify-btn-ghost[b-s72kloa182] {
    background: transparent;
}

.notify-msg[b-s72kloa182] {
    margin-bottom: 1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.notify-msg-ok[b-s72kloa182] {
    background: var(--dxbl-accent-color-10);
    border-left: 3px solid var(--dxbl-accent-color-100);
}

html[data-theme-mode="dark"] .notify-msg-ok[b-s72kloa182] {
    background: rgba(255, 255, 255, 0.05);
}

.notify-msg-error[b-s72kloa182] {
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
}

.notify-section[b-s72kloa182] {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.6rem 0;
}

.notify-loading[b-s72kloa182] {
    opacity: 0.7;
}

.notify-table[b-s72kloa182] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.notify-table thead th[b-s72kloa182] {
    text-align: left;
    padding: 0.45rem 0.6rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.65;
    white-space: nowrap;
}

.notify-table tbody td[b-s72kloa182] {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.notify-email[b-s72kloa182] {
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.8rem;
}

.notify-subject[b-s72kloa182] {
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notify-error[b-s72kloa182] {
    color: #dc2626;
    max-width: 16rem;
}

.notify-status[b-s72kloa182] {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.notify-status-sent[b-s72kloa182] {
    background: rgba(22, 163, 74, 0.15);
    color: #16a34a;
}

.notify-status-failed[b-s72kloa182] {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.notify-status-sending[b-s72kloa182] {
    background: rgba(37, 99, 235, 0.15);
    color: #2563eb;
}

.notify-status-pending[b-s72kloa182] {
    background: rgba(0, 0, 0, 0.08);
    opacity: 0.85;
}

html[data-theme-mode="dark"] .notify-status-pending[b-s72kloa182] {
    background: rgba(255, 255, 255, 0.12);
}

.notify-status-cancelled[b-s72kloa182] {
    background: rgba(0, 0, 0, 0.06);
    opacity: 0.6;
}
/* /Components/Pages/Admin/Pending.razor.rz.scp.css */
.pending-loading[b-vus5h26dvs] {
    opacity: 0.7;
}

.pending-nkd[b-vus5h26dvs] {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: var(--dxbl-accent-color-10);
    border: 1px solid var(--dxbl-accent-color-100);
    color: var(--dxbl-accent-color-100);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.pending-summary[b-vus5h26dvs] {
    margin-bottom: 1rem;
    padding: 0.55rem 0.85rem;
    background: var(--dxbl-accent-color-10);
    border-left: 3px solid var(--dxbl-accent-color-100);
    border-radius: 6px;
    font-size: 0.92rem;
}

html[data-theme-mode="dark"] .pending-summary[b-vus5h26dvs] {
    background: rgba(255, 255, 255, 0.05);
}

.pending-table[b-vus5h26dvs] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pending-table thead th[b-vus5h26dvs] {
    text-align: left;
    padding: 0.5rem 0.65rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.65;
    white-space: nowrap;
}

.pending-table tbody td[b-vus5h26dvs] {
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
}

.pending-num[b-vus5h26dvs] {
    text-align: right;
    white-space: nowrap;
}

.pending-firma[b-vus5h26dvs] {
    font-weight: 500;
}

.pending-count[b-vus5h26dvs] {
    display: inline-block;
    min-width: 1.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--dxbl-accent-color-100);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
}

.pending-days[b-vus5h26dvs] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pending-days-overdue[b-vus5h26dvs] {
    color: #dc2626;
}

.pending-days-urgent[b-vus5h26dvs] {
    color: #ea580c;
}

.pending-days-soon[b-vus5h26dvs] {
    color: #ca8a04;
}

.pending-days-ok[b-vus5h26dvs] {
    opacity: 0.7;
}

.pending-overdue[b-vus5h26dvs] {
    background: rgba(220, 38, 38, 0.05);
}

.pending-link[b-vus5h26dvs] {
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    background: transparent;
    color: inherit;
    padding: 0.3rem 0.7rem;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.12s ease;
}

.pending-link:hover[b-vus5h26dvs] {
    border-color: var(--dxbl-accent-color-100);
}
/* /Components/Pages/Admin/SprawaBiura.razor.rz.scp.css */
/* /Admin/Sprawy/{numer} — sprawa od strony biura. */

.sb-shell[b-vfjiqyj2ef] {
    max-width: 62rem;
}

.sb-powrot[b-vfjiqyj2ef] {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .88rem;
    color: var(--dxbl-accent-color-100);
    text-decoration: none;
}

.sb-naglowek[b-vfjiqyj2ef] {
    margin-bottom: 1rem;
}

.sb-temat[b-vfjiqyj2ef] {
    margin: 0 0 .4rem 0;
    font-size: 1.35rem;
    font-weight: 600;
}

.sb-meta[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .9rem;
    font-size: .86rem;
    opacity: .9;
}

.sb-meta a[b-vfjiqyj2ef] {
    color: var(--dxbl-accent-color-100);
}

.sb-uwaga[b-vfjiqyj2ef] {
    margin: .6rem 0 0 0;
    padding: .45rem .75rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, .05);
    font-size: .88rem;
}

.sb-pusty-watek[b-vfjiqyj2ef] {
    margin: .25rem 0 0 0;
    font-size: .9rem;
    opacity: .7;
}

.sb-uwaga-ostrzezenie[b-vfjiqyj2ef] {
    background: #fef3c7;
    color: #78350f;
}

/* Sprawa zaplanowana (etap J1): data aktywacji i „Aktywuj teraz”. */
.sb-plan[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .6rem 0 0 0;
    padding: .55rem .85rem;
    border-left: 3px solid #0891b2;
    border-radius: 6px;
    background: rgba(8, 145, 178, .08);
    font-size: .9rem;
}

.sb-plan-opis[b-vfjiqyj2ef] {
    margin-top: .2rem;
    font-size: .84rem;
    opacity: .8;
}

.sb-obiekt[b-vfjiqyj2ef] {
    display: inline-block;
    margin-top: .6rem;
    color: var(--dxbl-accent-color-100);
    font-weight: 500;
}

.sb-komunikat[b-vfjiqyj2ef] {
    padding: .55rem .85rem;
    border-radius: 6px;
    background: #dcfce7;
    color: #14532d;
}

.sb-blad[b-vfjiqyj2ef] {
    padding: .55rem .85rem;
    border-radius: 6px;
    background: rgba(220, 38, 38, .12);
    color: #b91c1c;
}

.sb-panel[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .75rem;
    margin-bottom: 1.25rem;
    padding: .75rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
}

.sb-panel label[b-vfjiqyj2ef] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .78rem;
    opacity: .9;
}

.sb-input[b-vfjiqyj2ef] {
    padding: .4rem .55rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: .88rem;
}

.sb-sekcja[b-vfjiqyj2ef] {
    margin-bottom: 1.5rem;
}

.sb-h2[b-vfjiqyj2ef] {
    margin: 0 0 .6rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.sb-h3[b-vfjiqyj2ef] {
    margin: 1rem 0 .4rem 0;
    font-size: .92rem;
    font-weight: 600;
}

.sb-szkic[b-vfjiqyj2ef] {
    margin-bottom: .75rem;
    padding: .75rem;
    border: 1px dashed #a855f7;
    border-radius: 8px;
    background: rgba(168, 85, 247, .06);
}

.sb-pole[b-vfjiqyj2ef] {
    width: 100%;
    box-sizing: border-box;
    padding: .55rem .7rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: .92rem;
    resize: vertical;
}

.sb-przyciski[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
}

.sb-btn[b-vfjiqyj2ef] {
    padding: .5rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--dxbl-accent-color-100);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.sb-btn:hover:not(:disabled)[b-vfjiqyj2ef] {
    background: var(--dxbl-accent-color-110);
}

.sb-btn:disabled[b-vfjiqyj2ef] {
    opacity: .6;
    cursor: default;
}

.sb-btn-drugi[b-vfjiqyj2ef] {
    background: transparent;
    color: var(--dxbl-page-color);
    border: 1px solid var(--dxbl-page-border-color);
}

.sb-btn-drugi:hover:not(:disabled)[b-vfjiqyj2ef] {
    background: var(--dxbl-accent-color-10);
}

.sb-link[b-vfjiqyj2ef] {
    padding: 0;
    border: none;
    background: none;
    color: var(--dxbl-accent-color-100);
    font: inherit;
    font-size: .86rem;
    cursor: pointer;
    text-decoration: underline;
}

.sb-akcje[b-vfjiqyj2ef] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-akcja[b-vfjiqyj2ef] {
    margin-bottom: .5rem;
    padding: .6rem .75rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
}

.sb-akcja-sasWykonana[b-vfjiqyj2ef] {
    border-color: #86efac;
}

.sb-akcja-sasDoPoprawy[b-vfjiqyj2ef] {
    border-color: #fcd34d;
}

.sb-akcja-sasAnulowana[b-vfjiqyj2ef] {
    opacity: .55;
}

.sb-akcja-glowna[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .8rem;
}

.sb-po-terminie[b-vfjiqyj2ef] {
    color: #b91c1c;
    font-weight: 600;
}

.sb-akcja-stan[b-vfjiqyj2ef] {
    font-size: .82rem;
    opacity: .75;
}

.sb-akcja-opis[b-vfjiqyj2ef] {
    margin-top: .3rem;
    font-size: .88rem;
}

.sb-akcja-tm[b-vfjiqyj2ef] {
    color: #15803d;
}

.sb-przelacznik[b-vfjiqyj2ef] {
    display: inline-block;
    margin-bottom: .5rem;
    font-size: .82rem;
    opacity: .8;
}

.sb-watek[b-vfjiqyj2ef] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-wpis[b-vfjiqyj2ef] {
    margin-bottom: .6rem;
    padding: .65rem .8rem;
    border-radius: 8px;
    border: 1px solid var(--dxbl-page-border-color);
}

.sb-wpis-klient[b-vfjiqyj2ef] {
    background: rgba(37, 99, 235, .06);
}

.sb-wpis-wewnetrzny[b-vfjiqyj2ef] {
    background: #fefce8;
    border-color: #fde047;
}

.sb-wpis-system[b-vfjiqyj2ef] {
    background: transparent;
    border-style: dashed;
    font-size: .86rem;
    opacity: .8;
}

.sb-wpis-odrzucony[b-vfjiqyj2ef] {
    opacity: .5;
    text-decoration: line-through;
}

.sb-wpis-naglowek[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .6rem;
    margin-bottom: .3rem;
    font-size: .8rem;
    opacity: .85;
}

.sb-autor[b-vfjiqyj2ef] {
    font-weight: 600;
}

.sb-znacznik[b-vfjiqyj2ef] {
    padding: 0 .45rem;
    border-radius: 999px;
    border: 1px solid var(--dxbl-page-border-color);
    font-size: .72rem;
}

.sb-znacznik-nowe[b-vfjiqyj2ef] {
    border-color: var(--dxbl-accent-color-100);
    color: var(--dxbl-accent-color-100);
    font-weight: 600;
}

.sb-tresc[b-vfjiqyj2ef] {
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sb-pliki[b-vfjiqyj2ef] {
    margin: .4rem 0 0 0;
    padding-left: 0;
    list-style: none;
    font-size: .88rem;
}

.sb-rozmiar[b-vfjiqyj2ef] {
    margin-left: .35rem;
    font-size: .78rem;
    opacity: .7;
}

.sb-rodzaj[b-vfjiqyj2ef] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: .5rem;
    font-size: .9rem;
}

.sb-status[b-vfjiqyj2ef] {
    display: inline-block;
    padding: .05rem .5rem;
    border-radius: 999px;
    font-size: .8rem;
    background: rgba(0, 0, 0, .06);
}

.sb-status-ssUBiura[b-vfjiqyj2ef],
.sb-status-ssNowa[b-vfjiqyj2ef] {
    background: #fef3c7;
    color: #78350f;
}

.sb-status-ssUKlienta[b-vfjiqyj2ef] {
    background: #dbeafe;
    color: #1e3a8a;
}

.sb-status-ssZakonczona[b-vfjiqyj2ef] {
    background: #dcfce7;
    color: #14532d;
}

.sb-status-ssZaplanowana[b-vfjiqyj2ef] {
    background: #cffafe;
    color: #155e75;
}

/* Ciemny motyw: zaszyte jasne tła (notatka wewnętrzna, plakietki statusu, komunikaty) i ciemne kolory tekstu. */
html[data-theme-mode="dark"] .sb-uwaga[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-status[b-vfjiqyj2ef] {
    background: rgba(255, 255, 255, .08);
}

html[data-theme-mode="dark"] .sb-uwaga-ostrzezenie[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-status-ssUBiura[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-status-ssNowa[b-vfjiqyj2ef] {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

html[data-theme-mode="dark"] .sb-status-ssUKlienta[b-vfjiqyj2ef] {
    background: rgba(59, 130, 246, .22);
    color: #93c5fd;
}

html[data-theme-mode="dark"] .sb-status-ssZakonczona[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-komunikat[b-vfjiqyj2ef] {
    background: rgba(34, 197, 94, .16);
    color: #86efac;
}

html[data-theme-mode="dark"] .sb-status-ssZaplanowana[b-vfjiqyj2ef] {
    background: rgba(6, 182, 212, .16);
    color: #67e8f9;
}

html[data-theme-mode="dark"] .sb-blad[b-vfjiqyj2ef] {
    background: rgba(220, 38, 38, .2);
    color: #fca5a5;
}

html[data-theme-mode="dark"] .sb-po-terminie[b-vfjiqyj2ef] {
    color: #f87171;
}

html[data-theme-mode="dark"] .sb-akcja-tm[b-vfjiqyj2ef] {
    color: #4ade80;
}

html[data-theme-mode="dark"] .sb-wpis-wewnetrzny[b-vfjiqyj2ef] {
    background: rgba(234, 179, 8, .1);
    border-color: rgba(234, 179, 8, .45);
}

/* Linki i znacznik „nowe” w kolorze akcentu: stopień 100 na ciemnym tle ma ~3:1 — jak menu biura, jaśniejszy stopień. */
html[data-theme-mode="dark"] .sb-powrot[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-meta a[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-obiekt[b-vfjiqyj2ef],
html[data-theme-mode="dark"] .sb-link[b-vfjiqyj2ef] {
    color: var(--dxbl-accent-color-40);
}

html[data-theme-mode="dark"] .sb-znacznik-nowe[b-vfjiqyj2ef] {
    border-color: var(--dxbl-accent-color-40);
    color: var(--dxbl-accent-color-40);
}
/* /Components/Pages/Admin/SprawaBiuraNowa.razor.rz.scp.css */
/* /Admin/Sprawy/Nowa — formularz nowej sprawy biura. */

.sbn-form[b-8vco6vu76q] {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    max-width: 44rem;
}

.sbn-pole[b-8vco6vu76q] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .85rem;
}

.sbn-pole-waskie[b-8vco6vu76q] {
    max-width: 14rem;
}

.sbn-input[b-8vco6vu76q] {
    padding: .5rem .65rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: .92rem;
}

.sbn-info[b-8vco6vu76q] {
    margin: 0;
    padding: .45rem .75rem;
    border-radius: 6px;
    background: var(--dxbl-accent-color-10);
    font-size: .86rem;
}

.sbn-blad[b-8vco6vu76q] {
    margin: 0;
    padding: .5rem .8rem;
    border-radius: 6px;
    background: rgba(220, 38, 38, .12);
    color: #b91c1c;
}

.sbn-btn[b-8vco6vu76q] {
    padding: .6rem 1.2rem;
    border: none;
    border-radius: 6px;
    background: var(--dxbl-accent-color-100);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.sbn-btn:disabled[b-8vco6vu76q] {
    opacity: .6;
}

html[data-theme-mode="dark"] .sbn-blad[b-8vco6vu76q] {
    background: rgba(220, 38, 38, .2);
    color: #fca5a5;
}
/* /Components/Pages/Admin/SprawyBiura.razor.rz.scp.css */
/* /Admin/Sprawy — kolejka spraw biura. Tabela w stylu „Pending faktury”. */

.spb-pasek[b-6qcb5ne853] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.spb-zakladki[b-6qcb5ne853] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.spb-zakladka[b-6qcb5ne853] {
    padding: .4rem .8rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 999px;
    background: transparent;
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
}

.spb-zakladka-aktywna[b-6qcb5ne853] {
    background: var(--dxbl-accent-color-100);
    border-color: var(--dxbl-accent-color-100);
    color: #fff;
}

.spb-licznik[b-6qcb5ne853] {
    display: inline-block;
    min-width: 1.4rem;
    margin-left: .35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .12);
    font-size: .78rem;
    font-weight: 600;
    text-align: center;
}

.spb-btn[b-6qcb5ne853] {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 6px;
    background: var(--dxbl-accent-color-100);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.spb-btn:hover[b-6qcb5ne853] {
    background: var(--dxbl-accent-color-110);
}

.spb-szkice-info[b-6qcb5ne853] {
    margin: 0 0 1rem 0;
    padding: .55rem .85rem;
    border-left: 3px solid #a855f7;
    border-radius: 6px;
    background: rgba(168, 85, 247, .08);
    font-size: .9rem;
}

.spb-filtry[b-6qcb5ne853] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.spb-input[b-6qcb5ne853] {
    padding: .4rem .55rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: .88rem;
}

.spb-szukaj[b-6qcb5ne853] {
    min-width: 14rem;
}

.spb-ladowanie[b-6qcb5ne853] {
    opacity: .7;
}

.spb-tabela[b-6qcb5ne853] {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.spb-tabela thead th[b-6qcb5ne853] {
    text-align: left;
    padding: .5rem .65rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .65;
    white-space: nowrap;
}

.spb-tabela tbody td[b-6qcb5ne853] {
    padding: .5rem .65rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.spb-wiersz[b-6qcb5ne853] {
    cursor: pointer;
}

.spb-wiersz:hover[b-6qcb5ne853] {
    background: var(--dxbl-accent-color-10);
}

.spb-wiersz-nowe .spb-temat[b-6qcb5ne853] {
    font-weight: 700;
}

.spb-temat[b-6qcb5ne853] {
    color: var(--dxbl-page-color);
    font-weight: 500;
    text-decoration: none;
}

.spb-numer[b-6qcb5ne853] {
    margin-top: .15rem;
    font-size: .78rem;
    opacity: .7;
}

.spb-znacznik[b-6qcb5ne853] {
    display: inline-block;
    margin-left: .35rem;
    padding: 0 .45rem;
    border-radius: 999px;
    border: 1px solid var(--dxbl-page-border-color);
    font-size: .72rem;
    white-space: nowrap;
}

.spb-znacznik-nowe[b-6qcb5ne853] {
    border-color: var(--dxbl-accent-color-100);
    color: var(--dxbl-accent-color-100);
    font-weight: 600;
}

.spb-znacznik-szkic[b-6qcb5ne853] {
    border-color: #a855f7;
    color: #7e22ce;
}

.spb-znacznik-plan[b-6qcb5ne853] {
    border-color: #0891b2;
    color: #0e7490;
}

.spb-znacznik-pilne[b-6qcb5ne853] {
    border-color: #dc2626;
    color: #b91c1c;
    font-weight: 600;
}

.spb-status[b-6qcb5ne853] {
    display: inline-block;
    padding: .05rem .5rem;
    border-radius: 999px;
    font-size: .78rem;
    white-space: nowrap;
    background: rgba(0, 0, 0, .06);
}

.spb-status-ssUBiura[b-6qcb5ne853],
.spb-status-ssNowa[b-6qcb5ne853] {
    background: #fef3c7;
    color: #78350f;
}

.spb-status-ssUKlienta[b-6qcb5ne853] {
    background: #dbeafe;
    color: #1e3a8a;
}

.spb-status-ssZakonczona[b-6qcb5ne853] {
    background: #dcfce7;
    color: #14532d;
}

/* Zaplanowana (etap J1) — jeszcze nie w obiegu. */
.spb-status-ssZaplanowana[b-6qcb5ne853] {
    background: #cffafe;
    color: #155e75;
}

.spb-po-terminie[b-6qcb5ne853] {
    color: #b91c1c;
    font-weight: 600;
}

/* Ciemny motyw: jasne plakietki statusu → półprzezroczysty kolor, ciemne kolory znaczników → jaśniejsze. */
html[data-theme-mode="dark"] .spb-licznik[b-6qcb5ne853] {
    background: rgba(255, 255, 255, .14);
}

html[data-theme-mode="dark"] .spb-znacznik-szkic[b-6qcb5ne853] {
    color: #c084fc;
}

html[data-theme-mode="dark"] .spb-znacznik-plan[b-6qcb5ne853] {
    color: #22d3ee;
}

html[data-theme-mode="dark"] .spb-znacznik-pilne[b-6qcb5ne853],
html[data-theme-mode="dark"] .spb-po-terminie[b-6qcb5ne853] {
    color: #f87171;
}

html[data-theme-mode="dark"] .spb-status[b-6qcb5ne853] {
    background: rgba(255, 255, 255, .08);
}

html[data-theme-mode="dark"] .spb-status-ssUBiura[b-6qcb5ne853],
html[data-theme-mode="dark"] .spb-status-ssNowa[b-6qcb5ne853] {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

html[data-theme-mode="dark"] .spb-status-ssUKlienta[b-6qcb5ne853] {
    background: rgba(59, 130, 246, .22);
    color: #93c5fd;
}

html[data-theme-mode="dark"] .spb-status-ssZakonczona[b-6qcb5ne853] {
    background: rgba(34, 197, 94, .16);
    color: #86efac;
}

html[data-theme-mode="dark"] .spb-status-ssZaplanowana[b-6qcb5ne853] {
    background: rgba(6, 182, 212, .16);
    color: #67e8f9;
}

html[data-theme-mode="dark"] .spb-znacznik-nowe[b-6qcb5ne853] {
    border-color: var(--dxbl-accent-color-40);
    color: var(--dxbl-accent-color-40);
}
/* /Components/Pages/Admin/Templates.razor.rz.scp.css */
.tpl-msg[b-vej9tmyzvm] {
    margin-bottom: 1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.tpl-msg-ok[b-vej9tmyzvm] {
    background: var(--dxbl-accent-color-10);
    border-left: 3px solid var(--dxbl-accent-color-100);
}

html[data-theme-mode="dark"] .tpl-msg-ok[b-vej9tmyzvm] {
    background: rgba(255, 255, 255, 0.05);
}

.tpl-msg-error[b-vej9tmyzvm] {
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
}

.tpl-grid[b-vej9tmyzvm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .tpl-grid[b-vej9tmyzvm] {
        grid-template-columns: 1fr;
    }
}

.tpl-list-head[b-vej9tmyzvm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.tpl-list-head h2[b-vej9tmyzvm],
.tpl-edit-col h2[b-vej9tmyzvm] {
    font-size: 1rem;
    margin: 0;
}

.tpl-edit-col h2[b-vej9tmyzvm] {
    margin-bottom: 0.75rem;
}

.tpl-loading[b-vej9tmyzvm], .tpl-empty[b-vej9tmyzvm] {
    opacity: 0.7;
    font-size: 0.88rem;
    line-height: 1.45;
}

.tpl-table[b-vej9tmyzvm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.tpl-table thead th[b-vej9tmyzvm] {
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

.tpl-table tbody td[b-vej9tmyzvm] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
}

.tpl-row-active[b-vej9tmyzvm] {
    background: var(--dxbl-accent-color-10);
}

html[data-theme-mode="dark"] .tpl-row-active[b-vej9tmyzvm] {
    background: rgba(255, 255, 255, 0.06);
}

.tpl-readonly[b-vej9tmyzvm] {
    opacity: 0.5;
    font-size: 0.78rem;
}

.tpl-field[b-vej9tmyzvm] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
    font-size: 0.84rem;
}

.tpl-field > span[b-vej9tmyzvm] {
    font-weight: 500;
    opacity: 0.8;
}

.tpl-input[b-vej9tmyzvm] {
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-size: 0.88rem;
    font-family: inherit;
}

.tpl-input:focus[b-vej9tmyzvm] {
    outline: none;
    border-color: var(--dxbl-accent-color-100);
}

.tpl-textarea[b-vej9tmyzvm] {
    resize: vertical;
    line-height: 1.4;
}

.tpl-check[b-vej9tmyzvm] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
}

.tpl-actions[b-vej9tmyzvm] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.tpl-btn[b-vej9tmyzvm] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 7px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
}

.tpl-btn:hover:not(:disabled)[b-vej9tmyzvm] {
    border-color: var(--dxbl-accent-color-100);
}

.tpl-btn:disabled[b-vej9tmyzvm] {
    opacity: 0.5;
    cursor: default;
}

.tpl-btn-primary[b-vej9tmyzvm] {
    background: var(--dxbl-accent-color-100);
    border-color: var(--dxbl-accent-color-100);
    color: #fff;
}

.tpl-btn-ghost[b-vej9tmyzvm] {
    background: transparent;
    font-size: 0.82rem;
    padding: 0.3rem 0.65rem;
}

.tpl-btn-danger[b-vej9tmyzvm] {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.4);
}

.tpl-link[b-vej9tmyzvm] {
    border: none;
    background: none;
    color: var(--dxbl-accent-color-100);
    cursor: pointer;
    font-size: 0.82rem;
    padding: 0;
}

.tpl-hints[b-vej9tmyzvm] {
    font-size: 0.78rem;
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.tpl-hints code[b-vej9tmyzvm] {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
}

html[data-theme-mode="dark"] .tpl-hints code[b-vej9tmyzvm] {
    background: rgba(255, 255, 255, 0.1);
}

.tpl-preview[b-vej9tmyzvm] {
    border: 1px solid var(--dxbl-accent-color-100);
    border-radius: 8px;
    padding: 0.75rem;
    background: var(--dxbl-accent-color-10);
}

html[data-theme-mode="dark"] .tpl-preview[b-vej9tmyzvm] {
    background: rgba(255, 255, 255, 0.05);
}

.tpl-preview-label[b-vej9tmyzvm] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
    margin-bottom: 0.4rem;
}

.tpl-preview-subject[b-vej9tmyzvm] {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tpl-preview-body[b-vej9tmyzvm] {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.5;
}
/* /Components/Pages/Admin/TypySpraw.razor.rz.scp.css */
/* /Admin/Sprawy/Typy — katalog typów spraw. */

.ts-uklad[b-4yjchrj9b6] {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .ts-uklad[b-4yjchrj9b6] {
        /* minmax(0, …): szeroka tabela nie rozpycha kolumny (i panelu edycji) poza ekran telefonu. */
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Na wąskim ekranie tabela przewija się w poziomie we własnym pudełku. */
.ts-lista[b-4yjchrj9b6] {
    min-width: 0;
    overflow-x: auto;
}

.ts-tabela[b-4yjchrj9b6] {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    margin-bottom: .75rem;
}

.ts-tabela thead th[b-4yjchrj9b6] {
    text-align: left;
    padding: .45rem .6rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .65;
}

.ts-tabela tbody td[b-4yjchrj9b6] {
    padding: .45rem .6rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
    cursor: pointer;
}

.ts-tabela tbody tr:hover[b-4yjchrj9b6],
.ts-wybrany[b-4yjchrj9b6] {
    background: var(--dxbl-accent-color-10);
}

.ts-nieaktywny[b-4yjchrj9b6] {
    opacity: .55;
}

.ts-kod[b-4yjchrj9b6] {
    font-size: .76rem;
    opacity: .7;
}

.ts-edycja[b-4yjchrj9b6] {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
}

.ts-edycja h2[b-4yjchrj9b6] {
    margin: 0;
    font-size: 1.05rem;
}

.ts-pole[b-4yjchrj9b6] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: .82rem;
}

.ts-wiersz[b-4yjchrj9b6] {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ts-input[b-4yjchrj9b6] {
    padding: .45rem .6rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 5px;
    background: var(--dxbl-page-bg);
    color: var(--dxbl-page-color);
    font: inherit;
    font-size: .9rem;
}

/* Dwa pola aktywacji obok siebie także w wąskim panelu — długie etykiety łamią się, pola mają równą szerokość. */
.ts-wiersz-aktywacja[b-4yjchrj9b6] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    align-items: end;
}

.ts-uwaga[b-4yjchrj9b6] {
    margin: -.3rem 0 0;
    font-size: .8rem;
    line-height: 1.4;
    opacity: .75;
}

.ts-uwaga strong[b-4yjchrj9b6] {
    font-weight: 600;
}

.ts-zestaw[b-4yjchrj9b6] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    font-size: .88rem;
}

.ts-check[b-4yjchrj9b6] {
    font-size: .88rem;
}

.ts-json pre[b-4yjchrj9b6] {
    white-space: pre-wrap;
    word-break: break-all;
    font-size: .76rem;
    opacity: .8;
}

.ts-blad[b-4yjchrj9b6] {
    margin: 0;
    padding: .45rem .75rem;
    border-radius: 6px;
    background: rgba(220, 38, 38, .12);
    color: #b91c1c;
}

.ts-ok[b-4yjchrj9b6] {
    margin: 0;
    padding: .45rem .75rem;
    border-radius: 6px;
    background: #dcfce7;
    color: #14532d;
}

.ts-przyciski[b-4yjchrj9b6] {
    display: flex;
    gap: .5rem;
}

.ts-btn[b-4yjchrj9b6] {
    padding: .5rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--dxbl-accent-color-100);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.ts-btn-drugi[b-4yjchrj9b6] {
    background: transparent;
    color: var(--dxbl-page-color);
    border: 1px solid var(--dxbl-page-border-color);
}

.ts-podpowiedz[b-4yjchrj9b6] {
    align-self: start;
    margin: 0;
    padding: .8rem 1rem;
    border: 1px dashed var(--dxbl-border-color, #d0d0d0);
    border-radius: .5rem;
    font-size: .9rem;
    opacity: .75;
}

html[data-theme-mode="dark"] .ts-blad[b-4yjchrj9b6] {
    background: rgba(220, 38, 38, .2);
    color: #fca5a5;
}

html[data-theme-mode="dark"] .ts-ok[b-4yjchrj9b6] {
    background: rgba(34, 197, 94, .16);
    color: #86efac;
}
/* /Components/Pages/Dokumenty.razor.rz.scp.css */
.dok-shell[b-87wv6oj05f] {
    max-width: 36rem;
    margin: 0 auto;
}

.dok-title[b-87wv6oj05f] {
    font-size: 1.4rem;
    margin: 0 0 0.4rem;
}

.dok-lead[b-87wv6oj05f] {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.5;
    margin: 0 0 1.25rem;
}

.dok-firma[b-87wv6oj05f] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.1rem;
    max-width: 22rem;
    font-size: 0.84rem;
}

.dok-firma > span[b-87wv6oj05f] {
    font-weight: 500;
    opacity: 0.8;
}

.dok-firma-single[b-87wv6oj05f] {
    font-weight: 600;
    margin: 0 0 1.1rem;
}

.dok-input[b-87wv6oj05f] {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 7px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-family: inherit;
    font-size: 0.9rem;
}

.dok-input:focus[b-87wv6oj05f] {
    outline: none;
    border-color: var(--dxbl-accent-color-100);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/*
 * Home — uproszczony pod smart entry (M3).
 * Demo M2 components wycięte — można dodać dedykowane /Dev page jeśli będzie potrzeba.
 */

.hero[b-n18v2z5jp0] {
    max-width: 32rem;
    margin: 4rem auto;
    text-align: center;
    padding: 0 1rem;
}

.hero-mark[b-n18v2z5jp0] {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.hero h1[b-n18v2z5jp0] {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dxbl-page-color);
}

.hero-lead[b-n18v2z5jp0] {
    margin: 0 0 2rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--dxbl-page-color);
    opacity: 0.8;
}

.hero-cta[b-n18v2z5jp0] {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--dxbl-accent-color-100);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.05s ease;
}

.hero-cta:hover[b-n18v2z5jp0] {
    background: var(--dxbl-accent-color-110);
}

.hero-cta:active[b-n18v2z5jp0] {
    transform: translateY(1px);
}
/* /Components/Pages/KluczeApi.razor.rz.scp.css */
/* /konto/klucze-api — klucze API klienta („dla mojego asystenta”). */

.ka-uklad[b-rmimzzhnbi] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 60rem;
}

.ka-uklad section[b-rmimzzhnbi] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.ka-uklad h2[b-rmimzzhnbi] {
    margin: 0;
    font-size: 1.05rem;
}

.ka-opis p[b-rmimzzhnbi] {
    margin: 0;
    line-height: 1.5;
}

.ka-uwaga[b-rmimzzhnbi],
.ka-pomoc[b-rmimzzhnbi],
.ka-drobne[b-rmimzzhnbi],
.ka-pusto[b-rmimzzhnbi] {
    font-size: .82rem;
    opacity: .75;
}

.ka-token[b-rmimzzhnbi] {
    padding: 1rem;
    border: 2px solid var(--dxbl-accent-color, #2f6fde);
    border-radius: 8px;
}

.ka-token-pole[b-rmimzzhnbi] {
    font-family: Consolas, "Courier New", monospace;
    width: 100%;
}

.ka-nowy[b-rmimzzhnbi] {
    padding: 1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
    max-width: 32rem;
}

.ka-pole[b-rmimzzhnbi] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: .82rem;
}

.ka-check[b-rmimzzhnbi] {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-size: .88rem;
}

.ka-input[b-rmimzzhnbi] {
    padding: .4rem .55rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 6px;
    font: inherit;
    background: transparent;
    color: inherit;
}

.ka-btn[b-rmimzzhnbi] {
    align-self: flex-start;
    padding: .45rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--dxbl-accent-color, #2f6fde);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.ka-btn:disabled[b-rmimzzhnbi] {
    opacity: .6;
    cursor: default;
}

.ka-btn-drugi[b-rmimzzhnbi] {
    background: transparent;
    color: inherit;
    border-color: var(--dxbl-page-border-color);
}

.ka-blad[b-rmimzzhnbi] {
    margin: 0;
    color: #c62828;
    font-size: .88rem;
}

.ka-tabela[b-rmimzzhnbi] {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.ka-tabela thead th[b-rmimzzhnbi] {
    text-align: left;
    padding: .45rem .6rem;
    border-bottom: 2px solid var(--dxbl-page-border-color);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .65;
}

.ka-tabela tbody td[b-rmimzzhnbi] {
    padding: .45rem .6rem;
    border-bottom: 1px solid var(--dxbl-page-border-color);
    vertical-align: top;
}

.ka-nieaktywny[b-rmimzzhnbi] {
    opacity: .55;
}

@media (max-width: 640px) {
    .ka-tabela thead[b-rmimzzhnbi] {
        display: none;
    }

    .ka-tabela tbody td[b-rmimzzhnbi] {
        display: block;
        border-bottom: none;
        padding: .2rem .4rem;
    }

    .ka-tabela tbody tr[b-rmimzzhnbi] {
        display: block;
        border-bottom: 1px solid var(--dxbl-page-border-color);
        padding: .4rem 0;
    }
}
/* /Components/Pages/Pliki.razor.rz.scp.css */
/* Pliki od biura — lista dokumentów wysłanych klientowi z TaxMachine. Mobile-first, jak reszta ekranów klienta. */

.pl-shell[b-6p7jao5tho] {
    max-width: 56rem;
    margin: 0 auto;
}

.pl-firma[b-6p7jao5tho],
.pl-filtr[b-6p7jao5tho] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .875rem;
}

.pl-firma[b-6p7jao5tho] {
    margin-bottom: 1.25rem;
}

.pl-input[b-6p7jao5tho] {
    padding: .55rem .75rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: .5rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    font: inherit;
}

.pl-filtry[b-6p7jao5tho] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pl-filtr-check[b-6p7jao5tho] {
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    padding-bottom: .55rem;
}

.pl-okres[b-6p7jao5tho] {
    margin-bottom: 1.75rem;
}

.pl-h2[b-6p7jao5tho] {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 .6rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--dxbl-border-color, #e2e2e2);
}

.pl-lista[b-6p7jao5tho] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.pl-plik[b-6p7jao5tho] {
    padding: .7rem .9rem;
    border: 1px solid var(--dxbl-border-color, #e2e2e2);
    border-radius: .6rem;
    background: var(--dxbl-bg, #fff);
}

.pl-plik-stary[b-6p7jao5tho] {
    opacity: .75;
}

.pl-plik-glowne[b-6p7jao5tho] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.pl-nazwa[b-6p7jao5tho] {
    font-weight: 600;
    word-break: break-word;
}

.pl-badge[b-6p7jao5tho] {
    font-size: .72rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: var(--dxbl-border-color, #e8e8e8);
}

.pl-badge-nowy[b-6p7jao5tho] {
    background: #d1fae5;
    color: #065f46;
}

.pl-badge-akt[b-6p7jao5tho] {
    background: #dbeafe;
    color: #1e3a8a;
}

.pl-plik-meta[b-6p7jao5tho] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin-top: .3rem;
    font-size: .8rem;
    opacity: .85;
}

.pl-rodzaj[b-6p7jao5tho]::first-letter {
    text-transform: uppercase;
}

.pl-opis[b-6p7jao5tho] {
    flex-basis: 100%;
}

@media (min-width: 640px) {
    .pl-firma[b-6p7jao5tho] {
        max-width: 24rem;
    }
}

/* Ciemny motyw: jasne plakietki → półprzezroczysty kolor na ciemnym tle, jaśniejszy tekst. */
html[data-theme-mode="dark"] .pl-badge-nowy[b-6p7jao5tho] {
    background: rgba(16, 185, 129, .18);
    color: #6ee7b7;
}

html[data-theme-mode="dark"] .pl-badge-akt[b-6p7jao5tho] {
    background: rgba(59, 130, 246, .22);
    color: #93c5fd;
}
/* /Components/Pages/Review.razor.rz.scp.css */
.review-shell[b-y5tvvfr9fx] {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1rem 0;
}

.review-firma[b-y5tvvfr9fx] {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.65;
    font-weight: 600;
}

.review-error[b-y5tvvfr9fx] {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-radius: 6px;
    font-size: 0.9rem;
}

html[data-theme-mode="dark"] .review-error[b-y5tvvfr9fx] {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}
/* /Components/Pages/ReviewDone.razor.rz.scp.css */
.nkd-card[b-kpji2a5xwj] {
    max-width: 30rem;
    margin: 1.5rem auto 0;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 12px;
    background: var(--dxbl-page-bg);
}

.nkd-q[b-kpji2a5xwj] {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    line-height: 1.45;
}

.nkd-hint[b-kpji2a5xwj] {
    margin: 0 0 0.9rem;
    font-size: 0.84rem;
    opacity: 0.65;
    line-height: 1.4;
}

.nkd-actions[b-kpji2a5xwj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nkd-btn[b-kpji2a5xwj] {
    flex: 1 1 auto;
    min-width: 8rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
}

.nkd-btn:hover:not(:disabled)[b-kpji2a5xwj] {
    border-color: var(--dxbl-accent-color-100);
}

.nkd-btn:disabled[b-kpji2a5xwj] {
    opacity: 0.55;
    cursor: default;
}

.nkd-btn-yes[b-kpji2a5xwj] {
    background: var(--dxbl-accent-color-100);
    border-color: var(--dxbl-accent-color-100);
    color: #fff;
}

.nkd-btn-no[b-kpji2a5xwj] {
    /* neutralny — "Nie" to najczęstsza, spokojna odpowiedź */
}

.nkd-field[b-kpji2a5xwj] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
    font-size: 0.86rem;
}

.nkd-field > span[b-kpji2a5xwj] {
    font-weight: 500;
    opacity: 0.8;
}

.nkd-input[b-kpji2a5xwj] {
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--dxbl-page-border-color);
    border-radius: 8px;
    background: var(--dxbl-page-bg);
    color: inherit;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.4;
    resize: vertical;
}

.nkd-input:focus[b-kpji2a5xwj] {
    outline: none;
    border-color: var(--dxbl-accent-color-100);
}

.nkd-upload[b-kpji2a5xwj] {
    margin: 0.4rem 0 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--dxbl-page-border-color);
}

.nkd-upload-lead[b-kpji2a5xwj] {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.nkd-error[b-kpji2a5xwj] {
    margin-top: 0.7rem;
    padding: 0.5rem 0.7rem;
    border-radius: 7px;
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
    font-size: 0.86rem;
}

.nkd-done[b-kpji2a5xwj] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.nkd-done-ico[b-kpji2a5xwj] {
    font-size: 1.4rem;
    flex: 0 0 auto;
}
/* /Components/Pages/ReviewSummary.razor.rz.scp.css */
.rs-shell[b-tys3x82aiu] {
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.rs-title[b-tys3x82aiu] {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

.rs-back[b-tys3x82aiu] {
    background: none;
    border: none;
    color: var(--dxbl-accent-color-100, #2563eb);
    cursor: pointer;
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.rs-banner[b-tys3x82aiu] {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

.rs-banner-warn[b-tys3x82aiu] {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(217, 119, 6, 0.45);
    border-left: 4px solid #d97706;
}

.rs-banner-ok[b-tys3x82aiu] {
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(22, 163, 74, 0.4);
    border-left: 4px solid #16a34a;
}

.rs-table-wrap[b-tys3x82aiu] {
    overflow-x: auto;
    border: 1px solid var(--dxbl-page-border-color, #e2e8f0);
    border-radius: 8px;
}

.rs-table[b-tys3x82aiu] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.rs-table th[b-tys3x82aiu] {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid var(--dxbl-page-border-color, #e2e8f0);
    white-space: nowrap;
}

.rs-table td[b-tys3x82aiu] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--dxbl-page-border-color, #eef2f7);
    vertical-align: top;
}

.rs-table tbody tr:last-child td[b-tys3x82aiu] {
    border-bottom: none;
}

.rs-row-excluded td[b-tys3x82aiu] {
    opacity: 0.65;
}

.rs-num[b-tys3x82aiu] {
    text-align: right;
    white-space: nowrap;
}

.rs-invoice[b-tys3x82aiu] {
    display: block;
    font-weight: 600;
}

.rs-date[b-tys3x82aiu] {
    display: block;
    font-size: 0.82rem;
    opacity: 0.65;
}

.rs-comment[b-tys3x82aiu] {
    display: block;
    font-size: 0.82rem;
    opacity: 0.75;
    font-style: italic;
    max-width: 260px;
}

.rs-counterparty[b-tys3x82aiu] {
    max-width: 220px;
}

.rs-period[b-tys3x82aiu] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rs-vehicle[b-tys3x82aiu] {
    white-space: nowrap;
}

.rs-muted[b-tys3x82aiu] {
    opacity: 0.5;
}

.rs-badge[b-tys3x82aiu] {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    white-space: nowrap;
}

.rs-badge-ok[b-tys3x82aiu] {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.rs-badge-partial[b-tys3x82aiu] {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.rs-badge-excluded[b-tys3x82aiu] {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.rs-badge-pending[b-tys3x82aiu] {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
}

html[data-theme-mode="dark"] .rs-badge-ok[b-tys3x82aiu] { color: #4ade80; }
html[data-theme-mode="dark"] .rs-badge-partial[b-tys3x82aiu] { color: #fbbf24; }
html[data-theme-mode="dark"] .rs-badge-excluded[b-tys3x82aiu] { color: #f87171; }
html[data-theme-mode="dark"] .rs-badge-pending[b-tys3x82aiu] { color: #94a3b8; }

.rs-change[b-tys3x82aiu] {
    background: none;
    border: 1px solid var(--dxbl-page-border-color, #cbd5e1);
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: inherit;
    white-space: nowrap;
}

.rs-change:hover:not(:disabled)[b-tys3x82aiu] {
    border-color: var(--dxbl-accent-color-100, #2563eb);
    color: var(--dxbl-accent-color-100, #2563eb);
}

.rs-locked[b-tys3x82aiu] {
    font-size: 0.85rem;
    opacity: 0.7;
    white-space: nowrap;
}

.rs-totals[b-tys3x82aiu] {
    margin: 0.9rem 0.15rem;
    font-size: 0.95rem;
}

.rs-error[b-tys3x82aiu] {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.4);
    margin-bottom: 0.75rem;
}

.rs-actions[b-tys3x82aiu] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.rs-btn[b-tys3x82aiu] {
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.rs-btn:disabled[b-tys3x82aiu] {
    opacity: 0.55;
    cursor: not-allowed;
}

.rs-btn-submit[b-tys3x82aiu] {
    background: #16a34a;
    color: #fff;
    font-weight: 600;
}

.rs-btn-submit:hover:not(:disabled)[b-tys3x82aiu] {
    background: #15803d;
}

.rs-btn-secondary[b-tys3x82aiu] {
    background: none;
    border-color: var(--dxbl-page-border-color, #cbd5e1);
    color: inherit;
}

@media (max-width: 720px) {
    .rs-table th:nth-child(3)[b-tys3x82aiu],
    .rs-table td:nth-child(3)[b-tys3x82aiu] {
        display: none; /* kontrahent chowany na wąskich ekranach — numer+kwota+decyzja zostają */
    }
}
/* /Components/Pages/Sprawa.razor.rz.scp.css */
/* Sprawa — wątek biuro ↔ klient z akcjami i odpowiedzią. */

.spr-shell[b-adsvvb84x2] {
    max-width: 52rem;
    margin: 0 auto;
}

.spr-powrot[b-adsvvb84x2],
.spr-link[b-adsvvb84x2] {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .875rem;
}

.spr-naglowek[b-adsvvb84x2] {
    margin-bottom: 1.25rem;
}

.spr-temat[b-adsvvb84x2] {
    font-size: 1.45rem;
    margin: 0 0 .4rem;
    word-break: break-word;
}

.spr-meta[b-adsvvb84x2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem 1rem;
    font-size: .85rem;
    opacity: .9;
}

.spr-numer[b-adsvvb84x2] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.spr-status[b-adsvvb84x2] {
    padding: .12rem .55rem;
    border-radius: 999px;
    background: var(--dxbl-border-color, #e8e8e8);
    font-weight: 600;
}

.spr-status-ssUKlienta[b-adsvvb84x2] {
    background: #fde68a;
    color: #78350f;
}

.spr-status-ssUBiura[b-adsvvb84x2],
.spr-status-ssNowa[b-adsvvb84x2] {
    background: #e0e7ff;
    color: #3730a3;
}

.spr-status-ssZakonczona[b-adsvvb84x2] {
    background: #d1fae5;
    color: #065f46;
}

.spr-obiekt[b-adsvvb84x2] {
    display: inline-block;
    margin-top: .75rem;
    padding: .5rem .9rem;
    border-radius: .5rem;
    background: #fef3c7;
    color: #78350f;
    font-weight: 600;
    text-decoration: none;
}

.spr-komunikat[b-adsvvb84x2] {
    padding: .6rem .9rem;
    border-radius: .5rem;
    background: #d1fae5;
    color: #065f46;
}

.spr-sekcja[b-adsvvb84x2] {
    margin-bottom: 1.75rem;
}

.spr-h2[b-adsvvb84x2] {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 .6rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--dxbl-border-color, #e2e2e2);
}

.spr-akcje[b-adsvvb84x2] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.spr-pusto[b-adsvvb84x2] {
    opacity: .7;
}

.spr-watek[b-adsvvb84x2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.spr-wpis[b-adsvvb84x2] {
    padding: .7rem .9rem;
    border-radius: .6rem;
    border: 1px solid var(--dxbl-border-color, #e2e2e2);
    background: var(--dxbl-bg, #fff);
    max-width: 92%;
}

.spr-wpis-klient[b-adsvvb84x2] {
    align-self: flex-end;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.spr-wpis-biuro[b-adsvvb84x2] {
    align-self: flex-start;
}

.spr-wpis-system[b-adsvvb84x2] {
    align-self: center;
    max-width: 100%;
    background: transparent;
    border-style: dashed;
    font-size: .85rem;
}

.spr-wpis-naglowek[b-adsvvb84x2] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
    font-size: .78rem;
    opacity: .85;
    margin-bottom: .3rem;
}

.spr-autor[b-adsvvb84x2] {
    font-weight: 600;
}

.spr-nowy[b-adsvvb84x2] {
    padding: 0 .45rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 600;
}

.spr-rodzaj[b-adsvvb84x2] {
    padding: 0 .45rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #78350f;
}

.spr-tresc[b-adsvvb84x2] {
    line-height: 1.5;
    word-break: break-word;
}

.spr-pliki[b-adsvvb84x2] {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: .875rem;
}

.spr-rozmiar[b-adsvvb84x2] {
    opacity: .65;
    font-size: .78rem;
}

.spr-odpowiedz[b-adsvvb84x2] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.spr-podpowiedz[b-adsvvb84x2] {
    margin: 0;
    font-size: .85rem;
    opacity: .8;
}

.spr-pole[b-adsvvb84x2] {
    width: 100%;
    box-sizing: border-box;
    padding: .6rem .75rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: .5rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    font: inherit;
    resize: vertical;
}

.spr-blad[b-adsvvb84x2] {
    margin: 0;
    color: #b91c1c;
}

.spr-przyciski[b-adsvvb84x2] {
    display: flex;
    justify-content: flex-end;
}

.spr-btn[b-adsvvb84x2] {
    padding: .6rem 1.4rem;
    border: none;
    border-radius: .5rem;
    background: var(--dxbl-primary, #2563eb);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.spr-btn:disabled[b-adsvvb84x2] {
    opacity: .6;
    cursor: progress;
}

/* Ciemny motyw: jasne plakietki i dymek klienta → półprzezroczysty kolor na ciemnym tle, jaśniejszy tekst. */
html[data-theme-mode="dark"] .spr-status-ssUKlienta[b-adsvvb84x2] {
    background: rgba(245, 158, 11, .22);
    color: #fcd34d;
}

html[data-theme-mode="dark"] .spr-status-ssUBiura[b-adsvvb84x2],
html[data-theme-mode="dark"] .spr-status-ssNowa[b-adsvvb84x2] {
    background: rgba(99, 102, 241, .25);
    color: #c7d2fe;
}

html[data-theme-mode="dark"] .spr-status-ssZakonczona[b-adsvvb84x2],
html[data-theme-mode="dark"] .spr-komunikat[b-adsvvb84x2] {
    background: rgba(16, 185, 129, .18);
    color: #6ee7b7;
}

html[data-theme-mode="dark"] .spr-obiekt[b-adsvvb84x2],
html[data-theme-mode="dark"] .spr-rodzaj[b-adsvvb84x2] {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

html[data-theme-mode="dark"] .spr-wpis-klient:not(.spr-wpis-system)[b-adsvvb84x2] {
    background: rgba(37, 99, 235, .16);
    border-color: rgba(96, 165, 250, .35);
}

html[data-theme-mode="dark"] .spr-nowy[b-adsvvb84x2] {
    background: rgba(59, 130, 246, .22);
    color: #93c5fd;
}

html[data-theme-mode="dark"] .spr-blad[b-adsvvb84x2] {
    color: #f87171;
}
/* /Components/Pages/SprawaNowa.razor.rz.scp.css */
.spn-shell[b-dn70wyu8ag] {
    max-width: 40rem;
    margin: 0 auto;
}

.spn-powrot[b-dn70wyu8ag] {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .875rem;
}

.spn-formularz[b-dn70wyu8ag] {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.spn-pole[b-dn70wyu8ag] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .875rem;
}

.spn-input[b-dn70wyu8ag] {
    padding: .55rem .75rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: .5rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    font: inherit;
}

textarea.spn-input[b-dn70wyu8ag] {
    resize: vertical;
}

.spn-check[b-dn70wyu8ag] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
}

.spn-okres[b-dn70wyu8ag] {
    display: flex;
    gap: 1rem;
}

.spn-rok[b-dn70wyu8ag] {
    width: 7rem;
}

.spn-blad[b-dn70wyu8ag] {
    margin: 0;
    color: #b91c1c;
}

.spn-przyciski[b-dn70wyu8ag] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.spn-btn[b-dn70wyu8ag] {
    padding: .6rem 1.4rem;
    border: none;
    border-radius: .5rem;
    background: var(--dxbl-primary, #2563eb);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.spn-btn:disabled[b-dn70wyu8ag] {
    opacity: .6;
    cursor: progress;
}

html[data-theme-mode="dark"] .spn-blad[b-dn70wyu8ag] {
    color: #f87171;
}
/* /Components/Pages/Sprawy.razor.rz.scp.css */
/* Sprawy — lista spraw klienta z biurem. Mobile-first, paleta jak „Pliki od biura”. */

.sp-shell[b-6uff546276] {
    max-width: 56rem;
    margin: 0 auto;
}

.sp-btn[b-6uff546276] {
    display: inline-block;
    padding: .55rem 1rem;
    border-radius: .5rem;
    background: var(--dxbl-primary, #2563eb);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.sp-btn:hover[b-6uff546276] {
    filter: brightness(1.08);
}

.sp-baner[b-6uff546276] {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
    padding: .75rem 1rem;
    border-radius: .6rem;
    background: #fef3c7;
    color: #78350f;
    text-decoration: none;
    font-weight: 500;
}

.sp-baner-ikona[b-6uff546276] {
    font-size: 1.2rem;
}

.sp-filtry[b-6uff546276] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.sp-filtr[b-6uff546276] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .875rem;
}

.sp-input[b-6uff546276] {
    padding: .5rem .75rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: .5rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    font: inherit;
}

.sp-zakladki[b-6uff546276] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--dxbl-border-color, #e2e2e2);
}

.sp-zakladka[b-6uff546276] {
    padding: .55rem .9rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    opacity: .75;
}

.sp-zakladka-akt[b-6uff546276] {
    border-bottom-color: var(--dxbl-primary, #2563eb);
    font-weight: 600;
    opacity: 1;
}

.sp-licznik[b-6uff546276] {
    display: inline-block;
    min-width: 1.4rem;
    margin-left: .25rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--dxbl-border-color, #e8e8e8);
    font-size: .75rem;
    text-align: center;
}

.sp-lista[b-6uff546276] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.sp-sprawa[b-6uff546276] {
    display: block;
    padding: .75rem .95rem;
    border: 1px solid var(--dxbl-border-color, #e2e2e2);
    border-radius: .6rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    text-decoration: none;
}

.sp-sprawa:hover[b-6uff546276] {
    border-color: var(--dxbl-primary, #2563eb);
}

.sp-sprawa-reakcja[b-6uff546276] {
    border-left: 4px solid #d97706;
}

.sp-sprawa-glowne[b-6uff546276] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.sp-temat[b-6uff546276] {
    font-weight: 600;
    word-break: break-word;
}

.sp-badge[b-6uff546276] {
    font-size: .72rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: var(--dxbl-border-color, #e8e8e8);
    white-space: nowrap;
}

.sp-badge-nowe[b-6uff546276] {
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 600;
}

.sp-badge-akcja[b-6uff546276] {
    background: #fef3c7;
    color: #78350f;
}

.sp-status-ssUKlienta[b-6uff546276] {
    background: #fde68a;
    color: #78350f;
}

.sp-status-ssUBiura[b-6uff546276],
.sp-status-ssNowa[b-6uff546276] {
    background: #e0e7ff;
    color: #3730a3;
}

.sp-status-ssZakonczona[b-6uff546276] {
    background: #d1fae5;
    color: #065f46;
}

.sp-sprawa-meta[b-6uff546276] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1rem;
    margin-top: .35rem;
    font-size: .8rem;
    opacity: .85;
}

.sp-numer[b-6uff546276] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Ciemny motyw: jasne plakietki i baner → półprzezroczysty kolor na ciemnym tle, jaśniejszy tekst. */
html[data-theme-mode="dark"] .sp-baner[b-6uff546276],
html[data-theme-mode="dark"] .sp-badge-akcja[b-6uff546276] {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

html[data-theme-mode="dark"] .sp-badge-nowe[b-6uff546276] {
    background: rgba(59, 130, 246, .22);
    color: #93c5fd;
}

html[data-theme-mode="dark"] .sp-status-ssUKlienta[b-6uff546276] {
    background: rgba(245, 158, 11, .22);
    color: #fcd34d;
}

html[data-theme-mode="dark"] .sp-status-ssUBiura[b-6uff546276],
html[data-theme-mode="dark"] .sp-status-ssNowa[b-6uff546276] {
    background: rgba(99, 102, 241, .25);
    color: #c7d2fe;
}

html[data-theme-mode="dark"] .sp-status-ssZakonczona[b-6uff546276] {
    background: rgba(16, 185, 129, .18);
    color: #6ee7b7;
}
/* /Components/Pages/Wyniki.razor.rz.scp.css */
/* Wyniki — wynik miesiąca i kwoty podatków. Mobile-first, jak reszta ekranów klienta. */

.wyn-shell[b-vi63e4yzhj] {
    max-width: 56rem;
    margin: 0 auto;
}

.wyn-firma[b-vi63e4yzhj] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
}

.wyn-input[b-vi63e4yzhj] {
    padding: .55rem .75rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: .5rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    font: inherit;
}

/* --- pasek okresów --- */
.wyn-okresy[b-vi63e4yzhj] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.wyn-okres[b-vi63e4yzhj] {
    padding: .45rem .9rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.wyn-okres:hover[b-vi63e4yzhj] {
    border-color: var(--dxbl-primary, #0d6efd);
}

.wyn-okres-akt[b-vi63e4yzhj] {
    background: var(--dxbl-primary, #0d6efd);
    border-color: var(--dxbl-primary, #0d6efd);
    color: #fff;
}

/* --- komunikaty --- */
.wyn-korekta[b-vi63e4yzhj],
.wyn-uwagi[b-vi63e4yzhj] {
    padding: .75rem 1rem;
    border-radius: .5rem;
    margin-bottom: 1.25rem;
    font-size: .9rem;
}

.wyn-korekta[b-vi63e4yzhj] {
    background: rgba(255, 193, 7, .14);
    border: 1px solid rgba(255, 193, 7, .5);
}

.wyn-uwagi[b-vi63e4yzhj] {
    background: rgba(13, 110, 253, .08);
    border: 1px solid rgba(13, 110, 253, .3);
    white-space: pre-wrap;
}

/* --- sekcje --- */
.wyn-sekcja[b-vi63e4yzhj] {
    margin-bottom: 2rem;
}

.wyn-h2[b-vi63e4yzhj] {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 .75rem;
}

.wyn-nota[b-vi63e4yzhj] {
    font-size: .875rem;
    opacity: .8;
    margin: .5rem 0 0;
}

/* --- tabela wyniku --- */
.wyn-tabela[b-vi63e4yzhj] {
    border: 1px solid var(--dxbl-border-color, #e2e2e2);
    border-radius: .6rem;
    overflow: hidden;
}

.wyn-wiersz[b-vi63e4yzhj] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: .6rem .9rem;
    border-bottom: 1px solid var(--dxbl-border-color, #ededed);
}

.wyn-wiersz:last-child[b-vi63e4yzhj] {
    border-bottom: none;
}

.wyn-wiersz > span:nth-child(2)[b-vi63e4yzhj],
.wyn-wiersz > span:nth-child(3)[b-vi63e4yzhj] {
    min-width: 7.5rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wyn-naglowek[b-vi63e4yzhj] {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    opacity: .7;
}

.wyn-wiersz-mocny[b-vi63e4yzhj] {
    font-weight: 600;
}

/* --- karty płatności --- */
.wyn-platnosci[b-vi63e4yzhj] {
    display: grid;
    gap: 1rem;
}

.wyn-platnosc[b-vi63e4yzhj] {
    border: 1px solid var(--dxbl-border-color, #e2e2e2);
    border-radius: .6rem;
    padding: 1rem;
}

.wyn-platnosc-poterminie[b-vi63e4yzhj] {
    border-color: rgba(220, 53, 69, .55);
}

/* Zapłata potwierdzona przez klienta („Zapłaciłem” w sprawie) albo biuro. */
.wyn-platnosc-zaplacona[b-vi63e4yzhj] {
    border-color: rgba(25, 135, 84, .55);
}

.wyn-pl-zaplacono[b-vi63e4yzhj] {
    color: #198754;
    font-weight: 600;
}

.wyn-pl-head[b-vi63e4yzhj] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .75rem;
}

.wyn-pl-tytul[b-vi63e4yzhj] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.wyn-pl-platnik[b-vi63e4yzhj] {
    margin: .15rem 0 0;
    font-size: .85rem;
    opacity: .75;
}

.wyn-pl-kwota[b-vi63e4yzhj] {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.wyn-pl-dane[b-vi63e4yzhj] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem 1rem;
    margin: 0;
    font-size: .9rem;
}

.wyn-pl-dane dt[b-vi63e4yzhj] {
    opacity: .7;
}

.wyn-pl-dane dd[b-vi63e4yzhj] {
    margin: 0;
}

.wyn-pl-rachunek[b-vi63e4yzhj] {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.wyn-pl-alert[b-vi63e4yzhj] {
    margin-left: .5rem;
    padding: .05rem .4rem;
    border-radius: .3rem;
    background: rgba(220, 53, 69, .15);
    color: #dc3545;
    font-size: .8rem;
}

.wyn-pl-qr[b-vi63e4yzhj] {
    margin: 1rem 0 0;
    text-align: center;
}

.wyn-pl-qr img[b-vi63e4yzhj] {
    width: 10rem;
    height: 10rem;
    image-rendering: pixelated;   /* kod QR to bitmapa — skalowanie bez rozmycia */
}

.wyn-pl-qr figcaption[b-vi63e4yzhj] {
    font-size: .8rem;
    opacity: .75;
    margin-top: .25rem;
}

.wyn-razem[b-vi63e4yzhj] {
    margin-top: 1rem;
    text-align: right;
    font-size: 1rem;
}

@media (max-width: 40rem) {
    .wyn-wiersz[b-vi63e4yzhj] {
        grid-template-columns: 1fr auto;
    }

    /* Na wąskim ekranie kolumna „od początku roku" zabierałaby czytelność kwocie miesiąca. */
    .wyn-wiersz > span:nth-child(3)[b-vi63e4yzhj] {
        display: none;
    }

    .wyn-pl-head[b-vi63e4yzhj] {
        flex-direction: column;
    }
}

/* Ciemny motyw: ciemna zieleń i czerwień tracą kontrast na ciemnym tle — jaśniejsze odcienie. */
html[data-theme-mode="dark"] .wyn-pl-zaplacono[b-vi63e4yzhj] {
    color: #4ade80;
}

html[data-theme-mode="dark"] .wyn-pl-alert[b-vi63e4yzhj] {
    color: #f87171;
}
/* /Components/Shared/DateTimeText.razor.rz.scp.css */
.datetime[b-lczysjbch9] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.datetime-null[b-lczysjbch9] {
    opacity: 0.4;
    font-weight: 300;
}
/* /Components/Shared/DeadlineCountdown.razor.rz.scp.css */
.dc[b-1baq1omu4s] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-size: 0.95em;
}

.dc-date[b-1baq1omu4s] {
    font-weight: 500;
}

.dc-countdown[b-1baq1omu4s] {
    opacity: 0.8;
    font-size: 0.9em;
}

/* Stan: dużo czasu (>7 dni) — neutralny */
.dc--future[b-1baq1omu4s] {
    background: rgba(0, 0, 0, 0.04);
    color: inherit;
}

/* Stan: niedługo (2-7 dni) — żółty */
.dc--soon[b-1baq1omu4s] {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

/* Stan: pilne (3 dni) — pomarańczowy */
.dc--urgent[b-1baq1omu4s] {
    background: rgba(234, 88, 12, 0.15);
    color: #c2410c;
    font-weight: 600;
}

/* Stan: jutro */
.dc--tomorrow[b-1baq1omu4s] {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    font-weight: 600;
}

/* Stan: dziś — czerwony alarmowy */
.dc--today[b-1baq1omu4s] {
    background: rgba(220, 38, 38, 0.18);
    color: #991b1b;
    font-weight: 700;
}

/* Stan: minął — wygaszony */
.dc--expired[b-1baq1omu4s] {
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
    text-decoration: line-through;
    text-decoration-color: rgba(107, 114, 128, 0.5);
}

.dc--expired .dc-countdown[b-1baq1omu4s] {
    text-decoration: none;
}

/* Stan: po terminie, a rzecz wciąż do zrobienia (akcje spraw) — czerwony, nie wygaszony */
.dc--overdue[b-1baq1omu4s] {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    font-weight: 600;
}

/* Ciemny motyw — jak DeadlineBanner: półprzezroczyste tło, jaśniejszy odcień tekstu. */
html[data-theme-mode="dark"] .dc--future[b-1baq1omu4s] {
    background: rgba(255, 255, 255, 0.06);
}

html[data-theme-mode="dark"] .dc--soon[b-1baq1omu4s] {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
}

html[data-theme-mode="dark"] .dc--urgent[b-1baq1omu4s] {
    background: rgba(234, 88, 12, 0.2);
    color: #fb923c;
}

html[data-theme-mode="dark"] .dc--tomorrow[b-1baq1omu4s],
html[data-theme-mode="dark"] .dc--overdue[b-1baq1omu4s] {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
}

html[data-theme-mode="dark"] .dc--today[b-1baq1omu4s] {
    background: rgba(220, 38, 38, 0.25);
    color: #fca5a5;
}

html[data-theme-mode="dark"] .dc--expired[b-1baq1omu4s] {
    background: rgba(255, 255, 255, 0.04);
    color: #9ca3af;
    text-decoration-color: rgba(156, 163, 175, 0.5);
}
/* /Components/Shared/EmptyState.razor.rz.scp.css */
.empty-state[b-fbt50x1fa3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--dxbl-page-color, inherit);
}

.empty-state-icon[b-fbt50x1fa3] {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.55;
}

.empty-state-title[b-fbt50x1fa3] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dxbl-page-color, inherit);
}

.empty-state-message[b-fbt50x1fa3] {
    margin: 0.5rem 0 0 0;
    color: var(--dxbl-page-color, #666);
    opacity: 0.7;
    max-width: 32rem;
    line-height: 1.5;
}

.empty-state-action[b-fbt50x1fa3] {
    margin-top: 1.25rem;
}

.empty-state.empty-state-compact[b-fbt50x1fa3] {
    padding: 1.5rem 1rem;
}

.empty-state.empty-state-compact .empty-state-icon[b-fbt50x1fa3] {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.empty-state.empty-state-compact .empty-state-title[b-fbt50x1fa3] {
    font-size: 1rem;
}
/* /Components/Shared/MoneyText.razor.rz.scp.css */
.money[b-qmo406yj1r] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.money-currency[b-qmo406yj1r] {
    opacity: 0.65;
    font-size: 0.9em;
}

.money-null[b-qmo406yj1r] {
    opacity: 0.4;
    font-weight: 300;
}

.money-negative[b-qmo406yj1r] {
    color: #d13438;
}
/* /Components/Shared/PageHeader.razor.rz.scp.css */
.page-header[b-jgevnqdu7b] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dxbl-page-border-color, #e0e0e0);
}

.page-header-text[b-jgevnqdu7b] {
    flex: 1 1 auto;
    min-width: 0;
}

.page-header h1[b-jgevnqdu7b] {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dxbl-page-color);
}

/*
 * Focus styling .page-header h1 jest w wwwroot/css/site.css (globalny).
 *
 * Dlaczego nie tutaj: Blazor CSS isolation transformuje
 *   .page-header h1:focus { ... }
 * NA niepoprawne:
 *   .page-header h1:focus[b-xxxxx] { ... }
 * (atrybut po pseudo-class — naruszenie CSS spec, browser ignoruje regułę).
 * To znany defect Blazor isolation gdy pseudo-class jest na końcu łańcucha.
 *
 * Workaround: globalne reguły w site.css gdzie nie ma scope-transformacji.
 */

.page-header-subtitle[b-jgevnqdu7b] {
    margin: 0.35rem 0 0 0;
    color: var(--dxbl-page-color, #666);
    opacity: 0.7;
    font-size: 0.95rem;
}

.page-header-actions[b-jgevnqdu7b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .page-header[b-jgevnqdu7b] {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header h1[b-jgevnqdu7b] {
        font-size: 1.3rem;
    }
}
/* /Components/Shared/ThemeSwitcher.razor.rz.scp.css */
/*
 * CSS isolation dla ThemeSwitcher.
 * Używamy --dxbl-accent-color-* żeby kolor akcentu śledził theme automatycznie.
 */

.theme-switcher[b-l30x0rc3t1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ts-icon-btn[b-l30x0rc3t1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.ts-icon-btn:hover[b-l30x0rc3t1] {
    background: var(--dxbl-accent-color-10);
    border-color: var(--dxbl-accent-color-30);
}

.ts-icon[b-l30x0rc3t1] {
    display: inline-block;
    line-height: 1;
}

.ts-accent-wrap[b-l30x0rc3t1] {
    position: relative;
}

.ts-accent-trigger[b-l30x0rc3t1] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--dxbl-page-border-color, #e0e0e0);
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
}

.ts-accent-trigger:hover[b-l30x0rc3t1] {
    background: var(--dxbl-accent-color-10);
    border-color: var(--dxbl-accent-color-40);
}

.ts-dot[b-l30x0rc3t1] {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.ts-label[b-l30x0rc3t1] {
    font-weight: 500;
}

.ts-caret[b-l30x0rc3t1] {
    margin-left: 0.15rem;
    font-size: 0.7rem;
    opacity: 0.6;
}

.ts-accent-menu[b-l30x0rc3t1] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.25rem);
    min-width: 12rem;
    background: var(--dxbl-content-bg, #fff);
    border: 1px solid var(--dxbl-page-border-color, #e0e0e0);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 0.25rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ts-accent-option[b-l30x0rc3t1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
}

.ts-accent-option:hover[b-l30x0rc3t1] {
    background: var(--dxbl-accent-color-10);
}

.ts-accent-option-selected[b-l30x0rc3t1] {
    background: var(--dxbl-accent-color-20);
    font-weight: 600;
}

.ts-accent-option-selected:hover[b-l30x0rc3t1] {
    background: var(--dxbl-accent-color-30);
}

/* Telefon: sama kropka koloru — nazwa akcentu zabierała miejsce w pasku portalu klienta. */
@media (max-width: 760px) {
    .ts-label[b-l30x0rc3t1] {
        display: none;
    }
}
/* /Components/Sprawy/AkcjaSprawy.razor.rz.scp.css */
.spa[b-n0vllmx6m1] {
    padding: .85rem 1rem;
    border: 1px solid var(--dxbl-border-color, #e2e2e2);
    border-radius: .6rem;
    background: var(--dxbl-bg, #fff);
}

.spa-otwarta[b-n0vllmx6m1] {
    border-left: 4px solid #d97706;
}

.spa-wykonana[b-n0vllmx6m1] {
    opacity: .9;
}

.spa-naglowek[b-n0vllmx6m1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}

.spa-etykieta[b-n0vllmx6m1] {
    font-weight: 600;
}

.spa-kwota[b-n0vllmx6m1] {
    font-weight: 600;
}

.spa-poprawa[b-n0vllmx6m1] {
    font-size: .75rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
}

.spa-przelew[b-n0vllmx6m1] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: flex-start;
    margin-top: .75rem;
}

.spa-dane[b-n0vllmx6m1] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .25rem .75rem;
    margin: 0;
    font-size: .875rem;
    flex: 1 1 18rem;
}

.spa-dane dt[b-n0vllmx6m1] {
    opacity: .7;
}

.spa-dane dd[b-n0vllmx6m1] {
    margin: 0;
    word-break: break-word;
}

.spa-rachunek[b-n0vllmx6m1] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    user-select: all;
}

.spa-qr[b-n0vllmx6m1] {
    margin: 0;
    text-align: center;
    font-size: .75rem;
    opacity: .9;
}

.spa-qr img[b-n0vllmx6m1] {
    display: block;
    background: #fff;
    padding: .25rem;
    border-radius: .35rem;
}

.spa-formularz[b-n0vllmx6m1] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .75rem 1rem;
    margin-top: .9rem;
}

.spa-pole[b-n0vllmx6m1] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .85rem;
}

.spa-input[b-n0vllmx6m1] {
    padding: .45rem .65rem;
    border: 1px solid var(--dxbl-border-color, #d0d0d0);
    border-radius: .45rem;
    background: var(--dxbl-bg, #fff);
    color: inherit;
    font: inherit;
}

.spa-input-kwota[b-n0vllmx6m1] {
    width: 9rem;
}

textarea.spa-input[b-n0vllmx6m1] {
    min-width: min(20rem, 80vw);
}

.spa-plik-pole[b-n0vllmx6m1] {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    max-width: 18rem;
    padding: .4rem .8rem;
    border: 1px dashed var(--dxbl-border-color, #c8c8c8);
    border-radius: .45rem;
    font-size: .85rem;
    cursor: pointer;
}

.spa-plik-pole[b-n0vllmx6m1]  input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.spa-plik-pole-zajete[b-n0vllmx6m1] {
    opacity: .6;
    cursor: progress;
}

.spa-plik[b-n0vllmx6m1] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spa-btn[b-n0vllmx6m1] {
    padding: .55rem 1rem;
    border: none;
    border-radius: .5rem;
    background: var(--dxbl-primary, #2563eb);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.spa-btn:disabled[b-n0vllmx6m1] {
    opacity: .6;
    cursor: progress;
}

.spa-blad[b-n0vllmx6m1] {
    flex-basis: 100%;
    margin: 0;
    color: #b91c1c;
    font-size: .85rem;
}

.spa-opis[b-n0vllmx6m1] {
    margin-top: .4rem;
    font-size: .875rem;
}

.spa-kiedy[b-n0vllmx6m1] {
    opacity: .7;
    margin-left: .25rem;
}

/* Pole „tabela” (np. dane do listy płac: pracownicy × kolumny) — pełna szerokość formularza. */
.spa-tabela-pole[b-n0vllmx6m1] {
    flex-basis: 100%;
    min-width: 0;
}

.spa-tabela-tytul[b-n0vllmx6m1] {
    font-weight: 600;
    font-size: .9rem;
}

.spa-tabela-podpowiedz[b-n0vllmx6m1] {
    margin: .15rem 0 .5rem 0;
    font-size: .8rem;
    opacity: .75;
}

/* Wiele kolumn (dane do listy płac) — przewijanie w poziomie w obrębie karty zamiast wystawania poza nią. */
.spa-tabela-przewijanie[b-n0vllmx6m1] {
    overflow-x: auto;
}

.spa-tabela[b-n0vllmx6m1] {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

.spa-tabela th[b-n0vllmx6m1],
.spa-tabela td[b-n0vllmx6m1] {
    padding: .3rem .4rem;
    border-bottom: 1px solid var(--dxbl-border-color, #e5e5e5);
    text-align: left;
    vertical-align: middle;
}

.spa-tabela thead th[b-n0vllmx6m1] {
    font-size: .75rem;
    font-weight: 600;
    opacity: .8;
}

.spa-tabela tbody th[b-n0vllmx6m1] {
    font-weight: 600;
    white-space: nowrap;
}

.spa-tabela-opis[b-n0vllmx6m1] {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    opacity: .7;
}

.spa-komorka[b-n0vllmx6m1] {
    width: 100%;
    min-width: 3.5rem;
    box-sizing: border-box;
    padding: .3rem .45rem;
}

.spa-komorka-liczba[b-n0vllmx6m1],
.spa-komorka-kwota[b-n0vllmx6m1] {
    max-width: 6rem;
    text-align: right;
}

.spa-komorka-tekst[b-n0vllmx6m1] {
    min-width: 8rem;
}

/* Telefon: wiersz = karta, komórka = podpis + pole. */
@media (max-width: 640px) {
    .spa-tabela thead[b-n0vllmx6m1] {
        display: none;
    }

    .spa-tabela[b-n0vllmx6m1],
    .spa-tabela tbody[b-n0vllmx6m1],
    .spa-tabela tr[b-n0vllmx6m1],
    .spa-tabela th[b-n0vllmx6m1],
    .spa-tabela td[b-n0vllmx6m1] {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .spa-tabela tr[b-n0vllmx6m1] {
        margin-bottom: .6rem;
        padding: .4rem .6rem;
        border: 1px solid var(--dxbl-border-color, #e5e5e5);
        border-radius: .45rem;
    }

    .spa-tabela th[b-n0vllmx6m1],
    .spa-tabela td[b-n0vllmx6m1] {
        border-bottom: none;
        padding: .25rem 0;
    }

    .spa-tabela td[b-n0vllmx6m1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    .spa-tabela td[b-n0vllmx6m1]::before {
        content: attr(data-etykieta);
        font-size: .8rem;
        opacity: .8;
    }

    .spa-komorka-liczba[b-n0vllmx6m1],
    .spa-komorka-kwota[b-n0vllmx6m1] {
        max-width: 8rem;
    }

    .spa-komorka-tekst[b-n0vllmx6m1] {
        min-width: 0;
        max-width: 60%;
    }
}

/* Ciemny motyw. Białe tło pod kodem QR (.spa-qr img) zostaje — aplikacje banków czytają kod ciemny na jasnym. */
html[data-theme-mode="dark"] .spa-poprawa[b-n0vllmx6m1] {
    background: rgba(220, 38, 38, .2);
    color: #fca5a5;
}

html[data-theme-mode="dark"] .spa-blad[b-n0vllmx6m1] {
    color: #f87171;
}
/* /Components/Sprawy/PostepSprawy.razor.rz.scp.css */
/* Postęp sprawy z etapami (J2b): kroki „Dokumenty → Księgowanie”, tytuł etapu i lista kroków etapu 1. */

.ps[b-a44uz44eil] {
    margin: 0 0 1.25rem;
    padding: .75rem 1rem .8rem;
    border: 1px solid var(--dxbl-page-border-color, #e2e2e2);
    border-radius: .6rem;
    background: var(--dxbl-content-bg, #fafafa);
}

.ps-kroki[b-a44uz44eil] {
    list-style: none;
    margin: 0 0 .55rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.ps-krok[b-a44uz44eil] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}

.ps-krok-przyszly[b-a44uz44eil] {
    opacity: .55;
}

.ps-znak[b-a44uz44eil] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    box-sizing: border-box;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: .78rem;
    line-height: 1;
}

.ps-krok-biezacy .ps-znak[b-a44uz44eil] {
    border-color: var(--dxbl-accent-color-100, #2563eb);
    background: var(--dxbl-accent-color-100, #2563eb);
    color: #fff;
}

.ps-krok-zrobiony .ps-znak[b-a44uz44eil] {
    border-color: #059669;
    background: #059669;
    color: #fff;
}

.ps-kreska[b-a44uz44eil] {
    flex: 0 1 4rem;
    min-width: 1rem;
    height: 2px;
    background: var(--dxbl-page-border-color, #d0d0d0);
}

.ps-kreska-zrobiona[b-a44uz44eil] {
    background: #059669;
}

.ps-tytul[b-a44uz44eil] {
    margin: 0 0 .45rem;
    font-weight: 600;
}

.ps-lista[b-a44uz44eil] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .9rem;
}

.ps-poz[b-a44uz44eil] {
    display: grid;
    grid-template-columns: 1.15rem 1fr;
    gap: .5rem;
    align-items: start;
    line-height: 1.4;
}

.ps-ikona[b-a44uz44eil] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .1rem;
    box-sizing: border-box;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
}

.ps-ok .ps-ikona[b-a44uz44eil] {
    background: #d1fae5;
    color: #065f46;
}

.ps-czeka .ps-ikona[b-a44uz44eil] {
    border: 2px solid #d97706;
}

.ps-nd .ps-ikona[b-a44uz44eil] {
    background: var(--dxbl-page-border-color, #e0e0e0);
}

.ps-nd[b-a44uz44eil] {
    opacity: .8;
}

.ps-opis[b-a44uz44eil] {
    font-size: .82rem;
    opacity: .8;
}

.ps-czeka .ps-opis[b-a44uz44eil] {
    color: #92400e;
    opacity: 1;
}

.ps-opis a[b-a44uz44eil] {
    font-weight: 600;
}

.ps-uwaga[b-a44uz44eil] {
    margin: .5rem 0 0;
    font-size: .8rem;
    opacity: .75;
}

/* Tekst tylko dla czytników ekranu (stan kroku zamiast samej ikony). */
.ps-sr[b-a44uz44eil] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html[data-theme-mode="dark"] .ps-ok .ps-ikona[b-a44uz44eil] {
    background: rgba(16, 185, 129, .22);
    color: #6ee7b7;
}

html[data-theme-mode="dark"] .ps-czeka .ps-ikona[b-a44uz44eil] {
    border-color: #f59e0b;
}

html[data-theme-mode="dark"] .ps-czeka .ps-opis[b-a44uz44eil] {
    color: #fbbf24;
}

html[data-theme-mode="dark"] .ps-krok-zrobiony .ps-znak[b-a44uz44eil],
html[data-theme-mode="dark"] .ps-kreska-zrobiona[b-a44uz44eil] {
    border-color: #10b981;
    background: #10b981;
}
/* /Components/Sprawy/TabelaOdpowiedziWidok.razor.rz.scp.css */
.to[b-42kybljuy5] {
    margin-top: .5rem;
}

.to-tytul[b-42kybljuy5] {
    margin-bottom: .25rem;
    font-size: .8rem;
    font-weight: 600;
    opacity: .85;
}

/* Wiele kolumn na telefonie — tabela przewija się w poziomie zamiast rozpychać stronę. */
.to-przewijanie[b-42kybljuy5] {
    overflow-x: auto;
}

.to-tabela[b-42kybljuy5] {
    border-collapse: collapse;
    font-size: .82rem;
}

.to-tabela th[b-42kybljuy5],
.to-tabela td[b-42kybljuy5] {
    padding: .25rem .6rem .25rem 0;
    border-bottom: 1px solid var(--dxbl-border-color, #e5e5e5);
    text-align: left;
    white-space: nowrap;
}

.to-tabela thead th[b-42kybljuy5] {
    font-weight: 600;
    opacity: .75;
}

.to-tabela tbody th[b-42kybljuy5] {
    font-weight: 600;
}

.to-bez-zmian td[b-42kybljuy5] {
    opacity: .6;
    font-style: italic;
}
/* /Components/Sprawy/WyborPlikow.razor.rz.scp.css */
.wp[b-55t448exqz] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.wp-pole[b-55t448exqz] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .55rem .9rem;
    border: 1px dashed var(--dxbl-border-color, #c8c8c8);
    border-radius: .5rem;
    font-size: .875rem;
    cursor: pointer;
    text-align: center;
}

.wp-pole[b-55t448exqz]  input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.wp-pole-zajete[b-55t448exqz] {
    opacity: .6;
    cursor: progress;
}

.wp-bledy[b-55t448exqz] {
    margin: 0;
    padding-left: 1.1rem;
    color: #b91c1c;
    font-size: .8rem;
}

.wp-lista[b-55t448exqz] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.wp-plik[b-55t448exqz] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .2rem .35rem .2rem .6rem;
    border-radius: 999px;
    background: var(--dxbl-border-color, #eee);
    font-size: .8rem;
}

.wp-nazwa[b-55t448exqz] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wp-rozmiar[b-55t448exqz] {
    opacity: .7;
}

.wp-usun[b-55t448exqz] {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    padding: 0 .25rem;
}

html[data-theme-mode="dark"] .wp-bledy[b-55t448exqz] {
    color: #f87171;
}
