/* Appily fortytwo — Harvest Dispatch track (unique layout + dynamic UI) */

.page-track-dispatch {
  --dp-olive: var(--a42-olive);
  --dp-olive-dark: var(--a42-olive-dark);
  --dp-gold: var(--a42-gold);
  --dp-rose: var(--a42-rose);
  --dp-terra: #B85C38;
  --dp-moss: #3D6B4F;
  --dp-sage: var(--a42-sage-mid);
  --dp-ink: var(--a42-ink);
  --dp-muted: var(--a42-muted);
  --dp-border: var(--a42-border);
  --dp-cream: var(--a42-cream);
  --dp-white: var(--a42-white);
  --dp-display: 'Syne', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 75% 45% at 100% 0%, rgba(201, 162, 39, 0.09), transparent 50%),
    radial-gradient(ellipse 55% 35% at 0% 100%, rgba(61, 107, 79, 0.08), transparent 45%),
    var(--dp-cream);
}

.page-track-dispatch .page-main { padding-top: 0; }

.a42-dispatch-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dp-terra);
}

/* ── Hero ── */
.a42-dispatch-hero {
  position: relative;
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
  overflow: hidden;
}

.a42-dispatch-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.a42-dispatch-ring {
  position: absolute;
  border: 2px dashed rgba(31, 69, 41, 0.1);
  border-radius: 50%;
  animation: a42DispatchSpin 38s linear infinite;
}
.a42-dispatch-ring--1 { width: 500px; height: 500px; top: -180px; right: -100px; }
.a42-dispatch-ring--2 { width: 280px; height: 280px; bottom: -120px; left: -60px; animation-direction: reverse; }

@keyframes a42DispatchSpin { to { transform: rotate(360deg); } }

.a42-dispatch-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 69, 41, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 69, 41, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 25%, transparent 92%);
}

.a42-dispatch-beam {
  position: absolute;
  top: 20%;
  left: -20%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
  transform: rotate(-8deg);
  animation: a42DispatchBeam 6s ease-in-out infinite;
}
@keyframes a42DispatchBeam {
  0%, 100% { opacity: 0.3; transform: rotate(-8deg) translateX(0); }
  50% { opacity: 0.8; transform: rotate(-8deg) translateX(12%); }
}

.a42-dispatch-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.a42-dispatch-hero-main h1 {
  margin: 0 0 14px;
  font-family: var(--dp-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--dp-ink);
}
.a42-dispatch-hero-main h1 em {
  font-style: normal;
  color: var(--dp-moss);
  position: relative;
}
.a42-dispatch-hero-main h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(201, 162, 39, 0.32);
  z-index: -1;
  border-radius: 4px;
}

.a42-dispatch-lede {
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dp-muted);
}

.a42-dispatch-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.a42-dispatch-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--dp-border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(26, 46, 31, 0.06);
}
.a42-dispatch-stat strong {
  font-family: var(--dp-display);
  font-size: 1.1rem;
  color: var(--dp-olive);
}
.a42-dispatch-stat span {
  font-size: 11px;
  font-weight: 600;
  color: var(--dp-muted);
}
.a42-dispatch-stat--live {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(61, 107, 79, 0.1), rgba(255, 255, 255, 0.9));
  border-color: rgba(61, 107, 79, 0.25);
}
.a42-dispatch-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dp-moss);
  animation: a42DispatchPulse 2s ease infinite;
}
.a42-dispatch.is-found .a42-dispatch-pulse { background: var(--dp-gold); animation: none; }
.a42-dispatch.is-miss .a42-dispatch-pulse { background: var(--dp-terra); }
@keyframes a42DispatchPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Ticket form card */
.a42-dispatch-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--dp-border);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(26, 46, 31, 0.1);
  transform: rotate(1deg);
  transition: transform 0.35s ease;
}
.a42-dispatch-ticket:hover,
.a42-dispatch-ticket:focus-within { transform: rotate(0deg); }
.a42-dispatch-ticket::before {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--dp-gold);
  box-shadow: 18px 0 0 var(--dp-moss), 36px 0 0 var(--dp-terra);
  opacity: 0.5;
}

.a42-dispatch-ticket-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--dp-border);
}
.a42-dispatch-ticket-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(61, 107, 79, 0.1);
  border-radius: 14px;
}
.a42-dispatch-ticket-head h2 {
  margin: 0 0 4px;
  font-family: var(--dp-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.a42-dispatch-ticket-head p {
  margin: 0;
  font-size: 13px;
  color: var(--dp-muted);
}

.a42-dispatch-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.a42-dispatch-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a42-dispatch-field span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-muted);
}
.a42-dispatch-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--dp-border);
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  background: var(--dp-cream);
  color: var(--dp-ink);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.a42-dispatch-field input:focus {
  outline: none;
  border-color: var(--dp-moss);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(61, 107, 79, 0.12);
}

.a42-dispatch-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.a42-dispatch-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--dp-olive), var(--dp-moss));
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 69, 41, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.a42-dispatch-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 69, 41, 0.3);
}
.a42-dispatch-submit.is-loading { opacity: 0.75; pointer-events: none; }
.a42-dispatch-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: a42DispatchSpinBtn 0.7s linear infinite;
}
.a42-dispatch-submit.is-loading .a42-dispatch-submit-spinner { display: block; }
.a42-dispatch-submit.is-loading .a42-dispatch-submit-label { display: none; }
@keyframes a42DispatchSpinBtn { to { transform: rotate(360deg); } }

.a42-dispatch-reset {
  font-size: 13px;
  font-weight: 600;
  color: var(--dp-muted);
  text-decoration: none !important;
}
.a42-dispatch-reset:hover { color: var(--dp-terra); }

.a42-dispatch-ticket-bar {
  margin-top: 18px;
  height: 4px;
  background: rgba(31, 69, 41, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.a42-dispatch-ticket-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--dp-moss), var(--dp-gold));
  border-radius: inherit;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.a42-dispatch.is-idle .a42-dispatch-ticket-bar-fill { width: 8% !important; opacity: 0.35; }
.a42-dispatch.is-miss .a42-dispatch-ticket-bar-fill { width: 100% !important; background: var(--dp-terra); opacity: 0.35; }

/* ── Bento shortcuts ── */
.a42-dispatch-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.a42-dispatch-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 42px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--dp-border);
  border-radius: 18px;
  text-decoration: none !important;
  color: var(--dp-ink);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
}
.a42-dispatch-bento-card.is-wide { grid-column: span 1; }
.a42-dispatch-bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 50%, color-mix(in srgb, var(--card-accent, var(--dp-olive)) 8%, transparent));
  pointer-events: none;
}
.a42-dispatch-bento-card--olive { --card-accent: var(--dp-olive); }
.a42-dispatch-bento-card--moss { --card-accent: var(--dp-moss); }
.a42-dispatch-bento-card--gold { --card-accent: var(--dp-gold); }
.a42-dispatch-bento-card--terra { --card-accent: var(--dp-terra); }
.a42-dispatch-bento-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 18px 40px rgba(26, 46, 31, 0.1);
  border-color: var(--card-accent, var(--dp-olive));
  text-decoration: none !important;
}
.a42-dispatch-bento-icon { font-size: 1.5rem; }
.a42-dispatch-bento-label { font-family: var(--dp-display); font-weight: 700; font-size: 0.95rem; }
.a42-dispatch-bento-desc { font-size: 12px; color: var(--dp-muted); }
.a42-dispatch-bento-go {
  position: absolute;
  bottom: 14px; right: 14px;
  font-size: 16px;
  color: var(--card-accent, var(--dp-olive));
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.a42-dispatch-bento-card:hover .a42-dispatch-bento-go { opacity: 1; transform: translateX(0); }

/* ── Route timeline ── */
.a42-dispatch-route-wrap {
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--dp-border);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(26, 46, 31, 0.06);
}

.a42-dispatch-route-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.a42-dispatch-route-head h2 {
  margin: 0;
  font-family: var(--dp-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.02em;
}
.a42-dispatch-route-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 16px;
  background: var(--dp-cream);
  border-radius: 14px;
  border: 1px solid var(--dp-border);
}
.a42-dispatch-route-stop-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dp-muted);
}
.a42-dispatch-route-meta strong {
  font-family: var(--dp-display);
  font-size: 1.5rem;
  color: var(--dp-olive);
  line-height: 1;
}
.a42-dispatch-route-meta span:last-child { font-size: 12px; color: var(--dp-muted); }

.a42-dispatch-route {
  position: relative;
  padding: 8px 0 4px;
}

.a42-dispatch-route-track {
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 6px;
  z-index: 0;
}
.a42-dispatch-route-line {
  position: absolute;
  inset: 0;
  background: rgba(31, 69, 41, 0.1);
  border-radius: 999px;
}
.a42-dispatch-route-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: calc(var(--dispatch-pct, 0) * 1%);
  background: linear-gradient(90deg, var(--dp-moss), var(--dp-gold));
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.a42-dispatch.is-idle .a42-dispatch-route-fill,
.a42-dispatch.is-miss .a42-dispatch-route-fill { width: 0 !important; }
.a42-dispatch-route-runner {
  position: absolute;
  top: 50%;
  left: calc(var(--dispatch-pct, 0) * 1%);
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--dp-gold);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45);
  opacity: 0;
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
.a42-dispatch.is-found .a42-dispatch-route-runner { opacity: 1; }
.a42-dispatch.is-found .a42-dispatch-route-runner.is-pulse {
  animation: a42DispatchRunner 2s ease-in-out infinite;
}
@keyframes a42DispatchRunner {
  0%, 100% { box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45); }
  50% { box-shadow: 0 4px 22px rgba(201, 162, 39, 0.7); }
}

.a42-dispatch-stops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.a42-dispatch-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: opacity 0.3s;
}
.a42-dispatch-stop.is-dim { opacity: 0.42; }
.a42-dispatch-stop--olive { --stop-color: var(--dp-olive); }
.a42-dispatch-stop--moss { --stop-color: var(--dp-moss); }
.a42-dispatch-stop--gold { --stop-color: var(--dp-gold); }
.a42-dispatch-stop--terra { --stop-color: var(--dp-terra); }

.a42-dispatch-stop-node {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 2px solid var(--dp-border);
  background: #fff;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.a42-dispatch-stop-icon { font-size: 1.35rem; }
.a42-dispatch-stop.is-reached .a42-dispatch-stop-node {
  border-color: var(--stop-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--stop-color) 18%, transparent);
}
.a42-dispatch-stop.is-live .a42-dispatch-stop-node {
  border-color: var(--stop-color);
  background: color-mix(in srgb, var(--stop-color) 10%, white);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--stop-color) 25%, transparent);
  animation: a42DispatchStopLive 2.2s ease-in-out infinite;
}
@keyframes a42DispatchStopLive {
  0%, 100% { box-shadow: 0 12px 28px color-mix(in srgb, var(--stop-color) 25%, transparent); }
  50% { box-shadow: 0 16px 36px color-mix(in srgb, var(--stop-color) 35%, transparent); }
}

.a42-dispatch-stop-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 140px;
}
.a42-dispatch-stop-code {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--dp-gold);
}
.a42-dispatch-stop-copy strong {
  font-family: var(--dp-display);
  font-size: 0.85rem;
  line-height: 1.2;
}
.a42-dispatch-stop-copy em {
  font-style: normal;
  font-size: 11px;
  color: var(--dp-muted);
}
.a42-dispatch-stop.is-reached .a42-dispatch-stop-copy strong { color: var(--stop-color); }

/* ── Deck: sidebar + panel ── */
.a42-dispatch-deck {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  padding-bottom: 56px;
}

.a42-dispatch-sidebar {
  position: sticky;
  top: calc(var(--a42-header-offset, 100px) + 12px);
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--dp-border);
  border-radius: 22px;
  border-left: 4px solid var(--dp-moss);
  box-shadow: 0 12px 32px rgba(26, 46, 31, 0.06);
}
.a42-dispatch-sidebar-label {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dp-muted);
}

.a42-dispatch-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.a42-dispatch-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none !important;
  color: var(--dp-ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.a42-dispatch-nav-link:hover {
  background: var(--dp-cream);
  border-color: var(--dp-border);
  transform: translateX(4px);
  text-decoration: none !important;
}
.a42-dispatch-nav-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--dp-gold);
}
.a42-dispatch-nav-copy { flex: 1; min-width: 0; }
.a42-dispatch-nav-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.a42-dispatch-nav-copy small {
  display: block;
  font-size: 11px;
  color: var(--dp-muted);
}
.a42-dispatch-nav-icon { font-size: 1.1rem; opacity: 0.7; }

.a42-dispatch-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--dp-border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(26, 46, 31, 0.07);
}

.a42-dispatch-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--dp-border);
}
.a42-dispatch-panel-head h3 {
  margin: 0;
  font-family: var(--dp-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
}

.a42-dispatch-badge {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--dp-cream);
  border: 1px solid var(--dp-border);
  color: var(--dp-muted);
}
.a42-dispatch-badge.is-found {
  background: rgba(61, 107, 79, 0.1);
  border-color: rgba(61, 107, 79, 0.25);
  color: var(--dp-moss);
}
.a42-dispatch-badge.is-miss {
  background: rgba(184, 92, 56, 0.1);
  border-color: rgba(184, 92, 56, 0.25);
  color: var(--dp-terra);
}

.a42-dispatch-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.a42-dispatch-metric {
  padding: 14px 16px;
  background: var(--dp-cream);
  border: 1px solid var(--dp-border);
  border-radius: 16px;
  transition: transform 0.25s;
}
.a42-dispatch-metric--wide { grid-column: 1 / -1; }
.a42-dispatch.is-found .a42-dispatch-metric {
  animation: a42DispatchMetricIn 0.45s ease backwards;
}
.a42-dispatch.is-found .a42-dispatch-metric:nth-child(2) { animation-delay: 0.05s; }
.a42-dispatch.is-found .a42-dispatch-metric:nth-child(3) { animation-delay: 0.1s; }
.a42-dispatch.is-found .a42-dispatch-metric:nth-child(4) { animation-delay: 0.15s; }
.a42-dispatch.is-found .a42-dispatch-metric:nth-child(5) { animation-delay: 0.2s; }
@keyframes a42DispatchMetricIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.a42-dispatch-metric-label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-muted);
}
.a42-dispatch-metric-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dp-ink);
  word-break: break-all;
}
.a42-dispatch.is-idle .a42-dispatch-metric-value {
  color: var(--dp-muted);
  letter-spacing: 0.06em;
}

.a42-dispatch-receipt {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(61, 107, 79, 0.06), rgba(201, 162, 39, 0.06));
  border: 1px solid var(--dp-border);
}
.a42-dispatch-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.a42-dispatch-receipt-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dp-muted);
}
.a42-dispatch-receipt-email {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--dp-ink);
}
.a42-dispatch-receipt-head strong {
  font-family: var(--dp-display);
  font-size: 1.5rem;
  color: var(--dp-olive);
}
.a42-dispatch-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.a42-dispatch-alert {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--dp-border);
}
.a42-dispatch-alert--idle { background: var(--dp-cream); }
.a42-dispatch-alert--miss {
  background: rgba(184, 92, 56, 0.06);
  border-color: rgba(184, 92, 56, 0.2);
}
.a42-dispatch-alert-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 18px;
  background: #fff;
}
.a42-dispatch-alert--miss .a42-dispatch-alert-icon { color: var(--dp-terra); }
.a42-dispatch-alert--idle .a42-dispatch-alert-icon { color: var(--dp-moss); }
.a42-dispatch-alert strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--dp-display);
  font-size: 1rem;
}
.a42-dispatch-alert p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dp-muted);
}

.a42-dispatch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.a42-dispatch-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--dp-gold), #a88218);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}
.a42-dispatch-btn--primary:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}
.a42-dispatch-btn--ghost {
  color: var(--dp-olive) !important;
  background: #fff;
  border: 1px solid var(--dp-border);
}
.a42-dispatch-btn--ghost:hover {
  border-color: var(--dp-moss);
  text-decoration: none !important;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .a42-dispatch-hero-inner { grid-template-columns: 1fr; }
  .a42-dispatch-ticket { transform: none; }
  .a42-dispatch-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a42-dispatch-deck { grid-template-columns: 1fr; }
  .a42-dispatch-sidebar { position: static; }
  .a42-dispatch-route-track { left: 6%; right: 6%; top: 32px; }
}

@media (max-width: 640px) {
  .a42-dispatch-bento { grid-template-columns: 1fr; }
  .a42-dispatch-stops {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .a42-dispatch-route-track { display: none; }
  .a42-dispatch-stop {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  .a42-dispatch-stop-node { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; }
  .a42-dispatch-stop-copy { max-width: none; align-items: flex-start; }
  .a42-dispatch-metrics { grid-template-columns: 1fr; }
  .a42-dispatch-metric--wide { grid-column: auto; }
  .a42-dispatch-route-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .a42-dispatch-ring,
  .a42-dispatch-beam,
  .a42-dispatch-pulse,
  .a42-dispatch-stop.is-live .a42-dispatch-stop-node,
  .a42-dispatch-route-runner,
  .a42-dispatch.is-found .a42-dispatch-metric { animation: none; }
}
