.compress-page{background:#f8f9fc;padding-top:1px}
.compress-page svg{width:18px;height:18px;flex-shrink:0}
.compress-page .cmp-hero{max-width:950px;margin:auto;padding:42px 24px 28px;text-align:center}
.compress-page .cmp-hero-icon{width:56px;height:56px;border:1px solid #e9dffc;border-radius:17px;background:#f0e9fc;color:#8d4de4;display:grid;place-items:center;margin:0 auto 15px;box-shadow:0 3px 8px #7c3aed05}
.compress-page .cmp-hero-icon svg{width:26px;height:26px}
.compress-page .cmp-eyebrow{font-size:9px;letter-spacing:1.8px;color:#9167c9;font-weight:650;margin-bottom:12px}
.compress-page .cmp-hero h1{font-size:40px;line-height:1.2;letter-spacing:-1.3px;color:#111827;margin:0 0 15px;font-weight:750}
.compress-page .cmp-hero>p{font-size:14px;line-height:1.85;color:#64748b;max-width:700px;margin:0 auto}
.compress-page .cmp-hero-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:20px;color:#8992a4;font-size:10px}
.compress-page .cmp-hero-tags>span{display:flex;align-items:center;gap:5px}
.compress-page .cmp-hero-tags svg{width:13px;height:13px;color:#a185c7}
.compress-page .cmp-workspace{max-width:1100px;margin:0 auto 34px;padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 8px 30px #1c244506;min-width:0}
.compress-page .cmp-upload{padding:28px 20px 24px;background:linear-gradient(180deg,#fcfaff,#fff);border:1.5px dashed #d6c6ef;border-radius:16px;text-align:center;display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.compress-page .cmp-upload:hover,.compress-page .cmp-upload.dragging{border-color:#aa7ee7;background:#f8f4ff;box-shadow:inset 0 0 0 3px #7c3aed05}
.compress-page .cmp-upload-symbol{width:52px;height:52px;background:#f2ebff;border:1px solid #e8dcfb;border-radius:15px;display:grid;place-items:center;color:#8e4de4;margin-bottom:17px}
.compress-page .cmp-upload-symbol svg{width:25px;height:25px}
.compress-page .cmp-upload h2{font-size:19px;line-height:1.5;letter-spacing:-.4px;font-weight:650;margin:0 0 7px;color:#111827}
.compress-page .cmp-upload p{font-size:12px;line-height:1.8;color:#64748b;margin:0 0 18px}
.compress-page .cmp-upload .primary{min-width:180px}
.compress-page .cmp-upload>span:not(.cmp-upload-symbol){font-size:10px;color:#64748b;margin-top:14px;line-height:1.8}
.compress-page .cmp-upload small{font-size:9px;line-height:1.8;color:#94a0b3;margin-top:8px}
.compress-page .cmp-upload.has-files{padding:18px}
.compress-page .cmp-upload.has-files .cmp-upload-symbol,.compress-page .cmp-upload.has-files h2,.compress-page .cmp-upload.has-files p,.compress-page .cmp-upload.has-files small{display:none}
.compress-page .cmp-settings{margin-top:28px;padding-top:24px;border-top:1px solid #eeedf4}
.compress-page .cmp-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.compress-page .cmp-section-head h2,.compress-page .cmp-list-heading h2{font-size:16px;font-weight:650;line-height:1.5;letter-spacing:-.3px;margin:0;color:#334155}
.compress-page #cmpCustom{font-size:9px;color:#8b5cc0;background:#f6f0fd;padding:4px 8px;border-radius:6px}
.compress-page .cmp-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.compress-page .cmp-level{display:flex;align-items:flex-start;gap:11px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:18px 16px;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s;min-width:0}
.compress-page .cmp-level:has(input:checked){border-color:#ad85e8;background:#f8f4ff;box-shadow:0 0 0 1px #7c3aed06}
.compress-page .cmp-level input{margin-top:2px}
.compress-page .cmp-level strong{display:block;font-size:12px;line-height:1.5;font-weight:600;color:#334155}
.compress-page .cmp-level small{display:block;font-size:10px;line-height:1.7;color:#8490a3;margin-top:5px}
.compress-page .cmp-level:has(input:disabled){opacity:.6;cursor:default}
.compress-page .cmp-level:has(input:focus-visible){outline:3px solid #c4b5fd;outline-offset:3px}
.compress-page .cmp-format-note{font-size:10px;line-height:1.8;color:#8994a7;margin:13px 0 17px}
.compress-page details.cmp-advanced{margin:0;border:1px solid #e8e8f1;border-radius:11px;background:#fafafe;padding:0}
.compress-page details.cmp-advanced summary{padding:14px 16px;font-size:11px;font-weight:550;line-height:1.6;color:#64748b;cursor:pointer}
.compress-page .cmp-advanced-grid{padding:4px 16px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.compress-page .cmp-advanced-grid>div{min-width:0;display:flex;flex-direction:column;gap:10px}
.compress-page .cmp-advanced-grid label{font-size:11px;color:#64748b;line-height:1.6;display:flex;align-items:center;gap:7px}
.compress-page .cmp-advanced-grid small{color:#94a0b3;font-size:9px;line-height:1.8}
.compress-page .cmp-quality>label{justify-content:space-between}
.compress-page .cmp-quality output{color:#7c3aed;font-weight:600}
.compress-page .cmp-quality>input{width:100%;accent-color:#7c3aed;height:26px;margin:0}
.compress-page .cmp-advanced-grid select,.compress-page .cmp-advanced-grid input[type=number]{border:1px solid #e5e7eb;border-radius:8px;padding:7px 10px;min-height:35px;font-size:11px;color:#64748b;max-width:100%;min-width:0;background:white}
.compress-page .cmp-edge-label input{width:90px}
.compress-page .cmp-advanced-grid :disabled{opacity:.5;cursor:default}
.compress-page .cmp-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 16px}
.compress-page .cmp-list-heading>div{display:grid;gap:4px}
.compress-page #cmpCount{color:#94a0b3;font-size:10px}
.compress-page .cmp-list-heading .neutral{font-size:11px;min-height:36px;padding:8px 11px}
.compress-page .cmp-files{display:grid;gap:14px}
.compress-page .cmp-file{padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;min-width:0;transition:border-color .2s,box-shadow .2s}
.compress-page .cmp-state-processing{border-color:#d9c8f3;background:#fefcff}
.compress-page .cmp-state-error{border-color:#f2d8df;background:#fffdfd}
.compress-page .cmp-file-main{display:flex;align-items:center;gap:13px;min-width:0}
.compress-page .cmp-file-main>img{width:54px;height:58px;object-fit:contain;background:#f7f8fc;border:1px solid #eef0f5;border-radius:8px;flex-shrink:0}
.compress-page .cmp-document-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:54px;height:58px;border:1px solid #eee3f7;border-radius:8px;background:#f8f2fd;color:#a37ac9;flex-shrink:0}
.compress-page .cmp-document-icon svg{width:24px;height:24px}
.compress-page .cmp-document-icon small{font-size:7px;font-weight:650;letter-spacing:.8px}
.compress-page .cmp-file-title{display:grid;gap:5px;min-width:0;flex:1}
.compress-page .cmp-file-title>strong{font-size:12px;font-weight:600;color:#334155;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compress-page .cmp-file-title>span{font-size:10px;color:#94a0b3}
.compress-page .cmp-file-state{font-size:10px;color:#8b7b9e;line-height:1.6;display:flex;gap:7px;align-items:center}
.compress-page .cmp-state-done .cmp-file-state{color:#26815c}
.compress-page .cmp-state-unchanged .cmp-file-state,.compress-page .cmp-state-cancelled .cmp-file-state{color:#a17b42}
.compress-page .cmp-state-error .cmp-file-state{color:#b13c55}
.compress-page .cmp-remove{width:32px;height:32px;display:grid;place-items:center;border:1px solid #ececf4;border-radius:8px;background:#fafbfe;color:#94a0b3;flex-shrink:0;padding:0;cursor:pointer}
.compress-page .cmp-remove:hover{color:#b6475f;background:#fff2f5;border-color:#f2d9e1}
.compress-page .cmp-remove svg{width:15px;height:15px}
.compress-page .cmp-file-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #efedf5;border-radius:10px;background:#fafafe;margin-top:16px;padding:12px 16px;gap:14px}
.compress-page .cmp-file-metrics>span{font-size:9px;line-height:1.6;color:#94a0b3;display:grid;gap:4px;min-width:0}
.compress-page .cmp-file-metrics strong{font-size:12px;font-weight:600;color:#475569;line-height:1.6;overflow-wrap:anywhere}
.compress-page .cmp-file-metrics strong small{font-size:9px;font-weight:400;color:#94a0b3}
.compress-page .cmp-state-done .cmp-file-metrics>span:last-child strong{color:#7c3aed}
.compress-page .cmp-file-note{margin:12px 0 0;font-size:10px;color:#8994a7;line-height:1.9;overflow-wrap:anywhere}
.compress-page .cmp-state-error .cmp-file-note{color:#b13c55}
.compress-page .cmp-file-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:14px}
.compress-page .cmp-file-actions>*{font-size:10px;min-height:36px;padding:8px 12px}
.compress-page .cmp-run-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #eeedf4;margin-top:24px;padding-top:20px}
.compress-page #cmpLocalNote{font-size:10px;line-height:1.8;color:#94a0b3}
.compress-page .cmp-run-actions>div{display:flex;gap:10px;flex-wrap:wrap}
.compress-page #cmpRun{min-width:185px}
.compress-page .cmp-status{font-size:11px;line-height:1.9;color:#7e55b3;background:#faf7ff;border:1px solid #ebdffa;border-radius:10px;padding:12px 16px;margin-top:16px;overflow-wrap:anywhere}
.compress-page .cmp-status:empty{display:none}
.compress-page .cmp-status.is-error{background:#fff6f7;border-color:#f2d8df;color:#b13c55}
.compress-page .cmp-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.compress-page .cmp-summary>div{border:1px solid #e8e8f1;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:10px;background:#fafbfe;min-width:0}
.compress-page .cmp-summary span{font-size:9px;font-weight:550;letter-spacing:1px;color:#94a0b3}
.compress-page .cmp-summary strong{font-size:24px;font-weight:650;letter-spacing:-.7px;line-height:1.3;color:#475569;overflow-wrap:anywhere}
.compress-page .cmp-summary .cmp-summary-saved{background:#f7f2ff;border-color:#e8dcfb}
.compress-page .cmp-summary-saved strong{color:#7c3aed}
.compress-page .cmp-summary small{color:#9874c2;font-size:10px}
.compress-page .cmp-final-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid #efedf5}
.compress-page .cmp-final-actions button{font-size:12px}
.compress-page .cmp-comparison{--split:50%;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;text-align:center;margin-top:24px;padding-bottom:14px;background:#fff}
.compress-page .cmp-comparison-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-bottom:1px solid #e5e7eb;text-align:left}
.compress-page .cmp-comparison-head h2{font-size:12px;font-weight:550;color:#475569;line-height:1.7;margin:0;overflow-wrap:anywhere;min-width:0}
.compress-page #cmpCloseCompare{width:30px;min-height:30px;padding:0;flex-shrink:0}
.compress-page #cmpCloseCompare svg{width:15px;height:15px}
.compress-page .cmp-checker{background-color:#fff;background-image:linear-gradient(45deg,#ececf2 25%,transparent 25%),linear-gradient(-45deg,#ececf2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ececf2 75%),linear-gradient(-45deg,transparent 75%,#ececf2 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.compress-page .cmp-compare-stage{height:380px;position:relative;overflow:hidden;margin-bottom:16px}
.compress-page .cmp-compare-stage>img,.compress-page .cmp-compare-after>img{width:100%;height:100%;padding:14px;object-fit:contain;display:block}
.compress-page .cmp-compare-after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--split))}
.compress-page .cmp-compare-line{position:absolute;left:var(--split);top:0;bottom:0;border-left:2px solid #7c3aed;pointer-events:none}
.compress-page .cmp-compare-line::after{content:'↔';position:absolute;top:50%;left:-16px;width:30px;height:30px;border-radius:50%;background:white;border:1px solid #e8ddfa;display:grid;place-items:center;color:#7c3aed;box-shadow:0 2px 6px #1c244514;font-size:17px}
.compress-page .cmp-compare-label{position:absolute;top:13px;padding:4px 9px;background:#fffffff0;border:1px solid #e9e3f2;border-radius:6px;font-size:9px;color:#8a70a6}
.compress-page .cmp-label-before{left:14px}.compress-page .cmp-label-after{right:14px}
.compress-page .cmp-comparison>label{display:block;font-size:10px;color:#94a0b3;line-height:1.7}
.compress-page #cmpCompareRange{height:26px;width:calc(100% - 48px);max-width:460px;accent-color:#7c3aed;cursor:ew-resize;margin-top:8px}
.compress-page .cmp-spinner{width:11px;height:11px;border:1.5px solid #dfd0f4;border-top-color:#7c3aed;border-radius:50%;animation:cmp-spin 1s linear infinite;flex-shrink:0}
@keyframes cmp-spin{to{transform:rotate(360deg)}}
@media(max-width:1148px){.compress-page .cmp-workspace{margin-left:24px;margin-right:24px}.compress-page .cmp-level{padding:16px 12px;gap:8px}}
@media(max-width:760px){.compress-page .cmp-hero{padding:30px 20px 24px}.compress-page .cmp-hero h1{font-size:32px;letter-spacing:-1px}.compress-page .cmp-hero>p{font-size:12px;line-height:1.9}.compress-page .cmp-hero-tags{gap:8px 14px;font-size:9px;margin-top:17px}.compress-page .cmp-hero-icon{width:48px;height:48px;border-radius:14px}.compress-page .cmp-workspace{margin:0 16px 28px;padding:12px;border-radius:17px}.compress-page .cmp-upload{padding:24px 12px 19px;border-radius:12px}.compress-page .cmp-upload h2{font-size:16px}.compress-page .cmp-upload p{font-size:11px}.compress-page .cmp-upload>span:not(.cmp-upload-symbol){font-size:9px}.compress-page .cmp-upload small{font-size:8px}.compress-page .cmp-upload.has-files{padding:16px 12px}.compress-page .cmp-settings{margin-top:22px;padding-top:20px}.compress-page .cmp-section-head h2,.compress-page .cmp-list-heading h2{font-size:14px}.compress-page .cmp-levels{grid-template-columns:minmax(0,1fr);gap:9px}.compress-page .cmp-level{padding:14px;align-items:center;gap:12px}.compress-page .cmp-level strong{font-size:12px}.compress-page .cmp-level small{font-size:10px;margin-top:3px}.compress-page .cmp-format-note{font-size:9px;line-height:1.9}.compress-page .cmp-advanced-grid{grid-template-columns:minmax(0,1fr);gap:20px;padding:4px 14px 18px}.compress-page #cmpCustom{font-size:8px}.compress-page .cmp-list-heading{margin-top:22px;gap:10px}.compress-page .cmp-list-heading .neutral{font-size:9px;padding:7px 9px;gap:5px}.compress-page .cmp-list-heading svg{width:14px;height:14px}.compress-page .cmp-file{padding:12px;border-radius:12px}.compress-page .cmp-file-main{gap:10px}.compress-page .cmp-file-main>img,.compress-page .cmp-document-icon{width:44px;height:50px}.compress-page .cmp-file-title>strong{font-size:11px}.compress-page .cmp-file-title>span,.compress-page .cmp-file-state{font-size:9px}.compress-page .cmp-remove{width:28px;height:28px}.compress-page .cmp-file-metrics{padding:10px;gap:9px}.compress-page .cmp-file-metrics>span{font-size:8px}.compress-page .cmp-file-metrics strong{font-size:10px}.compress-page .cmp-file-metrics strong small{display:block;font-size:8px}.compress-page .cmp-file-note{font-size:9px;line-height:1.85}.compress-page .cmp-file-actions>*{flex:1;min-height:40px;font-size:10px;padding:8px 10px}.compress-page .cmp-run-actions{flex-direction:column-reverse;align-items:stretch;gap:12px;margin-top:20px;padding-top:18px}.compress-page .cmp-run-actions>div{width:100%}.compress-page #cmpRun{min-width:0;flex:1;min-height:46px;font-size:12px}.compress-page #cmpCancel{min-height:46px}.compress-page #cmpLocalNote{text-align:center;font-size:9px}.compress-page .cmp-status{font-size:10px;padding:12px;line-height:1.9}.compress-page .cmp-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compress-page .cmp-summary>div{padding:16px;gap:9px}.compress-page .cmp-summary strong{font-size:20px}.compress-page .cmp-summary-saved{grid-column:span 2;display:grid!important;grid-template-columns:1fr 1fr;align-items:center}.compress-page .cmp-summary-saved strong{grid-row:span 2;text-align:right;font-size:26px}.compress-page .cmp-summary-saved small{grid-column:1}.compress-page .cmp-final-actions{flex-direction:column-reverse;gap:10px}.compress-page .cmp-final-actions button{width:100%;min-height:46px;font-size:11px}.compress-page .cmp-compare-stage{height:290px}}
@media(prefers-reduced-motion:reduce){.compress-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.compress-page .cmp-summary-caption{grid-column:1/-1;font-size:10px;line-height:1.8;margin:0;color:#94a0b3}
.compress-page .cmp-file-filter{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:15px;color:#64748b;font-size:11px;cursor:default;max-width:100%;flex-wrap:wrap}
.compress-page .cmp-file-filter select{min-height:38px;max-width:100%;border:1px solid #e5e7eb;border-radius:9px;background:#fff;color:#475569;padding:8px 30px 8px 11px;font:inherit;cursor:pointer}
.compress-page .cmp-file-filter select:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}
.compress-page .cmp-state-unchanged .cmp-file-state{color:#64748b}
@media(min-width:761px){.compress-page .cmp-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
