@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #242420;
  --text: #454640;
  --muted: #676a60;
  --line: #dedfd7;
  --sage: #62816a;
  --wash: #eceee7;
  --clay: #a96048;
  --serif: Newsreader, Georgia, serif;
  --sans:
    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 15px/1.5 var(--sans);
}
button,
select {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid #d3d5cc;
  border-radius: 4px;
  min-height: 36px;
  padding: 6px 12px;
}
button {
  cursor: pointer;
}
button:hover,
select:hover {
  background: var(--wash);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
a {
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-color: #adb1a4;
}
a:hover {
  text-decoration-color: var(--ink);
}
[hidden] {
  display: none !important;
}
.shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 25px 14px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.brand {
  font: 27px/1.1 var(--serif);
  letter-spacing: -0.5px;
  padding: 0 9px;
  text-decoration: none;
  color: var(--ink);
}
.rail nav {
  display: grid;
  gap: 7px;
  margin-top: 35px;
}
.rail nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}
.rail nav a[aria-current="page"] {
  background: var(--wash);
  color: var(--ink);
}
.rail nav a:hover {
  background: #f0f0eb;
}
.rail nav span {
  font: 20px/1 sans-serif;
  width: 20px;
  text-align: center;
  color: var(--muted);
}
.portfolio {
  margin-top: auto;
  padding: 12px;
}
.workspace {
  min-width: 0;
}
.topbar {
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.workspace-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quiet {
  border-color: transparent;
}
.freshness {
  color: var(--muted);
  font-size: 13px;
  min-width: 135px;
}
.freshness:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  margin-right: 8px;
}
.freshness.stale:before {
  background: var(--clay);
}
main {
  padding: 28px 30px 22px;
  max-width: 1600px;
}
h1 {
  font: 400 41px/1.15 var(--serif);
  color: var(--ink);
  letter-spacing: -0.8px;
  margin: 0 0 5px;
}
h2 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
p {
  margin: 0 0 14px;
}
.subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 22px;
}
.summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 30px;
}
.summary > div {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.summary > div:first-child {
  padding-left: 10px;
}
.summary > div:last-child {
  border: 0;
}
.summary .label {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}
.summary strong {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.summary small {
  font-size: 13px;
  margin-left: 7px;
  color: var(--muted);
}
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 18px;
  background: #ffffff12;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 17px 7px;
}
.panel-head > span,
.panel-head > a {
  font-size: 13px;
  color: var(--muted);
}
.chart {
  padding: 4px 12px 8px;
  height: 230px;
}
.chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}
.chart .grid-line {
  stroke: #e4e5dc;
  stroke-width: 1;
}
.chart .series {
  stroke: var(--sage);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart .point {
  fill: var(--sage);
  opacity: 0;
}
.chart .point:hover {
  opacity: 1;
}
.chart-empty {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 14px;
}
th {
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #edf0e866;
}
tbody tr.selected {
  background: #e8ece4;
}
.row-button {
  border: 0;
  padding: 0;
  min-height: 24px;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-radius: 0;
}
.row-button:hover {
  text-decoration: underline;
  background: none;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #969a91;
}
.status.active:before {
  background: var(--sage);
}
.status.failed:before {
  background: var(--clay);
}
.probe-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  align-items: center;
  padding: 12px 20px 20px;
  gap: 25px;
}
.probe-summary > div + div {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.probe-summary strong {
  display: inline-block;
  color: var(--ink);
  font-size: 24px;
  margin: 0 9px;
  font-weight: 600;
}
.probe-summary small {
  color: var(--muted);
  font-size: 13px;
}
.probe-summary .explain {
  font-size: 13px;
  color: var(--muted);
}
footer {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 3px 0 0;
}
.filters {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
}
.filters label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.instance-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 18px;
  align-items: start;
}
.inspector {
  padding: 18px;
}
.inspector h2 {
  font: 27px/1.2 var(--serif);
  margin: 0 0 7px;
}
.inspector dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 22px 0;
}
.inspector dt {
  color: var(--muted);
  font-size: 13px;
}
.inspector dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.source-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.scope-note {
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid #b9c5b1;
  padding-left: 12px;
  margin-bottom: 24px;
}
.probe-panel {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.probe-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.probe-stats {
  display: flex;
  gap: 30px;
  margin: 14px 0 19px;
}
.probe-stats > div {
  font-size: 13px;
  color: var(--muted);
}
.probe-stats strong {
  display: block;
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
}
.check-strip {
  display: flex;
  gap: 3px;
  overflow: auto;
  padding: 2px 0 8px;
}
.check {
  flex: 1 0 6px;
  max-width: 16px;
  min-width: 6px;
  padding: 0;
  border: 0;
  min-height: 32px;
  border-radius: 2px;
  background: #88a08a;
}
.check.bad {
  background: #c78c75;
}
.check:hover {
  background: #426347;
}
.check.bad:hover {
  background: #9b5c43;
}
.strip-note {
  color: var(--muted);
  font-size: 12px;
}
.observation-detail {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: var(--wash);
  padding: 13px 16px;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
  border-radius: 3px;
}
.definitions,
.collection-policy {
  padding: 20px;
}
.definitions dl {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) 1fr;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 0;
}
.definitions dt {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink);
}
.definitions dd {
  margin: 0;
  color: var(--muted);
}
.collection-policy p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 0;
}
.connected {
  color: #426347;
}
.missing {
  color: #865c48;
}
.error {
  margin-bottom: 20px;
  border-left: 3px solid var(--clay);
  padding: 10px 15px;
  background: #eee4dc;
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip {
  position: absolute;
  transform: translateY(-150%);
  z-index: 20;
  left: 20px;
  top: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px;
}
.skip:focus {
  transform: translateY(0);
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 175px minmax(0, 1fr);
  }
  .brand {
    font-size: 24px;
  }
  .topbar {
    padding: 12px 20px;
  }
  .freshness {
    min-width: 0;
  }
  .workspace-name {
    display: none;
  }
  main {
    padding: 25px 20px;
  }
  .summary small {
    display: block;
    margin: 4px 0 0;
  }
  .instance-layout {
    grid-template-columns: 1fr;
  }
  .probe-summary {
    gap: 15px;
  }
  .probe-summary > div + div {
    padding-left: 15px;
  }
  .probe-summary strong {
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .rail {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 18px 12px;
  }
  .brand {
    font-size: 26px;
    padding: 0;
  }
  .rail nav {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
  }
  .rail nav a {
    font-size: 14px;
    padding: 7px 10px;
    gap: 5px;
  }
  .rail nav span {
    display: none;
  }
  .portfolio {
    position: absolute;
    right: 18px;
    top: 11px;
    font-size: 13px;
    padding: 10px;
  }
  .topbar {
    min-height: 55px;
    padding: 10px 18px;
  }
  .actions {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .actions button,
  .actions select {
    font-size: 13px;
  }
  .freshness {
    font-size: 12px;
    width: 100%;
  }
  main {
    padding: 22px 18px;
  }
  h1 {
    font-size: 34px;
  }
  .subtitle {
    font-size: 16px;
  }
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 0;
    margin: 23px 0;
  }
  .summary > div {
    padding: 0 13px;
  }
  .summary > div:nth-child(2) {
    border: 0;
  }
  .summary strong {
    font-size: 27px;
  }
  .summary .label {
    font-size: 14px;
  }
  .charts {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .chart {
    height: 220px;
  }
  .panel-head {
    padding: 14px 13px 7px;
    gap: 9px;
  }
  .panel-head > span {
    font-size: 12px;
  }
  .probe-summary {
    display: block;
    padding: 5px 15px 17px;
  }
  .probe-summary > div + div {
    border-left: 0;
    padding: 12px 0 0;
  }
  .probe-summary strong {
    margin-left: 9px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 12px;
  }
  .probe-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .definitions dl {
    display: block;
  }
  .definitions dt {
    margin-top: 20px;
  }
  .definitions dd {
    margin-top: 7px;
  }
  td,
  th {
    padding: 11px 13px;
  }
}
/* Keep scrollable tables inside their frame; preserve readable metrics on tablets. */
.panel {
  overflow: hidden;
}
.inspector dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
  .summary > div:nth-child(2) {
    border-right: 0;
  }
  .charts {
    grid-template-columns: 1fr;
  }
}

html {
  overflow-x: clip;
}
