:root {
  --bg: #0b1020;
  --card: #111a33;
  --text: #e7ecff;
  --muted: #9fb0e5;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #7aa2ff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(1200px 800px at 20% 0%, #15204a 0%, var(--bg) 55%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.container { max-width: 1000px; margin: 0 auto; padding: 24px; }
.header { margin-bottom: 18px; }
.muted { color: var(--muted); }

.card {
  background: rgba(17, 26, 51, 0.78);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

h1 { margin: 0 0 6px 0; font-size: 26px; }
h2 { margin: 0 0 12px 0; font-size: 18px; }

.row { display: flex; gap: 12px; align-items: center; }
.space-between { justify-content: space-between; }

label { display: grid; gap: 6px; width: 100%; }
input, select, textarea {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  outline: none;
}
textarea { resize: vertical; min-height: 140px; }

button {
  background: linear-gradient(135deg, rgba(122,162,255,0.9), rgba(122,162,255,0.55));
  color: #071022;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
}
button:hover { filter: brightness(1.05); }

.jobs { display: grid; gap: 10px; }
.job {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.12);
}
.jobTop { display: flex; justify-content: space-between; gap: 12px; }
.jobTitle { font-weight: 700; }
.pill {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.progress {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.links { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.links a { color: var(--accent); text-decoration: none; }
.links a:hover { text-decoration: underline; }
audio { width: 100%; margin-top: 10px; }

.thumbGrid { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumbCard { border: 1px solid var(--border); border-radius: 12px; padding: 8px; background: rgba(0,0,0,0.12); }
.thumbImg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.thumbActions { margin-top: 8px; display: flex; gap: 8px; justify-content: center; }

.navLink { color: var(--accent); text-decoration: none; }
.navLink:hover { text-decoration: underline; }
.error { color: #ff9aa2; }

.plots { display: grid; gap: 10px; }
.plot {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.12);
}
.plotTop { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.plotShort { font-weight: 800; }
.plotDetailed { margin-top: 8px; line-height: 1.45; white-space: pre-wrap; }
