* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #f6f7f9;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: #ffffff;
    border-bottom: 1px solid #dde2ea;
}
h1, h2, p { margin: 0; }
header p { color: #687386; margin-top: 4px; }
main { padding: 24px 32px 48px; display: grid; gap: 24px; }
a, button {
    color: #ffffff;
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 600;
}
input, select {
    border: 1px solid #cbd3df;
    border-radius: 6px;
    padding: 10px 12px;
    min-height: 40px;
}
.panel {
    background: #ffffff;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    padding: 16px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.stat strong { display: block; font-size: 1.6rem; margin-top: 8px; }
form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.table-wrap { overflow: auto; margin-top: 12px; padding: 0; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 12px 14px; border-bottom: 1px solid #edf0f4; text-align: left; }
th { color: #536073; font-size: 0.82rem; text-transform: uppercase; }
.code { white-space: pre-wrap; margin-top: 12px; }
.hidden { display: none; }
.events { display: grid; gap: 8px; margin-top: 12px; }
.event { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f4; padding-bottom: 8px; }
.muted { color: #687386; }
