/* Light, quiet, phone-first. One accent (the resume's navy). No all-caps labels or eyebrows. */
:root {
  --ink: #1f1f1f; --muted: #5b6270; --line: #e3e6ec; --bg: #ffffff; --soft: #f5f7fa;
  --accent: #1f3864; --accent-ink: #ffffff; --hot: #0b6b3a; --err: #a61b1b;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e9ecf1; --muted: #a5adbb; --line: #2c323c; --bg: #14171c; --soft: #1b1f26;
          --accent: #8fb0e8; --accent-ink: #0e1420; --hot: #6fd39d; --err: #ff8f8f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.5 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums; }
main { max-width: 760px; margin: 0 auto; padding: 16px 16px 64px; }
a { color: var(--accent); }
h1 { font-size: 1.45rem; line-height: 1.25; margin: 8px 0 4px; font-weight: 600; }
h2 { font-size: 1.05rem; margin: 0 0 8px; font-weight: 600; }
.small { font-size: .88rem; color: var(--muted); }
.sub { margin: 0; color: var(--muted); }
.meta { color: var(--muted); font-size: .9rem; margin: 4px 0 12px; }

.top { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; max-width: 100%; }
.brand { font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.top nav { display: flex; gap: 14px; overflow-x: auto; }
.top nav a { text-decoration: none; color: var(--muted); font-size: .95rem; white-space: nowrap; padding: 4px 0; }
.top nav a[aria-current] { color: var(--ink); border-bottom: 2px solid var(--accent); }

.tabs { display: flex; gap: 6px; margin: 4px 0 12px; overflow-x: auto; }
.tabs a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.tabs a[aria-selected] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tabs .n { opacity: .75; font-size: .85em; }

.search input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--soft); color: var(--ink); font: inherit; margin-bottom: 12px; }

.jobs { list-style: none; margin: 0; padding: 0; }
.job { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 10px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.job.fresh { border-left: 4px solid var(--hot); }
.job .main { text-decoration: none; color: inherit; min-width: 0; flex: 1; }
.job .t { display: block; font-weight: 600; }
.job .c { display: block; color: var(--muted); font-size: .93rem; overflow: hidden; text-overflow: ellipsis; }
.job .meta { display: block; margin: 2px 0 0; }
.hot { color: var(--hot); font-weight: 600; }
.acts { display: flex; gap: 6px; flex-shrink: 0; }
.acts form { margin: 0; }
@media (max-width: 560px) {
  .job { flex-direction: column; align-items: stretch; }
  .acts { justify-content: flex-start; }
}

.btn { display: inline-block; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--soft); color: var(--ink); font: inherit; font-size: .95rem; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.quiet { background: transparent; color: var(--muted); }
.btn.big { padding: 12px 20px; font-size: 1.05rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.card { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 14px 0; }
details > summary { cursor: pointer; color: var(--muted); }
details.card > summary { color: var(--ink); font-weight: 600; }
textarea, select, input[type=date], input:not([type]), input.mono { width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--soft); color: var(--ink); font: inherit; }
.track { display: grid; gap: 12px; }
.track label, label.block { display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.ok { color: var(--hot); } .err { color: var(--err); min-height: 1.2em; }
.note { background: var(--soft); border-radius: 8px; padding: 8px 12px; }
.empty { color: var(--muted); padding: 24px 0; }
.back { margin: 0; } .back a { text-decoration: none; }
.center { max-width: 440px; margin: 12vh auto 0; text-align: center; }
.center label.block { text-align: left; margin: 16px 0; }
.plain { list-style: none; padding: 0; } .plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.resumes span { display: block; margin-top: 4px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 12px 0; }
.tiles > div { background: var(--soft); border-radius: var(--r); padding: 12px 14px; color: var(--muted); font-size: .92rem; }
.tiles .num { display: block; font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.num-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.num-table th, .num-table td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.num-table td:not(:first-child), .num-table th:not(:first-child) { text-align: right; }

/* Phone: the four nav links matter more than the name; hide scrollbars on swipe rows. */
@media (max-width: 480px) { .brand { display: none; } .top nav { gap: 18px; } }
.top nav, .tabs { scrollbar-width: none; } .top nav::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }

