/* Real state, one stable 16px line symbol and its readable label. */
.rn-status{display:flex;align-items:baseline;gap:8px;min-width:0;line-height:1.8}
.rn-status>.rn-status-glyph{display:block;width:16px;height:16px;flex:0 0 16px;align-self:center;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;overflow:hidden;contain:paint}
.rn-status>.rn-status-label{min-width:0;overflow-wrap:anywhere}
button.rn-status{justify-content:center;align-items:center}
.rn-order-memory-note.rn-status{display:flex}
.arrival-content .rn-status{justify-content:center;align-items:center}
.rn-status-guide{opacity:.24}
.rn-status-trace>*{stroke-dashoffset:0;opacity:1}
.order-live-label.rn-status,.web-order-state.rn-status{display:inline-flex;align-items:center}
.order-live-label.rn-status::before{content:none}
.rn-status[data-rn-state=error]{color:#f5b0bc}
.rn-status[data-rn-state=warning]{color:#e0c5b5}
.rn-status[data-rn-state=success],.rn-status[data-rn-state=collected]{color:#c4d7cc}
/* Stroke tracing repaints only this bounded icon. No layout animation, blur,
   spinner, per-frame JS or promoted page-sized layer is involved.
   Explicit animation ownership keeps unrelated page-wide resets separate. */
.rn-status:is([data-rn-motion=working],[data-rn-motion=sending]) .rn-status-trace>*{stroke-dasharray:1;animation:rn-status-working 3.2s cubic-bezier(.16,1,.3,1) var(--rn-stroke-delay,0ms) infinite both!important}
.rn-status[data-rn-motion=finite] .rn-status-trace>*{stroke-dasharray:1;animation:rn-status-draw var(--rn-draw-duration,380ms) cubic-bezier(.16,1,.3,1) var(--rn-stroke-delay,0ms) 1 both!important}
.rn-status[data-rn-motion-visible=false] .rn-status-trace>*{animation-play-state:paused!important}
@keyframes rn-status-working{0%{stroke-dashoffset:1;opacity:.35}38%,72%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.2}}
@keyframes rn-status-draw{from{stroke-dashoffset:1;opacity:.3}to{stroke-dashoffset:0;opacity:1}}

/* Static reserved shapes; the live status glyph alone indicates active work. */
.rn-skeleton{display:grid;width:100%;min-width:0;pointer-events:none;user-select:none}
.rn-skeleton-row{display:grid;align-items:center;gap:12px;min-width:0;padding:12px 0;border-bottom:1px solid #f5eee414;box-sizing:border-box}
.rn-skeleton-copy{display:grid;min-width:0;gap:10px}
.rn-skeleton-copy>i,.rn-skeleton-image,.rn-skeleton-control,.rn-skeleton-price{display:block;background:#f5eee40e;border-radius:5px}
.rn-skeleton-copy>i{height:12px;width:72%;max-width:180px}
.rn-skeleton-copy>i+i{height:10px;width:45%;max-width:110px}
.rn-skeleton-image{width:56px;height:56px;border-radius:8px}
.rn-skeleton-control{width:116px;height:44px;border-radius:8px}
.rn-skeleton-price{width:58px;height:14px}
.rn-skeleton[data-rn-skeleton=products]>.rn-skeleton-row{grid-template-columns:56px minmax(0,1fr) 116px;min-height:80px}
.rn-skeleton[data-rn-skeleton=orders]>.rn-skeleton-row{grid-template-columns:160px minmax(0,1fr) 148px;min-height:134px;gap:24px;padding-block:20px}
.rn-skeleton[data-rn-skeleton=orders] .rn-skeleton-control{width:100%}
.rn-skeleton[data-rn-skeleton=lines]>.rn-skeleton-row{grid-template-columns:minmax(0,1fr) 58px;min-height:64px}
@media(max-width:700px){
 .rn-skeleton-image{width:44px;height:44px}
 .rn-skeleton[data-rn-skeleton=products]>.rn-skeleton-row{grid-template-columns:44px minmax(0,1fr) 116px;min-height:68px;gap:8px}
 .rn-skeleton[data-rn-skeleton=orders]>.rn-skeleton-row{grid-template-columns:minmax(0,1fr) 116px;min-height:166px;gap:12px}
 .rn-skeleton[data-rn-skeleton=orders] .rn-skeleton-copy:nth-child(2){grid-column:1;grid-row:2}
 .rn-skeleton[data-rn-skeleton=orders] .rn-skeleton-control{grid-column:2;grid-row:1/3}
}

/* Confirmed links keep their base stroke; a second trace redraws downward.
   Only bounded SVG strokes repaint. The shared observer pauses offscreen/hidden. */
.rn-connector .rn-connector-trace,.rn-connector .rn-connector-glow{fill:none;stroke:#f2182e;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;vector-effect:non-scaling-stroke;pointer-events:none;opacity:0}
.rn-connector .rn-connector-trace{stroke-width:1.6}
.rn-connector .rn-connector-glow{stroke-width:3.6;filter:drop-shadow(0 0 3px #f2182e80)}
.rn-connector[data-rn-flow=true] .rn-connector-trace,.rn-connector[data-rn-flow=true] .rn-connector-glow{animation:rn-connector-draw 3.2s cubic-bezier(.16,1,.3,1) var(--rn-flow-delay,0ms) infinite both!important}
.rn-connector[data-rn-flow=true] .rn-connector-glow{stroke-opacity:.24}
.rn-connector[data-rn-flow=false] .rn-connector-trace,.rn-connector[data-rn-flow=false] .rn-connector-glow{display:none}
.rn-connector[data-rn-motion-visible=false] .rn-connector-trace,.rn-connector[data-rn-motion-visible=false] .rn-connector-glow{animation-play-state:paused!important}
@keyframes rn-connector-draw{0%{stroke-dashoffset:1;stroke:#b71426;opacity:0}12%{opacity:1}58%{stroke-dashoffset:0;stroke:#f2182e;opacity:1}72%{stroke-dashoffset:0;stroke:#f4b0bc;opacity:.8}92%,100%{stroke-dashoffset:0;stroke:#b71426;opacity:0}}
