/* Design shared with the Matrix Connectivity Tester. */

@layer reset, tokens, base, a11y, utilities;

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Inter-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-SemiBold.woff2') format('woff2');
}

@layer tokens {
:root {
  --ink: #1b1714;
  --ink-2: #2f2a25;
  --ink-3: #4d4844;
  --ink-4: #6c6660;

  --surface: #f7f2e8;
  --surface-2: #efe9db;
  --surface-3: #e5dfce;
  --line: #c9c2ae;
  --line-2: #a89f88;

  --stone: #e8e2d2;
  --stone-2: #d2cab4;

  --ok: #0f7a4e;
  --ok-tint: #d6e8da;
  --ok-deep: #094e32;

  --warn: #8e5e0b;
  --warn-tint: #f4e6c7;
  --warn-deep: #5c3d07;

  --bad: #a8392c;
  --bad-tint: #f2d6cc;
  --bad-deep: #57190c;

  --info: #1f5a93;
  --info-tint: #dce8f2;
  --info-deep: #133a60;

  --r-1: 3px;
  --r-2: 5px;
  --r-3: 8px;

  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1600px;

  /* Field roles. No red or green, so none reads as passed or failed. Each has at least 4.5:1 on white. */
  --part-payload: #0015ff;
  --part-origin: #9b00c2;
  --part-graph: #5c300a;
  --part-proof: #086f91;
}
}

@layer reset {
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
}

@layer base {
body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sans);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 {
  font: 800 clamp(34px, 9vw, 52px) / 1.02 var(--sans);
  overflow-wrap: anywhere;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
h2 {
  font: 700 30px/1.15 var(--sans);
  letter-spacing: -0.025em;
  margin: 56px 0 16px;
}
h3 {
  font: 600 20px/1.3 var(--sans);
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
h4 {
  font: 600 17px/1.35 var(--sans);
  margin: 24px 0 10px;
}
p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition:
    color 0.12s ease,
    text-decoration-thickness 0.12s ease;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:visited {
  color: var(--ink);
}
hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}
::selection {
  background: var(--ink);
  color: var(--surface);
}
code,
kbd,
samp {
  font-family: var(--mono);
  font-size: 0.92em;
}
code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: var(--r-1);
  color: var(--ink);
}
pre {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  background: var(--surface-2);
  border-radius: var(--r-2);
  padding: 16px;
  overflow: auto;
  margin: 0;
  color: var(--ink);
}
pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

@media (max-width: 480px) {
  h2 {
    font-size: 24px;
    margin-top: 40px;
  }
}
}

@layer a11y {
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--r-2) var(--r-2);
  text-decoration: none;
  transition: top 0.1s ease;
}
.skip-to-content:focus {
  top: 0;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
}

@layer utilities {
.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}
.page {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 56px 32px 80px;
}
@media (max-width: 860px) {
.page {
    padding: 40px 24px 64px;
  }
.container {
    padding: 0 24px;
  }
}
@media (max-width: 480px) {
.page {
    padding: 28px 16px 48px;
  }
.container {
    padding: 0 16px;
  }
}
.mono {
  font-family: var(--mono);
}
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.wordmark .mark {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
}
.wordmark .mark span {
  width: 0.18em;
  background: var(--wordmark-color, var(--ink));
  border-radius: 1px;
  transform: skewX(-12deg);
}
.wordmark.light {
  color: var(--surface);
  --wordmark-color: var(--surface);
}
.wordmark .mark span:nth-child(1) {
  height: 0.45em;
  opacity: 0.4;
}
.wordmark .mark span:nth-child(2) {
  height: 0.65em;
  opacity: 0.7;
}
.wordmark .mark span:nth-child(3) {
  height: 0.85em;
}
.wordmark .name {
  white-space: nowrap;
}
.wordmark .name em {
  font-style: normal;
  font-weight: 700;
}

.dropdown-details {
  position: relative;
}
.dropdown-details summary {
  list-style: none;
}
.dropdown-details summary::-webkit-details-marker {
  display: none;
}
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: transparent;
  color: var(--ink-2);
  border: none;
  border-radius: var(--r-2);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  text-decoration: none;
}
.dropdown-trigger:hover,
.dropdown-details[open] .dropdown-trigger {
  background: var(--surface-2);
}
.dropdown-trigger .caret {
  font-size: 10px;
  color: var(--ink-3);
}
.dropdown-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
}

.dropdown-menu {
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow:
    0 18px 48px -8px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px;
}
.dropdown-menu__title {
  font: 600 11px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  padding: 12px 14px 10px;
}
.dropdown-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: var(--r-2);
  background: none;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
}
.dropdown-menu__item:hover,
.dropdown-menu__item:focus-visible {
  background: var(--surface-2);
}
.dropdown-menu__item.is-active {
  background: var(--ink);
  color: var(--surface);
  font-weight: 500;
}
.dropdown-menu__check {
  margin-left: auto;
  font-size: 14px;
}

.chrome {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.chrome__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.betabar {
  background: var(--stone);
  padding: 14px 32px;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 0 0 var(--r-3) var(--r-3);
}
@media (max-width: 700px) {
.chrome__inner {
    flex-wrap: wrap;
    padding: 12px 20px;
    column-gap: 16px;
    row-gap: 8px;
  }
.chrome__lang-details {
    order: 2;
    margin-left: auto;
  }
}
@media (max-width: 480px) {
.chrome__inner {
    padding: 10px 16px;
  }
}

.footer {
  background: var(--ink);
  color: var(--surface);
}
.footer :focus-visible {
  outline-color: var(--surface);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 32px;
}
.footer__row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__row a {
  color: var(--surface);
  font-size: 14px;
  opacity: 0.85;
}
.footer__meta {
  font-size: 13px;
  color: var(--surface);
  margin-top: 24px;
  line-height: 1.6;
  max-width: 70ch;
  opacity: 0.85;
}

.footer__body {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer__brand {
  flex: 0 0 280px;
}

.footer__links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 700px) {
  .footer__brand {
    flex: 0 0 100%;
  }
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    padding: 32px 16px;
  }
  .footer__links {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font: 500 16px/1 var(--sans);
  padding: 16px 24px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-2);
  background: var(--ink);
  color: var(--surface);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    transform 0.04s ease;
}
.btn:hover {
  background: #000;
  border-color: #000;
}
.btn:active {
  transform: translateY(1px);
}
.btn:visited {
  color: var(--surface);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn.ghost:hover {
  background: var(--surface-2);
  border-color: var(--ink);
  color: var(--ink);
}
.btn.ghost:visited {
  color: var(--ink);
}

.btn.small {
  padding: 10px 14px;
  font-size: 14px;
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.field__input {
  width: 100%;
  padding: 16px 18px;
  font: 400 17px/1.4 var(--sans);
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink-4);
  border-radius: var(--r-2);
}
.field__input::placeholder {
  color: var(--ink-4);
}
.field__input:focus {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field__input.small {
  padding: 10px 14px;
  font-size: 15px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1 var(--sans);
  padding: 6px 12px 5px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.ok {
  background: var(--ok-tint);
  color: var(--ok-deep);
}
.pill.warn {
  background: var(--warn-tint);
  color: var(--warn-deep);
}
.pill.bad {
  background: var(--bad-tint);
  color: var(--bad-deep);
}
.pill.info {
  background: var(--info-tint);
  color: var(--info-deep);
}
.pill.beta {
  background: var(--ink);
  color: var(--surface);
  padding: 6px 14px 5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.banner {
  display: flex;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--r-3);
  border-left: 5px solid;
  background: var(--surface-2);
}
.banner.ok {
  background: var(--ok-tint);
  border-color: var(--ok-deep);
}
.banner.warn {
  background: var(--warn-tint);
  border-color: var(--warn-deep);
}
.banner.bad {
  background: var(--bad-tint);
  border-color: var(--bad-deep);
}
.banner.info {
  background: var(--info-tint);
  border-color: var(--info-deep);
}

/* Page */
.wordmark--header {
  font-size: 20px;
}
.wordmark--footer {
  font-size: 22px;
}
.home-link {
  text-decoration: none;
}
.chrome__lang-details {
  margin-left: auto;
}
main {
  flex: 1;
}
.betabar-wrap {
  padding-block: 0;
}
.footer__brand .footer__meta {
  margin-top: 16px;
}
.footer__brand .footer__meta + .footer__meta {
  margin-top: 4px;
}
.footer__heading {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer__links .footer__row {
  flex-direction: column;
  gap: 8px;
}
.page--tool {
  padding-top: 28px;
}
.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.intro h1 {
  font-size: 32px;
  margin: 0 0 4px;
}
.intro p {
  margin: 0;
}
.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
.column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
/* The input stays in view beside a long result. It scrolls on its own if the window is too low for it. */
@media (min-width: 861px) {
  form.column {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    padding-block: 12px;
    margin-block: -12px;
  }
  form.column > * {
    flex-shrink: 0;
  }
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: clip;
}
.panel__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14px;
}
.panel__bar--bottom {
  border-top: 1px solid var(--line);
}
.panel__title {
  font: 600 15px/1.4 var(--sans);
  letter-spacing: normal;
}
.panel__busy {
  font-size: 13px;
  color: var(--ink-3);
}
.copy {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
}
.copy:hover {
  border-color: var(--ink);
}
.copy[hidden] {
  display: none;
}
.copy[hidden] + a {
  margin-left: auto;
}
.panel__select {
  width: auto;
  padding-block: 6px;
}
/* The chosen version is kept, so it applies again to the next event. */
.split:has(#result [data-no-version]) .panel__version {
  display: none;
}
.panel__submit {
  margin-left: auto;
}
.panel--empty p,
.panel__text {
  margin: 0;
  padding: 20px 16px;
}
.editor {
  position: relative;
  height: clamp(18rem, 100vh - 29rem, 48rem);
}
.editor__input,
.editor__colors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  font: 400 13px/1.6 var(--mono);
  font-variant-ligatures: none;
  letter-spacing: normal;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  tab-size: 4;
  overflow-y: scroll;
}
.editor__input {
  resize: none;
  background: transparent;
  color: var(--ink);
  caret-color: var(--ink);
}
.editor__input:focus-visible {
  outline-offset: -3px;
}
.editor__colors {
  display: none;
  pointer-events: none;
  background: transparent;
}
.editor--colored .editor__colors {
  display: block;
}
.editor--colored .editor__input {
  color: transparent;
}
.editor--colored .editor__input::selection {
  background: rgb(31 90 147 / 25%);
  color: transparent;
}
.part-payload {
  --part: var(--part-payload);
  --part-line: underline solid;
}
.part-origin {
  --part: var(--part-origin);
  --part-line: underline dashed;
}
.part-graph {
  --part: var(--part-graph);
  --part-line: underline dotted;
}
.part-proof {
  --part: var(--part-proof);
  --part-line: underline double;
}
.part-uncovered {
  --part-line: none;
  --part: var(--ink-4);
}
.part-other {
  --part-line: none;
  --part: var(--ink);
}
.editor__colors [class*='part-'],
.code__field {
  color: var(--part);
}
.j-key {
  font-weight: 600;
}
/* Roles are told apart by underline as well as colour. Underlines leave the editor overlay's text metrics alone. */
.editor__colors .j-key[class*='part-'],
[class*='part-'] .j-key {
  text-decoration: var(--part-line);
  text-underline-offset: 3px;
}
.code .j-string,
.code .j-number,
.code .j-literal {
  color: var(--ink-2);
}
.status:empty {
  display: none;
}
.status__verdict {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
}
.status__verdict p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.status__verdict .status__title {
  font-weight: 700;
  font-size: 16px;
}
.status__symbol {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.status__verdict.ok {
  background: var(--ok-tint);
  --deep: var(--ok-deep);
}
.status__verdict.info {
  background: var(--info-tint);
  --deep: var(--info-deep);
}
.status__verdict.warn {
  background: var(--warn-tint);
  --deep: var(--warn-deep);
}
.status__verdict.bad {
  background: var(--bad-tint);
  --deep: var(--bad-deep);
}
.status__symbol {
  background: var(--deep);
}
.status__title {
  color: var(--deep);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.legend li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--part);
}
.note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.views {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--surface-2);
}
.views label {
  position: relative;
}
.views input {
  position: absolute;
  opacity: 0;
}
.views span {
  display: block;
  padding: 7px 14px;
  border-radius: var(--r-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.views input:checked + span {
  background: var(--ink);
  color: var(--surface);
}
.views input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
}
.view {
  display: none;
}
.column:has(#view-fields:checked) .view--fields,
.column:has(#view-canonical:checked) .view--canonical {
  display: block;
}
.code {
  max-height: 28rem;
  border-radius: 0;
  background: transparent;
  padding: 14px 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.breakdown {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.breakdown th,
.breakdown td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.breakdown tbody tr:first-child > * {
  border-top: 0;
}
.breakdown__name {
  width: 27%;
}
.breakdown__data {
  width: 43%;
}
.breakdown th {
  font: 600 13px/1.6 var(--mono);
  color: var(--part);
  box-shadow: inset 3px 0 0 var(--part);
}
.breakdown__value {
  font: 400 12.5px/1.6 var(--mono);
}
.breakdown__scroll {
  max-height: 9rem;
  overflow: auto;
  white-space: pre-wrap;
}
.breakdown__readable {
  margin-top: 4px;
  font-family: var(--sans);
  color: var(--ink-3);
}
.breakdown tr:target,
.breakdown tr.is-marked {
  background: var(--info-tint);
}
@media (max-width: 520px) {
  .breakdown,
  .breakdown tbody,
  .breakdown tr {
    display: block;
    border-top: 1px solid var(--line);
  }
  .breakdown colgroup {
    display: none;
  }
  .breakdown th,
  .breakdown td {
    display: block;
    width: auto;
    border: 0;
    padding-block: 4px;
  }
}
.check {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}
.panel__bar + .check {
  border-top: 0;
}
.check summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.check__title {
  font-weight: 600;
  font-size: 15px;
}
.check p {
  margin: 8px 0 4px;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.keys {
  border-top: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 13px;
}
.keys summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.keys label {
  display: block;
  margin: 6px 0;
}
.keys__input {
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 400 12px/1.5 var(--mono);
}
.check .check__about {
  color: var(--ink-3);
  font-size: 13px;
}
.check__reasons {
  margin: 4px 0 8px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.55;
}
.check__data {
  margin: 4px 0 8px;
  font-size: 13px;
}
.check__data .code {
  max-height: 12rem;
  padding-inline: 0;
}
.check__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.htmx-indicator {
  visibility: hidden;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  visibility: visible;
}
.breakdown__part {
  display: block;
  margin-top: 2px;
  font: 400 12px/1.4 var(--sans);
  color: var(--ink-3);
}
/* The input could not be read: the last result stays, dimmed and labelled. */
.status__stale {
  display: none;
}
.split:has(#result .view) .status__stale {
  display: block;
  font-weight: 600;
}
.split:has(#status [data-stale]) #result {
  opacity: 0.7;
}
[hidden] {
  display: none !important;
}
