body {
    background: #f5f7fb;
}

.page {
    padding: 18px;
}

.topbar {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
}

.brand {
    color: #202b3c;
    font-size: 18px;
    font-weight: 600;
}

.muted {
    color: #7b8494;
}

.summary-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}

.summary-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 16px;
}

.summary-card .label {
    color: #7b8494;
    font-size: 13px;
}

.summary-card .value {
    color: #202b3c;
    font-size: 24px;
    font-weight: 600;
    margin-top: 8px;
}

.panel {
    background: #ffffff;
    border-radius: 6px;
    padding: 14px;
}

.panel-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.panel-title {
    font-size: 16px;
    font-weight: 600;
}

.number {
    text-align: right;
}

.cost {
    color: #d93026;
}

.income {
    color: #188038;
}

.click-link {
    color: #1e5bb8;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.click-link:hover {
    color: #174ea6;
}

.filter-bar {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 12px;
}

.filter-item {
    align-items: center;
    display: flex;
}

.filter-bar .layui-form-label {
    padding-left: 0;
    padding-right: 8px;
    text-align: right;
    width: auto;
}

.filter-bar .layui-input-inline {
    display: block;
    margin-right: 0;
    width: 160px;
}

.filter-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.login-wrap {
    align-items: center;
    display: flex;
    min-height: 100vh;
    justify-content: center;
}

.login-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(32, 43, 60, 0.08);
    padding: 28px;
    width: 360px;
}

.login-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.login-label {
    color: #526071;
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.login-hint {
    font-size: 12px;
    margin-top: 12px;
    text-align: center;
}

.table-footer {
    background: #fafafa;
    font-weight: 600;
}

@media (max-width: 900px) {
    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .topbar {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .filter-item,
    .filter-actions {
        width: 100%;
    }

    .filter-bar .layui-input-inline {
        flex: 1;
    }
}
