:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --panel: #fafaf4;
  --ink: #20231e;
  --muted: #565c51;
  --line: #cfd4c6;
  --lime: #d2f65a;
  --subtle: #e9eddf;
  font: 16px/1.5 "DM Sans", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #536b20; outline-offset: 4px; }
.wrap { width: min(1160px, 100% - 4rem); margin-inline: auto; }
.skip {
  position: absolute;
  transform: translateY(-150%);
  z-index: 2;
  padding: .75rem;
  background: var(--lime);
}
.skip:focus { transform: translateY(0); }
.mast {
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.mast nav, .actions, .filters, .search, .pagination nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.mast nav { gap: 1.5rem; font-size: .9rem; }
.mast nav a:not([aria-current]) { text-decoration: none; }
.wordmark, h1, h2, .metrics strong {
  font-family: "Space Grotesk", "Avenir Next", system-ui, sans-serif;
  letter-spacing: -.055em;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.6rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.mark {
  width: 1.3rem;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  background: var(--lime);
  transform: rotate(-7deg);
  box-shadow: 2px 2px var(--ink);
}
.quiet {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
}
.quiet:hover, .mast a:hover { text-decoration: underline; }
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin: 3.4rem 0 2rem;
}
.intro p { color: var(--muted); margin: .65rem 0 0; }
.intro .overline, .overline { font-size: .82rem; letter-spacing: .11em; font-weight: 700; text-transform: uppercase; }
h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: 1; margin: .6rem 0 0; overflow-wrap: anywhere; }
h1 span { color: #55751d; }
h2 { font-size: 1.65rem; line-height: 1.14; margin: 0 0 .9rem; }
h3 { font-size: 1.04rem; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
p { margin: .45rem 0; }
.primary, .secondary {
  display: inline-flex;
  min-height: 2.75rem;
  justify-content: center;
  align-items: center;
  padding: .52rem .93rem;
  border: 1px solid var(--ink);
  font-weight: 660;
  text-decoration: none;
  white-space: nowrap;
}
.primary { background: var(--ink); color: var(--paper); }
.primary:hover { background: var(--lime); color: var(--ink); }
.secondary { background: transparent; border-color: var(--line); }
.secondary:hover { background: var(--subtle); }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}
.metrics > div { padding: .85rem 1.15rem; }
.metrics > div + div { border-left: 1px solid var(--line); }
.metrics span { display: block; font-size: .9rem; color: var(--muted); }
.metrics strong { display: block; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 690; line-height: 1.05; }
.metrics .highlight { background: var(--lime); }
.metrics .highlight span { color: var(--ink); }
.directory { margin: 2.5rem 0; }
.directory-top, .toolbar, .pagination, .entry-head, .run {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.directory-top h2 { margin: 0; }
.queue { font-size: .9rem; }
.toolbar { margin: 1rem 0 .75rem; flex-wrap: wrap; }
.filters { gap: .25rem; }
.filters a {
  font-size: .88rem;
  padding: .45rem .65rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.filters a:hover { border-color: var(--line); }
.filters a[aria-current] { background: var(--subtle); border-color: var(--line); font-weight: 700; }
.search { flex-wrap: nowrap; gap: .35rem; }
input:not([type=hidden]) {
  min-width: 0;
  min-height: 2.75rem;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; text-align: left; border-collapse: collapse; font-size: .93rem; }
thead { background: var(--subtle); }
th, td { padding: .72rem .8rem; vertical-align: top; }
tbody tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: var(--panel); }
.company-link { font-weight: 720; }
td > small { display: block; color: var(--muted); }
.fit { display: inline-block; white-space: nowrap; padding: .08rem .35rem; color: var(--ink); background: var(--subtle); font-weight: 730; }
.fit.good { background: var(--lime); }
.fit small { font-size: .72rem; font-weight: 500; }
.pagination { margin-top: .8rem; color: var(--muted); font-size: .91rem; }
.back { display: inline-block; margin-top: 1.5rem; font-size: .9rem; }
.detail-intro { margin-top: 1.5rem; }
.detail-intro h1 { font-size: clamp(2.45rem, 6vw, 4.4rem); }
.actions { flex-shrink: 0; }
.company-meta, .notice { padding: .7rem .85rem; border: 1px solid var(--line); background: var(--subtle); }
.company-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; }
.notice { margin: 1rem 0; overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.2rem; margin-block: 1.25rem 3rem; }
.column { display: flex; flex-direction: column; gap: 1.2rem; }
.panel { padding: 1.15rem; border: 1px solid var(--line); background: var(--panel); }
.entry { padding: .85rem 0; border-top: 1px solid var(--line); }
.entry:last-child { padding-bottom: 0; }
.muted, .source { color: var(--muted); }
.source { font-size: .88rem; overflow-wrap: anywhere; }
.run progress { accent-color: #5e7b24; }
.login { width: min(100%, 32rem); margin: 3rem auto 5rem; }
.login h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.login-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.login-form label { display: grid; gap: .35rem; }
.login-form button { justify-self: start; }
footer { border-top: 1px solid var(--line); padding-block: 1rem 2rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .mast { gap: .75rem; }
  .mast nav { gap: .5rem .85rem; }
  .intro { align-items: start; flex-direction: column; margin-top: 2rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics > div:nth-child(3) { border-left: 0; }
  .metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .search, .search input { width: 100%; }
  th, td { min-width: 7rem; }
  td:first-child { min-width: 10rem; }
  .run { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .mast { flex-wrap: wrap; padding-block: .75rem; }
}
