/* g10 shell — dark RTL, same family as the v0 viewer */
* { box-sizing: border-box; margin: 0; }
:root {
  --bg: #16181d; --panel: #1e2128; --line: #2c3038;
  --text: #e8e6e0; --muted: #8b8f98; --accent: #e8a33d;
  --ok: #4caf7d; --warn: #e0b653; --bad: #e05c5c;
}
body {
  background: var(--bg); color: var(--text);
  font: 15px/1.7 Vazirmatn, Tahoma, sans-serif;
  min-height: 100vh;
}
#topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.brand { font-weight: 700; color: var(--accent); letter-spacing: 1px; }
#whoami { color: var(--muted); font-size: 13px; }
main { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
h2 { margin-bottom: 16px; font-size: 19px; }
h3 { margin-bottom: 10px; font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px; margin-bottom: 14px;
}
.card.click { cursor: pointer; transition: border-color .15s; }
.card.click:hover { border-color: var(--accent); }
.card.add { color: var(--muted); text-align: center; border-style: dashed; }
.card .title { font-weight: 600; }
.login { max-width: 340px; margin: 12vh auto; display: flex; flex-direction: column; gap: 10px; }
input, button {
  font: inherit; padding: 9px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
button.primary { background: var(--accent); color: #16181d; font-weight: 700; border: 0; cursor: pointer; }
.error { color: var(--bad); font-size: 13px; min-height: 1.4em; }
.muted { color: var(--muted); }
.row { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.status-succeeded { color: var(--ok); }
.status-failed { color: var(--bad); }
.status-running, .status-queued { color: var(--warn); }
