@font-face {
  font-family: GuideSerif;
  src: local("Iowan Old Style"), local("Palatino Linotype"), local("Palatino");
  font-display: swap;
}
:root {
  --cream: #f7f4ed;
  --paper: #fffdf7;
  --ink: #223c38;
  --teal: #174b47;
  --copper: #9b5534;
  --muted: #66736a;
  --border: #deded2;
  --wash: #eeeee4;
  --sheet-height: 310px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
button svg,
.icon svg {
  width: 21px;
  height: 21px;
  display: block;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button span[data-icon] {
  display: inline-flex;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  transform: translateY(-150%);
  background: var(--paper);
  padding: 15px;
}
.skip:focus {
  transform: none;
}
.masthead {
  height: 91px;
  display: flex;
  align-items: center;
  padding: 0 34px;
  gap: 26px;
  border-bottom: 1px solid var(--border);
}
.brand {
  text-decoration: none;
  display: flex;
  gap: 13px;
  align-items: center;
  font:
    44px GuideSerif,
    Georgia,
    serif;
  letter-spacing: -2px;
  color: var(--ink);
}
.brand-symbol {
  font: 43px Georgia;
  color: var(--teal);
  letter-spacing: 0;
}
.brand-dot {
  color: var(--copper);
}
.tagline {
  font:
    italic 17px GuideSerif,
    Georgia,
    serif;
  color: var(--muted);
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.trip-dates {
  margin-left: auto;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  line-height: 1.8;
}
.trip-dates .eyebrow {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}
.hotel-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 15px;
  min-height: 46px;
  font-size: 12px;
  margin-left: 20px;
}
.hotel-shortcut:hover {
  background: var(--wash);
}
.day-nav {
  height: 76px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.day-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 115px;
  position: relative;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
}
.day-btn .day-number {
  font:
    27px GuideSerif,
    Georgia,
    serif;
  color: var(--ink);
}
.day-btn .day-word {
  text-align: left;
  line-height: 1.6;
}
.day-btn .day-word small {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
}
.day-btn[aria-pressed="true"] {
  color: var(--teal);
  background: #ebeee5;
}
.day-btn[aria-pressed="true"]:after {
  content: "";
  height: 3px;
  background: var(--copper);
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
}
.day-btn.all {
  min-width: 150px;
  font-size: 13px;
  gap: 10px;
}
.day-btn:hover {
  background: var(--wash);
}
.workspace {
  height: calc(100dvh - 167px);
  min-height: 400px;
  display: grid;
  grid-template-columns: 394px 1fr;
  position: relative;
}
.map-region {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #e9e9de;
}
#map {
  height: 100%;
  width: 100%;
  background: #e9e9de;
}
.map-title {
  position: absolute;
  z-index: 400;
  top: 30px;
  left: 32px;
  padding: 14px 18px;
  background: rgba(255, 253, 247, 0.94);
  border-left: 2px solid var(--copper);
  pointer-events: none;
}
.map-title > span:last-child {
  font:
    24px/1.1 GuideSerif,
    Georgia,
    serif;
  display: block;
  margin-top: 5px;
}
.map-title .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.map-toolbar {
  position: absolute;
  top: 28px;
  right: 26px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.map-toolbar button {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  box-shadow: 0 2px 12px #223c3814;
  border: 1px solid #d7dbce;
  border-radius: 6px;
}
.map-toolbar button:hover {
  background: var(--wash);
}
.map-bottom {
  position: absolute;
  bottom: 26px;
  left: 24px;
  z-index: 400;
  background: rgba(255, 253, 247, 0.95);
  padding: 10px 14px;
  max-width: calc(100% - 48px);
  pointer-events: none;
}
.legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
}
.legend > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.line {
  display: block;
  width: 25px;
  border-top: 2px solid var(--teal);
}
.line.transit {
  border-top: 3px dashed var(--copper);
}
.line.ferry {
  border-top: 2px dotted #365b86;
}
.map-bottom p {
  font-size: 10px;
  margin: 7px 0 0;
  color: #505e54;
}
.map-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 700;
  padding: 3px 7px;
  background: var(--paper);
  font:
    10px/1.3 Arial,
    sans-serif;
}
.map-credit a {
  color: #274940;
}
.map-status {
  position: absolute;
  z-index: 600;
  top: 18px;
  left: 18px;
  right: 85px;
  background: var(--paper);
  border: 1px solid var(--copper);
  padding: 13px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 3px 18px #223c3814;
}
.map-status button {
  font-weight: bold;
  text-decoration: underline;
  min-height: 44px;
}
.map-status:not([hidden]) ~ * {
  visibility: visible;
}
.leaflet-container {
  font-family: Arial, Helvetica, sans-serif;
}
.leaflet-tile-pane {
  filter: saturate(0.47) sepia(0.1);
}
.leaflet-control-container .leaflet-control-attribution {
  display: none;
}
.leaflet-tooltip {
  font-size: 12px;
  background: var(--paper);
  border-color: var(--border);
  box-shadow: 0 3px 12px #223c381a;
  color: var(--ink);
  padding: 8px 12px;
}
.leaflet-interactive:focus-visible {
  outline: 3px solid var(--copper);
}
.sheet {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  z-index: 800;
  min-height: 0;
  border-right: 1px solid var(--border);
}
.sheet-controls {
  display: none;
}
.panel-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #c9cbbb transparent;
}
.panel-header {
  padding: 28px 26px 20px;
}
.panel-header .eyebrow {
  color: var(--copper);
  font-size: 10px;
}
.panel-header h1,
.panel-header h2 {
  font:
    38px/1.07 GuideSerif,
    Georgia,
    serif;
  letter-spacing: -1.1px;
  margin: 10px 0;
}
.panel-header .subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.day-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.day-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.day-meta svg {
  width: 15px;
  height: 15px;
}
.intro {
  font-size: 12px;
  line-height: 1.7;
  margin: 15px 0 0;
  color: #58665d;
}
.walk-toggle {
  padding: 0 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.walk-toggle label {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  cursor: pointer;
}
.walk-toggle input {
  width: 33px;
  height: 19px;
  accent-color: var(--teal);
  cursor: pointer;
}
.text-btn {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 8px 0;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 26px 8px;
  font-weight: 700;
}
.place-list {
  list-style: none;
  margin: 0;
  padding: 0 13px 8px;
}
.place-row {
  position: relative;
}
.place-row:before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: -1px;
  left: 31px;
  border-left: 1px dashed #bcc6b8;
}
.place-row:last-child:before {
  display: none;
}
.place-select {
  width: 100%;
  display: flex;
  text-align: left;
  gap: 14px;
  padding: 14px 13px;
  border-radius: 5px;
  align-items: flex-start;
  min-height: 80px;
}
.place-select:hover {
  background: #edeee3;
}
.place-select.active {
  background: #e5ebe1;
  box-shadow: inset 3px 0 var(--teal);
}
.list-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #bbc9bb;
  border-radius: 50%;
  font-size: 12px;
  background: var(--cream);
  color: var(--teal);
  position: relative;
  z-index: 1;
}
.list-number svg {
  width: 18px;
  height: 18px;
}
.place-select.active .list-number {
  color: var(--paper);
  background: var(--teal);
  border-color: var(--teal);
}
.place-info {
  flex: 1;
  min-width: 0;
}
.place-time {
  display: block;
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--copper);
  margin: 0 0 5px;
}
.place-name {
  display: block;
  font:
    20px/1.12 GuideSerif,
    Georgia,
    serif;
  letter-spacing: -0.3px;
}
.place-sub {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
}
.place-arrow {
  font-size: 21px;
  align-self: center;
}
.optional-label {
  font-size: 9px;
  color: var(--copper);
  margin-left: 4px;
}
.visited-check {
  font-weight: bold;
  color: var(--teal);
}
.location-pending {
  color: #865533;
}
.logistics {
  margin: 14px 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.logistics h3 {
  font-size: 11px;
  margin: 0 0 14px;
}
.logistic {
  display: grid;
  grid-template-columns: 87px 1fr;
  gap: 8px;
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
}
.logistic strong {
  color: var(--copper);
  font-weight: normal;
}
.notice {
  margin: 18px 26px;
  padding: 14px 15px;
  background: #eee8da;
  border-left: 2px solid var(--copper);
  font-size: 11px;
  line-height: 1.7;
}
.route-links {
  margin: 18px 26px;
}
.route-links h3 {
  font-size: 12px;
}
.route-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.5;
  gap: 10px;
}
.footnote {
  margin: 20px 26px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  padding: 7px 12px 8px;
  min-height: 76px;
}
.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  position: relative;
  min-height: 56px;
}
.bottom-nav button[aria-pressed="true"] {
  color: var(--teal);
  font-weight: bold;
}
.bottom-nav button[aria-pressed="true"]:after {
  content: "";
  height: 2px;
  width: 24px;
  background: var(--copper);
  position: absolute;
  bottom: 0;
}
.nav-count {
  position: absolute;
  top: 0;
  right: 15px;
  border-radius: 12px;
  padding: 2px 5px;
  background: var(--teal);
  color: white;
  font-size: 9px;
}
.pin-wrap {
  background: transparent;
  border: 0;
}
.pin {
  position: relative;
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px #223c3833;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin > span {
  transform: rotate(45deg);
  display: block;
  font-size: 12px;
  font-weight: bold;
}
.pin svg {
  width: 17px;
  height: 17px;
}
.pin.restaurant {
  background: var(--paper);
  color: var(--copper);
  border-color: var(--copper);
  border-radius: 50%;
}
.pin.hotel {
  background: var(--copper);
  border-radius: 5px;
}
.pin.pier {
  background: #365b73;
  border-radius: 5px;
}
.pin.active {
  background: var(--ink);
  outline: 3px solid #be8a5c;
  outline-offset: 3px;
  scale: 1.14;
}
.pin.visited:after {
  content: "✓";
  position: absolute;
  top: -7px;
  right: -7px;
  transform: rotate(45deg);
  background: var(--paper);
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  text-align: center;
  font-size: 11px;
}
.cluster {
  height: 44px;
  width: 44px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  color: white;
  box-shadow: 0 0 0 4px #174b4733;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}
.user-location {
  width: 20px;
  height: 20px;
  background: #3264a2;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #3264a233;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 26px 16px;
}
.filter-btn {
  border: 1px solid #ccd1c4;
  border-radius: 5px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 11px;
}
.filter-btn[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.layer-control {
  margin: 0 26px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12px;
}
.layer-control input {
  width: 19px;
  height: 19px;
  accent-color: var(--teal);
}
.empty {
  padding: 25px 26px;
  font-size: 13px;
  line-height: 1.8;
}
.empty svg {
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
}
.back-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 0;
}
.back-row button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.detail-header {
  padding-top: 15px;
}
.detail-header h1 {
  font-size: 35px;
}
.detail-body {
  padding: 0 26px 24px;
  font-size: 12px;
  line-height: 1.8;
}
.detail-body p {
  margin: 0 0 16px;
}
.why {
  font:
    italic 21px/1.4 GuideSerif,
    Georgia,
    serif;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-bottom: 18px;
}
.detail-facts dt {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.detail-facts dd {
  font-size: 12px;
  margin: 4px 0 0;
}
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 22px;
}
.action-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  font-size: 11px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  background: var(--paper);
}
.action-btn.primary {
  grid-column: 1/-1;
  background: var(--teal);
  border-color: var(--teal);
  color: var(--paper);
}
.action-btn[aria-pressed="true"] {
  background: #e2e9df;
  border-color: var(--teal);
}
.action-btn svg {
  width: 17px;
  height: 17px;
}
.detail-body h3 {
  font-size: 11px;
  margin: 20px 0 8px;
}
.detail-body .source-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 11px;
  margin-right: 12px;
}
.detail-body textarea {
  resize: vertical;
  min-height: 100px;
  width: 100%;
  border: 1px solid #b9c2b4;
  border-radius: 4px;
  background: var(--paper);
  padding: 12px;
  line-height: 1.6;
  color: var(--ink);
  font-size: 13px;
}
.note-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
.save-indicator {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}
.practical {
  padding: 0 26px 24px;
}
.practical details {
  border-top: 1px solid var(--border);
  padding: 0;
}
.practical summary {
  padding: 17px 0;
  cursor: pointer;
  font:
    20px/1.3 GuideSerif,
    Georgia,
    serif;
  min-height: 55px;
}
.practical details p,
.practical details li {
  font-size: 12px;
  line-height: 1.8;
}
.practical ul {
  padding-left: 18px;
}
.practical a {
  overflow-wrap: anywhere;
}
.checklist {
  list-style: none;
  padding: 0 !important;
}
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 7px 0;
  font-size: 12px;
}
.checklist input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--teal);
}
.transfer-schema {
  font-size: 12px !important;
  line-height: 2.1 !important;
  padding: 12px;
  background: var(--wash);
  border-left: 2px dashed var(--copper);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 180px);
  transform: translateX(-50%);
  z-index: 1800;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  padding: 14px 20px;
  box-shadow: 0 4px 15px #223c3833;
  max-width: calc(100% - 28px);
  border-radius: 5px;
  line-height: 1.6;
}
.noscript {
  position: fixed;
  z-index: 2000;
  inset: 30% 20px auto;
  background: var(--paper);
  padding: 30px;
  border: 2px solid var(--copper);
}
@media (min-width: 1500px) {
  .workspace {
    grid-template-columns: 430px 1fr;
  }
  .panel-header {
    padding: 32px;
  }
  .place-select {
    padding: 16px 19px;
  }
  .place-row:before {
    left: 37px;
  }
  .panel-header h1 {
    font-size: 43px;
  }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .tagline {
    display: none;
  }
  .masthead {
    padding: 0 22px;
  }
  .hotel-shortcut {
    margin-left: 0;
  }
  .workspace {
    grid-template-columns: 350px 1fr;
  }
  .day-btn {
    min-width: 90px;
    padding: 10px 15px;
  }
  .map-title {
    display: none;
  }
}
@media (max-width: 760px) {
  .masthead {
    height: 73px;
    padding: calc(env(safe-area-inset-top) + 5px) 17px 5px;
    gap: 9px;
  }
  .brand {
    font-size: 33px;
    letter-spacing: -1.5px;
    gap: 8px;
  }
  .brand-symbol {
    font-size: 31px;
  }
  .tagline,
  .hotel-shortcut {
    display: none;
  }
  .trip-dates {
    font-size: 9px;
    line-height: 1.7;
    text-align: right;
    letter-spacing: 0.1px;
  }
  .trip-dates .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
    max-width: 150px;
  }
  .day-nav {
    height: 62px;
    padding: 0 7px;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .day-btn {
    min-width: 0;
    flex: 1;
    padding: 7px 5px;
    gap: 2px;
    flex-direction: column;
    line-height: 1;
  }
  .day-btn .day-number {
    font-size: 22px;
  }
  .day-btn .day-word {
    font-size: 9px;
    text-align: center;
    line-height: 1.3;
  }
  .day-btn .day-word small {
    display: none;
  }
  .day-btn.all {
    min-width: 66px;
    max-width: 82px;
    font-size: 10px;
    gap: 4px;
  }
  .day-btn.all svg {
    width: 18px;
    height: 18px;
  }
  .day-btn[aria-pressed="true"]:after {
    left: 10px;
    right: 10px;
  }
  .workspace {
    height: calc(100dvh - 135px - env(safe-area-inset-top));
    min-height: 420px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(140px, 1fr) var(--sheet-height);
    --sheet-height: min(310px, 44%);
  }
  .masthead {
    height: calc(73px + env(safe-area-inset-top));
  }
  .map-region {
    grid-column: 1;
    grid-row: 1;
  }
  .map-title {
    top: 15px;
    left: 15px;
    padding: 8px 11px;
  }
  .map-title > span:last-child {
    font-size: 18px;
  }
  .map-title .eyebrow {
    font-size: 8px;
  }
  .map-toolbar {
    top: 12px;
    right: 12px;
    gap: 4px;
    display: grid;
    grid-template-columns: 44px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .map-toolbar button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 5px;
  }
  .map-toolbar button:nth-child(4),
  .map-toolbar button:nth-child(5) {
    display: none;
  }
  .map-bottom {
    bottom: 22px;
    left: 10px;
    padding: 7px 10px;
    max-width: calc(100% - 20px);
  }
  .legend {
    font-size: 9px;
    gap: 12px;
  }
  .line {
    width: 18px;
  }
  .map-bottom p {
    font-size: 8px;
    max-width: 260px;
    line-height: 1.5;
    margin-top: 4px;
  }
  .sheet {
    grid-column: 1;
    grid-row: 2;
    border: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 20px #223c3810;
    position: relative;
    margin-top: -9px;
    overflow: hidden;
  }
  .sheet-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 13px;
    height: 44px;
    min-height: 44px;
    position: relative;
    border-bottom: 1px solid #e4e4da;
  }
  .sheet-handle {
    position: absolute;
    left: calc(50% - 17px);
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: #c7c9be;
    top: 9px;
  }
  .sheet-controls button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    color: var(--muted);
  }
  .sheet-controls button[aria-pressed="true"] {
    color: var(--teal);
    background: #e5eadd;
    border-radius: 4px;
  }
  .sheet-controls svg {
    width: 17px;
    height: 17px;
  }
  .panel-header {
    padding: 15px 22px 12px;
  }
  .panel-header h1,
  .panel-header h2 {
    font-size: 32px;
    margin: 6px 0;
  }
  .panel-header .eyebrow {
    font-size: 8px;
  }
  .panel-header .subtitle {
    font-size: 11px;
  }
  .day-meta {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 10px;
  }
  .intro {
    font-size: 12px;
    margin-top: 12px;
  }
  .bottom-nav {
    min-height: 65px;
    padding: 3px 12px calc(5px + env(safe-area-inset-bottom));
  }
  .bottom-nav button {
    min-height: 54px;
    font-size: 9px;
    gap: 4px;
  }
  .bottom-nav svg {
    width: 20px;
    height: 20px;
  }
  .walk-toggle {
    padding: 0 22px 8px;
  }
  .place-list {
    padding: 0 9px 8px;
  }
  .place-select {
    padding: 12px 13px;
    gap: 12px;
    min-height: 78px;
  }
  .place-name {
    font-size: 21px;
  }
  .place-time {
    font-size: 10px;
  }
  .place-sub {
    font-size: 10px;
  }
  .place-row:before {
    left: 31px;
  }
  .map-credit {
    font-size: 9px;
  }
  .section-label {
    margin-left: 22px;
  }
  .logistics,
  .notice,
  .route-links,
  .footnote {
    margin-left: 22px;
    margin-right: 22px;
  }
  .detail-body,
  .practical {
    padding-left: 22px;
    padding-right: 22px;
  }
  .detail-header {
    padding-top: 10px;
  }
  .toast {
    bottom: calc(75px + env(safe-area-inset-bottom));
    left: 50%;
    width: max-content;
    max-width: calc(100% - 28px);
  }
  .workspace:has(.sheet[data-state="collapsed"]) {
    --sheet-height: calc(110px + env(safe-area-inset-bottom));
  }
  .workspace:has(.sheet[data-state="full"]) {
    --sheet-height: 73%;
  }
  .sheet[data-state="collapsed"] .panel-scroll {
    display: none;
  }
  .sheet[data-state="collapsed"] .sheet-controls {
    flex: 1;
  }
  .map-status {
    top: 10px;
    left: 10px;
    right: 65px;
    font-size: 11px;
    padding: 10px;
  }
  .workspace:has(.sheet[data-state="full"]) .map-title,
  .workspace:has(.sheet[data-state="full"]) .map-bottom {
    display: none;
  }
  .nav-count {
    right: 17px;
  }
  .filters {
    padding-left: 22px;
    padding-right: 22px;
  }
  .layer-control {
    margin-left: 22px;
    margin-right: 22px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .place-select,
  .filter-btn,
  .action-btn,
  .day-btn {
    transition:
      background 0.18s ease,
      color 0.18s ease;
  }
  .pin {
    transition: scale 0.18s ease;
  }
  .detail-header {
    animation: appear 0.2s ease;
  }
  @keyframes appear {
    from {
      opacity: 0.5;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Uzupełnienia po audycie dostępności. */
h1,
h2,
h3 {
  text-wrap: balance;
  overflow-wrap: break-word;
  scroll-margin-top: 18px;
}
.place-time,
.day-number,
.logistic strong {
  font-variant-numeric: tabular-nums;
}
.practical details > a,
.practical li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.action-btn:hover,
.bottom-nav button:hover {
  background: #e7ecdf;
}
.action-btn.primary:hover {
  background: #103c38;
}
.back-row button:hover,
.text-btn:hover {
  color: var(--copper);
}
.detail-body {
  font-size: 13px;
}
.intro {
  font-size: 13px;
}
.notice {
  font-size: 12px;
}
.logistic {
  font-size: 12px;
}
.practical details p,
.practical details li {
  font-size: 13px;
}
@media (max-width: 760px) {
  .detail-body,
  .intro,
  .practical details p,
  .practical details li {
    font-size: 14px;
  }
  .notice,
  .logistic {
    font-size: 13px;
  }
  .place-sub {
    font-size: 11px;
  }
  .place-time {
    font-size: 11px;
  }
  .workspace {
    grid-template-rows: minmax(120px, 1fr) var(--sheet-height);
  }
  .masthead,
  .day-nav,
  .bottom-nav {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .filter-btn,
  .text-btn,
  .walk-toggle,
  .action-btn {
    font-size: 12px;
  }
  .map-credit {
    max-width: 100%;
    font-size: 9px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
