:root {
    --app-bg: #f5f7fb;
    --app-main: #2454d6;
    --app-dark: #101828;
}

body {
    min-height: 100vh;
    background: var(--app-bg);
    color: var(--app-dark);
}

.app-hero {
    background: linear-gradient(135deg, #173b9f, #2454d6 55%, #4e7cff);
    color: #fff;
}

.hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 28px;
    flex: 0 0 auto;
}

.app-card {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.summary-card {
    border-radius: 16px;
    background: #f8faff;
    border: 1px solid #e6ecff;
    padding: 16px;
    height: 100%;
}

.summary-card .label {
    font-size: 13px;
    color: #667085;
    margin-bottom: 6px;
}

.summary-card .value {
    font-size: 18px;
    font-weight: 700;
    word-break: break-word;
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.match-item {
    border: 1px solid #ffe08a;
    background: #fff8db;
    border-radius: 14px;
    padding: 12px;
}

.app-table-wrap {
    max-height: 620px;
}

.badge-match {
    background: #d1fadf;
    color: #067647;
}

.badge-normal {
    background: #eef2f6;
    color: #475467;
}

@media (max-width: 575.98px) {
    .hero-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 24px;
    }

    .app-card {
        border-radius: 16px;
    }

    .table {
        font-size: 14px;
        white-space: nowrap;
    }
}
