/* Tiles (js/tiles.js): the job shown on the papers themselves. Everything in em, from the tile's width. */
.tx{--a:#4F46E5;--nv:#070D5A;--in:#1F2340;--mu:#6B7092;--gr:#16A34A;--am:#B7791F;--rd:#DC2626;
  container-type:inline-size;position:relative;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.9em;
  font-family:Inter,system-ui,sans-serif;color:var(--in);letter-spacing:0;text-align:left}
.tx>*{font-size:clamp(9px,4.2cqw,24px)}
.tx .ic{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:1.25em;line-height:1;display:inline-block;vertical-align:middle;width:auto;height:auto;background:none;box-shadow:none;color:inherit}
.tx-st{width:100%;display:flex;justify-content:center;align-items:center;gap:1.2em}
.tx-paper{position:relative;background:#fff;border-radius:.35em;padding:1.1em 1.2em;box-shadow:0 .1em .2em rgba(0,0,0,.15),0 1.2em 2.4em -1em rgba(0,0,0,.55)}
.tx-lh{display:block;font:600 1em/1.25 Fraunces,Georgia,serif;color:var(--nv);margin-bottom:.55em}
.tx-paper p{margin:0 0 .45em;font-size:.86em;line-height:1.75;color:#333}
.tx-paper i{display:block;height:.32em;border-radius:.2em;background:#E2E4EC;margin:.42em 0}
.tx-paper i:nth-child(3n){width:62%}
.tx-res{display:inline-flex;align-items:center;gap:.4em;padding:.35em .8em;border-radius:99px;background:rgba(22,163,74,.14);color:#4ADE80;font-weight:600;font-size:.82em;white-space:nowrap}
.tx-res .ic{font-size:1.15em}
/* reveal */
.tx [data-t]{transition:opacity .45s ease,transform .7s cubic-bezier(.16,1,.3,1),max-height .55s ease,padding .55s ease,margin .55s ease,background .35s,color .35s}
.tx [data-t]:not(.in):not([data-fx]){opacity:0;transform:translateY(.4em)}
.tx [data-fx="pop"]:not(.in){opacity:0;transform:scale(.85)}
/* names */
.tx-letter{width:88%;max-width:26em}
.tx-n{border-radius:.15em}
.tx-n.hid{display:inline-block;vertical-align:.08em;line-height:1;background:#111;font-size:0;padding:.28em .4em;white-space:nowrap}
.tx-n.hid::after{content:attr(data-l);color:#fff;font:700 12px/1 ui-monospace,Menlo,monospace;font-size:clamp(8px,3.3cqw,17px);letter-spacing:.02em}
/* email thread */
.tx-thread{width:72%;max-width:20em;display:flex;flex-direction:column;gap:.35em}
.tx-em{display:flex;align-items:center;gap:.6em;padding:.45em .7em;border-radius:.35em;background:#fff;box-shadow:0 .1em .3em rgba(0,0,0,.2);max-height:2.4em;overflow:hidden}
.tx-em .ic{color:var(--a)}
.tx-em i{flex:1;height:.3em;border-radius:.2em;background:#E2E4EC}.tx-em i+i{flex:.6}
.tx-em.dup{background:#FEE2E2}.tx-em.dup .ic{color:var(--rd)}.tx-em.dup i{background:#FECACA}
.tx-em[data-fx="collapse"].in{max-height:0;padding-top:0;padding-bottom:0;margin-top:-.35em;opacity:0}
/* chat record */
.tx-rec{width:84%;max-width:24em}
.tx-msg{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:.5em}
.tx-msg.me{align-items:flex-end}
.tx-bub{padding:.4em .7em;border-radius:.6em;background:#F1F2F6;font-size:.84em}
.tx-msg.me .tx-bub{background:#DCF3D3}
.tx-stamp{font:600 .7em/1.4 ui-monospace,Menlo,monospace;color:var(--a);margin-bottom:.15em}
/* bundle and merge: papers come together into one */
.tx-row{position:relative}
.tx-docs{position:absolute;left:calc(50% - 11.5em);top:50%;margin-top:-5.5em;width:11em;height:11em}
.tx-doc{position:absolute;width:7em;height:9em;padding:.7em;border-radius:.3em;background:#fff;box-shadow:0 .1em .2em rgba(0,0,0,.15),0 .8em 1.6em -.8em rgba(0,0,0,.5);display:flex;flex-direction:column;gap:.1em}
.tx-doc .ic{color:var(--a)}
.tx-doc small{font-size:.7em;font-weight:600;color:var(--mu)}
.tx-doc i{display:block;height:.28em;border-radius:.2em;background:#E2E4EC;margin:.3em 0}.tx-doc i:nth-child(odd){width:70%}
.tx-doc.a{left:0;top:0;transform:rotate(-8deg)}.tx-doc.b{left:2em;top:1em;transform:rotate(4deg)}.tx-doc.c{left:.8em;top:2em;transform:rotate(-2deg)}
.tx [data-fx="gather"]{transition:transform .9s cubic-bezier(.65,0,.35,1),opacity .6s ease .3s}
.tx [data-fx="gather"].in{transform:translate(7em,.5em) rotate(0) scale(.75)!important;opacity:0}
.tx-bundle{position:relative;width:11em;padding:.9em 1em;border-radius:.35em;background:#fff;box-shadow:0 .1em .2em rgba(0,0,0,.15),0 1.2em 2.4em -1em rgba(0,0,0,.55);border-left:.35em solid var(--a)}
.tx-bundle .tx-lh{font-size:.9em}
.tx-tabs{position:absolute;right:-.55em;top:.8em;display:flex;flex-direction:column;gap:.25em}
.tx-tabs i{width:1.3em;height:1.6em;border-radius:0 .25em .25em 0;background:#A5B4FC;color:#1E1B4B;font:700 .6em/1.6em Inter;font-style:normal;text-align:center;display:block}
.tx-tabs i:nth-child(2){background:#86EFAC}.tx-tabs i:nth-child(3){background:#FCD34D}
.tx-ix{display:flex;justify-content:space-between;font-size:.74em;padding:.3em 0;border-bottom:1px solid #EEF0F4}
.tx-ix em{font-style:normal;color:var(--a);font-weight:700}
.tx-pdf{display:inline-block;align-self:flex-start;padding:.1em .4em;border-radius:.2em;background:var(--rd);color:#fff;font:700 .62em/1.4 Inter}
.tx-bundle.one{border-left:0}.tx-bundle.one i{display:block;height:.28em;border-radius:.2em;background:#E2E4EC;margin:.45em 0}.tx-bundle.one i:nth-child(odd){width:70%}
/* compare */
.tx-v{width:42%;max-width:12em;padding:.9em 1em}
.tx-v p{font-size:.78em;margin-bottom:.5em}
.tx-ver{position:absolute;top:-.8em;left:.8em;padding:.1em .5em;border-radius:99px;background:#1F2340;color:#fff;font:600 .62em/1.6 Inter}
.tx-ch{background:transparent;color:inherit;border-radius:.15em;padding:0 .1em}
.tx-ch.in{background:#BBF7D0;color:#14532D}
.tx-gone{text-decoration:none}
.tx-gone.in{color:var(--rd);text-decoration:line-through;background:#FEE2E2}
/* quotes */
.tx-q{position:relative;border-radius:.15em;padding:.05em .2em}
.tx-q i{display:none}
.tx-q.in i{display:inline-block;margin:0 0 0 .3em;height:auto;width:auto;background:none}
.tx-q.in .ic{font-size:1em;font-weight:700}
.tx-q.ok.in{background:#BBF7D0}.tx-q.ok .ic{color:#15803D}
.tx-q.near.in{background:#FDE68A}.tx-q.near .ic{color:#92400E}
.tx-q.no.in{background:#FECACA}.tx-q.no .ic{color:#B91C1C}
/* scan */
.tx-scan{width:62%;max-width:17em;background:#EDE7DA;overflow:hidden}
.tx-scan i.sc{background:#A8A091;height:.36em;margin:.6em 0}
.tx-beam{position:absolute;left:0;right:0;top:-25%;height:22%;background:linear-gradient(rgba(79,70,229,0),rgba(79,70,229,.45),rgba(79,70,229,0))}
.tx-beam.in{animation:txbeam 1.7s ease-in-out forwards}
@keyframes txbeam{to{top:105%}}
.tx-sel{position:absolute;left:1.2em;top:45%;padding:.1em .35em;background:rgba(79,70,229,.3);font-weight:600;font-size:.85em;color:#1E1B4B}

/* the hero show: one big tile, a row of labels to pick from */
.tx-show-in{height:100%}
.tx-big{opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .6s cubic-bezier(.16,1,.3,1)}
.tx-big.shown{opacity:1;transform:none}
.tx-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:18px}
.tx-dots button{border:0;border-radius:99px;padding:6px 12px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.7);font:600 12.5px/1 Inter,sans-serif;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.tx-dots button:hover{color:#fff;background:rgba(255,255,255,.14)}
.tx-dots button.on{background:#fff;color:#1E1B4B;box-shadow:none}
@media (prefers-reduced-motion:reduce){.tx *,.tx-big{transition:none!important;animation:none!important}}

/* how it works steps */
.tx-zone{position:relative;width:86%;max-width:22em;height:9.5em;border:.14em dashed rgba(165,180,252,.6);border-radius:.8em;background:rgba(255,255,255,.04);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:1em .8em}
.tx-fl{display:flex;flex-wrap:wrap;justify-content:center;gap:.35em}
.tx-zl{display:flex;align-items:center;gap:.4em;color:rgba(255,255,255,.75);font-weight:600;font-size:.85em}
.tx-zl .ic{color:#A5B4FC}
.tx-file{display:flex;align-items:center;gap:.35em;padding:.45em .7em;border-radius:.45em;background:#fff;font-size:.72em;font-weight:600;white-space:nowrap;box-shadow:0 .6em 1.4em -.6em rgba(0,0,0,.6)}
.tx-file .ic{color:var(--a)}
.tx [data-fx="drop"]{transition:transform .8s cubic-bezier(.34,1.4,.64,1),opacity .3s}
.tx [data-fx="drop"]:not(.in){opacity:0;transform:translateY(-3em)}
.tx-list{width:88%;max-width:23em;display:flex;flex-direction:column;gap:.4em}
.tx-li{display:flex;align-items:center;gap:.55em;padding:.55em .75em;border-radius:.5em;background:#fff;font-size:.8em;box-shadow:0 .4em 1em -.5em rgba(0,0,0,.5)}
.tx-li>.ic:first-child{color:var(--a)}
.tx-li span{color:var(--mu);font-size:.9em}
.tx-li>.ic:last-child{margin-left:auto;color:var(--gr)}
.tx-jobs{width:90%;max-width:23em;display:grid;grid-template-columns:1fr 1fr;gap:.45em}
.tx-job{display:flex;align-items:center;gap:.45em;padding:.6em .7em;border-radius:.55em;background:rgba(255,255,255,.07);color:rgba(255,255,255,.75);font-size:.78em;font-weight:600;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);transition:background .35s,color .35s,box-shadow .35s}
.tx-job .ic{color:#A5B4FC}
.tx-job.pick.in{background:#fff;color:var(--in);box-shadow:0 0 0 .18em rgba(129,140,248,.6)}
.tx-job.pick.in .ic{color:var(--a)}

/* workspace grid tiles */
.tx-mk{border-radius:.15em;padding:0 .1em;transition:background .4s}
.tx-mk.y.in{background:#FDE68A}.tx-mk.g.in{background:#BBF7D0}
.tx-note{position:absolute;right:-.6em;bottom:-1.1em;display:flex;align-items:center;gap:.35em;padding:.5em .7em;border-radius:.3em;background:#FEF3C7;color:#78350F;font-size:.72em;font-weight:600;box-shadow:0 .5em 1.2em -.5em rgba(0,0,0,.5);transform:rotate(2deg)}
.tx-note .ic{color:#B45309}
.tx-ev{width:90%;max-width:30em}
.tx-pt{padding:.45em 0;border-top:1px solid #EEF0F4}
.tx-pt b{display:block;font-size:.8em;color:var(--in)}
.tx-qt{display:block;margin-top:.3em;padding:.35em .6em;border-left:.22em solid #F2C94C;background:#FFFBEA;font-size:.74em;color:#333}
.tx-qt small{display:flex;align-items:center;gap:.25em;font-size:.88em;color:var(--mu);margin-top:.15em}
.tx-qt small .ic{font-size:1.05em;color:var(--a)}
.tx-ref{display:inline-flex;align-items:center;gap:.2em;padding:0 .4em;border-radius:99px;font-size:.82em;font-weight:700;vertical-align:.05em}
.tx-ref .ic{font-size:1em}
.tx-ref.ok{background:#E0E7FF;color:#3730A3}.tx-ref.no{background:#FEE2E2;color:#B91C1C}
.tx-ai{gap:.8em}
.tx-zip{display:flex;flex-direction:column;align-items:center;gap:.2em;padding:.9em .8em;border-radius:.5em;background:#fff;box-shadow:0 .6em 1.4em -.6em rgba(0,0,0,.55);font-size:.78em}
.tx-zip .ic{font-size:2em;color:var(--a)}
.tx-zip small{color:var(--mu);font-size:.85em}
.tx-arw{color:rgba(255,255,255,.6)}
.tx-ans{width:54%;max-width:16em;padding:.9em 1em}
.tx-ans .tx-lh{font-size:.85em;display:flex;align-items:center;gap:.3em}
.tx-ar{display:flex;align-items:center;gap:.45em;padding:.35em 0;border-top:1px solid #EEF0F4;font-size:.74em}
.tx-did{width:86%;max-width:24em}
.tx-dl{display:flex;align-items:center;gap:.45em;padding:.35em 0;border-top:1px solid #EEF0F4;font-size:.76em}
.tx-dl .ic{color:var(--gr)}
.tx-dl em{margin-left:auto;font-style:normal;font-weight:600;color:var(--a)}
.tx-need{display:flex;align-items:center;gap:.45em;margin-top:.5em;padding:.5em .7em;border-radius:.4em;background:#FEF3C7;font-size:.76em;color:#78350F}
.tx-need .ic{color:#B45309}
/* drop step: papers, not pills */
.tx-fl{gap:.7em!important;align-items:flex-end}
.tx-file{flex-direction:column;align-items:flex-start!important;gap:.2em!important;width:5.2em;height:6.6em;padding:.55em .5em!important;border-radius:.25em .9em .25em .25em!important;background:linear-gradient(225deg,#E5E7F0 .9em,#fff .9em)!important;font-size:.62em!important;position:relative}
.tx-file .ic{font-size:1.6em;color:var(--a)}
.tx-file i{display:block;width:100%;height:.28em;border-radius:.2em;background:#E2E4EC;margin:.12em 0}.tx-file i:nth-of-type(2n){width:70%}
.tx-file b{position:absolute;left:0;right:0;bottom:-1.7em;text-align:center;color:rgba(255,255,255,.75);font-weight:600;white-space:nowrap;font-size:.95em}
.tx-zone{height:11em!important;padding-bottom:.8em!important}

/* Hide names tiles */
.tx-photo{width:72%;max-width:20em;height:11em;border-radius:.4em;background:linear-gradient(135deg,#C79A6A,#9C6B40);position:relative;box-shadow:0 1.2em 2.4em -1em rgba(0,0,0,.55)}
.tx-rc{position:absolute;left:18%;top:.9em;width:62%;padding:.8em .9em;background:#FBF8F0;transform:rotate(-4deg);display:flex;flex-direction:column;gap:.3em;font:.72em/1.4 ui-monospace,Menlo,monospace;color:#444;box-shadow:0 .2em .5em rgba(0,0,0,.3)}
.tx-rc b{font-weight:700;color:#222}
.tx-rc .tx-n.hid::after{font-size:clamp(7px,2.6cqw,13px)}
.tx-three{gap:.7em}
.tx-mini{width:28%;max-width:8em;padding:.8em .7em;display:flex;flex-direction:column;align-items:flex-start;gap:.35em}
.tx-mini small{display:flex;align-items:center;gap:.25em;font-size:.68em;font-weight:600;color:var(--mu)}
.tx-mini small .ic{color:var(--a)}
.tx-mini i{width:100%;margin:.15em 0!important}
.tx-mini .tx-n{font-size:.78em}

/* tool page tiles: tick, save, one list as strips */
.tx-ticks{width:80%;max-width:22em}
.tx-tk{display:flex;align-items:center;gap:.6em;padding:.45em 0;border-top:1px solid #EEF0F4;font-size:.82em}
.tx-tk em{margin-left:auto;font-style:normal;padding:.15em .45em;border-radius:.25em;background:#E7E7EA;font:600 .78em/1.4 ui-monospace,Menlo,monospace;color:#27272A;transition:background .3s,color .3s}
.tx-cb{width:1.1em;height:1.1em;border-radius:.25em;box-shadow:inset 0 0 0 .12em #C9CCD8;flex:none;transition:background .25s,box-shadow .25s;position:relative}
.tx-tk.in .tx-cb{background:var(--a);box-shadow:none}
.tx-tk.in .tx-cb::after{content:"";position:absolute;left:.36em;top:.16em;width:.28em;height:.56em;border:solid #fff;border-width:0 .14em .14em 0;transform:rotate(45deg)}
.tx-tk.in em{background:#111;color:#fff}
.tx-out{display:flex;flex-direction:column;align-items:flex-start;gap:.35em;width:72%;max-width:18em;padding:1.1em 1.2em;border-radius:.4em;background:#fff;box-shadow:0 1.2em 2.4em -1em rgba(0,0,0,.55)}
.tx-out b{font-size:.92em}
.tx-out small{font-size:.75em;color:var(--mu)}
.tx-strips{width:84%;max-width:22em;display:flex;flex-direction:column;gap:.45em}
.tx-strip{display:flex;align-items:center;gap:.55em;padding:.55em .75em;border-radius:.4em;background:#fff;box-shadow:0 .4em 1em -.5em rgba(0,0,0,.5)}
.tx-strip .ic{color:var(--a)}
.tx-strip small{font-size:.72em;font-weight:600;color:var(--mu);width:3.6em}
.tx-strip .tx-n{font-size:.8em}
.tx-strip i{flex:1;height:.3em;border-radius:.2em;background:#E2E4EC}
.tx-file b{left:-.4em!important;right:-.4em!important;overflow:hidden;text-overflow:ellipsis;font-size:.82em!important}

/* guide scenes */
.tx-gn{position:relative}
.tx-stampk{position:absolute;right:.8em;top:.7em;padding:.15em .5em;border:.14em solid var(--rd);color:var(--rd);font:800 .7em/1.3 Inter;letter-spacing:.08em;transform:rotate(6deg);border-radius:.2em}
.tx-ring{position:relative;font-weight:700;color:var(--in)}
.tx-ring.in::after{content:"";position:absolute;inset:-.25em -.4em;border:.14em solid var(--rd);border-radius:50%;animation:txring .5s ease-out}
@keyframes txring{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.tx-inv{position:relative}
.tx-ir{display:flex;align-items:center;gap:.5em;padding:.35em 0;border-top:1px solid #EEF0F4;font-size:.8em}
.tx-ir .ic{color:var(--a)}
.tx-ir small{color:var(--mu);font-size:.8em}
.tx-ir em{margin-left:auto;font-style:normal;font-weight:700}
.tx-ir.tot{font-weight:700;border-top:.12em solid var(--in)}
.tx-over{position:absolute;right:.9em;top:2.6em;padding:.15em .5em;border:.14em solid var(--rd);color:var(--rd);font:800 .78em/1.3 Inter;letter-spacing:.06em;transform:rotate(-8deg);border-radius:.2em;background:rgba(255,255,255,.85)}
.tx-rem{display:flex;align-items:center;gap:.4em;margin-top:.4em;padding:.35em .6em;border-radius:.35em;background:#EEF0FE;font-size:.74em;color:#3730A3}
.tx-rem .ic{font-size:1.1em}
.tx-pass{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.6em;width:80%;max-width:22em;padding:1.1em 1.3em;border-radius:.7em;background:#fff;box-shadow:0 1.2em 2.4em -1em rgba(0,0,0,.55)}
.tx-pass>.ic{color:var(--a);font-size:1.6em}
.tx-pl small{display:block;font-size:.6em;color:var(--mu);letter-spacing:.08em}
.tx-pl b{font:800 1.7em/1 Inter;color:var(--in)}
.tx-pl:last-of-type{text-align:right}
.tx-pf{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:.6em;border-top:.1em dashed #D9DCE8;font-size:.72em;color:var(--mu)}
.tx-cx{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-8deg);padding:.2em .7em;border:.16em solid var(--rd);color:var(--rd);background:rgba(255,255,255,.9);font:800 1em/1.3 Inter;letter-spacing:.08em;border-radius:.25em}
.tx [data-fx="pop"].tx-cx:not(.in){transform:translate(-50%,-50%) rotate(-8deg) scale(1.6)}
.tx-tl{width:84%;max-width:24em}
.tx-tl .tx-ev{display:grid;grid-template-columns:3.6em .9em 1fr;align-items:start;gap:.45em;padding:.3em 0;font-size:.8em}
.tx-dt{font-weight:700;color:var(--a)}
.tx-dot{width:.7em;height:.7em;margin-top:.3em;border-radius:50%;background:var(--a);box-shadow:0 0 0 .2em #E0E7FF}
.tx-tl .tx-ev small{display:flex;align-items:center;gap:.2em;font-size:.82em;color:var(--mu)}
.tx-tl .tx-ev small .ic{font-size:1.05em}
.tx-set .tx-lh{display:flex;align-items:center;gap:.3em}
.tx-sw{display:flex;align-items:center;gap:.6em;padding:.5em 0;border-top:1px solid #EEF0F4;font-size:.8em}
.tx-sw em{margin-left:auto;font-style:normal;font-weight:700;color:var(--gr);font-size:.9em}
.tx-tg{margin-left:auto;display:block;width:2.2em!important;height:1.25em!important;border-radius:99px!important;background:var(--a)!important;position:relative;transition:background .35s}
.tx-tg::after{content:"";position:absolute;right:.15em;top:.15em;width:.95em;height:.95em;border-radius:50%;background:#fff;transition:right .35s}
.tx-tg.in{background:#C9CCD8!important}.tx-tg.in::after{right:1.1em}
.tx-chatai{width:86%;max-width:24em;display:flex;flex-direction:column;gap:.55em}
.tx-msgu{align-self:flex-end;max-width:88%;padding:.6em .8em;border-radius:.8em .8em .2em .8em;background:#fff;font-size:.78em;line-height:1.7;box-shadow:0 .5em 1.2em -.6em rgba(0,0,0,.5)}
.tx-msga{display:flex;gap:.45em;align-items:flex-start;padding:.55em .7em;border-radius:.7em;background:rgba(255,255,255,.1);color:rgba(255,255,255,.9);font-size:.76em;line-height:1.55}
.tx-msga .ic{color:#A5B4FC}
.tx-box{display:flex;align-items:center;gap:.5em;padding:.5em .8em;border-radius:99px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);color:rgba(255,255,255,.55);font-size:.74em}
.tx-box span{flex:1}
.tx-ring{white-space:nowrap;display:inline-block}
