.image-page{--accent:#7860d8;--accent-dark:#5b43b2;--soft:#f2eefa;--line:#e6e0f0;--ink:#302744;--muted:#786f87;background:#faf9fc;color:var(--ink)}.image-page main{max-width:1160px;margin:auto;padding:34px 24px 76px}.image-heading{text-align:center;max-width:760px;margin:0 auto 32px}.image-heading h1{font-size:clamp(32px,4.5vw,49px);letter-spacing:-.045em;line-height:1.13;margin:8px 0 16px}.image-heading>p{max-width:620px;margin:0 auto;color:var(--muted);font-size:17px;line-height:1.65}.image-heading .tool-account-note{font-size:12px;margin-top:15px}.image-heading .tool-account-note a{color:var(--accent-dark)}.image-workspace{border:1px solid var(--line);border-radius:25px;background:#fff;box-shadow:0 12px 38px #48356d06;overflow:hidden}.image-intake{display:grid;grid-template-columns:1.1fr 1fr;gap:25px;padding:28px}.image-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:274px;border:1.5px dashed #c5b6e4;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#f4efff,#fcfbff 75%);color:var(--ink);cursor:pointer;padding:28px;text-align:center;transition:border-color .2s,background .2s,transform .2s;width:100%;font:inherit}.image-drop:hover,.image-drop.dragging{border-color:var(--accent);background:#f0eafa;transform:translateY(-2px)}.image-drop svg{width:58px;height:58px;color:var(--accent);padding:12px;background:#ebe3fb;border-radius:17px;stroke:currentColor;fill:none;stroke-width:1.5}.image-drop strong{font-size:21px;letter-spacing:-.025em}.image-drop small{font-size:12px;color:var(--muted);line-height:1.6}.choose-images{display:inline-flex;align-items:center;gap:8px;border-radius:11px;background:var(--accent);color:#fff;padding:11px 23px;font-size:14px;font-weight:650;box-shadow:0 5px 14px #7860d824}.image-drop.compact{min-height:155px}.image-drop.compact svg{width:41px;height:41px;padding:8px}.image-drop.compact strong{font-size:18px}.image-drop.compact small{display:none}.preset-heading{display:flex;align-items:baseline;justify-content:space-between;margin:2px 0 13px;gap:8px}.preset-heading h2{font-size:17px;margin:0}.preset-heading span{font-size:12px;color:var(--muted)}.image-presets{display:grid;grid-template-columns:1fr 1fr;gap:9px}.image-preset{font:inherit;text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px 14px;color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}.image-preset strong{display:block;font-size:13px;margin-bottom:4px}.image-preset span{font-size:11px;color:var(--muted);line-height:1.5;display:block}.image-preset[aria-pressed=true]{border-color:#b4a1e2;background:var(--soft);box-shadow:0 0 0 2px #7860d80c}.image-preset:hover{border-color:var(--accent)}.image-global-options{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:17px}.image-global-options label{display:flex;align-items:center;gap:8px;font-size:12px;flex-wrap:wrap}.image-page select,.image-page input[type=number]{font:inherit;font-size:13px;color:var(--ink);border:1px solid #dad1e9;background:#fff;border-radius:9px;padding:8px 10px;max-width:100%}.image-page input[type=range]{accent-color:var(--accent);width:100%;cursor:pointer}.image-page input[type=checkbox]{accent-color:var(--accent)}.image-page input[type=color]{border:1px solid var(--line);width:44px;height:32px;border-radius:7px;padding:3px;background:#fff}.image-check{margin-top:12px;display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted);line-height:1.5}.image-message{margin:0 28px 20px;padding:12px 14px;border-radius:10px;background:#fff3ef;color:#943f2d;font-size:13px;white-space:pre-line}.image-message:empty{display:none}.image-queue{border-top:1px solid var(--line);padding:24px 28px 28px}.image-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.image-summary h2{font-size:19px;letter-spacing:-.025em;margin:0 0 5px}.image-summary p{margin:0;font-size:12px;color:var(--muted)}.batch-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.image-primary,.image-secondary{font:inherit;cursor:pointer;border-radius:10px;padding:10px 15px;font-size:13px;font-weight:620;transition:background .2s,transform .2s;border:1px solid transparent}.image-primary{background:var(--accent);color:white;box-shadow:0 4px 12px #7860d824}.image-primary:hover{background:var(--accent-dark);transform:translateY(-1px)}.image-secondary{background:#f3eff9;color:#6c5498;border-color:#e9e1f4}.image-secondary:hover{background:#e9e1f6}.image-primary:disabled,.image-secondary:disabled{opacity:.5;cursor:default;transform:none}.image-progress{height:5px;background:#f0ebf7;border-radius:5px;overflow:hidden;margin-bottom:20px}.image-progress>span{display:block;height:100%;background:linear-gradient(90deg,#b4a0ed,#7860d8);width:0;transition:width .4s}.image-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.image-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;position:relative;min-width:0;background:#fff}.image-card-preview{border:0;width:100%;height:156px;display:flex;align-items:center;justify-content:center;position:relative;padding:13px;cursor:pointer;background-color:#f6f4f9;background-image:linear-gradient(45deg,#eae6f0 25%,transparent 25%),linear-gradient(-45deg,#eae6f0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eae6f0 75%),linear-gradient(-45deg,transparent 75%,#eae6f0 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.image-card-preview:disabled{cursor:default}.image-card-preview img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 9px #30274416)}.image-card-preview .compare-hint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);white-space:nowrap;background:#fffE;color:var(--accent-dark);font-size:11px;padding:5px 10px;border:1px solid #dfd6f0;border-radius:20px;opacity:0;transition:opacity .2s}.image-card-preview:hover .compare-hint,.image-card-preview:focus-visible .compare-hint{opacity:1}.image-remove{position:absolute;z-index:2;right:8px;top:8px;width:27px;height:27px;border-radius:50%;font-size:18px;border:1px solid #e6dfed;color:#766984;background:#fffE;cursor:pointer;display:grid;place-items:center;line-height:1}.image-card-body{padding:12px 13px}.image-card .file-name{font-size:12px;font-weight:620;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 7px}.image-card-stats{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:var(--muted);min-height:17px}.image-saving{font-weight:650;color:#5f8c47}.image-saving.larger{color:#916124}.image-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:5px}.image-card-foot button{padding:6px 9px;font-size:11px;border-radius:7px}.image-card-foot small{color:var(--muted);font-size:10px}.image-card.error{border-color:#eccdc3}.image-card .card-error{font-size:11px;color:#a04431;line-height:1.5;margin:7px 0 0}.image-loading{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--accent-dark)}.image-loading::before{content:'';width:12px;height:12px;border-radius:4px;background:linear-gradient(135deg,#cbb8f6,#7860d8);animation:imagePulse 1s ease-in-out infinite alternate}.image-explainer{margin:40px auto 0;max-width:1000px}.image-explainer h2{text-align:center;font-size:26px;letter-spacing:-.035em;margin:0 0 20px}.image-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.image-step{border-top:1px solid var(--line);padding-top:17px}.image-step>span{font-size:12px;color:var(--accent);font-weight:650}.image-step h3{font-size:15px;margin:9px 0}.image-step p,.image-faq p{font-size:13px;color:var(--muted);line-height:1.75;margin:0}.image-faq{margin-top:35px;display:grid;grid-template-columns:1fr 1fr;gap:12px 30px}.image-faq summary{font-size:14px;font-weight:600;cursor:pointer;padding:12px 0}.image-faq details{border-top:1px solid var(--line)}.image-faq p{padding-bottom:16px}.image-dialog{padding:0;border:1px solid var(--line);border-radius:22px;width:min(1120px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:var(--ink);box-shadow:0 30px 100px #30274433}.image-dialog::backdrop{background:#251a3d8c;backdrop-filter:blur(5px)}.image-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 23px;border-bottom:1px solid var(--line)}.image-dialog-head h2{font-size:19px;letter-spacing:-.03em;margin:0 0 5px}.image-dialog-head p{font-size:12px;color:var(--muted);margin:0;max-width:700px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-dialog-close{border:1px solid var(--line);background:#f5f1fb;color:#78658d;border-radius:10px;width:33px;height:33px;font-size:23px;cursor:pointer;flex:none}.image-dialog-main{display:grid;grid-template-columns:minmax(0,1fr) 240px}.image-compare{padding:20px;min-width:0;background:#fcfbfe}.compare-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;color:var(--muted);gap:8px}.compare-labels{display:flex;gap:16px}.compare-labels strong{color:var(--accent-dark)}.compare-scroll{height:min(49vh,430px);min-height:200px;overflow:auto;display:grid;align-items:center;justify-items:center;background-color:#f1edf7;background-image:linear-gradient(45deg,#e7e0ee 25%,transparent 25%),linear-gradient(-45deg,#e7e0ee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e7e0ee 75%),linear-gradient(-45deg,transparent 75%,#e7e0ee 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;border:1px solid var(--line);border-radius:12px;position:relative}.compare-stage{position:relative;flex:none;max-width:none;touch-action:pan-y;cursor:col-resize;--split:50%}.compare-stage>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill}.compare-stage>.compare-original{clip-path:inset(0 calc(100% - var(--split)) 0 0)}.compare-line{position:absolute;top:0;bottom:0;left:var(--split);width:2px;background:#fff;box-shadow:0 0 3px #30274499;pointer-events:none;transform:translateX(-1px)}.compare-line span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border:2px solid #fff;border-radius:50%;background:var(--accent);color:#fff;font-size:16px;box-shadow:0 2px 8px #30274444}.compare-range{display:flex;align-items:center;gap:12px;margin-top:10px;font-size:11px;color:var(--muted)}.compare-range input{flex:1;min-width:0}.compare-numbers{display:flex;justify-content:space-between;gap:10px;margin-top:13px;font-size:12px;color:var(--muted)}.compare-numbers strong{color:var(--ink);display:block;margin-top:3px}.image-adjustments{padding:20px;border-left:1px solid var(--line)}.image-adjustments h3{font-size:14px;margin:0 0 19px}.image-field{display:block;font-size:12px;margin-bottom:19px;color:var(--muted)}.image-field>span{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.image-field>select,.image-field>input[type=number]{width:100%}.image-field small{display:block;font-size:11px;line-height:1.6;margin-top:6px}.image-field input[type=range]{margin:4px 0}.image-adjustments .image-secondary{width:100%;font-size:12px}.image-dialog-footer{padding:16px 23px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.image-dialog-footer>p{margin:0;font-size:12px;color:var(--muted)}.image-dialog-footer>div{display:flex;gap:8px}.image-preview-error{font-size:12px;color:#a04431;margin:12px 0 0}.image-workspace [hidden],.image-dialog [hidden]{display:none!important}.image-page :focus-visible{outline:3px solid #af98ed;outline-offset:3px}.image-result-summary{font-variant-numeric:tabular-nums}.image-page button,.image-page a{touch-action:manipulation}
@keyframes imagePulse{from{opacity:.45;transform:scale(.7) rotate(0)}to{opacity:1;transform:scale(1) rotate(90deg)}}
@media(min-width:1000px){.image-dialog-main{grid-template-columns:minmax(0,1fr) 260px}}@media(max-width:760px){.image-page main{padding:24px 14px 55px}.image-heading{margin-bottom:23px}.image-heading>p{font-size:15px}.image-intake{grid-template-columns:1fr;padding:18px;gap:20px}.image-drop{min-height:200px;padding:20px}.image-drop.compact{min-height:110px;flex-direction:row;flex-wrap:wrap;gap:10px}.image-drop.compact>span:not(.choose-images){display:none}.image-queue{padding:19px 17px}.image-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.image-summary{align-items:flex-start;flex-direction:column;gap:13px}.batch-actions{width:100%}.batch-actions .image-primary{flex:1}.image-card-preview{height:135px}.image-card-body{padding:10px}.image-card-stats{flex-direction:column;gap:4px}.image-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.image-dialog-head{padding:15px}.image-dialog-main{grid-template-columns:1fr}.image-compare{padding:13px}.compare-scroll{height:280px}.image-adjustments{padding:17px;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.image-adjustments h3{grid-column:1/-1;margin-bottom:15px}.image-field{margin-bottom:15px}.image-dialog-footer{padding:14px;flex-wrap:wrap}.image-dialog-footer>div{width:100%}.image-dialog-footer button{flex:1}.image-steps{grid-template-columns:1fr;gap:20px}.image-explainer{margin-top:30px}.image-faq{grid-template-columns:1fr;gap:0}.image-card-foot{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.image-page *{animation:none!important;transition:none!important}}
/* Override the shared pressed-button treatment without losing subtitle contrast. */
.image-page main .image-preset[aria-pressed="true"]{background:#eee7fa!important;color:#59418d!important;border-color:#bba5e4!important;box-shadow:0 0 0 2px #7860d80c!important}.image-page main .image-preset[aria-pressed="true"] span{color:#756286}.image-page main .image-preset:hover{background:#f4effb!important}

.image-guide>p{font-size:14px;line-height:1.8;color:var(--muted);margin:15px 0}.image-format-table{overflow-x:auto;border:1px solid var(--line);border-radius:14px;margin:22px 0}.image-format-table table{width:100%;border-collapse:collapse;font-size:13px;text-align:start}.image-format-table th,.image-format-table td{padding:14px 17px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}.image-format-table thead{background:var(--soft)}.image-format-table tr:last-child>*{border-bottom:0}.image-format-table tbody th{color:var(--accent-dark)}html[dir=rtl] .image-page .image-preset{text-align:right}html[dir=rtl] .image-page .image-adjustments{border-left:0;border-right:1px solid var(--line)}

/* A clear invitation to inspect each result, including on touch screens. */
.image-results-hint{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:14px 17px;border:1px solid #d7c8f2;border-radius:12px;background:linear-gradient(105deg,#f0e8fc,#f8f5ff);color:#64449c;font-size:14px;line-height:1.6}.image-results-hint svg{width:27px;height:27px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none}.image-page main .image-card-preview:not(:disabled) .compare-hint{opacity:1;background:#fffc;border-color:#d0b9ed;box-shadow:0 2px 8px #46306516;font-weight:650}.image-card-preview:disabled .compare-hint{display:none}.image-card-preview:not(:disabled):hover .compare-hint{background:#fff;box-shadow:0 3px 13px #7860d832}
/* Both halves show actual encoded versions of the same watermarked sample. */
.image-example{margin:42px auto 0;max-width:1000px}.image-example-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.image-example h2{font-size:28px;line-height:1.2;letter-spacing:-.035em;margin:0 0 10px}.image-example-heading p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.image-example-saving{flex:none;display:flex;align-items:center;gap:10px;padding:11px 16px;border:1px solid #d9cbef;border-radius:14px;background:#f1eafb;color:#7652b7}.image-example-saving strong{font-size:29px;letter-spacing:-.04em;line-height:1.1}.image-example-saving span{font-size:12px;max-width:95px;line-height:1.4}.image-example-frame{position:relative;aspect-ratio:3/2;width:100%;overflow:hidden;border-radius:18px;background:#ece7f4;box-shadow:0 10px 34px #46306513;direction:ltr}.image-example-frame>img,.image-example-before,.image-example-before img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.image-example-before{clip-path:inset(0 calc(100% - var(--example-split)) 0 0)}.image-example-label{position:absolute;top:18px;display:flex;gap:8px;align-items:center;padding:8px 12px;border:1px solid #fff8;border-radius:10px;background:#30274480;backdrop-filter:blur(8px);color:#fff;pointer-events:none;font-size:12px;line-height:1.5}.image-example-label strong{font-size:10px;font-weight:650;opacity:.85;letter-spacing:.04em}.image-example-label-before{left:18px}.image-example-label-after{right:18px}.image-example-divider{position:absolute;left:var(--example-split);top:0;bottom:0;width:2px;background:white;box-shadow:0 0 6px #0005;transform:translateX(-1px);pointer-events:none}.image-example-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:3px solid #fff;background:#7860d8;color:white;box-shadow:0 3px 16px #30274438;font-size:24px}.image-page input.image-example-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:col-resize;direction:ltr}.image-example-frame:focus-within{outline:3px solid #aa8de4;outline-offset:4px}.image-example-sizes{display:flex;align-items:center;gap:25px;padding:18px 2px}.image-example-sizes p{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;color:var(--muted)}.image-example-sizes strong{font-size:14px;color:var(--ink);font-variant-numeric:tabular-nums}.image-example-arrow{color:#a18bbb}.image-example-dimensions{margin-inline-start:auto!important}.image-example-caption{margin:0;font-size:12px;line-height:1.7;color:var(--muted)}
@media(max-width:760px){.image-example{margin-top:30px}.image-example-heading{align-items:flex-start;gap:13px}.image-example h2{font-size:23px}.image-example-heading p{font-size:12px}.image-example-saving{padding:9px;display:grid;gap:4px;min-width:64px;text-align:center}.image-example-saving strong{font-size:24px}.image-example-saving span{font-size:10px}.image-example-label{top:10px;padding:5px 8px;gap:5px;font-size:10px;border-radius:7px}.image-example-label-before{left:10px}.image-example-label-after{right:10px}.image-example-divider span{width:37px;height:37px;font-size:19px;border-width:2px}.image-example-frame{border-radius:12px}.image-example-sizes{flex-wrap:wrap;gap:9px 15px;padding:14px 2px}.image-example-sizes p{gap:7px;font-size:11px}.image-example-sizes strong{font-size:12px}.image-example-dimensions{flex-basis:100%;margin:0!important}.image-results-hint{padding:12px;font-size:13px;gap:9px}.image-results-hint svg{width:23px;height:23px}}

.image-format-note{font-size:11px;line-height:1.7;color:#7d6597;background:#f5f0fc;border:1px solid #e9e0f4;border-radius:9px;padding:9px 11px;margin:12px 0 0}.image-adjustments .image-format-note{margin:0 0 15px}@media(max-width:760px){.image-adjustments .image-format-note{grid-column:1/-1}}
