* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2933;
}

.app {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.header h1 {
    margin: 0;
    font-size: 42px;
    letter-spacing: -1px;
}

.header p {
    margin: 4px 0 0;
    color: #697386;
}

.sync-button {
    background: #111827;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}

.card span {
    display: block;
    color: #697386;
    font-size: 14px;
    margin-bottom: 10px;
}

.card strong {
    display: block;
    font-size: 28px;
}

.card.critical {
    border-left: 6px solid #991b1b;
}

.card.high {
    border-left: 6px solid #b45309;
}

.card.medium {
    border-left: 6px solid #92400e;
}

.panel {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}

.panel h2 {
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    font-size: 13px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 10px;
}

td {
    padding: 14px 10px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: top;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge.critical {
    background: #fee2e2;
    color: #991b1b;
}

.badge.high {
    background: #ffedd5;
    color: #9a3412;
}

.badge.medium {
    background: #fef3c7;
    color: #92400e;
}

.badge.low {
    background: #e5e7eb;
    color: #374151;
}

small {
    display: block;
    margin-top: 4px;
    color: #697386;
    line-height: 1.4;
}

td a {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.card small {
    display: block;
    margin-top: 8px;
    color: #697386;
    font-size: 14px;
    font-weight: 600;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.panel-header h2 {
    margin-bottom: 4px;
}

.panel-header p {
    margin: 0;
    color: #697386;
}

td a {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}