:root { font-family: system-ui, sans-serif; color: #172b2a; background: #f6f8f9; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; background: white; border-bottom: 1px solid #d9e1e3; }
header strong { font-size: 20px; } header span { color: #57626e; }
main { max-width: 680px; margin: 52px auto; padding: 0 24px; }
h1 { font-size: 30px; margin-bottom: 12px; } h2 { font-size: 18px; }
p { line-height: 1.6; color: #485761; } #status { min-height: 52px; }
button { min-height: 44px; padding: 12px 20px; border-radius: 6px; border: 1px solid #0b756e; background: #0b756e; color: white; font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #dba51a; outline-offset: 3px; }
button:disabled { opacity: .65; cursor: wait; } .secondary { background: white; color: #0b756e; }
section { margin-top: 24px; border-top: 1px solid #d9e1e3; padding-top: 16px; }
dl { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 12px; } dd { margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
main { max-width: 860px; }
#status { min-height: 0; }
#dropzone { display: block; padding: 24px; border: 2px dashed #8a9ba4; background: #fff; border-radius: 6px; cursor: pointer; }
#dropzone.dragging { border-color: #0b756e; background: #e6f4f0; }
input[type=file] { display: block; margin-top: 14px; max-width: 100%; font: inherit; }
.consent { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.consent input { width: 20px; height: 20px; flex-shrink: 0; }
.actions, .section-title { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.section-title { justify-content: space-between; }
progress { display: block; width: 100%; height: 14px; accent-color: #0b756e; margin-top: 12px; }
.spinner { display: inline-block; width: 16px; height: 16px; margin-right: 10px; border: 2px solid #b4d7d2; border-top-color: #0b756e; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.video-row { border-bottom: 1px solid #d9e1e3; padding: 16px 0; overflow-wrap: anywhere; }
.video-row h3 { margin: 0 0 8px; font-size: 16px; }
.video-row p { margin: 6px 0; }
.video-state { font-weight: 650; color: #172b2a; }
.danger { color: #a52936; border-color: #a52936; background: white; }
#checked { font-size: 13px; }
@media(prefers-reduced-motion:reduce) { .spinner { animation-duration: 3s; } }
@media(max-width:480px) { main { margin-top: 28px; } header { flex-wrap: wrap; } button { width: 100%; } }
