@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/static/fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --text: #1f2633;
  --text-2: #5f6b7d;
  --text-3: #6b7587;
  --line: #e6e9ef;
  --radio: #c6ccd6;
  --accent: #2f5fd0;
  --accent-hover: #264fb2;
  --accent-soft: #eaf0fd;
  --accent-text: #ffffff;
  --hero: #e7ecf5;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warn: #b45309;
  --warn-soft: #fdf3e3;
  --muted-soft: #eef1f5;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --search-shadow: 0 6px 24px rgba(31, 38, 51, 0.07);
  --tone-0-bg: #e5f6ec; --tone-0-fg: #15803d;
  --tone-1-bg: #eaf0fd; --tone-1-fg: #2f5fd0;
  --tone-2-bg: #f3ecfd; --tone-2-fg: #7c3aed;
  --tone-3-bg: #fdf1e6; --tone-3-fg: #c2410c;
  --tone-4-bg: #e6f4f8; --tone-4-fg: #0e7490;
  --tone-5-bg: #eef1f5; --tone-5-fg: #475467;
  --radius: 14px;
  color-scheme: light dark;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f131a;
    --surface: #161b24;
    --surface-2: #1b212c;
    --text: #e2e6ee;
    --text-2: #a3adbd;
    --text-3: #8a94a5;
    --line: #262d3a;
    --radio: #3a4353;
    --accent: #7b9cff;
    --accent-hover: #93afff;
    --accent-soft: #1d2840;
    --accent-text: #0c1222;
    --hero: #141a25;
    --ok: #6fcf8f;
    --ok-soft: #15291d;
    --warn: #f0b264;
    --warn-soft: #2e2414;
    --muted-soft: #212835;
    --shadow: none;
    --search-shadow: none;
    --tone-0-bg: #15291d; --tone-0-fg: #6fcf8f;
    --tone-1-bg: #1d2840; --tone-1-fg: #7b9cff;
    --tone-2-bg: #281f3a; --tone-2-fg: #b794f4;
    --tone-3-bg: #2e2216; --tone-3-fg: #f0a066;
    --tone-4-bg: #16282e; --tone-4-fg: #5cc4de;
    --tone-5-bg: #212835; --tone-5-fg: #a3adbd;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main.wrap { flex: 1; padding-top: 28px; padding-bottom: 56px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; margin: 0 0 12px; line-height: 1.25; letter-spacing: -0.015em; }
h2 { font-size: 17px; margin: 28px 0 10px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; color: var(--accent); }
.site-header nav { display: flex; gap: 28px; font-weight: 500; align-self: stretch; }
.site-header nav a { color: var(--text-2); display: flex; align-items: center; border-bottom: 2px solid transparent; padding-top: 2px; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }
.site-header nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.site-footer { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; color: var(--text-2); }
.site-footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; }

.hero { background: var(--hero); border-radius: 0 0 24px 24px; padding: 40px 0 44px; }
.hero h1 { margin: 0 0 6px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.hero p { margin: 0 0 24px; color: var(--text-2); font-size: 16px; }
.searchbar { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; background: var(--surface); border-radius: 999px; padding: 8px 8px 8px 24px; box-shadow: var(--search-shadow); }
.searchbar .field { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 0; color: var(--text-3); }
.searchbar .field + .field { border-left: 1px solid var(--line); padding-left: 20px; }
.searchbar svg { width: 20px; height: 20px; flex: none; }
.searchbar input { padding: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--text); background: transparent; width: 100%; min-width: 0; padding: 0; }
.searchbar input::placeholder { color: var(--text-3); }
.searchbar .field:focus-within { color: var(--accent); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
a.chip:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.chip.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

input, select, .btn {
  font: inherit; color: inherit; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; min-width: 0; width: 100%;
}
.btn { font-weight: 600; border-radius: 999px; padding: 12px 28px; width: auto; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { background: var(--accent-hover); }
select.sort { width: auto; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; cursor: pointer; }

.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
aside.filters h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
aside.filters .group { padding: 0 0 22px; }
aside.filters .group + .group { border-top: 1px solid var(--line); padding-top: 20px; }
.opt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); padding: 5px 0; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt .box { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--radio); flex: none; }
.opt input:checked + .box { border: 5px solid var(--accent); }
.opt input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .n { margin-left: auto; color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.clear { float: right; font-size: 13px; font-weight: 500; }
aside.filters fieldset { border: 0; margin: 0; min-width: 0; }
aside.filters legend { padding: 0; width: 100%; }
aside.filters legend h3 { margin: 0 0 12px; }
.filters-box > summary { display: none; list-style: none; cursor: pointer; font-weight: 600; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.filters-box > summary::-webkit-details-marker { display: none; }
.filters-box[open] > summary { margin-bottom: 16px; }

.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.results-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.results-head h2 span { color: var(--text-3); font-weight: 500; font-size: 15px; margin-left: 6px; }
.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row:hover { background: var(--surface-2); }
.logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.tone-0 { background: var(--tone-0-bg); color: var(--tone-0-fg); }
.tone-1 { background: var(--tone-1-bg); color: var(--tone-1-fg); }
.tone-2 { background: var(--tone-2-bg); color: var(--tone-2-fg); }
.tone-3 { background: var(--tone-3-bg); color: var(--tone-3-fg); }
.tone-4 { background: var(--tone-4-bg); color: var(--tone-4-fg); }
.tone-5 { background: var(--tone-5-bg); color: var(--tone-5-fg); }
.title { font-weight: 600; font-size: 16px; color: var(--text); display: block; }
.sub { font-size: 14px; color: var(--text-2); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sub .ico { display: inline-flex; align-items: center; gap: 5px; }
.sub svg { width: 15px; height: 15px; color: var(--text-3); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; line-height: 1.5; padding: 3px 10px; border-radius: 999px; background: var(--muted-soft); color: var(--text-2); white-space: nowrap; }
.tag.src { background: var(--accent-soft); color: var(--accent); }
.tag.pay { background: var(--ok-soft); color: var(--ok); }
.tag.closed { background: var(--warn-soft); color: var(--warn); }
.right { text-align: right; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.right b { display: block; font-weight: 500; color: var(--text-2); font-size: 13px; margin-bottom: 4px; }
.more { text-align: center; padding: 20px 0 0; }
.list .more { padding: 16px; border-top: 1px solid var(--line); }
.empty { color: var(--text-2); padding: 28px 20px; margin: 0; }


.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.job-head { padding: 26px 28px; display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; }
.job-head .logo { width: 60px; height: 60px; font-size: 22px; border-radius: 16px; }
.job-head h1 { margin: 0; }
.job-head .sub { font-size: 15px; margin-top: 4px; }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.desc { padding: 6px 28px 28px; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.desc h2, .desc h3, .desc h4 { font-size: 17px; margin: 24px 0 8px; }
.desc p { margin: 0 0 14px; max-width: 70ch; }
.desc p:empty { display: none; }
.desc br + br { display: none; }
.desc > :first-child { margin-top: 18px; }
.desc strong, .desc b { font-weight: 700; }
.desc blockquote { margin: 0 0 14px; padding: 4px 0 4px 16px; border-left: 3px solid var(--line); color: var(--text-2); }
.desc a { text-decoration: underline; text-underline-offset: 2px; }
.desc li > p { margin: 0; }
.desc ul, .desc ol { margin: 0 0 14px; padding-left: 20px; }
.desc li { margin: 6px 0; }
.desc h1 { font-size: 24px; margin: 18px 0 12px; }
.desc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--muted-soft); padding: 1px 5px; border-radius: 4px; }
.desc pre { margin: 0 0 14px; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; line-height: 1.5; }
.desc pre code { background: none; padding: 0; font-size: 14px; }
.desc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.desc th, .desc td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.desc th { font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.desc hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.divider { height: 1px; background: var(--line); margin: 0 28px 18px; }
.side { display: flex; flex-direction: column; gap: 16px; }
.side .card { padding: 20px 22px; }
.side h2 { margin: 0 0 14px; font-size: 15px; }
.muted { margin: 0; color: var(--text-2); font-size: 14px; }
.notice { padding: 40px 32px; max-width: 520px; }
.notice p { color: var(--text-2); margin: 0 0 20px; }
.back { margin: 0 0 12px; font-size: 14px; }
.back a { display: inline-flex; align-items: center; gap: 6px; }
.back svg { width: 16px; height: 16px; flex: none; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.srcs { list-style: none; padding: 0; margin: 0; }
.srcs li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.srcs li:first-child { border-top: 0; padding-top: 0; }
.srcs .logo { width: 34px; height: 34px; font-size: 12px; border-radius: 9px; }
.srcs small { display: block; color: var(--text-3); font-size: 12.5px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.muted { background: var(--muted-soft); color: var(--text-2); }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.timeline li { position: relative; padding: 0 0 14px 22px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; color: var(--text-3); font-size: 12.5px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stat span { font-size: 13px; color: var(--text-2); }
.stat b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat small { color: var(--text-3); font-size: 12.5px; }
.bar { height: 8px; border-radius: 99px; background: var(--muted-soft); overflow: hidden; display: flex; margin: 10px 0; }
.bar i { display: block; height: 100%; }
.bar .live-seg { background: var(--ok); }
.bar .blocked-seg { background: var(--warn); }
.bar .dead-seg { background: var(--radio); }
.bar .idle-seg { background: var(--text-3); }

.table-card { overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--text-3); padding: 14px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
td .name { font-weight: 600; }
td .note { display: block; color: var(--text-3); font-size: 12.5px; max-width: 48ch; overflow-wrap: anywhere; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); }

.agent-banner { display: flex; align-items: center; gap: 12px; padding: 12px 18px; margin-bottom: 16px; font-size: 14px; color: var(--text); }
.agent-banner:hover { text-decoration: none; border-color: var(--accent); }
.agent-banner .go { margin-left: auto; color: var(--accent); font-weight: 600; white-space: nowrap; }
.endpoint { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; max-width: 760px; }
.endpoint .label { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.endpoint code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; }
.endpoint .btn { padding: 8px 20px; }
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
.client { padding: 20px 22px; }
.client h3 { margin: 0 0 8px; font-size: 16px; }
.client p { margin: 0 0 10px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.client pre { margin: 0; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.client code, td code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.client p code { background: var(--muted-soft); padding: 1px 5px; border-radius: 4px; }
.prompts { list-style: none; margin: 0 0 8px; padding: 6px 22px; }
.prompts li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.prompts li:first-child { border-top: 0; }
.agents-foot { margin-top: 16px; }

.lede { margin: -8px 0 20px; color: var(--text-2); }
.panel { padding: 20px 22px; margin-bottom: 16px; }
.panel h2 { margin: 0 0 6px; font-size: 15px; }
.panel .muted { margin-bottom: 12px; }
.pulse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pulse-grid .panel { margin-bottom: 0; }
.chart { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--text-3); font-size: 11px; }
.series-new { fill: var(--accent); }
.series-closed { fill: var(--warn); }
.swatch.series-new { background: var(--accent); }
.swatch.series-closed { background: var(--warn); }
.legend { display: flex; gap: 18px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend.stacked { flex-direction: column; gap: 8px; }
.legend.stacked span { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.bar .mode-remote, .swatch.mode-remote { background: var(--ok); }
.bar .mode-hybrid, .swatch.mode-hybrid { }
.bar .mode-onsite, .swatch.mode-onsite { }
.bar .mode-unknown, .swatch.mode-unknown { background: var(--radio); }
.big { margin: 0 0 12px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.big small { font-size: 13px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.rank td, .rank th { padding: 8px 0; border-bottom: 0; }
.rank th { border-bottom: 1px solid var(--line); }
.rank .label { width: 40%; overflow-wrap: anywhere; }
.rank .meter { width: 40%; padding: 8px 12px; }
.rank .meter i { display: block; height: 8px; border-radius: 99px; background: var(--accent); min-width: 2px; }

@media (max-width: 920px) {
  .layout, .job-grid { grid-template-columns: 1fr; }
  .filters-box > summary { display: block; }
  aside.filters { margin-bottom: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pulse-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { gap: 12px; }
  .brand-name, .live { display: none; }
  .site-header nav { gap: 14px; font-size: 13px; margin-left: auto; min-width: 0; overflow-x: auto; }
  .site-header nav a { white-space: nowrap; }
  .col-type, .col-crawl { display: none; }
  table { font-size: 13px; }
  th, td { padding-left: 8px; padding-right: 8px; }
  th { white-space: normal; }
  td:first-child, th:first-child { padding-left: 14px; }
  td:last-child { padding-right: 14px; }
  .toolbar { padding: 12px; }
  .panel { padding: 16px; }
  .rank .meter { display: none; }
  .rank .label { width: auto; }
  .endpoint { flex-wrap: wrap; padding: 12px 14px; }
  .endpoint code { flex-basis: 100%; order: 2; }
  .agent-banner { flex-wrap: wrap; }
  .agent-banner .go { margin-left: 0; }
  .hero h1 { font-size: 24px; }
  .searchbar { grid-template-columns: 1fr; border-radius: 18px; padding: 8px; gap: 4px; }
  .searchbar .field { padding: 10px 12px; }
  .searchbar .field + .field { border-left: 0; border-top: 1px solid var(--line); padding-left: 12px; }
  .row { grid-template-columns: 40px 1fr; }
  .row .logo { width: 40px; height: 40px; }
  .right { grid-column: 2; text-align: left; }
  .job-head { grid-template-columns: 1fr; padding: 20px 18px; }
  .job-head .logo { width: 48px; height: 48px; font-size: 18px; }
  .desc { padding: 6px 18px 22px; }
  .divider { margin: 0 18px 18px; }
}
