* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  font:
    15px/1.5 "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e8edf6;
  background: #0c1118;
  --line: #303a47;
  --muted: #a4b0c1;
  --panel: #141c26;
  --mint: #66e5cf;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header,
footer {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
  background: #10161e;
}
.brand {
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--mint);
  color: #082c2b;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  font: bold 30px/1 monospace;
}
.nav {
  color: #e1e9f3;
  background: #202a36;
  border-radius: 7px;
  padding: 5px 14px;
}
.spacer {
  flex: 1;
}
.env,
.pill {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
}
.env {
  color: var(--mint);
  border-color: #315550;
}
.env:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 7px;
}
main {
  margin: 0 auto;
  padding: 38px clamp(18px, 4vw, 68px) 56px;
  width: 100%;
  max-width: 1750px;
  flex: 1;
}
footer {
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  justify-content: space-between;
  background: transparent;
}
a {
  color: var(--mint);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1 {
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -1.6px;
  margin: 7px 0 4px;
  line-height: 1.15;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  margin: 0 0 16px;
}
p {
  margin: 5px 0;
  color: var(--muted);
}
button,
.btn,
select,
input {
  font: inherit;
  color: inherit;
  border-radius: 8px;
  background: #101720;
  border: 1px solid var(--line);
  padding: 8px 13px;
}
button,
.btn,
select,
summary {
  cursor: pointer;
}
button:hover,
.btn:hover {
  border-color: #7f969e;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  color: #052521;
  background: var(--mint);
  border: 1px solid var(--mint);
  font-weight: 680;
}
.title,
.filters,
.bottom,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.title {
  justify-content: space-between;
  margin: 16px 0 26px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.filters,
.bottom {
  padding: 14px 20px;
}
.filters {
  border-bottom: 1px solid var(--line);
}
.bottom {
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.search {
  min-width: min(260px, 100%);
}
.scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-weight: 580;
}
td,
th {
  padding: 12px 20px;
  border-bottom: 1px solid #24303b;
  white-space: nowrap;
}
td {
  font-size: 14px;
}
tbody tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: #1a2530;
}
.repo {
  color: #eef5fa;
  font-weight: 650;
}
.sub,
small,
.crumb {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.mono,
code {
  font:
    13px ui-monospace,
    SFMono-Regular,
    monospace;
}
.good {
  color: #81e5c1;
  background: #15352d;
}
.warn {
  color: #f5d28a;
  background: #372d1e;
}
.bad {
  color: #ffb2aa;
  background: #3c2428;
}
.neutral {
  color: #bfcddd;
  background: #232e3d;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 20px;
  max-width: 1100px;
}
.field,
.pad {
  padding: 22px;
}
.field {
  display: grid;
  grid-template-columns: minmax(95px, 30%) 1fr;
  align-items: start;
  gap: 16px;
}
.field + .field {
  border-top: 1px solid var(--line);
}
.field > label,
.field > strong {
  font-weight: 630;
}
.field select,
.field input[type="search"] {
  width: 100%;
}
.choices {
  display: grid;
  gap: 10px;
}
.choices label {
  display: block;
  background: #111923;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
}
.choices label:has(input:checked) {
  border-color: var(--mint);
}
input {
  accent-color: var(--mint);
}
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 15px 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.empty {
  padding: 55px 20px;
  text-align: center;
}
.empty h2 {
  margin-bottom: 5px;
}
.notice {
  padding: 12px 16px;
  margin: 15px 0;
  border: 1px solid #665638;
  background: #2c261c;
  color: #f5d28a;
  border-radius: 8px;
}
.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.summary > div {
  min-width: 100px;
}
.summary strong {
  display: block;
  font-size: 22px;
}
.family {
  border-top: 1px solid var(--line);
  padding: 13px 20px;
}
.family summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.family summary:before {
  content: "▸";
  color: var(--muted);
}
.family[open] summary:before {
  content: "▾";
}
.family .info {
  padding: 12px 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
ol {
  padding-left: 22px;
}
.evidence {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
}
.signin {
  max-width: 540px;
  margin: 12vh auto;
}
.signin button {
  margin-top: 20px;
}
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
@media (max-width: 740px) {
  header {
    gap: 12px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .field {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .env {
    font-size: 11px;
  }
  #identity {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  td,
  th {
    padding: 10px 14px;
  }
  .filters > * {
    max-width: 100%;
  }
  main {
    padding-top: 24px;
  }
  .spacer {
    min-width: 0;
  }
  .title {
    align-items: flex-start;
  }
  .family summary {
    gap: 8px;
  }
}

.distribution {
  display: grid;
  gap: 4px;
  align-content: center;
}
.distribution svg {
  background: #303946;
  border-radius: 4px;
}
.distribution small {
  font-size: 12px;
}
