:root {
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  color:#182e3b;
  background:#f1f5f7;
  font-synthesis:none;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

header {
  display:flex;
  align-items:center;
  gap:22px;
  background:#102f3b;
  color:#fff;
  padding:28px max(24px,calc((100vw - 1180px)/2));
}

header img {
  object-fit:contain;
}

h1 {
  font-size:26px;
  margin:0 0 6px;
}

header p {
  margin:0;
  color:#b8d1da;
}

main {
  max-width:1228px;
  padding:24px;
  margin:auto;
}

section {
  padding:24px;
  background:#fff;
  border:1px solid #d9e3e8;
  border-radius:12px;
  margin-bottom:22px;
  min-width:0;
}

.columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.columns .columns {
  gap:12px;
}

h2 {
  font-size:18px;
  margin:0 0 20px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.section-heading h2 {
  margin-bottom:0;
}

label {
  display:block;
  font-size:13px;
  font-weight:650;
  margin:12px 0;
}

input,select,textarea {
  display:block;
  width:100%;
  margin-top:7px;
  padding:11px;
  border:1px solid #bdcdd5;
  border-radius:6px;
  font:inherit;
  color:#182e3b;
  background:#fff;
}

button {
  background:#006b61;
  color:white;
  border:0;
  border-radius:6px;
  padding:11px 16px;
  font:inherit;
  cursor:pointer;
  margin:8px 8px 8px 0;
}

button:hover {
  background:#005247;
}

button:disabled {
  opacity:.5;
  cursor:default;
}

.secondary {
  background:#e9f1f4;
  color:#254752;
}

.secondary:hover {
  background:#d9e6eb;
}

.danger {
  background:#a72f2f;
}

.danger:hover {
  background:#812323;
}

.muted {
  color:#536c79;
  font-size:13px;
  overflow-wrap:anywhere;
}

p {
  line-height:1.55;
}

code,textarea {
  font-family:ui-monospace,monospace;
}

a {
  color:#006b61;
}

.badge {
  display:inline-block;
  padding:7px 12px;
  border-radius:20px;
  background:#e6edf3;
  font-weight:700;
}

.badge.passed {
  background:#dbf4e6;
  color:#165837;
}

.badge.failed,.badge.error {
  background:#ffe2e2;
  color:#8f2727;
}

.badge.inconclusive,.badge.skipped {
  background:#fff0cc;
  color:#795900;
}

table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  margin:20px 0;
}

th,td {
  text-align:left;
  border-bottom:1px solid #dde7eb;
  padding:10px 6px;
  overflow-wrap:anywhere;
}

td small {
  display:block;
  color:#536c79;
  margin-top:5px;
}

.run {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e5ebee;
  padding:10px 0;
  gap:16px;
}

.run p {
  margin:0;
}

#message {
  font-size:14px;
}

#qr {
  display:block;
  margin:auto;
}

#uri {
  font-size:12px;
}

#interaction {
  margin:20px 0;
}

h3 {
  font-size:14px;
  margin:20px 0 8px;
  color:#36525e;
}
.workspace-bar {
  margin-left:auto;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 8px;
}
.workspace-bar p {
  margin:0 8px 0 0;
  color:#dbe9ee;
  font-weight:600;
}
.layout {
  display:grid;
  grid-template-columns:minmax(280px,380px) 1fr;
  gap:22px;
  align-items:start;
}
.catalog {
  position:sticky;
  top:12px;
  max-height:calc(100vh - 24px);
  overflow:auto;
}
.test-row {
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"id status" "label label";
  gap:2px 8px;
  width:100%;
  text-align:left;
  background:#fff;
  color:#182e3b;
  border:1px solid #e1e9ed;
  margin:0 0 6px;
  padding:9px 10px;
}
.test-row:hover {
  background:#f3f8fa;
}
.test-row.selected {
  border-color:#006b61;
  box-shadow:inset 3px 0 0 #006b61;
}
.test-row.unsupported {
  opacity:.55;
}
.test-id {
  grid-area:id;
  font-family:ui-monospace,monospace;
  font-size:12px;
  color:#536c79;
}
.test-label {
  grid-area:label;
  font-size:14px;
}
.status {
  grid-area:status;
  justify-self:end;
  font-size:12px;
  font-weight:700;
  color:#536c79;
}
.status.passed,.status.passedattested {
  color:#165837;
}
.status.failed,.status.error {
  color:#8f2727;
}
.status.inconclusive,.status.skipped,.status.answerchecklist {
  color:#795900;
}
.warning {
  background:#fff0cc;
  color:#5c4400;
  padding:10px 12px;
  border-radius:6px;
}
.instruction {
  background:#e8f4f2;
  border-left:3px solid #006b61;
  padding:10px 12px;
  border-radius:4px;
}
.instruction:empty {
  display:none;
}
.center {
  text-align:center;
}
.tx {
  font-size:18px;
  font-weight:700;
}
.check {
  border:1px solid #dde7eb;
  border-radius:8px;
  padding:10px 12px;
  margin:8px 0;
}
.check.passed {
  border-color:#9fd9b8;
}
.check.failed {
  border-color:#e7a3a3;
}
.check .ask {
  margin:0 0 4px;
  font-weight:600;
}
.answers button {
  margin:4px 8px 4px 0;
  min-width:64px;
}
.chosen {
  background:#102f3b;
}
summary {
  cursor:pointer;
  font-weight:650;
  margin:12px 0;
}
#joinQr {
  display:block;
  margin:12px auto;
}
@media(max-width:900px) {
  .layout {
    grid-template-columns:1fr;
  }
  .catalog {
    position:static;
    max-height:none;
  }
}
@media(max-width:760px) {
  header {
    flex-wrap:wrap;
  }
  .workspace-bar {
    margin-left:0;
  }
  .columns {
    grid-template-columns:1fr;
  }

  header {
    padding:22px;
  }

  main {
    padding:16px;
  }

  section {
    padding:18px;
  }

}

.instance {
  margin: 0 0 1rem;
}
.instance ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}
.instance li {
  margin-bottom: 0.4rem;
}

/* Elements toggled with the hidden attribute stay hidden even when a class sets display. */
[hidden] {
  display: none !important;
}

/* Published results page */
.result {
  border-bottom:1px solid #e5ebee;
  padding:16px 0;
}

.result h3 {
  margin:0 0 4px;
}

.result p {
  margin:0 0 4px;
}

.result .table-scroll {
  overflow-x:auto;
}

.result table {
  min-width:560px;
}

.result td:nth-child(4),.result td:nth-child(2) {
  white-space:nowrap;
}
