:root { color-scheme: light; font-family: system-ui, sans-serif; color: #1b2630; }
body { margin: 0; background: #fafafa; }
main { max-width: 600px; margin: 12vh auto; padding: 32px; }
h1 { font-size: 28px; line-height: 1.3; margin: 0 0 16px; }
p { line-height: 1.6; }
form { margin: 30px 0; }
label { display: block; font-weight: 600; margin-bottom: 10px; }
input[type=file] { display: block; max-width: 100%; font: inherit; }
button, #download { display: inline-block; padding: 12px 20px; border: 1px solid #26373c; border-radius: 5px; font: inherit; background: #26373c; color: white; cursor: pointer; text-decoration: none; }
button:disabled { opacity: .55; cursor: not-allowed; }
#download[hidden] { display: none; }
#status { margin-bottom: 16px; line-height: 1.5; }
.hint, .footnote { color: #657078; font-size: 13px; }
.footnote { margin-top: 40px; }
#quota { border: 1px solid #dce2e3; border-radius: 8px; background: #fff; padding: 16px 18px; margin: 22px 0; }
.quota-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quota-grid > div > span { display: block; font-size: 13px; color: #526168; }
.quota-grid strong { display: block; font-size: 30px; margin-top: 4px; line-height: 1.2; }
.quota-grid small { font-size: 16px; font-weight: 400; color: #657078; }
#quota p { margin: 12px 0 0; font-size: 12px; }
#quota-reset:empty { display: none; }
:focus-visible { outline: 3px solid #a64c1c; outline-offset: 4px; }
@media (max-width: 600px) { main { margin: 4vh auto; padding: 24px; } h1 { font-size: 24px; } }
