:root {
  --background: #f6f0e7;
  --background-alt: #fbf7f1;
  --foreground: #2f241c;
  --muted-foreground: #7a6756;
  --border: #c9b79f;
  --accent: #c6a55b;
  --accent-secondary: #8e2f3f;
  --accent-tertiary: #6d8a96;
  --paper-shadow: 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 30px rgba(88, 62, 28, 0.08);
  --lift-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 16px 36px rgba(73, 49, 23, 0.14);
  --brass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(111, 78, 20, 0.22), 0 4px 12px rgba(163, 123, 45, 0.18);
  --edge-glow: 0 0 0 1px rgba(198, 165, 91, 0.18), 0 8px 24px rgba(198, 165, 91, 0.12);
  --radius: 6px;
  --radius-soft: 10px;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Crimson Pro", serif;
  --font-display: "Cinzel", serif;
  --page-width: min(1240px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(109, 138, 150, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(124, 106, 166, 0.14), transparent 24%),
    radial-gradient(circle at 80% 76%, rgba(142, 47, 63, 0.12), transparent 22%),
    radial-gradient(ellipse at center, transparent 0%, transparent 64%, rgba(190, 160, 110, 0.08) 100%),
    var(--background);
  min-height: 100vh;
  position: relative;
}

[lang="zh-CN"] {
  font-family: "XiangcuiChaoxisong", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(73, 49, 23, 0.045) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.32) 0.8px, transparent 0.8px);
  background-size: 18px 18px, 24px 24px;
  background-position: 0 0, 7px 9px;
  opacity: 0.16;
  mix-blend-mode: multiply;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.site-backdrop::before,
.site-backdrop::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.4;
  animation: drift 18s ease-in-out infinite alternate;
}

.site-backdrop::before {
  width: 30rem;
  height: 30rem;
  top: 8%;
  left: -7rem;
  background: rgba(198, 165, 91, 0.18);
}

.site-backdrop::after {
  width: 26rem;
  height: 26rem;
  right: -5rem;
  bottom: 12%;
  background: rgba(109, 138, 150, 0.18);
  animation-duration: 24s;
}

.site-header,
.planned-shell,
.transport-dialog {
  position: relative;
  z-index: 1;
}

.site-header {
  width: var(--page-width);
  margin: 0 auto;
  padding: 1.25rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #b94b5e 0%, #8e2f3f 55%, #6f1e2c 100%);
  color: #f8efe4;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), inset 0 -2px 5px rgba(78, 18, 28, 0.24), 0 8px 16px rgba(90, 24, 36, 0.16);
}

.brand-overline,
.document-label,
.volume-label,
.section-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, var(--muted-foreground) 30%);
}

.brand-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  margin-top: 0.1rem;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 8px rgba(198, 165, 91, 0.08);
}

.brand-title :lang(en) {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 2rem);
}

.brand-title :lang(zh-CN) {
  font-size: clamp(1rem, 0.92rem + 0.38vw, 1.24rem);
}

.label-divider {
  display: inline-block;
  margin-inline: 0.5rem;
  color: rgba(122, 103, 86, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.site-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  transform: scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.planned-shell {
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero {
  display: grid;
  align-items: center;
}

.planned-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.88fr);
  gap: clamp(2.25rem, 6vw, 6rem);
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
}

.planned-hero .hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.planned-hero-kicker {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.4rem);
  width: min(100%, 56rem);
}

.planned-hero-kicker .volume-label {
  flex: 0 0 auto;
}

.planned-counter-sigil {
  position: relative;
  flex: 1 1 12rem;
  min-width: 8.5rem;
  max-width: 15rem;
  height: 1.5rem;
  opacity: 0.92;
}

.planned-counter-sigil-line {
  position: absolute;
  left: 0;
  right: 2.25rem;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background:
    linear-gradient(
      90deg,
      rgba(198, 165, 91, 0.08) 0%,
      rgba(198, 165, 91, 0.5) 34%,
      rgba(127, 93, 43, 0.7) 50%,
      rgba(198, 165, 91, 0.5) 68%,
      rgba(198, 165, 91, 0.08) 100%
    );
  background-size: 180% 100%;
  animation: none;
}

.planned-counter-sigil-glyph,
.planned-counter-sigil-orbit {
  position: absolute;
  top: calc(50% - 0.8rem);
  right: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
}

.planned-counter-sigil-glyph {
  border: 1px solid rgba(198, 165, 91, 0.62);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 252, 246, 0.88) 0%, rgba(255, 252, 246, 0.34) 32%, transparent 60%),
    radial-gradient(circle at 34% 28%, rgba(198, 165, 91, 0.28), transparent 52%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 18px rgba(198, 165, 91, 0.14);
}

.planned-counter-sigil-glyph::before,
.planned-counter-sigil-glyph::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.planned-counter-sigil-glyph::before {
  inset: 0.22rem;
  border: 1px solid rgba(138, 111, 63, 0.48);
}

.planned-counter-sigil-glyph::after {
  left: 50%;
  top: 50%;
  width: 0.2rem;
  height: 0.2rem;
  transform: translate(-50%, -50%);
  background: rgba(128, 96, 45, 0.92);
}

.planned-counter-sigil-core {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  transform: translate(50%, -50%);
  background: rgba(198, 165, 91, 0.96);
  box-shadow: 0 0 0 0 rgba(198, 165, 91, 0.34);
  animation: none;
}

.planned-counter-sigil-orbit {
  animation: none;
}

.planned-counter-sigil-orbit::before,
.planned-counter-sigil-orbit::after {
  content: "";
  position: absolute;
}

.planned-counter-sigil-orbit::before {
  inset: -0.1rem;
  border-radius: 999px;
  border: 1px dashed rgba(177, 144, 81, 0.42);
}

.planned-counter-sigil-orbit::after {
  left: 50%;
  top: -0.12rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 248, 235, 0.94);
  box-shadow:
    0 0 0 1px rgba(198, 165, 91, 0.62),
    0 0 10px rgba(198, 165, 91, 0.22);
}

.hero-title {
  display: grid;
  gap: 0.82rem;
  margin: 0.2rem 0 0;
}

.hero-title-en {
  font-family: var(--font-heading);
  font-size: clamp(1.72rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-style: italic;
  color: color-mix(in srgb, var(--foreground) 90%, var(--accent) 10%);
  -webkit-text-stroke: 1px rgba(110, 80, 34, 0.16);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78),
    0 2px 0 rgba(255, 255, 255, 0.42),
    0 8px 20px rgba(198, 165, 91, 0.12),
    0 0 18px rgba(198, 165, 91, 0.06);
  animation: titleLuster 7s ease-in-out infinite;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: -0.06em;
}

.hero-title-cn {
  font-size: clamp(1.75rem, 1.45rem + 1vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--foreground) 78%, var(--accent) 22%);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.68),
    0 5px 14px rgba(198, 165, 91, 0.1);
  animation: titleLuster 8.5s ease-in-out infinite;
}

.hero-lede,
.hero-subcopy {
  margin: 0;
  font-size: clamp(1.05rem, 0.98rem + 0.28vw, 1.18rem);
  line-height: 1.72;
  color: color-mix(in srgb, var(--foreground) 86%, white 14%);
}

.hero-lede {
  margin-top: 1.5rem;
  max-width: 37rem;
}

.hero-subcopy {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--muted-foreground);
}

.drop-cap {
  float: left;
  margin: 0.15rem 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5rem + 2vw, 4.8rem);
  line-height: 0.78;
  color: var(--accent);
  text-shadow: 2px 2px 6px rgba(120, 90, 25, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.planned-reset-button {
  border-color: rgba(142, 47, 63, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 235, 224, 0.72)),
    color-mix(in srgb, white 84%, rgba(142, 47, 63, 0.06) 16%);
}

.planned-reset-button:hover,
.planned-reset-button:focus-visible {
  border-color: rgba(142, 47, 63, 0.32);
  color: color-mix(in srgb, var(--foreground) 86%, var(--accent-secondary) 14%);
}

.button-ghost {
  border-color: transparent;
  padding-inline: 0;
  color: color-mix(in srgb, var(--accent) 70%, var(--foreground) 30%);
  background: transparent;
  box-shadow: none;
}

.button-ghost::after {
  display: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.planned-hero-stepper {
  align-self: center;
  width: min(100%, 33rem);
  min-height: 31rem;
  padding: clamp(1.35rem, 2.6vw, 1.8rem);
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(109, 138, 150, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--background-alt), color-mix(in srgb, #efe4d6 74%, white 26%));
  box-shadow: var(--lift-shadow);
}

.planned-hero .hero-title-cn,
.planned-hero .hero-subcopy,
.planned-hero .volume-label :lang(zh-CN),
.planned-hero .button :lang(zh-CN),
.planned-hero .document-label :lang(zh-CN),
.planned-hero .stepper-list li span:lang(zh-CN),
.planned-hero .stepper-note p:lang(zh-CN) {
  font-family: "XiangcuiChaoxisong", serif;
}

.transport-step-shell {
  display: grid;
  gap: 0;
}

.planned-shell[data-page-mode="transport"] .ticket-step-shell {
  display: none !important;
}

.planned-shell[data-page-mode="transport"] #ticketTemplateStepShell {
  display: none !important;
}

.planned-shell[data-page-mode="ticket"] .transport-step-shell {
  display: none;
}

.planned-shell[data-page-mode="ticket"] #ticketTemplateStepShell {
  display: none;
}

.planned-shell[data-page-mode="ticket"] .ticket-step-shell {
  margin-top: 0;
}

.intro-panel,
.transport-section,
.selection-slip,
.dialog-panel,
.transport-card,
.stepper-card {
  position: relative;
  border: 1px solid rgba(201, 183, 159, 0.88);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--background-alt), color-mix(in srgb, #efe4d6 74%, white 26%));
  box-shadow: var(--paper-shadow);
}

.ornamented::before,
.ornamented::after {
  content: "❦";
  position: absolute;
  color: rgba(198, 165, 91, 0.55);
  font-size: 1rem;
  line-height: 1;
}

.ornamented::before { top: 0.8rem; left: 0.9rem; }
.ornamented::after { right: 0.9rem; bottom: 0.8rem; }

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2rem);
  justify-items: start;
  align-content: center;
  min-height: calc(100vh - 8.5rem);
  padding: clamp(1.7rem, 3.2vw, 2.5rem);
}

.intro-copy {
  width: min(100%, 58rem);
}

.page-title,
.transport-card h3,
.selection-slip h3,
.dialog-head h2,
.section-header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42), 0 1px 8px rgba(198, 165, 91, 0.08);
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin-top: 0.55rem;
}

.dual-stack {
  display: grid;
  gap: 0.3rem;
}

.dual-stack :lang(zh-CN) {
  font-size: 0.68em;
  line-height: 1.22;
}

.page-lede,
.page-subcopy,
.section-header p,
.selection-empty p,
.selection-description,
.dialog-block p,
.selection-footnote {
  margin: 0;
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.12rem);
  line-height: 1.74;
}

.page-lede { margin-top: 1.2rem; max-width: 38rem; }
.page-subcopy { margin-top: 0.85rem; max-width: 40rem; color: var(--muted-foreground); }

.stepper-card {
  justify-self: start;
  width: min(100%, 42rem);
  padding: 1.2rem 1.3rem 1.35rem;
}
.stepper-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.stepper-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 183, 159, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)), color-mix(in srgb, #f3eadf 86%, white 14%);
}
.stepper-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.4);
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--accent);
}
.stepper-list li div { display: grid; gap: 0.16rem; }
.stepper-list li span[lang="en"] { font-family: var(--font-display); font-size: 0.73rem; letter-spacing: 0.15em; text-transform: uppercase; }
.stepper-list li.is-current { border-color: rgba(198, 165, 91, 0.55); box-shadow: var(--edge-glow); }
.stepper-note { margin-top: 1rem; padding-top: 0.95rem; border-top: 1px solid rgba(201, 183, 159, 0.54); display: grid; gap: 0.55rem; }
.stepper-note p { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--muted-foreground); }

.ornate-divider { display: flex; align-items: center; gap: 1rem; margin: clamp(2rem, 5vw, 3.25rem) 0; }
.ornate-divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 183, 159, 0.72) 18%, rgba(198, 165, 91, 0.92) 50%, rgba(201, 183, 159, 0.72) 82%, transparent 100%);
}
.ornate-divider b {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--background-alt);
  color: var(--accent);
  box-shadow: var(--paper-shadow);
}

.selection-main { display: grid; gap: 1.5rem; }
.transport-section { padding: 1.3rem; }
.transport-section-special {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, color-mix(in srgb, #eef1f3 45%, var(--background-alt) 55%), color-mix(in srgb, #efe4d6 74%, white 26%));
}
.section-header { max-width: 54rem; margin-bottom: 1.25rem; }
.section-header h2 { font-size: clamp(2rem, 3vw, 3rem); margin-top: 0.45rem; }
.section-header p:last-child { margin-top: 0.9rem; color: var(--muted-foreground); }

.transport-grid { display: grid; gap: 1rem; }
.transport-grid-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.transport-grid-special { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.transport-card {
  --card-accent: rgba(198, 165, 91, 0.22);
  width: 100%;
  text-align: left;
  padding: 1.15rem;
  cursor: pointer;
  transition: transform 300ms ease-out, box-shadow 300ms ease-out, border-color 300ms ease-out;
}

.transport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--card-accent), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.transport-card:hover,
.transport-card:focus-visible,
.transport-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(198, 165, 91, 0.7);
  box-shadow: var(--paper-shadow), var(--edge-glow);
}

.transport-card-head,
.transport-card-meta,
.selection-slip-head,
.dialog-head,
.selection-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.transport-card-head { margin-bottom: 0.85rem; }
.transport-card h3 { font-size: 2rem; margin-top: 0.22rem; }
.transport-en {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.transport-code,
.dialog-chip,
.summary-stamp,
.selection-chip,
.dialog-style-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.38);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 74%, var(--accent) 26%);
}

.transport-description {
  min-height: 4.65rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
}

.transport-card-meta { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(201, 183, 159, 0.52); align-items: center; }
.transport-card-meta dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; flex: 1; }
.transport-card-meta dt,
.selection-meta dt,
.selection-impact h4,
.dialog-block h3,
.dialog-metadata dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.transport-card-meta dd,
.selection-meta dd,
.selection-impact p,
.dialog-metadata dd,
.dialog-list li {
  margin: 0.3rem 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.transport-mode {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 72%, var(--muted-foreground) 28%);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 165, 91, 0.65);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 300ms ease-out, box-shadow 300ms ease-out, background 300ms ease-out, color 300ms ease-out, opacity 300ms ease-out;
}

.button::after {
  content: "";
  position: absolute;
  top: -28%;
  bottom: -28%;
  left: -32%;
  width: 34%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: skewX(-22deg) translateX(-240%);
  opacity: 0;
  transition: transform 700ms ease-out, opacity 300ms ease-out;
  pointer-events: none;
}

.button:hover::after,
.button:focus-visible::after { transform: skewX(-22deg) translateX(420%); opacity: 0.8; }
.button:hover,
.button:focus-visible { transform: translateY(-1px); }

.button-primary {
  color: #2a211a;
  background: linear-gradient(180deg, #d7bc7a 0%, #c6a55b 52%, #ae8b43 100%);
  box-shadow: var(--brass-shadow);
}
.button-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.button-primary:disabled::after { display: none; }

.button-secondary {
  color: var(--foreground);
  background: color-mix(in srgb, var(--background-alt) 76%, transparent 24%);
  box-shadow: var(--paper-shadow);
}
.button-secondary:hover,
.button-secondary:focus-visible {
  color: #f8f0e6;
  background: linear-gradient(180deg, #a44759 0%, #8e2f3f 100%);
  border-color: rgba(142, 47, 63, 0.7);
}

.planned-hero .button-ghost {
  border-color: transparent;
  padding-inline: 0;
  color: color-mix(in srgb, var(--accent) 70%, var(--foreground) 30%);
  background: transparent;
  box-shadow: none;
}

.planned-hero .button-ghost::after {
  display: none;
}

.planned-hero .button-ghost:hover,
.planned-hero .button-ghost:focus-visible {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.transport-dialog {
  border: 0;
  padding: 0;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(54rem, calc(100vw - 1.25rem));
  max-width: none;
  max-height: calc(100dvh - 1rem);
  background: transparent;
}

.transport-dialog::backdrop {
  background: rgba(28, 21, 16, 0.4);
  backdrop-filter: blur(6px);
}

.dialog-panel {
  padding: 1.35rem;
  box-shadow: var(--lift-shadow);
  max-height: calc(100dvh - 1rem);
  overflow: auto;
}

.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.34);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.dialog-head { padding-right: 2.8rem; }
.dialog-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 0.45rem; }
.dialog-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  align-items: flex-start;
  align-self: flex-start;
}
.dialog-chip {
  flex: 0 0 auto;
  height: 2rem;
  min-height: 2rem;
  line-height: 1;
  white-space: nowrap;
}
.dialog-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.3rem; margin-top: 1rem; }
.dialog-column { display: grid; gap: 1rem; }
.dialog-block { padding-top: 0.9rem; border-top: 1px solid rgba(201, 183, 159, 0.56); }
.dialog-metadata { margin: 0.8rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1rem; }
.dialog-list { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.dialog-style-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.8rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 0.85rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(201, 183, 159, 0.56); }

.is-hidden {
  display: none !important;
}

.stepper-list li.is-done {
  border-color: rgba(198, 165, 91, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    color-mix(in srgb, #efe4d6 82%, white 18%);
}

.ticket-step-shell {
  margin-top: 2rem;
  padding: clamp(1.3rem, 3vw, 1.85rem);
}

.ticket-template-stage {
  display: grid;
  gap: 1.2rem;
}

.ticket-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1rem;
}

.ticket-template-card {
  --ticket-template-accent: rgba(198, 165, 91, 0.08);
  position: relative;
  display: grid;
  gap: 0.75rem;
  width: 100%;
  min-height: 11.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(201, 183, 159, 0.72);
  border-radius: calc(var(--radius-soft) - 1px);
  background:
    radial-gradient(circle at top right, var(--ticket-template-accent), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    rgba(251, 247, 241, 0.84);
  box-shadow: var(--paper-shadow);
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.ticket-template-card:hover,
.ticket-template-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(198, 165, 91, 0.72);
  box-shadow: var(--paper-shadow), var(--edge-glow);
}

.ticket-template-card.is-active {
  border-color: rgba(198, 165, 91, 0.84);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--ticket-template-accent) 74%, rgba(198, 165, 91, 0.12) 26%), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--surface-warm-alt) 76%, white 24%);
  box-shadow: var(--paper-shadow), var(--edge-glow);
}

.ticket-template-card.is-recommended:not(.is-active) {
  border-color: rgba(198, 165, 91, 0.52);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--ticket-template-accent) 68%, rgba(198, 165, 91, 0.1) 32%), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0)),
    rgba(251, 247, 241, 0.88);
}

.ticket-template-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.ticket-template-card-code {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.ticket-template-card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.28rem;
  line-height: 1.08;
}

.ticket-template-card-title small {
  display: block;
  margin-top: 0.18rem;
  font-family: "XiangcuiChaoxisong", serif;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--muted-foreground);
}

.ticket-template-card-copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.ticket-template-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.ticket-template-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.32);
  background: rgba(255, 252, 247, 0.78);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 76%, var(--accent) 24%);
}

.ticket-template-card-badge.is-mode {
  border-color: rgba(109, 138, 150, 0.26);
}

.ticket-template-card-badge.is-recommended {
  border-color: rgba(198, 165, 91, 0.54);
  background: color-mix(in srgb, white 72%, rgba(198, 165, 91, 0.18) 28%);
  color: color-mix(in srgb, var(--foreground) 70%, var(--accent) 30%);
}

.workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.workspace-copy-block {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.workspace-title {
  max-width: 48rem;
}

.workspace-title :lang(en) {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.workspace-copy {
  margin: 0;
  max-width: 42rem;
  font-size: 1.03rem;
  line-height: 1.72;
}

.workspace-head-actions {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.ticket-step-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem 1.2rem;
  align-items: start;
}

.ticket-editor-pane,
.ticket-preview-pane {
  border: 1px solid rgba(201, 183, 159, 0.88);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--background-alt), color-mix(in srgb, #efe4d6 74%, white 26%));
  box-shadow: var(--paper-shadow);
  padding: 1rem;
}

.ticket-editor-form {
  display: grid;
  gap: 0.95rem;
}

.editor-section {
  border: 1px solid rgba(201, 183, 159, 0.7);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--background-alt) 82%, #efe4d6 18%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 1rem;
}

.editor-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.ticket-step-shell .editor-section-head .document-label,
.ticket-step-shell .preview-pane-head .document-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.ticket-step-shell .editor-section-head .document-label [lang="en"],
.ticket-step-shell .preview-pane-head .document-label [lang="en"],
.ticket-step-shell .editor-section-title :lang(en),
.ticket-step-shell .preview-pane-title :lang(en) {
  display: none;
}

.ticket-step-shell .editor-section-head .document-label .label-divider,
.ticket-step-shell .preview-pane-head .document-label .label-divider {
  display: none;
}

.editor-section-title,
.preview-pane-title {
  margin: 0.22rem 0 0;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.08;
}

.editor-section-title :lang(en),
.preview-pane-title :lang(en) {
  font-size: 1.6rem;
}

.editor-section-title :lang(zh-CN),
.preview-pane-title :lang(zh-CN) {
  font-size: 0.96rem;
  line-height: 1.3;
}

.selection-summary-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 165, 91, 0.34);
  background:
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.selection-summary-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 68%, var(--muted-foreground) 32%);
}

.selection-summary-card h4 {
  margin: 0.45rem 0 0;
}

.selection-summary-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.field-span-2 {
  grid-column: 1 / -1;
}

.field-stack {
  display: grid;
  gap: 0.38rem;
}

.field-stack[hidden] {
  display: none !important;
}

.field-stack > span,
.field-group-title,
.field-group-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.field-template-note {
  display: inline-flex;
  align-items: center;
  margin-left: 0.28rem;
  min-height: 0;
  padding: 0;
  color: color-mix(in srgb, var(--accent-secondary) 76%, var(--foreground) 24%);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.field-template-note[hidden] {
  display: none !important;
}

.field-stack.is-template-muted > span {
  color: color-mix(in srgb, var(--accent-secondary) 42%, var(--muted-foreground) 58%);
}

.field-stack.is-template-muted input,
.field-stack.is-template-muted textarea,
.field-stack.is-template-muted select {
  border-style: dashed;
  border-color: rgba(142, 47, 63, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    color-mix(in srgb, var(--background-alt) 80%, rgba(142, 47, 63, 0.06) 20%);
}

.field-stack input,
.field-stack textarea,
.field-stack select {
  width: 100%;
  min-height: 3rem;
  padding: 0.78rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 183, 159, 0.88);
  background: linear-gradient(180deg, #fbf7f1, #f3eadf);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.field-stack textarea {
  resize: vertical;
  min-height: 6.2rem;
}

.field-shell-hint {
  margin-top: -0.12rem;
  color: var(--muted-foreground);
  font-size: 0.84rem;
  line-height: 1.5;
}

.field-stack input:focus-visible,
.field-stack textarea:focus-visible,
.field-stack select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 76%, white 24%);
  outline-offset: 1px;
}

.field-hint {
  margin: 0.85rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.64;
}

.template-guide {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 165, 91, 0.28);
  background:
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    color-mix(in srgb, var(--background-alt) 84%, #efe4d6 16%);
}

.template-guide-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: color-mix(in srgb, var(--foreground) 84%, var(--muted-foreground) 16%);
}

.template-guide-group {
  display: grid;
  gap: 0.55rem;
}

.template-guide-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.template-guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.template-guide-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 183, 159, 0.72);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground) 18%);
}

.template-guide-chip.is-visible {
  border-color: rgba(198, 165, 91, 0.44);
  background: color-mix(in srgb, #fbf7f1 72%, rgba(198, 165, 91, 0.12) 28%);
}

.template-guide-chip.is-retained {
  border-color: rgba(109, 138, 150, 0.34);
  background: color-mix(in srgb, #fbf7f1 72%, rgba(109, 138, 150, 0.14) 28%);
}

.style-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.style-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.36);
  background: rgba(255, 255, 255, 0.48);
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 300ms ease-out, box-shadow 300ms ease-out, border-color 300ms ease-out, background 300ms ease-out;
}

.style-pill:hover,
.style-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--edge-glow);
}

.style-pill.is-active {
  color: #2a211a;
  border-color: rgba(198, 165, 91, 0.72);
  background: linear-gradient(180deg, #d7bc7a 0%, #c6a55b 52%, #ae8b43 100%);
  box-shadow: var(--brass-shadow);
}

.preview-pane-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.preview-pane-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.preview-pane-actions .button {
  min-height: 2.85rem;
}

.preview-stage {
  margin-top: 1rem;
  padding: 0.95rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.74);
  background:
    radial-gradient(circle at top left, rgba(109, 138, 150, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(198, 165, 91, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(243, 234, 223, 0.9));
  min-height: 36rem;
}

html[data-pw-export] {
  --font-heading: "Cormorant Garamond", "Noto Serif SC", "XiangcuiChaoxisong", "Songti SC", serif;
  --font-body: "Crimson Pro", "Noto Serif SC", "XiangcuiChaoxisongW15", "Songti SC", serif;
  --font-display: "Cinzel", "Cormorant Garamond", "Noto Serif SC", "XiangcuiChaoxisong", serif;
  --tech-display: "Orbitron", "Cinzel", "Noto Serif SC", "XiangcuiChaoxisong", serif;
  --tech-body: "Chakra Petch", "Archivo", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --tech-cn: "Noto Sans SC", "XiangcuiChaoxisongW15", "PingFang SC", "Microsoft YaHei", sans-serif;
  --flat-sans: "Archivo", "Noto Sans SC", "XiangcuiChaoxisongW15", sans-serif;
  --retro-type: "ZhaohuaTypeWriter Light", "Special Elite", "Courier New", monospace;
  --retro-display: "Girassol", "ZhaohuaTypeWriter Light", "XiangcuiChaoxisongW15", serif;
  --serif-display-en: "Bodoni Moda", "Cormorant Garamond", serif;
  --serif-display-zh: "XiangcuiChaoxisong", "Noto Serif SC", "Songti SC", serif;
  --serif-copy: "Noto Serif SC", "XiangcuiChaoxisongW15", "Songti SC", serif;
  --pixel-sans: "Cubic 11", "Noto Sans SC", "XiangcuiChaoxisongW15", "Microsoft YaHei", sans-serif;
  --pixel-mono: "QuanPixel 8px", "Cubic 11", "ZhaohuaTypeWriter Light", monospace;
  --pixel-display: "Jersey 20", "QuanPixel 8px", "Cubic 11", "ZhaohuaTypeWriter Light", sans-serif;
  --special-huiwen-font: "Huiwen-MinchoGBK", "XiangcuiChaoxisong", "Songti SC", "SimSun", serif;
  --special-arcane-font: "Bodoni Moda", "Noto Serif SC", "XiangcuiChaoxisong", Georgia, serif;
  --special-data-sans: "Chakra Petch", "Noto Sans SC", "XiangcuiChaoxisongW15", sans-serif;
  --special-data-mono: "Share Tech Mono", "ZhaohuaTypeWriter Light", monospace;
  --special-abyss-sans: "Italiana", "Noto Serif SC", "XiangcuiChaoxisong", serif;
  --special-abyss-mono: "Space Mono", "ZhaohuaTypeWriter Light", monospace;
  --special-abyss-zh: "XiangcuiChaoxisong", "Noto Serif SC", "Songti SC", serif;
  --special-evac-font-body: "Special Elite", "ZhaohuaTypeWriter Light", monospace;
  --special-evac-font-zh: "ZhaohuaTypeWriter Light", "Huiwen-Zhengkai", "Noto Serif SC", "XiangcuiChaoxisongW15", serif;
  --special-evac-font-mono: "Special Elite", "ZhaohuaTypeWriter Light", monospace;
}

html[data-pw-export] body {
  background: transparent !important;
}

html[data-pw-export] body::before,
html[data-pw-export] .site-backdrop {
  display: none !important;
}

html[data-pw-export] #voyagerPwExportSurface,
html[data-pw-export] #voyagerPwExportSurface * {
  text-rendering: geometricPrecision;
}

html[data-pw-export] #voyagerPwExportSurface .preview-stage,
html[data-pw-export] #voyagerPwExportSurface .ticket-preview-host,
html[data-pw-export] #voyagerPwExportSurface .plan-preview-host,
html[data-pw-export] #voyagerPwExportSurface .packing-preview-host {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-pw-export] #voyagerPwExportSurface :is(
  .tech-train-ticket,
  .tech-ship-ticket,
  .tech-flight-ticket,
  .tech-bus-ticket,
  .retro-train-ticket,
  .retro-ship-ticket,
  .retro-flight-ticket,
  .retro-bus-ticket,
  .flat-train-ticket,
  .flat-ship-ticket,
  .flat-flight-ticket,
  .flat-bus-ticket,
  .serif-train-ticket,
  .serif-ship-ticket,
  .serif-flight-ticket,
  .serif-bus-ticket,
  .pixel-standard-ticket,
  .pixel-traditional-ticket
)[data-export-artifact="ticket"] {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-pw-export] #voyagerPwExportSurface :is(
  .tech-train-ticket,
  .tech-ship-ticket,
  .tech-flight-ticket,
  .tech-bus-ticket,
  .retro-train-ticket,
  .retro-ship-ticket,
  .retro-flight-ticket,
  .retro-bus-ticket,
  .pixel-standard-ticket,
  .pixel-traditional-ticket
)[data-export-artifact="ticket"]::before,
html[data-pw-export] #voyagerPwExportSurface :is(
  .tech-train-ticket,
  .tech-ship-ticket,
  .tech-flight-ticket,
  .tech-bus-ticket,
  .retro-train-ticket,
  .retro-ship-ticket,
  .retro-flight-ticket,
  .retro-bus-ticket,
  .pixel-standard-ticket,
  .pixel-traditional-ticket
)[data-export-artifact="ticket"]::after {
  display: none !important;
}

.ticket-preview-host {
  width: 100%;
  min-width: 0;
}

.ticket-preview-host [lang="en"],
.ticket-preview-host [lang="zh-CN"] {
  font-family: inherit;
}

.ticket-preview-host:empty {
  min-height: 33rem;
  display: grid;
  place-items: center;
  color: var(--muted-foreground);
}

.ticket-preview-host:empty::before {
  content: "Select a passage to start the ticket preview. / 先在上方选定交通方式。";
  max-width: 20rem;
  text-align: center;
  line-height: 1.7;
}

.planned-shell[data-page-mode="plan"] .transport-step-shell,
.planned-shell[data-page-mode="plan"] #ticketStepShell,
.planned-shell[data-page-mode="plan"] #ticketTemplateStepShell,
.planned-shell[data-page-mode="plan"] #packingStepShell {
  display: none;
}

.planned-shell[data-page-mode="plan"] #planStepShell {
  display: block;
  margin-top: 0;
}

.planned-shell[data-page-mode="ticket-template"] .transport-step-shell,
.planned-shell[data-page-mode="ticket-template"] #ticketStepShell,
.planned-shell[data-page-mode="ticket-template"] #planStepShell,
.planned-shell[data-page-mode="ticket-template"] #packingStepShell {
  display: none;
}

.planned-shell[data-page-mode="ticket-template"] #ticketTemplateStepShell {
  display: block;
  margin-top: 0;
}

.planned-shell[data-page-mode="packing"] .transport-step-shell,
.planned-shell[data-page-mode="packing"] #ticketStepShell,
.planned-shell[data-page-mode="packing"] #ticketTemplateStepShell,
.planned-shell[data-page-mode="packing"] #planStepShell {
  display: none;
}

.planned-shell[data-page-mode="packing"] #packingStepShell {
  display: block;
  margin-top: 0;
}

.plan-preview-host {
  width: 100%;
  min-width: 0;
}

.plan-preview-host [lang="en"],
.plan-preview-host [lang="zh-CN"] {
  font-family: inherit;
}

.plan-preview-host:empty {
  min-height: 33rem;
  display: grid;
  place-items: center;
  color: var(--muted-foreground);
}

.plan-preview-host:empty::before {
  content: "Select a module or fill the cover to start the folio preview. / 先编辑封面与模块以生成册页预览。";
  max-width: 22rem;
  text-align: center;
  line-height: 1.7;
}

.packing-preview-host {
  width: 100%;
  min-width: 0;
}

.packing-preview-host [lang="en"],
.packing-preview-host [lang="zh-CN"] {
  font-family: inherit;
}

.packing-preview-host:empty {
  min-height: 33rem;
  display: grid;
  place-items: center;
  color: var(--muted-foreground);
}

.packing-preview-host:empty::before {
  content: "Choose presets or add custom carry items to start the packing preview. / 先选预设物品或补自定义条目以生成清单预览。";
  max-width: 22rem;
  text-align: center;
  line-height: 1.7;
}

.plan-module-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.plan-module-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.plan-module-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
}

.plan-module-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.72);
  background: rgba(255, 255, 255, 0.58);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 300ms ease-out, box-shadow 300ms ease-out, border-color 300ms ease-out, background 300ms ease-out;
}

.plan-module-card:hover,
.plan-module-card:focus-visible,
.plan-module-row.is-active .plan-module-card {
  transform: translateY(-1px);
  border-color: rgba(198, 165, 91, 0.58);
  box-shadow: var(--edge-glow);
  background: rgba(255, 255, 255, 0.72);
}

.plan-module-row.is-dragging .plan-module-card {
  opacity: 0.48;
  transform: scale(0.995);
}

.plan-module-row.is-drop-before .plan-module-card {
  box-shadow:
    0 -3px 0 rgba(198, 165, 91, 0.72),
    var(--edge-glow);
}

.plan-module-row.is-drop-after .plan-module-card {
  box-shadow:
    0 3px 0 rgba(198, 165, 91, 0.72),
    var(--edge-glow);
}

.plan-module-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.42);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground) 18%);
}

.plan-module-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.plan-module-kind {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.plan-module-copy strong {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--foreground);
}

.plan-module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-content: flex-start;
  justify-content: flex-end;
}

.mini-action {
  min-height: 2.2rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.34);
  background: rgba(255, 255, 255, 0.56);
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.mini-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.plan-module-editor {
  display: grid;
  gap: 1rem;
}

.plan-mobile-editbar {
  display: none;
}

.plan-module-editor-sheet {
  display: grid;
  gap: 0.95rem;
}

.plan-rich-field {
  gap: 0.55rem;
}

.plan-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.plan-rich-toolbar .mini-action {
  min-height: 2rem;
  padding-inline: 0.62rem;
}

.plan-rich-editor {
  min-height: 8.5rem;
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 183, 159, 0.88);
  background: linear-gradient(180deg, #fbf7f1, #f3eadf);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.68;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.plan-rich-editor:empty::before {
  content: attr(data-placeholder);
  color: color-mix(in srgb, var(--muted-foreground) 74%, transparent 26%);
}

.plan-rich-editor:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 76%, white 24%);
  outline-offset: 1px;
}

.plan-range-field {
  display: grid;
  gap: 0.55rem;
}

.plan-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.plan-tag-editor {
  display: grid;
  gap: 0.72rem;
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 235, 223, 0.84)),
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.12), transparent 40%);
}

.plan-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.plan-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.1rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(198, 165, 91, 0.42);
  border-radius: 999px;
  background: color-mix(in srgb, rgba(198, 165, 91, 0.14) 58%, rgba(255, 255, 255, 0.88) 42%);
  color: var(--foreground);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease-out, background 180ms ease-out, border-color 180ms ease-out;
}

.plan-tag-chip:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 48%, rgba(198, 165, 91, 0.52) 52%);
  background: color-mix(in srgb, rgba(198, 165, 91, 0.2) 64%, rgba(255, 255, 255, 0.9) 36%);
}

.plan-tag-chip span:last-child {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 72%, var(--foreground) 28%);
}

.plan-tag-empty {
  margin: 0;
  color: color-mix(in srgb, var(--muted-foreground) 74%, transparent 26%);
}

.plan-tag-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.plan-tag-input {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.72rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 183, 159, 0.88);
  background: rgba(255, 252, 247, 0.88);
  color: var(--foreground);
  font: inherit;
}

.plan-tag-input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 76%, white 24%);
  outline-offset: 1px;
}

.plan-range-output {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 72%, var(--foreground) 28%);
}

.plan-file-input {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 183, 159, 0.88);
  background: linear-gradient(180deg, #fbf7f1, #f3eadf);
  color: var(--foreground);
}

.voyager-plan-image-frame {
  --voyager-plan-image-frame-width: 27rem;
  position: relative;
  inline-size: min(100%, var(--voyager-plan-image-frame-width));
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  overflow: hidden;
  border-radius: calc(var(--radius-soft) + 2px);
  border: 1px solid rgba(198, 165, 91, 0.36);
  background:
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(239, 228, 214, 0.82));
}

.voyager-plan-image-frame.is-draggable {
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.voyager-plan-image-frame.is-draggable.is-dragging {
  cursor: grabbing;
}

.voyager-plan-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 300ms ease-out, object-position 300ms ease-out, transform-origin 300ms ease-out;
}

.voyager-plan-image-frame.is-editor .voyager-plan-image {
  pointer-events: none;
  will-change: transform, object-position, transform-origin;
}

.voyager-plan-image-frame.is-dragging .voyager-plan-image {
  transition: none;
}

.voyager-plan-image-hud {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  background: color-mix(in srgb, rgba(32, 24, 18, 0.82) 82%, rgba(255, 255, 255, 0.18) 18%);
  color: rgba(255, 248, 237, 0.96);
  font-size: 0.78rem;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.voyager-plan-image-status {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.voyager-plan-image-instruction {
  color: rgba(255, 248, 237, 0.78);
}

.plan-budget-entry {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.78);
  background: rgba(255, 255, 255, 0.58);
}

.plan-budget-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.plan-budget-entry-index {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 76%, var(--foreground) 24%);
}

.plan-budget-entry-head .plan-inline-actions {
  justify-content: flex-end;
}

.plan-budget-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.voyager-rich-stack {
  display: grid;
  gap: 0.42rem;
}

.voyager-rich-line {
  display: block;
}

.voyager-rich-line-secondary {
  opacity: 0.72;
}

.voyager-rich-line p,
.voyager-rich-line ul,
.voyager-rich-line ol {
  margin: 0;
}

.voyager-rich-line > :first-child {
  margin-top: 0;
}

.voyager-rich-line > :last-child {
  margin-bottom: 0;
}

.voyager-rich-line ul,
.voyager-rich-line ol {
  padding-left: 1.15rem;
}

.voyager-rich-line li + li {
  margin-top: 0.28rem;
}

.voyager-budget-ledger {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.voyager-budget-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: baseline;
}

.voyager-budget-label {
  min-width: 0;
}

.voyager-budget-amount {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 72%, currentColor 28%);
}

.plan-editor-empty {
  min-height: 16rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-soft);
  border: 1px dashed rgba(201, 183, 159, 0.7);
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.7;
}

.packing-editor-form {
  display: grid;
  gap: 0.95rem;
}

.packing-preset-board {
  display: grid;
  gap: 0.85rem;
}

.packing-preset-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 235, 223, 0.84)),
    radial-gradient(circle at top right, rgba(198, 165, 91, 0.1), transparent 42%);
}

.packing-preset-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
}

.packing-preset-card-copy {
  display: grid;
  gap: 0.18rem;
}

.packing-preset-card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.14;
}

.packing-preset-card-meta {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.packing-preset-chip-row,
.packing-derived-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.packing-preset-chip,
.packing-derived-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.38);
  background: rgba(255, 255, 255, 0.82);
  color: var(--foreground);
  font-size: 0.9rem;
  line-height: 1.4;
}

.packing-preset-chip.is-derived,
.packing-derived-chip {
  border-color: rgba(109, 138, 150, 0.42);
  background: color-mix(in srgb, rgba(109, 138, 150, 0.14) 58%, rgba(255, 255, 255, 0.88) 42%);
}

.packing-preset-empty,
.packing-custom-empty {
  margin: 0;
  color: color-mix(in srgb, var(--muted-foreground) 76%, transparent 24%);
  line-height: 1.6;
}

.packing-custom-compose {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.packing-custom-add {
  align-self: end;
}

.packing-custom-list {
  display: grid;
  gap: 0.85rem;
}

.packing-custom-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.78);
  background: rgba(255, 255, 255, 0.58);
}

.packing-custom-card.is-expanded {
  border-color: rgba(198, 165, 91, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
    color-mix(in srgb, var(--background-alt) 82%, rgba(198, 165, 91, 0.09) 18%);
}

.packing-custom-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.packing-custom-card-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.packing-custom-card-head strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.18;
}

.packing-custom-card-meta,
.packing-custom-card-note {
  margin: 0;
}

.packing-custom-card-meta {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.packing-custom-card-note {
  color: color-mix(in srgb, var(--foreground) 74%, var(--muted-foreground) 26%);
  font-size: 0.92rem;
  line-height: 1.55;
}

.packing-custom-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.packing-custom-card-body[hidden] {
  display: none !important;
}

.packing-custom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.packing-custom-grid .field-span-3 {
  grid-column: 1 / -1;
}

.packing-preset-dialog-copy {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(201, 183, 159, 0.56);
  color: color-mix(in srgb, var(--foreground) 84%, var(--muted-foreground) 16%);
  line-height: 1.68;
}

.packing-preset-option-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.packing-preset-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(201, 183, 159, 0.72);
  background: rgba(255, 255, 255, 0.62);
}

.packing-preset-option input {
  margin-top: 0.2rem;
}

.packing-preset-option-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.packing-preset-option-copy strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.14;
}

.packing-preset-option-copy p {
  margin: 0;
  line-height: 1.6;
  color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground) 18%);
}

.packing-preset-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.packing-preset-option-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 91, 0.3);
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 74%, var(--foreground) 26%);
}

.preview-export-note {
  margin: 0.85rem 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.mobile-ticket-bar {
  display: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(1rem, -1.5rem, 0) scale(1.08); }
}

@keyframes titleLuster {
  0%,
  100% {
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.78),
      0 2px 0 rgba(255, 255, 255, 0.42),
      0 8px 20px rgba(198, 165, 91, 0.08),
      0 0 16px rgba(198, 165, 91, 0.04);
  }

  50% {
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.88),
      0 2px 0 rgba(255, 255, 255, 0.55),
      0 10px 22px rgba(198, 165, 91, 0.16),
      0 0 22px rgba(198, 165, 91, 0.12);
  }
}

@keyframes plannedOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes plannedSignalSweep {
  0%,
  100% {
    opacity: 0.76;
    background-position: 0% 50%;
  }

  50% {
    opacity: 1;
    background-position: 100% 50%;
  }
}

@keyframes plannedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 165, 91, 0.35);
  }

  100% {
    box-shadow: 0 0 0 0.75rem rgba(198, 165, 91, 0);
  }
}

@media (max-width: 1120px) {
  .transport-grid-special { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .planned-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    width: min(100%, 60rem);
  }
  .planned-hero-stepper {
    width: min(100%, 42rem);
    min-height: auto;
  }
  .intro-panel {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .transport-grid-base,
  .transport-grid-special,
  .dialog-body { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column-reverse; }
  .workspace-head,
  .preview-pane-head { flex-direction: column; }
  .ticket-step-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .selection-summary-card { flex-direction: column; }
  .selection-summary-chips { justify-content: flex-start; }
  .ticket-step-shell { padding-bottom: 5.5rem; }
  .ticket-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transport-section { padding: 1rem; }
  .section-header { margin-bottom: 0.9rem; }
  .section-header h2 { font-size: clamp(1.5rem, 4.6vw, 2.2rem); }
  .section-header p:last-child { margin-top: 0.65rem; font-size: 0.94rem; line-height: 1.62; }
  .transport-grid { gap: 0.72rem; }
  .transport-card {
    padding: 0.9rem 0.92rem;
  }
  .transport-card-head {
    gap: 0.6rem;
    margin-bottom: 0.58rem;
  }
  .transport-card h3 {
    font-size: 1.45rem;
    margin-top: 0.12rem;
  }
  .transport-en {
    margin-top: 0.18rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
  .transport-code {
    min-height: 1.72rem;
    padding: 0.18rem 0.52rem;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
  .transport-description {
    min-height: 0;
    font-size: 0.88rem;
    line-height: 1.52;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .transport-card-meta {
    margin-top: 0.72rem;
    padding-top: 0.68rem;
    gap: 0.55rem;
  }
  .transport-card-meta dl {
    gap: 0.45rem 0.75rem;
  }
  .transport-card-meta dt {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
  .transport-card-meta dd {
    margin-top: 0.18rem;
    font-size: 0.82rem;
    line-height: 1.42;
  }
  .transport-mode {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }
  .ticket-step-shell[data-mobile-view="editor"] .ticket-preview-pane { display: none; }
  .ticket-step-shell[data-mobile-view="preview"] .ticket-editor-pane { display: none; }
  .packing-step-shell[data-mobile-view="editor"] .ticket-preview-pane { display: none; }
  .packing-step-shell[data-mobile-view="preview"] .ticket-editor-pane { display: none; }
  .plan-step-shell[data-mobile-view="cover"] .ticket-preview-pane,
  .plan-step-shell[data-mobile-view="modules"] .ticket-preview-pane,
  .plan-step-shell[data-mobile-view="edit"] .ticket-preview-pane { display: none; }
  .plan-step-shell[data-mobile-view="preview"] .ticket-editor-pane { display: none; }
  .plan-step-shell[data-mobile-view="cover"] [data-plan-mobile-panel]:not([data-plan-mobile-panel="cover"]) { display: none; }
  .plan-step-shell[data-mobile-view="modules"] [data-plan-mobile-panel]:not([data-plan-mobile-panel="modules"]) { display: none; }
  .plan-step-shell[data-mobile-view="edit"] [data-plan-mobile-panel]:not([data-plan-mobile-panel="edit"]) { display: none; }
  .mobile-ticket-bar {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 24;
  }
  .planned-shell[data-page-mode="ticket"] #ticketMobileBar,
  .planned-shell[data-page-mode="plan"] #planMobileBar,
  .planned-shell[data-page-mode="packing"] #packingMobileBar {
    display: grid;
  }
  .mobile-ticket-bar .button {
    min-height: 2.8rem;
    padding-inline: 0.6rem;
    min-width: 0;
    white-space: normal;
    line-height: 1.3;
  }
  .mobile-ticket-bar .button.is-active {
    color: #2a211a;
    border-color: rgba(198, 165, 91, 0.72);
    background: linear-gradient(180deg, #d7bc7a 0%, #c6a55b 52%, #ae8b43 100%);
    box-shadow: var(--brass-shadow);
  }
  .plan-step-shell .mobile-ticket-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-module-row {
    grid-template-columns: 1fr;
  }
  .plan-module-actions {
    justify-content: flex-start;
  }
  .plan-mobile-editbar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.8rem 0;
    margin-bottom: 0.1rem;
    background:
      linear-gradient(180deg, rgba(247, 240, 232, 0.96), rgba(247, 240, 232, 0.88)),
      radial-gradient(circle at top right, rgba(198, 165, 91, 0.08), transparent 40%);
    backdrop-filter: blur(8px);
  }
  .plan-mobile-editbar-copy {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
  }
  .plan-mobile-editbar-copy strong {
    min-width: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .plan-mobile-editbar-copy span {
    font-family: var(--font-display);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-foreground);
  }
  .plan-budget-entry-grid,
  .voyager-budget-entry,
  .packing-custom-compose,
  .packing-custom-grid {
    grid-template-columns: 1fr;
  }
  .plan-tag-compose {
    grid-template-columns: 1fr;
  }
  .voyager-plan-image-hud {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1rem;
  }
  .packing-preset-card-head,
  .packing-custom-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .packing-custom-card-actions {
    width: 100%;
    justify-content: stretch;
  }
  .packing-custom-card-actions .mini-action {
    flex: 1 1 0;
  }
}

@media (max-width: 640px) {
  .planned-shell { padding-bottom: 6rem; }
  .site-header {
    gap: 0.6rem;
  }
  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
  .site-nav a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-width: 0;
  }
  .site-nav .label-divider {
    margin-inline: 0.22rem;
  }
  .planned-hero-kicker {
    width: 100%;
    gap: 0.55rem;
    flex-wrap: nowrap;
  }
  .planned-hero-kicker .volume-label {
    min-width: 0;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }
  .planned-counter-sigil {
    min-width: 5.2rem;
    max-width: 7.2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .transport-section,
  .dialog-panel,
  .intro-panel,
  .ticket-editor-pane,
  .ticket-preview-pane,
  .ticket-step-shell { padding: 1rem; }
  .transport-section { padding: 0.88rem; }
  .section-header { margin-bottom: 0.72rem; }
  .section-header h2 { font-size: 1.34rem; }
  .section-header p:last-child {
    margin-top: 0.52rem;
    font-size: 0.88rem;
    line-height: 1.54;
  }
  .transport-grid { gap: 0.58rem; }
  .transport-card {
    padding: 0.76rem 0.78rem;
  }
  .transport-card-head {
    gap: 0.48rem;
    margin-bottom: 0.48rem;
  }
  .transport-card h3 {
    font-size: 1.22rem;
  }
  .transport-en {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .transport-code {
    min-height: 1.56rem;
    padding: 0.15rem 0.42rem;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
  .transport-description {
    font-size: 0.8rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }
  .transport-card-meta {
    margin-top: 0.6rem;
    padding-top: 0.56rem;
    gap: 0.45rem;
  }
  .transport-card-meta dl {
    gap: 0.34rem 0.5rem;
  }
  .transport-card-meta dt {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }
  .transport-card-meta dd {
    font-size: 0.76rem;
    line-height: 1.34;
  }
  .transport-mode {
    font-size: 0.48rem;
    letter-spacing: 0.12em;
  }
  .ticket-template-grid { grid-template-columns: 1fr; }
  .plan-step-shell { padding-bottom: 9.6rem; }
  .packing-step-shell { padding-bottom: 5.5rem; }
  .packing-step-shell .workspace-head {
    gap: 0.8rem;
  }
  .packing-step-shell .workspace-copy {
    font-size: 0.94rem;
    line-height: 1.58;
  }
  .packing-step-shell .ticket-editor-form {
    gap: 0.8rem;
  }
  .packing-step-shell .editor-section {
    padding: 0.82rem;
  }
  .packing-step-shell .editor-section-head {
    margin-bottom: 0.72rem;
  }
  .packing-step-shell .editor-section-title :lang(en) {
    font-size: 1.18rem;
  }
  .packing-step-shell .editor-section-title :lang(zh-CN) {
    font-size: 0.92rem;
  }
  .packing-step-shell .selection-summary-card {
    padding: 0.82rem 0.86rem;
    gap: 0.72rem;
  }
  .packing-step-shell .selection-summary-chips {
    justify-content: flex-start;
  }
  .packing-step-shell .style-picker {
    gap: 0.45rem;
  }
  .packing-step-shell .style-pill {
    min-height: 2.45rem;
    padding: 0.56rem 0.72rem;
    font-size: 0.64rem;
  }
  .packing-step-shell .field-stack > span {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }
  .packing-step-shell .field-stack input,
  .packing-step-shell .field-stack select {
    min-height: 2.74rem;
    padding: 0.68rem 0.78rem;
    font-size: 0.96rem;
  }
  .packing-step-shell .field-stack textarea {
    min-height: 4.9rem;
    padding: 0.74rem 0.78rem;
  }
  .packing-step-shell .packing-custom-compose {
    gap: 0.7rem;
    margin-bottom: 0.75rem;
  }
  .packing-step-shell .packing-custom-card {
    gap: 0.72rem;
    padding: 0.82rem 0.86rem;
  }
  .packing-step-shell .packing-custom-card-head strong {
    font-size: 0.94rem;
  }
  .packing-step-shell .packing-custom-card-meta {
    font-size: 0.56rem;
  }
  .packing-step-shell .packing-custom-card-note {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.48;
  }
  .plan-mobile-editbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .plan-mobile-editbar-copy {
    grid-column: 1 / -1;
  }
  .plan-step-shell .mobile-ticket-bar .button {
    padding-inline: 0.42rem;
  }
  .button { width: 100%; }
  .transport-dialog {
    width: calc(100vw - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
  }
  .dialog-panel {
    max-height: calc(100dvh - 0.75rem);
    padding: 1rem;
  }
  .preview-stage {
    padding: 0.7rem;
    min-height: 27rem;
  }
}

@media (max-width: 420px) {
  .site-nav {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    gap: 0.4rem;
  }
  .planned-hero-kicker .volume-label {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }
  .planned-counter-sigil {
    min-width: 4.5rem;
    max-width: 5.8rem;
  }
  .transport-section { padding: 0.78rem; }
  .transport-card {
    padding: 0.68rem 0.7rem;
  }
  .transport-card h3 {
    font-size: 1.08rem;
  }
  .transport-description {
    font-size: 0.76rem;
    line-height: 1.36;
  }
  .transport-card-meta dd {
    font-size: 0.72rem;
  }
}

@media (max-width: 820px) {
  .plan-step-shell { padding-bottom: 9.4rem; }
  .plan-step-shell .mobile-ticket-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .plan-step-shell .mobile-ticket-bar .button {
    min-height: 3rem;
    padding-inline: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.11em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
