@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');
body {
    margin: 0;
    font-family: 'Poppins', -apple-system, system-ui, sans-serif;
    background: #f3f6fb;
    color: #111827;
}

.page {
    max-width: 1450px;
    margin: auto;
    padding: 32px;
}

.hero {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;
    padding: 36px;
    border-radius: 26px;
    margin-bottom: 26px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.25);
}

.hero h1 {
    margin: 0;
    font-size: 36px;
}

.hero p {
    color: #dbeafe;
    line-height: 1.7;
}

.panel {
    background: white;
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 22px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

textarea,
input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    margin-bottom: 14px;
    font-family: monospace;
}

button {
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    margin: 6px 4px 6px 0;
}

.primary {
    background: #4f46e5;
    color: white;
}

.success {
    background: #16a34a;
    color: white;
}

.secondary {
    background: #e5e7eb;
    color: #111827;
}

.issue-card,
.patch-card,
.metric-card {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
}

.issue-card:hover {
    border-color: #4f46e5;
    background: #eef2ff;
    cursor: pointer;
}

.badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.good {
    background: #dcfce7;
    color: #166534;
}

.bad {
    background: #fee2e2;
    color: #991b1b;
}

pre {
    white-space: pre-wrap;
    background: #020617;
    color: #e5e7eb;
    padding: 14px;
    border-radius: 14px;
    max-height: 350px;
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #f8fafc;
    text-align: left;
    padding: 12px;
}

td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px;
}

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

.selected-issue {
    border: 2px solid #4f46e5 !important;
    background: #eef2ff !important;
}

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

.issue-type {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.issue-id {
    background: #e0e7ff;
    color: #3730a3;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.small-btn {
    padding: 8px 12px;
    font-size: 13px;
}
h1,h2,h3,h4,h5,h6{font-family:'Merriweather',Georgia,'Times New Roman',serif;}
