:root {
  --bg: #f5f7fa;
  --card-bg: #ffffff;
  --primary: #0066cc;
  --primary-hover: #004999;
  --text: #1a1a1a;
  --muted: #6a7280;
  --border: #d6d9de;
  --error: #c62828;
  --success: #2e7d32;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}
header h1 { font-size: 1.25rem; margin: 0; }
#user-info { display: flex; gap: 1rem; align-items: center; font-size: 0.9rem; }

main {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.card h2 { margin-top: 0; }

label { display: block; margin-bottom: 1rem; font-size: 0.9rem; }
input[type=email], input[type=password], input[type=text] {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  margin-top: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
}
button:hover:not(:disabled) { background: var(--primary-hover); }
button:disabled { background: #aab; cursor: not-allowed; }

.muted { color: var(--muted); font-size: 0.9rem; }
.error { color: var(--error); margin-top: 0.5rem; }
.link  { color: var(--primary); cursor: pointer; text-decoration: underline; }

#drop-zone {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 1rem 0;
  transition: border-color 0.15s;
}
#drop-zone.drag-over { border-color: var(--primary); background: #eaf4ff; }

#file-list {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}
#file-list li { padding: 0.25rem 0; border-bottom: 1px solid var(--border); }

progress { width: 100%; margin-top: 1rem; }
code { background: #eef; padding: 0.1rem 0.4rem; border-radius: 3px; }
