.archive-doors {
  max-width: 1220px;
  padding: 12px var(--pad);
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.museum,
.dispatch-page {
  max-width: 1320px;
  margin: auto;
  padding: clamp(22px, 4vw, 56px) var(--pad) calc(86px + var(--radio-safe));
}
.museum-head,
.dispatch-head,
.museum-controls,
.museum-challenge,
.passport > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.museum h1,
.dispatch-page h1 {
  font: 700 clamp(3rem, 6vw, 5.6rem) / 0.95 var(--ll-display);
  margin: 4px 0 16px;
}
.museum h2,
.dispatch-page h2,
.museum h3 {
  font: 700 2rem/1.03 var(--ll-display);
  margin: 0;
}
.era-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
  border-bottom: 1px solid var(--edge);
}
.era-tabs button {
  min-height: 44px;
  padding: 8px 14px;
  color: var(--ll-muted);
}
.era-tabs button[aria-pressed='true'] {
  color: var(--ll-peach);
  box-shadow: inset 0 -3px var(--ll-peach);
}
.museum-exhibit {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background: var(--ll-asphalt);
  border: 1px solid var(--edge);
  border-radius: 12px;
  overflow: hidden;
}
.museum-cover {
  min-height: 335px;
  padding: clamp(20px, 3vw, 38px);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}
.museum-year {
  align-self: start;
  border: 1px solid #ead6b5;
  padding: 5px 13px;
  background: #202428eb;
  color: #ffe4c6;
  font: 500 1.1rem var(--ll-mono);
}
.museum-cover h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  text-shadow: 0 2px 8px #171320;
}
.museum-cover p {
  margin: 6px 0;
}
.museum-story,
.museum-challenge,
.dispatch-layout aside {
  padding: clamp(16px, 2.5vw, 32px);
}
.museum-story {
  align-self: center;
}
.museum-story a,
.dispatch-turn a {
  color: var(--ll-tide);
}
.museum-cast {
  color: var(--ll-peach);
  font-weight: 650;
}
.museum-challenge {
  margin: 16px 0;
  border: 1px solid var(--edge);
  border-left: 4px solid var(--ll-tide);
  border-radius: 7px;
}
.museum-challenge p,
.museum-head p,
.dispatch-head p {
  margin: 4px 0;
}
.museum-challenge > div {
  flex: 1;
  min-width: 200px;
}
.museum-controls {
  justify-content: flex-start;
}
.passport {
  margin-top: 36px;
}
.passport span,
.passport small {
  font: 0.8rem var(--ll-mono);
  color: var(--ll-muted);
}
.passport ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  list-style: none;
  padding: 0;
  gap: 8px;
}
.passport button {
  height: 100%;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  text-align: left;
  border-radius: 4px;
}
.passport small {
  display: block;
}
.passport button[aria-current='step'] {
  background: #37281F;
  border-color: var(--ll-peach);
}
.dispatch-head {
  min-height: 160px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 24px;
  padding-bottom: 20px;
}
.dispatch-wave {
  color: var(--ll-tide);
  letter-spacing: 0.08em;
  font-size: clamp(2rem, 5vw, 4rem);
}
.dispatch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(235px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.dispatch-layout aside,
#dispatch-form,
.dispatch-turn {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.dispatch-layout aside {
  display: grid;
  gap: 14px;
}
.dispatch-layout label,
.museum-head label {
  display: grid;
  gap: 6px;
  color: var(--ll-muted);
  font-size: 0.9rem;
}
.dispatch-layout select,
.museum-head select,
#dispatch-input {
  width: 100%;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--ll-ink);
  color: var(--ll-bone);
  padding: 10px;
  min-height: 44px;
}
.dispatch-layout .recall-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}
.recall-option input {
  width: 19px;
  height: 19px;
  flex: none;
}
#dispatch-form,
.dispatch-turn {
  padding: 18px;
  margin-bottom: 12px;
}
#dispatch-input {
  resize: vertical;
  margin: 7px 0 12px;
}
.dispatch-question {
  margin: 0 0 15px;
  font: 700 1.7rem/1.1 var(--ll-display);
}
.dispatch-answer {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.dispatch-prompts,
#dispatch-form > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dispatch-turn summary {
  cursor: pointer;
  color: var(--ll-muted);
}
.dispatch-turn > .button {
  margin-top: 12px;
}
@media (max-width: 720px) {
  .museum-exhibit,
  .dispatch-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .museum-cover {
    min-height: 230px;
  }
  .museum-story h3 {
    font-size: 1.7rem;
  }
  .museum-head {
    gap: 6px;
  }
  .era-tabs button {
    padding: 6px 8px;
    font-size: 0.84rem;
  }
  .dispatch-wave {
    display: none;
  }
  .dispatch-head {
    min-height: 100px;
  }
  .dispatch-layout {
    gap: 10px;
  }
  .museum-head label {
    width: 100%;
  }
  .dispatch-layout aside {
    order: 0;
  }
}
.city-return {
  margin-top: 28px;
}
.city-return > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
