[hidden]{display:none!important}
:root{
  --cream:#fbf8f2;--paper:#fffdf9;--ink:#0f1720;--muted:#71819a;--green:#148f4d;--green-2:#2fa15f;--green-soft:#ecf8ef;--green-line:#7ec899;--pink:#ef6f8a;--pink-soft:#fff0f2;--line:#e8e3da;--shadow:0 14px 38px rgba(60,52,42,.07);--space-1:6px;--space-2:10px;--space-3:14px;--space-4:18px;--space-5:24px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--cream)}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}.fileinput{display:none}.tpx-shell{width:min(1560px,calc(100% - 56px));margin-inline:auto}
.tpx-page:before,.tpx-page:after{content:"";position:fixed;z-index:-1;border-radius:999px;pointer-events:none}.tpx-page:before{width:180px;height:180px;left:-105px;top:-55px;background:#eaf0dc;opacity:.75}.tpx-page:after{width:300px;height:300px;right:-155px;bottom:-115px;background:#e9f1dd;opacity:.85}

/* header */
.tpx-header{height:92px;border-bottom:1px solid rgba(227,220,211,.78);background:rgba(251,248,242,.94)}
.tpx-nav{height:100%;display:grid;grid-template-columns:350px 1fr 290px;align-items:center;gap:20px}
.tpx-brand{display:flex;align-items:center;gap:12px;min-width:0}.tpx-brand-mark{width:58px;height:58px;display:block;flex:none;transform-origin:50% 90%;transition:filter .2s ease}.tpx-brand-copy{display:grid;line-height:1}.tpx-wordmark{font-family:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif;font-size:37px;font-weight:750;letter-spacing:-.045em}.tpx-wordmark>span{color:var(--green)}.tpx-tagline{display:flex;align-items:center;gap:7px;margin-top:8px;color:#7f8da0;font-family:"Segoe Print","Bradley Hand",cursive;font-size:13px;font-weight:600;letter-spacing:.01em;white-space:nowrap}.tpx-tagline:before{content:"";width:16px;height:2px;border-radius:99px;background:var(--green);opacity:.7;transform:rotate(-5deg)}.tpx-tagline .tagline-main{color:#75859a}.tpx-tagline .tagline-joy{color:#cc6176;position:relative}.tpx-tagline .tagline-joy:after{content:"";position:absolute;left:1px;right:1px;bottom:-4px;height:5px;border-top:1.5px solid currentColor;border-radius:50%;opacity:.48;transform:rotate(-2deg)}.tpx-links{display:flex;justify-content:center;gap:10px}.tpx-links a{padding:12px 18px;border-radius:20px;color:#60728d;font-size:15px;font-weight:600}.tpx-links a.active,.tpx-links a:hover{background:#eef7eb;color:#0f2318}.tpx-auth{justify-self:end;display:flex;align-items:center;gap:8px}.tpx-account,.tpx-signout{display:inline-flex;align-items:center;justify-content:center;height:38px;min-height:0;border:1px solid #e3ded6;background:#fff;border-radius:12px;padding:0 14px;font-size:14px;line-height:1;font-weight:650;white-space:nowrap}.tpx-account:hover,.tpx-signout:hover{background:#fffdfa;border-color:#d8d0c6}
@keyframes rattie-happy{0%,100%{transform:translateY(0) rotate(0) scale(1)}22%{transform:translateY(-3px) rotate(-6deg) scale(1.04)}46%{transform:translateY(-1px) rotate(5deg) scale(1.04)}68%{transform:translateY(-2px) rotate(-3deg) scale(1.02)}}
.tpx-brand:hover .tpx-brand-mark{animation:rattie-happy .7s ease-in-out;filter:drop-shadow(0 7px 9px rgba(93,60,54,.18))}
@media (prefers-reduced-motion:reduce){.tpx-brand:hover .tpx-brand-mark{animation:none}}

/* main three-column composition */
.tpx-hero{padding:24px 0 0;position:relative}.tpx-stage{display:grid;grid-template-columns:440px minmax(560px,1fr) 390px;gap:18px;align-items:stretch}
.tpx-story{height:612px;position:relative;overflow:hidden;padding:12px 6px 0 0}.tpx-story-copy{position:relative;z-index:2;padding-left:4px}.tpx-kicker{text-transform:uppercase;letter-spacing:.14em;color:var(--green);font-size:11px;font-weight:800}.tpx-story h1{margin:13px 0 12px;font-family:var(--tp-font);font-size:49px;line-height:.99;letter-spacing:-.045em;font-weight:760}.tpx-story h1 em{font-style:normal;color:var(--green)}.tpx-story p{margin:0;width:96%;color:#74839a;font-size:17px;line-height:1.48}.tpx-story p strong{color:#2f6f47;font-weight:760}.tpx-privacy-line{display:block;margin-top:var(--space-1);color:#556878;font-weight:650}.tpx-rattie-art{position:absolute;left:-12px;bottom:-4px;width:455px;max-width:106%;height:auto;display:block;filter:drop-shadow(0 10px 20px rgba(89,64,58,.05));pointer-events:none}

/* uploader */
.tpx-workspace,.tpx-settings{height:612px;background:rgba(255,255,255,.88);border:1px solid #e8e2da;border-radius:24px;box-shadow:var(--shadow)}
.tpx-workspace{padding:14px;display:flex;flex-direction:column;min-width:0}.tpx-dropzone{height:364px;border:1.8px dashed #69b786;border-radius:19px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(253,255,252,.96));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px 24px;cursor:pointer;transition:.18s ease}.tpx-dropzone:hover,.tpx-dropzone.drag,.tpx-dropzone:focus-within{background:#f8fff9;border-color:#30975e}.tpx-upload-icon{width:72px;height:72px;color:var(--green);margin-bottom:12px}.tpx-upload-icon svg{width:100%;height:100%}.tpx-dropzone h2{margin:0;font-size:28px;letter-spacing:-.035em;font-weight:760}.tpx-dropzone>p{margin:6px 0 0;color:#607087;font-size:16px}.tpx-support{display:grid;gap:3px;margin-top:var(--space-3);color:#607087;font-size:12px;line-height:1.4}.tpx-support span{display:block}.tpx-support strong{color:#607087;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;margin-right:6px}.tpx-select{margin-top:var(--space-4);width:min(345px,84%);min-height:56px;border:0;border-radius:20px;background:linear-gradient(180deg,#20864b,#148046);color:white;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 12px 24px rgba(20,143,77,.16)}.tpx-select:hover{transform:translateY(-1px)}.tpx-select svg{width:23px;height:23px}.tpx-select:focus-visible,.tpx-reset:focus-visible,.tpx-compress:focus-visible{outline:3px solid rgba(20,143,77,.3);outline-offset:3px}
.tpx-paste-hint{margin-top:8px;color:#607087;font-size:11.5px;line-height:1.4}.tpx-paste-hint kbd{display:inline-block;min-width:18px;padding:1px 4px;border:1px solid #dfe3e5;border-bottom-color:#cbd1d4;border-radius:5px;background:#fff;color:#607087;font-family:inherit;font-size:10.5px;font-weight:600;line-height:1.3;box-shadow:0 1px 0 rgba(15,23,32,.04)}
.tp-preview-strip{margin-top:13px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-height:194px}.tp-preview-strip:empty{display:none}.tp-preview-item,.tp-add-more{border:1px solid #eee7de;border-radius:15px;background:#fbf9f6;min-width:0;position:relative;padding:6px;align-self:stretch}.tp-preview-item img{width:100%;height:106px;object-fit:cover;border-radius:11px;display:block}.tp-preview-item strong{display:block;font-size:12px;margin:6px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tp-preview-item span{display:block;font-size:11px;color:#8290a3;margin:2px 4px}.tp-add-more{border:0;display:grid;place-items:center;text-align:center;color:#6d7a91;cursor:pointer}.tp-add-more b{font-size:34px;font-weight:400;color:var(--green);line-height:1}.tp-add-more span{font-size:13px;line-height:1.25;margin-top:5px}.tp-preview-wrap{margin:0}.tp-preview-remove{position:absolute;right:0;top:0;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;isolation:isolate;display:grid;place-items:center;color:#37483f;font-size:20px;line-height:1;font-weight:400;cursor:pointer;touch-action:manipulation}
.tp-preview-remove::before{content:"";position:absolute;inset:7px;z-index:-1;pointer-events:none;border:1px solid #ffffffb3;border-radius:50%;background:rgba(255,253,249,.82);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 5px #203e2d1c;transition:background .18s,border-color .18s,box-shadow .18s}
.tp-preview-remove:hover,.tp-preview-remove:focus-visible{color:#8d3e51}
.tp-preview-remove:hover::before,.tp-preview-remove:focus-visible::before{background:rgba(255,242,245,.94);border-color:#dbadb9;box-shadow:0 2px 7px #743d4b20}
.tp-preview-remove:focus-visible{outline:3px solid #315fdb;outline-offset:1px}
@media(prefers-reduced-motion:reduce){.tp-preview-remove::before{transition:none}}


/* settings */
.tpx-settings{padding:var(--space-5) var(--space-5) var(--space-4);display:flex;flex-direction:column;position:relative;overflow:hidden}.tpx-settings:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--green),#e8c2ca)}.tpx-settings-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.tpx-settings-title{display:flex;align-items:center;gap:var(--space-2);min-width:0}.tpx-settings-title svg{width:22px;height:22px;flex:none}.tpx-settings h2{margin:0;font-size:19px;letter-spacing:-.02em;font-weight:750;white-space:nowrap}.tpx-reset{border:0;background:none;color:#567161;font-size:12.5px;font-weight:650;padding:6px 4px}.tpx-reset:hover{color:var(--green)}.tpx-control{margin-top:var(--space-3)}.tpx-control>label{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700}.tpx-control>label strong{font-size:20px}.range{width:100%;margin:var(--space-2) 0 0;accent-color:var(--green)}.tpx-range-labels{display:flex;justify-content:space-between;margin-top:var(--space-1);color:#8290a4;font-size:10.5px}.tpx-help{margin-top:var(--space-1);color:#607087;font-size:11.5px;line-height:1.4}.tpx-secondary-settings{margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid #e7e4df}.tpx-output-control{margin-top:0}.tpx-option-list{margin-top:var(--space-2);border-top:1px solid #eee9e2}.help-dot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid #aeb8c6;color:#7a889d;font-size:11px;margin-left:6px}.tpx-format-pills{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:13px}.format-pill{height:52px;border-radius:13px;border:1px solid #e1e2e3;background:#fff;color:#17212f;font-size:13px;font-weight:650}.format-pill.active{background:#effaf1;border-color:#79c591;color:#153b25}.tpx-option-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-3);align-items:center;padding:8px 0;border-bottom:1px solid #eee9e2}.tpx-option-row:last-child{border-bottom:0}.tpx-option-row strong{font-size:13.5px}.tpx-option-row strong span:not([id]){font-weight:600;color:#738197}.tpx-option-row p{margin:3px 0 0;color:#607087;font-size:11px;line-height:1.3}.future-toggle{width:44px;height:26px;border:0;border-radius:999px;background:#d5d9da;position:relative;flex:none}.future-toggle:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 1px 4px rgba(0,0,0,.14)}.tpx-compress{width:100%;height:52px;margin-top:var(--space-3);border:0;border-radius:17px;background:linear-gradient(180deg,#21a356,#0c8747);color:#fff;display:flex;align-items:center;justify-content:center;gap:var(--space-2);font-size:16px;font-weight:750;box-shadow:0 12px 24px rgba(20,143,77,.15)}.tpx-compress:hover{transform:translateY(-1px)}.tpx-compress svg{width:22px;height:22px}
.tpx-mode{border:0;padding:0;margin:var(--space-3) 0 0;min-width:0}.tpx-mode legend{font-size:12px;font-weight:700;color:#647266;margin-bottom:var(--space-1)}.tpx-mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-1)}.tpx-mode-tabs label{min-width:0}.tpx-mode-tabs input{position:absolute;opacity:0;pointer-events:none}.tpx-mode-tabs span{height:38px;border:1px solid #e1e2e3;border-radius:11px;background:#fff;display:grid;place-items:center;text-align:center;padding:0 3px;font-size:11px;line-height:1.15;font-weight:700;cursor:pointer}.tpx-mode-tabs input:checked+span{background:#effaf1;border-color:#79c591;color:#153b25;box-shadow:inset 0 0 0 1px rgba(20,143,77,.08)}.tpx-mode-tabs input:focus-visible+span{outline:3px solid rgba(20,143,77,.28);outline-offset:2px}.tpx-mode-tabs input:disabled+span{color:#7e8980;background:#fafbf9;border-style:dashed;cursor:not-allowed}.tpx-mode-panel{margin-top:var(--space-2)}.tpx-mode-note{margin:0;padding:var(--space-2) var(--space-3);background:#f5f8f4;border-radius:12px;color:#657168;font-size:11.5px;line-height:1.4}.tpx-mode-note strong{color:#385340}.tpx-target{margin-top:var(--space-3)}.tpx-target-row{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px;margin-top:var(--space-2)}.tpx-target-row input,.tpx-target-row select{width:100%;height:43px;border:1px solid #dce0dc;border-radius:11px;background:#fff;color:var(--ink);font:650 14px inherit;padding:0 12px}.tpx-target-row input:focus-visible,.tpx-target-row select:focus-visible{outline:3px solid rgba(20,143,77,.22);border-color:#6dbd84}.tpx-target-row input[aria-invalid="true"]{border-color:#b6533d}.tpx-inline-error{min-height:0;color:#a8422a;font-size:11.5px;line-height:1.35;margin-top:6px}.tpx-inline-error:empty{display:none}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.tpx-switch{display:block;position:relative;width:48px;height:28px;flex:none;cursor:pointer}.tpx-switch input{position:absolute;opacity:0;inset:0}.tpx-switch>span{display:block;width:100%;height:100%;border-radius:999px;background:#d5d9da;transition:.18s}.tpx-switch>span:after{content:"";position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 1px 4px rgba(0,0,0,.14);transition:.18s}.tpx-switch input:checked+span{background:var(--green)}.tpx-switch input:checked+span:after{transform:translateX(20px)}.tpx-switch input:focus-visible+span{outline:3px solid rgba(20,143,77,.28);outline-offset:2px}.tpx-resize-panel{padding:10px 12px 12px;border:1px solid #dce8de;border-radius:12px;background:#f7faf7}.tpx-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tpx-dimensions label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center;color:#647266;font-size:11px;font-weight:700}.tpx-dimensions input{grid-column:1;width:100%;height:39px;border:1px solid #dce0dc;border-radius:10px;background:#fff;color:var(--ink);font:650 14px inherit;padding:0 9px}.tpx-dimensions label>span{grid-column:2}.tpx-dimensions input:focus-visible,.tpx-check input:focus-visible{outline:3px solid rgba(20,143,77,.22);outline-offset:2px}.tpx-dimensions input[aria-invalid="true"]{border-color:#b6533d}.tpx-check{display:flex;align-items:center;gap:7px;margin-top:9px;color:#46544a;font-size:12px;font-weight:650}.tpx-check input{accent-color:var(--green)}.tpx-enlarge-warning{margin-top:9px;padding:8px 9px;border:1px solid #efdbb7;border-radius:9px;background:#fff6e7;color:#71562b;font-size:11.5px;line-height:1.35}.tpx-enlarge-warning .tpx-check{margin-top:6px}.tpx-settings:has(#manualResize:checked){overflow-y:auto}

/* Free Home: one editorial showcase, using the existing Pro illustration. */
.tpx-pro-card{display:grid;gap:24px;margin-top:0;padding:30px 32px 26px;border:1px solid #c4d9ca;border-radius:26px;background:var(--paper);box-shadow:0 12px 32px rgba(35,67,46,.06)}
.tpx-pro-card-hero{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:36px;align-items:center}
.tpx-pro-card-visual{display:grid;align-items:end;min-width:0;padding:8px 8px 0;border-radius:20px;background:var(--green-soft);border-bottom:2px solid #d4e6d9}
.tpx-pro-card-art{display:block;width:100%;height:auto;object-fit:contain}
.tpx-pro-card-copy{min-width:0}
.tpx-pro-card .tpx-pro-card-eyebrow{color:#237646}
.tpx-pro-card-eyebrow{display:block;color:var(--green);font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.tpx-pro-card h2{max-width:24ch;margin:12px 0 14px;font-size:clamp(32px,3.3vw,48px);line-height:1.06;letter-spacing:-.04em;font-weight:750;text-wrap:balance}
.tpx-pro-card h2 span{color:#237646}
.tpx-pro-card p{max-width:66ch;margin:0;color:#526259;font-size:16px;line-height:1.55}
.tpx-pro-benefits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.tpx-pro-benefits li{min-width:0;padding:16px 14px;border:1px solid #e1e8df;border-radius:14px;background:#f8faf6}
.tpx-pro-benefits h3{margin:0 0 6px;color:#263e30;font-size:14px;line-height:1.35;font-weight:750}
.tpx-pro-benefits p{font-size:13px;line-height:1.45}
.tpx-pro-card-action{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;border-top:1px solid #e1e8df}
.tpx-pro-card-action p{font-size:14px}
.tpx-pro-card-action strong{color:#263e30;font-weight:750}
.tpx-pro-card-action small{display:block;margin-top:3px;color:#526259;font-size:12px;line-height:1.5}
.tpx-pro-card-link{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:13px 22px;flex-shrink:0;border:1px solid #176435;border-radius:999px;background:#1e7f45;color:#fff;font-size:14px;font-weight:750;box-shadow:0 5px 12px rgba(35,121,67,.12);transition:background .18s ease,box-shadow .18s ease}
.tpx-pro-card-link:hover{background:#176435;box-shadow:0 7px 16px rgba(35,121,67,.16)}
.tpx-pro-card-link:focus-visible{outline:3px solid #315fdb;outline-offset:4px}
.tpx-pro-card+.tpx-features{margin-top:36px}
@media(max-width:1024px){.tpx-pro-card{gap:22px;padding:26px}.tpx-pro-card-hero{grid-template-columns:180px minmax(0,1fr);gap:26px}.tpx-pro-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.tpx-pro-card{padding:22px;gap:20px}.tpx-pro-card-hero{grid-template-columns:140px minmax(0,1fr);gap:20px}.tpx-pro-card h2{font-size:32px}.tpx-pro-card p{font-size:14px}.tpx-pro-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.tpx-pro-benefits p{font-size:13px}.tpx-pro-card-action{align-items:flex-start;flex-direction:column;gap:16px}.tpx-pro-card-link{width:100%}}
@media(max-width:520px){.tpx-pro-card{padding:20px 18px;border-radius:22px}.tpx-pro-card-hero{grid-template-columns:minmax(0,1fr);gap:18px}.tpx-pro-card-copy{grid-row:1}.tpx-pro-card-visual{width:min(100%,180px);justify-self:center}.tpx-pro-card h2{font-size:clamp(30px,8vw,36px)}.tpx-pro-benefits li{padding:13px 11px}.tpx-pro-benefits li:last-child{grid-column:1/-1}.tpx-pro-card+.tpx-features{margin-top:32px}}
@media(max-width:360px){.tpx-pro-benefits{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.tpx-pro-card-link{transition:none}}

/* Rattie demonstrates the three core benefits in one shared Features section. */
.tpx-features{margin-block:64px 60px;padding-top:12px;scroll-margin-top:18px}
.tpx-features-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:26px}
.tpx-feature-eyebrow{font-size:13px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;font-weight:750;color:var(--green)}
.tpx-features-heading h2{font-size:clamp(32px,3.4vw,48px);line-height:1.06;letter-spacing:-.045em;margin:10px 0 0}
.tpx-features-heading h2 em{color:var(--green);font-style:normal}
.tpx-features-heading>p{max-width:34ch;font-size:17px;line-height:1.6;color:var(--tp-body);margin:0 0 2px}
.tpx-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tpx-feature-card{display:grid;grid-template-columns:minmax(100px,.9fr) minmax(0,1.1fr);align-items:center;gap:4px;min-width:0;padding:24px 24px 24px 6px;border:1px solid var(--line);border-radius:26px;background:var(--paper);box-shadow:var(--shadow);position:relative;overflow:hidden}
.tpx-feature-card:before{content:"";position:absolute;top:0;left:28px;right:28px;height:3px;background:#8abd98;border-radius:0 0 3px 3px}
.tpx-feature-unlimited:before{background:#e2a6b6}
.tpx-feature-art{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply;transition:transform .25s ease}
.tpx-feature-card:hover .tpx-feature-art{transform:translateY(-4px) rotate(-2deg)}
.tpx-feature-label{display:block;color:var(--green);font-size:12px;line-height:1.4;font-weight:750;margin-bottom:10px}
.tpx-feature-unlimited .tpx-feature-label{color:#b44964}
.tpx-feature-copy h3{font-size:clamp(23px,1.8vw,28px);line-height:1.1;letter-spacing:-.035em;margin:0 0 12px}
.tpx-feature-copy p{font-size:16px;line-height:1.55;color:var(--tp-body);margin:0 0 18px}
.tpx-feature-copy a,.tpx-feature-footnote{font-size:14px;line-height:1.45;font-weight:650;color:var(--tp-green-dark)}
.tpx-feature-copy a{text-decoration:underline;text-decoration-color:#b7d5be;text-underline-offset:4px}
.tpx-feature-footnote{color:#8b6c76}
@media(max-width:1180px){.tpx-feature-grid{grid-template-columns:1fr}.tpx-feature-card{grid-template-columns:190px minmax(0,1fr);gap:24px;padding:18px 30px 18px 14px}.tpx-feature-copy h3{font-size:28px}.tpx-feature-copy p{max-width:54ch}}
@media(max-width:640px){.tpx-features{margin-block:42px}.tpx-features-heading{display:block}.tpx-features-heading>p{margin-top:16px}.tpx-feature-card{grid-template-columns:110px minmax(0,1fr);gap:6px;padding:22px 18px 22px 2px;border-radius:22px}.tpx-feature-copy h3{font-size:24px}.tpx-feature-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tpx-feature-card:hover .tpx-feature-art{transform:none}.tpx-feature-art{transition:none}}

/* results/history */
.tpx-results{width:min(1180px,calc(100% - 56px));margin:30px auto 48px}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.summary{display:flex;gap:15px;flex-wrap:wrap;color:#737b76;font-size:13px}.summary b{color:var(--ink)}.result-list{display:grid;gap:12px;margin-top:14px}.result-card{display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}.result-card.is-error{border-color:#e3c2ba;background:#fffaf8}.thumb{width:68px;height:68px;object-fit:cover;border-radius:10px}.file-meta{min-width:0}.file-meta>strong{display:block;max-width:520px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.result-outcome{display:block;margin-top:5px;font-weight:750;line-height:1.15}.result-outcome b{font-size:20px;letter-spacing:-.02em}.result-outcome.is-saved{color:#1f6b36}.result-outcome.is-neutral{color:#3f4b44;font-size:15px}.result-outcome.is-larger,.result-outcome.is-error-text{color:#8d402f}.result-sizes{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;margin-top:5px;color:#68736c;font-size:12.5px}.result-sizes b{color:var(--ink)}.result-pending{margin-top:6px;color:#68736c;font-size:13px}.result-error-reason{max-width:62ch;margin:5px 0 0;color:#655c57;font-size:12.5px;line-height:1.4;overflow-wrap:anywhere}.savings{font-weight:700;color:#1f6b36}.size-larger{font-weight:700;color:#a04d38}.no-change{font-weight:650;color:#657168}.file-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.small-btn{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;font-weight:600;font-size:12px}.small-btn.download{min-width:104px;background:#18231d;color:#fff;border-color:#18231d}.small-btn:disabled{opacity:.48;cursor:not-allowed}.progress{height:6px;background:#e8ece7;border-radius:999px;overflow:hidden;margin-top:9px}.progress span{display:block;height:100%;background:var(--green);width:0}.history{margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}.history-head{display:flex;justify-content:space-between;align-items:end;gap:16px}.history-head h3{font-size:22px;margin:0}.history-note{margin:5px 0 0;color:#737b76;font-size:12.5px;line-height:1.45}.clear-history{color:#765047}.history-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:10px}.history-table th,.history-table td{text-align:left;padding:11px;border-bottom:1px solid var(--line)}.history-table th{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:#7a827d}.history-table td:first-child{max-width:440px;overflow-wrap:anywhere}.history-table small{color:#737b76}.empty-history{text-align:center!important;padding:26px!important;color:#7a827d}.history-rattie{width:34px;height:34px;display:block;margin:0 auto 7px}.studio-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#18231d;color:#fff;padding:10px 14px;border-radius:10px;font-size:12.5px;opacity:0;pointer-events:none;transition:.18s;z-index:50}.studio-toast.show{opacity:1;transform:translate(-50%,0)}

/* local before/after comparison */
.comparison-region{margin-top:16px}.comparison-card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:18px;box-shadow:0 12px 34px rgba(44,36,27,.06)}.comparison-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.comparison-head h3{font-size:20px;line-height:1.25;margin:4px 0 0;overflow-wrap:anywhere}.comparison-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.comparison-stats>div{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 12px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fbfaf7}.comparison-stats strong{font-size:13px}.comparison-stats span{font-size:18px;font-weight:750;text-align:right}.comparison-stats small{grid-column:1/-1;color:#737b76;font-size:12px}.comparison-stats b{grid-column:1/-1;color:#1f6b36;font-size:12px}.comparison-note{margin:0 0 11px;color:#675f56;font-size:12px}.comparison-stage{--split:50%;position:relative;width:100%;height:clamp(240px,52vw,560px);overflow:hidden;border:1px solid #dcd6ce;border-radius:15px;background:#eee;touch-action:none;user-select:none;cursor:ew-resize}.comparison-stage.has-checkerboard{background-color:#eee;background-image:linear-gradient(45deg,#d7d7d7 25%,transparent 25%),linear-gradient(-45deg,#d7d7d7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d7d7d7 75%),linear-gradient(-45deg,transparent 75%,#d7d7d7 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.comparison-layer{position:absolute;inset:0;display:grid;place-items:center}.comparison-layer img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.comparison-original{z-index:2;clip-path:inset(0 calc(100% - var(--split)) 0 0)}.comparison-optimized{z-index:1}.comparison-label{position:absolute;top:12px;z-index:4;padding:6px 9px;border-radius:8px;background:rgba(24,35,29,.86);color:#fff;font-size:12px;font-weight:750;box-shadow:0 2px 8px rgba(0,0,0,.18);pointer-events:none}.comparison-label-original{left:12px}.comparison-label-optimized{right:12px}.comparison-divider{position:absolute;z-index:5;top:0;bottom:0;left:var(--split);width:3px;transform:translateX(-50%);background:#fff;box-shadow:0 0 0 1px rgba(24,35,29,.32),0 0 12px rgba(0,0,0,.22);cursor:ew-resize}.comparison-handle{position:absolute;left:50%;top:50%;width:48px;height:48px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:7px;background:var(--green);color:#fff;box-shadow:0 3px 14px rgba(0,0,0,.24)}.comparison-handle b{font-size:23px;line-height:1;font-weight:500}.comparison-divider:focus-visible{outline:3px solid #17231c;outline-offset:5px}.comparison-divider:focus-visible .comparison-handle{box-shadow:0 0 0 5px rgba(255,255,255,.9),0 3px 14px rgba(0,0,0,.24)}
.target-summary{display:flex;gap:5px;align-items:baseline;flex-wrap:wrap;margin-top:7px;padding:7px 9px;border-radius:9px;background:#f4f7f4;font-size:12px;color:#5f6b63}.target-summary b{color:var(--ink)}.target-check{color:#1f6b36;font-size:15px;font-weight:800}.target-guidance{margin-top:6px;color:#71562b;font-size:11.5px;line-height:1.4}

/* footer */
.tpx-footer{border-top:1px solid rgba(230,223,214,.75);padding:17px 0 22px;background:rgba(251,248,242,.9);color:#8190a5}.tpx-footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;font-size:12px}.tpx-footer nav{display:flex;gap:22px}.tpx-footer .made{text-align:right}.tpx-footer .made b{color:var(--pink);font-size:20px;vertical-align:-2px;margin-right:6px}

/* desktop fit */
/* desktop fit — RC 1.6.2: resilient to Windows scaling / browser zoom */
@media (min-width:1181px){
  .tpx-shell{width:min(1560px,calc(100% - 36px))}
  .tpx-header{height:84px}
  .tpx-nav{grid-template-columns:minmax(250px,320px) 1fr minmax(180px,250px);gap:14px}
  .tpx-brand-mark{width:52px;height:52px}.tpx-wordmark{font-size:34px}.tpx-tagline{font-size:12px}
  .tpx-links{gap:4px}.tpx-links a{padding:10px 13px;font-size:14px}
  .tpx-account,.tpx-signout{height:38px;min-height:0;padding:0 14px}
  .tpx-hero{padding-top:16px}
  .tpx-stage{grid-template-columns:minmax(270px,.80fr) minmax(470px,1.58fr) minmax(300px,.92fr);gap:14px;align-items:stretch}
  .tpx-story,.tpx-workspace,.tpx-settings{height:auto;min-height:clamp(500px,calc(100vh - 150px),580px)}
  .tpx-story{display:flex;flex-direction:column;align-items:flex-start;padding-top:8px}.tpx-story-copy{padding-left:2px}
  .tpx-story h1{font-size:clamp(38px,3vw,47px);line-height:1;letter-spacing:-.04em;margin:10px 0 10px}
  .tpx-story p{font-size:clamp(13.5px,1.12vw,16px);line-height:1.42;max-width:34ch}
  .tpx-rattie-art{position:relative;left:auto;bottom:auto;width:min(100%,370px);max-height:none;margin-top:18px;object-fit:contain;object-position:left top}
  .tpx-workspace{padding:12px}
  .tpx-dropzone{height:auto;min-height:0;flex:1 1 auto;padding:18px 20px}
  .tpx-upload-icon{width:60px;height:60px;margin-bottom:8px}
  .tpx-dropzone h2{font-size:clamp(23px,2vw,28px)}.tpx-dropzone>p{font-size:14.5px}
  .tpx-support{margin-top:13px;font-size:12px}.tpx-select{margin-top:16px;min-height:52px;font-size:16px}
  .tp-preview-strip{min-height:142px;height:142px;margin-top:10px;gap:8px}
  .tp-preview-item img{height:78px}.tp-preview-item strong{font-size:11.5px}.tp-preview-item span{font-size:10.5px}
  .tpx-settings{padding:22px 20px 18px}.tpx-settings h2{font-size:17px}.tpx-settings-title svg{width:20px;height:20px}
  .tpx-control{margin-top:var(--space-3)}.tpx-output-control{margin-top:0}.tpx-control>label{font-size:14px}.tpx-control>label strong{font-size:19px}.range{margin-top:var(--space-2)}.tpx-help{margin-top:var(--space-1)}
  .tpx-format-pills{margin-top:10px;gap:6px}.format-pill{height:44px;font-size:12px}
  .tpx-option-row{padding:9px 0}.tpx-option-row strong{font-size:13.5px}.tpx-option-row p{font-size:11px}.future-toggle,.tpx-switch{width:44px;height:26px}.future-toggle:after,.tpx-switch>span:after{width:20px;height:20px}.tpx-switch input:checked+span:after{transform:translateX(18px)}
  .tpx-compress{height:52px;border-radius:17px;font-size:15.5px}
  .tpx-benefits{margin-top:12px;gap:12px}.tpx-benefit{height:112px;grid-template-columns:64px 1fr;padding:14px 16px}.tpx-benefit-icon{width:56px;height:56px;font-size:32px}.tpx-benefit h3{font-size:16px}.tpx-benefit p{font-size:12px}
}

/* keep the three-part workbench intact on zoomed desktop; stack only when it truly cannot fit */
@media (max-width:1180px){
  .tpx-shell{width:min(100% - 28px,980px)}
  .tpx-header{height:auto;min-height:78px}.tpx-nav{padding:12px 0;grid-template-columns:1fr auto}.tpx-links{grid-column:1/-1;order:3;justify-content:flex-start;overflow:auto}.tpx-auth{grid-column:2}.tpx-tagline{display:none}
  .tpx-stage{grid-template-columns:1fr;gap:14px}.tpx-story,.tpx-workspace,.tpx-settings{height:auto}.tpx-story{min-height:430px;padding-right:0}.tpx-story h1{font-size:46px;max-width:650px}.tpx-story p{max-width:620px}.tpx-rattie-art{width:360px;max-width:60%;right:0;left:auto}
  .tpx-workspace{min-height:520px}.tpx-dropzone{min-height:330px}.tpx-settings{min-height:0}
  .tpx-benefits{grid-template-columns:1fr}.tpx-benefit{height:auto;min-height:108px}
  .tpx-footer-inner{grid-template-columns:1fr;text-align:center}.tpx-footer .made{text-align:center}.tpx-footer nav{justify-content:center}
}

/* compact desktop mode for short effective viewports caused by OS scaling/browser zoom */
@media (min-width:1181px) and (max-height:760px){
  .tpx-hero{padding-top:8px}.tpx-story,.tpx-workspace,.tpx-settings{height:auto;min-height:490px}
  .tpx-story{display:flex;flex-direction:column;align-items:flex-start}.tpx-story h1{font-size:38px}.tpx-story p{font-size:13.5px}.tpx-rattie-art{position:relative;left:auto;bottom:auto;width:min(100%,300px);max-height:none;margin-top:18px}
  .tpx-dropzone{padding:13px 18px}.tpx-upload-icon{width:50px;height:50px}.tpx-dropzone h2{font-size:23px}.tpx-support{margin-top:9px}.tpx-select{margin-top:12px;min-height:48px}
  .tp-preview-strip{height:128px;min-height:128px}.tp-preview-item img{height:66px}
  .tpx-settings{padding:14px 16px 12px}.tpx-settings h2{font-size:16px}.tpx-mode{margin-top:8px}.tpx-mode legend{margin-bottom:3px}.tpx-mode-tabs span{height:32px}.tpx-settings .tpx-control{margin-top:8px}.tpx-settings .tpx-output-control{margin-top:0}.tpx-settings .range{margin-top:7px}.tpx-settings .tpx-range-labels{margin-top:3px}.tpx-settings .tpx-help{margin-top:4px;line-height:1.3}.tpx-settings .tpx-secondary-settings{margin-top:8px;padding-top:8px}.tpx-settings .tpx-output-select{height:40px;margin-top:7px}.format-pill{height:40px}.tpx-settings .tpx-option-list{margin-top:6px}.tpx-settings .tpx-option-row{padding:5px 0}.tpx-option-row p{display:none}.tpx-settings .tpx-compress{height:44px;margin-top:7px}
  .tpx-benefit{height:96px}.tpx-benefit-icon{width:50px;height:50px}.tpx-benefit p{line-height:1.25}
}

/* Keep the workbench within the same responsive page bounds. */
.tpx-tool-copy{max-width:1180px;margin-block:36px 48px}
.tpx-tool-copy h2{font-size:clamp(24px,2.4vw,32px);line-height:1.2;letter-spacing:-.035em;margin:0 0 16px}
.tpx-tool-copy p{max-width:82ch;font-size:16px;line-height:1.65;color:var(--tp-body);margin:12px 0}
.tpx-tool-links{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;max-width:1180px;margin:28px auto 42px;padding-top:18px;border-top:1px solid var(--line);color:#607064;font-size:13px}
.tpx-tool-links-label{font-weight:800;color:#415548;margin-right:3px}
.tpx-tool-links a{padding:4px 8px;border-radius:8px;color:var(--green-dark);font-weight:750;transition:background .18s,color .18s}
.tpx-tool-links a:hover,.tpx-tool-links a[aria-current="page"]{background:var(--green-soft);color:#173a23}
.tpx-tool-links a:focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:1180px){
 .tpx-tool-page .tpx-story{min-height:0;padding-block:8px 18px;padding-right:180px}
 .tpx-tool-page .tpx-rattie-art{width:150px;max-width:100%;max-height:100%;object-fit:contain;bottom:0}
 .tpx-tool-links{margin-inline:16px}
}
@media(max-width:640px){
 .tpx-tool-page .tpx-story{padding-right:0}
 .tpx-tool-page .tpx-rattie-art{display:none}
 .tpx-tool-page .tpx-story h1{font-size:36px}
 .tpx-tool-links a{padding:5px 7px}
}
.history-scroll{max-width:100%;overflow-x:auto}
.tpx-output-select{width:100%;min-width:0;height:44px;margin-top:12px;padding:0 12px;border:1px solid #79c591;border-radius:13px;background:#effaf1;color:#153b25;font:inherit;font-weight:650}.tpx-output-select:focus-visible{outline:3px solid rgba(20,143,77,.28);outline-offset:2px}
.history-table{min-width:540px}
@media(max-width:640px){
 .tpx-stage{min-width:0}.tpx-story{min-height:0;padding:8px 0 24px}.tpx-story h1{font-size:40px}.tpx-story p{font-size:16px}
 .tpx-rattie-art{position:relative;display:block;left:auto;right:auto;bottom:auto;margin:18px auto 0;width:230px;max-width:70%}
 .tpx-workspace{padding:10px}.tpx-dropzone{padding:24px 16px}.tpx-dropzone h2{font-size:25px}.tpx-select{width:100%;font-size:16px}
 .tp-preview-strip{grid-template-columns:repeat(2,minmax(0,1fr));height:auto}
 .tpx-settings{padding:22px 18px}.tpx-settings h2{font-size:16px;white-space:normal}.tpx-settings-head{gap:8px}.tpx-settings-title{gap:8px}.tpx-settings-title svg{flex:none}.tpx-reset{font-size:14px}
 .tpx-mode-tabs span{font-size:11.5px;padding-inline:3px}.tpx-target-row{grid-template-columns:minmax(0,1fr) 76px}
 .tpx-format-pills{gap:6px}.format-pill{font-size:12px}.tpx-settings .tpx-option-row strong{font-size:14px}.tpx-secondary-settings{margin-top:var(--space-3);padding-top:var(--space-3)}.tpx-compress{margin-top:var(--space-3)}
 .tpx-benefit{grid-template-columns:48px minmax(0,1fr);padding:18px;gap:14px}.tpx-benefit-icon{width:48px;height:48px}.tpx-benefit h3{font-size:18px}.tpx-benefit p{font-size:14px}
 .tpx-results{width:calc(100% - 28px)}.toolbar{align-items:stretch}.toolbar>.file-actions{width:100%}.toolbar>.file-actions .download{flex:1}.summary{gap:8px 12px}.result-card{grid-template-columns:52px minmax(0,1fr);gap:10px;padding:12px}.thumb{width:52px;height:52px}.result-card .file-actions{grid-column:1/-1;flex-wrap:wrap}.result-card .file-actions .download{flex:1;min-width:120px}.file-meta>strong{max-width:100%}.result-outcome b{font-size:19px}.result-sizes{font-size:12px}
 .comparison-card{padding:12px;border-radius:16px}.comparison-head h3{font-size:17px}.comparison-stats{grid-template-columns:1fr;margin:12px 0}.comparison-stats>div{padding:10px 12px}.comparison-stage{height:clamp(230px,72vw,420px);border-radius:12px}.comparison-label{top:8px;font-size:11px}.comparison-label-original{left:8px}.comparison-label-optimized{right:8px}.comparison-handle{width:44px;height:44px}
 .history-head{align-items:flex-start;gap:12px}.history-head h3{font-size:21px}.history-note{max-width:28ch}.history-scroll{overflow:visible}.history-table{min-width:0;margin-top:14px}.history-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.history-table,.history-table tbody,.history-table tr,.history-table td{display:block;width:100%}.history-table tr{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;padding:12px 0;border-bottom:1px solid var(--line)}.history-table td{display:grid;grid-template-columns:auto 1fr;gap:8px;padding:0;border:0;text-align:right}.history-table td:before{content:attr(data-label);color:#7a827d;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;text-align:left}.history-table td:first-child{display:block;grid-column:1/-1;max-width:none;text-align:left}.history-table td:first-child:before{display:none}.history-table td:first-child small{display:block;margin-top:3px}.history-table .empty-history{display:block;grid-column:1/-1;width:100%;border:0;padding:22px 8px!important;text-align:center!important}.history-table .empty-history:before{display:none}
}
@media(max-width:430px){.history-head{display:grid;grid-template-columns:minmax(0,1fr) auto}.history-head .clear-history{padding-inline:8px}.history-table tr{grid-template-columns:1fr}.result-card .file-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.result-card.is-error .file-actions{display:flex}.target-summary{gap:4px;font-size:11.5px}}
@media(min-width:1181px){.tpx-mode{margin-top:12px}.tpx-mode legend{margin-bottom:5px}.tpx-mode-tabs span{height:34px}.tpx-settings .tpx-control{margin-top:12px}.tpx-settings .tpx-output-control{margin-top:0}.tpx-settings .tpx-option-row{padding:7px 0}.tpx-settings .tpx-option-row p{font-size:11px}.tpx-settings .tpx-compress{height:50px}}
/* Keep expanded input/output copy clear of the existing tablet artwork. */
@media (min-width:641px) and (max-width:1180px){.tpx-page:not(.tpx-tool-page) .tpx-rattie-art{position:relative;left:auto;right:auto;bottom:auto;display:block;margin:18px 0 0 auto}}

/* Keep every affected interactive target comfortably operable by touch and keyboard. */
.tpx-reset{min-width:44px;min-height:44px}
.tpx-mode-tabs span{height:44px;font-size:10.5px}
.range{height:44px;margin-top:var(--space-1)}
.tpx-target-row input,.tpx-target-row select{height:44px}
.tpx-switch{width:44px;height:44px}
.tpx-switch>span{position:absolute;inset:9px 0;width:44px;height:26px}
.tpx-switch>span:after{width:20px;height:20px}
.tpx-switch input:checked+span:after{transform:translateX(18px)}
.tpx-auto-size{margin:3px 0 0;color:#385340;font-size:10.5px;line-height:1.35;overflow-wrap:anywhere}
.tpx-picker-actions{display:flex;align-items:center;justify-content:center;gap:9px;width:min(480px,100%);margin-top:var(--space-4)}.tpx-picker-actions .tpx-select{width:auto;min-width:0;flex:1 1 auto;margin-top:0}.tpx-folder-select{min-height:44px;flex:0 0 auto;padding:0 13px;border:1px solid #d9e6dc;border-radius:13px;background:#fff;color:#31563e;font-size:13px;font-weight:700;white-space:nowrap}.tpx-folder-select span{margin-left:4px;color:#7b8795;font-size:11px;font-weight:600}.tpx-folder-select:disabled{cursor:not-allowed;opacity:.62}.tpx-folder-select:focus-visible{outline:3px solid rgba(20,143,77,.28);outline-offset:2px}.tpx-folder-help{margin:6px 0 0;color:#607087;font-size:10.5px;line-height:1.3;min-height:13px}
@media(max-width:600px){.tpx-picker-actions{gap:6px}.tpx-picker-actions .tpx-select{font-size:14px;gap:8px;min-height:48px}.tpx-folder-select{padding:0 10px;font-size:12px}}
@media(max-width:360px){.tpx-picker-actions{flex-direction:column}.tpx-picker-actions .tpx-select,.tpx-folder-select{width:100%;flex:none}}

.tpx-presets{margin:10px 0 4px;padding:10px 0;border-top:1px solid #e7e4df;border-bottom:1px solid #e7e4df}.tpx-preset-select-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.tpx-preset-select-row label,.tpx-preset-editor label{font-size:12px;font-weight:700}.tpx-preset-select-row select,.tpx-preset-editor input{min-width:0;width:100%;height:34px;border:1px solid #d8ddd9;border-radius:9px;background:#fff;padding:0 9px;color:#17212f;font:inherit;font-size:12px}.tpx-preset-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.tpx-preset-actions button,.tpx-preset-editor button{min-height:30px;border:1px solid #dfe5df;border-radius:8px;background:#fff;padding:4px 9px;color:#315640;font-size:11px;font-weight:650}.tpx-preset-actions button:first-child,.tpx-preset-editor button[type=submit]{border-color:#c5e0ca;background:#f1faf2}.tpx-preset-actions button:disabled{opacity:.48}.tpx-preset-editor{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:6px;margin-top:8px}.tpx-preset-editor label{grid-column:1/-1}.tpx-preset-editor input{grid-column:1/-1}.tpx-preset-status{min-height:14px;margin:5px 0 0;color:#718071;font-size:10.5px;line-height:1.3}
.tpx-auto-rules{margin-top:8px}.tpx-auto-rules-toggle{width:100%;display:flex;justify-content:space-between;border:0;background:transparent;padding:5px 0;color:#315640;font-size:12px;font-weight:700;text-align:left}.tpx-auto-rules-list{display:grid;gap:6px;margin-top:7px}.tpx-auto-rule{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid #e7eae6;border-radius:9px;background:#fff}.tpx-auto-rule-detail{display:grid;gap:2px;min-width:0}.tpx-auto-rule-detail strong{overflow-wrap:anywhere;color:#263a2e;font-size:11px}.tpx-auto-rule-detail span{color:#748276;font-size:10px;line-height:1.3;overflow-wrap:anywhere}.tpx-auto-rule-controls{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}.tpx-auto-rule-controls button,.tpx-auto-rule-create,.tpx-auto-rule-editor-actions button,.tpx-auto-rule-conflict button{min-height:28px;border:1px solid #dfe5df;border-radius:7px;background:#fff;padding:3px 7px;color:#315640;font-size:10px;font-weight:650}.tpx-auto-rule-controls button:disabled{opacity:.4}.tpx-auto-rule-enabled{display:inline-flex;align-items:center;gap:4px;color:#667668;font-size:10px;white-space:nowrap}.tpx-auto-rule-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 8px;margin-top:8px;padding:9px;border:1px solid #e6e9e5;border-radius:9px;background:#fff}.tpx-auto-rule-editor>label:not(.tpx-auto-rule-enabled){align-self:end;color:#667668;font-size:10px;font-weight:650}.tpx-auto-rule-editor>input,.tpx-auto-rule-editor>select,.tpx-auto-rule-editor #autoRuleValueWrap{min-width:0;width:100%;height:31px;border:1px solid #d8ddd9;border-radius:7px;background:#fff;padding:0 7px;color:#17212f;font:inherit;font-size:11px}.tpx-auto-rule-editor #autoRuleValueWrap{padding:0;border:0;background:transparent}.tpx-auto-rule-editor #autoRuleValueWrap input,.tpx-auto-rule-editor #autoRuleValueWrap select{width:100%;height:31px;border:1px solid #d8ddd9;border-radius:7px;background:#fff;padding:0 7px;font:inherit;font-size:11px}.tpx-auto-rule-enabled,.tpx-auto-rule-editor-actions{grid-column:1/-1}.tpx-auto-rule-editor-actions{display:flex;gap:6px}.tpx-auto-rule-create{margin-top:7px}.tpx-auto-rule-conflict{margin-top:8px;padding:9px;border:1px solid #ead8a9;border-radius:9px;background:#fffaf0}.tpx-auto-rule-conflict p{margin:0 0 7px;color:#63532d;font-size:11px;line-height:1.35}.tpx-auto-rule-conflict button:first-of-type{background:#f1faf2;border-color:#c5e0ca}
@media(max-width:430px){.tpx-auto-rule{grid-template-columns:1fr}.tpx-auto-rule-controls{justify-content:flex-start}.tpx-auto-rule-editor{grid-template-columns:minmax(0,1fr)}.tpx-auto-rule-editor>*{grid-column:1/-1}}
.tpx-bulk-rename:not([hidden]){display:grid;gap:9px;margin:10px 0 12px;padding:12px 14px;border:1px solid #dce5dc;border-radius:12px;background:#fbfdfb;color:#18261d}.tpx-bulk-rename-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.tpx-bulk-rename-heading label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600}.tpx-bulk-rename-fields{display:grid;grid-template-columns:minmax(0,1fr) 110px 140px;gap:10px}.tpx-bulk-rename-fields label{display:grid;gap:4px;min-width:0;font-size:13px;font-weight:600;color:#526158}.tpx-bulk-rename-fields input,.tpx-bulk-rename-fields select{width:100%;height:36px;min-width:0;padding:0 9px;border:1px solid #d5ddd6;border-radius:8px;background:#fff;color:#17212f;font:inherit;font-size:14px}.tpx-bulk-rename-heading input{accent-color:#287c40}.tpx-bulk-rename-preview{margin:0;color:#59665d;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.tpx-bulk-rename button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:520px){.tpx-bulk-rename-fields{grid-template-columns:minmax(0,1fr) 100px}.tpx-bulk-rename-fields label:first-child{grid-column:1/-1}.tpx-bulk-rename-heading{align-items:flex-start;flex-direction:column;gap:7px}}
.tpx-multiple-outputs{display:grid;gap:8px;margin:10px 0 12px;padding:11px 12px;border:1px solid #dce5dc;border-radius:12px;background:#fbfdfb;color:#18261d}.tpx-multiple-outputs[hidden]{display:none}.tpx-multiple-outputs-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.tpx-multiple-outputs-heading label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.tpx-multiple-outputs-heading input,.tpx-responsive-widths input{accent-color:#287c40}.tpx-multiple-outputs-note,.tpx-responsive-pack p{margin:0;color:#66746b;font-size:11px;line-height:1.4}.tpx-output-variant-list{display:grid;gap:6px}.tpx-output-variant{display:grid;grid-template-columns:minmax(72px,.6fr) minmax(80px,1fr) minmax(92px,1fr) minmax(84px,.8fr) minmax(66px,.55fr) auto;align-items:end;gap:7px;padding:8px;border:1px solid #e6ebe6;border-radius:9px;background:#fff}.tpx-output-variant>strong{align-self:center;color:#405247;font-size:11px}.tpx-output-variant label,.tpx-responsive-format{display:grid;gap:3px;min-width:0;color:#647168;font-size:10px;font-weight:650}.tpx-output-variant input,.tpx-output-variant select,.tpx-responsive-format select{width:100%;min-width:0;height:31px;border:1px solid #d8ded9;border-radius:7px;background:#fff;padding:0 6px;color:#203126;font:inherit;font-size:11px}.tpx-output-variant button,.tpx-output-actions button,.tpx-responsive-pack button{min-height:31px;border:1px solid #d6e2d7;border-radius:7px;background:#f8fcf8;padding:4px 8px;color:#315640;font-size:11px;font-weight:650}.tpx-output-variant [hidden]{display:none}.tpx-output-actions{display:flex;justify-content:flex-end}.tpx-output-variant button:disabled,.tpx-output-actions button:disabled,.tpx-responsive-pack button:disabled{opacity:.5;cursor:not-allowed}.tpx-responsive-pack{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;align-items:end;gap:8px;margin:2px 0 0;padding:8px;border:1px solid #e5e9e5;border-radius:9px;background:#fff}.tpx-responsive-pack legend{padding:0 4px;color:#405247;font-size:11px;font-weight:700}.tpx-responsive-widths{display:flex;flex-wrap:wrap;gap:5px}.tpx-responsive-widths label{display:inline-flex;align-items:center;gap:3px;min-height:26px;padding:2px 5px;border:1px solid #e4e9e4;border-radius:6px;color:#526158;font-size:10px}.tpx-responsive-format{max-width:100px}.tpx-responsive-pack p{grid-column:1/-1}.tpx-generated-variants{display:grid;gap:5px;margin-top:7px}.tpx-generated-variant{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 7px;border:1px solid #e6ebe6;border-radius:7px;background:#fbfdfb}.tpx-generated-variant>div{display:grid;gap:2px;min-width:0}.tpx-generated-variant strong{overflow-wrap:anywhere;color:#34473a;font-size:11px}.tpx-generated-variant span{color:#758177;font-size:10px;line-height:1.3}.tpx-generated-variant.is-skipped{border-color:#ece8df;background:#fcfbf8}.tpx-generated-variant .small-btn{flex:none;min-height:29px;padding-inline:9px}
@media(max-width:700px){.tpx-output-variant{grid-template-columns:repeat(2,minmax(0,1fr))}.tpx-output-variant>strong{grid-column:1/-1}.tpx-output-variant button{justify-self:end}.tpx-responsive-pack{grid-template-columns:minmax(0,1fr) auto}.tpx-responsive-widths{grid-column:1/-1}.tpx-responsive-format{grid-column:1}.tpx-responsive-pack>button{grid-column:2;grid-row:2}}
@media(max-width:420px){.tpx-multiple-outputs-heading{align-items:flex-start;flex-direction:column}.tpx-responsive-pack{grid-template-columns:minmax(0,1fr)}.tpx-responsive-format,.tpx-responsive-pack>button{grid-column:1;grid-row:auto}.tpx-generated-variant{align-items:flex-start}}
/* Advanced Metadata Control is intentionally nested under the Free removal control. */
.tpx-metadata-options{margin:10px 0 0;padding:10px 12px;border:1px solid rgba(52,105,89,.2);border-radius:12px;background:rgba(232,243,236,.52)}
.tpx-metadata-options legend{padding:0 5px;font-size:13px;font-weight:700;color:#315f51}
.tpx-metadata-options .tpx-check{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:14px}
.tpx-metadata-options p{margin:7px 0 0;color:#53615b;font-size:13px;line-height:1.45}
.tpx-automation-card{max-width:1180px;margin:32px auto 56px;padding:22px 26px;border:1px solid #bad8be;border-radius:22px;background:linear-gradient(135deg,#f1faef 0%,#fff8f9 100%);box-shadow:0 14px 34px rgba(52,114,68,.06)}
.tpx-automation-card h2{margin:5px 0 6px;font-size:clamp(24px,2.3vw,30px);letter-spacing:-.035em}
.tpx-automation-card p{margin:0;color:#5e6e65;line-height:1.5}
.tpx-automation-status{margin-top:8px!important;font-size:13px}
.tpx-automation-card pre{overflow:auto;margin:15px 0 11px;padding:13px 15px;border:1px solid #dbe8dc;border-radius:12px;background:#fff;color:#234332;font-size:13px;line-height:1.5;white-space:pre}
.tpx-automation-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}
.tpx-automation-actions a{color:#1e7f45;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.tpx-automation-actions button{min-height:36px;padding:7px 12px;border:1px solid #bad8be;border-radius:999px;background:#fff;color:#234332;font:inherit;font-weight:700;cursor:pointer}
.tpx-automation-actions button:focus-visible,.tpx-automation-actions a:focus-visible{outline:3px solid rgba(35,121,67,.34);outline-offset:3px}
@media(max-width:760px){.tpx-automation-card{margin:26px 16px 42px;padding:19px 18px}.tpx-automation-card pre{font-size:12px}}
.tpx-automation-docs{max-width:900px;padding-block:44px 60px}
.tpx-automation-docs h1{margin:8px 0 14px;font-size:clamp(34px,5vw,54px);line-height:1.05;letter-spacing:-.045em}
.tpx-automation-docs h2{margin:32px 0 10px;font-size:clamp(21px,3vw,28px);letter-spacing:-.03em}
.tpx-automation-docs p{max-width:78ch;color:#52645a;line-height:1.65}
.tpx-automation-docs pre{overflow:auto;margin:15px 0;padding:16px 18px;border:1px solid #dbe8dc;border-radius:14px;background:#fff;color:#234332;font-size:13px;line-height:1.55}
.tpx-automation-docs a{color:#1e7f45;font-weight:750;text-decoration:underline;text-underline-offset:3px}

/* Home/Compress viewport budget: independent columns, content-sized uploader, bounded settings. */
@media (min-width:1181px){
  .tpx-page:not(.tpx-tool-page) .tpx-hero{padding-top:5px}
  .tpx-page:not(.tpx-tool-page) .tpx-stage{grid-template-columns:minmax(260px,.90fr) minmax(420px,1.35fr) minmax(320px,1fr);gap:12px;align-items:start}
  .tpx-page:not(.tpx-tool-page) .tpx-story,
  .tpx-page:not(.tpx-tool-page) .tpx-workspace,
  .tpx-page:not(.tpx-tool-page) .tpx-settings{height:auto;min-height:0;align-self:start}
  .tpx-page:not(.tpx-tool-page) .tpx-story{display:flex;flex-direction:column;align-items:flex-start;overflow:visible;padding:5px 4px 0 0}
  .tpx-page:not(.tpx-tool-page) .tpx-story h1{font-size:clamp(32px,2.6vw,40px);line-height:1.02;margin:9px 0 8px}
  .tpx-page:not(.tpx-tool-page) .tpx-story p{max-width:34ch;font-size:clamp(14px,1.1vw,16px);line-height:1.38}
  .tpx-page:not(.tpx-tool-page) .tpx-rattie-art{position:relative;left:auto;right:auto;bottom:auto;display:block;width:min(100%,310px);height:clamp(140px,20vh,170px);max-height:170px;margin:12px 0 0;object-fit:contain;object-position:left top}
  .tpx-page:not(.tpx-tool-page) .tpx-workspace{padding:10px;display:flex;flex-direction:column;min-width:0;overflow:visible}
  .tpx-page:not(.tpx-tool-page) .tpx-dropzone{height:auto;min-height:0;flex:0 0 auto;padding:15px 16px 13px}
  .tpx-page:not(.tpx-tool-page) .tpx-upload-icon{width:56px;height:56px;margin-bottom:7px}
  .tpx-page:not(.tpx-tool-page) .tpx-dropzone h2{font-size:clamp(22px,1.8vw,25px);line-height:1.15}
  .tpx-page:not(.tpx-tool-page) .tpx-dropzone>p{margin-top:4px;font-size:14px}
  .tpx-page:not(.tpx-tool-page) .tpx-paste-hint{margin-top:5px;font-size:12px;line-height:1.35}
  .tpx-page:not(.tpx-tool-page) .tpx-support{gap:2px;margin-top:8px;font-size:12px;line-height:1.3}
  .tpx-page:not(.tpx-tool-page) .tpx-support strong{font-size:11px}
  .tpx-page:not(.tpx-tool-page) .tpx-picker-actions{gap:7px;margin-top:10px}
  .tpx-page:not(.tpx-tool-page) .tpx-select{width:min(300px,84%);height:50px;min-height:50px;margin-top:0;font-size:15px}
  .tpx-page:not(.tpx-tool-page) .tpx-folder-select{height:42px;min-height:42px;padding-inline:10px;font-size:12px}
  .tpx-page:not(.tpx-tool-page) .tpx-folder-help{margin-top:4px;font-size:12px;line-height:1.25;min-height:0}
  .tpx-page:not(.tpx-tool-page) .tp-preview-wrap{margin-top:8px}
  .tpx-page:not(.tpx-tool-page) .tp-preview-strip{height:auto;min-height:0;margin-top:0}
  .tpx-page:not(.tpx-tool-page) .tpx-settings{box-sizing:border-box;max-height:calc(100vh - 96px);padding:14px 16px 12px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bcc8bd transparent}
  .tpx-page:not(.tpx-tool-page) .tpx-settings h2{font-size:17px;white-space:normal}
  .tpx-page:not(.tpx-tool-page) .tpx-settings-title{gap:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings-head{gap:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-reset{font-size:13px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode{margin-top:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode legend{font-size:13px;margin-bottom:4px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-tabs{gap:5px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-tabs span{height:40px;font-size:11.5px;line-height:1.15}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-panel{margin-top:7px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-note{padding:8px 10px;font-size:12px;line-height:1.35}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-control{margin-top:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-control>label{font-size:14px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-help{margin-top:4px;font-size:12px;line-height:1.35}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .range{margin-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-range-labels{margin-top:3px;font-size:11px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-secondary-settings{margin-top:8px;padding-top:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-output-select{height:42px;margin-top:6px;font-size:14px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-option-list{margin-top:4px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-option-row{padding:4px 0;gap:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-option-row p{margin-top:2px;font-size:12px;line-height:1.25}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-switch{width:44px;height:44px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-compress{height:48px;min-height:48px;margin-top:8px;font-size:15px}
}

@media (min-width:1181px) and (max-height:650px){
  .tpx-page:not(.tpx-tool-page) .tpx-hero{padding-top:3px}
  .tpx-page:not(.tpx-tool-page) .tpx-stage{gap:10px}
  .tpx-page:not(.tpx-tool-page) .tpx-rattie-art{height:140px;margin-top:9px}
  .tpx-page:not(.tpx-tool-page) .tpx-workspace{padding:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-dropzone{padding:12px 14px 11px}
  .tpx-page:not(.tpx-tool-page) .tpx-upload-icon{width:50px;height:50px;margin-bottom:5px}
  .tpx-page:not(.tpx-tool-page) .tpx-dropzone h2{font-size:22px}
  .tpx-page:not(.tpx-tool-page) .tpx-support{margin-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-picker-actions{margin-top:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-select{height:48px;min-height:48px}
  .tpx-page:not(.tpx-tool-page) .tpx-folder-help{margin-top:3px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings{max-height:calc(100vh - 82px);padding:11px 14px 10px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode{margin-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-tabs span{height:38px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-panel{margin-top:5px}
  .tpx-page:not(.tpx-tool-page) .tpx-mode-note{padding:7px 9px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-control{margin-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-secondary-settings{margin-top:6px;padding-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-output-select{height:40px;margin-top:4px}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-option-row{padding:3px 0}
  .tpx-page:not(.tpx-tool-page) .tpx-settings .tpx-compress{height:46px;min-height:46px;margin-top:6px}
}

/* Home only: three sibling cards in one content-sized workspace. */
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor{padding:12px 0 0;min-height:0;margin:0}
.tpx-page:not(.tpx-tool-page) .tpx-home-grid{display:grid;grid-template-columns:minmax(0,26fr) minmax(0,41fr) minmax(0,33fr);align-items:start;gap:18px;min-width:0;width:min(1450px,calc(100% - 56px));margin-inline:auto}
.tpx-page:not(.tpx-tool-page) .tpx-intro-card{display:flex;flex-direction:column;align-self:start;gap:14px;min-width:0;height:auto;padding:18px;border:1px solid rgba(126,200,153,.42);border-radius:22px;background:linear-gradient(145deg,#f2f9ef,#fffaf8);box-shadow:0 10px 26px rgba(60,52,42,.055)}
.tpx-page:not(.tpx-tool-page) .tpx-intro-copy{min-width:0}
.tpx-page:not(.tpx-tool-page) .tpx-intro-copy .tpx-kicker{font-size:11.5px}
.tpx-page:not(.tpx-tool-page) .tpx-intro-copy h1{margin:5px 0 6px;font-size:clamp(28px,2.3vw,34px);line-height:1.06;letter-spacing:-.04em;font-weight:760}
.tpx-page:not(.tpx-tool-page) .tpx-intro-copy h1 em{font-style:normal;color:var(--green)}
.tpx-page:not(.tpx-tool-page) .tpx-intro-copy>p{margin:0;color:#53645a;font-size:15px;line-height:1.35}
.tpx-page:not(.tpx-tool-page) .tpx-intro-copy>.tpx-privacy-line{margin-top:3px;color:#486351;font-size:14px;line-height:1.3;font-weight:650}
.tpx-page:not(.tpx-tool-page) .tpx-intro-card .tpx-rattie-art{position:relative;inset:auto;display:block;width:100%;max-width:100%;height:clamp(170px,30vh,220px);max-height:220px;margin:0;object-fit:contain;object-position:center;filter:drop-shadow(0 6px 12px rgba(89,64,58,.06))}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-workspace,
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings{box-sizing:border-box;align-self:start;height:auto;min-height:0;margin:0;border:1px solid #e8e2da;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 10px 26px rgba(60,52,42,.055);min-width:0}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-workspace{display:flex;flex-direction:column;overflow:visible;padding:12px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-dropzone{box-sizing:border-box;width:100%;height:auto;min-height:0;flex:0 0 auto;padding:17px 20px 15px;border-radius:18px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-upload-icon{width:54px;height:54px;margin-bottom:7px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-dropzone h2{font-size:clamp(22px,1.9vw,25px);line-height:1.15}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-dropzone>p{margin-top:4px;font-size:14px;line-height:1.35}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-paste-hint{margin-top:5px;font-size:12px;line-height:1.35}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-support{gap:2px;margin-top:8px;font-size:12px;line-height:1.32}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-support strong{font-size:11px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-picker-actions{gap:8px;margin-top:10px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-select{width:auto;height:50px;min-height:50px;margin:0;font-size:15px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-folder-select{height:42px;min-height:42px;padding-inline:11px;font-size:12px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-folder-help{min-height:0;margin-top:4px;font-size:12px;line-height:1.3}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tp-preview-wrap{margin-top:8px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tp-preview-strip{height:auto;min-height:0;margin-top:0}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings{max-height:none;padding:12px 14px 10px;overflow:visible;overscroll-behavior:auto;scrollbar-width:auto;scrollbar-color:auto}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings:before{left:16px;right:16px;height:4px;border-radius:0 0 4px 4px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings h2{font-size:17px;white-space:normal}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings-title{gap:8px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings-head{gap:8px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-reset{font-size:13px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode{margin-top:5px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode legend{margin-bottom:3px;font-size:13px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode-tabs{gap:5px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode-tabs span{height:40px;font-size:12px;line-height:1.15}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode-panel{margin-top:5px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode-note{padding:7px 9px;font-size:12px;line-height:1.3}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-control{margin-top:7px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-control>label{font-size:14px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-help{margin-top:3px;font-size:12px;line-height:1.32}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .range{margin-top:5px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-range-labels{margin-top:2px;font-size:11px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-secondary-settings{margin-top:6px;padding-top:6px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-secondary-settings{display:block}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-output-control{grid-column:1}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-output-select{height:42px;margin-top:5px;font-size:14px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-option-list{margin-top:8px;padding-top:4px;border-top:1px solid #eee9e2}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-option-row{min-height:44px;padding:2px 0;gap:7px}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-option-row p{display:block;margin-top:1px;font-size:12px;line-height:1.25}
.tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-compress{height:46px;min-height:46px;margin-top:6px;font-size:15px}

/* Keep empty-state history close to the workspace instead of leaving a blank band below settings. */
.tpx-page:not(.tpx-tool-page) .tpx-results:has(#results:empty){margin-top:12px}
.tpx-page:not(.tpx-tool-page) .tpx-results:has(#results:empty) .history{margin-top:0;padding-top:18px}

@media (min-width:1181px) and (max-height:650px){
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings{max-height:none;padding:12px 14px 10px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-workspace{padding:10px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-dropzone{padding:14px 17px 12px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-upload-icon{width:50px;height:50px;margin-bottom:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-support{margin-top:7px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-picker-actions{margin-top:8px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-secondary-settings{margin-top:6px;padding-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-compress{margin-top:6px}
}

@media (max-width:980px){
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor{padding-top:8px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-card{gap:12px;min-height:0;padding:18px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-copy h1{font-size:clamp(28px,4.2vw,34px)}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-copy>p{font-size:15px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-card .tpx-rattie-art{align-self:center;width:min(100%,250px);height:170px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-workspace{padding:12px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings{max-height:none;overflow:visible;padding:18px}
}

@media (max-width:640px){
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor{padding-top:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-grid{width:calc(100% - 28px);gap:14px}
  .tpx-page:not(.tpx-tool-page) .tpx-intro-card{grid-template-columns:minmax(0,1fr);gap:6px;padding:13px 15px}
  .tpx-page:not(.tpx-tool-page) .tpx-intro-copy h1{max-width:16ch;margin:5px 0 7px;font-size:clamp(28px,8vw,32px);line-height:1.06}
  .tpx-page:not(.tpx-tool-page) .tpx-intro-copy>p{font-size:15px;line-height:1.35}
  .tpx-page:not(.tpx-tool-page) .tpx-intro-copy>.tpx-privacy-line{font-size:14px}
  .tpx-page:not(.tpx-tool-page) .tpx-intro-card .tpx-rattie-art{align-self:center;width:min(100%,220px);height:150px;margin-top:4px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-workspace{padding:10px;border-radius:19px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-dropzone{padding:22px 15px 18px;border-radius:16px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-upload-icon{width:54px;height:54px;margin-bottom:7px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-dropzone h2{font-size:24px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-support{font-size:12px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-picker-actions{gap:6px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-select{font-size:14px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-folder-select{padding-inline:9px;font-size:12px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings{padding:17px 15px 15px;border-radius:19px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-secondary-settings{grid-template-columns:minmax(0,1fr)}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-output-control,
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-option-list{grid-column:1}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings .tpx-option-list{margin-top:5px;padding-top:5px;border-top:1px solid #eee9e2}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-settings h2{font-size:16px}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-mode-tabs span{font-size:11.5px;padding-inline:3px}
}

@media (max-width:360px){
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-picker-actions{flex-direction:column}
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-picker-actions .tpx-select,
  .tpx-page:not(.tpx-tool-page) .tpx-home-compressor .tpx-folder-select{width:100%;flex:none}
}

/* Balance the desktop cards through content rhythm, without fixed card heights. */
@media (min-width:981px){
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-dropzone{padding:32px 24px 32px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-upload-icon{width:64px;height:64px;margin-bottom:20px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-support{margin-top:20px;gap:8px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-picker-actions{flex-direction:column;gap:14px;margin-top:24px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-select{width:100%;flex:none}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-folder-select{flex:none;min-height:42px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tp-preview-wrap:has(.tp-preview-strip:empty){margin-top:0}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-output-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px 12px;margin-top:0}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-output-select{margin-top:0}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-output-control .tpx-help{grid-column:1/-1;margin-top:0}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-mode-note{padding-block:5px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-secondary-settings{margin-top:4px;padding-top:4px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-option-list{margin-top:4px;padding-top:0}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-option-row{padding-block:0}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings .tpx-option-row strong{display:block;line-height:1.3}
}

/* Compact desktop keeps the working controls alongside the introduction. */
@media (min-width:981px) and (max-width:1180px){
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-grid{width:calc(100% - 32px);gap:12px;grid-template-columns:minmax(0,26fr) minmax(0,38fr) minmax(0,36fr)}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-card{padding:14px;gap:10px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-copy h1{font-size:28px;overflow-wrap:break-word}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-intro-card .tpx-rattie-art{height:180px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-dropzone{padding:22px 14px 18px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings{padding:12px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-settings h2{font-size:16px}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)) .tpx-home-compressor .tpx-mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Empty-state row alignment: keep the three cards level without changing the batch layout. */
@media (min-width:981px){
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)):not(.has-batch) .tpx-home-grid>:is(.tpx-intro-card,.tpx-workspace,.tpx-settings){align-self:stretch}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)):not(.has-batch) .tpx-intro-card{justify-content:space-between}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)):not(.has-batch) .tpx-intro-card .tpx-rattie-art{flex:0 0 170px;height:170px;min-height:0;max-height:170px;object-fit:contain;object-position:center bottom}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)):not(.has-batch) .tpx-workspace .tpx-dropzone{flex:1 0 auto;justify-content:center}
  .tpx-page:not(.tpx-tool-page):where(:not(.has-tablet-workspace)):not(.has-batch) .tpx-settings .tpx-compress{margin-top:auto}
}

/* One restrained workflow illustration, attached to the guide introduction. */
.tpx-automation-intro{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:24px;align-items:end}
.tpx-automation-intro>div{min-width:0}
.tpx-automation-art{display:block;width:160px;height:auto}
@media(max-width:640px){.tpx-automation-intro{grid-template-columns:minmax(0,1fr);gap:12px}.tpx-automation-art{width:96px;justify-self:end}}

/* Optional Free-to-Pro context, after the primary action; no extra card or overlay. */
.tpx-pro-discovery{margin-top:8px}.tpx-pro-discovery summary{cursor:pointer;padding:10px 0;min-height:44px;color:#385340;font-weight:700}.tpx-pro-discovery dl{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:0 0 10px}.tpx-pro-discovery dt{font-weight:750;margin-top:6px}.tpx-pro-discovery dd{margin:0;max-width:65ch}.tpx-pro-discovery a{display:inline-block;padding:8px 0;color:#237646;font-weight:750}.tpx-pro-discovery :is(summary,a):focus-visible{outline:3px solid #237943;outline-offset:2px}
