:root {
    --pico-font-family-sans-serif: "Inter", system-ui, sans-serif;
    --pico-font-family-monospace: "JetBrains Mono", monospace;
    --font-heading: "Montserrat", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

table {
    font-family: var(--pico-font-family-monospace);
    font-size: 0.875rem;
}

table th {
    font-family: var(--pico-font-family-sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

nav .brand {
    font-family: var(--font-heading);
    text-decoration: none;
}

footer {
    margin-top: 3rem;
    padding: 1rem 0;
    text-align: center;
    opacity: 0.6;
}

.actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.actions form {
    margin: 0;
}

.actions button,
.actions a {
    margin: 0;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--pico-font-family-monospace);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card h3 {
    margin-bottom: 0.25rem;
    font-size: 2rem;
}

.stat-card small {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.kv-editor {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kv-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.kv-row input {
    margin-bottom: 0;
}

.inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    flex-wrap: wrap;
}

.inline-form fieldset {
    margin-bottom: 0;
}
