:root {
  --bg: #121610;
  --panel: #1b2118;
  --panel-2: #232a1f;
  --line: #343c2e;
  --text: #f3f0e7;
  --muted: #a7b09e;
  --now: #e4b15a;
  --now-ink: #2a210f;
  --hold: #8eb8c9;
  --stretch: #c9b4dc;
  --good: #8fbf9f;
  --paper: #f4f0e6;
  --ink: #1c1914;
  --paper-muted: #5e584c;
  --danger: #e39b8a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { min-height: 100vh; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 22, 16, 0.92);
  position: sticky;
  top: 0;
  z-index: 2;
}
.brand { display: flex; gap: 12px; align-items: center; min-width: 260px; }
.brand strong { display: block; font-size: 16px; letter-spacing: 0.01em; }
.brand small, .muted, .meta { color: var(--muted); }
.mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--now); color: var(--now-ink);
  font-family: Fraunces, Georgia, serif; font-weight: 650;
}
.clock-block { display: flex; flex-direction: column; gap: 4px; flex: 1; }
#pt-clock { font-variant-numeric: tabular-nums; }
.window-pill, .live, .pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; width: fit-content;
}
.window-pill { background: var(--panel-2); color: var(--muted); }
.window-pill.open { background: #3d3420; color: var(--now); }
.live { background: var(--panel-2); color: var(--muted); }
.live.on { color: var(--good); }
.live.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.header-actions { display: flex; gap: 8px; align-items: center; }
button, .ghost {
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text);
  border-radius: 999px; padding: 8px 14px;
}
button.primary { background: var(--now); color: var(--now-ink); border-color: transparent; font-weight: 600; }
button.ghost { background: transparent; }
.stats {
  display: flex; gap: 18px; padding: 10px 22px; color: var(--muted); font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.stats strong { color: var(--text); font-weight: 600; }
main {
  height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 0;
}
.list-pane, .detail { min-height: 0; overflow: auto; }
.list-pane { border-right: 1px solid var(--line); padding: 14px; }
#search, select, .login-card input {
  width: 100%; border: 1px solid var(--line); background: var(--panel);
  border-radius: 12px; padding: 10px 12px; outline: none;
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.filters button { padding: 6px 10px; font-size: 13px; }
.filters button.active { background: var(--text); color: var(--bg); border-color: transparent; }
.card {
  width: 100%; text-align: left; border-radius: 14px; padding: 12px;
  margin-bottom: 8px; background: transparent; border: 1px solid transparent;
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
}
.card-hit {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 0;
}
.card.active { background: var(--panel); border-color: var(--line); }
.posting-link { color: var(--now); font-size: 13px; text-underline-offset: 3px; }
.found-on { margin: 8px 0 0; color: var(--muted); }
.manager { margin: 6px 0 0; color: var(--now); font-size: 13px; }
.card .row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.card h3 { margin: 4px 0; font-size: 15px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 13px; }
.pill.now { background: var(--now); color: var(--now-ink); }
.pill.hold { background: #243840; color: var(--hold); }
.pill.stretch { background: #322838; color: var(--stretch); }
.pill.status { background: var(--panel-2); color: var(--muted); text-transform: none; letter-spacing: 0; }
.detail { padding: 22px 26px 48px; }
.empty { max-width: 460px; margin: 12vh auto; }
.empty h2, .decision h2, .login-card h1 {
  font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.03em;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--now); margin: 0 0 8px; }
.detail-grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.15fr); gap: 22px; align-items: start; }
.decision { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: var(--panel); margin-bottom: 14px; }
.decision.now { box-shadow: inset 3px 0 0 var(--now); }
.decision.hold { box-shadow: inset 3px 0 0 var(--hold); }
.decision.stretch { box-shadow: inset 3px 0 0 var(--stretch); }
.decision h2 { margin: 0 0 6px; font-size: 32px; }
.decision p { margin: 0; color: var(--muted); }
.actions { display: flex; gap: 10px; align-items: end; margin: 14px 0; flex-wrap: wrap; }
.actions label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); min-width: 160px; }
.job-head h2 { font-family: Fraunces, Georgia, serif; font-size: 28px; margin: 0 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip { background: var(--panel-2); border-radius: 999px; padding: 4px 8px; font-size: 12px; color: var(--muted); }
.chip.ramp { color: var(--now); }
.description { white-space: pre-wrap; color: #d9d5cb; font-size: 14px; line-height: 1.5; }
.resume-tools { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; align-items: center; }
.resume {
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 28px 30px;
  box-shadow: var(--shadow); line-height: 1.45;
}
.resume h1 { font-family: Fraunces, Georgia, serif; font-size: 34px; margin: 0; font-weight: 560; }
.resume h2 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 18px 0 6px; color: var(--paper-muted); }
.resume h3 { margin: 0; font-size: 16px; }
.resume h3 span { color: var(--paper-muted); font-weight: 500; }
.resume p, .resume li { font-size: 14px; }
.resume a { color: #3d4f86; }
.resume ul { margin: 6px 0 0; padding-left: 18px; }
.resume .headline { margin: 2px 0 4px; font-weight: 600; }
.resume .contact, .resume .title-line { color: var(--paper-muted); margin: 0; }
.resume .prep { margin-top: 16px; background: #f8f1dc; border: 1px solid #e2b15a; border-radius: 12px; padding: 12px 14px; }
.resume .prep h2 { margin-top: 0; }
.resume .prep-note { margin-top: 0; }
.login-body { display: grid; place-items: center; min-height: 100vh; background:
  radial-gradient(800px 400px at 20% 0%, #2a2618, transparent), var(--bg); }
.login-card { width: min(420px, calc(100% - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.login-card h1 { margin: 0 0 8px; font-size: 42px; }
.lede { color: var(--muted); }
.login-card label { display: block; margin: 16px 0 6px; font-size: 13px; color: var(--muted); }
.login-card button { margin-top: 14px; background: var(--now); color: var(--now-ink); border: 0; font-weight: 600; }
.error { color: var(--danger); }
.paper-body { background: #d9d3c5; color: var(--ink); padding: 24px; }
.paper-toolbar { max-width: 820px; margin: 0 auto 12px; display: flex; justify-content: space-between; }
.paper-body .resume { max-width: 820px; margin: 0 auto; }
@media (max-width: 980px) {
  main { grid-template-columns: 1fr; height: auto; }
  .list-pane { max-height: 46vh; }
  .detail-grid { grid-template-columns: 1fr; }
  .resume-column { order: -1; }
  .top { flex-wrap: wrap; }
}
@media print {
  .paper-toolbar { display: none; }
  .paper-body { background: white; padding: 0; }
  .resume { box-shadow: none; }
}
