/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-c6ysiu0gx7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-c6ysiu0gx7] {
    flex: 1;
}

.sidebar[b-c6ysiu0gx7] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-c6ysiu0gx7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-c6ysiu0gx7]  a, .top-row[b-c6ysiu0gx7]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-c6ysiu0gx7]  a:hover, .top-row[b-c6ysiu0gx7]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-c6ysiu0gx7]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-c6ysiu0gx7] {
        justify-content: space-between;
    }

    .top-row[b-c6ysiu0gx7]  a, .top-row[b-c6ysiu0gx7]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-c6ysiu0gx7] {
        flex-direction: row;
    }

    .sidebar[b-c6ysiu0gx7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-c6ysiu0gx7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-c6ysiu0gx7]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-c6ysiu0gx7], article[b-c6ysiu0gx7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-c6ysiu0gx7] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-c6ysiu0gx7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-i4q78aolti] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-i4q78aolti] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-i4q78aolti] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-i4q78aolti] {
    font-size: 1.1rem;
}

.bi[b-i4q78aolti] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill[b-i4q78aolti] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill[b-i4q78aolti] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested[b-i4q78aolti] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-i4q78aolti] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-i4q78aolti] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-i4q78aolti] {
        padding-bottom: 1rem;
    }

    .nav-item[b-i4q78aolti]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-i4q78aolti]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-i4q78aolti]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-i4q78aolti] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-i4q78aolti] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-i4q78aolti] {
        display: none;
    }

    .nav-scrollable[b-i4q78aolti] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/AdminSUModules/ASUM_Sales.razor.rz.scp.css */
.sp-page[b-y19npgaldh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #e0e0e0;
    padding-bottom: 2rem;
}

/* ==================== ПАНЕЛЬ ==================== */
.sp-toolbar[b-y19npgaldh] {
    background: linear-gradient(160deg, #202020 0%, #262626 100%);
    border: 1px solid #303030;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sp-toolbar-top[b-y19npgaldh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sp-title[b-y19npgaldh] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.sp-sub[b-y19npgaldh] {
    font-size: 0.78rem;
    color: #8a8a8a;
    margin-top: 0.15rem;
}

.sp-actions[b-y19npgaldh] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sp-btn[b-y19npgaldh] {
    padding: 0.45rem 0.9rem;
    border-radius: 9px;
    border: 1px solid #3a3a3a;
    background: #242424;
    color: #e0e0e0;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .sp-btn:hover:not(:disabled)[b-y19npgaldh] {
        background: #2f2f2f;
        border-color: #4a4a4a;
    }

    .sp-btn:disabled[b-y19npgaldh] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .sp-btn.primary[b-y19npgaldh] {
        background: linear-gradient(135deg, #0d6efd 0%, #4dabf7 100%);
        border-color: transparent;
        color: #fff;
    }

    .sp-btn.excel[b-y19npgaldh] {
        background: linear-gradient(135deg, #1d6f42 0%, #28a745 100%);
        border-color: transparent;
        color: #fff;
    }

.sp-filters[b-y19npgaldh] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.sp-dates[b-y19npgaldh] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

    .sp-dates label[b-y19npgaldh] {
        font-size: 0.7rem;
        color: #8a8a8a;
        text-transform: uppercase;
    }

.sp-input[b-y19npgaldh] {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #f0f0f0;
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
    outline: none;
    min-width: 130px;
}

    .sp-input:focus[b-y19npgaldh] {
        border-color: #0d6efd;
    }

    .sp-input.grow[b-y19npgaldh] {
        flex: 1 1 220px;
        min-width: 200px;
    }

    .sp-input.sm[b-y19npgaldh] {
        min-width: 80px;
        width: 100%;
    }

.sp-presets[b-y19npgaldh] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sp-preset[b-y19npgaldh] {
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    border: 1px solid #3a3a3a;
    background: transparent;
    color: #adb5bd;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .sp-preset:hover[b-y19npgaldh] {
        border-color: #4a4a4a;
        color: #f0f0f0;
    }

    .sp-preset.active[b-y19npgaldh] {
        background: rgba(13, 110, 253, 0.18);
        border-color: #0d6efd;
        color: #7fb6ff;
    }

/* ==================== СЛУЖЕБНОЕ ==================== */
.sp-alert[b-y19npgaldh] {
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

    .sp-alert.error[b-y19npgaldh] {
        background: rgba(220, 53, 69, 0.12);
        border: 1px solid #dc3545;
        color: #ff8a95;
    }

    .sp-alert.ok[b-y19npgaldh] {
        background: rgba(32, 201, 151, 0.12);
        border: 1px solid #20c997;
        color: #63e6be;
    }

.sp-loading[b-y19npgaldh] {
    padding: 2.5rem;
    text-align: center;
    color: #8a8a8a;
}

.sp-empty[b-y19npgaldh] {
    padding: 0.9rem;
    text-align: center;
    color: #7c7c7c;
    font-size: 0.82rem;
    background: #1c1c1c;
    border: 1px dashed #333;
    border-radius: 10px;
}

/* ==================== KPI ==================== */
.sp-kpi-grid[b-y19npgaldh] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.7rem;
}

.sp-kpi[b-y19npgaldh] {
    background: linear-gradient(160deg, #1e1e1e 0%, #262626 100%);
    border: 1px solid #313131;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

    .sp-kpi.accent[b-y19npgaldh] {
        background: linear-gradient(160deg, #16241d 0%, #1b2c23 100%);
        border-color: #2e7d5b;
    }

    .sp-kpi.warn[b-y19npgaldh] {
        background: linear-gradient(160deg, #2a2318 0%, #322a1b 100%);
        border-color: #b8860b;
    }

.sp-kpi-label[b-y19npgaldh] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #8a8a8a;
    font-weight: 600;
}

.sp-kpi-value[b-y19npgaldh] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

    .sp-kpi-value small[b-y19npgaldh] {
        font-size: 0.7rem;
        color: #8a8a8a;
        font-weight: 500;
    }

.sp-kpi-hint[b-y19npgaldh] {
    font-size: 0.7rem;
    color: #7c7c7c;
}

/* ==================== КАРТОЧКИ И ТАБЛИЦЫ ==================== */
.sp-card[b-y19npgaldh] {
    background: linear-gradient(160deg, #1e1e1e 0%, #232323 100%);
    border: 1px solid #2f2f2f;
    border-radius: 14px;
    padding: 1rem;
}

.sp-card-head[b-y19npgaldh] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

    .sp-card-head h5[b-y19npgaldh] {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 700;
        color: #fff;
    }

.sp-hint[b-y19npgaldh] {
    font-size: 0.72rem;
    color: #7c7c7c;
    line-height: 1.35;
}

.sp-table-wrap[b-y19npgaldh] {
    overflow-x: auto;
}

    .sp-table-wrap.scroll[b-y19npgaldh] {
        max-height: 520px;
        overflow-y: auto;
    }

.sp-table[b-y19npgaldh] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

    .sp-table th[b-y19npgaldh] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #202020;
        text-align: left;
        padding: 0.5rem 0.6rem;
        color: #9a9a9a;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        border-bottom: 1px solid #333;
        white-space: nowrap;
    }

    .sp-table td[b-y19npgaldh] {
        padding: 0.45rem 0.6rem;
        border-bottom: 1px solid #2a2a2a;
        color: #dcdcdc;
        vertical-align: middle;
    }

    .sp-table tbody tr:hover[b-y19npgaldh] {
        background: #242424;
    }

    .sp-table tr.expanded[b-y19npgaldh] {
        background: #232323;
    }

    .sp-table.compact td[b-y19npgaldh],
    .sp-table.compact th[b-y19npgaldh] {
        padding: 0.35rem 0.5rem;
    }

.sp-detail-row td[b-y19npgaldh] {
    background: #1a1a1a;
    padding: 0.6rem 0.8rem;
}

.sp-num[b-y19npgaldh] {
    text-align: right;
    white-space: nowrap;
}

.strong[b-y19npgaldh] {
    font-weight: 600;
    color: #fff;
}

.sp-muted[b-y19npgaldh] {
    color: #7c7c7c;
    font-weight: 400;
}

.negative[b-y19npgaldh] {
    color: #ff8a95;
}

.sp-total td[b-y19npgaldh] {
    background: #242424;
    font-weight: 600;
    color: #fff;
    border-top: 1px solid #3a3a3a;
}

.sp-code[b-y19npgaldh] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: #2a2a2a;
    border: 1px solid #383838;
    font-size: 0.72rem;
    color: #c8c8c8;
}

.sp-status[b-y19npgaldh] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

    .sp-status.instock[b-y19npgaldh] {
        background: rgba(13, 110, 253, 0.15);
        color: #7fb6ff;
    }

    .sp-status.preorder[b-y19npgaldh] {
        background: rgba(255, 193, 7, 0.15);
        color: #ffd166;
    }

    .sp-status.queued[b-y19npgaldh] {
        background: rgba(111, 66, 193, 0.2);
        color: #c4a5f5;
    }

    .sp-status.paid[b-y19npgaldh] {
        background: rgba(32, 201, 151, 0.15);
        color: #63e6be;
    }

    .sp-status.cancelled[b-y19npgaldh] {
        background: rgba(220, 53, 69, 0.15);
        color: #ff8a95;
    }

.sp-chip[b-y19npgaldh] {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

    .sp-chip.ok[b-y19npgaldh] {
        background: rgba(32, 201, 151, 0.12);
        color: #63e6be;
        border: 1px solid rgba(32, 201, 151, 0.35);
    }

    .sp-chip.warn[b-y19npgaldh] {
        background: rgba(255, 193, 7, 0.12);
        color: #ffd166;
        border: 1px solid rgba(255, 193, 7, 0.35);
    }

.sp-row-actions[b-y19npgaldh] {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.sp-mini[b-y19npgaldh] {
    padding: 0.25rem 0.55rem;
    border-radius: 7px;
    border: 1px solid #3a3a3a;
    background: #242424;
    color: #dcdcdc;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

    .sp-mini:hover:not(:disabled)[b-y19npgaldh] {
        background: #2f2f2f;
    }

    .sp-mini:disabled[b-y19npgaldh] {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .sp-mini.success[b-y19npgaldh] {
        border-color: #2e7d5b;
        color: #63e6be;
    }

    .sp-mini.danger[b-y19npgaldh] {
        border-color: #7d2e39;
        color: #ff8a95;
    }

.sp-expand[b-y19npgaldh] {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid #3a3a3a;
    background: #242424;
    color: #dcdcdc;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

/* ==================== МОДАЛКА ==================== */
.sp-modal-backdrop[b-y19npgaldh] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.sp-modal[b-y19npgaldh] {
    background: #222;
    border: 1px solid #3a3a3a;
    border-radius: 14px;
    width: min(920px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.sp-modal-head[b-y19npgaldh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #333;
}

    .sp-modal-head h5[b-y19npgaldh] {
        margin: 0;
        font-size: 0.95rem;
        color: #fff;
    }

.sp-close[b-y19npgaldh] {
    border: none;
    background: transparent;
    color: #adb5bd;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.sp-modal-body[b-y19npgaldh] {
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sp-modal-foot[b-y19npgaldh] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-top: 1px solid #333;
}

.sp-form-row[b-y19npgaldh] {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 0.7rem;
}

@media (max-width: 900px) {
    .sp-form-row[b-y19npgaldh] {
        grid-template-columns: 1fr;
    }
}

.sp-field[b-y19npgaldh] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .sp-field label[b-y19npgaldh] {
        font-size: 0.7rem;
        color: #8a8a8a;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

.sp-search-results[b-y19npgaldh] {
    margin-top: 0.35rem;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #333;
    border-radius: 10px;
    background: #1c1c1c;
}

.sp-search-item[b-y19npgaldh] {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: none;
    border-bottom: 1px solid #262626;
    background: transparent;
    color: #dcdcdc;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
}

    .sp-search-item:hover[b-y19npgaldh] {
        background: #262626;
    }
/* /Components/Pages/AdminSUModules/ASUM_SalonReport.razor.rz.scp.css */
.sr-page[b-t7i7hbos7b] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #e0e0e0;
    padding-bottom: 2rem;
}

/* ==================== ПАНЕЛЬ УПРАВЛЕНИЯ ==================== */
.sr-toolbar[b-t7i7hbos7b] {
    background: linear-gradient(160deg, #202020 0%, #262626 100%);
    border: 1px solid #303030;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sr-toolbar-top[b-t7i7hbos7b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sr-title[b-t7i7hbos7b] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.sr-period-text[b-t7i7hbos7b] {
    font-size: 0.78rem;
    color: #8a8a8a;
    margin-top: 0.15rem;
}

.sr-actions[b-t7i7hbos7b] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sr-btn[b-t7i7hbos7b] {
    padding: 0.45rem 0.9rem;
    border-radius: 9px;
    border: 1px solid #3a3a3a;
    background: #242424;
    color: #e0e0e0;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .sr-btn:hover:not(:disabled)[b-t7i7hbos7b] {
        background: #2f2f2f;
        border-color: #4a4a4a;
    }

    .sr-btn:disabled[b-t7i7hbos7b] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .sr-btn.excel[b-t7i7hbos7b] {
        background: linear-gradient(135deg, #1d6f42 0%, #28a745 100%);
        border-color: transparent;
        color: #ffffff;
    }

    .sr-btn.print[b-t7i7hbos7b] {
        background: #2b3a4a;
        border-color: #35506a;
    }

.sr-filters[b-t7i7hbos7b] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sr-date-range[b-t7i7hbos7b] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .sr-date-range label[b-t7i7hbos7b] {
        font-size: 0.7rem;
        color: #8a8a8a;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

.sr-input[b-t7i7hbos7b] {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #f0f0f0;
    padding: 0.35rem 0.5rem;
    font-size: 0.82rem;
    outline: none;
}

    .sr-input:focus[b-t7i7hbos7b] {
        border-color: #0d6efd;
    }

.sr-presets[b-t7i7hbos7b] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sr-preset[b-t7i7hbos7b] {
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    border: 1px solid #3a3a3a;
    background: transparent;
    color: #adb5bd;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .sr-preset:hover[b-t7i7hbos7b] {
        border-color: #4a4a4a;
        color: #f0f0f0;
    }

    .sr-preset.active[b-t7i7hbos7b] {
        background: rgba(13, 110, 253, 0.18);
        border-color: #0d6efd;
        color: #7fb6ff;
    }

.sr-anchors[b-t7i7hbos7b] {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
}

    .sr-anchors a[b-t7i7hbos7b] {
        color: #6ea8fe;
        text-decoration: none;
    }

        .sr-anchors a:hover[b-t7i7hbos7b] {
            text-decoration: underline;
        }

/* ==================== СЛУЖЕБНЫЕ БЛОКИ ==================== */
.sr-alert[b-t7i7hbos7b] {
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

    .sr-alert.error[b-t7i7hbos7b] {
        background: rgba(220, 53, 69, 0.12);
        border: 1px solid #dc3545;
        color: #ff8a95;
    }

    .sr-alert.ok[b-t7i7hbos7b] {
        background: rgba(32, 201, 151, 0.12);
        border: 1px solid #20c997;
        color: #63e6be;
    }

/* Пояснение внутри раздела: не ошибка и не успех, а примечание к расчёту */
.sr-note[b-t7i7hbos7b] {
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    background: rgba(77, 171, 247, 0.08);
    border: 1px solid rgba(77, 171, 247, 0.28);
    color: #b9c9da;
}

.sr-loading[b-t7i7hbos7b] {
    padding: 2.5rem;
    text-align: center;
    color: #8a8a8a;
    font-size: 0.9rem;
}

.sr-print-head[b-t7i7hbos7b] {
    display: none;
}

/* ==================== СЕКЦИИ ==================== */
.sr-section[b-t7i7hbos7b] {
    display: flex;
    flex-direction: column;
}

.sr-card[b-t7i7hbos7b] {
    background: linear-gradient(160deg, #1e1e1e 0%, #232323 100%);
    border: 1px solid #2f2f2f;
    border-radius: 14px;
    padding: 1rem;
}

.sr-section-head[b-t7i7hbos7b] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

    .sr-section-head h5[b-t7i7hbos7b] {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 700;
        color: #ffffff;
    }

.sr-section-hint[b-t7i7hbos7b] {
    font-size: 0.72rem;
    color: #7c7c7c;
    line-height: 1.35;
    max-width: 120ch;
}

.sr-subhead[b-t7i7hbos7b] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9a9a9a;
    margin: 1rem 0 0.5rem;
}

.sr-empty[b-t7i7hbos7b] {
    padding: 0.9rem;
    text-align: center;
    color: #7c7c7c;
    font-size: 0.82rem;
    background: #1c1c1c;
    border: 1px dashed #333333;
    border-radius: 10px;
}

.sr-footnote[b-t7i7hbos7b] {
    font-size: 0.72rem;
    color: #6c757d;
    text-align: right;
}

/* ==================== KPI ==================== */
.sr-kpi-grid[b-t7i7hbos7b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 0.7rem;
}

.sr-kpi[b-t7i7hbos7b] {
    background: linear-gradient(160deg, #1e1e1e 0%, #262626 100%);
    border: 1px solid #313131;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

    .sr-kpi.accent[b-t7i7hbos7b] {
        background: linear-gradient(160deg, #16241d 0%, #1b2c23 100%);
        border-color: #2e7d5b;
    }

.sr-kpi-label[b-t7i7hbos7b] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #8a8a8a;
    font-weight: 600;
}

.sr-kpi-value[b-t7i7hbos7b] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

    .sr-kpi-value small[b-t7i7hbos7b] {
        font-size: 0.7rem;
        color: #8a8a8a;
        font-weight: 500;
    }

.sr-kpi-hint[b-t7i7hbos7b] {
    font-size: 0.7rem;
    color: #7c7c7c;
}

/* ==================== КОМПАКТНАЯ СТАТИСТИКА ==================== */
.sr-inline-stats[b-t7i7hbos7b] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.sr-inline-stat[b-t7i7hbos7b] {
    background: #1c1c1c;
    border: 1px solid #303030;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 135px;
}

    .sr-inline-stat span[b-t7i7hbos7b] {
        font-size: 0.66rem;
        color: #8a8a8a;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .sr-inline-stat strong[b-t7i7hbos7b] {
        font-size: 1rem;
        color: #ffffff;
    }

        .sr-inline-stat strong.ok[b-t7i7hbos7b] {
            color: #63e6be;
        }

        .sr-inline-stat strong.bad[b-t7i7hbos7b] {
            color: #ff8a95;
        }

/* ==================== ТАБЛИЦЫ ==================== */
.sr-table-wrap[b-t7i7hbos7b] {
    overflow-x: auto;
}

    .sr-table-wrap.scroll[b-t7i7hbos7b] {
        max-height: 470px;
        overflow-y: auto;
    }

.sr-table[b-t7i7hbos7b] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

    .sr-table th[b-t7i7hbos7b] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #202020;
        text-align: left;
        padding: 0.5rem 0.6rem;
        color: #9a9a9a;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        border-bottom: 1px solid #333333;
        white-space: nowrap;
    }

    .sr-table td[b-t7i7hbos7b] {
        padding: 0.45rem 0.6rem;
        border-bottom: 1px solid #2a2a2a;
        color: #dcdcdc;
        vertical-align: middle;
    }

    .sr-table tbody tr:hover[b-t7i7hbos7b] {
        background: #242424;
    }

    .sr-table.compact td[b-t7i7hbos7b],
    .sr-table.compact th[b-t7i7hbos7b] {
        padding: 0.35rem 0.5rem;
    }

.sr-num[b-t7i7hbos7b] {
    text-align: right;
    white-space: nowrap;
}

.strong[b-t7i7hbos7b] {
    font-weight: 600;
    color: #ffffff;
}

.sr-row-total td[b-t7i7hbos7b] {
    background: #242424;
    font-weight: 600;
    color: #ffffff;
    border-top: 1px solid #3a3a3a;
}

.sr-muted[b-t7i7hbos7b] {
    color: #7c7c7c;
    font-weight: 400;
}

.sr-chip[b-t7i7hbos7b] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: #2a2a2a;
    border: 1px solid #383838;
    font-size: 0.72rem;
    color: #c8c8c8;
}

.sr-rating[b-t7i7hbos7b] {
    color: #ffc107;
    font-weight: 700;
}

.sr-comment[b-t7i7hbos7b] {
    max-width: 480px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ==================== ПОЛОСКИ И ЗАГРУЗКА ==================== */
.sr-bar[b-t7i7hbos7b] {
    height: 8px;
    border-radius: 6px;
    background: #2b2b2b;
    overflow: hidden;
    min-width: 60px;
}

    .sr-bar span[b-t7i7hbos7b] {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, #0d6efd 0%, #20c997 100%);
    }

.sr-load[b-t7i7hbos7b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sr-load-value[b-t7i7hbos7b] {
    font-size: 0.75rem;
    color: #c8c8c8;
    white-space: nowrap;
}

.sr-dist[b-t7i7hbos7b] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sr-dist-row[b-t7i7hbos7b] {
    display: grid;
    grid-template-columns: 42px 1fr 44px;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.sr-dist-label[b-t7i7hbos7b] {
    color: #adb5bd;
}

.sr-dist-value[b-t7i7hbos7b] {
    text-align: right;
    color: #ffffff;
}

.sr-two-cols[b-t7i7hbos7b] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 1200px) {
    .sr-two-cols[b-t7i7hbos7b] {
        grid-template-columns: 1fr;
    }
}

/* ==================== ПЕЧАТЬ ==================== */
@media print {
    .sr-page[b-t7i7hbos7b] {
        color: #000000;
        gap: 0.5rem;
        padding-bottom: 0;
    }

    .sr-no-print[b-t7i7hbos7b] {
        display: none !important;
    }

    .sr-print-head[b-t7i7hbos7b] {
        display: block;
        margin-bottom: 0.6rem;
    }

        .sr-print-head h3[b-t7i7hbos7b] {
            margin: 0 0 0.15rem;
            font-size: 15pt;
            color: #000000;
        }

        .sr-print-head div[b-t7i7hbos7b] {
            font-size: 9pt;
            color: #333333;
        }

    .sr-card[b-t7i7hbos7b],
    .sr-kpi[b-t7i7hbos7b],
    .sr-inline-stat[b-t7i7hbos7b] {
        background: #ffffff !important;
        border: 1px solid #bbbbbb !important;
        border-radius: 4px;
        box-shadow: none !important;
    }

    .sr-kpi-value[b-t7i7hbos7b],
    .sr-inline-stat strong[b-t7i7hbos7b],
    .strong[b-t7i7hbos7b],
    .sr-section-head h5[b-t7i7hbos7b],
    .sr-subhead[b-t7i7hbos7b] {
        color: #000000 !important;
    }

    .sr-kpi-label[b-t7i7hbos7b],
    .sr-kpi-hint[b-t7i7hbos7b],
    .sr-muted[b-t7i7hbos7b],
    .sr-section-hint[b-t7i7hbos7b],
    .sr-inline-stat span[b-t7i7hbos7b],
    .sr-dist-label[b-t7i7hbos7b] {
        color: #444444 !important;
    }

    .sr-table-wrap[b-t7i7hbos7b],
    .sr-table-wrap.scroll[b-t7i7hbos7b] {
        max-height: none !important;
        overflow: visible !important;
    }

    .sr-table[b-t7i7hbos7b] {
        font-size: 8pt;
    }

        .sr-table th[b-t7i7hbos7b] {
            position: static;
            background: #eeeeee !important;
            color: #000000 !important;
        }

        .sr-table td[b-t7i7hbos7b] {
            color: #000000 !important;
            border-bottom: 1px solid #cccccc;
        }

    .sr-table tbody tr:hover[b-t7i7hbos7b] {
        background: transparent;
    }

    .sr-row-total td[b-t7i7hbos7b] {
        background: #f2f2f2 !important;
        color: #000000 !important;
    }

    .sr-table tr[b-t7i7hbos7b] {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .sr-bar[b-t7i7hbos7b] {
        background: #dddddd !important;
    }

        .sr-bar span[b-t7i7hbos7b] {
            background: #666666 !important;
        }

    .sr-chip[b-t7i7hbos7b] {
        background: #f5f5f5 !important;
        border-color: #cccccc !important;
        color: #000000 !important;
    }

    .sr-empty[b-t7i7hbos7b],
    .sr-footnote[b-t7i7hbos7b] {
        color: #555555 !important;
        background: transparent !important;
        border-color: #cccccc !important;
    }
}
