* { box-sizing: border-box; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f5f6f8;
  color: #1a1a1a;
  margin: 0;
  padding: 2rem 1rem;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

h1 { margin-top: 0; }

.subtitle {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.drop-zone {
  border: 2px dashed #9aa5b1;
  border-radius: 10px;
  padding: 2.5rem 1rem;
  text-align: center;
  color: #4a4a4a;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  margin: 1.5rem 0;
}

.drop-zone.dragover {
  background: #eef4ff;
  border-color: #3b82f6;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  border: 1px solid #e2e5e9;
  padding: 0.5rem 0.6rem;
  text-align: left;
  white-space: nowrap;
}

td.ok { color: #16794a; }
td.warn { color: #b45309; }

button#generateBtn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
}

button#generateBtn:disabled {
  background: #9aa5b1;
  cursor: not-allowed;
}

.status {
  font-weight: 600;
  min-height: 1.4em;
}

.log {
  font-family: "Consolas", monospace;
  font-size: 0.85rem;
  background: #0f1115;
  color: #d7dbe0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  max-height: 240px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.log:empty { display: none; }
