:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1b3325; background: #f7faf7; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.page { width: min(100%, 680px); margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 16px max(36px, env(safe-area-inset-bottom)); }
.header { display: flex; align-items: center; gap: 14px; margin: 10px 0 26px; }
.mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #16a34a; color: white; font-size: 22px; font-weight: 700; }
.brand { color: #438258; font-size: 13px; font-weight: 600; }
h1 { margin: 2px 0 0; font-size: 24px; line-height: 1.3; }
h2 { margin: 0; font-size: 18px; }
.card { padding: 24px 20px; border: 1px solid #e2eee4; border-radius: 20px; background: white; box-shadow: 0 8px 28px rgb(21 74 37 / 5%); }
.card + .card { margin-top: 16px; }
.intro { margin: 10px 0 22px; color: #52675a; font-size: 14px; line-height: 1.65; }
.choose, button { cursor: pointer; font: inherit; }
.choose, .primary { display: block; width: 100%; padding: 15px 18px; border: 0; border-radius: 13px; background: #16a34a; color: white; font-weight: 600; text-align: center; }
.choose:active, .primary:active { background: #128b3f; }
.choose.disabled { opacity: .55; cursor: wait; }
.choose:focus-visible, button:focus-visible { outline: 3px solid #86d9a2; outline-offset: 3px; }
input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.note { margin: 14px 0 0; color: #576b5e; font-size: 12px; line-height: 1.6; }
.list-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.list-heading span { color: #52675a; font-size: 13px; }
ul { list-style: none; margin: 16px 0; padding: 0; }
li { padding: 15px 0; border-top: 1px solid #edf2ed; }
.file-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.file-name { overflow-wrap: anywhere; font-weight: 600; font-size: 14px; }
.file-size, .status { color: #52675a; font-size: 12px; }
.file-size { flex: none; }
.status { display: block; margin-top: 7px; }
.status.error { color: #b42318; }
.status.done { color: #137d3b; }
progress { display: block; width: 100%; height: 8px; margin-top: 10px; accent-color: #16a34a; }
.retry { margin-top: 9px; padding: 0; border: 0; background: transparent; color: #137d3b; font-size: 13px; font-weight: 600; }
.secondary { display: block; width: 100%; margin-top: 10px; padding: 14px 18px; border: 1px solid #16a34a; border-radius: 13px; background: white; color: #137d3b; font-weight: 600; }
button:disabled { opacity: .55; cursor: wait; }
.notice { padding: 13px 15px; border-radius: 12px; background: #fff2f0; color: #b42318; font-size: 14px; line-height: 1.5; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { button, .choose { transition: background-color .2s ease, opacity .2s ease; } }
