.view-year-end-closing .ye-months {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.4rem;
}

.view-year-end-closing .ye-chip {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    text-align: center;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-sizing: border-box;
}

.view-year-end-closing .ye-chip small {
    display: block;
    font-weight: 500;
    color: #64748b;
    font-size: 10px;
}

.view-year-end-closing .ye-chip.ok {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.view-year-end-closing .ye-chip.miss {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.view-year-end-closing .ye-pl-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.view-year-end-closing .ye-pl {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    background: #fff;
}

.view-year-end-closing .ye-pl label {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-bottom: 0.2rem;
}

.view-year-end-closing .ye-pl .amt {
    font-size: 20px;
    font-weight: 700;
}

.view-year-end-closing .ye-pl.rev .amt { color: #16a34a; }
.view-year-end-closing .ye-pl.exp .amt { color: #2563eb; }
.view-year-end-closing .ye-pl.net {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.view-year-end-closing .ye-pl.net .amt { color: #2563eb; }
.view-year-end-closing .ye-pl.coa { background: #f8fafc; }
.view-year-end-closing .ye-pl .sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 0.25rem;
}

.view-year-end-closing .ye-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.view-year-end-closing .ye-table th,
.view-year-end-closing .ye-table td {
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.view-year-end-closing .ye-table th {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    background: #f8fafc;
}

.view-year-end-closing .ye-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.view-year-end-closing .ye-table .muted { color: #64748b; font-size: 12px; }

@media (max-width: 992px) {
    .view-year-end-closing .ye-months {
        flex-wrap: wrap;
    }

    .view-year-end-closing .ye-chip {
        flex: 1 1 calc((100% - 2.4rem) / 7);
    }

    .view-year-end-closing .ye-pl-cards {
        grid-template-columns: 1fr;
    }
}
