:root {
  color-scheme: light;
  --ink: #152c35;
  --muted: #52656c;
  --accent: #067164;
  --line: #d7e1de;
  --paper: #fff;
  --wash: #f3f6f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font:
    16px/1.6 system-ui,
    sans-serif;
}
header {
  background: var(--ink);
  color: white;
  padding: 20px max(24px, calc((100vw - 1080px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a {
  color: white;
  text-decoration: none;
}
header strong {
  font-size: 20px;
}
main {
  max-width: 1080px;
  margin: 48px auto;
  padding: 0 24px;
}
h1 {
  font:
    600 clamp(30px, 5vw, 48px)/1.15 Georgia,
    serif;
  margin: 12px 0 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 750;
  color: var(--accent);
}
.grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px #152c3505;
}
.muted,
small {
  color: var(--muted);
}
label {
  display: block;
  margin: 16px 0 8px;
}
input,
select,
textarea,
button {
  font: inherit;
}
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #9bafaa;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
textarea {
  min-height: 230px;
  font:
    13px/1.5 ui-monospace,
    monospace;
}
button,
.button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 650;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: #e5edeb;
  color: var(--ink);
}
.check {
  display: flex;
  gap: 12px;
  align-items: start;
}
.check input {
  margin-top: 7px;
  flex-shrink: 0;
}
.bar {
  position: sticky;
  top: 0;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.option {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  margin: 10px 0;
}
.option:has(input:checked) {
  border-color: var(--accent);
  background: #eaf5ee;
}
.option input {
  flex-shrink: 0;
}
.question {
  scroll-margin-top: 100px;
}
.number {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.error {
  color: #a82828;
  white-space: pre-wrap;
}
.status {
  min-height: 26px;
}
.score {
  font:
    600 64px Georgia,
    serif;
}
.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hidden,
[hidden] {
  display: none !important;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}
.overflow {
  overflow-x: auto;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid #df9a2a;
  outline-offset: 3px;
}
footer {
  max-width: 1080px;
  padding: 24px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  main {
    margin-top: 28px;
  }
  .card {
    padding: 20px;
  }
  header {
    padding: 16px 24px;
  }
  .bar {
    font-size: 14px;
  }
  h1 {
    font-size: 36px;
  }
}
