.asset-statistics-page,
.organization-orders-page {
    display: grid;
    width: min(100%, 1520px);
    gap: 16px;
    margin: 0 auto;
    padding-top: 18px;
}

.asset-statistics-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.asset-statistics-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 104px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #f7fafb);
    box-shadow: 0 8px 24px rgba(24, 47, 61, 0.05);
}

.asset-statistics-card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #28667f;
    background: #eaf3f6;
    font-size: 16px;
    font-weight: 850;
}

.asset-statistics-card.is-warning .asset-statistics-card-icon {
    color: #a54724;
    background: #ffede5;
}

.asset-statistics-card.is-retired .asset-statistics-card-icon {
    color: #5e6872;
    background: #edf1f3;
}

.asset-statistics-card small,
.asset-statistics-card strong,
.asset-statistics-card div > span {
    display: block;
}

.asset-statistics-card small {
    color: var(--ui-text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.asset-statistics-card strong {
    margin: 2px 0;
    color: #173f52;
    font-size: 28px;
    line-height: 1;
}

.asset-statistics-card div > span {
    overflow: hidden;
    color: var(--ui-text-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-statistics-panel {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(24, 47, 61, 0.04);
}

.asset-statistics-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--ui-border);
    background: linear-gradient(90deg, #fff, #f8fafb);
}

.asset-statistics-panel h2,
.asset-statistics-panel p {
    margin: 0;
}

.asset-statistics-panel h2 {
    margin-top: 3px;
    color: #203745;
    font-size: 18px;
}

.asset-statistics-panel p {
    margin-top: 4px;
    color: var(--ui-text-muted);
    font-size: 11px;
}

.asset-statistics-kicker {
    color: var(--tenant-primary, #e85a32);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.asset-statistics-count {
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #244759;
    background: #edf3f5;
    font-weight: 850;
}

.asset-statistics-empty,
.earnings-empty-state,
.earnings-no-personnel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 88px;
    padding: 18px;
    color: var(--ui-text-muted);
}

.asset-statistics-empty > span,
.earnings-empty-state > span,
.earnings-no-personnel > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 50%;
    color: #287250;
    background: #e6f4ec;
    font-weight: 850;
}

.asset-statistics-empty strong,
.asset-statistics-empty small,
.earnings-empty-state strong,
.earnings-empty-state small,
.earnings-no-personnel strong,
.earnings-no-personnel small {
    display: block;
}

.asset-statistics-empty strong,
.earnings-empty-state strong,
.earnings-no-personnel strong {
    color: #334652;
    font-size: 12px;
}

.asset-statistics-empty small,
.earnings-empty-state small,
.earnings-no-personnel small {
    margin-top: 2px;
    font-size: 10px;
}

.asset-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.asset-status-defective {
    color: #963f18;
    background: #fff0e5;
}

.asset-status-retired {
    color: #59636d;
    background: #edf1f3;
}

.organization-orders-summary {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(24, 47, 61, 0.04);
}

.organization-orders-summary .ui-summary-item {
    min-height: 76px;
    justify-content: center;
    padding: 14px 18px;
}

.organization-orders-summary .ui-summary-item small {
    font-weight: 750;
    letter-spacing: 0.05em;
}

.organization-orders-summary .ui-summary-item strong {
    color: #173f52;
    font-size: 24px;
    font-weight: 800;
}

.organization-orders-page .clothing-order-overview-panel {
    margin-top: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(24, 47, 61, 0.04);
}

.organization-orders-page .clothing-order-section-heading {
    margin: 0;
    padding: 17px 20px;
    background: linear-gradient(90deg, #fff, #f8fafb);
}

@media (max-width: 1150px) {
    .asset-statistics-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .asset-statistics-summary {
        grid-template-columns: 1fr;
    }

    .asset-statistics-page,
    .organization-orders-page {
        padding-top: 12px;
    }
}
