@font-face {
  font-family: 'Quiver Tracking Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/MaterialIcons-Regular.woff2') format('woff2');
}
.icon { display: inline-block; width: 24px; height: 24px; overflow: hidden; font: normal 24px/1 'Quiver Tracking Icons'; font-feature-settings: 'liga'; white-space: nowrap; }
body {
  margin: 0;
  display: block;
  color: #233f35;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.tracking-page { min-height: 100vh; background: #f4f6f3; padding: 28px 24px 12px; }
.tracking-brand { max-width: 1040px; margin: 0 auto 42px; display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #215d43; color: #fff; font-weight: 800; font-size: 27px; }
.tracking-brand strong { display: block; font-size: 15px; letter-spacing: 1.6px; }
.tracking-brand div > span { display: block; font-size: 12px; color: #718077; margin-top: 2px; }
.private-link { margin-left: auto; font-size: 12px; color: #68796e; display: flex; align-items: center; gap: 6px; }
.private-link .icon { font-size: 17px; width: 17px; height: 17px; }
.tracking-shell { max-width: 1040px; margin: auto; }
.tracking-card { background: #fff; border: 1px solid #e1e7df; border-radius: 18px; padding: 28px; margin-bottom: 20px; box-shadow: 0 3px 12px #233f3504; }
.order-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.eyebrow { font-size: 10px; letter-spacing: 1.6px; font-weight: 700; color: #6c7e70; margin: 0 0 7px; }
.tracking-page h1 { color: #203f32; font-size: 32px; font-weight: 700; margin: 0 0 8px; }
.order-customer { color: #526357; font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.order-customer > span { color: #7a877e; }
.delivery-pill { display: flex; align-items: center; gap: 8px; padding: 10px 15px; background: #e8eee6; color: #3b5d45; font-size: 13px; border-radius: 24px; white-space: nowrap; }
.delivery-pill .icon { font-size: 19px; height: 19px; width: 19px; }
.journey-card { padding: 32px; }
.status-hero { display: flex; align-items: flex-start; gap: 20px; padding: 4px 0 28px; }
.hero-icon { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; background: #edf4e9; color: #386b40; }
.hero-icon .icon { font-size: 29px; height: 29px; width: 29px; }
.status-badge { display: inline-block; background: #e7f1e3; color: #386b40; font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 7px; }
.tracking-page .status-hero h2 { color: #233f35; font-size: 21px; line-height: 1.5; font-weight: 600; max-width: 700px; margin: 10px 0; }
.last-update { font-size: 12px; color: #7c897f; margin: 0; }
.tracking-steps { list-style: none; padding: 28px 0 0; margin: 0; border-top: 1px solid #edf0e9; display: flex; }
.tracking-steps li { flex: 1; position: relative; display: flex; align-items: center; flex-direction: column; text-align: center; padding: 0 8px; color: #859086; }
.tracking-steps li::before { content: ''; height: 3px; background: #e5ebe2; position: absolute; width: 100%; top: 20px; left: -50%; }
.tracking-steps li:first-child::before { display: none; }
.step-dot { position: relative; z-index: 1; width: 43px; height: 43px; border-radius: 50%; background: #f1f4ef; border: 4px solid #fff; display: grid; place-items: center; box-sizing: content-box; }
.step-dot .icon { font-size: 21px; width: 21px; height: 21px; }
.step-label { font-size: 14px; font-weight: 600; margin-top: 10px; }
.tracking-steps li.tracking-reached { color: #2d623c; }
.tracking-reached .step-dot { background: #326345; color: #fff; }
.tracking-steps li.tracking-reached::before { background: #477958; }
.tracking-current .step-dot { box-shadow: 0 0 0 2px #afc5a9; }
.cancelled .hero-icon, .cancelled .status-badge { background: #faece9; color: #a44535; }
.parcel-card { border-color: #ccddc6; background: #fbfdf9; }
.parcel-title { display: flex; align-items: center; gap: 12px; }
.small-icon { background: #eaf1e5; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #466842; }
.tracking-page .parcel-title h2 { color: #233f35; font-size: 20px; font-weight: 600; margin: 0; }
.parcel-body { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 22px; }
.field-label { font-size: 10px; letter-spacing: 1px; color: #778573; margin: 0 0 8px; }
.guide-line { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.guide-number { font-size: 22px; font-weight: 600; letter-spacing: 1px; user-select: all; overflow-wrap: anywhere; }
.copy-button { border: 1px solid #d7e1d0; background: #fff; color: #42623c; border-radius: 7px; padding: 6px 9px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-family: inherit; font-size: 11px; }
.copy-button .icon { font-size: 14px; width: 14px; height: 14px; }
.track-button { background: #295f42; color: #fff; padding: 13px 20px; border-radius: 9px; text-decoration: none; font-size: 13px; display: inline-flex; justify-content: center; gap: 16px; flex-shrink: 0; }
.track-button:hover { background: #1e4b32; color: #fff; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tracking-page .section-title { color: #233f35; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.section-title .icon { font-size: 19px; width: 19px; height: 19px; color: #6d8269; }
.delivery-name { font-size: 14px; font-weight: 600; }
address, .muted { color: #7a8679; font-size: 13px; line-height: 1.8; font-style: normal; overflow-wrap: anywhere; }
.products-head { display: flex; justify-content: space-between; font-size: 10px; color: #8a9684; padding-bottom: 10px; border-bottom: 1px solid #e8ede4; }
.products { list-style: none; padding: 0; margin: 0; }
.products li { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #edf0e9; padding: 12px 0; font-size: 13px; }
.products li:last-child { border: none; padding-bottom: 0; }
.products span { min-width: 0; overflow-wrap: anywhere; }
.products strong { white-space: nowrap; font-weight: 600; }
.history ol { list-style: none; padding: 0; margin: 0; }
.history li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 0 0 25px 24px; font-size: 13px; }
.history li:not(:last-child)::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: -4px; width: 1px; background: #dfe7d8; }
.history li:last-child { padding-bottom: 0; }
.history-dot { position: absolute; width: 9px; height: 9px; top: 4px; left: 0; border: 2px solid #63875d; border-radius: 50%; background: #fff; }
.history strong { font-weight: 500; }
.history time { color: #899382; font-size: 12px; white-space: nowrap; }
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state > .icon { font-size: 38px; width: 38px; height: 38px; margin-bottom: 20px; color: #698268; }
.empty-state p { color: #758372; font-size: 14px; }
.empty-state h1 { font-size: 25px; }
.loading-dot { width: 30px; height: 30px; border: 3px solid #dce8d7; border-top-color: #326345; border-radius: 50%; margin: 0 auto 24px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
footer { text-align: center; color: #8b9685; padding: 20px 0; font-size: 11px; }
footer strong { display: block; letter-spacing: 1.4px; margin-bottom: 6px; color: #677b62; }
footer span { display: block; }
.copy-error { font-size: 12px; color: #a44535; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
button:focus-visible, a:focus-visible { outline: 3px solid #779e6d; outline-offset: 3px; }
@media (max-width: 640px) {
  .tracking-page { padding: 20px 14px 8px; }
  .tracking-brand { margin-bottom: 30px; }
  .private-link { display: none; }
  .order-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tracking-page h1 { font-size: 28px; }
  .tracking-card, .journey-card { padding: 22px 18px; border-radius: 14px; }
  .status-hero { gap: 12px; }
  .hero-icon { width: 42px; height: 42px; border-radius: 12px; }
  .hero-icon .icon { font-size: 23px; width: 23px; height: 23px; }
  .tracking-page .status-hero h2 { font-size: 17px; }
  .step-label { font-size: 12px; line-height: 1.5; }
  .step-dot { width: 35px; height: 35px; }
  .tracking-steps li::before { top: 18px; }
  .parcel-body { flex-direction: column; align-items: stretch; gap: 18px; }
  .guide-number { font-size: 20px; }
  .details-grid { grid-template-columns: 1fr; gap: 0; }
  .history li { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .loading-dot { animation: none; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.clipboard-fallback { position: fixed; opacity: 0; }
