/* ZHT traffic-safety project router; scoped to the shortcode root. */
.zht-ts-router {
  --brand: #0d3a69;
  --brand-strong: #082c51;
  --brand-soft: #eaf1f8;
  --traffic: #d34947;
  --traffic-soft: #fbeeed;
  --paper: #ffffff;
  --surface: #f4f6f8;
  --surface-strong: #e8edf2;
  --ink: #17212b;
  --muted: #566575;
  --line: #d8e0e7;
  --success: #237a57;
  --radius: 8px;
  --focus-ring: 0 0 0 3px rgba(13, 58, 105, 0.22);
  --shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

.zht-ts-router, .zht-ts-router * {
  box-sizing: border-box;
}

.zht-ts-router {
  scroll-behavior: smooth;
}

.zht-ts-router {
  min-width: 320px;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

.zht-ts-router button,
.zht-ts-router select,
.zht-ts-router textarea { min-height: 46px;
  font: inherit;
  letter-spacing: 0;
}

.zht-ts-router input {
  font: inherit;
  letter-spacing: 0;
}

.zht-ts-router button,
.zht-ts-router select {
  cursor: pointer;
}

.zht-ts-router button:focus-visible,
.zht-ts-router select:focus-visible,
.zht-ts-router textarea:focus-visible,
.zht-ts-router input:focus-visible,
.zht-ts-router a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.zht-ts-router a {
  color: var(--brand);
}

.zht-ts-router .site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.zht-ts-router .header-inner,
.zht-ts-router .page-shell,
.zht-ts-router .site-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.zht-ts-router .header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.zht-ts-router .brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.zht-ts-router .brand-lockup img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.zht-ts-router .brand-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.zht-ts-router .brand-subtitle {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.zht-ts-router .local-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.zht-ts-router .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.zht-ts-router .page-shell {
  padding: 48px 0 56px;
}

.zht-ts-router .intro {
  max-width: 820px;
}

.zht-ts-router .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.zht-ts-router .eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--traffic);
  content: "";
}

.zht-ts-router h1,
.zht-ts-router h2,
.zht-ts-router h3,
.zht-ts-router p {
  margin-top: 0;
}

.zht-ts-router h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.18;
}

.zht-ts-router .intro-copy {
  max-width: 760px;
  margin-bottom: 14px;
  color: #334252;
  font-size: 18px;
}

.zht-ts-router .boundary-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 5px 10px;
  border-left: 3px solid var(--traffic);
  background: var(--traffic-soft);
  color: #6d2b2a;
  font-size: 13px;
  font-weight: 600;
}

.zht-ts-router .route-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.zht-ts-router .route-step {
  min-height: 92px;
  padding: 16px;
  background: var(--paper);
}

.zht-ts-router .route-step-number {
  display: block;
  margin-bottom: 6px;
  color: var(--traffic);
  font-size: 13px;
  font-weight: 800;
}

.zht-ts-router .route-step strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.zht-ts-router .route-step span:last-child {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.zht-ts-router .tool-shell {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.zht-ts-router .input-pane,
.zht-ts-router .result-pane {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.zht-ts-router .input-pane {
  position: sticky;
  top: 20px;
  overflow: hidden;
}

.zht-ts-router .pane-heading {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.zht-ts-router .pane-kicker {
  margin-bottom: 5px;
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.zht-ts-router .pane-heading h2 {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.35;
}

.zht-ts-router .pane-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.zht-ts-router #router-form {
  padding: 22px 24px 24px;
}

.zht-ts-router fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.zht-ts-router legend,
.zht-ts-router .field-label {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.zht-ts-router .scene-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.zht-ts-router .scene-option {
  position: relative;
  min-height: 82px;
}

.zht-ts-router .scene-option input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.zht-ts-router .scene-option label {
  display: flex;
  height: 100%;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease,
    box-shadow 160ms ease;
}

.zht-ts-router .scene-option label:hover {
  border-color: #9eb1c4;
  background: #f9fbfd;
}

.zht-ts-router .scene-option input:checked + label {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 3px 0 0 var(--brand);
}

.zht-ts-router .scene-option input:focus-visible + label {
  box-shadow: var(--focus-ring);
}

.zht-ts-router .scene-option strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.zht-ts-router .scene-option span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.zht-ts-router .fields-stack {
  display: grid;
  gap: 17px;
}

.zht-ts-router .field-control {
  min-width: 0;
}

.zht-ts-router .field-control select,
.zht-ts-router .field-control textarea {
  width: 100%;
  border: 1px solid #b9c5d0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.zht-ts-router .field-control select {
  padding: 0 38px 0 12px;
}

.zht-ts-router .field-control textarea {
  min-height: 96px;
  resize: vertical;
  padding: 10px 12px;
}

.zht-ts-router .field-control select:hover,
.zht-ts-router .field-control textarea:hover {
  border-color: #8194a6;
}

.zht-ts-router .field-help,
.zht-ts-router .character-count {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.zht-ts-router .character-count {
  text-align: right;
}

.zht-ts-router .form-divider {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: var(--line);
}

.zht-ts-router .error-summary {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--traffic);
  background: var(--traffic-soft);
  color: #702b2a;
  font-size: 13px;
}

.zht-ts-router .form-actions,
.zht-ts-router .result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zht-ts-router .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.zht-ts-router .button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--paper);
}

.zht-ts-router .button-primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.zht-ts-router .button-secondary {
  border-color: #aebbc7;
  background: var(--paper);
  color: var(--ink);
}

.zht-ts-router .button-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.zht-ts-router .privacy-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.zht-ts-router .result-pane {
  min-height: 720px;
  overflow: hidden;
}

.zht-ts-router .result-empty {
  display: grid;
  min-height: 650px;
  place-items: center;
  padding: 44px;
  text-align: center;
}

.zht-ts-router .empty-inner {
  max-width: 460px;
}

.zht-ts-router .empty-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid #b8c8d8;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
}

.zht-ts-router .empty-inner h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.zht-ts-router .empty-inner p {
  margin-bottom: 0;
  color: var(--muted);
}

.zht-ts-router .result-content {
  padding: 0 30px 30px;
}

.zht-ts-router .result-header {
  margin: 0 -30px 8px;
  padding: 28px 30px 24px;
  border-bottom: 1px solid var(--line);
  background: #f9fbfd;
}

.zht-ts-router .result-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--brand);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .result-header h2 {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1.3;
}

.zht-ts-router .result-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.zht-ts-router .result-module {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.zht-ts-router .result-module:last-of-type {
  border-bottom: 0;
}

.zht-ts-router .module-index {
  margin-bottom: 5px;
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .module-heading h3 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.45;
}

.zht-ts-router .module-body {
  min-width: 0;
  color: #2d3a47;
}

.zht-ts-router .module-body p:last-child,
.zht-ts-router .module-body ul:last-child {
  margin-bottom: 0;
}

.zht-ts-router .module-body ul {
  margin: 0;
  padding-left: 20px;
}

.zht-ts-router .module-body li + li {
  margin-top: 7px;
}

.zht-ts-router .evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.zht-ts-router .evidence-group {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.zht-ts-router .evidence-group h4 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
}

.zht-ts-router .evidence-group ul {
  padding-left: 17px;
  font-size: 13px;
}

.zht-ts-router .service-route {
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
}

.zht-ts-router .boundary-list {
  color: #4b5966;
  font-size: 14px;
}

.zht-ts-router .result-actions {
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.zht-ts-router .button--link {
  min-height: 46px;
  padding-right: 8px;
  padding-left: 8px;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zht-ts-router .button:disabled {
  border-color: #c8d0d8;
  background: #e6eaee;
  color: #7c8996;
  cursor: not-allowed;
}

.zht-ts-router .save-request-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.zht-ts-router .save-request-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.zht-ts-router .save-request-panel__heading h4 {
  margin: 0;
  font-size: 18px;
}

.zht-ts-router .save-request-panel__close {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
}

.zht-ts-router .save-request-panel__copy {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.zht-ts-router .save-review-list {
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
}

.zht-ts-router .save-review-list > div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.zht-ts-router .save-review-list dt,
.zht-ts-router .save-review-list dd {
  margin: 0;
}

.zht-ts-router .save-review-list dt {
  color: var(--muted);
  font-size: 12px;
}

.zht-ts-router .save-review-list dd {
  font-size: 13px;
  font-weight: 650;
}

.zht-ts-router #save-request-form {
  display: grid;
  gap: 14px;
}

.zht-ts-router #save-request-form input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 0 11px;
  border: 1px solid #b9c5d0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.zht-ts-router .save-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: #344351;
  font-size: 13px;
}

.zht-ts-router .save-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.zht-ts-router .save-request-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.zht-ts-router .save-request-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.zht-ts-router .save-request-panel__hint {
  color: var(--muted);
  font-size: 11px;
}

.zht-ts-router .save-status {
  padding: 11px 12px;
  border-left: 3px solid var(--success);
  background: #edf7f2;
  color: #205f46;
  font-size: 13px;
}

.zht-ts-router .save-status--error {
  border-left-color: var(--traffic);
  background: var(--traffic-soft);
  color: #702b2a;
}

.zht-ts-router .site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.zht-ts-router .site-footer-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.zht-ts-router .site-footer p {
  margin-bottom: 0;
}

.zht-ts-router .skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--brand);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-150%);
}

.zht-ts-router .skip-link:focus {
  transform: translateY(0);
}

.zht-ts-router /* Actual page structure */
.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(20px, calc((100% - 1180px) / 2));
}

.zht-ts-router .brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.zht-ts-router .brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 4px;
  object-fit: contain;
}

.zht-ts-router .brand strong,
.zht-ts-router .brand small {
  display: block;
}

.zht-ts-router .brand strong {
  font-size: 15px;
  line-height: 1.3;
}

.zht-ts-router .brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.zht-ts-router .local-status > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
}

.zht-ts-router main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.zht-ts-router .intro {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  align-items: end;
  gap: 48px;
}

.zht-ts-router .intro__copy {
  max-width: 800px;
}

.zht-ts-router .intro__lead {
  max-width: 760px;
  margin-bottom: 12px;
  color: #334252;
  font-size: 18px;
}

.zht-ts-router .intro__boundary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.zht-ts-router .privacy-brief {
  padding: 18px 20px;
  border-top: 3px solid var(--traffic);
  background: var(--paper);
}

.zht-ts-router .privacy-brief strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.zht-ts-router .privacy-brief ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 13px;
}

.zht-ts-router .privacy-brief li + li {
  margin-top: 4px;
}

.zht-ts-router .route-strip {
  padding: 0;
  list-style: none;
}

.zht-ts-router .route-strip li {
  min-width: 0;
  min-height: 92px;
  padding: 16px;
  background: var(--paper);
}

.zht-ts-router .route-strip li > span {
  display: block;
  margin-bottom: 5px;
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .route-strip li > strong,
.zht-ts-router .route-strip li > small {
  display: block;
}

.zht-ts-router .route-strip li > strong {
  font-size: 15px;
  line-height: 1.4;
}

.zht-ts-router .route-strip li > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.zht-ts-router .tool-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.zht-ts-router .step-label {
  margin-bottom: 5px;
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .scene-fieldset legend > span,
.zht-ts-router .field > span em {
  margin-left: 5px;
  color: var(--traffic);
  font-size: 11px;
  font-style: normal;
}

.zht-ts-router .scene-option label {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.zht-ts-router .scene-option__number {
  flex: 0 0 22px;
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .scene-option__copy {
  min-width: 0;
}

.zht-ts-router .scene-option__copy strong,
.zht-ts-router .scene-option__copy small {
  display: block;
}

.zht-ts-router .scene-option__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.zht-ts-router .form-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.zht-ts-router .form-section h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.zht-ts-router .form-section__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.zht-ts-router .form-section__heading > span {
  color: var(--muted);
  font-size: 12px;
}

.zht-ts-router .field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}

.zht-ts-router .field {
  display: block;
  min-width: 0;
}

.zht-ts-router .field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.zht-ts-router .field select,
.zht-ts-router .field textarea {
  width: 100%;
  border: 1px solid #b9c5d0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.zht-ts-router .field select {
  padding: 0 34px 0 11px;
}

.zht-ts-router .field textarea {
  min-height: 96px;
  padding: 10px 11px;
  resize: vertical;
}

.zht-ts-router .field__help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.zht-ts-router .field-help-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.zht-ts-router .field-help-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.zht-ts-router .field-help-row p:last-child {
  flex: 0 0 auto;
}

.zht-ts-router .privacy-note {
  margin: 20px 0 14px;
  padding: 11px 12px;
  border-left: 3px solid var(--traffic);
  background: var(--traffic-soft);
  color: #633332;
  font-size: 12px;
}

.zht-ts-router .button--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--paper);
}

.zht-ts-router .button--primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.zht-ts-router .button--quiet {
  border-color: #aebbc7;
  background: var(--paper);
  color: var(--ink);
}

.zht-ts-router .button--quiet:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.zht-ts-router .result-empty__number {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid #b8c8d8;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.zht-ts-router .empty-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.zht-ts-router .empty-chain i {
  width: 24px;
  height: 1px;
  background: #a7b7c7;
}

.zht-ts-router .result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.zht-ts-router .module-number {
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .module-body h3 {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.4;
}

.zht-ts-router .summary-facts {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  margin: 0;
}

.zht-ts-router .summary-facts dt,
.zht-ts-router .summary-facts dd {
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.zht-ts-router .summary-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.zht-ts-router .summary-facts dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.zht-ts-router .result-description {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.zht-ts-router .result-module--accent {
  margin-right: -30px;
  margin-left: -30px;
  padding-right: 30px;
  padding-left: 30px;
  background: var(--brand-soft);
}

.zht-ts-router .reframe-copy {
  margin-bottom: 0;
  color: var(--brand-strong);
  font-size: 17px;
  font-weight: 650;
}

.zht-ts-router .evidence-grid > div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.zht-ts-router .evidence-grid h4 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 12px;
}

.zht-ts-router .evidence-grid ul,
.zht-ts-router .plain-list {
  margin: 0;
  padding-left: 18px;
}

.zht-ts-router .evidence-grid ul {
  font-size: 12px;
}

.zht-ts-router .control-chain,
.zht-ts-router .action-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zht-ts-router .control-chain li,
.zht-ts-router .action-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.zht-ts-router .list-index {
  color: var(--traffic);
  font-size: 12px;
  font-weight: 800;
}

.zht-ts-router .control-chain p,
.zht-ts-router .action-list p {
  margin: 0;
}

.zht-ts-router .result-module--service {
  margin-top: 14px;
  padding-right: 18px;
  padding-left: 18px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
}

.zht-ts-router .service-level {
  margin-bottom: 4px;
  color: var(--traffic);
  font-size: 11px;
  font-weight: 800;
}

.zht-ts-router .result-module--service h3 {
  margin-bottom: 7px;
}

.zht-ts-router .result-module--service p:last-child {
  margin-bottom: 0;
}

.zht-ts-router .site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100% - 1180px) / 2));
}

.zht-ts-router [hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .zht-ts-router main {
    padding-top: 36px;
  }

  .zht-ts-router .intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .zht-ts-router .privacy-brief {
    max-width: 560px;
  }

  .zht-ts-router .route-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zht-ts-router .tool-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .zht-ts-router .input-pane {
    position: static;
  }

  .zht-ts-router .result-pane {
    min-height: 560px;
  }

  .zht-ts-router .result-empty {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .zht-ts-router .site-header {
    min-height: 62px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .zht-ts-router .brand strong {
    font-size: 13px;
  }

  .zht-ts-router .brand small,
.zht-ts-router .local-status {
    display: none;
  }

  .zht-ts-router main {
    width: calc(100% - 24px);
    padding: 28px 0 40px;
  }

  .zht-ts-router h1 {
    font-size: 34px;
  }

  .zht-ts-router .intro-copy {
    font-size: 16px;
  }

  .zht-ts-router .route-strip {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }

  .zht-ts-router .route-step {
    min-height: 72px;
  }

  .zht-ts-router .route-strip li {
    min-height: 72px;
  }

  .zht-ts-router .scene-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .zht-ts-router .pane-heading,
.zht-ts-router #router-form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .zht-ts-router .result-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .zht-ts-router .result-header {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .zht-ts-router .result-module {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .zht-ts-router .result-module--accent {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .zht-ts-router .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .zht-ts-router .form-actions .button,
.zht-ts-router .result-actions .button {
    width: 100%;
  }

  .zht-ts-router .result-actions {
    align-items: stretch;
  }

  .zht-ts-router .button--link {
    text-align: center;
  }

  .zht-ts-router .save-request-panel__actions .button {
    width: 100%;
  }

  .zht-ts-router .site-footer {
    min-height: 84px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zht-ts-router, .zht-ts-router *,
.zht-ts-router *::before,
.zht-ts-router *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  .zht-ts-router {
    background: var(--paper);
    font-size: 11pt;
  }

  .zht-ts-router .site-header,
.zht-ts-router .intro,
.zht-ts-router .route-strip,
.zht-ts-router .input-pane,
.zht-ts-router .site-footer,
.zht-ts-router .result-actions,
.zht-ts-router .save-request-panel {
    display: none !important;
  }

  .zht-ts-router .page-shell {
    width: 100%;
    padding: 0;
  }

  .zht-ts-router .tool-shell {
    display: block;
  }

  .zht-ts-router .result-pane {
    min-height: 0;
    border: 0;
    box-shadow: none;
  }

  .zht-ts-router .result-content {
    padding: 0;
  }

  .zht-ts-router .result-header {
    margin: 0 0 8mm;
    padding: 0 0 6mm;
    background: transparent;
  }

  .zht-ts-router .result-module,
.zht-ts-router .evidence-group,
.zht-ts-router .service-route {
    break-inside: avoid;
  }

  .zht-ts-router .result-module {
    grid-template-columns: 38mm minmax(0, 1fr);
    padding: 5mm 0;
  }
}


@media print {
  body > *:not(.site-main):not(main),
  .zht-ts-router .input-pane,
  .zht-ts-router .result-actions,
  .zht-ts-router .save-request-panel { display: none !important; }
  .zht-ts-router .tool-workspace { display: block !important; }
  .zht-ts-router .result-pane { border: 0 !important; box-shadow: none !important; }
}
