/* BitFoots Applications. Colours, font and cursor are the BitFoots site's own; the
   artist's design replaces this file, not the pages. */
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-serif-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-serif-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-serif-600.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #14171c;
  --panel: #1a1f26;
  --field: #0f1216;
  --text: #aab6c9;
  --muted: #7d8898;
  --heading: #ffddcc;
  --gold: #eaba49;
  --line: #3a475c;
  --ok: #7fc98f;
  --bad: #e07a6b;
  --unk: #d8c27a;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 400 16px/1.6 "IBM Plex Serif", Georgia, "Times New Roman", serif; }
body { margin: 0; min-height: 100vh; background: var(--bg); cursor: url("/ui/cursor-foot.svg") 10 1, auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
h1, h2, h3 { color: var(--heading); font-weight: 500; line-height: 1.2; }
h1 { font-size: 34px; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 36px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; }
.muted { color: var(--muted); font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.testbar { margin: 0; padding: 8px 16px; background: var(--gold); color: #14171c; font-weight: 600; font-size: 14px; text-align: center; }
.top { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.top__logo img { display: block; height: 40px; width: auto; }
.top__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
main { margin: 0 auto; padding: 44px 24px 96px; }
main.narrow { max-width: 580px; }
main.wide { max-width: 1180px; padding-top: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--gold); background: transparent; color: var(--heading); font: inherit; font-weight: 600; text-decoration: none; cursor: inherit; }
.btn:hover { background: rgb(234 186 73 / 0.12); color: var(--heading); }
.btn--solid { background: var(--gold); color: #14171c; }
.btn--solid:hover { background: #f3c85f; color: #14171c; }
.btn--small { padding: 6px 12px; font-size: 14px; }
.btn--bad { border-color: var(--bad); }
.btn--ok { border-color: var(--ok); }
.btn[disabled] { opacity: 0.5; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: inherit; }
form.inline { display: inline; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

label { display: block; margin: 22px 0 6px; color: var(--heading); font-weight: 500; }
label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--text); }
input[type="text"], input[type="number"], input[type="search"], textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); background: var(--field); color: var(--heading); font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible, .linkbtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hint { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.error { margin: 6px 0 0; color: var(--bad); font-size: 14px; }
.notice { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--panel); }
.notice--bad { border-color: var(--bad); }
.box { margin: 24px 0; padding: 20px 22px; border: 1px solid var(--line); background: var(--panel); }

.steps { margin: 20px 0 28px; padding-left: 22px; }
.steps li { margin: 4px 0; }
.personas { list-style: none; margin: 16px 0 0; padding: 0; }
.personas li { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); }
.personas p { margin: 6px 0 0; font-size: 14px; }

.tasks { list-style: none; margin: 12px 0 0; padding: 0; }
.tasks li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tasks .state { margin-left: auto; font-size: 14px; }
.mark { display: inline-block; min-width: 1.3em; font-weight: 700; text-align: center; }
.is-pass { color: var(--ok); }
.is-fail { color: var(--bad); }
.is-unknown { color: var(--unk); }
.is-none { color: var(--muted); }
.pill { display: inline-block; padding: 1px 10px; border: 1px solid currentColor; font-size: 13px; white-space: nowrap; }
.pill--passed, .pill--approved { color: var(--ok); }
.pill--needs_review { color: var(--unk); }
.pill--rejected { color: var(--bad); }
.pill--checking { color: var(--text); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 0 24px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a.is-on { color: var(--heading); border-bottom: 2px solid var(--gold); }
.nav form { margin-left: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.tabs a { padding: 5px 12px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; }
.tabs a.is-on { border-color: var(--gold); color: var(--heading); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.search { display: flex; gap: 8px; width: min(420px, 100%); }
.search .btn { flex: none; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--heading); font-weight: 500; white-space: nowrap; }
td.marks { white-space: nowrap; }
.pager { display: flex; gap: 16px; margin: 16px 0 0; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.facts dt { color: var(--heading); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 32px; }
.raw { max-width: 420px; max-height: 120px; overflow: auto; margin: 0; font: 12px/1.4 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.qr { display: block; width: 220px; height: 220px; padding: 10px; background: #fff; image-rendering: pixelated; }
.secret, .codes { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.codes { columns: 2; font-size: 18px; padding-left: 0; list-style: none; }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  main { padding-top: 32px; }
  .top { padding: 14px 16px; }
  main { padding-left: 16px; padding-right: 16px; }
}
