/* A project's review (review.js, player.js): a dark, quiet stage for the picture, a light column for the words and the
   two decisions. Orange only where a person acts: the Approve button, a note's marker. Motion is short and soft, and
   prefers-reduced-motion turns it to plain fades. */

.app { position: relative; }
/* on a phone the rail sits under the app; without this the app keeps its full height and pushes its top off screen */
@media (max-width: 760px) { .app { min-height: 0; } }
.rv { --stage: #121214; --stage-2: #1d1d20; --on-stage: #f4f3ef; --on-stage-2: rgba(244,243,239,.62); --on-stage-3: rgba(244,243,239,.38);
  position: absolute; inset: 0; z-index: 30; background: var(--page); display: grid; grid-template-rows: auto minmax(0, 1fr); outline: none; }

/* the top line: back, the title and its state, the agent, the quiet menu */
.rv-top { display: flex; align-items: center; gap: 14px; padding: 14px 20px 12px 14px; min-width: 0; }
.rv-back { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 9px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font-weight: 500; transition: background .15s, color .15s; }
.rv-back:hover { background: rgba(20,20,22,.06); color: var(--ink); }
.rv-back svg { transition: transform .2s var(--ease); }
.rv-back:hover svg { transform: translateX(-2px); }
.rv-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.rv-title h1 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--col); color: var(--ink-2); }
.rv-pill.you { background: var(--accent-soft); color: var(--accent-ink); }
.rv-pill.ok { background: var(--ok-soft); color: var(--ok); }
.rv-pill.bad { background: var(--bad-soft); color: var(--bad); }
.rv-pill.work .pulse { margin: 0; width: 7px; height: 7px; }
.rv-pill.demo { background: none; border: 1px dashed var(--line); color: var(--ink-3); }
.rv-agent { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.rv-icon { flex: none; width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--ink-3); display: grid; place-items: center; }
.rv-icon:hover, .rv-icon[aria-expanded="true"] { background: rgba(20,20,22,.06); color: var(--ink); }

/* the body: the stage, and the column beside it */
.rv-main { display: grid; grid-template-columns: minmax(0, 1fr) 388px; gap: 16px; padding: 0 16px 16px; min-height: 0; }

/* the stage */
.rv-stage { position: relative; background: var(--stage); border-radius: 16px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; color: var(--on-stage);
  box-shadow: 0 1px 2px rgba(20,20,22,.12), 0 30px 60px -30px rgba(20,20,22,.5); }
.rv-stage.is-full { border-radius: 0; }
.rv-player { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rv-files { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 4px 18px 14px; min-height: 30px; }
.rv-fname { min-width: 0; display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--on-stage-2); }
.rv-fname b { font-weight: 500; color: var(--on-stage); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-fname small { flex: none; color: var(--on-stage-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.rv-strip { display: flex; gap: 8px; justify-content: center; }
.rv-thumb { position: relative; width: 40px; height: 56px; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: var(--stage-2); opacity: .55;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08); transition: opacity .2s, transform .25s var(--ease), box-shadow .2s; }
.rv-thumb:hover { opacity: .85; transform: translateY(-2px); }
.rv-thumb[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--on-stage); }
.rv-thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.rv-thumb span { position: absolute; left: 4px; bottom: 3px; font-size: 10.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.rv-thumb b { position: absolute; top: 3px; right: 3px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.rv-keys { grid-column: 3; justify-self: end; font-size: 11.5px; color: var(--on-stage-3); white-space: nowrap; }
.rv-keys kbd, .rv-none kbd { font: 500 10.5px/1 var(--sans); padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.08); color: var(--on-stage-2); margin: 0 1px; }
.rv-none kbd { background: var(--col); color: var(--ink-2); }

/* a stage with nothing to play and nothing happening (a missing brief, a stop) goes light and quiet */
.rv-stage.bare { background: var(--col); color: var(--ink); box-shadow: none; }
.rv-stage.bare .rv-empty p { color: var(--ink); }
.rv-stage.bare .rv-empty small { color: var(--ink-3); }
.rv-stage.bare .rv-glyph { background: var(--card); color: var(--ink-2); box-shadow: var(--shadow); }
.rv-tag { position: absolute; left: 18px; top: 16px; z-index: 1; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--on-stage-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* the stage when there's nothing to play: a working agent, a missing brief */
.rv-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.rv-empty p { margin: 6px 0 0; font-size: 16px; font-weight: 500; max-width: 460px; color: var(--on-stage); line-height: 1.4; }
.rv-empty small { font-size: 13px; color: var(--on-stage-2); max-width: 420px; }
.rv-glyph { width: 64px; height: 64px; border-radius: 20px; background: var(--stage-2); display: grid; place-items: center; color: var(--on-stage-2); }
.rv-busy { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.rv-busy::before, .rv-busy::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); animation: rv-ring 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.rv-busy::after { animation-delay: 1.2s; }
@keyframes rv-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.rv-spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--on-stage-2); animation: rv-spin .8s linear infinite; }
@keyframes rv-spin { to { transform: rotate(1turn); } }

/* the player */
.pl-frame { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 22px 22px 10px; transition: opacity .22s; }
.pl-frame.swap { opacity: 0; }
.pl-frame video { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; background: #000; display: block; cursor: crosshair;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 50px -20px rgba(0,0,0,.8); }
.rv[data-state="needs_you"] .pl-frame video { cursor: copy; }
.rv:not([data-state="needs_you"]) .pl-frame video { cursor: pointer; }
.pl-big { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 0; border-radius: 50%; background: rgba(20,20,22,.55); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: scale(.9); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.pl-big svg { margin-left: 4px; }
.pl:not(.playing):not(.scrubbing) .pl-big { opacity: 1; transform: none; pointer-events: auto; }
.pl-wait { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.pl-wait i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); border-top-color: #fff; animation: rv-spin .8s linear infinite; }
.pl-err { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--on-stage-2); }
.pl-err p { margin: 0; color: var(--on-stage); }
.pl-err a { text-decoration: underline; text-underline-offset: 3px; }
.pl-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 14px 4px; }
.pl-btn { flex: none; height: 32px; min-width: 32px; padding: 0 6px; border: 0; border-radius: 8px; background: none; color: var(--on-stage-2); display: grid; place-items: center; font: 500 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; transition: background .15s, color .15s; }
.pl-btn:hover, .pl-btn[aria-expanded="true"] { background: rgba(255,255,255,.08); color: var(--on-stage); }
.pl-play { color: var(--on-stage); }
.pl-time { flex: none; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--on-stage-3); margin: 0 8px 0 2px; min-width: 92px; }
.pl-time b { color: var(--on-stage); font-weight: 500; }
.pl-scrub { position: relative; flex: 1; height: 32px; cursor: pointer; touch-action: none; outline: none; }
.pl-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; transition: height .15s, margin .15s; }
.pl-scrub:hover .pl-track, .pl.scrubbing .pl-track, .pl-scrub:focus-visible .pl-track { height: 6px; margin-top: -3px; }
.pl-buf, .pl-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); }
.pl-buf { background: rgba(255,255,255,.14); }
.pl-fill { background: var(--on-stage); }
.pl-head { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5); transform: scale(0); transition: transform .15s var(--ease); pointer-events: none; }
.pl-scrub:hover .pl-head, .pl.scrubbing .pl-head, .pl-scrub:focus-visible .pl-head, .pl:not(.playing) .pl-head { transform: none; }
.pl-marks { position: absolute; inset: 0; pointer-events: none; }
.pl-mark { position: absolute; top: 2px; width: 14px; height: 14px; margin-left: -7px; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; animation: rv-pop .3s var(--ease); }
.pl-mark::after { content: ""; position: absolute; left: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--stage); transition: transform .15s var(--ease); }
.pl-mark:hover::after, .pl-mark.on::after { transform: scale(1.35); }
@keyframes rv-pop { from { transform: scale(0); } 60% { transform: scale(1.3); } }
.pl-tip { position: absolute; bottom: 30px; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; white-space: pre; max-width: 280px; overflow: hidden; text-overflow: ellipsis; pointer-events: none; box-shadow: 0 6px 20px -6px rgba(0,0,0,.5); }
.rv-stage.is-full .pl-frame { padding: 32px 32px 12px; }

/* the column: the stop, what the agent says, the notes, and the decisions at its foot */
.rv-side { display: flex; flex-direction: column; min-height: 0; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.rv-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 18px; }
.rv-scroll > h2 { margin: -12px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.018em; line-height: 1.25; }
.rv-step { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rv-dots { display: flex; gap: 4px; }
.rv-dots i { width: 16px; height: 4px; border-radius: 2px; background: var(--line); }
.rv-dots i.on { background: var(--ink); }
.rv-dots i.now { background: var(--accent); }
.rv-h { display: flex; align-items: baseline; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 8px; }
.rv-h small { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rv-sum { position: relative; }
.rv-sum .summary { font-size: 13.5px; overflow-wrap: anywhere; }
.rv-sum.clamp:not(.open) .summary { max-height: 168px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.rv-toggle { border: 0; background: none; padding: 2px 0; font-size: 12.5px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.rv-toggle:hover { text-decoration-color: var(--ink-3); }
.rv-quiet { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.rv-quiet b { font-weight: 550; color: var(--ink); }
.rv-live { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); line-height: 1.45; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); }
.rv-live .pulse { margin-top: 6px; }
.rv-missing ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rv-missing li { display: flex; gap: 9px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; font-size: 13.5px; }
.rv-missing p { margin: 0; }
.rv-log { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-2); }
.rv-log li { display: flex; gap: 10px; }
.rv-log time { flex: none; width: 66px; white-space: nowrap; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rv-log span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-flist { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; }
.rv-frow { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px; text-align: left; color: var(--ink); }
.rv-frow:hover, .rv-frow.on { background: var(--col); }
.rv-frow > svg, .rv-frow > img { flex: none; color: var(--ink-3); }
.rv-frow span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-frow small { flex: none; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }

/* notes */
.rv-list { margin: 0 -8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rv-note { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 8px 32px 8px 8px; border-radius: 9px; cursor: pointer; outline: none; transition: background .15s, opacity .15s; }
.rv-note:hover, .rv-note:focus-visible, .rv-note.on { background: var(--col); }
.rv-note.other { opacity: .6; }
.rv-note.fresh { animation: rv-in .32s var(--ease); }
@keyframes rv-in { from { opacity: 0; transform: translateY(-6px); } }
.rv-note p { margin: 0; flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-tc { flex: none; display: inline-flex; align-items: center; gap: 5px; margin-top: 1px; padding: 2px 7px; border-radius: 6px; background: var(--ink); color: #fff; font: 500 11.5px/1.35 var(--sans); font-variant-numeric: tabular-nums; }
.rv-tc em { font-style: normal; opacity: .6; }
.rv-x { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--ink-3); display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.rv-note:hover .rv-x, .rv-note:focus-within .rv-x { opacity: 1; }
.rv-x:hover { background: rgba(20,20,22,.07); color: var(--ink); }
.rv-none { padding: 2px 8px 4px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.rv-compose { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 6px 6px 6px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: border-color .15s, box-shadow .2s; }
.rv-compose:focus-within { border-color: transparent; box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px rgba(240,97,46,.12); }
.rv-compose.flash { animation: rv-flash .5s var(--ease); }
@keyframes rv-flash { 40% { transform: scale(1.015); } }
.rv-at { flex: none; margin-top: 3px; padding: 3px 7px; border: 0; border-radius: 6px; background: var(--col); color: var(--ink-2); font: 500 11.5px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.rv-compose:focus-within .rv-at { background: var(--accent-soft); color: var(--accent-ink); }
.rv-compose textarea, .rv-general textarea { flex: 1; min-width: 0; border: 0; outline: none; resize: none; background: none; padding: 4px 0; font-size: 13.5px; line-height: 1.45; }
.rv-add { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: var(--col); color: var(--ink-2); display: grid; place-items: center; }
.rv-add:hover { background: var(--ink); color: #fff; }
.rv-general { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.rv-general > span { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.rv-general textarea { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; transition: border-color .15s, box-shadow .2s; }
.rv-general textarea:focus { border-color: transparent; box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px rgba(240,97,46,.12); }
.shake { animation: rv-shake .4s cubic-bezier(.36,.07,.19,.97); }
@keyframes rv-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* about: the facts, folded away */
.rv-about { border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.rv-about summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.rv-about summary::-webkit-details-marker { display: none; }
.rv-about summary svg { transform: rotate(-90deg); transition: transform .2s var(--ease); }
.rv-about[open] summary svg { transform: none; }
.rv-about summary:hover { color: var(--ink); }
.rv-about .facts { margin-top: 12px; font-size: 13px; }
.rv-brief { margin-top: 14px; }
.rv-brief .brief-text { margin-top: 0; max-height: 200px; }

/* the decisions */
.rv-decide { flex: none; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.rv-hint { margin: 0 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; min-height: 1.4em; }
.rv-btns { display: flex; gap: 8px; }
.rv-btns button { flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; font-weight: 550; font-size: 14.5px; letter-spacing: -0.005em;
  transition: transform .18s var(--ease), background .15s, box-shadow .2s, border-color .15s, color .15s; }
.rv-btns button:active { transform: scale(.97); }
.rv-edits { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.rv-edits:hover { border-color: var(--ink-3); }
.rv-edits.ready { border-color: var(--ink); }
.rv-edits.sent { background: var(--ink); color: #fff; border-color: var(--ink); }
.rv-approve { border: 0; background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(184,67,26,.35), 0 10px 22px -10px rgba(240,97,46,.7); }
.rv-approve:hover { background: #e4551f; }
.rv.deciding .rv-btns button { pointer-events: none; }

/* approve: the page settles, a check draws itself */
.rv.deciding .rv-main { transition: opacity .35s, filter .35s; }
.rv.deciding:has(.rv-moment) .rv-main { opacity: .35; filter: saturate(.6); }
.rv-moment { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 40px 26px; border-radius: 22px;
  background: var(--card); box-shadow: var(--shadow-pop); animation: rv-settle .45s var(--ease) both; z-index: 2; }
.rv-moment b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; }
.rv-moment span { font-size: 13.5px; color: var(--ink-3); }
@keyframes rv-settle { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } }
.rv-check svg { width: 64px; height: 64px; display: block; }
.rv-check circle { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: rv-draw .55s .1s cubic-bezier(.65,0,.35,1) forwards; }
.rv-check path { fill: none; stroke: var(--ok); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: rv-draw .35s .5s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes rv-draw { to { stroke-dashoffset: 0; } }

/* a phone, or a narrow window: the stage on top, the words under it, the decisions held at the bottom */
@media (max-width: 900px) {
  .rv { grid-template-rows: auto minmax(0, 1fr); }
  .rv-top { padding: 10px 12px 8px 6px; gap: 8px; }
  .rv-back span, .rv-agent span, .rv-keys { display: none; }
  .rv-back { padding: 0 8px; }
  .rv-title { flex-wrap: wrap; row-gap: 2px; }
  .rv-title h1 { font-size: 15.5px; flex-basis: 100%; }
  .rv-agent { padding: 4px; }
  .rv-main { display: block; overflow-y: auto; padding: 0 12px; }
  .rv-stage { height: min(64vh, 620px); border-radius: 14px; }
  .pl-frame { padding: 14px 14px 6px; }
  .pl-bar { padding: 4px 8px 2px; gap: 2px; }
  .pl-time { min-width: 0; margin: 0 6px 0 0; font-size: 12px; }
  .pl-time span { display: none; }
  .rv-files { grid-template-columns: 1fr auto; padding: 2px 14px 12px; }
  .rv-side { margin-top: 12px; overflow: visible; border-radius: 14px 14px 0 0; min-height: calc(100% - min(64vh, 620px) - 12px); }
  .rv-scroll { overflow: visible; padding: 18px 16px 16px; }
  .rv-decide { position: sticky; bottom: 0; padding: 10px 12px 12px; box-shadow: 0 -10px 24px -16px rgba(20,20,22,.25); }
  .rv-x { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rv *, .rv *::before, .rv *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv-check circle, .rv-check path { stroke-dashoffset: 0; }
}
