/* Self-hosted, no web fonts — the CSP forbids external resources and this page
   renders bearer tokens. */

:root {
  --ink: #1a1d23;
  --muted: #5b6270;
  --line: #d8dce4;
  --pass: #0a6b3d;
  --fail: #9b1c1c;
  --pending: #7a5a00;
  --warn-bg: #fff6e0;
  --warn-line: #e0b64a;
}

body {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

h1 {
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.stage-banner {
  margin: 0 0 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: var(--muted);
}

.warning {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.step {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.step p {
  color: var(--muted);
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
}

button {
  font: inherit;
  padding: 0.4rem 0.9rem;
  margin: 0 0.4rem 0.4rem 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.result {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

.result.pass { color: var(--pass); }
.result.fail { color: var(--fail); }
.result.pending { color: var(--pending); }
.result.skip { color: var(--muted); }

.claims {
  border-collapse: collapse;
  width: 100%;
  margin-top: 0.8rem;
  font-size: 0.82rem;
}

.claims th,
.claims td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0.5rem;
  vertical-align: top;
}

.claims td:nth-child(2) {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.claims .note {
  color: var(--muted);
}

.token {
  word-break: break-all;
  white-space: pre-wrap;
  background: #f6f7f9;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.6rem;
  font-size: 0.75rem;
}

.hint,
footer {
  color: var(--muted);
  font-size: 0.85rem;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
