body {
    background-color: skyblue;
    font-family: system-ui, sans-serif;
}

main {
    max-width: 40rem;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font: inherit;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.actions button {
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 0.25rem;
    background: #1f6feb;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.actions button.danger {
    background: #b42318;
}

.actions button:disabled {
    background: #9aa4b2;
    cursor: not-allowed;
}

.status[data-state='running'] {
    color: #1a7f37;
}

.status[data-state='error'] {
    color: #b42318;
}

.status[data-state='idle'] {
    color: #57606a;
}

.lines,
.stats {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.stats th,
.stats td,
.lines th,
.lines td {
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.lines tr.empty td {
    color: #57606a;
    font-style: italic;
}

.stats td,
.lines td.ms {
    font-family: ui-monospace, monospace;
    text-align: right;
    white-space: nowrap;
}

.hint {
    color: #57606a;
    font-size: 0.8rem;
}

