:root {
    color-scheme: light;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #1a1a1a;
}

.card {
    max-width: 420px;
    margin: 10vh auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

h1 {
    margin-top: 0;
}

.subtitle {
    color: #555;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    margin-top: 1.25rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    background: #2d6cdf;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #1e54b7;
}

.link-button {
    background: none;
    color: #c0392b;
    padding: 0;
    margin: 0 0 0 0.75rem;
    font-weight: 400;
    text-decoration: underline;
}

.hidden {
    display: none;
}

.error {
    color: #c0392b;
}

.footnote {
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.dashboard {
    max-width: 800px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.inline-form {
    display: flex;
    gap: 0.5rem;
}

.inline-form input,
.inline-form select {
    flex: 1;
    margin-top: 0;
}

.inline-form button {
    margin-top: 0;
    white-space: nowrap;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}