.planning-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.8fr);
  background: #ecf0e3;
  border: 1px solid #c3cdb8;
  border-radius: 6px;
  overflow: hidden;
  margin: 4px 0 32px;
}
.planning-cover > div {
  padding: clamp(19px, 3vw, 36px);
}
.planning-cover img {
  width: 100%;
  height: 100%;
  max-height: 270px;
  object-fit: cover;
  object-position: center;
}
.planning-cover h2,
.event-lead h2,
.route-paper h2 {
  font: 750 clamp(26px, 2.7vw, 40px) / 1.35 var(--serif);
  margin: 6px 0 9px;
}
.planning-cover p,
.park-plan-entry p,
.event-lead p {
  color: var(--muted);
  line-height: 1.8;
}
.planning-links,
.trip-save {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.plan-page .page-hero {
  padding-bottom: 20px;
}
.plan-controls {
  display: grid;
  grid-template-columns: 1.5fr 1.15fr 0.9fr 1fr 0.9fr;
  gap: 12px;
  padding: 16px 18px 18px;
  border: 1px solid #c2ccb7;
  border-radius: 5px;
  background: #ecf0e4;
}
.plan-controls label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #3c5140;
  font-size: 14px;
  font-weight: 650;
}
.plan-controls input,
.plan-controls select,
.timed-stops input {
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #a8b39f;
  border-radius: 4px;
  background: var(--white);
  font: normal 16px/1.35 var(--sans);
  padding: 8px 9px;
  min-height: 41px;
  color: var(--ink);
}
.plan-layout {
  display: grid;
  grid-template-columns: minmax(205px, 0.67fr) minmax(0, 1.65fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  margin: 24px 0 0;
}
.choice-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-bottom: 9px;
}
.choice-heading h2,
.timed-stops + h3,
.annual-section h2,
.saved-trips h2,
.park-plan-entry h2 {
  font-size: clamp(24px, 2.1vw, 30px);
  margin: 3px 0 10px;
}
.choice-heading h2 { margin-bottom: 0; }
.section-time-note { margin: 0 0 15px; color: var(--muted); font-size: 14px; }
#plan-choices {
  display: grid;
  gap: 8px;
}
.walk-choice {
  width: 100%;
  padding: 12px 13px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  display: grid;
  gap: 4px;
}
.walk-choice[aria-pressed="true"] {
  border-color: #496b49;
  background: #e7eddd;
  box-shadow: inset 3px 0 #496b49;
}
.walk-choice:hover {
  border-color: #7d9375;
}
.walk-choice span,
.walk-choice em {
  font: normal 13px/1.5 var(--sans);
  color: var(--muted);
}
.walk-choice strong {
  font: 700 20px/1.45 var(--serif);
}
.walk-choice small {
  font-size: 15px;
}
.walk-choice em.fit,
.time-breakdown .fit {
  color: #436548;
}
.walk-choice em.over,
.walk-choice em.tight,
.time-breakdown .tight,
.time-breakdown .over {
  color: #8b4927;
}
.route-paper {
  background: #fcfbf2;
  border-top: 3px solid #5b7756;
  border-bottom: 1px solid var(--line);
  padding: clamp(16px, 2.6vw, 32px);
}
.route-gates {
  font-size: 15px;
  color: #405444;
  margin-bottom: 17px;
}
.route-gates b {
  color: var(--ochre);
  font-weight: 650;
}
.route-gates b:not(:first-child) {
  margin-left: 12px;
}
.trip-total {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  border-top: 1px solid #c8d0b9;
  padding: 17px 0 5px;
}
.trip-total div {
  display: grid;
  gap: 3px;
}
.trip-total span {
  font-size: 14px;
  color: #50644f;
}
.trip-total strong,
.trip-total b {
  font: 600 clamp(25px, 3.3vw, 43px) / 1.2 var(--roman);
  color: var(--green);
  letter-spacing: -0.035em;
}
.trip-total b {
  font-size: clamp(22px, 2.5vw, 34px);
  padding-top: 4px;
  letter-spacing: -0.02em;
}
.trip-total small {
  font: 500 15px var(--sans);
}
.time-breakdown {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid #c8d0b9;
  padding-bottom: 14px;
}
.time-breakdown b {
  font-weight: 650;
}
.route-paper h3 {
  font-size: 23px;
  margin: 18px 0 12px;
}
.timed-stops {
  list-style: none;
  counter-reset: stops;
  margin: 0;
  padding: 0;
}
.timed-stops li {
  position: relative;
  counter-increment: stops;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 0 0 17px 32px;
}
.timed-stops li::before {
  content: counter(stops);
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  line-height: 20px;
  border: 1px solid #8c9c7c;
  border-radius: 50%;
  font-family: Georgia, serif;
  text-align: center;
  color: var(--green);
  background: #f0f1e4;
}
.timed-stops li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 25px;
  bottom: 0;
  border-left: 1px solid #c0cbb4;
}
.timed-stops strong {
  font: 700 19px/1.5 var(--serif);
}
.timed-stops p,
.walk-advice,
.festival-note p {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5d4c;
}
.timed-stops label {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 5px;
  font-size: 13px;
  white-space: nowrap;
}
.timed-stops input {
  width: 52px;
  padding: 4px 5px;
  min-height: 33px;
  text-align: center;
}
.festival-note {
  border-left: 3px solid #ad8b52;
  background: #f0ecda;
  padding: 12px 15px;
  margin: 16px 0;
}
.festival-note strong {
  color: #5f542e;
}
.festival-note p {
  margin: 4px 0;
}
.walk-advice {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.route-paper .walk-refs p {
  font-size: 14px;
  margin: 6px 0;
  color: var(--muted);
}
.park-plan-entry,
.event-lead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #edf0e3;
  border: 1px solid #c6cfb9;
  border-radius: 5px;
  padding: 20px 23px;
  margin: 18px 0;
}
.park-plan-entry .btn,
.event-lead .btn {
  flex: none;
}
.annual-section,
.saved-trips {
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid #bec8b2;
}
.annual-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 13px;
  margin: 3px 0 8px;
}
.annual-head h2 {
  margin: 0;
}
.event-row,
.saved-trip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 3px;
  border-bottom: 1px solid var(--line);
}
.event-row:hover,
.month-event:hover,
.saved-trip button:first-child:hover strong {
  color: var(--ochre);
}
.event-row strong,
.month-event strong,
.saved-trip strong {
  display: block;
  font: 700 21px/1.5 var(--serif);
}
.event-row > span small,
.month-event span,
.saved-trip span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.event-row .event-month {
  font: 600 28px/1 var(--roman);
  min-width: 52px;
  text-align: center;
  color: #627951;
}
.event-month small {
  font-family: var(--sans);
  margin-top: 3px;
}
.event-ref {
  margin-left: auto;
  white-space: nowrap;
  color: #5b6a54;
  font-size: 14px;
}
.event-index,
.event-detail {
  max-width: 1060px;
}
.event-lead > div {
  max-width: 68ch;
}
.event-lead small {
  font-size: 14px;
  color: #6d603e;
}
.edition {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.edition > span {
  font: 600 27px var(--roman);
  color: #7e865e;
}
.edition h3 {
  font-size: 21px;
  margin: 0;
}
.edition p {
  color: var(--muted);
  margin: 4px 0;
}
.edition small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.month-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.month-event strong {
  font-size: 18px;
}
.saved-trip button:first-child {
  flex: 1;
  text-align: left;
  padding: 0;
}
@media (max-width: 900px) {
  .plan-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .plan-controls .park-choice {
    grid-column: 1/-1;
  }
}
@media (max-width: 690px) {
  .plan-layout {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 16px;
  }
  #plan-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .walk-choice {
    padding: 9px;
  }
  .walk-choice strong {
    font-size: 17px;
  }
  .plan-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    padding: 11px;
  }
  .planning-cover {
    grid-template-columns: 1fr;
    position: relative;
  }
  .planning-cover img {
    display: none;
  }
  .park-plan-entry,
  .event-lead {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .event-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 9px;
  }
  .event-row .event-month {
    grid-row: 1/3;
    min-width: 0;
  }
  .event-ref {
    grid-column: 2;
    margin: 0;
  }
  .event-row strong {
    font-size: 19px;
  }
  .edition {
    grid-template-columns: 52px 1fr;
    gap: 8px;
  }
  .edition > span {
    font-size: 21px;
  }
  .edition h3 {
    font-size: 18px;
  }
  .month-event {
    display: block;
  }
  .trip-total {
    gap: 8px;
  }
  .trip-total b {
    font-size: 23px;
  }
  .timed-stops li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .timed-stops label {
    padding: 2px 0;
  }
  .saved-trip {
    align-items: flex-start;
  }
}
