:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #182c2b;
  background: #f7f4ee;
  font-synthesis: none;
  line-height: 1.7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #0b5d5a;
  text-underline-offset: 0.2em;
}
a:hover {
  color: #073b39;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-block;
  border: 0;
  border-radius: 6px;
  background: #0b5d5a;
  color: white;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #084744;
  color: white;
}
button.danger {
  background: #9b3434;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #bdcbc6;
  border-radius: 5px;
  background: white;
  color: inherit;
}
textarea {
  min-height: 10rem;
}
input[type="checkbox"] {
  width: auto;
}
label {
  display: block;
  font-weight: 600;
  margin: 0.4rem 0;
}
label small {
  display: block;
  font-weight: 400;
  color: #526962;
}
fieldset {
  border: 1px solid #d5dfd8;
  border-radius: 6px;
  padding: 1rem;
  min-width: 0;
}
legend {
  font-weight: 600;
}
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0.4em 0;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.15rem;
}
p {
  overflow-wrap: anywhere;
}
.banner {
  padding: 0.5rem max(1rem, calc((100% - 1200px) / 2));
  font-size: 0.8rem;
  background: #fff3d5;
  color: #684a16;
  border-bottom: 1px solid #e9d8af;
}
header {
  background: #fbfaf7;
  border-bottom: 1px solid #d9dfd8;
}
.nav,
.languages {
  max-width: 1240px;
  padding: 1rem 1.25rem;
  margin: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.brand {
  font-size: 1.15rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand b {
  background: #0b5d5a;
  color: white;
  border-radius: 7px;
  padding: 0.45rem;
  font-size: 0.85rem;
}
nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
nav a {
  text-decoration: none;
}
a[aria-current] {
  font-weight: 750;
  text-decoration: underline;
}
.languages {
  padding-top: 0;
  justify-content: flex-end;
  font-size: 0.8rem;
}
.languages a {
  padding: 0.15rem 0.5rem;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 2.5rem 1.25rem;
  min-height: 60vh;
}
footer {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem 1.25rem;
  border-top: 1px solid #ccd8d1;
  color: #526962;
  font-size: 0.85rem;
}
.hero {
  max-width: 850px;
  padding: 2rem 0;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #0b5d5a;
}
.lead {
  font-size: 1.1rem;
  color: #526962;
  max-width: 800px;
}
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.5rem 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card {
  background: #fff;
  border: 1px solid #d7e0d9;
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: 0 2px 2px #193e2d04;
}
.card h2,
.card h3 {
  margin-top: 0;
}
.card p {
  color: #526962;
}
.meta {
  font-size: 0.8rem;
  color: #62756d;
}
.badge {
  display: inline-block;
  background: #e8f0e9;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
}
.notice {
  padding: 1rem 1.2rem;
  background: #fff3d8;
  border-left: 3px solid #c39a4d;
  border-radius: 4px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  align-items: end;
  background: #edf1e9;
  padding: 1rem;
  border-radius: 8px;
}
.filters label {
  font-size: 0.8rem;
}
.prose {
  max-width: 800px;
  font-size: 1.05rem;
}
.prose h2 {
  margin-top: 2rem;
}
.prose img {
  max-width: 100%;
}
.prose table {
  display: block;
  overflow: auto;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
}
.stack {
  display: grid;
  gap: 1rem;
}
.marker {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}
.results {
  scroll-margin-top: 2rem;
}
.error {
  background: #fff0ed;
  border: 1px solid #d59187;
  padding: 1rem;
}
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline;
}
.htmx-request {
  opacity: 0.75;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #bb8b35;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  z-index: 5;
}
dl {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 3fr;
  gap: 0.5rem;
}
dt {
  font-weight: 600;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
table {
  width: 100%;
  border-collapse: collapse;
}
td,
th {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid #d7e0d9;
}
.table-wrap {
  overflow: auto;
}
.empty {
  padding: 2rem;
  text-align: center;
  color: #526962;
}
pre {
  white-space: pre-wrap;
}
#request-error:empty {
  display: none;
}
@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
  .marker {
    grid-template-columns: 1fr;
  }
  .nav {
    gap: 1rem;
  }
  .languages {
    justify-content: flex-start;
  }
  .hero {
    padding: 0;
  }
  main {
    padding-top: 1.5rem;
  }
}
@media print {
  header,
  footer,
  form,
  .actions,
  .banner {
    display: none;
  }
  main {
    max-width: none;
  }
  .card {
    box-shadow: none;
  }
}
