.moncho-tracking { color-scheme: light; }
.tracking-enhanced { margin-top:24px; }
.tracking-enhanced .moncho-tracking { max-width:none; }
.moncho-tracking { --mt-accent:#e8b637; --mt-ink:#1a2433; --mt-muted:#647287; --mt-border:#e4e9f0; max-width:950px; margin:0 auto; color:var(--mt-ink); background:#fff; border:1px solid var(--mt-border); border-radius:24px; overflow:hidden; font-family:Inter,Arial,sans-serif; box-shadow:0 20px 65px #182b4b0a; }
.moncho-tracking *, .moncho-tracking *::before, .moncho-tracking *::after { box-sizing:border-box; }
.moncho-tracking h2,.moncho-tracking h3,.moncho-tracking h4,.moncho-tracking p { margin:0; }
.mt-order { padding:26px 32px; display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:1px solid var(--mt-border); }
.mt-eyebrow { font-size:10px; font-weight:800; letter-spacing:1.5px; color:var(--mt-muted); }
.mt-order h2 { font-size:20px; margin-top:8px; font-weight:500; }
.mt-order h2 span { font-weight:800; letter-spacing:1px; }
.mt-live { color:var(--mt-muted); font-size:12px; text-align:right; line-height:1.6; }
.mt-hero { padding:30px 32px 32px; background:linear-gradient(120deg,#fffdf6,#fff); border-bottom:1px solid var(--mt-border); }
.mt-badge { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border:1px solid #e8d393; border-radius:50px; background:#fff6d6; color:#77570a; font-size:11px; font-weight:700; }
.mt-badge span { height:6px; width:6px; background:currentColor; border-radius:50%; }
.mt-hero h3 { font-size:clamp(23px,3vw,31px); margin-top:14px; letter-spacing:-.8px; line-height:1.2; }
.mt-hero p { font-size:14px; line-height:1.7; margin-top:10px; color:#546174; max-width:650px; }
.mt-hero .mt-delivery-date { font-weight:700; font-size:12px; }
.mt-progress { padding:34px 32px 30px; }
.mt-progress ol { display:block; list-style:none; padding:0; margin:0; }
.mt-step { position:relative; min-height:58px; text-align:left; display:grid; grid-template-columns:38px minmax(0,1fr); column-gap:16px; align-items:start; padding:0 0 20px; }
.mt-step:last-child { padding-bottom:0; min-height:38px; }
.mt-step:not(:last-child)::after { content:''; position:absolute; width:2px; height:calc(100% - 38px); left:18px; top:38px; background:#e8edf3; }
.mt-step.is-previous:not(:last-child)::after { background:#bfccd8; }
.mt-step-dot { flex:none; position:relative; z-index:1; display:grid; place-items:center; width:38px; height:38px; background:#f4f6f9; color:#9ba5b2; border:1px solid #e4e9f0; border-radius:50%; font-size:12px; font-weight:800; }
.mt-step-label { grid-column:2; grid-row:1; font-size:13px; font-weight:700; margin-top:2px; line-height:1.4; }
.mt-step-detail { grid-column:2; grid-row:2; font-size:11px; color:#7c8999; margin-top:3px; line-height:1.4; }
.mt-step.is-upcoming .mt-step-label { color:#97a2af; }
.mt-step.is-skipped .mt-step-label,.mt-step.is-skipped .mt-step-detail { color:#8b95a2; }
.mt-step.is-previous .mt-step-dot { background:#fff; color:#4a5b6e; border-color:#bfccd8; }
.mt-step.is-current .mt-step-dot { color:#5a4103; background:#ffe7a1; border-color:#e8b637; box-shadow:0 0 0 5px #fff6dc; }
.mt-step.is-current .mt-step-detail { font-weight:800; color:#7a5700; }
.mt-next { margin:25px 32px 0; display:flex; align-items:flex-start; gap:14px; border:1px solid #e4e9f0; background:#f7f9fc; border-radius:13px; padding:19px 20px; }
.mt-next-icon { flex:none; width:28px; height:28px; background:#e8edf4; border-radius:8px; display:grid; place-items:center; font-weight:800; font-size:20px; }
.mt-next h4 { font-size:13px; margin:0 0 6px; }
.mt-next p { font-size:13px; line-height:1.7; color:#546174; }
.mt-message { margin:0 32px 24px; padding:0 0 0 14px; border-left:3px solid #c9d3df; }
.mt-message h4 { font-size:12px; margin-bottom:7px; }
.mt-message p { font-size:13px; color:#546174; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; }
.mt-history { border-top:1px solid var(--mt-border); padding:0 32px; }
.mt-history summary { display:flex; justify-content:space-between; gap:14px; align-items:center; cursor:pointer; font-size:13px; font-weight:700; padding:21px 0; list-style:none; }
.mt-history summary::after { content:'+'; color:#778498; font-size:20px; font-weight:400; }
.mt-history[open] summary::after { content:'−'; }
.mt-history summary span { margin-right:auto; font-size:10px; padding:3px 6px; background:#eef2f6; border-radius:5px; color:#778498; }
.mt-history summary::-webkit-details-marker { display:none; }
.mt-events { list-style:none; margin:0 0 5px; padding:0; }
.mt-events li { display:flex; align-items:flex-start; gap:15px; position:relative; padding:0 0 24px; }
.mt-events li:not(:last-child)::after { content:''; position:absolute; background:#e9edf3; width:1px; top:10px; bottom:0; left:3px; }
.mt-event-dot { flex:none; width:7px; height:7px; background:#bcc7d4; border-radius:50%; margin-top:5px; z-index:1; }
.mt-events li:first-child .mt-event-dot { background:#ddb041; box-shadow:0 0 0 3px #fff6dc; }
.mt-events time { display:block; font-size:10px; color:#788598; letter-spacing:.2px; margin-bottom:6px; }
.mt-events strong { font-size:13px; }
.mt-events p { font-size:12px; color:#647287; line-height:1.7; margin-top:5px; white-space:pre-wrap; overflow-wrap:anywhere; }
.mt-no-history { padding:0 0 23px; font-size:12px; line-height:1.8; color:#647287; }
.mt-footer { padding:18px 32px; border-top:1px solid var(--mt-border); display:flex; align-items:center; justify-content:space-between; gap:16px; background:#fcfdff; font-size:12px; color:#647287; }
.mt-footer a { text-decoration:none; font-weight:700; color:#17744b; white-space:nowrap; }
.mt-tone-neutral .mt-hero,.mt-tone-unknown .mt-hero { background:#fcfdff; }
.mt-tone-neutral .mt-badge,.mt-tone-unknown .mt-badge { background:#fff; border-color:#d7dfe8; color:#546174; }
.mt-tone-neutral .mt-step.is-current .mt-step-dot { color:#1a2433; background:#fff; border-color:#506174; box-shadow:0 0 0 5px #f1f4f7; }
.mt-tone-ready .mt-hero { background:linear-gradient(120deg,#f2f8ff,#fff); }
.mt-tone-ready .mt-badge { background:#eaf3ff; border-color:#c9dff6; color:#2666a1; }
.mt-tone-ready .mt-step.is-current .mt-step-dot { background:#e6f1ff; border-color:#6e9fd0; color:#2666a1; box-shadow:0 0 0 5px #f1f7ff; }
.mt-tone-ready .mt-step.is-current .mt-step-detail { color:#2666a1; }
.mt-tone-exception .mt-hero { background:linear-gradient(120deg,#fff6f3,#fff); }
.mt-tone-exception .mt-badge { background:#fff0e8; border-color:#f1c6ad; color:#985326; }
.mt-tone-exception .mt-step.is-current .mt-step-dot { background:#ffe9dc; border-color:#d7956d; color:#985326; box-shadow:0 0 0 5px #fff5ef; }
.mt-tone-exception .mt-step.is-current .mt-step-detail { color:#985326; }
.mt-tone-delivered .mt-hero { background:linear-gradient(120deg,#f1fcf5,#fff); }
.mt-tone-delivered .mt-badge { background:#e9f9ee; border-color:#b8dec5; color:#267548; }
.mt-tone-delivered .mt-step.is-current .mt-step-dot { background:#e3f6ea; border-color:#5fbd83; color:#267548; box-shadow:0 0 0 5px #f0fbf4; }
.mt-tone-delivered .mt-step.is-current .mt-step-detail { color:#267548; }
.moncho-tracking a:focus-visible,.moncho-tracking summary:focus-visible { outline:3px solid #3974b9; outline-offset:5px; border-radius:4px; }
@media(max-width:600px) {
  .moncho-tracking { border-radius:18px; }
  .mt-order { padding:21px 20px; gap:12px; align-items:flex-start; }
  .mt-order h2 { font-size:19px; }
  .mt-live { max-width:112px; font-size:10px; }
  .mt-eyebrow { font-size:9px; letter-spacing:1px; }
  .mt-hero { padding:25px 20px; }
  .mt-hero h3 { font-size:25px; }
  .mt-hero p { font-size:13px; }
  .mt-progress { padding:27px 24px 15px; }
  .mt-step { min-height:63px; grid-template-columns:34px 1fr; gap:0 16px; padding:0 0 22px; }
  .mt-step:last-child { padding-bottom:0; min-height:48px; }
  .mt-step-dot { width:34px; height:34px; grid-column:1; grid-row:1 / span 2; }
  .mt-step-label { margin-top:2px; font-size:13px; }
  .mt-step-detail { margin-top:3px; font-size:10px; }
  .mt-step:not(:last-child)::after { width:2px; height:calc(100% - 38px); left:16px; top:36px; }
  .mt-next { margin:20px 20px 0; padding:16px 15px; gap:11px; }
  .mt-message { margin:0 20px 22px; }
  .mt-history { padding:0 20px; }
  .mt-footer { padding:19px 20px; flex-direction:column; align-items:flex-start; gap:9px; }
}
@media(forced-colors:active) {
  .mt-step.is-current .mt-step-dot { border:3px solid Highlight; outline:2px solid Highlight; outline-offset:3px; }
  .mt-step.is-current .mt-step-label { font-weight:900; text-decoration:underline; text-underline-offset:4px; }
  .mt-step:not(:last-child)::after { background:CanvasText; }
  .mt-next-icon { border:1px solid CanvasText; }
  .mt-badge { border:2px solid CanvasText; }
}
