:root {
  --flat-sans: "Archivo", "Noto Sans SC", sans-serif;
  --flat-width: 50rem;
  --flat-height: 20rem;
  --flat-bus-width: 48rem;
  --flat-bus-height: 21rem;
  --flat-shell: #191b22;
  --flat-panel: #232732;
  --flat-paper: #f6f5f1;
  --flat-paper-deep: #ebe8e1;
  --flat-ink: #16181d;
  --flat-muted: #7f8693;
  --flat-line: #d7dbe2;
  --flat-accent: #ff9d43;
  --flat-accent-deep: #eb8a31;
}

.flat-suite-shell [lang="en"],
.flat-suite-shell [lang="zh-CN"],
.flat-render-host [data-export-artifact],
.flat-render-host [lang="en"],
.flat-render-host [lang="zh-CN"] {
  font-family: var(--flat-sans);
}

.flat-suite-shell {
  position: relative;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 67, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #15181f, #0e1015);
  box-shadow: 0 30px 60px rgba(8, 10, 14, 0.28);
  overflow: hidden;
}

.flat-suite-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0 1px,
      transparent 1px 30px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018) 0 1px,
      transparent 1px 24px
    );
  opacity: 0.18;
  pointer-events: none;
}

.flat-suite-grid {
  position: relative;
  z-index: 1;
  display: grid;
  justify-content: center;
  gap: 1.25rem;
}

.flat-preview-panel {
  width: 100%;
  min-width: 0;
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(28, 31, 39, 0.96), rgba(14, 16, 21, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.flat-train-preview {
  justify-self: center;
  max-width: calc(var(--flat-width) + 2rem);
}

.flat-ship-preview {
  justify-self: center;
  max-width: calc(36rem + 2rem);
}

.flat-flight-preview {
  justify-self: center;
  max-width: calc(50rem + 2rem);
}

.flat-bus-preview {
  justify-self: center;
  max-width: calc(var(--flat-bus-width) + 2rem);
}

.flat-plan-preview,
.flat-packing-preview {
  justify-self: center;
  max-width: calc(27rem + 2rem);
}

.flat-preview-topline {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--flat-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 242, 245, 0.78);
}

.flat-preview-topline span[aria-hidden] {
  color: rgba(255, 157, 67, 0.68);
}

.flat-render-host {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.flat-preview-frame {
  width: max-content;
  max-width: none;
  flex: 0 0 auto;
}

.flat-render-host.is-scaled {
  overflow: hidden;
}

.flat-render-host.is-scaled > .flat-preview-frame > [data-export-artifact] {
  transform-origin: top left;
}

.flat-render-host.is-scrollable {
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 157, 67, 0.56) rgba(255, 255, 255, 0.04);
}

.flat-render-host.is-scrollable::-webkit-scrollbar {
  height: 10px;
}

.flat-render-host.is-scrollable::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.flat-render-host.is-scrollable::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(255, 157, 67, 0.7), rgba(235, 138, 49, 0.62));
  border-radius: 999px;
}

.flat-locale-stack,
.flat-locale-inline {
  min-width: 0;
}

.flat-locale-stack {
  display: grid;
  gap: 0.08rem;
}

.flat-locale-stack [lang="en"],
.flat-locale-stack [lang="zh-CN"] {
  display: block;
}

.flat-locale-stack [lang="zh-CN"] {
  font-size: 0.86em;
  color: rgba(83, 89, 100, 0.88);
}

.flat-locale-stack .voyager-field-main,
.flat-locale-stack .voyager-field-secondary {
  display: block;
}

.flat-locale-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-items: baseline;
}

.flat-locale-inline [lang="zh-CN"] {
  font-size: 0.88em;
  color: rgba(83, 89, 100, 0.86);
}

.flat-train-ticket {
  --flat-ticket-accent: var(--flat-accent);
  --flat-ticket-accent-deep: var(--flat-accent-deep);
  width: var(--flat-width);
  min-width: var(--flat-width);
  height: var(--flat-height);
  padding: 0.88rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #161920, #0f1117);
  box-shadow: 0 24px 48px rgba(10, 12, 16, 0.28);
  overflow: hidden;
}

.flat-ship-ticket {
  --flat-ticket-accent: #3a9f6b;
  --flat-ticket-accent-deep: #2b7b53;
  width: 36rem;
  min-width: 36rem;
  height: 29rem;
  padding: 0.95rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #151a1a, #101414);
  box-shadow: 0 24px 48px rgba(9, 13, 12, 0.28);
  overflow: hidden;
}

.flat-flight-ticket {
  --flat-ticket-accent: #4454d9;
  --flat-ticket-accent-deep: #2f3fb9;
  width: 50rem;
  min-width: 50rem;
  height: 18.8rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #161922, #0f1218);
  box-shadow: 0 24px 48px rgba(9, 12, 17, 0.28);
  overflow: hidden;
}

.flat-bus-ticket {
  --flat-ticket-accent: #7467da;
  --flat-ticket-accent-deep: #5b4fbb;
  width: var(--flat-bus-width);
  min-width: var(--flat-bus-width);
  height: var(--flat-bus-height);
}

.flat-ticket-paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.8rem;
  height: 100%;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(242, 242, 238, 0.98)),
    linear-gradient(180deg, var(--flat-paper), var(--flat-paper-deep));
  overflow: hidden;
}

.flat-ticket-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 46%, rgba(230, 232, 236, 0.45), transparent 26%),
    repeating-radial-gradient(circle at center, rgba(222, 225, 231, 0.32) 0 1px, transparent 1px 9px);
  opacity: 0.32;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.flat-ticket-paper::after {
  content: "";
  position: absolute;
  inset: 0.48rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(177, 183, 193, 0.22);
  pointer-events: none;
}

.flat-ticket-main,
.flat-ticket-stub {
  position: relative;
  z-index: 1;
}

.flat-ticket-main {
  display: grid;
  grid-template-rows: auto 1fr;
}

.flat-ticket-stub {
  display: grid;
  grid-template-rows: auto 1fr;
  border-left: 3px dashed rgba(170, 177, 188, 0.78);
}

.flat-ticket-stub::before,
.flat-ticket-stub::after {
  content: "";
  position: absolute;
  left: -0.72rem;
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 50%;
  background: var(--flat-shell);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 2;
}

.flat-ticket-stub::before {
  top: -0.69rem;
}

.flat-ticket-stub::after {
  bottom: -0.69rem;
}

.flat-ticket-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.48rem;
  padding: 0 1.4rem;
  background: linear-gradient(180deg, var(--flat-ticket-accent), var(--flat-ticket-accent-deep));
  color: white;
}

.flat-ticket-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.26);
}

.flat-ticket-band.is-stub {
  padding-inline: 0.78rem;
}

.flat-ticket-brand {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.flat-ticket-icon {
  position: relative;
  width: 1.42rem;
  height: 0.92rem;
  border-radius: 0.35rem 0.55rem 0.2rem 0.2rem;
  background: rgba(255, 255, 255, 0.92);
}

.flat-ticket-icon::before {
  content: "";
  position: absolute;
  left: 0.22rem;
  right: 0.3rem;
  top: 0.22rem;
  height: 0.24rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--flat-ticket-accent-deep) 0 25%, transparent 25% 35%, var(--flat-ticket-accent-deep) 35% 60%, transparent 60% 70%, var(--flat-ticket-accent-deep) 70% 100%);
}

.flat-ticket-icon::after {
  content: "";
  position: absolute;
  width: 0.42rem;
  height: 0.18rem;
  right: -0.28rem;
  bottom: 0.08rem;
  border-radius: 0 0.2rem 0.2rem 0;
  background: rgba(255, 255, 255, 0.92);
}

.flat-ticket-icon.is-ship {
  width: 1.5rem;
  height: 0.82rem;
  border-radius: 0.12rem 0.12rem 0.35rem 0.35rem;
}

.flat-ticket-icon.is-bus {
  width: 1.46rem;
  height: 0.9rem;
  border-radius: 0.22rem 0.28rem 0.18rem 0.18rem;
}

.flat-ticket-icon.is-bus::before {
  left: 0.18rem;
  right: 0.26rem;
  top: 0.2rem;
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--flat-ticket-accent-deep) 0 18%,
    transparent 18% 28%,
    var(--flat-ticket-accent-deep) 28% 46%,
    transparent 46% 56%,
    var(--flat-ticket-accent-deep) 56% 74%,
    transparent 74% 84%,
    var(--flat-ticket-accent-deep) 84% 100%
  );
}

.flat-ticket-icon.is-bus::after {
  width: 0.2rem;
  height: 0.2rem;
  right: 0.16rem;
  bottom: -0.12rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: -0.76rem 0 0 rgba(255, 255, 255, 0.92);
}

.flat-ticket-icon.is-ship::before {
  left: 0.16rem;
  right: 0.2rem;
  top: 0.17rem;
  height: 0.18rem;
  background:
    linear-gradient(90deg, var(--flat-ticket-accent-deep) 0 18%, transparent 18% 28%, var(--flat-ticket-accent-deep) 28% 52%, transparent 52% 62%, var(--flat-ticket-accent-deep) 62% 88%, transparent 88% 100%);
}

.flat-ticket-icon.is-ship::after {
  width: 0.46rem;
  height: 0.28rem;
  right: auto;
  left: 0.5rem;
  bottom: 0.54rem;
  border-radius: 0.08rem 0.08rem 0 0;
}

.flat-ticket-band-copy {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.flat-ticket-band-copy .flat-locale-inline [lang="en"],
.flat-ticket-band-copy .flat-locale-inline [lang="zh-CN"] {
  color: rgba(255, 255, 255, 0.96);
}

.flat-ticket-body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  gap: 0.42rem;
  padding: 0.72rem 1.08rem 0.6rem;
  align-content: start;
}

.flat-ticket-route {
  display: grid;
  gap: 0.32rem;
}

.flat-ticket-eyebrow {
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--flat-muted);
}

.flat-ticket-destination .flat-locale-stack.is-route {
  gap: 0.32rem;
}

.flat-ticket-destination .flat-locale-stack.is-route [lang="en"] {
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 0.92;
  color: var(--flat-ink);
}

.flat-ticket-destination .flat-locale-stack.is-route [lang="zh-CN"] {
  font-size: 0.72rem;
  line-height: 1.2;
  color: rgba(59, 65, 74, 0.9);
}

.flat-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 0.28rem 0.58rem;
  align-items: end;
}

.flat-ticket-cell {
  display: grid;
  gap: 0.06rem;
}

.flat-ticket-cell.is-wide {
  grid-column: span 1;
}

.flat-ticket-cell.is-price {
  justify-self: end;
  text-align: left;
}

.flat-ticket-label {
  font-size: 0.42rem;
  font-weight: 500;
  color: var(--flat-muted);
}

.flat-ticket-value {
  min-width: 0;
}

.flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 0.98;
  color: var(--flat-ink);
}

.flat-ticket-value.is-primary .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.56rem;
  line-height: 1.06;
  color: rgba(59, 65, 74, 0.88);
}

.flat-ticket-cell.is-traveler .flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.78rem;
  line-height: 0.94;
}

.flat-ticket-cell.is-paired .flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.72rem;
  line-height: 0.96;
}

.flat-ticket-cell.is-paired .flat-ticket-value.is-primary .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.5rem;
  line-height: 1.04;
}

.flat-ticket-value.is-single {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  color: var(--flat-ink);
}

.flat-ticket-value.is-fare {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  color: var(--flat-ink);
}

.flat-ticket-stub-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.32rem;
  padding: 0.62rem 0.68rem 0.52rem;
}

.flat-ticket-stub-copy {
  display: grid;
  gap: 0.12rem;
}

.flat-ticket-stub-route .flat-locale-stack [lang="en"] {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.04;
  color: var(--flat-ink);
}

.flat-ticket-stub-route .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.46rem;
  line-height: 1.08;
  color: rgba(63, 68, 78, 0.9);
}

.flat-ticket-stub-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.18rem 0.3rem;
}

.flat-ticket-stub-value .flat-locale-stack [lang="en"] {
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1.04;
  color: var(--flat-ink);
}

.flat-ticket-stub-value .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.44rem;
  line-height: 1.08;
  color: rgba(63, 68, 78, 0.9);
}

.flat-ticket-stub-value.is-single {
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.04;
  color: var(--flat-ink);
}

.flat-ticket-stub-value.is-inline .flat-locale-stack [lang="en"] {
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.02;
  color: var(--flat-ink);
}

.flat-ticket-stub-value.is-inline .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.42rem;
  line-height: 1.04;
  color: rgba(63, 68, 78, 0.88);
}

.flat-ticket-stub-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.26rem;
  gap: 0.32rem;
  align-items: end;
  align-self: end;
}

.flat-ticket-roundtrip .flat-locale-stack [lang="en"] {
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.04;
  color: var(--flat-ink);
}

.flat-ticket-roundtrip .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.44rem;
  line-height: 1.04;
  color: rgba(63, 68, 78, 0.88);
}

.flat-ticket-barcode-text {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.34rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(89, 95, 106, 0.9);
}

.flat-ticket-barcode {
  width: 1.26rem;
  min-height: 3.18rem;
  border-radius: 0.18rem;
  background:
    linear-gradient(
      180deg,
      #15181d 0 4%,
      transparent 4% 6%,
      #15181d 6% 9%,
      transparent 9% 13%,
      #15181d 13% 15%,
      transparent 15% 18%,
      #15181d 18% 24%,
      transparent 24% 28%,
      #15181d 28% 31%,
      transparent 31% 36%,
      #15181d 36% 42%,
      transparent 42% 46%,
      #15181d 46% 50%,
      transparent 50% 54%,
      #15181d 54% 60%,
      transparent 60% 63%,
      #15181d 63% 67%,
      transparent 67% 72%,
      #15181d 72% 79%,
      transparent 79% 82%,
      #15181d 82% 88%,
      transparent 88% 92%,
      #15181d 92% 100%
    );
}

.flat-ticket-barcode.is-horizontal {
  width: 100%;
  min-height: 2rem;
  background:
    linear-gradient(
      90deg,
      #15181d 0 2%,
      transparent 2% 4%,
      #15181d 4% 7%,
      transparent 7% 10%,
      #15181d 10% 12%,
      transparent 12% 15%,
      #15181d 15% 20%,
      transparent 20% 23%,
      #15181d 23% 27%,
      transparent 27% 30%,
      #15181d 30% 33%,
      transparent 33% 37%,
      #15181d 37% 41%,
      transparent 41% 44%,
      #15181d 44% 47%,
      transparent 47% 51%,
      #15181d 51% 55%,
      transparent 55% 58%,
      #15181d 58% 63%,
      transparent 63% 66%,
      #15181d 66% 70%,
      transparent 70% 74%,
      #15181d 74% 79%,
      transparent 79% 82%,
      #15181d 82% 86%,
      transparent 86% 89%,
      #15181d 89% 93%,
      transparent 93% 96%,
      #15181d 96% 100%
    );
}

.flat-flight-paper {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  height: 100%;
  border-radius: 0.68rem;
  background:
    radial-gradient(circle at top left, rgba(252, 252, 250, 0.98), rgba(242, 242, 240, 0.98)),
    linear-gradient(180deg, #f8f8f5, #efefeb);
  overflow: hidden;
}

.flat-flight-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 45%, rgba(220, 224, 232, 0.22), transparent 28%),
    repeating-linear-gradient(
      90deg,
      rgba(221, 224, 230, 0.14) 0 1px,
      transparent 1px 16px
    );
  opacity: 0.34;
  pointer-events: none;
}

.flat-flight-paper::after {
  content: "";
  position: absolute;
  inset: 0.44rem;
  border: 1px solid rgba(185, 189, 198, 0.24);
  border-radius: 0.46rem;
  pointer-events: none;
}

.flat-flight-strip,
.flat-flight-main {
  position: relative;
  z-index: 1;
}

.flat-flight-strip {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 0.72rem 0.42rem;
  background: linear-gradient(180deg, var(--flat-ticket-accent), var(--flat-ticket-accent-deep));
  color: rgba(255, 255, 255, 0.96);
}

.flat-flight-strip-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flat-flight-strip-type {
  display: grid;
  justify-items: center;
  gap: 0.24rem;
  font-size: 0.48rem;
  font-weight: 700;
  text-align: center;
}

.flat-flight-strip-type::before {
  content: "";
  width: 1.28rem;
  height: 1.1rem;
  border-radius: 0.2rem 0.2rem 0.35rem 0.35rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 30%, transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96));
  clip-path: polygon(0 65%, 32% 62%, 46% 0, 59% 0, 50% 62%, 100% 65%, 100% 84%, 58% 78%, 56% 100%, 46% 100%, 42% 78%, 0 84%);
}

.flat-flight-strip-type .flat-locale-inline {
  justify-content: center;
}

.flat-flight-strip-type .flat-locale-inline [lang="en"],
.flat-flight-strip-type .flat-locale-inline [lang="zh-CN"] {
  color: rgba(255, 255, 255, 0.96);
}

.flat-flight-main {
  padding: 0.72rem 0.78rem 0.64rem;
}

.flat-flight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.64rem;
}

.flat-flight-brandline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.flat-flight-brandline > .flat-ticket-label {
  min-width: 0;
}

.flat-flight-brandline > .flat-ticket-label .flat-locale-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flat-flight-brandline > .flat-ticket-label .flat-locale-inline [lang="en"],
.flat-flight-brandline > .flat-ticket-label .flat-locale-inline [lang="zh-CN"] {
  color: rgba(96, 102, 116, 0.95);
}

.flat-flight-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.2rem;
  padding: 0 0.54rem;
  border-radius: 999px;
  background: rgba(68, 84, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(68, 84, 217, 0.16);
  color: #3442b0;
  font-size: 0.48rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.flat-flight-chip .flat-locale-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.18rem;
  white-space: nowrap;
}

.flat-flight-chip .flat-locale-inline [lang="zh-CN"] {
  color: rgba(52, 66, 176, 0.82);
}

.flat-flight-number {
  display: grid;
  justify-items: end;
  gap: 0.04rem;
}

.flat-flight-number strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 0.96;
  color: #2333b3;
}

.flat-flight-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.4rem minmax(0, 1fr);
  gap: 0.48rem;
  align-items: center;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid rgba(198, 202, 212, 0.7);
}

.flat-flight-airport {
  display: grid;
  gap: 0.12rem;
}

.flat-flight-airport strong {
  font-size: 1.68rem;
  font-weight: 800;
  line-height: 0.94;
  color: #2333b3;
}

.flat-flight-airport-name .flat-locale-stack [lang="en"] {
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--flat-ink);
}

.flat-flight-airport-name .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.48rem;
  line-height: 1.08;
  color: rgba(69, 74, 84, 0.9);
}

.flat-flight-arrow {
  position: relative;
  display: grid;
  place-items: center;
}

.flat-flight-arrow::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(68, 84, 217, 0.14), rgba(68, 84, 217, 0.7), rgba(68, 84, 217, 0.14));
  transform: translateY(-50%);
}

.flat-flight-arrow span {
  position: relative;
  width: 1rem;
  height: 1rem;
}

.flat-flight-arrow span::before,
.flat-flight-arrow span::after {
  content: "";
  position: absolute;
  background: #4454d9;
}

.flat-flight-arrow span::before {
  left: 0.12rem;
  right: 0.12rem;
  top: 0.46rem;
  height: 0.1rem;
  border-radius: 999px;
}

.flat-flight-arrow span::after {
  right: 0.1rem;
  top: 0.28rem;
  width: 0.34rem;
  height: 0.34rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.flat-flight-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.2rem;
  gap: 0.56rem;
  height: 100%;
  min-height: 0;
  align-items: start;
}

.flat-flight-manifest {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.34rem;
  min-height: 0;
}

.flat-flight-passenger {
  display: grid;
  gap: 0.14rem;
}

.flat-flight-passenger .flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.02;
  color: var(--flat-ink);
}

.flat-flight-passenger .flat-ticket-value.is-primary .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.56rem;
  line-height: 1.12;
}

.flat-flight-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem 0.42rem;
}

.flat-flight-info {
  display: grid;
  gap: 0.1rem;
}

.flat-flight-info .flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1;
  color: var(--flat-ink);
}

.flat-flight-info .flat-ticket-value.is-primary .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.48rem;
  line-height: 1.1;
}

.flat-flight-info .flat-ticket-value.is-fare {
  font-size: 0.9rem;
}

.flat-flight-barline {
  align-self: end;
  display: grid;
  gap: 0.16rem;
}

.flat-flight-barline .flat-ticket-barcode.is-horizontal {
  min-height: 1.66rem;
}

.flat-flight-barline .flat-ticket-barcode-text {
  margin-top: 0;
  font-size: 0.34rem;
  letter-spacing: 0.14em;
}

.flat-flight-stub {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.34rem;
  padding-left: 0.66rem;
  border-left: 2px dashed rgba(176, 182, 196, 0.86);
  align-self: stretch;
  min-height: 100%;
}

.flat-flight-stub-top {
  display: grid;
  gap: 0.08rem;
}

.flat-flight-stub-top strong {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 0.96;
  color: #2333b3;
}

.flat-flight-stub-route {
  display: grid;
  gap: 0.12rem;
  padding-bottom: 0.36rem;
  border-bottom: 1px solid rgba(198, 202, 212, 0.7);
}

.flat-flight-stub-codes {
  display: flex;
  align-items: center;
  gap: 0.24rem;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--flat-ink);
}

.flat-flight-stub-route-copy .flat-locale-stack [lang="en"] {
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.04;
  color: rgba(43, 51, 70, 0.92);
}

.flat-flight-stub-route-copy .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.44rem;
  line-height: 1.08;
  color: rgba(69, 74, 84, 0.88);
}

.flat-flight-stub-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem 0.36rem;
}

.flat-flight-stub-meta > div {
  display: grid;
  gap: 0.08rem;
}

.flat-flight-stub-meta strong .flat-locale-stack [lang="en"] {
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.02;
  color: var(--flat-ink);
}

.flat-flight-stub-meta strong .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.44rem;
  line-height: 1.06;
}

.flat-flight-stub-footer {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.02rem;
  gap: 0.26rem;
  align-items: end;
}

.flat-flight-stub-footer .flat-ticket-barcode {
  min-height: 3.46rem;
}

.flat-flight-stub-footer .flat-ticket-barcode-text {
  margin-top: 0;
  grid-column: 1 / -1;
  font-size: 0.32rem;
  letter-spacing: 0.14em;
}

.flat-flight-stub-passenger {
  display: grid;
  gap: 0.08rem;
}

.flat-flight-stub-passenger .flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.02;
  color: var(--flat-ink);
}

.flat-flight-stub-passenger .flat-ticket-value.is-primary .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.44rem;
  line-height: 1.06;
}

.flat-plan-sheet,
.flat-packing-sheet {
  width: 26.5rem;
  min-width: 26.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #161922, #0f1218);
  box-shadow: 0 24px 48px rgba(9, 12, 17, 0.28);
  overflow: hidden;
}

.flat-plan-paper,
.flat-pack-paper {
  position: relative;
  min-height: 100%;
  padding: 1.18rem;
  border-radius: 0.72rem;
  background:
    radial-gradient(circle at top left, rgba(252, 252, 250, 0.98), rgba(241, 242, 240, 0.98)),
    linear-gradient(180deg, #f8f8f5, #efefeb);
  overflow: hidden;
}

.flat-plan-paper::before,
.flat-pack-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(214, 218, 227, 0.16) 0 1px,
      transparent 1px 24px
    ),
    radial-gradient(circle at 20% 18%, rgba(214, 220, 234, 0.18), transparent 24%);
  opacity: 0.42;
  pointer-events: none;
}

.flat-plan-paper::after,
.flat-pack-paper::after {
  content: "";
  position: absolute;
  inset: 0.46rem;
  border: 1px solid rgba(186, 190, 198, 0.24);
  border-radius: 0.44rem;
  pointer-events: none;
}

.flat-plan-paper > *,
.flat-pack-paper > * {
  position: relative;
  z-index: 1;
}

.flat-plan-header,
.flat-pack-header {
  display: grid;
  gap: 0.88rem;
  padding-bottom: 1.04rem;
  border-bottom: 1px solid rgba(196, 200, 210, 0.76);
}

.flat-plan-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.72rem;
}

.flat-plan-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a49bf;
}

.flat-plan-duration {
  display: inline-flex;
  align-items: center;
  min-height: 1.46rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(68, 84, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(68, 84, 217, 0.14);
  font-size: 0.56rem;
  font-weight: 700;
  color: #3442b0;
}

.flat-plan-heading {
  display: grid;
  gap: 0.46rem;
}

.flat-plan-overline {
  margin: 0;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(81, 87, 101, 0.86);
}

.flat-plan-title-stack {
  display: grid;
  gap: 0.18rem;
}

.flat-plan-title-stack [lang="en"] {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.06;
  color: var(--flat-ink);
}

.flat-plan-title-stack [lang="zh-CN"] {
  font-size: 0.68rem;
  line-height: 1.16;
  color: rgba(67, 72, 84, 0.92);
}

.flat-plan-title-stack.is-hero [lang="en"] {
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.02;
  color: var(--flat-ink);
}

.flat-plan-title-stack.is-hero [lang="zh-CN"] {
  font-size: 0.86rem;
  line-height: 1.16;
  color: rgba(67, 72, 84, 0.9);
}

.flat-plan-title-stack.is-hero .voyager-field-main {
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.02;
  color: var(--flat-ink);
}

.flat-plan-title-stack.is-hero .voyager-field-secondary {
  font-size: 0.84rem;
  line-height: 1.18;
  color: rgba(67, 72, 84, 0.78);
}

.flat-plan-route-note {
  font-size: 0.66rem;
  font-weight: 700;
  color: #2333b3;
}

.flat-plan-summary,
.flat-plan-copy,
.flat-plan-note {
  margin: 0;
}

.flat-plan-copy-stack {
  display: grid;
  gap: 0.12rem;
}

.flat-plan-copy-stack [lang="en"] {
  font-size: 0.58rem;
  line-height: 1.42;
  color: rgba(96, 102, 116, 0.9);
}

.flat-plan-copy-stack [lang="zh-CN"] {
  font-size: 0.76rem;
  line-height: 1.72;
  color: rgba(52, 58, 72, 0.97);
}

.flat-plan-copy-stack .voyager-field-main {
  font-size: 0.76rem;
  line-height: 1.72;
  color: rgba(52, 58, 72, 0.97);
}

.flat-plan-copy-stack .voyager-field-secondary {
  font-size: 0.64rem;
  line-height: 1.58;
  color: rgba(96, 102, 116, 0.74);
}

.flat-plan-copy-stack.is-muted [lang="en"],
.flat-plan-copy-stack.is-muted [lang="zh-CN"] {
  color: rgba(96, 102, 116, 0.88);
}

.flat-plan-chip-row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.flat-plan-chip-row.is-header {
  gap: 0.42rem;
}

.flat-plan-chip-row li {
  min-height: 1.7rem;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(193, 198, 210, 0.64);
}

.flat-plan-chip-stack {
  display: grid;
  gap: 0.04rem;
}

.flat-plan-chip-stack [lang="en"] {
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.08;
  color: rgba(47, 55, 74, 0.92);
}

.flat-plan-chip-stack [lang="zh-CN"] {
  font-size: 0.5rem;
  line-height: 1.12;
  color: rgba(88, 95, 108, 0.88);
}

.flat-plan-module-list {
  margin: 0;
  padding: 1.14rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.96rem;
}

.flat-plan-module {
  display: grid;
  gap: 0.52rem;
  padding-bottom: 0.96rem;
  border-bottom: 1px solid rgba(200, 204, 214, 0.74);
}

.flat-plan-module:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.flat-plan-module-head {
  display: grid;
  grid-template-columns: 2.22rem minmax(0, 1fr);
  gap: 0.68rem;
  align-items: start;
}

.flat-plan-module-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.96rem;
  border-radius: 0.54rem;
  background: rgba(68, 84, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(68, 84, 217, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
  color: #3442b0;
}

.flat-plan-module-heading {
  display: grid;
  gap: 0.18rem;
}

.flat-plan-module-type {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(90, 96, 110, 0.9);
}

.flat-plan-module-heading h4 {
  margin: 0;
}

.flat-plan-module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  align-items: center;
  font-size: 0.56rem;
  color: rgba(83, 89, 102, 0.9);
}

.flat-plan-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.44rem;
}

.flat-plan-checklist li {
  display: grid;
  grid-template-columns: 0.96rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.flat-plan-check {
  width: 0.84rem;
  height: 0.84rem;
  margin-top: 0.08rem;
  border-radius: 0.18rem;
  box-shadow: inset 0 0 0 1px rgba(68, 84, 217, 0.26);
  background: rgba(68, 84, 217, 0.06);
}

.flat-pack-grid {
  padding-top: 1.12rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.84rem;
}

.flat-pack-category {
  display: grid;
  gap: 0.58rem;
  padding: 0.86rem;
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 0 0 1px rgba(194, 198, 208, 0.62);
}

.flat-pack-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.56rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(54, 61, 75, 0.96);
}

.flat-pack-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.54rem;
  min-height: 1.54rem;
  border-radius: 999px;
  background: rgba(68, 84, 217, 0.08);
  color: #3442b0;
}

.flat-pack-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.flat-pack-item {
  display: grid;
  grid-template-columns: 0.82rem minmax(0, 1fr) auto;
  gap: 0.48rem;
  align-items: start;
}

.flat-pack-check {
  width: 0.74rem;
  height: 0.74rem;
  margin-top: 0.12rem;
  border-radius: 0.16rem;
  background: rgba(68, 84, 217, 0.06);
  box-shadow: inset 0 0 0 1px rgba(68, 84, 217, 0.22);
}

.flat-pack-copy {
  display: grid;
  gap: 0.12rem;
}

.flat-pack-note {
  color: rgba(96, 102, 116, 0.9);
}

.flat-pack-qty {
  font-size: 0.66rem;
  font-weight: 800;
  color: #2333b3;
}

.flat-pack-footer {
  display: grid;
  gap: 0.66rem;
  padding-top: 1.12rem;
}

.flat-pack-footer-title {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(54, 61, 75, 0.96);
}

.flat-ship-paper {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(252, 252, 250, 0.98), rgba(241, 243, 239, 0.98)),
    linear-gradient(180deg, #f7f8f4, #edf0ea);
  overflow: hidden;
}

.flat-ship-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 24%, rgba(203, 213, 208, 0.18), transparent 22%),
    repeating-radial-gradient(circle at center, rgba(210, 216, 212, 0.28) 0 1px, transparent 1px 9px);
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.flat-ship-paper::after {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border-radius: 1.08rem;
  border: 1px solid rgba(160, 171, 164, 0.24);
  pointer-events: none;
}

.flat-ship-band {
  justify-content: space-between;
  padding-inline: 1.25rem 1.15rem;
  min-height: 2.62rem;
}

.flat-ship-serial {
  display: grid;
  justify-items: end;
  gap: 0.08rem;
}

.flat-ship-serial strong {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.flat-ship-serial .flat-ticket-label,
.flat-ship-serial .flat-locale-inline [lang="en"],
.flat-ship-serial .flat-locale-inline [lang="zh-CN"] {
  color: rgba(255, 255, 255, 0.88);
}

.flat-ship-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.52rem;
  padding: 0.78rem 0.96rem 0.74rem;
}

.flat-ship-route-block {
  display: grid;
  gap: 0.34rem;
  padding-bottom: 0.44rem;
  border-bottom: 1px solid rgba(183, 192, 188, 0.62);
}

.flat-ship-route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.4rem minmax(0, 1fr);
  gap: 0.46rem;
  align-items: center;
}

.flat-ship-port {
  display: grid;
  gap: 0.16rem;
  justify-items: center;
  text-align: center;
}

.flat-ship-port strong {
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 0.94;
  color: var(--flat-ink);
}

.flat-ship-port span {
  font-size: 0.64rem;
  line-height: 1.04;
  color: rgba(59, 65, 74, 0.9);
}

.flat-ship-connector {
  position: relative;
  display: grid;
  place-items: center;
}

.flat-ship-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(58, 159, 107, 0.16), rgba(58, 159, 107, 0.72), rgba(58, 159, 107, 0.16));
  transform: translateY(-50%);
}

.flat-ship-connector span {
  position: relative;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 2px rgba(58, 159, 107, 0.2);
}

.flat-ship-service-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.flat-ship-service-name {
  font-size: 0.54rem;
  font-weight: 700;
  color: rgba(47, 56, 60, 0.92);
}

.flat-ship-route-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.18rem;
  padding: 0 0.52rem;
  border-radius: 999px;
  background: rgba(58, 159, 107, 0.1);
  box-shadow: inset 0 0 0 1px rgba(58, 159, 107, 0.22);
  color: #1d5a3f;
  font-size: 0.49rem;
  font-weight: 700;
}

.flat-ship-route-chip .flat-locale-stack {
  gap: 0.02rem;
}

.flat-ship-route-chip .flat-locale-stack [lang="zh-CN"] {
  color: rgba(29, 90, 63, 0.82);
}

.flat-ship-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(190, 197, 194, 0.66);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  min-height: 0;
}

.flat-ship-cell {
  display: grid;
  gap: 0.1rem;
  min-height: 3.12rem;
  padding: 0.52rem 0.64rem 0.44rem;
  border-right: 1px solid rgba(190, 197, 194, 0.66);
  border-bottom: 1px solid rgba(190, 197, 194, 0.66);
}

.flat-ship-cell:nth-child(2n) {
  border-right: 0;
}

.flat-ship-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.flat-ship-cell .flat-ticket-value.is-primary .flat-locale-stack [lang="en"] {
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.02;
}

.flat-ship-cell .flat-ticket-value.is-primary .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.5rem;
  line-height: 1.14;
}

.flat-ship-cell .flat-ticket-value.is-fare {
  font-size: 0.98rem;
}

.flat-ship-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem;
  gap: 0.52rem;
  align-items: end;
  padding-top: 0;
}

.flat-ship-issuer {
  display: grid;
  gap: 0.14rem;
  align-self: stretch;
  padding: 0.5rem 0.6rem 0.54rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(248, 249, 246, 0.46));
  box-shadow: inset 0 0 0 1px rgba(189, 197, 193, 0.58);
}

.flat-ship-issuer strong .flat-locale-stack [lang="en"] {
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--flat-ink);
}

.flat-ship-issuer strong .flat-locale-stack [lang="zh-CN"] {
  font-size: 0.44rem;
  line-height: 1.12;
  color: rgba(59, 65, 74, 0.9);
}

.flat-ship-barcode-wrap {
  display: grid;
  gap: 0.16rem;
  padding: 0.42rem 0.48rem 0.46rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(189, 197, 193, 0.62);
}

.flat-ship-barcode-wrap .flat-ticket-barcode.is-horizontal {
  min-height: 1.62rem;
}

.flat-ship-barcode-wrap .flat-ticket-barcode-text {
  margin-top: 0;
  font-size: 0.34rem;
  letter-spacing: 0.16em;
}

@media (max-width: 720px) {
  .flat-preview-panel {
    padding: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flat-render-host,
  .flat-preview-frame,
  .flat-train-ticket {
    scroll-behavior: auto;
  }
}
