:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  background: #f4f7f2;
  color: #182a24;
  --ink: #182a24;
  --muted: #4f655d;
  --line: #dbe5dc;
  --green: #16634c;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(100% - 40px, 920px); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #dcefe3; color: var(--green); margin-right: 7px; font-size: 24px; vertical-align: middle; }
.intro { margin: 52px 0 30px; }
h1 { font-size: clamp(35px, 6vw, 66px); letter-spacing: -.055em; line-height: 1.13; margin: 0 0 12px; }
h2 { margin: 0; font-size: 22px; }
p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 25px; margin-bottom: 18px; }
.auth { max-width: 555px; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 650; }
.auth form { margin-top: 18px; }
.row, .section-heading { display: flex; align-items: center; gap: 12px; }
.section-heading { align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.section-heading p { font-size: 14px; }
input, select, button, .button { font: inherit; border-radius: 8px; min-height: 42px; }
input, select { border: 1px solid #b8cbc0; padding: 9px 12px; background: #fff; color: var(--ink); min-width: 0; }
input { flex: 1; width: 100%; }
button, .button { border: 1px solid transparent; padding: 9px 15px; background: var(--green); color: #fff; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-grid; place-items: center; font-weight: 650; }
button:hover, .button:hover { filter: brightness(.9); }
button:disabled { opacity: .5; cursor: default; }
.minor { background: #fff; border-color: #b8cbc0; color: var(--green); }
:focus-visible { outline: 3px solid #2c8b6b; outline-offset: 3px; }
.balance { border-radius: 7px; padding: 7px 10px; color: var(--green); background: #e5f2e9; white-space: nowrap; font-feature-settings: "tnum"; font-weight: 630; }
.drop { min-height: 142px; border: 1px dashed #8ab6a0; border-radius: 12px; background: #f6faf7; display: grid; place-content: center; justify-items: center; gap: 5px; color: var(--ink); cursor: pointer; }
.drop:hover, .drop.drag, .drop:has(+ input:focus-visible) { border: 2px solid var(--green); background: #eef8f1; }
.drop span:last-child { color: var(--muted); font-weight: 400; }
.up-arrow { font-weight: 600; font-size: 27px; color: var(--green); }
.file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.action { justify-content: space-between; margin-top: 12px; flex-wrap: wrap; }
.action span { flex: 1; color: var(--muted); }
.footnote { font-size: 13px; }
.status:empty { display: none; }
.status { color: var(--green); }
.status.error, #upload-errors { color: #962e22; }
progress { width: 100%; height: 12px; accent-color: var(--green); margin-top: 13px; }
#batches { max-width: 100%; }
.jobs { padding: 0; margin: 12px 0 0; list-style: none; }
.jobs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.job-name { overflow-wrap: anywhere; }
.job-state { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.jobs a { color: var(--green); font-weight: 650; white-space: nowrap; }
@media (max-width: 580px) {
  .shell { width: calc(100% - 24px); }
  .intro { margin-top: 32px; }
  .panel { padding: 16px; }
  .section-heading { flex-wrap: wrap; gap: 8px; }
}
