:root {
  --tms-night: #071a27;
  --tms-navy: #0c2b3d;
  --tms-blue: #126782;
  --tms-cyan: #38b6c6;
  --tms-orange: #f59e0b;
  --tms-orange-deep: #dd7d08;
  --tms-ink: #102c3c;
  --tms-ink-soft: #345466;
  --tms-muted: #687e8b;
  --tms-paper: #f2f6f8;
  --tms-line: #d8e3e8;
  --tms-white: #ffffff;
  --tms-shadow: 0 28px 76px rgba(7, 34, 48, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.tms-transportation-page { margin: 0; color: var(--tms-ink); background: #fff; font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
.tms-transportation-page a { color: inherit; text-decoration: none; }
.tms-transportation-page img { display: block; max-width: 100%; }
.tms-transportation-page .tms-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.tms-transportation-page h1,
.tms-transportation-page h2,
.tms-transportation-page h3 { width: 100%; min-width: 0; max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; }
.tms-kicker,
.tms-overline { margin: 0 0 11px; color: var(--tms-blue); font-size: 11px; font-weight: 900; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.tms-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.tms-button:hover { transform: translateY(-2px); }
.tms-button--primary { color: #172330; background: var(--tms-orange); box-shadow: 0 14px 32px rgba(245, 158, 11, .23); }
.tms-button--ghost { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
.tms-button--outline { color: var(--tms-blue); border-color: rgba(18,103,130,.3); background: #fff; }

.tms-hero { padding: 54px 0; color: #fff; background: radial-gradient(circle at 15% 12%, rgba(31,111,137,.25), transparent 32%), var(--tms-night); }
.tms-hero__inner { display: grid; grid-template-columns: minmax(410px,.82fr) minmax(0,1.18fr); align-items: center; gap: 54px; }
.tms-hero__copy { min-width: 0; padding: 32px 0; }
.tms-hero .tms-overline { color: #73d6e2; }
.tms-hero h1 { margin: 0; color: #fff; font-size: clamp(46px, 5.3vw, 76px); font-weight: 950; letter-spacing: -.06em; line-height: 1.02; }
.tms-hero__claim { margin: 20px 0 0; font-size: clamp(21px, 2.25vw, 32px); font-weight: 900; line-height: 1.28; }
.tms-hero__lead { max-width: 670px; margin: 17px 0 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.86; }
.tms-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tms-proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 31px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); list-style: none; }
.tms-proof li { min-width: 0; padding: 16px 14px; border-right: 1px solid rgba(255,255,255,.13); }
.tms-proof li:first-child { padding-left: 0; }
.tms-proof li:last-child { border-right: 0; }
.tms-proof strong,
.tms-proof span { display: block; }
.tms-proof strong { font-size: 15px; }
.tms-proof span { margin-top: 5px; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.55; }
.tms-hero__visual { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: #0b2230; box-shadow: 0 34px 90px rgba(0,0,0,.32); }
.tms-hero__visual img { width: 100%; height: auto; }
.tms-hero__visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; color: #fff; background: #0b2637; }
.tms-hero__visual figcaption strong { font-size: 14px; }
.tms-hero__visual figcaption span { color: rgba(255,255,255,.58); font-size: 11px; text-align: right; }

.tms-anchor { display: none; border-bottom: 1px solid var(--tms-line); background: rgba(255,255,255,.97); }
body.xb-shell-embedded .tms-anchor { position: sticky; top: 0; z-index: 80; display: block; }
.tms-anchor__scroll { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.tms-anchor__scroll::-webkit-scrollbar { display: none; }
.tms-anchor__scroll a { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 48px; padding: 0 17px; border-bottom: 2px solid transparent; color: var(--tms-muted); font-size: 12px; font-weight: 850; white-space: nowrap; }
.tms-anchor__scroll a.is-active { color: var(--tms-blue); border-color: var(--tms-orange); }

.tms-section { padding: 82px 0; background: #fff; }
.tms-section--paper { background: var(--tms-paper); }
.tms-section--dark { color: #fff; background: var(--tms-night); }
.tms-heading { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(320px,.84fr); align-items: end; gap: 72px; margin-bottom: 34px; }
.tms-heading h2 { margin: 0; font-size: clamp(31px,3.2vw,47px); font-weight: 950; letter-spacing: -.052em; line-height: 1.08; }
.tms-heading > p { margin: 0; color: var(--tms-muted); font-size: 14px; line-height: 1.82; }
.tms-section--dark .tms-heading h2 { color: #fff; }
.tms-section--dark .tms-heading > p { color: rgba(255,255,255,.58); }
.tms-section--dark .tms-kicker { color: #73d6e2; }

.role-rail { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-top: 1px solid var(--tms-line); border-bottom: 1px solid var(--tms-line); }
.role-rail article { min-width: 0; padding: 23px 18px; border-right: 1px solid var(--tms-line); }
.role-rail article:last-child { border-right: 0; }
.role-rail span { color: var(--tms-blue); font-size: 11px; font-weight: 900; }
.role-rail h3 { margin: 10px 0 0; font-size: 17px; }
.role-rail p { margin: 7px 0 0; color: var(--tms-muted); font-size: 13px; line-height: 1.7; }
.tms-breakpoint-band { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border: 1px solid var(--tms-line); }
.tms-breakpoint-band strong,
.tms-breakpoint-band span { padding: 11px 14px; border-right: 1px solid var(--tms-line); font-size: 12px; }
.tms-breakpoint-band strong { color: #fff; background: var(--tms-blue); }
.tms-breakpoint-band span { color: var(--tms-ink-soft); }

.tms-route-scene { margin: 0; overflow: hidden; border-radius: 22px; background: #0c2534; box-shadow: 0 32px 84px rgba(0,0,0,.28); }
.tms-route-scene img { width: 100%; height: auto; }
.tms-route-scene figcaption,
.tms-scene figcaption { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 19px; color: #fff; background: var(--tms-navy); }
.tms-route-scene figcaption strong,
.tms-scene figcaption strong { font-size: 14px; }
.tms-route-scene figcaption span,
.tms-scene figcaption span { color: rgba(255,255,255,.58); font-size: 11px; text-align: right; }
.journey-steps { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 31px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); list-style: none; }
.journey-steps li { min-width: 0; padding: 21px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.journey-steps span { color: #73d6e2; font-size: 11px; font-weight: 900; }
.journey-steps h3 { margin: 9px 0 0; color: #fff; font-size: 17px; }
.journey-steps p { margin: 7px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.68; }

.tms-story { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr); align-items: center; gap: 48px; }
.tms-story--reverse { grid-template-columns: minmax(360px,.8fr) minmax(0,1.2fr); }
.tms-story--reverse .tms-scene { order: 2; }
.tms-scene { margin: 0; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: var(--tms-shadow); }
.tms-scene img { width: 100%; height: auto; }
.ledger { border-top: 1px solid var(--tms-line); }
.ledger article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--tms-line); }
.ledger article > span { grid-row: 1 / 3; color: var(--tms-orange-deep); font-size: 11px; font-weight: 900; }
.ledger h3 { margin: 0; font-size: 17px; }
.ledger p { margin: 6px 0 0; color: var(--tms-muted); font-size: 13px; line-height: 1.7; }

.tms-plan-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tms-plan-controls button,
.tms-exception-controls button { min-height: 36px; padding: 0 13px; border: 1px solid var(--tms-line); border-radius: 8px; color: var(--tms-ink-soft); background: #fff; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.tms-plan-controls button.is-active,
.tms-exception-controls button.is-active { color: #fff; border-color: var(--tms-blue); background: var(--tms-blue); }
.tms-plan-board { padding: 22px; border: 1px solid var(--tms-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 48px rgba(18,64,83,.08); }
.tms-plan-board__route { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.tms-plan-board__route span { padding: 10px; border-radius: 8px; color: var(--tms-muted); background: #eef4f6; font-size: 11px; font-weight: 850; text-align: center; }
.tms-plan-board[data-mode="service"] .tms-plan-board__route span:nth-child(-n+2) { color: #fff; background: var(--tms-blue); }
.tms-plan-board[data-mode="cost"] .tms-plan-board__route span:nth-child(n+3) { color: #fff; background: var(--tms-orange-deep); }
.tms-plan-board[data-mode="balanced"] .tms-plan-board__route span { color: #fff; background: linear-gradient(135deg,var(--tms-blue),#208ea7); }
.tms-plan-output { min-height: 44px; margin: 14px 0 0; color: var(--tms-muted); font-size: 13px; line-height: 1.7; }

.tms-execution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tms-execution-grid .tms-scene:nth-child(2) { margin-top: 52px; }
.feature-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 28px; border-top: 1px solid var(--tms-line); border-bottom: 1px solid var(--tms-line); }
.feature-strip article { min-width: 0; padding: 20px; border-right: 1px solid var(--tms-line); }
.feature-strip article:last-child { border-right: 0; }
.feature-strip strong,
.feature-strip span { display: block; }
.feature-strip strong { font-size: 16px; }
.feature-strip span { margin-top: 6px; color: var(--tms-muted); font-size: 12px; line-height: 1.68; }

.tms-exception-layout { display: grid; grid-template-columns: minmax(350px,.76fr) minmax(0,1.24fr); align-items: start; gap: 48px; }
.tms-exception-copy > p:not(.tms-kicker) { margin: 15px 0 0; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.82; }
.tms-exception-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tms-exception-controls button { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.tms-exception-output { min-height: 25px; margin: 13px 0 0; color: #71d5e1; font-size: 12px; }
.tms-exception-timeline { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); list-style: none; }
.tms-exception-timeline li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 18px 0 18px 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.tms-exception-timeline li::before { position: absolute; top: 24px; left: 0; width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--tms-orange); box-shadow: 0 0 0 5px rgba(245,158,11,.12); }
.tms-exception-timeline time { color: #73d6e2; font-size: 12px; font-weight: 900; }
.tms-exception-timeline strong { display: block; font-size: 16px; }
.tms-exception-timeline p { margin: 6px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; }
.tms-exception-timeline [hidden] { display: none; }

.console-rails { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 28px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.console-rails article { min-width: 0; padding: 20px; border-right: 1px solid rgba(255,255,255,.15); }
.console-rails article:last-child { border-right: 0; }
.console-rails span { color: #73d6e2; font-size: 11px; font-weight: 900; }
.console-rails h3 { margin: 9px 0 0; color: #fff; font-size: 17px; }
.console-rails p { margin: 7px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.68; }

.scenario-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--tms-line); border-left: 1px solid var(--tms-line); }
.scenario-grid article { min-width: 0; padding: 25px; border-right: 1px solid var(--tms-line); border-bottom: 1px solid var(--tms-line); }
.scenario-grid span { color: var(--tms-blue); font-size: 11px; font-weight: 900; }
.scenario-grid h3 { margin: 10px 0 0; font-size: 17px; }
.scenario-grid p { margin: 7px 0 0; color: var(--tms-muted); font-size: 13px; line-height: 1.7; }
.tms-boundary { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 58px; margin-top: 42px; padding: 34px; border-radius: 18px; color: #fff; background: var(--tms-night); }
.tms-boundary h2 { margin: 0; color: #fff; font-size: clamp(27px,2.7vw,40px); font-weight: 950; letter-spacing: -.045em; line-height: 1.1; }
.tms-boundary p { margin: 13px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.75; }
.tms-boundary ul { margin: 0; padding: 0; list-style: none; }
.tms-boundary li { position: relative; padding: 9px 0 9px 18px; border-bottom: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.68; }
.tms-boundary li:last-child { border-bottom: 0; }
.tms-boundary li::before { position: absolute; top: 17px; left: 0; width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--tms-orange); }

.tms-faq { margin-top: 46px; }
.tms-faq h2 { margin: 0 0 20px; font-size: clamp(27px,2.8vw,40px); font-weight: 950; }
.tms-faq details { border-top: 1px solid var(--tms-line); }
.tms-faq details:last-child { border-bottom: 1px solid var(--tms-line); }
.tms-faq summary { padding: 18px 0; font-size: 15px; font-weight: 900; cursor: pointer; }
.tms-faq details p { max-width: 920px; margin: -3px 0 20px; color: var(--tms-muted); font-size: 13px; line-height: 1.8; }

.tms-contact { padding: 68px 0; color: #fff; background: var(--tms-blue); }
.tms-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.tms-contact .tms-kicker { color: #b8eef2; }
.tms-contact h2 { margin: 0; color: #fff; font-size: clamp(28px,3vw,43px); font-weight: 950; letter-spacing: -.045em; }
.tms-contact p:not(.tms-kicker) { margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.75; }
.tms-contact__actions { display: flex; flex: 0 0 auto; gap: 10px; }

.tms-reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s ease; }
.tms-reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1260px) {
  body.xb-shell-ready:not(.xb-shell-embedded) .tms-anchor { display: block; }
  .tms-anchor__scroll { justify-content: flex-start; }
}

@media (max-width: 1080px) {
  .tms-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .tms-hero__copy { padding-bottom: 4px; }
  .tms-heading { gap: 36px; }
  .role-rail { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .role-rail article:nth-child(-n+3) { border-bottom: 1px solid var(--tms-line); }
  .role-rail article:nth-child(3) { border-right: 0; }
  .tms-story,
  .tms-story--reverse { grid-template-columns: 1fr; gap: 30px; }
  .tms-story--reverse .tms-scene { order: 0; }
  .tms-exception-layout { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .tms-transportation-page .tms-shell { width: calc(100% - 28px); }
  .tms-hero { padding: 40px 0; }
  .tms-hero__copy { padding: 0; }
  .tms-hero h1 { font-size: clamp(30px,9.6vw,44px); }
  .tms-hero__claim { font-size: clamp(19px,5.5vw,26px); }
  .tms-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .tms-proof li { padding: 13px 7px; text-align: center; }
  .tms-proof li:first-child { padding-left: 7px; }
  .tms-hero__visual,
  .tms-route-scene,
  .tms-scene { border-radius: 14px; }
  .tms-hero__visual figcaption,
  .tms-route-scene figcaption,
  .tms-scene figcaption { align-items: flex-start; flex-direction: column; gap: 6px; }
  .tms-hero__visual figcaption span,
  .tms-route-scene figcaption span,
  .tms-scene figcaption span { text-align: left; }
  .tms-section { padding: 62px 0; }
  .tms-heading { display: block; margin-bottom: 27px; }
  .tms-heading > p { margin-top: 14px; }
  .tms-heading h2 { font-size: clamp(23px,7.4vw,34px); }
  .role-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .role-rail article:nth-child(3) { border-right: 1px solid var(--tms-line); }
  .role-rail article:nth-child(2n) { border-right: 0; }
  .role-rail article:nth-child(-n+4) { border-bottom: 1px solid var(--tms-line); }
  .journey-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tms-execution-grid { grid-template-columns: 1fr; }
  .tms-execution-grid .tms-scene:nth-child(2) { margin-top: 0; }
  .feature-strip,
  .console-rails { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-strip article:nth-child(-n+2),
  .console-rails article:nth-child(-n+2) { border-bottom: 1px solid var(--tms-line); }
  .console-rails article:nth-child(-n+2) { border-bottom-color: rgba(255,255,255,.15); }
  .feature-strip article:nth-child(2),
  .console-rails article:nth-child(2) { border-right: 0; }
  .scenario-grid { grid-template-columns: 1fr; }
  .tms-boundary { grid-template-columns: 1fr; gap: 26px; padding: 24px 20px; }
  .tms-boundary h2 { font-size: clamp(23px,7vw,32px); }
  .tms-contact__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .tms-hero__actions,
  .tms-contact__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .tms-proof { grid-template-columns: 1fr; }
  .tms-proof li,
  .tms-proof li:first-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); text-align: left; }
  .tms-proof li:last-child { border-bottom: 0; }
  .role-rail,
  .journey-steps,
  .feature-strip,
  .console-rails { grid-template-columns: 1fr; }
  .role-rail article,
  .role-rail article:nth-child(3),
  .role-rail article:nth-child(2n),
  .feature-strip article,
  .console-rails article { border-right: 0; border-bottom: 1px solid var(--tms-line); }
  .console-rails article { border-bottom-color: rgba(255,255,255,.15); }
  .role-rail article:last-child,
  .feature-strip article:last-child,
  .console-rails article:last-child { border-bottom: 0; }
  .tms-plan-board__route { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tms-exception-timeline li { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tms-reveal { opacity: 1; transform: none; transition: none; }
  .tms-button,
  .tms-plan-controls button,
  .tms-exception-controls button { transition: none; }
}

.tms-transportation-page :where(a,button):focus-visible {
  outline: 3px solid var(--tms-orange);
  outline-offset: 3px;
}
