:root {
  font-family: system-ui, sans-serif;
  color: #173632;
  background: #eff5f3;
}
body {
  margin: 0;
}
header {
  background: #173632;
  color: white;
  padding: 1rem max(1rem, calc((100vw - 48rem) / 2));
  display: flex;
  align-items: center;
  gap: 1rem;
}
header strong {
  color: #b5e5d9;
}
main {
  max-width: 48rem;
  margin: auto;
  padding: 1rem;
}
[hidden] {
  display: none !important;
}
h1 {
  font-size: 1.6rem;
  margin: 0.7rem 0;
}
h2 {
  font-size: 1.15rem;
}
form,
fieldset {
  display: grid;
  gap: 0.75rem;
}
fieldset,
article {
  border: 1px solid #c3d5cf;
  background: #fff;
  padding: 1rem;
  border-radius: 0.6rem;
  margin: 0 0 0.5rem;
  min-width: 0;
}
legend {
  font-weight: 700;
}
label {
  display: grid;
  gap: 0.3rem;
}
label.check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
input,
textarea,
button {
  font: inherit;
  box-sizing: border-box;
}
input:not([type="checkbox"]),
textarea {
  padding: 0.55rem;
  border: 1px solid #aabfb9;
  border-radius: 0.3rem;
  width: 100%;
  min-width: 0;
}
button {
  cursor: pointer;
  color: white;
  background: #216d60;
  padding: 0.55rem 0.8rem;
  border: 1px solid #216d60;
  border-radius: 0.35rem;
  width: fit-content;
}
button.secondary {
  color: #173632;
  background: white;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: #146658;
}
#access-link {
  margin-block: 0.75rem;
}
#notice:empty {
  display: none;
}
#notice {
  font-weight: 600;
}
.grid,
#checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.title,
.actions {
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
article p {
  margin: 0.2rem 0 0.65rem;
}
canvas {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px dashed #718985;
  border-radius: 0.35rem;
  touch-action: none;
}
@media (max-width: 460px) {
  #checks {
    grid-template-columns: 1fr;
  }
}
