:root {
  --ink: #1c1917;
  --muted: #57534e;
  --bg: #f6f3ee;
  --card: #ffffff;
  --line: #e4dfd6;
  --accent: #14532d;
  --warn: #9f1239;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
.wrap { max-width: 40rem; margin: 0 auto; padding: 1rem 1rem 2rem; }
.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: baseline; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 0.6rem; }
h2 { font-size: 1.15rem; margin: 1.3rem 0 0.35rem; }
p { margin: 0.5rem 0; }
.lead { font-size: 1.08rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0;
}
ol.steps, ul.steps { padding-left: 1.2rem; }
label { display: block; font-weight: 600; margin-top: 0.85rem; }
.hint { font-weight: 400; color: var(--muted); display: block; }
input, select, textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.65rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
}
textarea { min-height: 9rem; resize: vertical; }
button, .button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button.link {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
}
button.danger { background: var(--warn); }
.secondary { background: #44403c; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.row-actions form { margin: 0; }
.row-actions button, .row-actions .button { margin-top: 0; }
.check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 500; margin-top: 0.9rem; }
.check input { width: auto; margin-top: 0.2rem; }
.errors, .notice { border-radius: 8px; padding: 0.7rem 0.9rem; }
.errors { background: #fff1f2; border: 1px solid #fecdd3; color: var(--warn); }
.notice { background: #ecfdf3; border: 1px solid #bbf7d0; color: var(--accent); }
.field-error { color: var(--warn); font-weight: 600; margin: 0.25rem 0 0; }
.muted { color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0.4rem 0; }
ul.plain li { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.prose, .hours { white-space: pre-wrap; }
.facts div { margin: 0.45rem 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.crumbs { color: var(--muted); font-size: 0.95rem; }
.crumbs span { margin: 0 0.25rem; }
.search { display: flex; gap: 0.5rem; align-items: center; }
.search input { margin: 0; }
.search button { margin: 0; width: auto; }
footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2;
  padding: 0.4rem 0.6rem;
  background: #fff;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 36rem) {
  .site { flex-direction: column; align-items: flex-start; }
  .search { flex-direction: column; align-items: stretch; }
  button, .button { width: 100%; }
  button.link, .search button { width: auto; }
}
