/* MERAPP_LASTMILE_V1 — customer journey UI and staff monitoring polish.
   Scoped to existing online tracking and operator alert classes only. */
.oo-track-page{--merapp-journey-ink:#17352a;--merapp-journey-accent:#187654;background:radial-gradient(ellipse at 16% -12%,#e5f7eb 0,transparent 36rem),linear-gradient(180deg,#f5faf8 0%,#f9fbfa 100%)}
.oo-track-shell{max-width:1120px;margin-inline:auto}
.oo-track-hero{position:relative;overflow:hidden;background:linear-gradient(123deg,#fff 0%,#f5fcf8 75%,#e8f6ec 100%);border-color:#d9e7dd;box-shadow:0 16px 42px #1a4c3621,0 2px 5px #1834270b;padding:clamp(20px,4vw,34px)!important;isolation:isolate}
.oo-track-hero:before{content:"";position:absolute;inset:auto -38px -74px auto;height:220px;width:220px;border:1px solid #b8d8c545;border-radius:50%;box-shadow:0 0 0 26px #d7ede532,0 0 0 52px #e5f4ea55;pointer-events:none;z-index:-1}
.oo-track-hero h1{font-size:clamp(26px,4vw,40px);line-height:1.13;font-weight:950;color:#17352a;letter-spacing:-.045em}
.oo-track-hero p{font-size:clamp(12px,1.4vw,14px);line-height:1.6;color:#5b7568;max-width:520px}
.oo-track-status-orb:not(.oo-track-status-orb--error){border-radius:23px;color:#126840;background:#e1f4e9;box-shadow:inset 0 0 0 1px #bee7ce,0 0 0 8px #cfedda70;animation:merapp-status-breathe-v1 3s ease-in-out infinite}
.oo-track-card{border-color:#e1ebe4;box-shadow:0 13px 36px #163b2610,0 3px 8px #23402b08;border-radius:22px}
.oo-track-card-head{padding:17px 19px;min-height:68px;background:linear-gradient(105deg,#fff,#fbfdfc)}
.oo-track-card-head h2{color:var(--merapp-journey-ink);font-size:clamp(14px,1.7vw,17px);letter-spacing:-.025em}
.oo-track-card-head small{color:#667d70;font-weight:750;font-size:11px}
.oo-timeline{padding:24px 22px 10px}
.oo-timeline-step{min-height:74px;grid-template-columns:46px 1fr;gap:15px}
.oo-timeline-step:not(:last-child):after{left:22px;top:38px;bottom:-1px;width:3px;border-radius:3px;background:#e7ede9}
.oo-timeline-step.done:not(:last-child):after{background:linear-gradient(#158458,#91d6aa);transform-origin:top center;animation:merapp-connect-line-v1 .52s ease-out both}
.oo-timeline-marker{width:44px;height:44px;background:#fff;border:2px solid #dde6df;box-shadow:0 2px 8px #1837270b;transition:transform .35s ease,box-shadow .35s ease,background .35s ease}
.oo-timeline-step.done .oo-timeline-marker{background:#e9f9f0;border-color:#8acda5;color:#16714a}
.oo-timeline-step.active .oo-timeline-marker{background:#ecf8ef;border:2px solid #15955e;color:#0e7747;box-shadow:0 0 0 7px #1d9a6a18,0 0 0 13px #1d9a6a09;animation:merapp-step-ring-v1 2.9s ease-in-out infinite}
.oo-timeline-copy{padding-top:8px}
.oo-timeline-copy strong{font-size:clamp(12px,1.4vw,14px);line-height:1.3;color:#7f9185}
.oo-timeline-step.done .oo-timeline-copy strong{color:#294c38}
.oo-timeline-step.active .oo-timeline-copy strong{color:#126e46;font-weight:900}
.oo-timeline-copy span{font-size:clamp(10px,1.1vw,12px);line-height:1.5;color:#87998c;margin-top:4px}
.oo-timeline-step.active .oo-timeline-copy span{color:#587b65}
.oo-timeline-step.active .oo-timeline-copy{animation:merapp-step-enter-v1 .48s ease-out both}
.oo-payment-status--verified{background:#dff6e8!important;color:#0b6e42!important;border:1px solid #b4e7c8}
.oo-payment-status-body strong{color:#193d2c;font-size:clamp(17px,2vw,22px)}
.oo-payment-status-body p{font-size:12px;line-height:1.55}
.oo-track-page .oo-track-topbar{backdrop-filter:blur(14px)}
.merapp-track-journey-v1{margin:0 0 22px;padding:19px 22px 16px;border-radius:20px;background:linear-gradient(108deg,#165d43,#147e57);color:#fff;box-shadow:0 15px 35px #095a3d30}
.merapp-track-journey-head-v1{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.merapp-track-journey-head-v1>span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.13em;color:#c7f5db}
.merapp-track-journey-head-v1>strong{font-size:clamp(12px,1.45vw,15px);font-weight:900;color:#fff}
.merapp-track-journey-rail-v1{height:9px;background:#ffffff34;border:1px solid #ffffff25;overflow:hidden;border-radius:999px;margin-top:14px}
.merapp-track-journey-rail-v1>div{height:100%;background:linear-gradient(90deg,#8cf5b5,#fff);border-radius:999px;transition:width .65s cubic-bezier(.16,1,.3,1);position:relative}
.merapp-track-journey-rail-v1>div:after{content:"";position:absolute;right:0;top:0;bottom:0;width:22px;background:#ffffff99;filter:blur(7px);animation:merapp-rail-glint-v1 2.5s ease-in-out infinite}
.merapp-track-journey-v1>p{font-size:11px;line-height:1.5;margin:10px 0 0;color:#dbf5e8}
.merapp-ops-reconnect-v1,.merapp-ops-restored-v1{display:inline-flex;align-items:center;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:800;line-height:1.35;max-width:350px}
.merapp-ops-reconnect-v1{color:#993c10;background:#fff3e7;border:1px solid #f3c7a7}
.merapp-ops-restored-v1{color:#17603e;background:#eaf8ee;border:1px solid #acd9bc}
.oo-order-alarm-v18{box-shadow:0 25px 85px #4927174d}
.oo-alert-arm-v18{border-color:#d69a73;background:#fff8f0}
@keyframes merapp-status-breathe-v1{0%,100%{transform:scale(1);box-shadow:inset 0 0 0 1px #bee7ce,0 0 0 8px #cfedda70}50%{transform:scale(1.04);box-shadow:inset 0 0 0 1px #bee7ce,0 0 0 13px #cfedda50}}
@keyframes merapp-step-ring-v1{0%,100%{box-shadow:0 0 0 7px #1d9a6a18,0 0 0 13px #1d9a6a09}50%{box-shadow:0 0 0 9px #1d9a6a24,0 0 0 18px #1d9a6a04}}
@keyframes merapp-step-enter-v1{0%{opacity:.5;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes merapp-connect-line-v1{from{transform:scaleY(.15)}to{transform:scaleY(1)}}
@keyframes merapp-rail-glint-v1{0%,100%{opacity:.25}55%{opacity:1}}
@media(max-width:700px){.oo-track-hero{gap:14px!important;padding:22px 18px!important}.oo-track-status-orb{width:56px;height:56px;flex-basis:56px}.oo-track-card-head{padding:14px}.oo-timeline{padding:20px 17px 8px}.oo-timeline-step{min-height:78px}.merapp-track-journey-v1{margin:0 0 16px;padding:15px 17px}.oo-track-card{border-radius:18px}}
@media(prefers-reduced-motion:reduce){.oo-track-status-orb:not(.oo-track-status-orb--error),.oo-timeline-step.active .oo-timeline-marker,.oo-timeline-step.done:not(:last-child):after,.oo-timeline-step.active .oo-timeline-copy,.merapp-track-journey-rail-v1>div:after{animation:none!important}.merapp-track-journey-rail-v1>div,.oo-timeline-marker{transition:none!important}}
