:root {
  color-scheme: light;
  --ink: #18372d;
  --line: #c6cec1;
  color: var(--ink);
  background: #f5f5ed;
  font:
    16px/1.55 system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  background: #18372d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem max(5vw, 1rem);
  gap: 1em;
}
.brand {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.brand b {
  font: italic bold 2rem Georgia;
}
main {
  max-width: 850px;
  margin: 2.25rem auto;
  padding: 0 1rem;
}
h1,
h2,
blockquote {
  font-family: Georgia, serif;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
h2 {
  font-size: 1.25rem;
}
p {
  margin: 0.6rem 0 1rem;
}
small {
  font-weight: 650;
  color: #466851;
}
.card {
  padding: clamp(1rem, 4vw, 2.5rem);
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 14px;
}
#entry {
  max-width: 640px;
  margin: 8vh auto;
}
label {
  display: block;
}
input,
textarea,
button,
select {
  font: inherit;
}
input,
textarea,
select {
  border: 1px solid #96a79c;
  border-radius: 5px;
  padding: 0.5em;
  color: #18372d;
  background: white;
}
input:not([type]),
textarea {
  display: block;
  width: 100%;
  margin: 0.35rem 0 1rem;
}
button {
  border: 1px solid #1e493b;
  border-radius: 6px;
  background: #264f40;
  color: white;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.quiet {
  background: transparent;
  color: #264f40;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #cb7923;
  outline-offset: 2px;
}
.toolbar,
.controls,
nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar {
  justify-content: space-between;
}
.toolbar h1 {
  margin: 0;
}
.controls {
  margin: 0.9em 0;
}
.controls input {
  width: 5em;
}
progress {
  width: 100%;
  accent-color: #356346;
  height: 0.55em;
}
blockquote {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  line-height: 1.45;
  margin: 1rem 0;
}
audio {
  width: 100%;
}
.decision {
  margin-top: 1.6rem;
}
.decision label span {
  color: #55675b;
}
.decision textarea {
  resize: vertical;
}
details {
  margin: 0.8rem 0;
  color: #496051;
}
#status {
  position: sticky;
  bottom: 0.5rem;
  background: #fff7db;
  color: #483b21;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
}
#status:empty {
  display: none;
}
.variant .decision {
  margin-top: 0;
}
#admin {
  margin-top: 1rem;
}
#admin button[aria-pressed="true"] {
  outline: 2px solid #ae623b;
}
body.variant header label {
  color: #18372d;
}
.neighbor {
  border-left: 2px solid #c6cec1;
  padding: 0.15rem 0.8rem;
  color: #506154;
  font-size: 0.95rem;
}
.neighbor p {
  margin: 0.2rem 0;
}
.listen audio {
  margin-top: 1rem;
}
.listen blockquote {
  border-left: 3px solid #315744;
  padding-left: 0.8rem;
}
