.tfu,.tfu-overlay{--tfu-accent:var(--wp--preset--color--primary,var(--ast-global-color-0,#2563eb));--tfu-border:rgba(0,0,0,.14);--tfu-muted:rgba(0,0,0,.62);--tfu-bg:rgba(0,0,0,.025);--tfu-radius:10px;--tfu-green:#157f3b;--tfu-green-bg:#e7f6ec;--tfu-yellow:#8a5a00;--tfu-yellow-bg:#fff4d6;--tfu-red:#b42318;--tfu-red-bg:#fde8e7;--tfu-blue:#1d4f91;--tfu-blue-bg:#e6eefb}.tfu{margin:0 0 1.25em;font:inherit;color:inherit;clear:both;width:100%;box-sizing:border-box}.tfu *,.tfu *:before,.tfu *:after{box-sizing:border-box}.tfu [hidden],.tfu-overlay [hidden]{display:none !important}.tfu__title{font-size:1.05em;margin:0 0 .5em;font-weight:600}.tfu__title .required{color:var(--tfu-red);text-decoration:none;border:0}.tfu__drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35em;padding:1.4em 1em;border:2px dashed var(--tfu-border);border-radius:var(--tfu-radius);background:var(--tfu-bg);text-align:center;cursor:pointer;transition:border-color .15s,background .15s}.tfu__drop:hover,.tfu__drop:focus-visible,.tfu__drop.is-over{border-color:var(--tfu-accent);background:color-mix(in srgb,var(--tfu-accent) 6%,transparent);outline:none}.tfu__drop-icon{width:30px;height:30px;color:var(--tfu-accent)}.tfu__drop-title{font-weight:600}.tfu__drop-or{color:var(--tfu-muted);font-size:.9em}.tfu.has-files .tfu__drop{padding:.8em 1em;flex-direction:row;flex-wrap:wrap}.tfu.has-files .tfu__drop-icon{width:22px;height:22px}.tfu__input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.tfu__input-hidden{display:none}.tfu__hint{font-size:.85em;color:var(--tfu-muted);margin:.5em 0 0}.tfu__notice{margin:.75em 0 0;padding:.7em .9em;border-radius:8px;background:var(--tfu-red-bg);color:var(--tfu-red);font-weight:500}.tfu__btn{display:inline-flex;align-items:center;justify-content:center;gap:.3em;min-height:40px;padding:.45em 1em;border:1px solid var(--tfu-border);border-radius:8px;background:#fff;color:inherit;font:inherit;font-size:.95em;line-height:1.2;cursor:pointer;text-decoration:none}.tfu__btn:hover{border-color:var(--tfu-accent)}.tfu__btn:focus-visible{outline:2px solid var(--tfu-accent);outline-offset:2px}.tfu__btn--primary{background:var(--tfu-accent);border-color:var(--tfu-accent);color:#fff}.tfu__btn--small{min-height:34px;padding:.3em .7em;font-size:.85em}.tfu__btn--ghost{background:0 0}.tfu__btn--danger:hover{border-color:var(--tfu-red);color:var(--tfu-red)}.tfu__files{list-style:none;margin:.9em 0 0;padding:0;display:grid;gap:.75em}.tfu-file{display:grid;grid-template-columns:88px 1fr;gap:.9em;padding:.9em;margin:0;border:1px solid var(--tfu-border);border-left-width:4px;border-radius:var(--tfu-radius);background:#fff}.tfu-file[data-level=green]{border-left-color:var(--tfu-green)}.tfu-file[data-level=yellow]{border-left-color:#d99a00}.tfu-file[data-level=red],.tfu-file[data-level=error],.tfu-file.is-failed{border-left-color:var(--tfu-red)}.tfu-file[data-level=manual]{border-left-color:var(--tfu-blue)}.tfu-file__thumb{width:88px;height:88px;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#e6e6e6 0 25%,#fff 0 50%) 0 0/14px 14px;border:1px solid var(--tfu-border)}.tfu-file__thumb img{width:100%;height:100%;object-fit:contain}.tfu-file__ext{font-weight:700;font-size:.8em;color:var(--tfu-muted);background:#fff;padding:.2em .45em;border-radius:4px}.tfu-file__main{min-width:0}.tfu-file__top{display:flex;gap:.6em;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.tfu-file__info{display:flex;flex-direction:column;min-width:0;flex:1 1 160px}.tfu-file__name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tfu-file__meta{font-size:.85em;color:var(--tfu-muted)}.tfu-file__actions{display:flex;gap:.35em;flex-wrap:wrap}.tfu-file__upload{margin-top:.6em}.tfu-file.is-done .tfu-file__upload{display:none}.tfu-file__progress-text{display:block;font-size:.85em;color:var(--tfu-muted);margin-top:.3em}.tfu-file.is-failed .tfu-file__progress-text{color:var(--tfu-red);font-weight:500}.tfu-progress{height:8px;border-radius:99px;background:rgba(0,0,0,.08);overflow:hidden}.tfu-progress__bar{display:block;height:100%;width:0;background:var(--tfu-accent);transition:width .2s}.tfu-file.is-analyzing .tfu-progress__bar{width:100% !important;background:linear-gradient(90deg,var(--tfu-accent) 0 40%,color-mix(in srgb,var(--tfu-accent) 35%,#fff) 50%,var(--tfu-accent) 60%) 0 0/200% 100%;animation:tfu-pulse 1.2s linear infinite}@keyframes tfu-pulse{to{background-position:-200% 0}}.tfu-size{margin-top:.8em}.tfu-size__title{display:block;font-weight:600;font-size:.9em;margin-bottom:.35em}.tfu-size__row{display:flex;align-items:flex-end;gap:.5em;flex-wrap:wrap}.tfu-size__field{display:flex;flex-direction:column;font-size:.8em;color:var(--tfu-muted);gap:.2em;margin:0}.tfu-size__input{width:6.5em;min-height:40px;padding:.35em .5em;font:inherit;font-size:1rem;color:inherit;border:1px solid var(--tfu-border);border-radius:6px}.tfu-size__unit{min-height:40px;padding:.3em .4em;font:inherit;font-size:1rem;border:1px solid var(--tfu-border);border-radius:6px}.tfu-size__x{padding-bottom:.55em;color:var(--tfu-muted)}.tfu-size__lock{display:inline-flex;align-items:center;gap:.4em;margin-top:.45em;font-size:.9em;cursor:pointer}.tfu-quality{margin-top:.8em;padding:.75em;border-radius:8px;background:var(--tfu-bg)}.tfu-quality__head{display:flex;align-items:center;gap:.6em;flex-wrap:wrap}.tfu-quality__dpi{font-size:.95em}.tfu-quality__max{font-size:.88em;margin-top:.45em}.tfu-quality__max ul{list-style:none;margin:.15em 0 0;padding:0}.tfu-quality__note{font-size:.8em;color:var(--tfu-muted);margin:.5em 0 0}.tfu-quality__foot{display:flex;align-items:center;gap:.8em;margin-top:.6em;flex-wrap:wrap}.tfu-link{background:0 0;border:0;padding:0;color:var(--tfu-accent);text-decoration:underline;cursor:pointer;font:inherit;font-size:.9em}.tfu-badge{display:inline-block;padding:.25em .65em;border-radius:99px;font-size:.82em;font-weight:600;line-height:1.3}.tfu-badge:before{content:"";display:inline-block;width:.6em;height:.6em;border-radius:50%;background:currentColor;margin-right:.4em;vertical-align:.05em}.tfu-badge--green{color:var(--tfu-green);background:var(--tfu-green-bg)}.tfu-badge--yellow{color:var(--tfu-yellow);background:var(--tfu-yellow-bg)}.tfu-badge--red,.tfu-badge--error{color:var(--tfu-red);background:var(--tfu-red-bg)}.tfu-badge--manual{color:var(--tfu-blue);background:var(--tfu-blue-bg)}.tfu-badge--pending{color:var(--tfu-muted);background:rgba(0,0,0,.06)}.tfu-issues{list-style:none;margin:.55em 0 0;padding:0;display:grid;gap:.35em}.tfu-issue{display:flex;gap:.5em;align-items:baseline;font-size:.88em;line-height:1.45;padding:.45em .6em;border-radius:6px;background:#fff;border-left:3px solid var(--tfu-border)}.tfu-issue--warning{border-left-color:#d99a00}.tfu-issue--critical,.tfu-issue--block{border-left-color:var(--tfu-red)}.tfu-issue--manual{border-left-color:var(--tfu-blue)}.tfu-basis{flex:0 0 auto;font-size:.78em;font-weight:600;text-transform:uppercase;letter-spacing:.03em;padding:.1em .4em;border-radius:4px;background:rgba(0,0,0,.06);color:var(--tfu-muted)}.tfu-basis--estimated{background:var(--tfu-yellow-bg);color:var(--tfu-yellow)}.tfu-facts{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:.2em .8em;margin:.6em 0 0;font-size:.85em}.tfu-facts dt{color:var(--tfu-muted)}.tfu-facts dd{margin:0}.tfu-facts dd .tfu-basis{margin-left:.4em}.tfu__accept{display:flex;gap:.55em;align-items:flex-start;margin:.9em 0 0;padding:.7em .9em;border-radius:8px;background:var(--tfu-red-bg);color:var(--tfu-red);font-size:.92em;cursor:pointer}.tfu__accept input{margin-top:.2em}.tfu-noscroll{overflow:hidden}.tfu-overlay{position:fixed;inset:0;z-index:999999;background:rgba(15,18,25,.72);display:flex;align-items:center;justify-content:center;padding:2vh 2vw}.tfu-preview{width:min(1100px,100%);max-height:96vh;display:flex;flex-direction:column;background:#fff;color:#1d1d1f;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35);font-family:inherit}.tfu-preview__bar{display:flex;align-items:center;gap:.6em;padding:.6em .8em;border-bottom:1px solid rgba(0,0,0,.1);flex-wrap:wrap}.tfu-preview__title{flex:1 1 160px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tfu-preview__tools{display:flex;align-items:center;gap:.35em;flex-wrap:wrap}.tfu-preview__zoom{min-width:3.6em;text-align:center;font-variant-numeric:tabular-nums;font-size:.9em}.tfu-preview__bg{display:inline-flex;gap:.25em;margin-left:.4em}.tfu-preview__bg [aria-pressed=true]{border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.tfu-preview__close{width:40px;height:40px;border:0;background:0 0;font-size:26px;line-height:1;cursor:pointer;border-radius:8px;color:inherit}.tfu-preview__close:hover{background:rgba(0,0,0,.06)}.tfu-preview__stage{flex:1 1 auto;min-height:45vh;height:60vh;overflow:auto;display:flex;cursor:grab;touch-action:pan-x pan-y pinch-zoom}.tfu-preview__stage.is-dragging{cursor:grabbing}.tfu-preview__canvas{margin:auto;padding:16px}.tfu-preview__img{display:block;max-width:none;height:auto;user-select:none;-webkit-user-drag:none;outline:1px dashed rgba(127,127,127,.55)}.tfu-preview__none{margin:auto;padding:2em;text-align:center;color:#555}.tfu-bg--checker{background:repeating-conic-gradient(#d9d9d9 0 25%,#fff 0 50%) 0 0/20px 20px}.tfu-bg--white{background:#fff}.tfu-bg--black{background:#111}.tfu-preview__info{padding:.7em 1em .9em;border-top:1px solid rgba(0,0,0,.1);max-height:28vh;overflow:auto;font-size:.92em}.tfu-preview__info p{margin:0 0 .4em}.tfu-preview__disclaimer{font-size:.85em;color:#555;font-style:italic}.tfu-swatch--black{background:#111;color:#fff}.tfu-replace-page{padding:2em 1em}.tfu-replace{max-width:760px;margin:0 auto}.tfu-replace__msg{border-left:4px solid rgba(0,0,0,.2);margin:1em 0;padding:.5em 1em;background:rgba(0,0,0,.03)}.tfu-replace__result.is-success{padding:1em;border-radius:8px;background:#e7f6ec;color:#157f3b;font-weight:600}@media (max-width:560px){.tfu-file{grid-template-columns:64px 1fr;gap:.7em;padding:.75em}.tfu-file__thumb{width:64px;height:64px}.tfu-file__actions{width:100%}.tfu-size__input{width:5.5em}.tfu-preview{height:100%;max-height:100%;border-radius:0}.tfu-preview__stage{flex:1 1 auto}.tfu-overlay{padding:0}.tfu-preview__stage{height:52vh}.tfu-facts{grid-template-columns:1fr}.tfu-facts dd{margin-bottom:.3em}}@media (prefers-reduced-motion:reduce){.tfu-progress__bar,.tfu__drop{transition:none;animation:none !important}}