* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f6f2;
  color: #173c36;
  font: 15px system-ui;
  overflow-wrap: anywhere;
}
header {
  background: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #e1e9e3;
}
h1 {
  font-size: 23px;
  margin: 0;
}
h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
h3 {
  margin: 0 0 8px;
}
#who {
  font-size: 12px;
  color: #607b73;
}
main {
  max-width: 760px;
  margin: auto;
  padding: 12px 14px calc(100px + env(safe-area-inset-bottom));
}
section {
  background: white;
  border-radius: 20px;
  padding: 16px;
  margin: 10px 0;
  border: 1px solid #e4ebe5;
}
button,
input,
select {
  font: inherit;
  padding: 12px;
  border: 1px solid #cbdad4;
  border-radius: 12px;
  max-width: 100%;
  margin: 4px 0;
}
button {
  background: #087c70;
  color: white;
  border: 0;
  cursor: pointer;
}
nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 10;
  padding: 5px 4px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid #dce5df;
}
nav button {
  background: transparent;
  color: #607b73;
  font-size: 10px;
  padding: 7px 0;
  margin: 0;
  min-width: 0;
}
nav button span {
  display: block;
  font-size: 22px;
  line-height: 1.3;
}
nav button.active {
  color: #087c70;
  background: #e6f3ed;
}
small {
  color: #607b73;
}
a {
  color: #087c70;
}
img {
  width: 100%;
  border-radius: 12px;
}
label {
  display: block;
}
input:not([type="checkbox"]),
select {
  width: 100%;
}
.err {
  color: #a32b25;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tiles button {
  min-height: 75px;
  text-align: left;
  padding: 14px;
  background: #e6f3ed;
  color: #173c36;
}
.hero {
  background: #086c60;
  color: white;
  border: 0;
}
.hero small {
  color: #d5eee5;
}
.item {
  padding: 12px 0;
  border-bottom: 1px solid #e5ebe6;
}
.item:last-child {
  border: 0;
}
.muted {
  color: #607b73;
}
.pill {
  display: inline-block;
  background: #e6f3ed;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 8px;
}
.actions button {
  flex: 1;
}
.secondary {
  background: #e6f3ed;
  color: #173c36;
}
.photo {
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #e6f3ed;
}
.placeholder {
  min-height: 110px;
  display: grid;
  place-content: center;
  background: #e6f3ed;
  border-radius: 14px;
  color: #607b73;
  text-align: center;
}
[hidden] {
  display: none !important;
}
.placeholder strong {
  font-size: 36px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.item h3 {
  margin-top: 8px;
}
.swipe {
  touch-action: pan-y;
}
.tiles button.selected {
  outline: 2px solid #087c70;
}
button:disabled {
  opacity: 0.5;
}
header {
  padding-top: max(14px, env(safe-area-inset-top));
}
input,
select,
textarea {
  font-size: 16px;
  color: inherit;
  background: white;
}
textarea {
  font: inherit;
  border: 1px solid #cbdad4;
  border-radius: 12px;
  width: 100%;
  padding: 12px;
  min-height: 100px;
}
button {
  min-height: 44px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #be7226;
  outline-offset: 3px;
}
a {
  text-underline-offset: 3px;
}
.hero {
  padding: 20px;
  background: linear-gradient(145deg, #07594f, #087c70);
}
.hero h2 {
  font-size: clamp(24px, 7vw, 37px);
  margin-top: 6px;
}
.hero p {
  margin-bottom: 0;
}
nav {
  padding-inline: max(4px, env(safe-area-inset-left));
}
nav button.active {
  font-weight: 700;
}
.actions {
  flex-wrap: wrap;
}
.actions > * {
  min-width: 90px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 8px;
}
.cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.cards .item {
  border: 1px solid #e1e9e3;
  border-radius: 14px;
  padding: 12px;
}
.cards .placeholder {
  min-height: 85px;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 8px;
  background: #e6f3ed;
}
.notice {
  padding: 12px;
  border-radius: 12px;
  background: #fff3dc;
  color: #604520;
}
details {
  padding: 7px 0;
}
summary {
  cursor: pointer;
}
fieldset {
  min-width: 0;
  border: 1px solid #cbdad4;
  border-radius: 12px;
  padding: 10px 12px;
}
.compact {
  max-width: 30rem;
}
#who {
  max-width: 55%;
  text-align: right;
}
fieldset label {
  padding: 5px 0;
}
small a {
  color: inherit;
}
figure {
  margin: 0 0 8px;
}
figcaption {
  font-size: 11px;
  color: #536f65;
  margin-top: 3px;
}
.route-stops {
  max-height: 340px;
  overflow-y: auto;
}
.route-stops label {
  border-bottom: 1px solid #e1e9e3;
  min-height: 44px;
}
.route-windows {
  padding: 8px 0;
}
.multiline {
  white-space: pre-wrap;
  margin: 0 0 16px;
}
[aria-pressed="true"] {
  outline: 2px solid #087c70;
}
