:root { --ink:#1c2733; --muted:#5b6b7b; --line:#d5dde6; --blue:#1f5fa8; --bg:#f4f6f9;
  --good:#c6e0b4; --bad:#f8cbad; --warn:#fff2cc; }
* { box-sizing: border-box; }
body { margin:0; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color:var(--ink); background:var(--bg); }
main { max-width: 820px; margin: 0 auto; padding: 24px 16px 40px; }
h1 { margin: 0 0 6px; font-size: 26px; }
.privacy { margin: 0 0 18px; color: var(--muted); }
#drop { display:flex; flex-direction:column; gap:4px; align-items:center; justify-content:center;
  padding: 34px 16px; background:#fff; border:2px dashed #9db3cc; border-radius:10px; cursor:pointer; text-align:center; }
#drop span { color: var(--muted); font-size: 14px; }
#drop.over, #drop:focus-visible { border-color: var(--blue); background:#eef4fb; outline:none; }
#files { list-style:none; margin: 14px 0 6px; padding:0; }
#files li { display:flex; justify-content:space-between; gap:10px; align-items:center; background:#fff;
  border:1px solid var(--line); border-radius:8px; padding:8px 12px; margin-bottom:6px; word-break: break-all; }
#files button { border:none; background:none; color:var(--muted); font-size:14px; cursor:pointer; padding:4px 6px; flex:none; }
#files button:hover { color:#b00020; }
.option { display:block; margin: 12px 0; }
.actions { display:flex; flex-wrap:wrap; gap:8px; }
button { font: inherit; padding: 10px 16px; border-radius:8px; border:1px solid #9db3cc; background:#fff; color:var(--ink); cursor:pointer; }
button.primary { background: var(--blue); border-color: var(--blue); color:#fff; font-weight:600; }
button.plain { border-color: transparent; background: none; color: var(--muted); }
button:disabled { opacity:.45; cursor: default; }
#status { min-height: 22px; margin: 14px 0 8px; color: var(--muted); }
#status.error { color:#b00020; }
table { width:100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden; font-size: 14px; }
th, td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); vertical-align: top; }
th { background:#e3ebf5; }
td.file { word-break: break-all; }
.badge { display:inline-block; padding:2px 8px; border-radius: 6px; background: var(--warn); }
.badge.pass { background: var(--good); }
.badge.fail { background: var(--bad); }
.note { display:block; color: var(--muted); margin-top: 3px; }
.hint, footer { color: var(--muted); font-size: 13px; }
footer { margin-top: 28px; }
