/* Tour layout. Typography, colours, buttons and site chrome come from the shared design system. */
.mt-skip { position: absolute; left: 1rem; top: -5rem; z-index: 500; padding: .75rem 1rem; background: #fff; }
.mt-skip:focus { top: .5rem; }
.mt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mt :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.mt .mt-section { padding: 2rem 0 3rem; }
.mt-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.mt-toolbar > p { font-weight: 700; }
.mt-toolbar > p > span { font-weight: 400; color: var(--text-secondary); }
.mt-breadcrumbs { min-width: 0; }
.mt-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem; list-style: none; margin: 0; padding: 0; }
.mt-breadcrumbs li { display: flex; align-items: center; gap: .65rem; }
.mt-breadcrumbs li > span { color: var(--text-muted); }
.mt-breadcrumbs a { display: inline-block; padding: .35rem 0; white-space: nowrap; }
.mt-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mt-breadcrumbs a[aria-current="page"] { color: var(--text-primary); font-weight: 700; }
.mt-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: min-content 1fr; grid-template-areas: "copy visual" "notes visual"; column-gap: 3rem; row-gap: 1.5rem; align-content: center; padding: 3rem 0; min-height: 475px; }
.mt-copy { grid-area: copy; min-width: 0; }
.mt-copy > p { margin-top: 1.25rem; color: var(--text-secondary); }
.mt-visual { grid-area: visual; min-width: 0; align-self: center; }
.mt-notes { grid-area: notes; min-width: 0; }
.mt-points { padding: 0 0 0 1.2rem; margin: 0; list-style: disc; }
.mt-points li + li { margin-top: .5rem; }
.mt-package { margin-top: 1rem; color: var(--text-secondary); }
.mt-details { margin-top: 1rem; }
.mt-details h2 { font: inherit; font-weight: 700; margin: 0; }
.mt-details p { color: var(--text-secondary); margin-top: .75rem; }
.mt-visual figure { margin: 0; }
.mt-image-link { display: block; }
.mt-image-link img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.mt-visual figcaption { font-size: .875rem; line-height: 1.6; color: var(--text-muted); margin-top: .75rem; }
.mt-visual figcaption a, .mt-price-note a { text-decoration: underline; text-underline-offset: 3px; }
.mt-tour-cards { border-top: 1px solid var(--border); padding: 1.5rem 0 2rem; }
.mt-tour-cards h2, .mt-plan h2 { font: inherit; font-weight: 700; }
.mt-tour-cards ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 1.25rem 0 0; padding-left: 1.25rem; list-style: decimal; }
.mt-tour-cards li { padding-left: .5rem; }
.mt-tour-cards li p { color: var(--text-secondary); margin-top: .25rem; }
.mt-plan-list { border-top: 1px solid var(--border); }
.mt-plan { display: block; color: var(--text-primary); padding: 1rem; border-bottom: 1px solid var(--border); }
.mt-plan:hover { background: var(--bg-gray); color: var(--text-primary); }
.mt-plan h2 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.mt-plan p { color: var(--text-secondary); margin-top: .25rem; }
.mt-plan .mt-plan-hosting { font-size: .875rem; }
.mt-hosting { margin-top: 1.25rem; color: var(--text-secondary); }
.mt-price-note { font-size: .875rem; color: var(--text-muted); margin-top: .75rem; }
.mt-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.mt-back-count { display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; color: var(--text-secondary); }
.mt-controls .btn { min-height: 44px; }
@media (max-width: 900px) {
  .mt-stage { column-gap: 2rem; }
}
@media (max-width: 760px) {
  .mt-toolbar { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .mt-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "visual" "notes"; min-height: 0; padding: 2rem 0; gap: 1.5rem; }
  .mt-controls { gap: .75rem; }
  .mt-back-count { gap: .75rem; }
  .mt-controls .btn { padding-left: 1rem; padding-right: 1rem; }
  .mt-tour-cards ol { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
@media (max-width: 380px) {
  .mt-controls .btn { padding-left: .75rem; padding-right: .75rem; }
}
@media print {
  .mt-toolbar, .mt-controls { display: none; }
  .mt-stage { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "notes"; }
}
