:root {
    color-scheme: light;
}
body {
    font-family: "Inter", system-ui, sans-serif;
    margin: 0;
    background: #0f172a;
    color: #e2e8f0;
}
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}
header {
    margin-bottom: 1rem;
}
h1 {
    margin: 0;
    font-size: 2rem;
}
.controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.controls input,
.controls select {
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    border: none;
}
.controls button {
    background: #38bdf8;
    border-radius: 0.5rem;
    border: none;
    padding: 0.65rem 1rem;
    color: #0f172a;
    cursor: pointer;
    font-weight: 600;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}
thead th {
    background: #1e293b;
    padding: 0.65rem;
    text-align: left;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
tbody tr:nth-child(even) {
    background: rgba(148, 163, 184, 0.08);
}
tbody td {
    padding: 0.65rem;
    vertical-align: top;
}
.status-chip {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-chip.new {
    background: #14b8a6;
    color: #0f172a;
}
.status-chip.updated {
    background: #f97316;
}
.status-chip.stable {
    background: #38bdf8;
    color: #0f172a;
}
.status-chip.stale,
.status-chip.deleted {
    background: #ef4444;
}
button.small {
    border: none;
    padding: 0.35rem 0.5rem;
    border-radius: 0.35rem;
    margin-right: 0.15rem;
    cursor: pointer;
    background: #475569;
    color: #f8fafc;
    font-size: 0.75rem;
}
textarea {
    width: 100%;
    min-height: 55px;
    background: #0f172a;
    border: 1px solid #334155;
    color: #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 0.85rem;
}
input.inline {
    background: transparent;
    border: 1px solid transparent;
    color: inherit;
    width: 100%;
}
input.inline:focus {
    border-color: #38bdf8;
    outline: none;
}
.status-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}
.status-bar svg {
    width: 1rem;
    height: 1rem;
}
.message {
    margin-top: 0.5rem;
    min-height: 1.2rem;
}
