:root { color-scheme: light dark; --accent: #b5651d; --bg: #fffaf3; --card: #ffffff; --line: #e8dccb; --muted: #7a6a58; --ok: #2e7d32; --err: #c62828; }
@media (prefers-color-scheme: dark) { :root { --bg: #1d1712; --card: #2a221b; --line: #3d3228; --muted: #b3a390; } }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 760px; padding: 24px 16px 48px; font: 16px/1.5 system-ui, sans-serif; background: var(--bg); }
h1 { margin: 0 0 4px; } h2 { margin: 0 0 12px; font-size: 1.1rem; }
.lede { margin: 0 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.banner { padding: 8px 12px; border-radius: 8px; background: #fff3cd; color: #5c4400; margin-bottom: 8px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .mono { font-family: ui-monospace, monospace; word-break: break-all; }
button { font: inherit; padding: 8px 16px; border-radius: 8px; border: 0; background: var(--accent); color: #fff; cursor: pointer; margin: 4px 8px 4px 0; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.drop { display: block; border: 2px dashed var(--line); border-radius: 8px; padding: 16px; cursor: pointer; }
.status { min-height: 1.5em; margin: 8px 0 0; }
.status.ok { color: var(--ok); } .status.err { color: var(--err); }
.stats { display: flex; gap: 32px; margin-bottom: 8px; } .stats div { display: flex; flex-direction: column; }
.big { font-size: 1.8rem; font-weight: 600; }
#chart { width: 100%; height: 140px; } #chart rect { fill: var(--accent); } #chart text { fill: var(--muted); font-size: 10px; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 8px 0; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
td.mono { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
