/* « Suivre ma commande » on the app's first screen (views/consumer_home.ejs,
   public/js/consumer-track.js; docs/WEB_ORDER_APP_CONVERSION.md). The app
   only: a browser already has its order page. One line until it is opened,
   except on a phone that has never ordered or followed an order here. */
:root:not([data-consumer-shell="native"]) #track-order { display: none; }
#track-order[hidden] { display: none; }
#track-order { margin: 10px max(14px, var(--cr-safe-left, 0px)) 0 max(14px, var(--cr-safe-right, 0px)); border: 1px solid #d9d2c2; border-radius: 14px; background: #fffdf7; color: #1b241f; font-family: inherit; }
#track-order.is-open { border-color: #17251f; }
.trk-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.trk-toggle:focus-visible { outline: 3px solid #709981; outline-offset: 2px; border-radius: 14px; }
.trk-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #17251f; color: #f4c95d; }
.trk-words { flex: 1; min-width: 0; }
.trk-title { display: block; font-size: 15px; line-height: 1.25; font-weight: 750; letter-spacing: -.01em; }
.trk-hint { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.35; color: #5f6b64; }
.trk-chev { flex: none; color: #5f6b64; transition: transform .15s; }
#track-order.is-open .trk-chev { transform: rotate(180deg); }
.trk-form { padding: 2px 14px 14px; }
.trk-form[hidden] { display: none; }
.trk-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 650; }
.trk-row { display: flex; gap: 8px; }
#trk-code { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid #c9c2b2; border-radius: 12px; background: #fff; color: #17251f; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; box-sizing: border-box; }
#trk-code::placeholder { color: #b3b9b5; font-weight: 600; }
#trk-code:focus { outline: 3px solid #709981; outline-offset: 1px; border-color: #17251f; }
#trk-code[aria-invalid="true"] { border-color: #b8402a; }
.trk-paste { flex: none; min-width: 76px; height: 50px; padding: 0 14px; border: 1px solid #c9c2b2; border-radius: 12px; background: #fff; color: #17251f; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.trk-go { display: block; width: 100%; min-height: 50px; margin-top: 8px; border: 0; border-radius: 12px; background: #17251f; color: #fff; font: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; }
.trk-go:disabled { opacity: .6; cursor: default; }
.trk-paste:focus-visible, .trk-go:focus-visible { outline: 3px solid #709981; outline-offset: 2px; }
.trk-msg:empty { display: none; }
.trk-msg { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #5f6b64; }
.trk-msg.is-bad { color: #a53a26; font-weight: 600; }
.trk-where { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: #5f6b64; }
@media (min-width: 720px) { #track-order { max-width: 560px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .trk-chev { transition: none; } }
