/* Standalone image utilities, using the same page width and Pixplet palette. */
.pft-page{padding:42px 0 0}.pft-heading{margin-bottom:32px}.pft-heading .pt-eyebrow{margin:0 0 16px}.pft-heading h1{font-size:clamp(30px,3.3vw,46px);line-height:1.18;letter-spacing:-1.5px;margin:0 0 18px}.pft-heading>p{color:var(--muted);font-size:16px;line-height:1.8;margin:0;max-width:none}.pft-back{display:inline-flex;color:var(--accent)!important;font-size:13px;margin-bottom:20px}.pft-benefits{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:20px;font-size:12px;color:var(--muted)}.pft-benefits span:before{content:'✓';color:var(--accent);margin-right:8px}
.pft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pft-card{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:26px;transition:border-color .15s,box-shadow .15s;background:#fff;min-width:0}.pft-card:hover{border-color:#df244780;box-shadow:0 8px 24px #17223708}.pft-formats{display:flex;align-items:center;gap:12px;margin-bottom:24px}.pft-formats>span{display:grid;place-items:center;min-width:54px;height:42px;padding:0 10px;background:var(--surface);border-radius:6px;font-size:12px;font-weight:650;letter-spacing:.02em}.pft-formats>span:last-child{background:#fff0f3;color:#b21938}.pft-formats .pix-icon{width:17px;height:17px;color:var(--muted)}.pft-card h3{font-size:19px;letter-spacing:-.3px;line-height:1.4;margin:0 0 10px}.pft-card p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 24px}.pft-card-link{display:flex;align-items:center;gap:10px;color:var(--accent);font-size:12px;font-weight:600;margin-top:auto}.pft-card-link .pix-icon{width:16px;height:16px}
.pft-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.pft-upload-panel,.pft-settings{min-width:0;border:1px solid var(--line);border-radius:12px;padding:26px}.pft-upload-panel>h2,.pft-settings>h2{font-size:18px;letter-spacing:-.25px;margin:0 0 22px}.pft-drop{border:1px dashed #cbd2dd;border-radius:9px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 20px;background:#f9fafc;transition:border-color .15s,background .15s}.pft-drop.is-dragging{border-color:var(--accent);background:#fff0f3}.pft-drop>svg{width:40px;height:40px;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-bottom:18px}.pft-drop strong{font-size:17px;line-height:1.5}.pft-drop>span{font-size:12px;color:var(--muted);margin:8px 0 20px}.pft-limit{font-size:11px;line-height:1.8;color:var(--muted);margin:14px 0 0}.pft-settings{background:#f8f9fb;display:grid;gap:18px}.pft-settings>h2{margin-bottom:2px}.pft-settings label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:550;min-width:0}.pft-settings input:not([type=range]):not([type=checkbox]),.pft-settings select{min-width:0;width:100%;min-height:44px;border:1px solid #dbe1e9;border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink);font-size:13px}.pft-settings input[type=color]{height:44px;padding:5px!important;cursor:pointer}.pft-settings input[type=range]{width:100%;accent-color:var(--accent);margin:2px 0 0}.pft-settings>p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.pft-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pft-settings .pft-checkbox{flex-direction:row;align-items:center;gap:10px;font-weight:400;line-height:1.6}.pft-checkbox input{accent-color:var(--accent);width:18px;height:18px;margin:0;flex-shrink:0}.pft-output-type{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:15px;border:1px solid var(--line);border-radius:6px;font-size:12px}.pft-output-type strong{color:var(--accent)}.pft-settings .pft-quality{display:grid;grid-template-columns:1fr auto}.pft-quality input{grid-column:1/-1}.pft-quality output{font-size:12px;color:var(--muted)}.pft-convert{width:100%;margin-top:4px}.pft-page button:disabled{opacity:.45;cursor:not-allowed}.pft-link-button{border:0;background:none;padding:4px 0;color:#b21938;font-size:12px;line-height:1.5;cursor:pointer}.pft-error{color:#b21938;line-height:1.8;font-size:12px;margin:16px 0 0;overflow-wrap:anywhere}.pft-file-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:26px 0 8px}.pft-file-heading h3{font-size:12px;font-weight:550;margin:0;color:var(--muted)}.pft-file-list{list-style:none;padding:0;margin:0}.pft-file{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.pft-file:last-child{border-bottom:0;padding-bottom:0}.pft-file>img{width:64px;height:64px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:#f8f9fb;flex-shrink:0}.pft-file-copy{min-width:0;flex:1}.pft-file-copy strong{display:block;font-size:13px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:6px}.pft-file-copy span{font-size:11px;color:var(--muted);line-height:1.6}.pft-file-actions{display:flex;gap:5px;flex-shrink:0}.pft-file-actions button{display:grid;place-items:center;width:38px;height:42px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:18px;color:var(--muted)}
.pft-results{padding:32px 0 0}.pft-result-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.pft-result-heading h2,.pft-related>h2{font-size:23px;line-height:1.4;letter-spacing:-.5px;margin:0}.pft-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pft-result{border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.pft-image-preview,.pft-pdf-preview{height:180px;background:conic-gradient(#eff1f5 25%,#fff 0 50%,#eff1f5 0 75%,#fff 0) 0 0/18px 18px;display:flex;align-items:center;justify-content:center;padding:16px}.pft-image-preview img{max-width:100%;max-height:100%;object-fit:contain}.pft-pdf-preview{flex-direction:column;gap:12px;background:#f8f9fb}.pft-pdf-preview strong{display:grid;place-items:center;width:70px;height:90px;border:1px solid #df244744;border-radius:5px;background:#fff0f3;color:#b21938;letter-spacing:.06em;font-size:19px}.pft-pdf-preview span{font-size:12px;color:var(--muted)}.pft-result-copy{padding:20px}.pft-result-copy h3{font-size:14px;font-weight:550;margin:0 0 10px;overflow-wrap:anywhere}.pft-result-copy p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 7px}.pft-result-copy .pft-size-change{font-size:11px}.pft-result-copy .pt-button{width:100%;margin-top:12px}.pft-guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:65px;border-top:1px solid var(--line);padding:46px 0;margin-top:42px}.pft-guide h2{font-size:26px;letter-spacing:-.6px;line-height:1.4;margin:0 0 18px}.pft-guide h3{font-size:15px;line-height:1.5;margin:0 0 8px}.pft-guide p,.pft-guide li{color:var(--muted);font-size:13px;line-height:1.9}.pft-guide p{margin:0 0 24px}.pft-guide ol{padding:0 0 0 22px;margin:0}.pft-guide li{padding-left:7px;margin-bottom:18px}.pft-guide a{color:#b21938;text-decoration:underline;text-underline-offset:3px}.pft-guide .pft-fine{font-size:11px;margin-bottom:0}.pft-related{padding:0 0 40px}.pft-related>h2{margin-bottom:22px}.pft-page [hidden]{display:none!important}
@media(max-width:1100px){.pft-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.pft-upload-panel,.pft-settings{padding:22px}.pft-card{padding:22px}.pft-file-actions{gap:3px}.pft-file-actions button{width:32px}.pft-file{gap:10px}.pft-file>img{width:48px;height:48px}}
@media(max-width:800px){.pft-workspace{grid-template-columns:1fr}.pft-grid,.pft-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pft-settings{gap:16px}.pft-guide{gap:30px}.pft-file-actions button{width:42px;height:44px}.pft-file>img{width:64px;height:64px}.pft-heading h1{letter-spacing:-.8px}.pft-result-heading{flex-wrap:wrap}}
@media(max-width:560px){.pft-page{padding-top:28px}.pft-heading{margin-bottom:26px}.pft-heading>p{font-size:14px}.pft-heading h1{font-size:30px;line-height:1.25}.pft-benefits{gap:10px 18px;font-size:11px}.pft-grid,.pft-result-grid{grid-template-columns:1fr;gap:14px}.pft-card{padding:22px}.pft-card p{margin-bottom:18px}.pft-formats{margin-bottom:18px}.pft-upload-panel,.pft-settings{padding:18px}.pft-drop{padding:28px 14px}.pft-drop strong{font-size:15px}.pft-file{flex-wrap:wrap;gap:12px}.pft-file>img{width:48px;height:48px}.pft-file-copy{flex-basis:calc(100% - 60px)}.pft-file-actions{margin-left:auto}.pft-file-heading{align-items:flex-start}.pft-file-heading h3{line-height:1.8}.pft-file-heading button{white-space:nowrap}.pft-guide{grid-template-columns:1fr;gap:24px;padding:32px 0;margin-top:32px}.pft-guide h2{font-size:24px}.pft-results{padding-top:26px}.pft-result-heading h2{font-size:22px}.pft-result-heading .pt-button{width:100%;gap:10px}.pft-related{padding-bottom:30px}.pft-back{margin-bottom:16px}}
.pft-discovery{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:26px}.pft-discovery .pl-search{width:100%;display:flex;gap:16px;padding:4px 18px;font-size:12px;white-space:nowrap}.pft-discovery .pl-search input{width:100%;min-width:0;min-height:46px}.pft-tabs{display:flex;gap:8px}.pft-tabs button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:12px 18px;font-size:12px;min-height:44px;white-space:nowrap;cursor:pointer}.pft-tabs [aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}.pft-discovery>p{grid-column:1/-1;font-size:12px;color:var(--muted);margin:0}.pft-file-badge{width:56px;height:64px;display:grid;place-items:center;flex-shrink:0;background:#fff0f3;color:#b21938;border:1px solid #df244744;border-radius:6px;font-size:12px;font-weight:650}.pft-pdf-info{margin-top:20px;font-size:12px;line-height:1.8;color:var(--muted)}.pft-crop{margin-top:24px}.pft-crop>p{font-size:12px;line-height:1.8;color:var(--muted)}.pft-crop-picture{position:relative;width:100%;overflow:hidden;isolation:isolate;margin:auto;border:1px solid var(--line);background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 0/18px 18px}.pft-crop-picture>img{width:100%;height:100%;display:block;object-fit:contain;user-select:none;pointer-events:none}.pft-crop-box{position:absolute;border:2px solid #fff;outline:1px solid #df2447;box-shadow:0 0 0 20000px #17223780;cursor:move;touch-action:none}.pft-crop-box:before,.pft-crop-box:after{content:'';position:absolute;border:1px solid #ffffff80;pointer-events:none}.pft-crop-box:before{left:33.33%;right:33.33%;top:0;bottom:0;border-top:0;border-bottom:0}.pft-crop-box:after{top:33.33%;bottom:33.33%;left:0;right:0;border-left:0;border-right:0}.pft-crop-box>span{position:absolute;width:20px;height:20px;background:var(--accent);border:2px solid white;border-radius:3px;touch-action:none}.pft-crop-box [data-crop-handle=nw]{left:-2px;top:-2px;cursor:nwse-resize}.pft-crop-box [data-crop-handle=ne]{right:-2px;top:-2px;cursor:nesw-resize}.pft-crop-box [data-crop-handle=sw]{left:-2px;bottom:-2px;cursor:nesw-resize}.pft-crop-box [data-crop-handle=se]{right:-2px;bottom:-2px;cursor:nwse-resize}
@media(max-width:650px){.pft-discovery{grid-template-columns:1fr;gap:14px}.pft-tabs{width:100%}.pft-tabs button{flex:1;padding:12px}.pft-discovery .pl-search{padding-left:14px;gap:10px}}

/* Shared mobile rhythm for image, PDF and creative utilities. */
@media(max-width:760px){
 .pft-heading h1{font-size:clamp(28px,6vw,34px);line-height:1.25;letter-spacing:-.8px}
 .pft-heading>p{font-size:15px;line-height:1.8}
 .pft-benefits{font-size:12px;line-height:1.7;gap:10px 18px}
 .pft-card h3{font-size:20px;line-height:1.4}
 .pft-card p{font-size:14px;line-height:1.8}
 .pft-card-link{font-size:13px;min-height:44px}
 .pft-upload-panel>h2,.pft-settings>h2{font-size:20px;line-height:1.4}
 .pft-settings{gap:22px}
 .pft-settings label{font-size:14px;line-height:1.6;gap:10px}
 .pft-settings input:not([type=range]):not([type=checkbox]),.pft-settings select{font-size:16px;min-height:48px;line-height:1.4}
 .pft-settings>p,.pft-limit,.pft-status{font-size:13px;line-height:1.75}
 .pft-settings .pft-checkbox{align-items:flex-start;gap:12px}
 .pft-checkbox input{margin-top:3px;width:20px;height:20px}
 .pft-link-button{font-size:13px;min-height:44px}
 .pft-error{font-size:14px;line-height:1.7;margin-top:18px}
 .pft-file-copy strong{font-size:14px;line-height:1.5}
 .pft-file-copy span,.pft-result-copy p{font-size:13px;line-height:1.7}
 .pft-file-heading h3{font-size:13px;line-height:1.7}
 .pft-file-actions button{width:44px;min-height:44px}
 .pft-result-copy h3{font-size:15px;line-height:1.5;margin-bottom:12px}
 .pft-guide h2{font-size:24px;line-height:1.4;margin-bottom:20px}
 .pft-guide h3{font-size:17px;line-height:1.5;margin:0 0 12px}
 .pft-guide p,.pft-guide li{font-size:14px;line-height:1.85}
 .pft-guide p{margin-bottom:28px}
 .pft-guide .pft-fine{font-size:13px;line-height:1.8}
 .pft-tabs button{font-size:13px;min-height:46px}
 .pft-discovery>p,.pft-discovery .pl-search{font-size:13px;line-height:1.6}
 .pft-related>h2{font-size:24px;line-height:1.4}
}
@media(max-width:600px){.pft-two{grid-template-columns:minmax(0,1fr);gap:20px}.pft-guide{grid-template-columns:minmax(0,1fr);gap:32px}.pft-upload-panel,.pft-settings{padding:22px}.pft-drop{padding:28px 18px}.pft-drop strong{font-size:16px}.pft-drop>span{font-size:13px;line-height:1.7}}
@media(max-width:360px){.pft-upload-panel,.pft-settings,.pft-card{padding:18px}.pft-discovery .pl-search{flex-wrap:wrap;gap:0}.pft-discovery .pl-search input{flex-basis:100%}}
