:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #090b10; color: #f4f5f7; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top, #25131a 0, #090b10 42%); min-height: 100vh; }
main { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
header { margin-bottom: 25px; }
.eyebrow, .step { color: #ef3b4f; font-weight: 800; letter-spacing: .16em; font-size: .78rem; }
h1 { margin: 5px 0; font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1; }
h2 { margin: 0; }
header > p:last-child, small, .page-heading > p { color: #aab0bc; }
.card, .token-card, .result-card { border: 1px solid #292e38; border-radius: 14px; background: rgba(19,22,29,.92); padding: 22px; box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.token-card { display: grid; gap: 8px; }
nav { display: flex; gap: 8px; margin: 20px 0 34px; overflow-x: auto; padding-bottom: 3px; }
button { border: 0; border-radius: 8px; background: #dc3047; color: white; padding: 12px 18px; font-weight: 750; cursor: pointer; }
button:hover { background: #ef4057; }
button:disabled { cursor: wait; opacity: .55; }
.nav-button { white-space: nowrap; background: #171b23; color: #b9bec8; border: 1px solid #2b313c; }
.nav-button.active { background: #dc3047; border-color: #dc3047; color: white; }
.page { min-height: 390px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.page-heading > p { max-width: 470px; margin: 0; }
.step { margin: 0 0 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wide { grid-column: 1 / -1; }
label { display: grid; gap: 7px; margin: 10px 0; font-size: .92rem; color: #d9dce2; }
input, textarea, select { width: 100%; border: 1px solid #343a46; border-radius: 8px; background: #0c0f15; color: inherit; padding: 11px 12px; font: inherit; }
textarea { min-height: 77px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid #d92d43; border-color: transparent; }
.inline-form { display: flex; align-items: end; gap: 12px; }
.inline-form label { flex: 1; margin: 0; }
.student-list { display: grid; gap: 10px; margin-top: 14px; }
.student { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 17px 19px; border: 1px solid #292e38; border-radius: 11px; background: #11151c; }
.student { cursor: pointer; }
.student:hover { border-color: #596170; }
.student h3 { margin: 0 0 5px; }
.student p, .empty { margin: 0; color: #969eab; }
.verification-side { display: grid; justify-items: end; gap: 9px; }
.verification-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.verification-actions button { padding: 7px 9px; font-size: .76rem; }
.verification-actions .secondary { background: #252b35; }
.verification-actions .danger { background: #57212a; }
.badge { padding: 7px 10px; border-radius: 999px; background: #31202a; color: #ffb7c2; font-size: .78rem; font-weight: 750; }
.badge.active { background: #153322; color: #9af0b5; }
.photo-panel, .faces-panel { margin-top: 18px; padding: 20px; border: 1px solid #292e38; border-radius: 14px; background: #11151c; }
.photo-panel h3, .faces-panel h3 { margin-top: 0; }
.editor { display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: end; gap: 10px; margin: 16px 0; }
.editor label { margin: 0; }
.editor .danger, .photo-info .danger { background: #57212a; }
.photos-grid, .faces-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 13px; }
.photo, .face-card { overflow: hidden; border: 1px solid #303642; border-radius: 11px; background: #0b0e13; }
.photo img, .face-card img { display: block; width: 100%; height: 190px; object-fit: cover; background: #07090d; }
.photo-info, .face-info { padding: 12px; }
.photo-info button { width: 100%; margin-top: 7px; padding: 8px; }
.photo-info p, .face-info p { margin: 5px 0; color: #aeb4bf; font-size: .85rem; }
.photo .accepted { color: #8bedaa; font-weight: 750; }
.photo .rejected { color: #ff9cab; font-weight: 750; }
.face-actions { display: grid; gap: 7px; padding: 0 12px 12px; }
.face-actions button { padding: 9px 10px; }
.face-actions .secondary { background: #252b35; }
.face-actions .danger { background: #57212a; }
.face-actions input { padding: 9px; }
.face-card.decided { border-color: #4b9964; }
.decision { margin: 0; padding: 10px 12px; background: #153322; color: #9af0b5; font-weight: 750; text-align: center; }
.result-card { margin-top: 24px; }
.result-card > div { display: flex; justify-content: space-between; align-items: center; }
#status { color: #aab0bc; }
pre { overflow: auto; min-height: 115px; border-radius: 8px; background: #080a0e; padding: 16px; color: #c9f7d4; white-space: pre-wrap; }
@media (max-width: 720px) { main { padding-top: 28px; } .form-grid, .editor { grid-template-columns: 1fr; } .wide { grid-column: auto; } .page-heading { align-items: start; flex-direction: column; } .inline-form { align-items: stretch; flex-direction: column; } .student { grid-template-columns: 1fr; } .verification-side { justify-items: start; } .verification-actions { justify-content: start; } }
