@font-face { font-family: "ABC Schengen A"; font-weight: 400; font-display: swap; src: url("ABCSchengenA-Regular.woff2") format("woff2"); }
@font-face { font-family: "ABC Schengen A"; font-weight: 450; font-display: swap; src: url("ABCSchengenA-Book.woff2") format("woff2"); }
:root {
  --bg: #f4f4f1; --card: #ffffff; --ink: #0b0b0b; --ink2: #55554f; --line: #dcdcd6; --lime: #bbff3d;
  --ok: #1d7a2f; --warn: #a15c00; --bad: #b3261e; --bar: #0b0b0b; --barbg: #ecece6;
  --radius: 16px; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b0b0b; --card: #151514; --ink: #f3f3ee; --ink2: #a3a39b; --line: #2a2a27; --bar: #bbff3d; --barbg: #242421; --ok: #8fe36a; --warn: #ffb347; --bad: #ff7b6e; }
}
:root[data-theme="dark"] { --bg: #0b0b0b; --card: #151514; --ink: #f3f3ee; --ink2: #a3a39b; --line: #2a2a27; --bar: #bbff3d; --barbg: #242421; --ok: #8fe36a; --warn: #ffb347; --bad: #ff7b6e; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: "ABC Schengen A", Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.45; font-synthesis: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 28px 16px 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.brand { font-weight: 450; letter-spacing: 0.02em; font-size: 14px; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; background: var(--card); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px #0002; }
h1 { font-weight: 400; font-size: 40px; line-height: 1.05; margin: 0 0 8px; letter-spacing: -0.01em; }
.sub { color: var(--ink2); margin: 0 0 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > label { flex: 1 1 240px; }
label .l { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 6px; }
input[type=text] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
input[type=text]:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.btn { font: inherit; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.4; cursor: default; }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 36px 16px; text-align: center; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--ink); background: color-mix(in srgb, var(--lime) 18%, transparent); }
.drop.off { opacity: .45; pointer-events: none; }
.drop .big { font-size: 22px; margin-bottom: 6px; }
.drop .or { color: var(--ink2); margin: 10px 0; font-size: 14px; }
.hint { color: var(--ink2); font-size: 14px; margin: 10px 0 0; }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.totals .k { font-size: 12px; color: var(--ink2); text-transform: uppercase; letter-spacing: .04em; }
.totals .v { font-size: 22px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .totals { grid-template-columns: repeat(2, 1fr); } h1 { font-size: 30px; } }
.bar { height: 6px; background: var(--barbg); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--bar); transition: width .2s; }
.bar.big { height: 10px; margin-top: 14px; }
.files { margin-top: 6px; }
.f { display: grid; grid-template-columns: 1fr 90px 170px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.f:first-child { border-top: 0; }
.f .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f .n small { color: var(--ink2); }
.f .s { color: var(--ink2); text-align: right; font-variant-numeric: tabular-nums; }
.f .st { font-size: 13px; }
.f .st .bar { margin-top: 4px; }
.f.done .st { color: var(--ok); }
.f.bad .st { color: var(--bad); }
.f.wait .st { color: var(--ink2); }
@media (max-width: 640px) { .f { grid-template-columns: 1fr 120px; } .f .s { display: none; } }
.banner { border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 15px; }
.banner.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.banner.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); }
.banner.ok { background: color-mix(in srgb, var(--lime) 30%, transparent); border: 1px solid var(--line); }
.muted { color: var(--ink2); }
.mono { font-family: var(--mono); font-size: 13px; }
.hide { display: none !important; }
.foot { margin-top: 28px; color: var(--ink2); font-size: 13px; }
a { color: inherit; }
