body {
    font-family: system-ui, sans-serif;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: #222;
}

header h1 {
    font-size: 1.4rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
    margin-bottom: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

input, button {
    padding: 0.4rem;
    font-size: 1rem;
}

button {
    cursor: pointer;
}

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

th, td {
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #ddd;
}

.error {
    color: #b00020;
}
