:root {
  --bg: #0B2E1F;
  --bg2: #0f3a28;
  --accent: #7FDBA4;
  --fg: #f2f7f4;
  --muted: #9fc4ae;
  --line: #1d4a32;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 13px; }

.screen { max-width: 560px; margin: 0 auto; padding: 16px; }

header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
header h1 { margin: 0; font-size: 22px; letter-spacing: 0.5px; }

.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#login-form { margin-top: 40px; text-align: center; }
#login-form h1 { margin: 0 0 6px; }

input[type=password], input[type=text], textarea {
  width: 100%;
  background: #082619;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg);
  padding: 12px;
  font-size: 16px;
  font-family: inherit;
}
textarea { resize: vertical; }
label { font-size: 13px; color: var(--muted); }

button {
  background: var(--accent);
  color: #06190f;
  border: 0;
  border-radius: 10px;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); padding: 8px 14px; font-size: 14px; }

.file-btn {
  display: block;
  text-align: center;
  background: #123c28;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  color: var(--accent);
  padding: 18px;
  font-weight: 700;
  cursor: pointer;
}

.progress { background: #082619; border-radius: 8px; overflow: hidden; height: 22px; position: relative; }
#progress-bar {
  background: var(--accent);
  color: #06190f;
  font-size: 12px;
  font-weight: 700;
  height: 100%;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.2s;
}

.jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jobs li { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.job-title { font-weight: 700; }
.job-meta { color: var(--muted); font-size: 12px; margin: 2px 0 8px; }
.jobs video { width: 100%; border-radius: 8px; background: #000; }
.err { color: #ffb3a7; font-size: 12px; }
