:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #f3f5f9; }
* { box-sizing: border-box; }
body { margin: 0; padding: 40px 18px; }
.panel { max-width: 900px; margin: 0 auto; padding: 32px; background: white; border: 1px solid #e4e8f0; border-radius: 18px; box-shadow: 0 12px 36px rgba(26, 39, 67, .06); }
.panel.narrow { max-width: 440px; margin-top: 5vh; }
h1 { margin: 0 0 8px; letter-spacing: -.03em; }
h2 { margin: 28px 0 14px; font-size: 1.15rem; }
p { line-height: 1.5; }
.muted { color: #667085; }
.small { font-size: .86rem; }
label { display: block; margin: 18px 0 7px; font-weight: 650; font-size: .92rem; }
input:not([type=file]) { display: block; width: 100%; padding: 12px 13px; border: 1px solid #ccd3df; border-radius: 9px; font: inherit; background: white; }
input:focus { outline: 3px solid #dbeafe; border-color: #4385f5; }
input[type=file] { max-width: 100%; font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; padding: 11px 15px; background: #245ce2; color: white; text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
form button { margin-top: 20px; }
button:hover, .button:hover { filter: brightness(.94); }
button.secondary, .button.secondary { background: #edf1f7; color: #273449; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #edf0f5; }
.topbar h1 { font-size: 1.8rem; }
.actions { display: flex; align-items: center; gap: 10px; }
.actions form { margin: 0; }
.actions form button { margin: 0; }
.upload-form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px; background: #f8faff; border: 1px dashed #c9d5e8; border-radius: 12px; }
.upload-form button { margin: 0; }
.alert { padding: 12px 14px; background: #eef5ff; border: 1px solid #d6e6ff; border-radius: 9px; }
.alert.error { background: #fff1f0; border-color: #ffd7d2; color: #9f2520; }
.count { display: inline-block; padding: 2px 9px; border-radius: 20px; background: #edf1f7; color: #586579; font-size: .8rem; vertical-align: 2px; }
.file-list { border-top: 1px solid #edf0f5; }
.file-row { display: flex; align-items: center; gap: 14px; padding: 16px 2px; border-bottom: 1px solid #edf0f5; }
.file-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; background: #eaf1ff; color: #245ce2; font-size: 1.4rem; }
.file-info { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.filename { font-weight: 650; margin-bottom: 5px; }
.empty { padding: 22px; text-align: center; color: #667085; background: #f8faff; border-radius: 12px; }
.back { display: inline-block; margin-bottom: 22px; color: #245ce2; text-decoration: none; }
@media (max-width: 600px) { body { padding: 16px 10px; } .panel { padding: 22px 17px; } .topbar { align-items: flex-start; flex-direction: column; } .actions { flex-wrap: wrap; } .file-row { align-items: flex-start; flex-wrap: wrap; } .file-info { flex-basis: calc(100% - 60px); } .file-row .button { margin-left: 56px; } }
