:root{--navy:#001529;--navy-muted:#8096b0;--primary:#1677ff;--primary-dark:#0958d9;--success:#389e0d;--danger:#cf1322;--text:#1f2937;--text-muted:#6b7280;--border:#e5e7eb;--surface:#fff;--radius:12px;--shadow:0 2px 16px #00000014;color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5}*,:before,:after{box-sizing:border-box}body{background:linear-gradient(135deg,#f0f4ff 0%,#fafafa 100%) fixed;margin:0}#root{flex-direction:column;min-height:100dvh;display:flex}h1,h2,h3,p,dl,dd,ol{margin:0}address{font-style:normal}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:focus-visible{outline-offset:2px;outline:3px solid #1677ff73}.site-header{background:var(--navy);padding:16px 20px}.site-header__brand{flex-wrap:wrap;align-items:baseline;gap:4px 12px;text-decoration:none;display:inline-flex}.site-header__name{letter-spacing:.5px;color:#fff;font-size:1.25rem;font-weight:700}.site-header__tagline{color:var(--navy-muted);font-size:.8125rem}.site-footer{background:var(--navy);text-align:center;color:var(--navy-muted);padding:20px 24px;font-size:.8125rem}.page{flex:1;width:100%;max-width:680px;margin:0 auto;padding:24px 16px 40px}@media (width>=768px){.site-header{padding:20px 40px}.site-header__name{font-size:1.375rem}.page{padding:40px 24px 56px}}.hero{text-align:center;margin-bottom:28px}.hero h1{color:var(--navy);margin-bottom:8px;font-size:clamp(1.5rem,5vw,2rem);line-height:1.25}.hero p{color:var(--text-muted)}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:24px;padding:20px}.search-card{text-align:center;display:block}.search-form{margin-bottom:12px;display:flex}.search-form__input{text-transform:uppercase;min-width:0;height:44px;color:var(--text);appearance:none;border:1px solid #d1d5db;border-right:0;border-radius:8px 0 0 8px;flex:1;padding:0 14px;font:1rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.search-form__input::placeholder{text-transform:none;font-size:.875rem}.search-form__input:focus{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);outline:none}.button{height:44px;font:inherit;cursor:pointer;border-radius:8px;padding:0 18px;font-weight:500;transition:background-color .2s,border-color .2s,color .2s}.button--primary{border:1px solid var(--primary);background:var(--primary);color:#fff;white-space:nowrap;border-radius:0 8px 8px 0;min-width:96px}.button--primary:hover:not(:disabled){background:var(--primary-dark);border-color:var(--primary-dark)}.button--primary:disabled{opacity:.7;cursor:progress}.button--ghost{color:var(--text);background:0 0;border:1px dashed #c0c6d0}.button--ghost:hover{border-color:var(--primary);color:var(--primary)}.lookup-status{color:var(--text-muted);justify-content:center;align-items:center;gap:10px;padding:32px 0;display:flex}.spinner{border:3px solid #dbe4f3;border-top-color:var(--primary);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.alert{border-radius:var(--radius);background:#fff2f0;border:1px solid #ffccc7;margin-bottom:24px;padding:14px 16px}.alert strong{color:var(--danger)}.alert p{margin-top:4px;font-size:.9375rem}.eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin-bottom:6px;font-size:.75rem;font-weight:400}.result__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:14px;display:flex}.result__tracking-id{overflow-wrap:anywhere;font:700 1.0625rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.result__tags{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.badge{border:1px solid var(--border);background:#fafafa;border-radius:6px;padding:3px 10px;font-size:.8125rem;font-weight:400;display:inline-block}.badge--status{border-radius:20px;padding:4px 12px}.badge--blue,.badge--in_transit{color:#0958d9;background:#e6f4ff;border-color:#91caff}.badge--green,.badge--completed{color:#237804;background:#f6ffed;border-color:#b7eb8f}.badge--arrived_at_destination{color:#006d75;background:#e6fffb;border-color:#87e8de}.badge--out_for_delivery,.badge--pending_redelivery{color:#ad4e00;background:#fff7e6;border-color:#ffd591}.badge--red{color:var(--danger);background:#fff1f0;border-color:#ffa39e}.result__section{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.details>div{gap:6px;padding:3px 0;font-size:.9375rem;display:flex}.details dt{color:var(--text-muted);flex-shrink:0}.details dt:after{content:":"}.result__footer{border-top:1px solid var(--border);color:var(--text-muted);margin-top:14px;padding-top:12px;font-size:.75rem}.progress{padding:8px 0 4px;list-style:none;display:flex}.progress__step{text-align:center;flex-direction:column;flex:1;align-items:center;gap:4px;display:flex;position:relative}.progress__step:not(:last-child):after{content:"";background:#f0f0f0;border-radius:2px;height:3px;position:absolute;top:15px;left:calc(50% + 20px);right:calc(20px - 50%)}.progress__step--done:not(:last-child):after{background:#52c41a}.progress__dot{color:#6b7280;filter:grayscale();background:#f0f0f0;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:.875rem;font-weight:700;display:flex}.progress__step--done .progress__dot{color:#fff;filter:none;background:#52c41a}.progress__step--active .progress__dot{box-shadow:0 0 0 2px var(--primary);filter:none;background:#e6f4ff}.progress__label{color:#6b7280;max-width:72px;font-size:.6875rem;line-height:1.3}.progress__step--done .progress__label{color:var(--success)}.progress__step--active .progress__label{color:var(--primary-dark);font-weight:600}.timeline{padding:4px 0 0;list-style:none}.timeline__item{flex-direction:column;padding:0 0 16px 22px;font-size:.875rem;display:flex;position:relative}.timeline__item:before{content:"";background:#fff;border:2px solid #c0c6d0;border-radius:50%;width:10px;height:10px;position:absolute;top:5px;left:0}.timeline__item:not(:last-child):after{content:"";background:var(--border);width:2px;position:absolute;top:17px;bottom:-3px;left:4px}.timeline__item:last-child{padding-bottom:0}.timeline__item--latest:before{border-color:var(--primary)}.timeline__item time{color:var(--text-muted);font-size:.75rem}.guide{margin-top:36px}.guide h2{color:var(--navy);margin-bottom:12px;font-size:1.1875rem}.guide__steps{padding-left:22px}.guide__steps li{margin-bottom:8px}.guide__statuses>div{border-bottom:1px solid var(--border);padding:10px 0}.guide__statuses dt{font-weight:600}.guide__statuses dd{color:var(--text-muted);font-size:.9375rem}.faq{border-bottom:1px solid var(--border)}.faq summary{cursor:pointer;padding:12px 0;font-weight:600}.faq p{color:var(--text-muted);padding-bottom:12px;font-size:.9375rem}.qr-dialog{border-radius:var(--radius);border:0;width:min(92vw,440px);padding:20px;box-shadow:0 12px 48px #00000040}.qr-dialog::backdrop{background:#00000080}.qr-dialog__header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.qr-dialog__header h2{font-size:1.0625rem}.qr-dialog__close{width:36px;height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:1.5rem;line-height:1}.qr-dialog__close:hover{background:#f3f4f6}.qr-dialog__viewport{background:#f3f4f6;border-radius:8px;width:100%;min-height:200px;overflow:hidden}.qr-dialog__hint,.qr-dialog__error{text-align:center;color:var(--text-muted);margin-top:10px;font-size:.8125rem}.qr-dialog__error{color:var(--danger)}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}.button{transition:none}}
