/* Scoped to the flow. Shared tokens remain the source of truth. */
.iovo-flow { --flow-top: 0px; --flow-runway: 62svh; position: relative; color: var(--text); font-family: var(--font-body); }
.iovo-flow *, .iovo-flow *::before, .iovo-flow *::after { box-sizing: border-box; }
.iovo-flow-stage { position: relative; min-height: calc(100svh + var(--flow-runway)); }
.iovo-flow-pin { position: sticky; top: var(--flow-top); height: calc(100svh - var(--flow-top)); min-height: 500px; }
.iovo-flow-inner { position: relative; display: grid; grid-template-columns: 29% 1fr; gap: 7%; align-items: center; width: min(1280px, calc(100% - 112px)); height: 100%; margin-inline: auto; }
.iovo-flow-copy { position: relative; z-index: 1; padding-bottom: 40px; }
.iovo-flow-index { display: block; margin-bottom: 22px; color: var(--aqua); font: 500 11.5px var(--font-mono); letter-spacing: .16em; }
.iovo-flow-title { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(30px, 3.1vw, 46px); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
.iovo-flow-caption { max-width: 300px; margin: 0; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; font-weight: 300; color: var(--text-2); text-wrap: pretty; }
.iovo-flow-artboard { position: relative; width: 100%; }
.iovo-flow-conduit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.iovo-flow-conduit path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.iovo-flow-conduit-base { stroke: var(--art-lo); stroke-opacity: .7; stroke-width: 1.25; }
.iovo-flow-rail-fill { stroke: var(--art-hi); stroke-opacity: .85; stroke-width: 1.5; }
.iovo-flow-halo { stroke: var(--accent); stroke-width: 7; stroke-opacity: 0; }
.iovo-flow-head { opacity: 0; }
.iovo-flow-head-core { fill: var(--accent); }
.iovo-flow-head-glow { fill: var(--accent); fill-opacity: .18; }
/* The pipe arrives from above the first scene and leaves below the last one. */
.iovo-flow-stage:first-child .iovo-flow-conduit { -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%); mask-image: linear-gradient(180deg, transparent, #000 14%); }
.iovo-flow-stage:last-child .iovo-flow-conduit { -webkit-mask-image: linear-gradient(0deg, transparent, #000 16%); mask-image: linear-gradient(0deg, transparent, #000 16%); }
.iovo-flow-controls { position: absolute; bottom: 52px; left: 36%; right: 0; display: flex; align-items: center; gap: 20px; color: var(--text-3); font: 11px var(--font-mono); }
.iovo-flow-controls label { white-space: nowrap; }
.iovo-flow-controls input { flex: 1; min-width: 0; height: 44px; accent-color: var(--accent); cursor: ew-resize; }
.iovo-flow-controls output { width: 4ch; text-align: right; color: var(--text-2); }
.iovo-flow :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.iovo-flow[data-manual] .iovo-flow-stage { min-height: calc(100svh - var(--flow-top)); }
.iovo-flow[data-manual] .iovo-flow-pin { position: relative; }
.iovo-flow[data-manual] .iovo-flow-pin { top: 0; }
.iovo-flow-stage[hidden] { display: none; }
@media (max-width: 900px) {
  .iovo-flow-inner { width: calc(100% - 64px); grid-template-columns: 26% 1fr; gap: 8%; }
  .iovo-flow-title { font-size: clamp(26px, 3.6vw, 34px); }
  .iovo-flow-caption { font-size: 15px; }
  .iovo-flow-controls { left: 34%; }
}
/* Phones and portrait tablets: copy above, a full-width scene below. Keep in step with STACKED in flow.js. */
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) {
  .iovo-flow { --flow-runway: 55svh; }
  .iovo-flow-pin { min-height: 590px; }
  .iovo-flow-inner { width: calc(100% - 40px); display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 22px 0 56px 20px; }
  .iovo-flow-copy { align-self: stretch; padding: 0 7px; }
  .iovo-flow-index { font-size: 10.5px; margin-bottom: 14px; }
  .iovo-flow-title { font-size: 32px; margin-bottom: 10px; }
  .iovo-flow-caption { max-width: 320px; font-size: 16px; line-height: 1.55; }
  .iovo-flow-artboard { width: calc(100% + 36px); margin-left: -18px; }
  .iovo-flow-controls { left: 27px; bottom: 35px; gap: 12px; }
}
@media (min-width: 601px) and (max-width: 900px) and (orientation: portrait) {
  .iovo-flow-inner { width: calc(100% - 96px); gap: 48px; padding-left: 36px; }
  .iovo-flow-copy { padding: 0 12px; }
  .iovo-flow-index { font-size: 11.5px; margin-bottom: 18px; }
  .iovo-flow-title { font-size: 46px; margin-bottom: 14px; }
  .iovo-flow-caption { max-width: 440px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .iovo-flow-stage { min-height: 100svh; }
  .iovo-flow-pin { position: relative; }
}
/* Scene 8: the AQUIS loop, small, calm and matte (pass 9): no ring, no halo, no glow. A soft round mask crops the
   render's own light; the colour is pulled down a little so it sits on graphite. */
.iovo-flow-aquis { position: absolute; aspect-ratio: 1; opacity: 0; transform-origin: 50% 60%; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.iovo-flow-aquis video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.5) translateY(5%); mix-blend-mode: lighten;
  filter: brightness(.85) saturate(.9); }

/* ---------- The software layer (ui.js): one small IOVO card per scene (pass 9: graphite glass, amber moments, no glow) ---------- */
.iovo-ui { position: absolute; z-index: 2; width: clamp(212px, 28%, 252px); pointer-events: none; }
.iovo-ui-card { --flash: 0; position: relative; padding: 12px 14px 13px; border-radius: 16px; transform-origin: 50% 100%; will-change: transform, opacity;
  background: rgba(17, 19, 23, .86); border: 1px solid rgba(244, 241, 236, calc(.1 + .1 * var(--flash)));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -24px rgba(0, 0, 0, .9); }
.iovo-ui-art { display: block; width: 100%; height: auto; margin: 2px 0 10px; overflow: visible; fill: none; stroke: var(--art-mid); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.iovo-ui-art [data-u] { transform-box: fill-box; transform-origin: center; }
.iovo-ui-art [data-u="resin"] { transform-origin: 50% 100%; }
.iovo-ui-art .q { stroke-opacity: .45; }
.iovo-ui-art .b { stroke-opacity: .9; }
.iovo-ui-art .c { stroke: color-mix(in srgb, var(--accent) calc(var(--amber, 0) * 100%), var(--art-hi)); stroke-opacity: 1; }
.iovo-ui-art .a { stroke: var(--accent); }
.iovo-ui-art .g { stroke: var(--live); }
.iovo-ui-art .k { stroke: var(--ink-0); stroke-width: 1.7; }
.iovo-ui-art .cf { fill: var(--art-hi); stroke: none; }
.iovo-ui-art .cf2 { fill: rgba(244, 241, 236, .06); }
.iovo-ui-art .af { fill: var(--accent); fill-opacity: .9; stroke: none; }
.iovo-ui-art .gf { fill: var(--live); fill-opacity: .9; stroke: none; }
.iovo-ui-art .qf { fill: var(--art-mid); fill-opacity: .4; stroke: none; }
.iovo-ui-art .df { fill: #1B1E24; stroke: none; }
.iovo-ui-art .lbl { fill: var(--text-3); stroke: none; font: 500 7.5px var(--font-mono, monospace); letter-spacing: .12em; }
.iovo-ui-art .lbl.s { font-size: 6px; letter-spacing: .06em; }
.iovo-ui-art .num { fill: var(--text); stroke: none; font: 400 25px var(--font-display, system-ui); letter-spacing: -.04em; }
.iovo-ui-art .cf3 { fill: rgba(255, 154, 39, .14); }
.iovo-ui-tag { display: flex; align-items: center; margin: 0 0 5px; color: var(--accent); font: 500 10px/1.3 var(--font-mono, monospace); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.iovo-ui-tag i { width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.iovo-ui-tag span:first-of-type { white-space: pre; }
.iovo-ui-line { margin: 0; color: var(--text); font-size: 15px; line-height: 1.4; font-weight: 400; letter-spacing: -.005em; text-wrap: balance; }

/* Rich cards (3 · water test, 5 · financing): real mini-UIs */
.iovo-ui-rich .iovo-ui-card { padding: 16px 18px 18px; border-radius: 20px; background: rgba(15, 17, 21, .94); }
.iovo-ui-rich .iovo-ui-line { font-size: 16px; }
.iovo-ui-rx { margin-top: 14px; }
.rx-tabs { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(244, 241, 236, .05); font-size: 12px; }
.rx-tabs span { padding: 5px 12px; white-space: nowrap; border-radius: 99px; color: var(--text-3); transition: color .3s, background-color .3s; }
.rx-tabs span.on { color: var(--accent-ink); background: var(--accent); }
.rx-pages { display: grid; margin-top: 14px; overflow: hidden; }
.rx-page { grid-area: 1 / 1; min-width: 0; }
.rx-test { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rx-test li { display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rx-test li:first-child { padding-top: 2px; }
.rx-test em { font-style: normal; color: var(--text-2); font-size: 13px; }
.rx-test b { width: 22px; height: 22px; border-radius: 50%; background: center / 12px no-repeat; }
.rx-test b.no { background-color: rgba(255, 92, 108, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3.5 3.5 5 5m0-5-5 5' fill='none' stroke='%23FF7A86' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.rx-test b.ok { background-color: rgba(95, 212, 154, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%235FD49A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.rx-note { margin: 10px 0 0; color: var(--text-3); font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.rx-src { margin: 0 0 6px; color: var(--text-3); font: 500 9.5px/1.45 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.rx-ewg { list-style: none; margin: 0; padding: 0; }
.rx-ewg li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rx-ewg li:last-child { border-bottom: 0; padding-bottom: 0; }
.rx-l { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.rx-l b { font-weight: 500; font-size: 15px; }
.rx-l small { color: var(--text-3); font-size: 11.5px; line-height: 1.35; }
.rx-fx { margin-top: 5px; padding: 2px 8px; border-radius: 99px; border: 1px solid rgba(255, 154, 39, .35); color: var(--accent); font: 500 9.5px/1.5 var(--font-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.rx-r { display: grid; justify-items: end; text-align: right; min-width: max-content; }
.rx-key { display: none; }
.rx-r strong { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.rx-r small { max-width: 9.5em; margin-top: 4px; color: var(--text-3); font-size: 10.5px; line-height: 1.3; }
.rx-l .rx-epa { margin-top: 1px; color: var(--text-2); }
.rx-l .rx-epa::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--text-3); }
[data-u="t1"], [data-u="t2"] { transform: none !important; }

/* 4 · Proposal: system card, what it removes, an example monthly, the signature */
.ex { padding: 1px 6px; border-radius: 4px; background: rgba(244, 241, 236, .07); color: var(--text-3); font: 500 9px/1.5 var(--font-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.pp-sys { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pp-sys img { width: 30px; height: 64px; object-fit: contain; }
.pp-sys p { display: grid; gap: 1px; margin: 0; min-width: 0; }
.pp-sys b { font-weight: 500; font-size: 15px; }
.pp-sys small { color: var(--text-3); font-size: 12px; line-height: 1.35; }
.pp-sys .ex { justify-self: start; margin-top: 5px; }
.pp-k { margin: 12px 0 7px; color: var(--text-3); font: 500 9.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-chips > span { padding: 4px 10px; border-radius: 99px; background: rgba(244, 241, 236, .06); font-size: 12px; line-height: 1.4; }
.pp-chips > .ewg { display: grid; padding: 5px 11px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.pp-chips > .ewg small { color: var(--text-2); font-size: 10.5px; }
.pp-pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-pay p { margin: 0; white-space: nowrap; color: var(--text-2); font-size: 13px; }
.pp-pay strong { margin-right: 2px; color: var(--accent); font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.035em; }
.pp-sign { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 10px; }
.pp-sign svg { width: 100%; height: 34px; border-bottom: 1px dashed rgba(244, 241, 236, .22); fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.pp-sign p { display: grid; justify-items: end; gap: 2px; margin: 0; }
.pp-sign small { color: var(--text-3); font: 500 10px var(--font-mono); letter-spacing: .04em; white-space: nowrap; }
.pp-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--live); font-weight: 500; font-size: 13.5px; }
.pp-ok i { width: 16px; height: 16px; border-radius: 50%; background: rgba(95, 212, 154, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%235FD49A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }

.fx-lender { display: grid; grid-template-columns: 40px minmax(0, 1fr) 26px; align-items: center; gap: 12px; }
.fx-logo { display: grid; place-items: center; height: 40px; border-radius: 10px; border: 1px dashed rgba(244, 241, 236, .22); color: var(--text-3); font: 500 8px var(--font-mono); letter-spacing: .1em; }
.fx-lender p { display: grid; margin: 0; }
.fx-lender small { color: var(--text-3); font-size: 12px; }
.fx-state { display: grid; font-weight: 500; font-size: 16px; }
.fx-state span { grid-area: 1 / 1; }
.fx-state [data-u="ok"] { color: var(--live); }
.fx-ring { width: 26px; height: 26px; overflow: visible; fill: none; stroke-width: 2; }
.fx-ring .q { stroke: rgba(244, 241, 236, .12); }
.fx-ring .c { stroke: var(--text); stroke-linecap: round; }
.fx-ring .gf { fill: var(--live); stroke: none; }
.fx-ring .k { stroke: #062014; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-ring [data-u] { transform-box: fill-box; transform-origin: center; }
.fx-amt { margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fx-amt p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; margin: 0; font-size: 15px; color: var(--text-2); }
.fx-amt strong { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.035em; color: var(--text); }
.fx-amt em { margin-left: 8px; align-self: center; padding: 1px 6px; border-radius: 4px; background: rgba(244, 241, 236, .07); color: var(--text-3); font: 500 9px/1.5 var(--font-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.fx-amt small { display: block; margin-top: 2px; color: var(--text-3); font-size: 12.5px; }
.fx-amt small b { color: var(--accent); font-weight: 500; font-size: 14px; }
.fx-rcpt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 12px; }
.fx-rcpt i { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(95, 212, 154, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%235FD49A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fx-rcpt p { display: grid; margin: 0; }
.fx-rcpt b { font-weight: 500; font-size: 14.5px; }
.fx-rcpt small { color: var(--text-3); font-size: 12px; line-height: 1.4; }

/* Where each card sits on wide layouts: an empty corner of its shot, clear of the subject and above the floor line */
.iovo-flow-stage[data-scene="1"] .iovo-ui { left: 0; top: 2%; }
.iovo-flow-stage[data-scene="2"] .iovo-ui { left: 0; top: 2%; }
.iovo-flow-stage[data-scene="3"] .iovo-ui { left: auto; right: 0; top: 2%; width: min(430px, 55%); }
.iovo-flow-stage[data-scene="4"] .iovo-ui { left: 0; top: -9%; width: clamp(262px, 31%, 300px); }
.iovo-flow-stage[data-scene="5"] .iovo-ui { left: 0; top: -4%; width: clamp(240px, 31%, 286px); }
.iovo-flow-stage[data-scene="6"] .iovo-ui { left: 2%; top: 0; }
.iovo-flow-stage[data-scene="7"] .iovo-ui { right: 0; top: 60%; }
.iovo-flow-stage[data-scene="8"] .iovo-ui { right: 0; top: 24%; }
/* Narrower wide layouts (iPad landscape, small laptops): a smaller card, so it keeps clear of the subject */
@media (max-width: 1280px) {
  .iovo-ui { width: clamp(172px, 24.5%, 232px); }
  .iovo-ui-card { padding: 10px 12px 11px; border-radius: 14px; }
  .iovo-ui-art { margin-bottom: 8px; }
  .iovo-ui-tag { font-size: 9px; letter-spacing: .08em; }
  .iovo-ui-line { font-size: 13.5px; }
  .iovo-ui-rich .iovo-ui-card { padding: 13px 14px 14px; border-radius: 16px; }
  .iovo-ui-rich .iovo-ui-line { font-size: 14px; }
  .iovo-ui-rx { margin-top: 10px; }
  .rx-test li { padding: 7px 0; font-size: 13.5px; }
  .rx-ewg li { padding: 8px 0; }
  .rx-r strong { font-size: 28px; }
  .rx-l b { font-size: 13.5px; }
  .iovo-flow-stage[data-scene="3"] .iovo-ui { width: min(380px, 56%); }
  .iovo-flow-stage[data-scene="5"] .iovo-ui { width: clamp(220px, 32%, 260px); }
  .iovo-flow-stage[data-scene="4"] .iovo-ui { width: clamp(236px, 30%, 270px); }
  .pp-sys { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding-bottom: 9px; }
  .pp-sys img { width: 24px; height: 50px; }
  .pp-sys b { font-size: 13.5px; }
  .pp-sys small { font-size: 11px; }
  .pp-k { margin: 9px 0 6px; }
  .pp-chips > span { font-size: 11px; padding: 3px 8px; }
  .pp-pay { margin-top: 9px; padding: 7px 0; }
  .pp-pay strong { font-size: 19px; }
  .fx-amt strong { font-size: 22px; }
}
/* Phones and portrait tablets: the card becomes a chip under the scene, below the pipe's return (keep in step with STACKED) */
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) {
  .iovo-flow-stage[data-scene] .iovo-ui { position: relative; inset: auto; width: auto; margin: 40px 18px 0 22px; }
  .iovo-ui-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 14px; padding: 11px 14px 11px 12px; border-radius: 14px; }
  .iovo-ui-art { margin: 0; }
  .iovo-ui-art .lbl { display: none; }
  .iovo-ui-tag { font-size: 9.5px; margin-bottom: 4px; }
  .iovo-ui-line { font-size: 14px; line-height: 1.35; }
  /* The rich cards stack as one card: header, then the mini-UI */
  .iovo-ui-rich .iovo-ui-card { display: block; padding: 14px 16px 16px; }
  .iovo-ui-rich .iovo-ui-line { font-size: 14.5px; }
  /* the rich cards run wider than their (narrowed) artboard */
  .iovo-flow-stage[data-scene] .iovo-ui-rich { margin: 18px -12% 0; }
  .iovo-flow-stage[data-scene="3"] .iovo-flow-artboard, .iovo-flow-stage[data-scene="4"] .iovo-flow-artboard, .iovo-flow-stage[data-scene="5"] .iovo-flow-artboard { width: 78%; margin-left: 11%; }
}
@media (max-width: 600px) {
  /* one key line instead of a caption under every multiplier */
  .rx-key { display: block; margin: 0 0 4px; color: var(--text-2); font-size: 11px; }
  .rx-r small { display: none; }
  /* phones: the rich card spans the screen (16 px gutters) although its artboard is narrowed and set off-centre */
  .iovo-flow-stage[data-scene] .iovo-ui-rich { margin: 18px -22px 0 calc(-14.1% - 42px); }
  /* each EWG row: name and multiplier on one line, the details under both */
  .rx-ewg li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 1px; align-items: baseline; }
  .rx-l { display: contents; }
  .rx-l b { grid-column: 1; grid-row: 1; }
  .rx-r { grid-column: 2; grid-row: 1; }
  .rx-l small, .rx-l .rx-fx { grid-column: 1 / -1; justify-self: start; }
  .rx-r strong { font-size: 24px; }
  .rx-tabs span { padding: 5px 10px; }
  .rx-test li { padding: 6px 0; font-size: 14px; }
  .rx-ewg li { padding: 7px 0; }
  .rx-r strong { font-size: 27px; }
  .rx-r small { font-size: 10px; }
  .rx-l small { font-size: 11px; }
  .rx-fx { margin-top: 3px; }
  .fx-amt { margin-top: 12px; padding: 10px 0; }
}
@media (min-width: 601px) and (max-width: 900px) and (orientation: portrait) {
  .iovo-flow-stage[data-scene] .iovo-ui { margin: 48px 36px 0; }
  .iovo-ui-card { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 16px 22px 16px 18px; }
  .iovo-ui-tag { font-size: 11px; }
  .iovo-ui-line { font-size: 18px; }
  .iovo-ui-rich .iovo-ui-card { padding: 20px 24px 22px; }
  .iovo-ui-rich .iovo-ui-line { font-size: 18px; }
  .iovo-flow-stage[data-scene="3"] .iovo-flow-artboard, .iovo-flow-stage[data-scene="4"] .iovo-flow-artboard, .iovo-flow-stage[data-scene="5"] .iovo-flow-artboard { width: 62%; margin-left: 19%; }
}
