body { font-family: system-ui, sans-serif; margin: 0; padding: 1.5rem; background: #f8f9fa; color: #222; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
h1, h2 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
th, td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid #eee; }
th { background: #f1f3f5; }
.status { padding: .15rem .4rem; border-radius: 4px; font-size: .85em; }
.status.validated { background: #d3f9d8; }
.status.scored    { background: #a5d8ff; }
.status.rejected  { background: #ffc9c9; }
.ops form { display: inline; }
button { cursor: pointer; padding: .4rem .7rem; margin: 0 .2rem; border: 1px solid #ccc; border-radius: 4px; background: #fff; }
button:hover { background: #e9ecef; }
button.danger { color: #c92a2a; border-color: #ffa8a8; }
.success { background: #d3f9d8; padding: 1rem; border-radius: 6px; }
.error   { background: #ffe3e3; padding: 1rem; border-radius: 6px; }
pre { background: #212529; color: #f8f9fa; padding: 1rem; overflow: auto; border-radius: 6px; font-size: .85rem; }
.login { display: flex; height: 100vh; align-items: center; justify-content: center; }
.login form { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.login input { display: block; width: 220px; margin-bottom: 1rem; padding: .5rem; }
/* Edit form */
.edit-form {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    max-width: 720px;
}
.edit-form label {
    display: block;
    font-weight: 600;
    margin: 1.1rem 0 .35rem;
}
.edit-form input[type="text"],
.edit-form textarea,
.edit-form select {
    width: 100%;
    padding: .55rem .7rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font: inherit;
}
.edit-form textarea { resize: vertical; }
.form-actions {
    margin-top: 1.8rem;
    display: flex;
    gap: .8rem;
}
button.primary {
    background: #228be6;
    color: white;
    border-color: #1c7ed6;
}
button.primary:hover { background: #1c7ed6; }
button.secondary {
    background: #f1f3f5;
}
.meta {
    background: #e7f5ff;
    padding: 1rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: .95rem;
}
.btn {
    display: inline-block;
    padding: .35rem .7rem;
    background: #228be6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: .9rem;
}
.btn:hover { background: #1c7ed6; }
