/* Scene "receipt" · Receipt matching (US hero, Figma Homepage section 14819:52159). All positions in the 798×854 artboard.
   Scoped under [data-scene="receipt"], classes prefixed "rc-". */

/* ---------------------------------------------------------------- 1 · phone + notification (14813:49032; the travel phone) */
[data-scene="receipt"] .rc-phonewrap { position: absolute; inset: 0; }
/* full mode (no container): the phone runs past the artboard, so its bottom melts away instead of cutting */
[data-scene="receipt"] .rc-phonewrap--full { overflow: hidden; -webkit-mask-image: linear-gradient(#000 86%, transparent 100%); mask-image: linear-gradient(#000 86%, transparent 100%); }
[data-scene="receipt"] .rc-phone { position: absolute; left: 116px; top: 73px; width: 567px; height: 1416px; border-radius: 79.756px;
  background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1.3px rgba(255, 255, 255, 0.5);
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif; text-align: center;
  /* the lock-screen date and clock: white, with a soft shade so they read on the light backgrounds */
  color: #fff; text-shadow: 0 2px 28px rgba(32, 49, 71, .16); }
[data-scene="receipt"] .rc-phone__date, [data-scene="receipt"] .rc-phone__time { position: absolute; left: -28px; width: 623px;
  display: flex; align-items: center; justify-content: center; white-space: nowrap; }
[data-scene="receipt"] .rc-phone__date { top: 106.34px; height: 31.57px; font-size: 33.232px; letter-spacing: -1.6616px; font-weight: 400; }
[data-scene="receipt"] .rc-phone__time { top: 157.85px; height: 134.59px; font-size: 159.511px; letter-spacing: -6.6463px; font-weight: 600; }

/* the notification's content (its white card is .rc-surf, inside the agent group) */
[data-scene="receipt"] .rc-notif { position: absolute; left: 154px; top: 431.9px; width: 491px; padding: 19.939px; display: flex; gap: 14.954px;
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif; line-height: 29.908px; z-index: 3; transform-origin: 50% 50%; }
[data-scene="receipt"] .rc-notif__logo { width: 63.14px; height: 63.14px; flex: none; }
[data-scene="receipt"] .rc-notif__txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6.646px; }
[data-scene="receipt"] .rc-notif__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; white-space: nowrap; color: #072928; }
[data-scene="receipt"] .rc-notif__top b { font-size: 26.585px; font-weight: 600; }
[data-scene="receipt"] .rc-notif__top small { font-size: 19.939px; letter-spacing: -0.6779px; opacity: 0.5; }
[data-scene="receipt"] .rc-notif__body { font-size: 22px; color: #124846; white-space: nowrap; }

/* ---------------------------------------------------------------- 2 · the agent (14813:49052 → 14819:52204)
   The tile ends 123.84 at (144, 100) with "Agent is fetching" at (303, 135): the pair is centred across the top. */
[data-scene="receipt"] .rc-agent { position: absolute; inset: 0; z-index: 2; }
/* the white surface: the notification card, then the AI tile (one morphing box) */
[data-scene="receipt"] .rc-surf { position: absolute; left: 144px; top: 100px; width: 123.84px; height: 123.84px; border-radius: 25.521px;
  background: #fff; transform-origin: 50% 50%; overflow: hidden; }
/* the light that sweeps across the tile once it is big (as in close) */
[data-scene="receipt"] .rc-sheen { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-120%); }
/* sized as the agent in close and setup: tile 110 at top 65, "Agent is …" 36 px beside it (the script centres the pair) */
[data-scene="receipt"] .rc-working { position: absolute; left: 196px; top: 98px; font-weight: 500; font-size: 36px; line-height: 1.22;
  color: #203147; white-space: nowrap; }
/* the shimmer: the same words on top, painted only by a light band that sweeps across them (as in close) */
[data-scene="receipt"] .rc-working--shine { color: transparent; -webkit-text-fill-color: transparent; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 100%) no-repeat;
  background-size: 35% 100%; -webkit-background-clip: text; background-clip: text; }

/* the AI star: positioned with left/top/width (it travels from the tile into the window); shown as the brand mark, never mirrored */
[data-scene="receipt"] .rc-sparkpos { position: absolute; left: 165.29px; top: 121.29px; width: 81.27px; height: 81.27px; z-index: 5; transform-origin: 50% 50%; }
[data-scene="receipt"] .rc-flip { position: absolute; inset: 0; }   /* the star as the brand mark (never mirrored, so it rests as the logo and turns right) */
[data-scene="receipt"] .rc-flip .ls-spark { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- 3 · the Gmail window (14813:49379), 575×393 at (116, 231) */
[data-scene="receipt"] .rc-win { position: absolute; left: 116px; top: 231px; width: 575px; height: 393px; border-radius: 35.769px;
  background: #fff; overflow: hidden; z-index: 3; box-shadow: 0 12px 40px rgba(60, 79, 109, .10); }
[data-scene="receipt"] .rc-win > * { position: absolute; }
[data-scene="receipt"] .rc-win__body { left: 19.67px; top: 19.67px; width: 1589.92px; height: 833.95px; }
[data-scene="receipt"] .rc-win__dot { top: 29.51px; width: 23.43px; height: 23.43px; }
[data-scene="receipt"] .rc-win__gmail { left: 184.21px; top: 25.04px; width: 44.71px; height: 44.71px; }
[data-scene="receipt"] .rc-win__tab { left: 240.54px; top: 20.57px; font-size: 22.355px; line-height: 52.295px; color: #404040; white-space: nowrap; }
[data-scene="receipt"] .rc-win__bar { height: 18.779px; border-radius: 4.519px; background: #e5e7eb; opacity: .6; transform-origin: 0 50%; }

/* the receipt (14814:3356), 187×199 at (301, 522): a white file with a folded corner, its khaki name tag */
[data-scene="receipt"] .rc-file { position: absolute; left: 301px; top: 522px; width: 187px; height: 199.42px; z-index: 4; transform-origin: 50% 40%; }
[data-scene="receipt"] .rc-file__doc { position: absolute; left: 15.54px; top: -9.68px; width: 188.669px; height: 226.772px; }
[data-scene="receipt"] .rc-file__tag { position: absolute; left: 0; top: 89.26px; padding: 18.024px; border-radius: 10.514px; background: #ebf195;
  font-weight: 500; font-size: 24.032px; line-height: 1; color: #000; white-space: nowrap; }

/* ---------------------------------------------------------------- 4 · the result (14813:49162): the agent line, the check, "Receipt matched" */
/* sized to sit with the homepage scenes (Figma's 98 ring and 60 px type, about ×0.5): ring 48, check 33.6, 28 px type,
   3 px line (as close's); the ring stays centred on (168, 427) */
[data-scene="receipt"] .rc-rail { position: absolute; left: 113.5px; top: -25px; width: 3px; height: 745px; border-radius: 2px; transform-origin: 50% 60.5%;
  background: linear-gradient(to top, rgba(110, 190, 254, 0) 0%, #6ebefe 56.73%, rgba(110, 190, 254, 0) 100%); }
/* the steps, as in the reconcile list: a 30 px mark on the line, the words in a white box beside it */
[data-scene="receipt"] .rc-list { position: absolute; inset: 0; z-index: 4; }
[data-scene="receipt"] .rc-st { position: absolute; inset: 0; }
[data-scene="receipt"] .rc-st img { position: absolute; left: 100px; width: 30px; height: 30px; }
[data-scene="receipt"] .rc-st__txt { position: absolute; left: 160px; font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -.26px;
  color: #072928; white-space: nowrap; background: #fff; border-radius: 14px; padding: 14px 22px;
  box-shadow: 0 10px 30px rgba(32, 49, 71, .06); transform-origin: 0 50%; }
[data-scene="receipt"] .rc-st__disc { position: absolute; left: 100px; width: 30px; height: 30px; border-radius: 50%; background: #fff; }

/* ---- the agent's task list shared by the US steps (scenes/progress.css in the kit) ---- */
/* The agent's task list shared by steps 2–5 (scenes/progress.js). Laid out in reconcile's coordinates and scaled the
   same way (0.85 about 50% 45%), so the frame is identical in every step. Classes prefixed "pg-". */
.ls-scene .pg-wrap { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.ls-scene .pg { position: absolute; left: 0; top: 0; width: 798px; height: 854px; transform: scale(.85); transform-origin: 50% 45%; }

/* the agent: tile 110 at (60, 65) with the AI star; "Agent is …" beside it */
.ls-scene .pg-tile { position: absolute; left: 60px; top: 65px; width: 110px; height: 110px; border-radius: 23px; background: #fff;
  display: flex; align-items: center; justify-content: center; z-index: 2; }
.ls-scene .pg-tile .ls-spark { width: 72px; height: 72px; }   /* the brand mark as is (never mirrored): it rests as the logo and turns right */
.ls-scene .pg-label { position: absolute; left: 196px; top: 98px; margin: 0; font-weight: 500; font-size: 36px; line-height: 1.22;
  color: #203147; white-space: nowrap; }

/* the line down from the agent (x 115), fading out at the bottom */
.ls-scene .pg-rail { position: absolute; left: 113.5px; top: 175px; width: 3px; height: 600px; border-radius: 2px; transform-origin: 50% 0;
  background: linear-gradient(#6ebefe 0%, #6ebefe 86%, rgba(110, 190, 254, 0) 100%); }

/* a task: its mark on the line (a dot while on it, a check when done; a white disc keeps the line from showing through a
   faded check) and its words in a white box beside it */
.ls-scene .pg-rows { position: absolute; inset: 0; }
.ls-scene .pg-row { position: absolute; inset: 0; }
.ls-scene .pg-disc, .ls-scene .pg-dot, .ls-scene .pg-chk { position: absolute; left: 100px; width: 30px; height: 30px; }
.ls-scene .pg-disc { border-radius: 50%; background: #fff; }
.ls-scene .pg-box { position: absolute; left: 160px; margin: 0; font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -.26px;
  color: #072928; white-space: nowrap; background: #fff; border-radius: 14px; padding: 14px 22px;
  box-shadow: 0 10px 30px rgba(32, 49, 71, .06); transform-origin: 0 50%; }
