:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #242523;
  --muted: #5a6058;
  --line: #dedbd2;
  --green: #293e34;
  --mint: #e7eee7;
  --rose: #f7e5e0;
  --rust: #872d25;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: progress; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #527b61;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.shell { max-width: 840px; margin: auto; padding: 22px 18px max(28px, env(safe-area-inset-bottom)); }
.masthead { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 20px; }
.brand { color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; font: 700 25px/1 Georgia, serif; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--green); border-radius: 50%; font: italic 23px Georgia, serif; }
.environment { color: var(--green); font-size: .78rem; }
nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
nav:empty { display: none; }
nav button, .pill, .slot {
  border-radius: 99px;
  min-height: 42px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--green);
}
nav [aria-current="page"], .slot[aria-pressed="true"], .pill[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.hero { padding: 24px; background: var(--mint); border-radius: 23px; margin-bottom: 20px; color: var(--green); }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0 0 11px; }
h1 { font-size: clamp(2rem, 7vw, 3rem); }
h2 { font-size: 1.48rem; }
h3 { margin: 0 0 8px; font-size: 1rem; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.muted, .meta { color: var(--muted); }
.meta { font-size: .9rem; }
.card, .notice { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0 0 14px; overflow-wrap: anywhere; }
.card > section + section { margin-top: 20px; }
.notice { border-color: #9bb09f; color: var(--green); background: var(--mint); }
.notice.bad { border-color: #d5a49a; color: var(--rust); background: var(--rose); }
.heading { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.heading h3 { margin-bottom: 4px; }
.service-group { display: grid; gap: 9px; }
.service-row { padding: 13px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border: 0; }
.options, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.options { margin: 12px 0; }
.options:last-child, .actions:last-child { margin-bottom: 0; }
.actions { margin-top: 14px; }
.slot { min-width: 63px; font-variant-numeric: tabular-nums; }
.primary, .secondary, .danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 11px;
  background: var(--green);
  color: white;
  padding: 10px 14px;
  min-height: 44px;
  text-decoration: none;
}
.secondary { background: var(--paper); color: var(--green); border-color: var(--line); }
.danger { color: var(--rust); border-color: var(--line); background: var(--paper); }
label { display: grid; gap: 5px; padding-bottom: 11px; font-size: .92rem; color: var(--green); min-width: 0; }
label:has(input[type=checkbox]) { display: flex; align-items: center; padding-block: 6px; }
input:not([type=checkbox]), select, textarea {
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #b1b6ac;
  border-radius: 9px;
  padding: 8px 10px;
  min-height: 42px;
}
input[type=checkbox] { accent-color: var(--green); width: 18px; height: 18px; }
textarea { min-height: 72px; resize: vertical; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 12px; }
.grid label { max-width: 100%; }
summary { color: var(--green); font-weight: 600; cursor: pointer; min-height: 34px; }
details[open] summary { margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: minmax(104px, 1fr) auto; gap: 8px 14px; margin: 14px 0; font-variant-numeric: tabular-nums; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.badge { display: inline-block; background: var(--mint); color: var(--green); padding: 4px 9px; border-radius: 99px; font-size: .8rem; }
.address { white-space: pre-line; }
.empty { padding: 22px; text-align: center; }
footer { font-size: .88rem; padding: 7px 0; }
footer a { color: var(--green); text-underline-offset: 3px; }
@media (min-width: 620px) {
  .shell { padding: 34px 24px; }
  .hero { padding: 32px; }
  .card { padding: 20px; }
}
