#trackingStep {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #101511;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 10, .68) 0%, rgba(8, 12, 10, .66) 50%, rgba(8, 12, 10, .72) 100%),
    var(--site-track-trace-background-image, none);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: visible;
  isolation: auto;
}


#trackingStep[hidden] {
  display: none !important;
}


.delivery-panel {
  display: none;
}
































 






.logistics-track-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(calc(100% - (2 * var(--page-gutter, 28px))), var(--content-width, 1120px));
  align-self: center;
  display: grid;
  place-items: center;
  padding: clamp(36px, 6vw, 56px) 0 clamp(48px, 8vw, 72px);
}


.logistics-track-content {
  width: min(100%, 650px);
  text-align: center;
}


.logistics-track-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1vw, 9px);
  margin-bottom: 18px;
  color: #d9f43d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}


.logistics-track-kicker:before,.logistics-track-kicker:after {
  content: "";
  width: clamp(20px, 4vw, 28px);
  height: 1px;
  background: currentColor;
  opacity: .8;
}


.logistics-track-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: .98;
  letter-spacing: -.065em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}


.logistics-track-copy {
  margin: clamp(16px, 2.5vw, 18px) auto clamp(26px, 4vw, 32px);
  color: rgba(255, 255, 255, .82);
  font-size: clamp(13px, 2vw, 15px);
  line-height: 1.65;
  max-width: 500px;
}


.logistics-track-form {
  display: grid;
  gap: 10px;
  width: min(100%, clamp(280px, 82vw, 480px));
  margin: 0 auto;
  text-align: left;
}


.logistics-track-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}


.logistics-track-field {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 10px);
  padding: 0;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: clamp(10px, 1.8vw, 14px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
  transition: border-color .2s, box-shadow .2s;
  height: 48px;
  box-sizing: border-box;
  overflow: hidden;
}


.logistics-track-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 clamp(12px, 2vw, 14px);
  height: 48px;
  color: #171b18;
  font-size: clamp(16px, 2.2vw, 16px);
  font-weight: 650;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-sizing: border-box;
}


.logistics-track-input::placeholder {
  color: #89918b;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}


.logistics-track-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 0;
  border-radius: clamp(8px, 1.5vw, 10px);
  background: #171d19;
  color: #fff;
  padding: 0 clamp(14px, 2.8vw, 22px);
  height: 48px;
  min-width: clamp(88px, 18vw, 105px);
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s, opacity .18s, background .18s;
  box-sizing: border-box;
}


@media (hover: hover) and (pointer: fine) {.logistics-track-submit:hover {
  background: #0c100e;
  transform: translateY(-1px);
}}


.logistics-track-submit:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}


.logistics-track-loader {
  display: none;
  gap: 4px;
  align-items: center;
  justify-content: center;
}


.logistics-track-loader i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: logisticsTrackPulse .8s infinite alternate;
}


.logistics-track-loader i:nth-child(2) {
  animation-delay: .15s;
}


.logistics-track-loader i:nth-child(3) {
  animation-delay: .3s;
}


.logistics-track-submit.loading .logistics-track-text {
  display: none;
}


.logistics-track-submit.loading .logistics-track-loader {
  display: flex;
}


.logistics-track-error {
  width: fit-content;
  max-width: 100%;
  margin: 2px auto 0;
  padding: 8px 12px;
  color: #ffd0ca;
  background: rgba(153, 27, 27, .28);
  border: 1px solid rgba(255, 145, 132, .32);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.logistics-track-error[hidden],
.logistics-track-error:empty {
  display: none;
}

.logistics-track-error:not([hidden])::before {
  content: "!";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}


.logistics-track-cta {
  display: none;
}





@keyframes logisticsTrackPulse {
  to {
    opacity: .25;
    transform: translateY(-2px);
  }
}





@media(max-width:600px) {
  
#trackingStep {
    display: block;
    padding-bottom: 78px;
  }

  


  


  


  
.logistics-track-main {
    min-height: 0;
    place-items: start center;
  }

  
.logistics-track-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 28px);
    margin: 0 16px;
    padding: clamp(28px, 7vw, 42px) clamp(20px, 6vw, 30px);
    border-radius: 8px;
    background: #d9f43d;
    color: #111;
  }

  
.logistics-track-cta h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(28px, 7vw, 40px);
    letter-spacing: -.05em;
    line-height: .98;
  }

  
.logistics-track-cta p {
    max-width: 360px;
    margin: 0;
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.6;
  }

  
.logistics-track-cta a {
    display: flex;
    min-height: 44px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: clamp(14px, 4vw, 18px);
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
  }

}



.open-dashboard-button[hidden] {
  display: none !important;
}



.open-dashboard-button {
  display: inline-flex;
}




/* Keep the admin dashboard icon optically centered in its round control. */


.open-dashboard-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}



.open-dashboard-button svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: 0;
  display: block;
  transform: translate(-50%, -50%);
}



@media (max-width: 700px) {
  
.open-dashboard-button svg {
    width: 19px;
    height: 19px;
  }

}



/* Fluid sizing and dynamic-viewport layout for the Track & Trace page. */


#trackingStep {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}































.logistics-track-main {
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(1.25rem, 5dvh, 3.5rem) clamp(1rem, 3vw, 1.25rem) clamp(1.5rem, 5dvh, 3rem);
}



.logistics-track-content {
  min-width: 0;
}



.logistics-track-kicker {
  margin-bottom: clamp(.75rem, 2dvh, 1.125rem);
  font-size: clamp(.625rem, 1.1vw, .75rem);
}



.logistics-track-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: clamp(.98, 1.05, 1.08);
}



.logistics-track-copy {
  font-size: clamp(.875rem, 1.8vw, .9375rem);
  line-height: clamp(1.45, 1.65, 1.75);
  margin: clamp(.875rem, 2.5dvh, 1.125rem) auto clamp(1.25rem, 4dvh, 2rem);
}



.logistics-track-form {
  gap: clamp(.5rem, 1.5dvh, .75rem);
  width: min(100%, clamp(17.5rem, 82vw, 30rem));
}



.logistics-track-label {
  font-size: clamp(.625rem, 1.1vw, .75rem);
}



.logistics-track-field {
  min-height: clamp(2.75rem, 6dvh, 3.125rem);
  height: clamp(2.75rem, 6dvh, 3.125rem);
  border-radius: clamp(.625rem, 1.8vw, .875rem);
}



.logistics-track-input {
  min-height: 100%;
  height: 100%;
  padding-inline: clamp(.75rem, 2vw, .875rem);
  font-size: clamp(1rem, 2.2vw, 1rem);
}



.logistics-track-submit {
  height: 100%;
  min-width: clamp(5.5rem, 18vw, 6.5625rem);
  padding-inline: clamp(.75rem, 2.8vw, 1.375rem);
  font-size: clamp(.6875rem, 1.5vw, .8125rem);
}



.logistics-track-error {
  min-height: clamp(1.125rem, 2.5dvh, 1.375rem);
  font-size: clamp(.6875rem, 1.2vw, .8125rem);
  gap: clamp(.25rem, .8vw, .375rem);
}







@media (max-width: 820px) {
  
#trackingStep {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }


  



  



  



  



  
.logistics-track-main {
    flex: 1 0 auto;
    padding: clamp(1.5rem, 5dvh, 2.75rem) clamp(1rem, 3vw, 1.25rem) clamp(1.5rem, 5dvh, 2.5rem);
  }

}



@media (max-width: 600px) {
  
#trackingStep {
    display: flex;
    min-height: 100dvh;
    height: 100dvh;
    padding-bottom: 0;
  }


  



  



  



  
.logistics-track-main {
    flex: 1 0 auto;
    min-height: 0;
    padding: clamp(1.5rem, 5dvh, 2.5rem) clamp(.875rem, 4vw, 1.25rem) clamp(1.5rem, 5dvh, 2.5rem);
  }


  
.logistics-track-title {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }


  
.logistics-track-copy {
    font-size: clamp(.875rem, 3.8vw, 1rem);
  }


  
.logistics-track-cta {
    gap: clamp(1rem, 5vw, 1.75rem);
    margin: 0 clamp(.875rem, 4vw, 1rem);
    padding: clamp(1.5rem, 7vw, 2.625rem) clamp(1.125rem, 6vw, 1.875rem);
    border-radius: clamp(.5rem, 2vw, .75rem);
  }


  
.logistics-track-cta h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }


  
.logistics-track-cta p {
    font-size: clamp(.8125rem, 3.8vw, .9375rem);
  }


  
.logistics-track-cta a {
    min-height: clamp(2.75rem, 6dvh, 3rem);
    margin-top: clamp(.75rem, 4dvh, 1.125rem);
    font-size: clamp(.75rem, 3.4vw, .8125rem);
  }

}




/* Responsive spacing around the yellow Track & Trace CTA and footer. */


.logistics-track-cta {
  margin-block: clamp(10px, 1.5vw, 18px);
  margin-inline: clamp(10px, 2.5vw, 20px);
}
/* Remove the browser's default tap flash from controls and navigation on touchscreens. */
a, button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary, .menu-toggle {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}


html.dashboard-map-mode #app {
  background: #e9e9e6 !important;
}
html.dashboard-map-mode #app[hidden] {
  display: block !important;
}
html.dashboard-map-mode #map {
  background: #e9e9e6 !important;
}
html.dashboard-map-mode.dashboard-map-initializing .route-loader {
  display: block !important;
}
html.dashboard-map-mode .route-loader {
  left: 50% !important;
  top: 50% !important;
  width: 44px !important;
  height: 44px !important;
  border: 4px solid rgba(17, 17, 17, .14) !important;
  border-top-color: #d9f43d !important;
  border-right-color: #111 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
  pointer-events: none !important;
}

/* Keep the shared site chrome at its normal dimensions inside the Track & Trace
   flex shell. The wrapper may grow, but it must never compress the header or footer. */
html:not(.dashboard-map-mode) #trackingStep > .logistics-header,
html:not(.dashboard-map-mode) #trackingStep > .site-footer {
  flex: 0 0 auto;
}

/* Embedded dashboard mode shows only the exact map and its route controls.
   The public Track & Trace page is unchanged when dashboardMap is absent. */
html.dashboard-map-mode,
html.dashboard-map-mode body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden !important;
  background: #e9e9e6;
}
html.dashboard-map-mode #trackingStep,
html.dashboard-map-mode .logistics-header,
html.dashboard-map-mode .logistics-track-main,
html.dashboard-map-mode .logistics-track-cta,
html.dashboard-map-mode .site-footer {
  display: none !important;
}
html.dashboard-map-mode #app {
  display: block !important;
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
html.dashboard-map-mode #map,
html.dashboard-map-mode .map-tint {
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Public pages use normal document scrolling. The embedded dashboard map
   keeps its separate full-screen layout and scroll lock. */
html:not(.dashboard-map-mode) {
  width: 100%;
  height: auto;
  min-height: 100%;
}
html:not(.dashboard-map-mode) body:not(.menu-open) {
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}
html:not(.dashboard-map-mode) #trackingStep {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
  overflow: visible;
  isolation: auto;
}
html.dashboard-map-mode .map-top-interaction-guard {
  left: 0 !important;
  height: 12px !important;
  pointer-events: none !important;
}
html.dashboard-map-mode .delivery-panel { display: none !important; }
html.dashboard-map-mode .bottom-nav { display: none !important; }
html.dashboard-map-mode #bottomDelivery { display: none !important; }
html.dashboard-map-mode #openShipmentDashboardButton { display: none !important; }
html.dashboard-map-mode .back-button { display: flex !important; visibility: visible !important; pointer-events: auto !important; }
html.dashboard-map-mode .controls-left { left: 14px !important; top: 14px !important; z-index: 1000 !important; }
html.dashboard-map-mode .controls-right { right: 14px !important; top: 14px !important; }
html.dashboard-map-mode .controls-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  z-index: 1000 !important;
}
html.dashboard-map-mode .controls-left {
  display: flex !important;
  align-items: center !important;
}

html.dashboard-map-mode .current-location-badge {
  left: 50% !important;
  top: 14px !important;
  transform: translateX(-50%);
  max-width: min(56%, 420px);
}
html.dashboard-map-mode .route-loader { left: 50% !important; top: 50% !important; }
/* Respect the initial hidden state while the embedded map resolves its shipment. */
html.dashboard-map-mode #app[hidden] { display: block !important; }
html.dashboard-map-mode #app:not([hidden]) { display: block !important; }

/* Keep the Back control visually identical to the other map controls.
   Its shared .control and .control.round classes provide dimensions,
   circular shape, icon sizing, colors, and responsive sizing. */
html.dashboard-map-mode #backButton.dashboard-map-back {
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(250, 250, 248, .92) !important;
  color: #333 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
  cursor: pointer;
  transition: background-color .16s ease, box-shadow .16s ease !important;
}
/* The Back control is flex-based in map mode; explicitly center its SVG
   inside the same circular hit-area used by the neighboring map controls. */
html.dashboard-map-mode #backButton.dashboard-map-back {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
}
html.dashboard-map-mode #backButton.dashboard-map-back svg {
  display: block !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
@media (hover: hover) and (pointer: fine) {
  html.dashboard-map-mode #backButton.dashboard-map-back:hover {
    background: rgba(255, 255, 255, .98) !important;
  }
}
html.dashboard-map-mode #backButton.dashboard-map-back:focus-visible {
  outline: 2px solid #d9f43d !important;
  outline-offset: 3px !important;
}



/* Map editor dialogs must cover the three floating map action controls. */
.current-location-modal {
  z-index: 2000 !important;
}


/* Public lookup fallback: retain a found shipment if the external map CDN is unavailable. */
.tracking-result-fallback[hidden] { display: none !important; }
.tracking-result-fallback {
  position: absolute;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: max(22px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom));
  background: #f1f2ee;
  color: #111;
}
.tracking-result-fallback-card {
  width: min(100%, 560px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 18px;
  background: #fbfbf8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}
.tracking-result-fallback-eyebrow {
  margin: 0 0 8px;
  color: #70756f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tracking-result-fallback-card h1 {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -.04em;
}
.tracking-result-fallback-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 11px;
  background: #eef0e9;
  font-size: 13px;
}
.tracking-result-fallback-status strong { text-align: right; }
.tracking-result-fallback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.tracking-result-fallback-grid > div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 11px;
  background: #fff;
}
.tracking-result-fallback-grid small { display: block; margin-bottom: 6px; color: #777; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.tracking-result-fallback-grid strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.tracking-result-fallback-note { margin: 16px 0; color: #62675f; font-size: 12px; line-height: 1.5; }
.tracking-result-fallback-card > button {
  width: 100%; min-height: 44px; border: 0; border-radius: 10px;
  background: #171d19; color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer;
}
#app.tracking-result-fallback-active #map,
#app.tracking-result-fallback-active .map-tint,
#app.tracking-result-fallback-active .map-top-interaction-guard,
#app.tracking-result-fallback-active .route-loader,
#app.tracking-result-fallback-active .route-error-notice,
#app.tracking-result-fallback-active .current-location-badge,
#app.tracking-result-fallback-active .controls-left,
#app.tracking-result-fallback-active .controls-right,
#app.tracking-result-fallback-active .bottom-nav,
#app.tracking-result-fallback-active .delivery-panel,
#app.tracking-result-fallback-active .current-location-modal,
#app.tracking-result-fallback-active .live-route-modal { display: none !important; }
@media (max-width: 420px) {
  .tracking-result-fallback-grid { grid-template-columns: 1fr; }
}
