.ees-tracker {
  --ees-orange: #f97316;
  --ees-orange-dark: #c94d05;
  --ees-orange-soft: #fff3e8;
  --ees-ink: #172033;
  --ees-muted: #6b7280;
  --ees-line: #e8ebf0;
  --ees-surface: #ffffff;
  --ees-bg: #f7f8fb;
  color: var(--ees-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  padding: 32px 16px;
  position: relative;
}

.ees-tracker::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--ees-orange) 15%, transparent), transparent 68%);
  content: "";
  height: 520px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: -280px;
  transform: translateX(-50%);
  width: 760px;
}

.ees-tracker *,
.ees-tracker *::before,
.ees-tracker *::after {
  box-sizing: border-box;
}

.ees-shell {
  margin: 0 auto;
  max-width: 1080px;
  position: relative;
}

.ees-brandbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 52px;
}

.ees-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.ees-logo {
  height: 46px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}

.ees-monogram {
  align-items: center;
  background: var(--ees-orange);
  border-radius: 14px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ees-orange) 28%, transparent);
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  letter-spacing: -.04em;
  transform: rotate(-3deg);
  width: 46px;
}

.ees-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ees-brand-copy strong {
  color: var(--ees-ink);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
  margin: 0;
}

.ees-brand-copy small {
  color: var(--ees-muted);
  font-size: 12px;
  margin-top: 4px;
}

.ees-secure {
  align-items: center;
  color: #3d485a;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

.ees-secure span {
  color: #16a34a;
  font-size: 10px;
}

.ees-hero {
  margin: 0 auto 32px;
  max-width: 780px;
  text-align: center;
}

.ees-kicker {
  color: var(--ees-orange-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .17em;
  margin: 0 0 12px;
}

.ees-hero h1 {
  color: var(--ees-ink);
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 0 auto 18px;
  max-width: 720px;
}

.ees-hero > p:not(.ees-kicker) {
  color: var(--ees-muted);
  font-size: 17px;
  margin: 0 auto 28px;
  max-width: 620px;
}

.ees-search {
  background: #fff;
  border: 1px solid rgba(23, 32, 51, .08);
  border-radius: 20px;
  box-shadow: 0 22px 65px rgba(34, 43, 66, .13);
  margin: 0 auto;
  padding: 9px;
  text-align: left;
}

.ees-search > label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.ees-search-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.ees-search input {
  appearance: none;
  background: #f6f7f9;
  border: 1px solid transparent;
  border-radius: 13px;
  box-shadow: none;
  color: var(--ees-ink);
  flex: 1;
  font-size: 16px;
  font-weight: 650;
  height: 54px;
  letter-spacing: .025em;
  margin: 0;
  min-width: 0;
  outline: none;
  padding: 0 18px;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ees-search input:focus {
  background: #fff;
  border-color: var(--ees-orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ees-orange) 14%, transparent);
}

.ees-search input::placeholder {
  color: #a2a8b2;
  font-weight: 500;
  text-transform: none;
}

.ees-search button,
.ees-help a {
  align-items: center;
  background: var(--ees-orange);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 12px 25px color-mix(in srgb, var(--ees-orange) 24%, transparent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  margin: 0;
  padding: 0 25px;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.ees-search button:hover,
.ees-search button:focus-visible,
.ees-help a:hover,
.ees-help a:focus-visible {
  box-shadow: 0 15px 30px color-mix(in srgb, var(--ees-orange) 32%, transparent);
  color: #fff;
  filter: brightness(.94);
  transform: translateY(-1px);
}

.ees-info-strip {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(23, 32, 51, .07);
  border-radius: 22px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: 44px auto 0;
  max-width: 920px;
  padding: 24px;
}

.ees-info-strip > div {
  align-items: center;
  display: flex;
  gap: 13px;
  padding: 3px 22px;
}

.ees-info-strip > div + div {
  border-left: 1px solid var(--ees-line);
}

.ees-info-strip > div > span {
  align-items: center;
  background: var(--ees-orange-soft);
  border-radius: 50%;
  color: var(--ees-orange-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.ees-info-strip p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ees-info-strip strong {
  color: var(--ees-ink);
  font-size: 13px;
}

.ees-info-strip small {
  color: var(--ees-muted);
  font-size: 11px;
  margin-top: 3px;
}

.ees-result {
  display: grid;
  gap: 18px;
  margin: 42px auto 0;
  max-width: 920px;
}

.ees-result-head,
.ees-payment,
.ees-progress-card,
.ees-detail-grid,
.ees-history-card,
.ees-help,
.ees-message,
.ees-public-note {
  background: var(--ees-surface);
  border: 1px solid rgba(23, 32, 51, .075);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(29, 38, 58, .07);
}

.ees-result-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 26px 28px;
}

.ees-result-label,
.ees-detail-grid small,
.ees-payment small {
  color: #8a919e;
  display: block;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  margin-bottom: 6px;
}

.ees-code-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ees-code-row > strong {
  color: var(--ees-ink);
  font-size: clamp(21px, 4vw, 28px);
  font-weight: 850;
  letter-spacing: .025em;
}

.ees-code-row + small {
  color: var(--ees-muted);
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.ees-copy {
  background: var(--ees-orange-soft);
  border: 0;
  border-radius: 999px;
  color: var(--ees-orange-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
}

.ees-current-status {
  background: var(--ees-orange-soft);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 14px 18px;
}

.ees-current-status span {
  color: #8b5a2b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ees-current-status strong {
  color: var(--ees-orange-dark);
  font-size: 15px;
  margin-top: 3px;
}

.ees-current-status--delivered {
  background: #ecfdf3;
}

.ees-current-status--delivered span,
.ees-current-status--delivered strong {
  color: #15803d;
}

.ees-current-status--cancelled,
.ees-current-status--incident,
.ees-current-status--returned {
  background: #fef2f2;
}

.ees-current-status--cancelled span,
.ees-current-status--cancelled strong,
.ees-current-status--incident span,
.ees-current-status--incident strong,
.ees-current-status--returned span,
.ees-current-status--returned strong {
  color: #b91c1c;
}

.ees-payment {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
}

.ees-payment > div {
  align-items: center;
  display: flex;
  gap: 13px;
}

.ees-payment p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ees-payment p small {
  margin: 0 0 2px;
}

.ees-payment p strong {
  color: var(--ees-ink);
  font-size: 14px;
}

.ees-payment-icon {
  align-items: center;
  background: #fff7ed;
  border-radius: 12px;
  color: var(--ees-orange-dark);
  display: inline-flex;
  font-size: 17px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ees-payment--paid .ees-payment-icon,
.ees-payment--not_required .ees-payment-icon {
  background: #ecfdf3;
  color: #15803d;
}

.ees-payment--refund_pending .ees-payment-icon,
.ees-payment--refunded .ees-payment-icon {
  background: #eff6ff;
  color: #1d4ed8;
}

.ees-payment-note {
  background: #f6f7f9;
  border-radius: 999px;
  color: var(--ees-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 11px;
}

.ees-progress-card {
  padding: 26px 28px 30px;
}

.ees-section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ees-section-title span {
  color: var(--ees-ink);
  font-size: 15px;
  font-weight: 800;
}

.ees-section-title strong {
  color: var(--ees-orange-dark);
  font-size: 13px;
}

.ees-progressbar {
  background: #edf0f3;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
}

.ees-progressbar span {
  background: linear-gradient(90deg, var(--ees-orange), #ff9a43);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width .6s ease;
}

.ees-timeline {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.ees-step {
  min-width: 0;
  padding-right: 10px;
  position: relative;
}

.ees-step::before {
  background: #e9edf1;
  content: "";
  height: 2px;
  left: 29px;
  position: absolute;
  right: -1px;
  top: 14px;
}

.ees-step:last-child::before {
  display: none;
}

.ees-step--complete::before {
  background: var(--ees-orange);
}

.ees-step-dot {
  align-items: center;
  background: #eef0f3;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #dfe3e8;
  color: #9ca3af;
  display: inline-flex;
  font-size: 10px;
  font-weight: 850;
  height: 29px;
  justify-content: center;
  position: relative;
  width: 29px;
  z-index: 1;
}

.ees-step--complete .ees-step-dot,
.ees-step--current .ees-step-dot {
  background: var(--ees-orange);
  box-shadow: 0 0 0 1px var(--ees-orange), 0 5px 14px color-mix(in srgb, var(--ees-orange) 25%, transparent);
  color: #fff;
}

.ees-step--current .ees-step-dot {
  animation: ees-pulse 2s infinite;
}

.ees-step > div {
  display: flex;
  flex-direction: column;
  margin-top: 11px;
}

.ees-step strong {
  color: #4b5563;
  font-size: 11px;
  line-height: 1.25;
}

.ees-step small {
  color: #9ca3af;
  font-size: 9px;
  line-height: 1.35;
  margin-top: 4px;
}

.ees-step--current strong {
  color: var(--ees-orange-dark);
}

.ees-detail-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.ees-detail-grid > div {
  display: flex;
  flex-direction: column;
  min-height: 93px;
  padding: 22px 26px;
}

.ees-detail-grid > div:nth-child(even) {
  border-left: 1px solid var(--ees-line);
}

.ees-detail-grid > div:nth-child(n+3) {
  border-top: 1px solid var(--ees-line);
}

.ees-detail-grid > .ees-detail-wide {
  border-left: 0;
  grid-column: 1 / -1;
}

.ees-detail-grid strong {
  color: var(--ees-ink);
  font-size: 14px;
  font-weight: 750;
}

.ees-message {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  margin: 42px auto 0;
  max-width: 780px;
  padding: 22px 24px;
}

.ees-result > .ees-message {
  margin-top: 0;
  max-width: none;
}

.ees-message-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.ees-message--error,
.ees-message--warning {
  background: #fffafa;
  border-color: #fee2e2;
}

.ees-message--error .ees-message-icon,
.ees-message--warning .ees-message-icon {
  background: #fee2e2;
  color: #b91c1c;
}

.ees-message strong {
  color: var(--ees-ink);
  display: block;
  font-size: 15px;
}

.ees-message p,
.ees-public-note p,
.ees-help p {
  color: var(--ees-muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.ees-public-note {
  border-left: 4px solid var(--ees-orange);
  padding: 20px 24px;
}

.ees-public-note strong {
  color: var(--ees-ink);
  font-size: 14px;
}

.ees-history-card {
  padding: 26px 28px;
}

.ees-history-card h2 {
  color: var(--ees-ink);
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -.01em;
  margin: 0 0 22px;
}

.ees-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ees-history-list li {
  display: flex;
  gap: 14px;
  min-height: 68px;
  padding-bottom: 17px;
  position: relative;
}

.ees-history-list li:not(:last-child)::before {
  background: var(--ees-line);
  content: "";
  height: calc(100% - 10px);
  left: 5px;
  position: absolute;
  top: 14px;
  width: 2px;
}

.ees-history-dot {
  background: var(--ees-orange);
  border: 3px solid var(--ees-orange-soft);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 12px;
  margin-top: 4px;
  position: relative;
  width: 12px;
  z-index: 1;
}

.ees-history-list strong {
  color: var(--ees-ink);
  display: block;
  font-size: 13px;
}

.ees-history-list p {
  color: var(--ees-muted);
  font-size: 12px;
  margin: 3px 0;
}

.ees-history-list small {
  color: #9ca3af;
  font-size: 10px;
}

.ees-help {
  align-items: center;
  background: linear-gradient(135deg, #1c2435, #101725);
  border: 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 24px 26px;
}

.ees-help strong {
  color: #fff;
  font-size: 15px;
}

.ees-help p {
  color: #b6bdc9;
}

.ees-help a {
  height: 46px;
}

.ees-footer {
  color: #989faa;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  margin-top: 48px;
  padding: 20px 4px 0;
}

@keyframes ees-pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--ees-orange), 0 0 0 0 color-mix(in srgb, var(--ees-orange) 20%, transparent); }
  50% { box-shadow: 0 0 0 1px var(--ees-orange), 0 0 0 8px transparent; }
}

@media (max-width: 760px) {
  .ees-tracker {
    padding: 22px 12px;
  }

  .ees-brandbar {
    margin-bottom: 40px;
  }

  .ees-secure {
    display: none;
  }

  .ees-brand-copy strong {
    font-size: 12px;
  }

  .ees-hero h1 {
    font-size: 38px;
  }

  .ees-hero > p:not(.ees-kicker) {
    font-size: 15px;
  }

  .ees-search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ees-search button {
    width: 100%;
  }

  .ees-info-strip {
    grid-template-columns: 1fr;
    padding: 11px 20px;
  }

  .ees-info-strip > div {
    padding: 15px 4px;
  }

  .ees-info-strip > div + div {
    border-left: 0;
    border-top: 1px solid var(--ees-line);
  }

  .ees-result-head,
  .ees-payment,
  .ees-help {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .ees-current-status {
    min-width: 0;
  }

  .ees-payment-note {
    align-self: flex-start;
  }

  .ees-progress-card {
    padding: 24px 20px;
  }

  .ees-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ees-step {
    display: flex;
    gap: 13px;
    min-height: 72px;
    padding: 0 0 13px;
  }

  .ees-step::before {
    bottom: -1px;
    height: auto;
    left: 14px;
    right: auto;
    top: 29px;
    width: 2px;
  }

  .ees-step > div {
    margin-top: 4px;
  }

  .ees-step strong {
    font-size: 13px;
  }

  .ees-step small {
    font-size: 11px;
  }

  .ees-detail-grid {
    grid-template-columns: 1fr;
  }

  .ees-detail-grid > div,
  .ees-detail-grid > div:nth-child(even),
  .ees-detail-grid > div:nth-child(n+3) {
    border-left: 0;
    border-top: 1px solid var(--ees-line);
    min-height: 0;
  }

  .ees-detail-grid > div:first-child {
    border-top: 0;
  }

  .ees-detail-grid > .ees-detail-wide {
    grid-column: auto;
  }

  .ees-help a {
    width: 100%;
  }

  .ees-footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ees-tracker *,
  .ees-tracker *::before,
  .ees-tracker *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

