/* Отчёты */

.reports-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reports-card {
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 10px;
    padding: 14px 16px 18px;
    background: var(--panel, #fff);
}

.reports-card h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.reports-card .reports-card-hint {
    margin: 0 0 12px;
    color: var(--muted, #6b7280);
    font-size: 0.9rem;
}

.reports-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.reports-min-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reports-min-wrap input {
    width: 96px;
}

.reports-meta {
    margin: 0 0 8px;
    color: var(--muted, #6b7280);
    font-size: 0.85rem;
}

.reports-table-wrap {
    overflow: auto;
    max-height: min(70vh, 720px);
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.reports-table th,
.reports-table td {
    border-bottom: 1px solid var(--border, #e5e7eb);
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

.reports-table th {
    position: sticky;
    top: 0;
    background: var(--panel, #fff);
    z-index: 1;
}

.reports-table .num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.reports-table .reports-article-col {
    position: sticky;
    left: 0;
    background: var(--panel, #fff);
    z-index: 2;
    min-width: 220px;
    max-width: 320px;
}

.reports-table thead .reports-article-col {
    z-index: 3;
}

.reports-table .reports-day-col,
.reports-table .reports-total-col {
    min-width: 72px;
}

.reports-footer-row td {
    font-weight: 600;
    border-top: 2px solid var(--border, #e5e7eb);
}

.reports-type-id {
    font-size: 0.78rem;
    margin-top: 2px;
}

.reports-skus {
    font-size: 0.82rem;
    line-height: 1.35;
}
