:root {
  color-scheme: light;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #152843;
  background: #f3f6fa;
}

main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

a { color: #003274; }

#intro h2 {
  margin: 1.5rem 0 .75rem;
  font-size: 1.15rem;
}

.test-instructions ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.test-instructions li {
  margin-bottom: .4rem;
}

.test-disclaimer {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #b9c8dc;
  background: #e8eef6;
}

.test-disclaimer p {
  margin: 0 0 .75rem;
}

.test-disclaimer p:last-child {
  margin-bottom: 0;
}

fieldset {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #b9c8dc;
  border-radius: .6rem;
  background: white;
}

legend { font-weight: 700; }
fieldset p { margin: 0 0 .5rem; }
label { display: block; padding: .5rem 0; cursor: pointer; }
input { margin-inline-end: .6rem; accent-color: #003274; }

.test-progress {
  position: sticky;
  top: 0;
  padding: .5rem 0;
  margin-bottom: 1rem;
  background: #f3f6fa;
}

.test-progress p { margin: 0; font-weight: 700; }
.test-progress label { cursor: default; }
.test-progress progress { display: block; width: 100%; accent-color: #003274; }

button {
  border: 0;
  border-radius: .4rem;
  padding: .75rem 1rem;
  font: inherit;
  font-weight: 700;
  color: white;
  background: #003274;
  cursor: pointer;
}

:focus-visible { outline: 3px solid #1965ba; outline-offset: 4px; }

#answer-review { margin-top: 1.25rem; }
#answer-review summary { cursor: pointer; font-weight: 700; }
#review-questions > li { margin-bottom: 1rem; }
#review-questions h3 { margin-bottom: .35rem; font-size: 1rem; }
#review-questions ul { list-style: none; padding: 0; }
#review-questions ul li { padding: .25rem 0; }
.review-correct { color: #18703c; font-weight: 700; }
.review-incorrect { color: #b42318; font-weight: 700; }
button:disabled { opacity: .65; cursor: wait; }

.admin-row {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid #b9c8dc;
  background: #e8eef6;
}

.admin-row h2 {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
}

.admin-file-meta {
  display: grid;
  gap: .35rem 1rem;
  margin: 0 0 1rem;
}

.admin-file-meta div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: .5rem;
}

.admin-file-meta dt {
  margin: 0;
  font-weight: 700;
}

.admin-file-meta dd {
  margin: 0;
}

.admin-row form {
  margin: .75rem 0;
}

.admin-row input[type="file"] {
  display: block;
  margin: .35rem 0 .75rem;
}

.admin-sign-out {
  margin-top: 2rem;
}
