:root { color-scheme: light; }
html, body { margin: 0 !important; min-height: 100%; background: #f5f6f8 !important; color: #182230 !important; font: 16px/1.6 "Segoe UI", "Malgun Gothic", sans-serif !important; }
body > :not(#student-upload):not(#modal):not(#toast):not(script) { display: none !important; }
#student-upload, #student-upload * { box-sizing: border-box; text-shadow: none; line-height: 1.6; }
#toast.ok { display: none !important; }
#student-upload { width: min(760px, calc(100% - 40px)); margin: 56px auto 36px; }
#student-upload h1 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 38px); letter-spacing: -1.5px; line-height: 1.3; color: #182230; background: none; border: 0; }
#student-upload p { margin: 0; }
#student-upload .intro { color: #667085; margin-bottom: 28px; }
#student-upload .panel { background: #fff; border: 1px solid #e4e7ec; border-radius: 18px; padding: 32px; box-shadow: 0 4px 20px #18223005; }
#student-upload .drop { display: grid; justify-items: center; padding: 36px 20px; border: 2px dashed #cdd8e9; border-radius: 12px; background: #fafcff; text-align: center; transition: .15s; }
#student-upload .drop.over { background: #edf3ff; border-color: #215fea; }
#student-upload .upload-icon { width: 52px; height: 52px; color: #215fea; margin-bottom: 16px; }
#student-upload .drop strong { font-size: 19px; }
#student-upload .muted { color: #667085; font-size: 14px; }
#student-upload .primary, #student-upload #ls { appearance: none; background: #215fea; color: #fff; border: 0; border-radius: 9px; padding: 13px 27px; font: inherit; font-weight: 650; cursor: pointer; box-shadow: none; margin: 20px 0 0; }
#student-upload .primary:hover, #student-upload #ls:hover { background: #174dcc; }
#student-upload button:focus-visible, #student-upload input:focus-visible { outline: 3px solid #91b6ff; outline-offset: 3px; }
#student-upload .primary:disabled { opacity: .55; cursor: wait; }
#student-upload .note { margin-top: 18px; font-size: 13px; color: #667085; }
#student-upload .error { color: #b42318; margin-top: 14px; white-space: pre-wrap; font-size: 14px; }
#student-upload .summary { margin: 25px 0 12px; font-size: 15px; font-weight: 650; }
#student-upload .file { border-top: 1px solid #edf0f3; padding: 18px 0 0; margin-top: 18px; }
#student-upload .file-top { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; }
#student-upload .file-name { overflow-wrap: anywhere; font-weight: 600; font-size: 15px; }
#student-upload .file-state { color: #215fea; font-size: 13px; flex-shrink: 0; }
#student-upload .file.done .file-state { color: #14804a; }
#student-upload .file.failed .file-state { color: #b42318; }
#student-upload progress { appearance: none; width: 100%; height: 6px; display: block; margin: 12px 0 7px; border: 0; background: #e9eef6; border-radius: 10px; overflow: hidden; }
#student-upload progress::-webkit-progress-bar { background: #e9eef6; }
#student-upload progress::-webkit-progress-value { background: #215fea; border-radius: 10px; }
#student-upload progress::-moz-progress-bar { background: #215fea; }
#student-upload .done progress::-webkit-progress-value { background: #14804a; }
#student-upload .file-detail { color: #667085; font-size: 12px; overflow-wrap: anywhere; }
#student-upload footer { display: flex; justify-content: flex-end; gap: 16px; color: #98a2b3; font-size: 12px; margin-top: 22px; }
#student-upload footer a { color: #667085; text-decoration: none; }
#student-upload #lf { margin: 0; }
#student-upload label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; }
#student-upload #lp { display: block; width: 100%; max-width: none; height: 50px; padding: 12px 14px; color: #182230; background: #fff; border: 1px solid #ccd3dd; border-radius: 8px; font: inherit; box-shadow: none; }
#student-upload #ls { width: 100%; }
#student-upload #lm { font-size: 13px; color: #b42318; }
#student-upload #lf a, #student-upload #lf br { display: none; }
#student-upload [hidden] { display: none !important; }
@media (max-width: 540px) { #student-upload { margin-top: 28px; width: calc(100% - 28px); } #student-upload .panel { padding: 20px; } #student-upload .drop { padding: 28px 12px; } #student-upload .file-top { display: block; } #student-upload .file-state { display: block; margin-top: 4px; } }
