/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-header[b-d90af8p86t] {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #dde3ea;
    display: flex;
    height: 64px;
    justify-content: space-between;
    padding: 0 24px;
}

.brand-icon[b-d90af8p86t] {
    color: #1976d2;
    font-size: 30px;
}

.sidebar-toggle[b-d90af8p86t] {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.sidebar-toggle:hover[b-d90af8p86t] {
    background: #f3f4f6;
}

.sidebar-toggle-lines[b-d90af8p86t],
.sidebar-toggle-lines[b-d90af8p86t]::before,
.sidebar-toggle-lines[b-d90af8p86t]::after {
    background: currentColor;
    border-radius: 2px;
    display: block;
    height: 2px;
    width: 16px;
}

.sidebar-toggle-lines[b-d90af8p86t] {
    position: relative;
}

.sidebar-toggle-lines[b-d90af8p86t]::before,
.sidebar-toggle-lines[b-d90af8p86t]::after {
    content: "";
    left: 0;
    position: absolute;
}

.sidebar-toggle-lines[b-d90af8p86t]::before {
    top: -5px;
}

.sidebar-toggle-lines[b-d90af8p86t]::after {
    top: 5px;
}

.brand-title[b-d90af8p86t] {
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
}

.brand-subtitle[b-d90af8p86t] {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.2;
}

.app-main[b-d90af8p86t] {
    background: #f5f7fa;
    min-height: calc(100vh - 64px);
    padding: 24px;
}

.dashboard[b-d90af8p86t] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-hero[b-d90af8p86t] {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
}

.dashboard-hero h1[b-d90af8p86t] {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
}

.dashboard-hero p[b-d90af8p86t] {
    color: #4b5563;
    margin: 0;
    max-width: 720px;
}

.metric-card[b-d90af8p86t] {
    border-radius: 8px;
    min-height: 136px;
}

.metric-card .rz-icon[b-d90af8p86t] {
    color: #1976d2;
    font-size: 30px;
}

.metric-value[b-d90af8p86t] {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin-top: 12px;
}

.metric-label[b-d90af8p86t] {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.setup-card[b-d90af8p86t] {
    border-radius: 8px;
}

.setup-card h2[b-d90af8p86t] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}

#blazor-error-ui[b-d90af8p86t] {
    background: #fff8db;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-d90af8p86t] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 700px) {
    .app-header[b-d90af8p86t] {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        height: auto;
        padding: 14px 16px;
    }

    .app-main[b-d90af8p86t] {
        padding: 16px;
    }

    .dashboard-hero[b-d90af8p86t] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-brand[b-38gxpyc4b6] {
    border-bottom: 1px solid #dde3ea;
    padding: 20px 18px 16px;
}

.sidebar-title[b-38gxpyc4b6] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.sidebar-meta[b-38gxpyc4b6] {
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px;
}

.billing-menu[b-38gxpyc4b6] {
    border: 0;
    padding: 10px 8px;
}

.account-block[b-38gxpyc4b6] {
    border-top: 1px solid #dde3ea;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 8px 0;
    padding: 16px;
}

.account-block a[b-38gxpyc4b6] {
    color: #111827;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-button[b-38gxpyc4b6] {
    width: 100%;
}
/* /Components/Pages/AuditLogView.razor.rz.scp.css */
.audit-page[b-oq1gaslhk8] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audit-json[b-oq1gaslhk8] {
    display: inline-block;
    max-width: 420px;
    max-height: 4.5em;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.8rem;
    color: var(--rz-text-secondary-color, #555);
}

.audit-error[b-oq1gaslhk8] {
    display: inline-block;
    max-width: 420px;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--rz-danger, #c0392b);
}
/* /Components/Pages/Charges.razor.rz.scp.css */
.charges-page[b-ze1uswu1vk] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.grid-card[b-ze1uswu1vk] {
    border-radius: 8px;
    min-width: 0;
    overflow: hidden;
}

.grid-card h2[b-ze1uswu1vk] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.period-toolbar[b-ze1uswu1vk] {
    margin-bottom: 12px;
}

.period-month[b-ze1uswu1vk] {
    width: 160px;
}

.period-year[b-ze1uswu1vk] {
    width: 110px;
}

.charges-metrics[b-ze1uswu1vk] {
    margin-bottom: 24px;
}

.reading-metric[b-ze1uswu1vk] {
    border-radius: 8px;
    min-height: 96px;
}

.metric-label[b-ze1uswu1vk] {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.25;
}

.metric-value[b-ze1uswu1vk] {
    color: #111827;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 10px;
    overflow-wrap: anywhere;
}

.metric-warning[b-ze1uswu1vk] {
    background: #fee2e2;
    border-color: #fecaca;
}

.metric-warning .metric-label[b-ze1uswu1vk],
.metric-warning .metric-value[b-ze1uswu1vk] {
    color: #991b1b;
}

.charges-actions[b-ze1uswu1vk] {
    margin-top: 12px;
    margin-bottom: 16px;
}

.charges-actions[b-ze1uswu1vk]  .rz-button {
    white-space: normal;
}

.charges-grid-wrap[b-ze1uswu1vk] {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.charges-grid[b-ze1uswu1vk],
.charges-history-grid[b-ze1uswu1vk] {
    margin-top: 8px;
    min-width: 1330px;
}

.charges-history-grid[b-ze1uswu1vk] {
    min-width: 1090px;
}

.charges-grid[b-ze1uswu1vk]  .rz-cell-data,
.charges-history-grid[b-ze1uswu1vk]  .rz-cell-data {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-reading-input[b-ze1uswu1vk] {
    width: 100%;
    max-width: 118px;
}

.customer-link[b-ze1uswu1vk] {
    color: #1565c0;
    display: inline-block;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.customer-link:hover[b-ze1uswu1vk] {
    text-decoration: underline;
}

.muted-line[b-ze1uswu1vk] {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .period-month[b-ze1uswu1vk],
    .period-year[b-ze1uswu1vk],
    .period-toolbar[b-ze1uswu1vk]  .rz-button {
        width: 100%;
    }

    .metric-value[b-ze1uswu1vk] {
        font-size: 22px;
    }
}
/* /Components/Pages/Controllers.razor.rz.scp.css */
.controllers-page[b-vnajadx9uz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.editor-card[b-vnajadx9uz],
.grid-card[b-vnajadx9uz] {
    border-radius: 8px;
}

.editor-card h2[b-vnajadx9uz] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.switch-line[b-vnajadx9uz] {
    align-items: center;
    display: flex;
    min-height: 38px;
}
/* /Components/Pages/CustomerDetails.razor.rz.scp.css */
.customer-details[b-nxam5yn3pc] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-metric[b-nxam5yn3pc],
.details-card[b-nxam5yn3pc] {
    border-radius: 8px;
}

.detail-metric[b-nxam5yn3pc] {
    min-height: 104px;
}

.negative-metric[b-nxam5yn3pc] {
    background: #fee2e2;
    border-color: #fecaca;
}

.negative-metric .metric-label[b-nxam5yn3pc],
.negative-metric .metric-value[b-nxam5yn3pc] {
    color: #991b1b;
}

.metric-value-sm[b-nxam5yn3pc] {
    font-size: 20px;
    line-height: 1.2;
}

.card-heading[b-nxam5yn3pc] {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-heading h2[b-nxam5yn3pc] {
    margin: 0;
}

.ledger-period-controls[b-nxam5yn3pc] {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ledger-print-link[b-nxam5yn3pc] {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1565c0;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    text-decoration: none;
}

.ledger-print-link:hover[b-nxam5yn3pc] {
    background: #f3f4f6;
    text-decoration: none;
}

.ledger-print-link .material-icons[b-nxam5yn3pc] {
    font-size: 18px;
}

.details-card h2[b-nxam5yn3pc] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

.meter-replacement-form[b-nxam5yn3pc] {
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
    padding-top: 14px;
}

.meter-replacement-form h3[b-nxam5yn3pc] {
    color: #374151;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}

.details-list[b-nxam5yn3pc] {
    display: grid;
    gap: 10px 16px;
    grid-template-columns: 150px 1fr;
    margin: 0;
}

.details-list dt[b-nxam5yn3pc] {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.details-list dd[b-nxam5yn3pc] {
    color: #111827;
    margin: 0;
}

@media (max-width: 900px) {
    .card-heading[b-nxam5yn3pc] {
        align-items: flex-start;
        flex-direction: column;
    }

    .ledger-period-controls[b-nxam5yn3pc] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/CustomerLedgerReport.razor.rz.scp.css */
.print-report[b-h77h2w4iak] {
    background: #ffffff;
    color: #111827;
    min-height: 100vh;
    padding: 24px;
}

.report-actions[b-h77h2w4iak] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.report-link[b-h77h2w4iak],
.report-button[b-h77h2w4iak] {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1565c0;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    min-height: 34px;
    padding: 0 12px;
    text-decoration: none;
}

.report-button[b-h77h2w4iak] {
    background: #1565c0;
    border-color: #1565c0;
    color: #ffffff;
}

.report-header[b-h77h2w4iak] {
    align-items: flex-start;
    border-bottom: 2px solid #111827;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.report-header h1[b-h77h2w4iak] {
    font-size: 24px;
    margin: 0 0 6px;
}

.report-header p[b-h77h2w4iak] {
    color: #4b5563;
    margin: 0;
}

.report-company[b-h77h2w4iak] {
    font-size: 16px;
    font-weight: 700;
}

.report-customer[b-h77h2w4iak],
.report-totals[b-h77h2w4iak] {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 16px;
}

.report-customer div[b-h77h2w4iak],
.report-totals div[b-h77h2w4iak] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px;
}

.report-customer span[b-h77h2w4iak],
.report-totals span[b-h77h2w4iak] {
    color: #6b7280;
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.report-customer strong[b-h77h2w4iak],
.report-totals strong[b-h77h2w4iak] {
    display: block;
    font-size: 14px;
}

.report-table[b-h77h2w4iak] {
    border-collapse: collapse;
    font-size: 12px;
    width: 100%;
}

.report-table th[b-h77h2w4iak],
.report-table td[b-h77h2w4iak] {
    border: 1px solid #d1d5db;
    padding: 6px 7px;
    vertical-align: top;
}

.report-table th[b-h77h2w4iak] {
    background: #f3f4f6;
    font-weight: 700;
    text-align: left;
}

.number[b-h77h2w4iak] {
    text-align: right;
}

.empty-row[b-h77h2w4iak] {
    color: #6b7280;
    padding: 18px;
    text-align: center;
}

@media print {
    .no-print[b-h77h2w4iak] {
        display: none !important;
    }

    .print-report[b-h77h2w4iak] {
        padding: 0;
    }

    .report-customer[b-h77h2w4iak],
    .report-totals[b-h77h2w4iak] {
        break-inside: avoid;
    }

    .report-table[b-h77h2w4iak] {
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .report-customer[b-h77h2w4iak],
    .report-totals[b-h77h2w4iak] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Customers.razor.rz.scp.css */
.customers-page[b-2daobzm7aw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-card[b-2daobzm7aw] {
    border-radius: 8px;
}

.export-link[b-2daobzm7aw],
.export-link:hover[b-2daobzm7aw] {
    text-decoration: none;
}

.customer-link[b-2daobzm7aw] {
    color: #1565c0;
    font-weight: 700;
    text-decoration: none;
}

.customer-link:hover[b-2daobzm7aw] {
    text-decoration: underline;
}

.muted-line[b-2daobzm7aw] {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}

.grid-footer-label[b-2daobzm7aw],
.grid-footer-total[b-2daobzm7aw] {
    display: block;
    font-weight: 700;
}

.grid-footer-total[b-2daobzm7aw] {
    text-align: right;
}

.empty-state[b-2daobzm7aw] {
    color: #6b7280;
    padding: 18px 4px 4px;
}

.server-pager[b-2daobzm7aw] {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 14px;
}

.server-pager span[b-2daobzm7aw] {
    color: #4b5563;
    font-size: 13px;
    margin: 0 8px;
}

.pager-link[b-2daobzm7aw] {
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1565c0;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    min-height: 34px;
    padding: 0 12px;
    text-decoration: none;
}

.pager-link:hover[b-2daobzm7aw] {
    background: #f3f4f6;
    text-decoration: none;
}

.pager-link.is-disabled[b-2daobzm7aw] {
    color: #9ca3af;
    pointer-events: none;
}

@media (max-width: 900px) {
    .server-pager[b-2daobzm7aw] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dashboard[b-7w3rr9192x] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-hero[b-7w3rr9192x] {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 24px;
}

.dashboard-hero h1[b-7w3rr9192x] {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
}

.dashboard-hero p[b-7w3rr9192x] {
    color: #4b5563;
    margin: 0;
    max-width: 720px;
}

.metric-card[b-7w3rr9192x] {
    border-radius: 8px;
    min-height: 136px;
}

.metric-card .rz-icon[b-7w3rr9192x] {
    color: #1976d2;
    font-size: 30px;
}

.metric-value[b-7w3rr9192x] {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin-top: 12px;
}

.metric-label[b-7w3rr9192x] {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.setup-card[b-7w3rr9192x] {
    border-radius: 8px;
}

.setup-card h2[b-7w3rr9192x] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}

@media (max-width: 700px) {
    .dashboard-hero[b-7w3rr9192x] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/MeterReadings.razor.rz.scp.css */
.readings-page[b-lcvlt04pnj] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reading-metric[b-lcvlt04pnj],
.grid-card[b-lcvlt04pnj] {
    border-radius: 8px;
}

.reading-metric[b-lcvlt04pnj] {
    min-height: 104px;
}

.metric-warning[b-lcvlt04pnj] {
    background: #fee2e2;
    border-color: #fecaca;
}

.metric-pending[b-lcvlt04pnj] {
    background: #fff7ed;
    border-color: #fed7aa;
}

.metric-pending .metric-label[b-lcvlt04pnj],
.metric-pending .metric-value[b-lcvlt04pnj] {
    color: #9a3412;
}

.metric-warning .metric-label[b-lcvlt04pnj],
.metric-warning .metric-value[b-lcvlt04pnj] {
    color: #991b1b;
}

.metric-value-sm[b-lcvlt04pnj] {
    font-size: 22px;
    line-height: 1.2;
}

.auto-refresh-label[b-lcvlt04pnj] {
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
}

.readings-toolbar[b-lcvlt04pnj] {
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.batch-heading[b-lcvlt04pnj] {
    margin-bottom: 12px;
}

.batch-heading h2[b-lcvlt04pnj] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.customer-link[b-lcvlt04pnj] {
    color: #1565c0;
    font-weight: 700;
    text-decoration: none;
}

.customer-link:hover[b-lcvlt04pnj] {
    text-decoration: underline;
}

.muted-line[b-lcvlt04pnj] {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}
/* /Components/Pages/Reports.razor.rz.scp.css */
.reports-page[b-w8bd1bzrx4] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Карточки-метрики и контейнеры */
.reading-metric[b-w8bd1bzrx4],
.grid-card[b-w8bd1bzrx4] {
    border-radius: 8px;
}

.reading-metric[b-w8bd1bzrx4] {
    min-height: 104px;
}

.metric-value[b-w8bd1bzrx4] {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin-top: 12px;
}

.metric-label[b-w8bd1bzrx4] {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

/* Блоки-отступы (раньше брались из scoped-стилей страницы «Начисления») */
.charges-metrics[b-w8bd1bzrx4] {
    margin-bottom: 12px;
}

.charges-actions[b-w8bd1bzrx4] {
    margin-bottom: 16px;
}

.charges-grid[b-w8bd1bzrx4] {
    margin-top: 8px;
}

/* Ссылки на абонента и второстепенный текст */
.customer-link[b-w8bd1bzrx4] {
    color: #1565c0;
    font-weight: 700;
    text-decoration: none;
}

.customer-link:hover[b-w8bd1bzrx4] {
    text-decoration: underline;
}

.muted-line[b-w8bd1bzrx4] {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}

/* Заголовки секций внутри карточек */
.grid-card h2[b-w8bd1bzrx4] {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}
