/* Scoped to the artwork handoff. Uses the existing Blackout brand tokens. */
.render-wait { border: 1px solid var(--line); background: var(--deep); padding: 30px 36px 0; overflow: hidden; }
.rw-topline, .rw-fact-heading, .rw-fact-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rw-topline .eyebrow { color: var(--mut); }
.rw-state { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--font-label); letter-spacing: .04em; text-transform: uppercase; color: var(--amber); }
.rw-state i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.rw-heading { margin: 30px 0 0; }
.rw-heading h1 { font: 800 clamp(36px, 5vw, 58px)/1.04 var(--font-display); letter-spacing: -.025em; margin: 0; max-width: 620px; }
.rw-heading p { color: var(--mut); max-width: 500px; margin: 14px 0 0; font-size: 16px; }
.rw-drawing { position: relative; margin: 8px -12px 24px; height: 240px; overflow: hidden; background: radial-gradient(ellipse at 50% 65%, rgba(140,155,173,.09), transparent 65%); }
.rw-drawing svg { width: 100%; height: 100%; }
.rw-softbox { transform: skewX(-20deg); animation: rw-studio-light 6s ease-in-out infinite; }
.rw-contour { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: rw-trace 6s ease-in-out infinite; }
@keyframes rw-studio-light { 0%, 12% { transform: skewX(-20deg) translateX(0); opacity: 0; } 22% { opacity: 1; } 80% { opacity: 1; } 95%, 100% { transform: skewX(-20deg) translateX(480px); opacity: 0; } }
@keyframes rw-trace { 0% { stroke-dashoffset: 1000; opacity: .85; } 45% { stroke-dashoffset: 0; opacity: .85; } 70%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes rw-sweep { 0%, 10% { transform: translateX(-110%); } 80%, 100% { transform: translateX(520%); } }
.rw-stages { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 20px; gap: 10px; }
.rw-stages li { color: var(--mut); font: 600 12px/1.3 var(--font-label); border-top: 2px solid var(--line); padding-top: 12px; }
.rw-stages li span { display: inline-block; width: 13px; }
.rw-stages .is-current { border-color: var(--amber); color: var(--amber); }
.rw-stages .is-done { border-color: var(--ok); color: var(--ink); }
.rw-expectation { font-size: 13px; color: var(--mut); margin: 12px 0 24px; }
.rw-expectation a, .rw-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rw-notice { border-left: 2px solid var(--amber); padding: 12px 14px; background: var(--panel); font-size: 14px; margin: 18px 0; }
.rw-fact { background: var(--panel); border-top: 1px solid var(--line); margin: 0 -36px; padding: 23px 36px; }
.rw-fact-heading .eyebrow { color: var(--amber); font-size: 10px; }
.rw-fact > p { font-size: 18px; line-height: 1.45; margin: 12px 0; min-height: 53px; max-width: 540px; }
.rw-fact-footer { font-size: 11px; color: var(--mut); }
.rw-fact-footer > a { text-decoration: underline; text-underline-offset: 3px; }
.rw-fact-footer > div { display: flex; gap: 14px; }
.rw-fact button { background: transparent; border: 0; padding: 10px 0; cursor: pointer; color: var(--ink); min-height: 44px; font-size: 11px; }
.render-wait:not(.is-working) .rw-softbox, .render-wait:not(.is-working) .rw-contour { display: none; }
.render-wait.is-paused .rw-drawing *, .render-wait.is-disconnected .rw-drawing * { animation-play-state: paused; }
.rw-proof { margin: 4px 0 28px; }
.rw-order-meta { margin: 0 0 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--mut); }
.rw-order-meta strong { color: var(--ink); font-weight: 500; }
.rw-journey { margin-top: 24px; }
.rw-journey > summary { cursor: pointer; color: var(--mut); padding: 12px 0; font-size: 13px; }
.rw-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The existing submit lock drives this handoff; it does not alter checkout or validation. */
.submit-handoff { display: none; background: var(--deep); border: 1px solid var(--line); border-left: 3px solid var(--amber); padding: 18px 20px; margin: 20px 0; }
.submit-handoff strong { display: block; font: 700 26px/1.1 var(--font-display); }
.submit-handoff p { color: var(--mut); font-size: 13px; margin: 8px 0 0; }
.submit-handoff-track { overflow: hidden; height: 2px; background: var(--line); margin-top: 16px; }
.submit-handoff-track::after { content: ''; display: block; height: 2px; width: 25%; background: var(--amber); animation: rw-sweep 3s ease-in-out infinite; }
.wizard-step:has(#submit[aria-busy="true"]) .submit-handoff { display: block; }
@media (max-width: 600px) {
  .render-wait { padding: 22px 20px 0; }
  .rw-heading { margin-top: 25px; }
  .rw-heading h1 { font-size: 39px; max-width: 285px; }
  .rw-heading p { font-size: 14px; }
  .rw-drawing { height: 170px; margin: 6px -16px 18px; }
  .rw-stages { gap: 6px; }
  .rw-stages li { font-size: 11px; padding-top: 10px; }
  .rw-stages li span { display: block; height: 16px; }
  .rw-fact { margin: 0 -20px; padding: 20px; }
  .rw-fact > p { font-size: 16px; min-height: 70px; }
  .rw-fact-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .rw-fact-footer > div { width: 100%; justify-content: space-between; }
  .status-card:has(.render-wait) { padding: 0; border: 0; background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-softbox, .rw-contour, .submit-handoff-track::after { animation: none; }
  .rw-softbox, .rw-contour { display: none; }
}
