:root {
  --bg: #0b0f14;
  --panel: #121821;
  --panel2: #182131;
  --line: #243044;
  --text: #e8eef7;
  --muted: #8fa3bf;
  --accent: #5dd6a7;
  --accent2: #6aa8ff;
  --warn: #f0b45a;
  --danger: #f07178;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 10% -10%, #152238 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
}
.app { max-width: 1200px; margin: 0 auto; padding: 24px 20px 40px; }
.top { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.brand { display: flex; gap: 12px; align-items: center; }
.mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #061018;
}
.tag { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.filters { display: flex; gap: 8px; }
select, textarea, input, button {
  font: inherit; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
}
select { padding: 8px 10px; }
.btn {
  padding: 8px 12px; cursor: pointer; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel2);
}
.btn.primary { background: var(--accent); color: #061018; border-color: transparent; font-weight: 600; }
.btn.ghost:hover, .btn:hover { border-color: #3a4d6a; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 22px; }
.stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.layout { display: grid; grid-template-columns: 1.1fr 1.2fr; gap: 14px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.list-panel, .detail-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 520px; box-shadow: var(--shadow);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px; }
.panel-head h1 { margin: 0; font-size: 18px; }
.job-list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.job {
  text-align: left; width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid transparent; background: var(--panel2); cursor: pointer; color: inherit;
}
.job:hover, .job.active { border-color: #3d5a80; }
.job h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.meta { color: var(--muted); font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
  background: #1c2a3d; font-size: 11px; text-transform: capitalize;
}
.pill.score { color: var(--accent); }
.pill.linkedin { color: #7eb6ff; }
.pill.seek { color: #ffb86b; }
.pill.jora { color: #c3a6ff; }
.detail-panel { padding: 18px; }
.detail-panel .empty { color: var(--muted); padding: 40px 12px; text-align: center; }
.detail h2 { margin: 0 0 6px; font-size: 22px; }
.detail .company { color: var(--muted); margin-bottom: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
label.field { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
textarea { min-height: 140px; padding: 12px; resize: vertical; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.foot {
  margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 12px;
}
.foot a { color: var(--accent2); text-decoration: none; }
