:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0b1020;
  color: #edf2ff;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 10% 0%, #172554 0, #0b1020 38rem);
}
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}
header {
  margin-bottom: 44px;
}
h1 {
  margin: 4px 0 10px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.055em;
}
h2 {
  margin: 3px 0 0;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}
.eyebrow {
  margin: 0;
  color: #8ea9ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intro {
  max-width: 720px;
  color: #aeb9d6;
  font-size: 1.05rem;
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 14px;
}
button {
  border: 1px solid #4769cf;
  border-radius: 10px;
  padding: 12px 22px;
  background: #3156c8;
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button:hover {
  background: #4169df;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
#status {
  min-height: 1.4em;
  color: #93a4ca;
}
section {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #263454;
  border-radius: 16px;
  background: rgba(16, 24, 47, 0.88);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid #263454;
}
.expectation {
  flex: none;
  border: 1px solid #38518d;
  border-radius: 999px;
  padding: 7px 11px;
  color: #bfd0ff;
  font-weight: 800;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  table-layout: fixed;
}
th,
td {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid #222e4a;
  text-align: left;
  vertical-align: top;
}
th {
  color: #8495bb;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
th:first-child,
td:first-child {
  width: 20%;
}
th:last-child,
td:last-child {
  width: 10%;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.value {
  max-height: 190px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d9e1f7;
  font:
    12px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.empty {
  color: #637294;
}
.result {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.pass {
  background: #123c31;
  color: #70e2b7;
}
.fail {
  background: #481d2b;
  color: #ff9ab5;
}
.waiting {
  background: #29334a;
  color: #9dabca;
}
.neutral {
  background: #29334a;
  color: #c3cce0;
}
td.relation-good {
  background: rgba(18, 91, 66, 0.55);
}
td.relation-bad,
td.invalid {
  background: rgba(111, 27, 49, 0.72);
}
.validation-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #ff9ab5;
  cursor: help;
}
.validation-indicator svg {
  display: block;
}
.validation-tooltip {
  position: fixed;
  z-index: 10000;
  width: max-content;
  max-height: calc(100vh - 16px);
  overflow: auto;
  padding: 9px 11px;
  border: 1px solid #38518d;
  border-radius: 8px;
  background: #10182f;
  color: #edf2ff;
  font:
    12px/1.45 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  text-align: left;
  white-space: pre-wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.validation-tooltip[hidden] {
  display: none;
}
@media (max-width: 600px) {
  main {
    width: min(100% - 20px, 1180px);
    padding-top: 34px;
  }
  .section-heading {
    align-items: flex-start;
  }
}
