body[data-secondary-tab="track"] #appMain {
  background: #f4f7f4;
}

.qk-track-view {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #f4f7f4;
}

.qk-track-scroll {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 14px 14px calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.qk-track-scroll::-webkit-scrollbar {
  display: none;
}

.qk-track-hero {
  position: relative;
  padding: 19px 18px 17px;
  overflow: hidden;
  border-radius: 23px;
  background: linear-gradient(135deg, #102c20 0%, #1f7a4d 72%, #329061 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 83, 53, .2);
}

.qk-track-hero > *:not(.qk-track-hero-orb) {
  position: relative;
  z-index: 1;
}

.qk-track-hero-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .075);
}

.qk-track-hero-orb.one {
  top: -52px;
  right: -36px;
  width: 145px;
  height: 145px;
}

.qk-track-hero-orb.two {
  right: 62px;
  bottom: -62px;
  width: 112px;
  height: 112px;
}

.qk-track-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qk-track-hero-top > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dff5e7;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .75px;
}

.qk-track-hero-top > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f8cb46;
  box-shadow: 0 0 0 4px rgba(248, 203, 70, .16);
  animation: qkTrackPulse 1.8s ease-in-out infinite;
}

.qk-track-hero-top small {
  max-width: 48%;
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  font-size: 9.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qk-track-hero h1 {
  max-width: 290px;
  margin: 20px 0 6px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -.55px;
}

.qk-track-hero > p {
  max-width: 310px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 11.5px;
  line-height: 1.5;
}

.qk-track-progress-bar {
  height: 6px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .17);
}

.qk-track-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f8cb46;
  box-shadow: 0 0 12px rgba(248, 203, 70, .32);
  transition: width .35s ease;
}

.qk-track-hero-foot {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 9.5px;
}

.qk-track-hero-foot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qk-track-hero-foot strong {
  flex: none;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
}

.qk-track-map-card,
.qk-track-card {
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid rgba(22, 38, 31, .07);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(22, 38, 31, .05);
}

.qk-track-map-head {
  padding: 14px 15px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qk-track-map-head > div {
  min-width: 0;
}

.qk-track-map-head strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 850;
}

.qk-track-map-head span:not(.qk-track-live-pill) {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 10px;
}

.qk-track-live-pill {
  flex: none;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #f1f4f2;
  color: #718078;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .5px;
}

.qk-track-live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa69f;
}

.qk-track-live-pill.is-live {
  background: #e9f8ee;
  color: #178247;
}

.qk-track-live-pill.is-live i {
  background: #20a65b;
  box-shadow: 0 0 0 3px rgba(32, 166, 91, .12);
}

.qk-track-live-pill.is-delayed {
  background: #fff4dc;
  color: #9a6700;
}

.qk-track-live-pill.is-delayed i {
  background: #e39b13;
  box-shadow: 0 0 0 3px rgba(227, 155, 19, .13);
}

.qk-track-map-shell {
  position: relative;
  height: 218px;
  overflow: hidden;
  background: #edf4ef;
}

.qk-track-map {
  height: 100%;
  overflow: hidden;
  background: #edf4ef;
}

.qk-track-map > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qk-track-leaflet-map {
  position: relative;
  z-index: 1;
  font-family: inherit;
  background: #e7efe9;
}

.qk-track-map-loading {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  color: #65776d;
  font-size: 10px;
  font-weight: 750;
}

.qk-track-map-loading i {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(31, 122, 77, .18);
  border-top-color: #1f7a4d;
  border-radius: 50%;
  animation: qkTrackSpin .8s linear infinite;
}

.qk-track-recenter {
  position: absolute;
  z-index: 1000;
  right: 11px;
  bottom: 24px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 53, 35, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  color: #1f7a4d;
  box-shadow: 0 5px 16px rgba(18, 53, 37, .17);
  backdrop-filter: blur(8px);
}

.qk-track-recenter:active {
  transform: scale(.94);
}

.qk-track-recenter svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.qk-track-leaflet-map .leaflet-control-zoom {
  margin-top: 11px;
  margin-right: 11px;
  overflow: hidden;
  border: 1px solid rgba(17, 53, 35, .1);
  border-radius: 11px;
  box-shadow: 0 5px 16px rgba(18, 53, 37, .13);
}

.qk-track-leaflet-map .leaflet-control-zoom a {
  width: 33px;
  height: 31px;
  border-color: #edf1ee;
  color: #214c36;
  font-family: inherit;
  font-size: 18px;
  line-height: 31px;
}

.qk-track-leaflet-map .leaflet-control-attribution {
  padding: 2px 5px;
  background: rgba(255, 255, 255, .86);
  color: #718078;
  font-size: 7px;
  line-height: 1.35;
}

.qk-track-leaflet-map .leaflet-control-attribution a {
  color: #356c4e;
}

.qk-live-div-icon {
  border: 0;
  background: transparent;
}

.qk-live-marker-core {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 14%;
  background: #ffffff;
  color: #173d2b;
  box-shadow: 0 4px 12px rgba(18, 53, 37, .24);
}

.qk-live-marker-core::after {
  content: '';
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(31, 122, 77, .18);
  border-radius: 50%;
  background: rgba(31, 122, 77, .08);
}

.qk-live-marker-core.rider {
  transform: translateX(-50%) rotate(-45deg);
  background: #f8cb46;
  color: #173d2b;
}

.qk-live-marker-core.rider svg {
  transform: rotate(45deg);
}

.qk-live-marker-core.store {
  background: #173d2b;
  color: #ffffff;
}

.qk-live-marker-core.home {
  background: #e6f5eb;
  color: #1f7a4d;
}

.qk-live-marker-core svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.qk-live-marker-core.rider svg {
  fill: currentColor;
  stroke: none;
}

.qk-live-marker-label {
  position: absolute;
  top: 38px;
  left: 50%;
  padding: 3px 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(20, 55, 38, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  color: #173d2b;
  font-family: Inter, sans-serif;
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(18, 53, 37, .12);
}

.qk-track-road {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4.4;
  stroke-linecap: round;
  opacity: .9;
}

.qk-track-route-line {
  fill: none;
  stroke: #1f7a4d;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3.2 2.4;
}

.qk-track-marker circle {
  fill: #ffffff;
  stroke: #173d2b;
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 2px rgba(18, 53, 37, .15));
}

.qk-track-marker.rider circle {
  fill: #f8cb46;
}

.qk-track-marker.home circle {
  fill: #dff3e7;
}

.qk-track-marker text {
  fill: #153525;
  font-size: 3.8px;
  font-weight: 900;
}

.qk-track-marker rect {
  fill: rgba(255, 255, 255, .96);
  stroke: #d6e2db;
  stroke-width: .35;
}

.qk-track-marker .qk-track-marker-label {
  font-size: 2.9px;
  font-weight: 800;
}

.qk-track-map-foot {
  padding: 12px 14px 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.qk-track-map-foot > div {
  min-width: 0;
}

.qk-track-map-foot small {
  display: block;
  color: #8a978f;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .25px;
}

.qk-track-map-foot strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qk-track-card {
  padding: 16px;
}

.qk-track-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.qk-track-card-head small,
.qk-track-rider-card small,
.qk-track-trip-row small {
  display: block;
  color: #8b9891;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .55px;
}

.qk-track-card-head h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.2px;
}

.qk-track-rider-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.qk-track-rider-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #1f7a4d, #145334);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.qk-track-rider-card > div {
  min-width: 0;
}

.qk-track-rider-card strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qk-track-rider-card p {
  margin: 3px 0 0;
  color: var(--soft);
  font-size: 9.5px;
  line-height: 1.35;
}

.qk-track-verified-dot {
  width: 6px;
  height: 6px;
  margin-right: 4px;
  display: inline-block;
  border-radius: 50%;
  background: #27a95f;
}

.qk-track-rider-card > a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.qk-track-rider-card > a svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.1;
}

.qk-track-trip-card {
  position: relative;
}

.qk-track-trip-row {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.qk-track-trip-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff5d3;
  color: #8b6a00;
}

.qk-track-trip-icon.home {
  background: var(--primary-soft);
  color: var(--primary);
}

.qk-track-trip-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.qk-track-trip-row > div {
  min-width: 0;
}

.qk-track-trip-row strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qk-track-trip-line {
  width: 2px;
  height: 20px;
  margin: 2px 0 -10px 18px;
  background: repeating-linear-gradient(to bottom, #b6c9bd 0 3px, transparent 3px 6px);
}

.qk-track-order-summary {
  margin-top: 16px;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.qk-track-order-summary > div {
  min-width: 0;
}

.qk-track-order-summary strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.qk-track-order-summary p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qk-track-order-summary > strong {
  flex: none;
  font-size: 14px;
}

.qk-track-view-order {
  width: 100%;
  min-height: 45px;
  margin-top: 13px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
}

.qk-track-view-order:active {
  transform: scale(.988);
}

.qk-track-view-order svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.qk-track-empty-wrap {
  display: grid;
  place-items: center;
}

.qk-track-empty {
  width: min(100%, 330px);
  padding: 32px 22px;
  border: 1px solid rgba(22, 38, 31, .07);
  border-radius: 24px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 7px 22px rgba(22, 38, 31, .05);
}

.qk-track-empty > span {
  width: 76px;
  height: 76px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--primary-soft);
  color: var(--primary);
}

.qk-track-empty > span svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.8;
}

.qk-track-empty > strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.qk-track-empty > p {
  max-width: 240px;
  margin: 7px auto 20px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.5;
}

.qk-track-empty > button {
  width: 100%;
  min-height: 44px;
  border-radius: 13px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
}

.qk-track-empty > button + button {
  margin-top: 9px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
}

@keyframes qkTrackPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(248, 203, 70, .13);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(248, 203, 70, .04);
  }
}

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

@media (max-width: 370px) {
  .qk-track-scroll {
    padding-inline: 10px;
  }

  .qk-track-hero {
    border-radius: 20px;
  }

  .qk-track-map-foot {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-height: 700px) {
  .qk-track-map-shell {
    height: 190px;
  }
}
