:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #26312d;
  background: #f6f5ef;
  font-size: 16px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1220px;
  margin: auto;
  padding: 24px 36px;
}
header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dbdfd5;
  gap: 24px;
}
.brand {
  font-size: 30px;
  letter-spacing: -1.6px;
  font-weight: 800;
  color: #183d31;
  text-decoration: none;
}
.brand span {
  font-weight: 400;
}
.brand small {
  font-size: 11px;
  letter-spacing: 1px;
  margin-left: 10px;
  vertical-align: top;
}
.tag {
  font-size: 13px;
  color: #6c786c;
}
#logout {
  margin-left: auto;
}
h1 {
  font-size: 42px;
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -1.6px;
  margin: 14px 0 20px;
}
h2 {
  font-size: 22px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
p {
  color: #687568;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  background: #214d3c;
  border: 1px solid transparent;
  border-radius: 7px;
  color: white;
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 550;
}
button:hover {
  filter: brightness(0.93);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.secondary {
  background: #e8eddf;
  color: #214d3c;
}
.quiet {
  background: transparent;
  color: #536752;
  border-color: #d9dfd0;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #ccd4c6;
  border-radius: 7px;
  background: #fff;
  padding: 12px;
  color: #26312d;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  color: #697664;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible {
  outline: 2px solid #8aa978;
  outline-offset: 3px;
}
form button {
  margin-top: 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #789071;
  font-weight: 700;
}
.card {
  border: 1px solid #dde1d6;
  background: #fffef9;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 3px 8px #233c2303;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(255px, 1fr);
  gap: 24px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 25px 0;
}
.intro p {
  max-width: 660px;
  margin-bottom: 8px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.spaced {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e0e4da;
}
.pill {
  border-radius: 20px;
  padding: 4px 12px;
  background: #edf1e7;
  color: #567449;
  font-size: 12px;
}
nav {
  display: flex;
  gap: 8px;
  margin: 12px 0 26px;
  border-bottom: 1px solid #dbe1d3;
}
nav button {
  background: transparent;
  color: #76826c;
  border-radius: 0;
  padding: 14px 18px;
}
nav button.active {
  color: #1f503d;
  border-bottom: 3px solid #45754f;
}
.hint {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#sessions {
  font-size: 13px;
  margin-top: 16px;
}
.answer-item {
  padding: 14px 0;
  border-bottom: 1px solid #e2e5dd;
}
.answer-item p {
  white-space: pre-wrap;
  color: #394b3b;
}
.answer-item button {
  font-size: 12px;
}
.answer-item small {
  color: #7d8878;
}
.login {
  max-width: 860px;
  padding: 40px 0;
}
.login > .card {
  max-width: 440px;
  margin-top: 32px;
}
.login h1 {
  font-size: 55px;
}
.login p {
  max-width: 580px;
}
#local {
  margin-top: 20px;
}
#notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #263e30;
  color: white;
  padding: 15px 23px;
  border-radius: 9px;
  max-width: 90vw;
  box-shadow: 0 6px 24px #122b2522;
  z-index: 5;
}
.result {
  padding: 18px 0;
  border-bottom: 1px solid #dde1d6;
  white-space: pre-wrap;
}
.result a {
  color: #48764e;
}
footer {
  font-size: 12px;
  color: #8b9484;
  border-top: 1px solid #dce2d5;
  margin-top: 35px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 780px) {
  header,
  main,
  footer {
    padding: 20px;
  }
  .tag {
    display: none;
  }
  .layout {
    display: block;
  }
  .intro {
    display: block;
  }
  h1 {
    font-size: 34px;
  }
  .login h1 {
    font-size: 42px;
  }
  nav {
    overflow-x: auto;
    gap: 0;
  }
  nav button {
    white-space: nowrap;
    padding: 12px;
  }
  .row {
    flex-wrap: wrap;
  }
  .card {
    padding: 20px;
  }
}
