/* ===========================================================================
   The film of /automatizar-facturas («Simplifica tus facturas»). Drawing: generador/peliculas/detalle-facturas.html.
   The shared clock of the detail films (vibilog-detalle.css): 20 s, 1 % = 200 ms; chapters 2.5–24 · 24–46 ·
   46–68 · 68–90; every element's BASE style is the result held at 90 % (wide shot, the invoice approved, sent
   and filed), and the 90 % keyframes match it. Invented data, marked under the film.
     0–22    close on the order and the invoice · 3.5 «A mano · 6 min» · the hand copies a row from the order
             into the invoice (5→8.6, 11.4→14.6, 17.6) and it is typed in amber (8.8, 14.4, 18.6) · 22.5 cleared
    24→26    medium · 27 a pill leaves the order into the piece · 29 click · 30–34 the rows, base, IVA and
             total fill themselves · 35 «Preparada sola» · 37 «Pendiente de revisar» and «Aprobar»
    46→49    close on the invoice's foot · 51 the hand · 55 on «Aprobar» · 56.2 press · 58 «✓ Aprobada»,
             59.4 «Revisada por Marta»
    68→71    the right column · 72 a pill to the mail, 75 the mail, 76.4 its PDF, 77.8 «✓ Enviada» ·
             78.4 a pill to the folder, 81 the invoice in it and «24» becomes «25» · 83→88 wide
   Shots (X, Y, S): A and B 38,30.5,1.32 (order and invoice whole, 2 cqw of air) · C 52,46.7,1.75 · D 64,30.5,1.38 · wide 50,30.5,1 (the base).
   The piece is not there while it is done by hand: it comes in at 24–26, leaves the close-up of the foot (46–48.5)
   and is back for the sending (68–70). The folder comes in with its chapter (68.5–70.5), like the mail. The order,
   cut by the close-ups of chapters 3 and 4, is hidden (46–48.5 → 86–88): at .35 its cut words still read (Fable).
   Phone (≤ 600 px; Fable, 23-11: the protagonist 2 cqw from every edge): A and B as on a desktop · C 52,47,1.9 · D 64.2,30.5,1.36 · the base 62.25,30.5,1.36 (invoice, mail and folder; the order hidden).
   The piece's click never changes (vibilog-pieza.css): T = 29 %, halves from 28.19, overshoot at 29, settled
   at 29.32; the edge flashes 28.91 → 29.18 and is back at 31.03.
   =========================================================================== */
.film-detalle-facturas{--film-bg:#e6ebf2;--film-dot:#c9d2e0}
.film-detalle-facturas .lf-lab{font-size:1.5cqw}
/* the composition (5–56 cqw high) sits in the middle of the 4:3 stage: the wide shot looks at 50,30.5 */
.film-detalle-facturas .rw{transform:translate(50cqw,37.5cqw) scale(1) translate(-50cqw,-30.5cqw)}
.dfa-t{font-size:2.6cqw;font-weight:750;letter-spacing:-.02em;color:#17202b}
.dfa-row{height:3cqw}
.dfa-row span{left:0;top:0;font-size:1.9cqw;color:#445166}
.dfa-row b{right:0;top:0;font-size:1.9cqw;font-weight:700;color:#1d2735;font-variant-numeric:tabular-nums}
.dfa-rule{height:.15cqw;background:#e3e8ef}

/* the order */
.dfa-ped{left:2.5cqw;top:9cqw;width:29.5cqw;height:26.5cqw}
.dfa-ped .lf-lab{left:2.4cqw;top:2.4cqw}
.dfa-ped .dfa-t{left:2.4cqw;top:4.8cqw}
.dfa-ped .dfa-row,.dfa-ped .dfa-rule{left:2.4cqw;right:2.4cqw}
.q1{top:10.6cqw}.q2{top:14.4cqw}.u0{top:18.8cqw}.q3{top:20.4cqw}
.q3 span{font-weight:650;color:#1d2735}

/* the piece, between the order and the invoice */
.dfa-vb{left:33.2cqw;top:20.5cqw;width:6.6cqw}

/* the invoice */
.dfa-fac{left:41.5cqw;top:5cqw;width:32cqw;height:51cqw}
.dfa-fac .lf-lab{left:2.6cqw;top:2.6cqw}
.dfa-fac .dfa-t{left:2.6cqw;top:5cqw}
.dfa-date{left:2.6cqw;top:8.6cqw;font-size:1.5cqw;color:#6b778a}
.dfa-tag{right:2.4cqw;top:2.2cqw;padding:.5cqw 1cqw;border-radius:1cqw;font-size:1.6cqw;font-weight:700}
.dfa-tag.man{background:#fbf0dc;color:#93600f;opacity:0}
.dfa-tag.auto{background:#eaf0ff;color:#1f3fb8}
.dfa-ph{left:2.6cqw;height:1.5cqw;border-radius:.75cqw;background:#eef1f6;opacity:0}
.dfa-ph.h1{top:13.6cqw;width:14cqw}.dfa-ph.h2{top:17.4cqw;width:12cqw}.dfa-ph.h3{top:23.2cqw;width:10cqw}.dfa-ph.h4{top:27cqw;width:7cqw}.dfa-ph.h5{top:32.8cqw;width:8cqw}
.dfa-fac .dfa-row,.dfa-fac .dfa-rule{left:2.6cqw;right:2.6cqw}
.dfa-m{opacity:0}
.dfa-m span,.dfa-m b{color:#93600f}
.m1,.r1{top:12.8cqw}.m2,.r2{top:16.6cqw}.u1{top:21cqw}.m3,.r3{top:22.4cqw}.r4{top:26.2cqw}.u2{top:30.6cqw}.r5{top:32cqw}
.dfa-tot span{font-size:2.2cqw;font-weight:700;color:#17202b}
.dfa-tot b{font-size:2.4cqw;font-weight:800;color:#1f3fb8}
.dfa-st{left:2.6cqw;top:38.4cqw;padding:.55cqw 1.1cqw;border-radius:1cqw;font-size:1.6cqw;font-weight:700}
.dfa-st.s0{background:#fbf0dc;color:#93600f;opacity:0}
.dfa-st.s1{background:#eaf0ff;color:#1f3fb8}
.dfa-ok{left:2.6cqw;top:43.4cqw;width:12cqw;height:5cqw;border-radius:2.5cqw;background:#2453ec;color:#fff;font-size:1.8cqw;font-weight:700;line-height:5cqw;text-align:center;opacity:0}
.dfa-who{left:2.6cqw;top:44.4cqw;font-size:1.55cqw;color:#6b778a}

/* the mail and the folder */
.dfa-mail{left:76.5cqw;top:7cqw;width:20.5cqw;height:21.5cqw}
.dfa-dir{left:76.5cqw;top:34.5cqw;width:20.5cqw;height:21.5cqw}
.dfa-mail .lf-lab,.dfa-dir .lf-lab{left:2.2cqw;top:2.2cqw}
.dfa-mail .dfa-t{left:2.2cqw;top:4.6cqw;font-size:2.2cqw}
.dfa-pdf{left:2.2cqw;top:9.6cqw;width:16cqw;height:4.2cqw;border-radius:1cqw;background:#f1f4f8}
.dfa-pdf i{left:.8cqw;top:.9cqw;width:3.2cqw;height:2.4cqw;border-radius:.4cqw;background:#e5484d;color:#fff;font-size:1.1cqw;font-weight:800;line-height:2.4cqw;text-align:center}
.dfa-pdf span{left:4.6cqw;top:1.1cqw;font-size:1.55cqw;font-weight:700;color:#1d2735}
.dfa-sent{left:2.2cqw;top:16.2cqw;font-size:1.65cqw;font-weight:700;color:#1f3fb8}
.dfa-n{left:2.2cqw;top:4.4cqw;font-size:5.2cqw;font-weight:800;letter-spacing:-.03em;color:#17202b;font-variant-numeric:tabular-nums}
.dfa-n.n0{opacity:0}
.dfa-dl{left:2.2cqw;top:11.4cqw;font-size:1.55cqw;color:#6b778a}
.dfa-new{left:2.2cqw;top:15.6cqw;height:3cqw;padding-left:1cqw;border-left:.35cqw solid #2453ec;font-size:1.6cqw;font-weight:700;line-height:3cqw;color:#1f3fb8}

/* the data travelling, and the hand */
.dfa-p.p1{left:23cqw;top:12.2cqw}.dfa-p.p2{left:70cqw;top:14cqw}.dfa-p.p3{left:70cqw;top:41cqw}
.dfa-cur{left:0;top:0}

/* --- the film ------------------------------------------------------------- */
.lf-dt-facturas.is-playing .rw{animation-name:dfa-cam,dt-fade}
.lf-dt-facturas.is-playing .dfa-tag.man{animation-name:dfa-man}
.lf-dt-facturas.is-playing .dfa-tag.auto{animation-name:dfa-auto}
.lf-dt-facturas.is-playing .dfa-ph.h1{animation-name:dfa-h1}
.lf-dt-facturas.is-playing .dfa-ph.h2{animation-name:dfa-h2}
.lf-dt-facturas.is-playing .dfa-ph.h3{animation-name:dfa-h3}
.lf-dt-facturas.is-playing .dfa-ph.h4,.lf-dt-facturas.is-playing .dfa-ph.h5{animation-name:dfa-h4}
.lf-dt-facturas.is-playing .m1{animation-name:dfa-m1}
.lf-dt-facturas.is-playing .m2{animation-name:dfa-m2}
.lf-dt-facturas.is-playing .m3{animation-name:dfa-m3}
.lf-dt-facturas.is-playing .r1{animation-name:dfa-r1}
.lf-dt-facturas.is-playing .r2{animation-name:dfa-r2}
.lf-dt-facturas.is-playing .r3,.lf-dt-facturas.is-playing .u1{animation-name:dfa-r3}
.lf-dt-facturas.is-playing .r4{animation-name:dfa-r4}
.lf-dt-facturas.is-playing .r5,.lf-dt-facturas.is-playing .u2{animation-name:dfa-r5}
.lf-dt-facturas.is-playing .dfa-vb{animation-name:dfa-edge,dfa-in}
.lf-dt-facturas.is-playing .dfa-vb .vb-l{animation-name:dfa-l}
.lf-dt-facturas.is-playing .dfa-vb .vb-r{animation-name:dfa-rr}
.lf-dt-facturas.is-playing .dfa-st.s0{animation-name:dfa-s0}
.lf-dt-facturas.is-playing .dfa-st.s1{animation-name:dfa-s1}
.lf-dt-facturas.is-playing .dfa-ok{animation-name:dfa-ok}
.lf-dt-facturas.is-playing .dfa-who{animation-name:dfa-who}
.lf-dt-facturas.is-playing .dfa-mail{animation-name:dfa-mail}
.lf-dt-facturas.is-playing .dfa-dir{animation-name:dfa-dir}
.lf-dt-facturas.is-playing .dfa-ped{animation-name:dfa-ped}
.lf-dt-facturas.is-playing .dfa-pdf{animation-name:dfa-pdf}
.lf-dt-facturas.is-playing .dfa-sent{animation-name:dfa-sent}
.lf-dt-facturas.is-playing .dfa-n.n0{animation-name:dfa-n0}
.lf-dt-facturas.is-playing .dfa-n.n1{animation-name:dfa-n1}
.lf-dt-facturas.is-playing .dfa-new{animation-name:dfa-new}
.lf-dt-facturas.is-playing .p1{animation-name:dfa-p1}
.lf-dt-facturas.is-playing .p2{animation-name:dfa-p2}
.lf-dt-facturas.is-playing .p3{animation-name:dfa-p3}
.lf-dt-facturas.is-playing .dfa-cur{animation-name:dfa-cur}

@keyframes dfa-cam{
  0%,44%{transform:translate(50cqw,37.5cqw) scale(1.32) translate(-38cqw,-30.5cqw)}
  49%,66%{transform:translate(50cqw,37.5cqw) scale(1.75) translate(-52cqw,-46.7cqw)}
  71%,83%{transform:translate(50cqw,37.5cqw) scale(1.38) translate(-64cqw,-30.5cqw)}
  88%,100%{transform:translate(50cqw,37.5cqw) scale(1) translate(-50cqw,-30.5cqw)}}
@keyframes dfa-man{0%,2.5%{opacity:0}3.5%,21%{opacity:1}22.5%,100%{opacity:0}}
@keyframes dfa-auto{0%,34%{opacity:0;transform:scale(.85)}35%,100%{opacity:1;transform:none}}
@keyframes dfa-h1{0%,8.6%{opacity:1}8.8%,22.4%{opacity:0}22.6%,29.8%{opacity:1}30%,100%{opacity:0}}
@keyframes dfa-h2{0%,14.2%{opacity:1}14.4%,22.4%{opacity:0}22.6%,30.6%{opacity:1}30.8%,100%{opacity:0}}
@keyframes dfa-h3{0%,18.4%{opacity:1}18.6%,22.4%{opacity:0}22.6%,31.4%{opacity:1}31.6%,100%{opacity:0}}
@keyframes dfa-h4{0%,32.2%{opacity:1}32.4%,100%{opacity:0}}
@keyframes dfa-m1{0%,8.6%{opacity:0;clip-path:inset(0 100% 0 0)}8.8%{opacity:1;clip-path:inset(0 100% 0 0);animation-timing-function:steps(9,end)}10.8%,21%{opacity:1;clip-path:inset(0 0 0 0)}22.5%,100%{opacity:0;clip-path:inset(0 0 0 0)}}
@keyframes dfa-m2{0%,14.2%{opacity:0;clip-path:inset(0 100% 0 0)}14.4%{opacity:1;clip-path:inset(0 100% 0 0);animation-timing-function:steps(9,end)}16.4%,21%{opacity:1;clip-path:inset(0 0 0 0)}22.5%,100%{opacity:0;clip-path:inset(0 0 0 0)}}
@keyframes dfa-m3{0%,18.4%{opacity:0;clip-path:inset(0 100% 0 0)}18.6%{opacity:1;clip-path:inset(0 100% 0 0);animation-timing-function:steps(9,end)}20.6%,21%{opacity:1;clip-path:inset(0 0 0 0)}22.5%,100%{opacity:0;clip-path:inset(0 0 0 0)}}
@keyframes dfa-r1{0%,29.8%{opacity:0;transform:translateY(.6cqw)}30.6%,100%{opacity:1;transform:none}}
@keyframes dfa-r2{0%,30.6%{opacity:0;transform:translateY(.6cqw)}31.4%,100%{opacity:1;transform:none}}
@keyframes dfa-r3{0%,31.4%{opacity:0;transform:translateY(.6cqw)}32.2%,100%{opacity:1;transform:none}}
@keyframes dfa-r4{0%,32.2%{opacity:0;transform:translateY(.6cqw)}33%,100%{opacity:1;transform:none}}
@keyframes dfa-r5{0%,33%{opacity:0;transform:translateY(.6cqw)}33.8%,100%{opacity:1;transform:none}}
@keyframes dfa-in{0%,24%{opacity:0;transform:scale(.6)}26%,46%{opacity:1;transform:none}48.5%,68%{opacity:0;transform:none}70%,100%{opacity:1;transform:none}}
@keyframes dfa-dir{0%,68.5%{opacity:0;transform:translateY(1.2cqw)}70.5%,100%{opacity:1;transform:none}}
@keyframes dfa-ped{0%,46%{opacity:1}48.5%,86%{opacity:0}88%,100%{opacity:1}}
@keyframes dfa-ped-m{0%,46%{opacity:1}48.5%,100%{opacity:0}}
@keyframes dfa-l{0%,28.19%{transform:translateX(-5px);animation-timing-function:cubic-bezier(.45,0,.9,.35)}29%{transform:translateX(.35px);animation-timing-function:cubic-bezier(.2,0,.2,1)}29.32%,100%{transform:none}}
@keyframes dfa-rr{0%,28.19%{transform:translateX(5px);animation-timing-function:cubic-bezier(.45,0,.9,.35)}29%{transform:translateX(-.35px);animation-timing-function:cubic-bezier(.2,0,.2,1)}29.32%,100%{transform:none}}
@keyframes dfa-edge{0%,28.91%{box-shadow:inset 0 0 0 .25cqw #c9d7f5,0 1.6cqw 3.2cqw -1.4cqw #243f7370}29.18%{box-shadow:inset 0 0 0 .4cqw #2453ec,0 1.6cqw 3.2cqw -1.4cqw #243f7370}31.03%,100%{box-shadow:inset 0 0 0 .25cqw #c9d7f5,0 1.6cqw 3.2cqw -1.4cqw #243f7370}}
@keyframes dfa-s0{0%,36%{opacity:0;transform:translateY(.6cqw)}37%,57.2%{opacity:1;transform:none}57.8%,100%{opacity:0;transform:none}}
@keyframes dfa-s1{0%,57.4%{opacity:0;transform:scale(.8)}58.2%,100%{opacity:1;transform:none}}
@keyframes dfa-ok{0%,36%{opacity:0;transform:translateY(.6cqw)}37%,55.8%{opacity:1;transform:none;background:#2453ec}56.2%{opacity:1;transform:scale(.95);background:#143cbf}56.8%,57.4%{opacity:1;transform:none;background:#143cbf}58%,100%{opacity:0;transform:none;background:#143cbf}}
@keyframes dfa-who{0%,58.4%{opacity:0;transform:translateY(.6cqw)}59.4%,100%{opacity:1;transform:none}}
@keyframes dfa-mail{0%,73.5%{opacity:0;transform:translateY(1.2cqw)}75%,100%{opacity:1;transform:none}}
@keyframes dfa-pdf{0%,75.4%{opacity:0;transform:scale(.9)}76.4%,100%{opacity:1;transform:none}}
@keyframes dfa-sent{0%,76.8%{opacity:0}77.8%,100%{opacity:1}}
@keyframes dfa-n0{0%,80.6%{opacity:1;transform:none}81.2%,100%{opacity:0;transform:translateY(-1cqw)}}
@keyframes dfa-n1{0%,80.8%{opacity:0;transform:translateY(1cqw)}81.6%{opacity:1;transform:scale(1.12)}82.4%,100%{opacity:1;transform:none}}
@keyframes dfa-new{0%,80.4%{opacity:0;transform:translateX(-1cqw)}81.4%,100%{opacity:1;transform:none}}
@keyframes dfa-p1{0%,26.6%{opacity:0;transform:none}27%{opacity:1;transform:none}28.4%{opacity:1;transform:translate(11.8cqw,10.9cqw) scale(.7)}28.7%,100%{opacity:0;transform:translate(11.8cqw,10.9cqw) scale(.5)}}
@keyframes dfa-p2{0%,71.6%{opacity:0;transform:none}72%{opacity:1;transform:none}73.6%{opacity:1;transform:translate(6.5cqw,1.5cqw)}74%,100%{opacity:0;transform:translate(6.5cqw,1.5cqw)}}
@keyframes dfa-p3{0%,78%{opacity:0;transform:none}78.4%{opacity:1;transform:none}80%{opacity:1;transform:translate(6.5cqw,3.5cqw)}80.4%,100%{opacity:0;transform:translate(6.5cqw,3.5cqw)}}
@keyframes dfa-cur{
  0%,4%{opacity:0;transform:translate(17cqw,23cqw)}
  5%{opacity:1;transform:translate(17cqw,20cqw)}
  7.6%,8.6%{opacity:1;transform:translate(51cqw,18.5cqw)}
  11.4%{opacity:1;transform:translate(17cqw,24cqw)}
  13.8%,14.6%{opacity:1;transform:translate(51cqw,22.5cqw)}
  17.6%,20.4%{opacity:1;transform:translate(53cqw,30cqw)}
  21.6%{opacity:0;transform:translate(55cqw,31cqw)}
  50%{opacity:0;transform:translate(64cqw,60cqw)}
  51%{opacity:1;transform:translate(64cqw,60cqw)}
  55%,55.8%{opacity:1;transform:translate(49.5cqw,50cqw) scale(1)}
  56.2%{opacity:1;transform:translate(49.5cqw,50cqw) scale(.86)}
  56.8%,59%{opacity:1;transform:translate(49.5cqw,50cqw) scale(1)}
  62%,100%{opacity:0;transform:translate(60cqw,60cqw) scale(1)}}

@media (max-width:600px),(max-width:932px) and (max-height:500px){
  .film-detalle-facturas .rw{transform:translate(50cqw,37.5cqw) scale(1.36) translate(-62.25cqw,-30.5cqw)}
  .dfa-ped{opacity:0}
  .lf-dt-facturas.is-playing .rw{animation-name:dfa-cam-m,dt-fade}
  .lf-dt-facturas.is-playing .dfa-ped{animation-name:dfa-ped-m}
}
@keyframes dfa-cam-m{
  0%,44%{transform:translate(50cqw,37.5cqw) scale(1.32) translate(-38cqw,-30.5cqw)}
  49%,66%{transform:translate(50cqw,37.5cqw) scale(1.9) translate(-52cqw,-47cqw)}
  71%,83%{transform:translate(50cqw,37.5cqw) scale(1.36) translate(-64.2cqw,-30.5cqw)}
  88%,100%{transform:translate(50cqw,37.5cqw) scale(1.36) translate(-62.25cqw,-30.5cqw)}}
