/* The workpaper hero, and the material the page was missing: a faint dot field on product stages, small uppercase
   labels as a second voice, crop marks for the agent's focus, and red tickmarks as the one colour, as on paper. */
:root{--tick:#C8233B}
.lab{font-size:10.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:rgb(17 17 17 / .45)}

/* stage: light, a dot field that fades out, product that runs off the edge */
.hstage2.wps{position:relative;height:640px;padding:0!important;overflow:hidden;
  background:radial-gradient(rgb(17 17 20 / .09) 1px,transparent 1.3px) 0 0 / 22px 22px,var(--surf)!important}
.hstage2.wps::before{content:"";position:absolute;inset:0;background:radial-gradient(70% 80% at 40% 40%,transparent 40%,#F5F5F6 100%);pointer-events:none}
.wpx{position:absolute;inset:0;font-size:13px;color:#18181B;font-variant-numeric:tabular-nums}

/* the sheet */
.wp{position:absolute;left:64px;top:56px;width:620px;padding:28px 32px 26px;background:#fff;border-radius:6px;
  box-shadow:0 0 0 1px rgb(20 22 50 / .07),0 1px 2px rgb(20 22 50 / .04),0 24px 48px -24px rgb(20 22 50 / .22)!important}
.wp-h{display:flex;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #EDEDF0}
.wp-t{margin:18px 0 0;font-size:22px!important;letter-spacing:-.02em!important}
.wp-s{margin:4px 0 0;color:rgb(17 17 17 / .55);font-size:13px}
.wp-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;padding:14px 0;border-top:1px solid #EDEDF0;border-bottom:1px solid #EDEDF0}
.wp-meta div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 10px}
.wp-meta small{grid-column:1 / -1}
.wp-meta b{display:inline-flex;align-items:center;gap:8px;font-weight:500!important}
.wp-meta em{font-style:normal;color:rgb(17 17 17 / .45);font-size:12px;justify-self:end}
.wp-who .p{color:rgb(17 17 17 / .4);font-weight:400!important}
.wp-who .d{display:none}
.wpx.signed .wp-who .p{display:none}.wpx.signed .wp-who .d{display:inline-flex}
.wp-tb{margin-top:10px}
.wp-r{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 64px 120px 26px;align-items:center;gap:12px;height:34px;border-bottom:1px solid #F2F2F4}
.wp-r.hd{height:30px;color:rgb(17 17 17 / .45);font-size:11.5px}
.wp-r > span:nth-child(2){color:rgb(17 17 17 / .45);font-size:12px}
.wp-r .n{text-align:right}
.wp-r.in > span:first-child{padding-left:16px}
.wp-g{height:28px;display:flex;align-items:flex-end;padding-bottom:4px;color:rgb(17 17 17 / .5);font-size:12px}
.wp-r.sum{font-weight:500}
.wp-r.sum .n{box-shadow:inset 0 1px 0 #18181B!important}
.wp-r.dif{border-bottom:0;font-weight:500}
.wdv{font-weight:500!important;padding-bottom:3px;background-image:linear-gradient(var(--tick),var(--tick)),linear-gradient(var(--tick),var(--tick));background-repeat:no-repeat;
  background-position:100% 100%,100% calc(100% - 4px);background-size:0 1.5px,0 1.5px;transition:background-size .8s cubic-bezier(.65,0,.25,1)}
.wpx.zero .wdv{background-size:100% 1.5px,100% 1.5px}
.wp-leg{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:18px;padding-top:12px;border-top:1px solid #EDEDF0;font-size:11.5px;color:rgb(17 17 17 / .5)}
.wp-leg span{display:inline-flex;align-items:center;gap:6px}
.wp-leg .tk2{margin-right:0}

/* tickmarks: the auditor's red pencil */
.tk2{display:inline-grid;place-items:center;width:16px;height:16px;font-style:normal;font-size:9.5px;font-weight:600;color:var(--tick);line-height:1}
.tk2.t,.tk2.f{border-radius:50%;box-shadow:inset 0 0 0 1.2px var(--tick)!important}
.tk2 svg{width:14px;height:14px;fill:none;stroke:var(--tick);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wp-r .tk2{opacity:0;transform:scale(.6);transition:opacity .25s,transform .35s cubic-bezier(.3,1.6,.5,1)}
.wp-r.on .tk2{opacity:1;transform:none}
.wpx[data-s="9"] .wp-r .tk2{opacity:1;transform:none}

/* the agent's focus: crop marks that move down the sheet */
.wp-sel{position:absolute;left:0;top:0;width:0;height:0;opacity:0;pointer-events:none;transition:all .45s cubic-bezier(.65,0,.25,1)}
.wp-sel b{position:absolute;width:7px;height:7px;border:0 solid #18181B}
.wp-sel b:nth-child(1){left:-3px;top:-3px;border-left-width:1.2px;border-top-width:1.2px}
.wp-sel b:nth-child(2){right:-3px;top:-3px;border-right-width:1.2px;border-top-width:1.2px}
.wp-sel b:nth-child(3){left:-3px;bottom:-3px;border-left-width:1.2px;border-bottom-width:1.2px}
.wp-sel b:nth-child(4){right:-3px;bottom:-3px;border-right-width:1.2px;border-bottom-width:1.2px}
.wp-sel.on{opacity:1}

/* the source document */
.wp-src{position:absolute;left:720px;top:96px;width:400px;padding:14px 16px 8px;background:#fff;border-radius:6px;
  box-shadow:0 0 0 1px rgb(20 22 50 / .07),0 16px 32px -20px rgb(20 22 50 / .2)!important;font-size:11.5px}
.wp-sh{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid #EDEDF0}
.wcn{color:rgb(17 17 17 / .55);font-size:11px}
.wp-l{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 88px;gap:8px;align-items:center;height:28px;border-bottom:1px solid #F4F4F6;color:rgb(17 17 17 / .7);letter-spacing:.01em}
.wp-l:last-child{border-bottom:0}
.wp-l .n{text-align:right}
.wp-l::after{content:"";position:absolute;inset:2px -6px;border-radius:4px;background:rgb(200 35 59 / .07);opacity:0;transition:opacity .3s}
.wp-l.hit::after{opacity:1}

/* the review card */
.wp-rv{position:absolute;left:720px;top:318px;width:340px;padding:16px;background:#fff;border-radius:8px;
  box-shadow:0 0 0 1px rgb(20 22 50 / .07),0 16px 32px -20px rgb(20 22 50 / .22)!important;opacity:0;transform:translateY(8px);transition:opacity .4s,transform .5s cubic-bezier(.2,.8,.2,1)}
.wpx.ready .wp-rv,.wpx[data-s="9"] .wp-rv{opacity:1;transform:none}
.wp-rvh{display:flex;gap:10px;align-items:flex-start}
.wp-rvh p{margin:0;display:flex;flex-direction:column;font-size:13px;line-height:1.4}
.wp-rvh p span{color:rgb(17 17 17 / .55);font-size:12px}
.wp-rvh .d{display:none}.wpx.signed .wp-rvh .p{display:none}.wpx.signed .wp-rvh .d{display:inline}
.wp-rvb{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.wp-rv .apv .t2{display:none}
.wpx.signed .wp-rv .apv{background:#fff;color:#1F7A4D;box-shadow:inset 0 0 0 1px #BFE3CC!important}
.wpx.signed .wp-rv .apv .t1{display:none}.wpx.signed .wp-rv .apv .t2{display:inline}
.wpx[data-s="9"] .wp-rv .apv .t1{display:none}.wpx[data-s="9"] .wp-rv .apv .t2{display:inline}
.wpx[data-s="9"] .wp-rv .apv{background:#fff;color:#1F7A4D;box-shadow:inset 0 0 0 1px #BFE3CC!important}
.wpx .acur{position:absolute;width:20px;height:20px;opacity:0;transition:left .9s cubic-bezier(.65,0,.25,1),top .9s cubic-bezier(.65,0,.25,1),opacity .3s;pointer-events:none;z-index:5}
.wpx.aim .acur{opacity:1}
.wpx .acur svg{width:20px;height:20px}

/* tablet and phone: the sheet alone, the review card under it */
@media (max-width:1180px){.wp-src{display:none}.wp-rv{left:auto;right:40px;top:auto;bottom:80px}}
@media (max-width:760px){
  .hstage2.wps{height:auto;padding:16px 12px 20px!important}
  .wpx{position:relative;inset:auto}
  .wp{position:relative;left:auto;top:auto;width:auto;padding:18px 16px}
  .wp-r{grid-template-columns:minmax(0,1fr) 96px 20px;gap:8px;font-size:12px}
  .wp-r > span:nth-child(2){display:none}
  .wp-meta{grid-template-columns:1fr}
  .wp-rv{position:relative;right:auto;bottom:auto;width:auto;margin-top:12px}
  .wp-sel,.wpx .acur{display:none}
}
@media (min-width:761px){.hstage2.wps{height:700px;-webkit-mask-image:linear-gradient(180deg,#000 86%,transparent);mask-image:linear-gradient(180deg,#000 86%,transparent)}}
@media (max-width:760px){.hstage2.wps{-webkit-mask-image:none;mask-image:none}}
