/* Scene "review" · Expense review (US hero, Figma Homepage section 14824:52225). All positions in the 798×854 artboard.
   Scoped under [data-scene="review"], classes prefixed "rv-". */

/* ---------------------------------------------------------------- 1 · the agent at work on the card: a light blue band on
   the line being checked and the AI star on it, where the check lands (in the card group, so artboard coordinates) */
[data-scene="review"] .rv-hl { position: absolute; left: 153px; width: 492px; border-radius: 26px; background: #eef4ff; }
[data-scene="review"] .rv-bot { position: absolute; width: 44px; height: 44px; z-index: 2; }
[data-scene="review"] .rv-bot .ls-spark { width: 100%; height: 100%; }   /* the brand mark as is (never mirrored) */

/* ---------------------------------------------------------------- the stage that runs past the artboard's sides (the zoomed
   flag): soft edges at the left and right, as close's prompt (7%), so nothing is cut hard */
[data-scene="review"] .rv-clip { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }

/* ---------------------------------------------------------------- 2 · the review card (14813:51230), 516×432 at (141, 211).
   Its group zooms in (×2.733 about 489.3, 685.9) so the flag bar lands at (-387, 327) as in 14813:51388 */
[data-scene="review"] .rv-cardgrp { position: absolute; inset: 0; transform-origin: 489.3px 685.9px; }
[data-scene="review"] .rv-card__bg { position: absolute; left: 141px; top: 211px; width: 516.024px; height: 432px; border-radius: 41.731px; background: #fff;
  box-shadow: 0 12px 40px rgba(60, 79, 109, .10); }
[data-scene="review"] .rv-card { position: absolute; left: 141px; top: 211px; width: 516.024px; padding: 27.673px 27.673px 14px;
  display: flex; flex-direction: column; gap: 17.885px; }
[data-scene="review"] .rv-rows { display: flex; flex-direction: column; gap: 47.693px; }
[data-scene="review"] .rv-row { display: flex; flex-direction: column; gap: 7.452px; padding-bottom: 11.069px; border-bottom: 1.49px solid #dfdcd8; }
[data-scene="review"] .rv-row__top { display: flex; align-items: center; justify-content: space-between; }
[data-scene="review"] .rv-lab { font-size: 23.846px; line-height: 1.1; letter-spacing: -0.2385px; color: #5c5957; white-space: nowrap; }
[data-scene="review"] .rv-ok { width: 41.332px; height: 41.332px; flex: none; }
[data-scene="review"] .rv-val { font-weight: 500; font-size: 23.846px; line-height: 1.2; color: #041818; white-space: nowrap; }
/* the cost centre: a field like the others (no line under it); its "Mismatch" note sits where the others have their
   check; the flag bar under it */
[data-scene="review"] .rv-miss { display: flex; flex-direction: column; gap: 16px; padding-top: 23.846px; }
[data-scene="review"] .rv-row--miss { padding-bottom: 0; border-bottom: 0; }
[data-scene="review"] .rv-row--miss .rv-row__top { min-height: 41.332px; }
[data-scene="review"] .rv-note { flex: none; padding: 7px 14px; border-radius: 999px; background: #f1f5b7; color: #565927;
  font-weight: 500; font-size: 19px; line-height: 1.1; letter-spacing: -0.19px; white-space: nowrap; }
[data-scene="review"] .rv-flag { display: flex; align-items: center; gap: 9.751px; padding: 16.756px 14.626px; width: 460.678px;
  background: #f1f5b7; border-radius: 11.923px; overflow: hidden; transform-origin: 0 50%; }
[data-scene="review"] .rv-flag img { width: 27.228px; height: 27.228px; flex: none; transform-origin: 20% 90%; }
[data-scene="review"] .rv-flag p { font-weight: 500; font-size: 23.846px; line-height: 1.1; letter-spacing: -0.2385px; color: #565927; white-space: nowrap; }

/* ---------------------------------------------------------------- 3 · the reviewer and what they say, laid out like the setup
   prompt: photo (104) + bubble (42 px type), centred across on y 427 (the script centres it). It starts as the photo
   alone, 166 at (555, 327) behind the zoomed flag (14813:51196), and zooms out into place as the bubble is written. */
[data-scene="review"] .rv-prompt { position: absolute; left: 40px; top: 375px; display: flex; align-items: center; gap: 22px; transform-origin: 0 0; }
[data-scene="review"] .rv-pic { position: relative; flex: none; width: 104px; height: 104px; border-radius: 18.9px; overflow: hidden; }
[data-scene="review"] .rv-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* (payhawk.com) avatar.webp is pre-cropped to this tile */
[data-scene="review"] .rv-bub { flex: none; background: #fff; border: 1.39px solid #adcffe; border-radius: 18.9px; padding: 29.2px; }
[data-scene="review"] .rv-bub p { font-size: 42px; line-height: 1.21; color: #203147; white-space: nowrap; }

/* ---------------------------------------------------------------- 4 · the result (14813:51417): the agent line, the check, the words */
/* 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); one line, centred in the box on y 427 like "Receipt matched", the ring on x 149 */
[data-scene="review"] .rv-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 check on the line, the words in a white box beside it */
[data-scene="review"] .rv-st { position: absolute; inset: 0; z-index: 4; }
[data-scene="review"] .rv-st__chk { position: absolute; left: 100px; width: 30px; height: 30px; }
[data-scene="review"] .rv-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="review"] .rv-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%; }
