@layer components {
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
.mast {
  background: var(--night);
  color: var(--on-inverse);
}
.mast .brand,
.mast .lang {
  color: var(--on-inverse);
}
.mast .bar {
  min-height: 66px;
  gap: var(--s-48);
}
.mast .brand {
  font-size: var(--fs-20);
  font-weight: 640;
}
.mast .bar nav {
  font-size: var(--fs-14);
  gap: var(--s-24);
}
.mast .lang select {
  color: var(--on-inverse);
  background-color: var(--night);
  border: none;
}
.mast .plan-link {
  color: var(--on-inverse);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: var(--s-8) var(--s-16);
  text-decoration: none;
}
.mast .plan-link:hover {
  background: #ffffff18;
}
.mast .bookmark {
  background: var(--gold);
}
.mast .plan-link b {
  background: var(--soft);
  color: var(--ink);
}
.home .hero-img {
  object-position: 50% 60%;
}
.overline {
  font: 650 var(--fs-12)/1.45 var(--font);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.home h1 {
  font-size: var(--fs-76);
  line-height: 1.01;
  letter-spacing: -.03em;
  max-width: 20ch;
  text-wrap: balance;
  margin: auto;
  text-shadow: none;
}
.route-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: var(--s-8) var(--s-24);
  border-radius: var(--pill);
  font-size: var(--fs-14);
  line-height: 1.22;
  font-weight: 650;
  text-decoration: none;
}
.route-save {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}
.route-save:hover {
  background: var(--soft);
}
.search-shell {
  position: relative;
  z-index: 2;
}
.home .finder {
  max-width: 960px;
  margin: calc(-1 * var(--s-32)) auto 0;
  min-height: 79px;
  box-shadow: var(--shadow);
  border-radius: var(--card);
  padding: var(--s-8) var(--s-16) var(--s-8) var(--s-24);
}
.home .search-button {
  min-height: 49px;
  border-radius: var(--small);
}
.stories,
.cities,
.catalog {
  padding-top: var(--s-96);
}
.story-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-32);
}
.story-head h2 {
  max-width: 18ch;
}
.story-head > p {
  max-width: 40ch;
  color: var(--muted);
  margin: 0 0 var(--s-8);
  line-height: 1.5;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.29fr 1fr 1fr;
  gap: var(--s-24);
  align-items: start;
  margin-top: var(--s-32);
}
.story {
  min-width: 0;
}
.story-image {
  display: block;
  aspect-ratio: 1.14;
  border-radius: var(--card);
  overflow: hidden;
  background: var(--soft);
}
.story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--micro) var(--spring);
}
.story-image:hover img {
  transform: scale(1.035);
}
.story-food .story-image {
  aspect-ratio: 1.18;
}
.story-craft .story-image {
  aspect-ratio: 0.97;
}
.story-bazaar .story-image {
  aspect-ratio: 1.11;
}
.story-copy {
  padding: var(--s-16) var(--s-8) 0;
}
.story-copy .overline,
.directory-lead .overline {
  color: var(--muted);
  font-size: var(--fs-12);
}
.story h3 {
  font: 500 var(--fs-31)/1.1 var(--font);
  letter-spacing: -.03em;
  margin: var(--s-8) 0;
}
.story-copy p {
  color: var(--muted);
  line-height: 1.52;
}
.ink-link,
.rail-link,
.backlink {
  display: inline-block;
  font-weight: 640;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.ink-link {
  margin-top: var(--s-16);
  color: var(--teal);
}
.home .city-card {
  aspect-ratio: 1.18;
  min-height: 235px;
  border-radius: var(--card);
}
.home .city-grid {
  gap: var(--s-16);
}
.home .city-text {
  left: 22px;
  bottom: 22px;
  right: 22px;
}
.home .city-text strong {
  font-size: var(--fs-39);
}
.home .city-text > span {
  max-width: 37ch;
  font-size: var(--fs-14);
}
.home .cities {
  padding-bottom: var(--s-96);
}
.route-feature {
  background: var(--inverse);
  color: var(--on-inverse);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.route-feature:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 56%;
  opacity: 0.08;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 40px,
      #b6dbbe 41px 42px,
      transparent 43px 81px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0 40px,
      #b6dbbe 41px 42px,
      transparent 43px 81px
    );
  mask-image: linear-gradient(90deg, transparent, #000);
}
.route-inner {
  padding-block: var(--s-64);
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: var(--s-64);
  align-items: center;
}
.route-words .overline {
  color: var(--gold);
  margin-bottom: var(--s-16);
}
.route-words h2 {
  max-width: 14ch;
}
.route-words > p:not(.overline) {
  margin: var(--s-16) 0 var(--s-16);
  max-width: 52ch;
  color: var(--on-inverse);
}
.route-save {
  cursor: pointer;
}
.rail-link {
  color: var(--on-inverse);
  margin: var(--s-16) var(--s-8);
}
.route-diagram {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.route-diagram:before {
  content: "";
  position: absolute;
  inset: 12px 13% auto;
  border-top: 2px dashed var(--line);
}
.route-diagram li {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  flex-direction: column;
  text-align: center;
  min-width: 0;
}
.route-diagram li:before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--soft);
  outline: 4px solid var(--field);
  border: 3px solid var(--field);
  box-sizing: border-box;
  border-radius: 100%;
  margin: var(--s-8) 0 var(--s-16);
}
.route-diagram span {
  color: var(--on-inverse);
  font-size: var(--fs-12);
}
.route-diagram strong {
  font: 500 var(--fs-25)/1.25 var(--font);
  margin-block: var(--s-8);
}
.route-diagram a {
  font-size: var(--fs-14);
  color: var(--on-inverse);
  text-underline-offset: 4px;
  max-width: 16ch;
}
.item-card h3 a {
  text-decoration: none;
}
.item-card a:hover {
  text-decoration: underline;
}
.item-bottom .text-button {
  text-decoration: none;
}
.item-card {
  border-radius: var(--card);
}
.home .catalog {
  padding-bottom: var(--s-96);
}
#all-results {
  display: block;
  margin: var(--s-24) auto 0;
}
.home .filters,
.directory .filters {
  gap: var(--s-8);
}
.directory-main,
.utility-main {
  padding-block: var(--s-48) var(--s-64);
  min-height: 64vh;
}
.directory-lead {
  display: flex;
  align-items: center;
  gap: var(--s-48);
  margin: var(--s-24) 0 var(--s-48);
}
.directory-lead > div {
  flex: 1;
}
.directory-lead > img {
  width: 46%;
  height: clamp(230px, 24vw, 410px);
  object-fit: cover;
  border-radius: var(--card);
}
.directory h1,
.utility-main h1 {
  font: 500 var(--fs-61)/1.02 var(--font);
  letter-spacing: -.03em;
  margin: var(--s-8) 0 var(--s-16);
  max-width: 24ch;
}
.directory-lead p:not(.overline) {
  max-width: 60ch;
  font-size: var(--fs-16);
  line-height: 1.55;
}
.backlink {
  font-size: var(--fs-14);
  color: var(--muted);
}
.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-16);
  margin: var(--s-24) 0;
}
.detail-actions a.primary {
  text-decoration: none;
}
.detail-actions .ink-link {
  margin: 0;
}
.directory .filter,
.directory .plan-link {
  text-decoration: none;
}
.directory .filters {
  margin-block: var(--s-16);
}
@media (max-width: 880px) {
  .mast .bar nav a:first-child {
    display: none;
  }
  .story-head {
    display: block;
  }
  .story-head > p {
    margin-top: var(--s-8);
  }
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-16);
  }
  .story-grid .story-image {
    aspect-ratio: 1;
  }
  .story h3 {
    font-size: var(--fs-25);
  }
  .route-inner {
    grid-template-columns: 1fr;
    gap: var(--s-32);
  }
  .route-diagram {
    max-width: 590px;
  }
  .home .city-grid {
    gap: var(--s-8);
  }
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 36px);
  }
  .mast .bar {
    min-height: 58px;
    gap: var(--s-8);
  }
  .mast .bar nav {
    display: none;
  }
  .mast .tools {
    gap: var(--s-8);
  }
  .mast .brand {
    gap: var(--s-8);
    font-size: var(--fs-14);
    max-width: 45%;
    white-space: normal;
  }
  .mast .lang select {
    max-width: 79px;
    font-size: var(--fs-12);
  }
  .mast .plan-link {
    font-size: var(--fs-12);
    padding: var(--s-8) var(--s-8);
    gap: var(--s-8);
  }
  .mast .plan-link i {
    display: none;
  }
  .home .hero-img {
    object-position: 50% 65%;
  }
  .home h1 {
    font-size: var(--fs-49);
    max-width: 17ch;
    line-height: 1.04;
  }
  .route-save {
    font-size: var(--fs-14);
    padding: var(--s-8) var(--s-16);
  }
  .home .finder {
    margin: var(--s-16) auto 0;
    box-shadow: none;
    padding: var(--s-8) var(--s-16);
    gap: var(--s-8);
    border-radius: var(--small);
  }
  .home .finder .search-button {
    min-height: 42px;
  }
  .stories,
  .cities,
  .catalog {
    padding-top: var(--s-48);
  }
  .story-head h2,
  .route-words h2 {
    font-size: var(--fs-39);
  }
  .story-head > p {
    font-size: var(--fs-16);
  }
  .story-grid {
    display: block;
    margin-top: var(--s-24);
  }
  .story-grid .story-image {
    aspect-ratio: 1.55;
  }
  .story-copy {
    padding: var(--s-16) 0 0;
  }
  .story + .story {
    margin-top: var(--s-32);
  }
  .story h3 {
    font-size: var(--fs-31);
  }
  .home .city-card {
    min-height: 0;
    aspect-ratio: 1.62;
  }
  .home .city-text strong {
    font-size: var(--fs-31);
  }
  .home .city-text {
    bottom: 17px;
    left: 17px;
  }
  .home .cities {
    padding-bottom: var(--s-48);
  }
  .route-inner {
    padding-block: var(--s-48);
  }
  .route-diagram strong {
    font-size: var(--fs-14);
  }
  .route-diagram a {
    font-size: var(--fs-12);
  }
  .directory-lead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-24);
  }
  .directory-lead > img {
    width: 100%;
    height: 230px;
  }
  .directory-main,
  .utility-main {
    padding-block: var(--s-24) var(--s-48);
  }
  .rail-link {
    display: block;
    margin: var(--s-16) 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 650px) {
  .mast .plan-link {
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
  }
  .mast .plan-link i {
    display: inline-block;
    width: 13px;
    height: 16px;
  }
  .mast .plan-link span {
    position: absolute;
    display: block;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
}

.utility-intro {
  font-size: var(--fs-20);
  max-width: 67ch;
  color: var(--muted);
  margin: var(--s-8) 0 var(--s-16);
}
.utility-main .service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 740px;
  gap: var(--s-16);
}
.service-form label,
.share-link {
  display: grid;
  gap: var(--s-8);
  font-weight: 600;
}
.service-form input,
.service-form select,
.service-form textarea,
.share-link input {
  border: 1px solid var(--line);
  border-radius: var(--small);
  padding: var(--s-8) var(--s-8);
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  min-width: 0;
  max-width: 100%;
}
.service-form .primary {
  width: fit-content;
}
.info-box {
  background: var(--soft);
  padding: var(--s-24) var(--s-24);
  border-radius: var(--card);
  margin: var(--s-24) 0;
  max-width: 830px;
}
.info-box h2,
.utility-main section h2 {
  font-size: var(--fs-31);
}
.info-box p {
  margin: var(--s-8) 0;
}
.info-box a {
  color: var(--teal);
}
.utility-actions,
.view-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16);
}
.share-link {
  margin-top: var(--s-16);
}
.dialog-actions a.primary {
  text-decoration: none;
}
.trip-days {
  list-style: none;
  padding: 0;
  max-width: 760px;
}
.trip-days li {
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}
.trip-days h3 {
  font: 500 var(--fs-31)/1.3 var(--font);
  margin: var(--s-8) 0;
}
.trip-days .overline {
  color: var(--teal);
}
.geo-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--small);
  overflow: hidden;
}
.geo-frame canvas {
  display: block;
  width: 100%;
  height: clamp(240px, 36vw, 450px);
  cursor: pointer;
}
.geo-frame small {
  position: absolute;
  bottom: 4px;
  right: 8px;
  color: var(--muted);
  background: #ffffffdf;
  padding: var(--s-8) var(--s-8);
}
.geo-index {
  padding: 0;
  list-style: none;
  display: flex;
  gap: var(--s-8) var(--s-16);
  flex-wrap: wrap;
  margin: var(--s-8) 0;
}
.geo-index li {
  line-height: 1.2;
}
@media (max-width: 650px) {
  .utility-main .service-form {
    grid-template-columns: 1fr;
  }
  .view-actions {
    gap: var(--s-8);
    text-align: right;
    justify-content: flex-end;
  }
}
@media print {
  .mast,
  footer,
  .utility-actions,
  .backlink,
  .dialog-tools,
  .skip,
  .view-actions,
  .dialog-actions,
  button {
    display: none !important;
  }
  .utility-main,
  .directory-main {
    width: 100% !important;
    max-width: none;
    padding: 0;
  }
  .utility-main h1 {
    font-size: var(--fs-39);
  }
  .trip-days li {
    break-inside: avoid;
  }
  .trip-days a {
    text-decoration: none;
    color: var(--ink);
  }
  .print-note {
    display: block;
  }
  body.modal-open > main,
  body.modal-open > .mast,
  body.modal-open > footer {
    display: none !important;
  }
  dialog[open] {
    display: block !important;
    position: static;
    border: 0;
    width: 100%;
    max-width: none;
    max-height: none;
    box-shadow: none;
  }
  dialog::backdrop {
    background: var(--surface);
  }
}

.desk-gate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-16);
}
.desk-section {
  padding: var(--s-24);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card);
  margin-top: var(--s-16);
  min-width: 0;
}
.desk-section > h2 {
  margin-bottom: var(--s-16);
}
.desk-section h3 {
  font-size: var(--fs-20);
}
.desk-section label {
  font-size: var(--fs-14);
  display: grid;
  gap: var(--s-8);
}
.desk-section .service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--s-16);
}
.desk-gate .service-form,
.desk-section fieldset {
  grid-template-columns: 1fr;
}
.desk-section fieldset {
  padding: var(--s-8);
  border: 1px solid var(--line);
  border-radius: var(--small);
  min-width: 0;
  display: grid;
  gap: var(--s-8);
}
.desk-section fieldset legend {
  font-weight: 650;
}
.desk-section textarea {
  width: 100%;
  min-height: 74px;
}
.desk-bar,
.desk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  align-items: center;
  margin: var(--s-24) 0 var(--s-8);
}
.desk-bar {
  justify-content: space-between;
}
.work-row {
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--line);
}
.work-row p {
  margin: var(--s-8) 0;
}
.desk-section select,
.desk-section input {
  max-width: 100%;
  min-width: 0;
}
.table-scroll {
  overflow: auto;
  margin-block: var(--s-16);
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
}
.table-scroll th,
.table-scroll td {
  padding: var(--s-8) var(--s-8);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table-scroll th {
  color: var(--muted);
  font-size: var(--fs-12);
}
.ledger-totals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-24);
  margin: var(--s-16) 0;
}
.ledger-totals strong,
.local-receipt small {
  display: block;
}
.work-row .utility-actions {
  margin: var(--s-8) 0;
}
.desk-section .utility-actions {
  margin: var(--s-16) 0;
}
.consent,
.service-form label.consent {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--fs-14);
  margin: var(--s-16) 0;
}
.consent input {
  width: 17px;
  height: 17px;
  flex: none;
}
.price-detail summary {
  cursor: pointer;
  color: var(--teal);
}
.price-detail ul {
  padding-left: var(--s-16);
}
.pay-fields {
  margin: var(--s-16) 0;
}
.fields select {
  padding: var(--s-8);
  border: 1px solid var(--line);
  border-radius: var(--small);
  background: var(--surface);
}
.local-receipt {
  background: var(--pale);
  padding: var(--s-8) var(--s-8);
  overflow-wrap: anywhere;
}
.desk-section > label select {
  width: 100%;
  padding: var(--s-8);
  border-radius: var(--small);
  border: 1px solid var(--line);
  background: var(--surface);
}
.utility-main #desk-status {
  margin: var(--s-8) 0;
  color: var(--teal);
  font-weight: 650;
}
@media (max-width: 820px) {
  .desk-gate {
    grid-template-columns: 1fr;
  }
  .desk-section {
    padding: var(--s-16);
  }
}
@media (max-width: 560px) {
  .desk-section .service-form {
    grid-template-columns: 1fr;
  }
  .table-scroll th,
  .table-scroll td {
    padding: var(--s-8);
  }
}

.availability-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-8) var(--s-24);
  margin: var(--s-16) 0 var(--s-8);
  color: var(--muted);
  font-size: var(--fs-14);
}
.availability-options input {
  accent-color: var(--teal);
}
.availability-options input[type="date"] {
  border: 1px solid var(--line);
  border-radius: var(--small);
  padding: var(--s-8);
}
.partner-strip {
  background: var(--soft);
  padding: var(--s-32) 0;
}
.partner-strip > .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-24);
}
.partner-strip h2 {
  font-size: var(--fs-31);
}
.partner-strip p {
  max-width: 66ch;
  margin-top: var(--s-8);
  color: var(--muted);
}
.partner-strip a {
  border-color: var(--field);
  white-space: nowrap;
}
.detail-source {
  font-size: var(--fs-14) !important;
  color: var(--muted);
  margin: var(--s-8) 0;
}
.scenario-label {
  display: grid;
  margin: var(--s-8) 0;
  gap: var(--s-8);
}
.local-receipt,
.private-link {
  overflow-wrap: anywhere;
}
.utility-main input[type="checkbox"] {
  accent-color: var(--teal);
}
.mast .plan-link:has(i):focus-visible {
  outline-offset: 1px;
}
@media (max-width: 650px) {
  .partner-strip > .shell {
    display: block;
  }
  .partner-strip a {
    margin-top: var(--s-16);
  }
}

.directory .filter[aria-current="page"] {
  background: var(--teal);
  color: var(--on-inverse);
  border-color: var(--teal);
}
@media (max-width: 650px) {
}

.chapter-line {
  color: var(--muted);
  font: 650 var(--fs-14)/1.5 var(--font);
  margin: 0 0 var(--s-8);
}
.city-intro {
  max-width: 40ch;
  color: var(--muted);
}
.city-intro .ink-link {
  margin-top: var(--s-8);
}
.welcome {
  background: var(--soft);
  color: var(--ink);
  padding-block: var(--s-96);
}
.welcome-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.86fr);
  gap: var(--s-64);
  align-items: center;
}
.welcome-portrait {
  margin: 0;
}
.welcome-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--card);
}
.welcome-portrait figcaption {
  color: var(--muted);
  font-size: var(--fs-12);
  line-height: 1.45;
  margin-top: var(--s-8);
}
.welcome-words h2 {
  font-size: var(--fs-49);
  line-height: 1.04;
  text-wrap: balance;
}
.welcome-story {
  font-size: var(--fs-20);
  line-height: 1.52;
  margin-top: var(--s-16);
}
.welcome-budget {
  border-top: 1px solid var(--line);
  padding-top: var(--s-24);
  margin-top: var(--s-24);
}
.welcome-budget h3 {
  font: 500 var(--fs-31)/1.2 var(--font);
  letter-spacing: -.03em;
  margin: 0;
}
.welcome-budget > p {
  margin: var(--s-8) 0 var(--s-16);
  line-height: 1.52;
}
.welcome-budget label {
  display: block;
  margin-bottom: var(--s-8);
  font-weight: 640;
  font-size: var(--fs-14);
}
.budget-inputs {
  display: flex;
  align-items: stretch;
  gap: var(--s-8);
}
.budget-inputs input {
  border: 1px solid var(--field);
  border-radius: var(--small);
  background: var(--surface);
  color: var(--ink);
  padding: var(--s-8) var(--s-16);
  min-width: 0;
  width: 11em;
  font: inherit;
}
.budget-inputs .primary {
  border-radius: var(--small);
  height: auto;
  min-height: 45px;
}
.welcome-budget .ink-link {
  margin-top: var(--s-16);
}
.budget-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-8) var(--s-16);
  padding: var(--s-8) var(--s-16);
  margin: var(--s-8) 0;
  background: var(--soft);
  color: var(--ink);
  border-radius: var(--small);
  width: fit-content;
  font-size: var(--fs-14);
}
.budget-state a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
#empty-walk {
  margin: var(--s-8) 0 var(--s-16);
}
@media (max-width: 820px) {
  .welcome-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-24);
  }
  .budget-inputs {
    flex-wrap: wrap;
  }
  .budget-inputs input {
    flex: 1 1 8em;
  }
}
@media (max-width: 650px) {
  .welcome-inner {
    grid-template-columns: 1fr;
    gap: var(--s-24);
  }
  .welcome-words h2 {
    font-size: var(--fs-39);
  }
  .welcome-budget {
    margin-top: var(--s-16);
    padding-top: var(--s-16);
  }
  .city-intro {
    margin-top: var(--s-8);
  }
  .chapter-line {
    margin: 0 0 var(--s-8);
  }
  .welcome-portrait img {
    border-radius: var(--small);
  }
}

.stop-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
}
.stop-actions button {
  min-width: 28px;
  min-height: 34px;
}
.stop-actions button:disabled {
  opacity: 0.35;
}
.rail-notes {
  margin: var(--s-16) 0 0;
}
.rail-notes summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rail-notes ul {
  padding-left: var(--s-16);
}
.rail-notes li,
.rail-notes p {
  margin: var(--s-8) 0;
}
.rail-notes a {
  color: inherit;
}
.rail-notes time {
  display: block;
  font-size: var(--fs-14);
}
.trip-days small {
  color: var(--muted);
}
@media (max-width: 420px) {
  .stop-row {
    flex-wrap: wrap;
    gap: var(--s-8) var(--s-8);
  }
  .stop-row > div {
    flex-basis: 100%;
  }
}
}
