/* Dark theme from hannahestes.github.io */
:root {
  color-scheme: dark;
  --bg: #333333;
  --surface: #292929;
  --card: #2f2f2f;
  --text: #ffffff;
  --muted: #909090;
  --border: #4a4a4a;
  --accent: #bcdf86;
  --accent-strong: #8dc048;
  --accent-tint: rgba(188, 223, 134, 0.14);
  --radius: 12px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
::selection { background: #545454; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
code { background: var(--surface); padding: 1px 5px; border-radius: 4px; font-size: .9em; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 48px; }
h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 18px; margin: 0 0 4px; }
.lede, .refreshed, .hint { color: var(--muted); margin: 0; }
.refreshed { font-size: 13px; margin-top: 8px; }
.hint { font-size: 14px; margin-bottom: 12px; }

.stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; min-width: 96px; }
.stat b { display: block; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }

.whatsnew { background: var(--accent-tint); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px; }
.whatsnew p { margin: 0; }
.when { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.controls { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-bottom: 16px; }
.controls input, .controls select {
  font: inherit; font-size: 15px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; min-width: 0;
}
@media (max-width: 600px) { .controls { grid-template-columns: 1fr 1fr; } .controls input { grid-column: 1 / -1; } }

.list { display: grid; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.card-top { display: flex; justify-content: space-between; gap: 8px 12px; align-items: flex-start; flex-wrap: wrap; }
.company { color: var(--muted); font-size: 14px; }
.role { font-weight: 650; font-size: 17px; margin-top: 2px; }
.meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.meta .sep { margin: 0 6px; }
.summary { margin: 12px 0 0; }
.fit { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.fit b { color: var(--text); font-weight: 600; }
details { margin-top: 10px; font-size: 14.5px; }
summary { cursor: pointer; color: var(--muted); }
details ul { margin: 6px 0 0; padding-left: 20px; }
details p { margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { border: 1px solid var(--border); border-radius: 999px; padding: 1px 10px; font-size: 12.5px; color: var(--muted); }
.btn { display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--accent); color: #222; }
.btn:hover { background: var(--accent-strong); color: #222; }

.status { font-size: 12.5px; font-weight: 600; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.status[data-s="Open"], .status[data-s="Offer"] { color: var(--accent); border-color: var(--accent); }
.status[data-s="Applied"], .status[data-s="Interviewing"] { color: var(--text); border-color: var(--text); }
.soon { color: var(--accent); font-weight: 600; }
.past { text-decoration: line-through; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

section.block { margin-top: 44px; }
.watch { list-style: none; margin: 0; padding: 0; }
.watch li { padding: 10px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.watch .what { color: var(--muted); font-size: 14px; }
.resources { margin: 0; padding-left: 20px; color: var(--muted); }
.resources li { margin: 4px 0; }
.log { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.log li { padding: 8px 0; border-top: 1px solid var(--border); }
.log .when { margin-right: 8px; }
footer { color: var(--muted); font-size: 13px; padding: 40px 16px; }
