/* Resume Maxer: one column, phone first. */
:root {
  --bg: #fbfbf9;
  --fg: #1d1d1b;
  --muted: #6b6b66;
  --line: #deddd6;
  --accent: #1f4e79;
  --good: #1d6b3a;
  --bad: #a3271c;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --fg: #ecebe6;
    --muted: #a3a29b;
    --line: #34332f;
    --accent: #8db8e6;
    --good: #6cc48a;
    --bad: #f08a7e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
header form { margin: 0; }
.brand { font-weight: 600; color: var(--fg); text-decoration: none; }
main { max-width: 680px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.5rem; margin: 8px 0 16px; }
h2 { font-size: 1.1rem; margin: 28px 0 8px; }
a { color: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}
textarea { resize: vertical; min-height: 12rem; }
button, .button {
  display: inline-block;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
button.link {
  padding: 0;
  color: var(--accent);
  background: none;
  font-weight: 400;
}
.hint { color: var(--muted); font-size: 0.9rem; font-weight: 400; }
.error { color: var(--bad); }
.runs { list-style: none; padding: 0; margin: 0; }
.runs li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.state { font-weight: 600; text-transform: capitalize; }
.state-done, .state-running, .state-queued { color: var(--good); }
.state-error, .state-interrupted { color: var(--bad); }
li { overflow-wrap: anywhere; }
