:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --text: #1c1c1a;
  --muted: #6b6b66;
  --line: #e4e3df;
  --accent: #1f5fbf;
  --chip-intern: #e7f0ff;
  --chip-intern-t: #1d4f9c;
  --chip-entry: #e6f5ec;
  --chip-entry-t: #1f6b3d;
  --chip-other: #efefec;
  --chip-other-t: #55554f;
  --warn: #9a5a00;
  --applied-bg: #f3f8f4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --panel: #1d1d1b;
    --text: #ececea;
    --muted: #9b9b95;
    --line: #2f2f2c;
    --accent: #7fb0ff;
    --chip-intern: #1d2c45;
    --chip-intern-t: #a9c8ff;
    --chip-entry: #1b3326;
    --chip-entry-t: #9fdcb6;
    --chip-other: #2a2a27;
    --chip-other-t: #c4c4bd;
    --warn: #e8b05c;
    --applied-bg: #18221b;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.top { border-bottom: 1px solid var(--line); background: var(--panel); }
.top h1 { margin: 20px 0 2px; font-size: 22px; letter-spacing: -0.01em; }
.sub { margin: 0 0 16px; color: var(--muted); }
.muted { color: var(--muted); }

.layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-top: 20px; padding-bottom: 48px; }
@media (max-width: 760px) { .layout { grid-template-columns: 1fr; gap: 12px; } }

.filterbox { align-self: start; position: sticky; top: 16px; }
.filterbox > summary { display: none; }
@media (max-width: 760px) {
  .filterbox { position: static; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 10px 14px; }
  .filterbox > summary { display: list-item; cursor: pointer; font-weight: 600; }
  .filterbox[open] > summary { margin-bottom: 12px; }
}
.filters { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 0; margin-bottom: 4px; }
fieldset.field label, .check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
input[type=search], select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--text); font: inherit;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.link { background: none; border: 0; color: var(--accent); padding: 0; font: inherit; cursor: pointer; text-align: left; }
.note { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; margin-bottom: -1px;
  font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tab .n { font-size: 12px; font-weight: 600; color: var(--muted); }
.tab .n:not(:empty)::before { content: "· "; }
.bar { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.tools { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 13px; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.job {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start;
}
.job h2 { font-size: 16px; margin: 0; line-height: 1.35; }
.job h2 a { color: var(--text); text-decoration: none; }
.job h2 a:hover { color: var(--accent); text-decoration: underline; }
.co { color: var(--text); font-weight: 500; }
.meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; grid-column: 1 / -1; }
.chip { font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; font-weight: 600; }
.chip.intern { background: var(--chip-intern); color: var(--chip-intern-t); }
.chip.entry { background: var(--chip-entry); color: var(--chip-entry-t); }
.chip.unspecified { background: var(--chip-other); color: var(--chip-other-t); }
.go { color: var(--accent); text-decoration: none; font-size: 13px; white-space: nowrap; margin-right: auto; }
.actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.act { font: inherit; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer; }
.act[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.job.is-applied { background: var(--applied-bg); }
.warn { color: var(--warn); }
.chip.gone { background: var(--chip-other); color: var(--chip-other-t); }
.go:hover { text-decoration: underline; }
.more { margin: 16px auto 0; display: block; padding: 10px 20px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
