* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #111; }

header { padding: 16px 20px; background: #0b5ed7; color: white; }
header h1 { margin: 0; font-size: 24px; }
header p { margin: 4px 0 0; opacity: 0.9; }

main { padding: 16px 20px; }
.inputs { display: grid; gap: 12px; margin-bottom: 16px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
label { font-weight: 600; }
.actions { display: flex; gap: 8px; }
button { background: #0b5ed7; color: white; border: 0; padding: 10px 14px; border-radius: 6px; cursor: pointer; }
button[disabled] { opacity: 0.5; cursor: not-allowed; }

.status { margin: 8px 0; color: #444; }
.table-wrap { width: 100%; overflow: auto; border: 1px solid #e0e0e0; border-radius: 6px; }
#resultsTable { width: 100%; border-collapse: collapse; font-size: 14px; }
#resultsTable thead { background: #f6f6f6; }
#resultsTable th, #resultsTable td { padding: 8px 10px; border: 1px solid #e8e8e8; text-align: left; }
#resultsTable th { font-weight: 700; }

footer { padding: 16px 20px; color: #555; }
