/* PraxTools Compress PDF — tool-specific visual layer */
.compress-pdf-page{background:linear-gradient(180deg,#fff 0,#fff8f8 48%,#f8fafc 100%);color:#171923}
.compress-wrap{width:min(1050px,calc(100% - 28px));margin:0 auto;padding:34px 0 20px}
.compress-hero{text-align:center;margin:8px auto 26px;max-width:820px}
.compress-eyebrow{display:inline-flex;padding:7px 12px;border-radius:999px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.compress-hero h1{font-size:clamp(32px,6vw,50px);line-height:1.08;margin:10px 0 12px;letter-spacing:-.8px}
.compress-hero p{max-width:760px;margin:auto;color:#667085;font-size:16px;line-height:1.7}
.compress-panel{max-width:820px;margin:0 auto;background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:clamp(18px,4vw,30px);box-shadow:0 18px 55px rgba(15,23,42,.08)}
.compress-drop{min-height:245px;border:2px dashed #d8dce5;border-radius:18px;background:#fafbfe;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px;cursor:pointer;transition:.2s;outline:none}
.compress-drop:hover,.compress-drop.drag,.compress-drop:focus-visible{border-color:#ef9aa4;background:#fff7f8;transform:translateY(-1px)}
.compress-drop-icon{width:58px;height:58px;border-radius:17px;background:#fff1f2;color:#be123c;display:grid;place-items:center;font-weight:950;font-size:15px;letter-spacing:.04em;margin-bottom:8px}
.compress-drop h2{margin:4px 0 6px;font-size:20px}.compress-drop p{margin:0 0 14px;color:#667085}.compress-drop>small{margin-top:12px;color:#98a2b3;font-size:11px;line-height:1.5}
.compress-btn{border:0;border-radius:12px;padding:13px 18px;font-weight:900;font-size:14px;cursor:pointer;transition:.18s;display:inline-flex;align-items:center;justify-content:center;gap:9px}.compress-btn.primary{background:#e11d2e;color:#fff;box-shadow:0 8px 20px rgba(225,29,46,.18)}.compress-btn:hover:not(:disabled){filter:brightness(.96);transform:translateY(-1px)}.compress-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.file-card{margin-top:14px;padding:12px;border:1px solid #e5e7eb;border-radius:15px;background:#fff;display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center}.file-card[hidden]{display:none}.file-badge{width:48px;height:48px;border-radius:12px;background:#fff1f2;color:#be123c;display:grid;place-items:center;font-size:12px;font-weight:950}.file-meta{min-width:0}.file-meta strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.file-meta span{display:block;color:#667085;font-size:12px;margin-top:3px}.file-remove{width:34px;height:34px;border-radius:50%;border:0;background:#f3f4f6;color:#667085;font-size:22px;cursor:pointer;line-height:1}
.compress-note{margin:16px 0;padding:14px 16px;border-radius:13px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;font-size:13px;line-height:1.55}
.compress-fieldset{border:0;padding:0;margin:18px 0}.compress-fieldset legend,.compress-field>label{font-weight:850;font-size:13px;margin-bottom:9px;display:block;color:#344054}
.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.preset-card{position:relative;min-height:92px;border:1px solid #e5e7eb;border-radius:14px;padding:15px 13px;background:#fff;display:flex;align-items:center;gap:10px;cursor:pointer;transition:.18s}.preset-card:hover{border-color:#ef9aa4;background:#fffafa}.preset-card input{position:absolute;opacity:0;pointer-events:none}.preset-dot{width:18px;height:18px;border:2px solid #d0d5dd;border-radius:50%;flex:0 0 auto;position:relative}.preset-card:has(input:checked){border-color:#e11d2e;background:#fff7f8;box-shadow:0 0 0 3px rgba(225,29,46,.06)}.preset-card:has(input:checked) .preset-dot{border-color:#e11d2e}.preset-card:has(input:checked) .preset-dot:after{content:"";position:absolute;inset:3px;background:#e11d2e;border-radius:50%}.preset-card b{display:block;font-size:14px}.preset-card small{display:block;color:#667085;font-size:11px;line-height:1.4;margin-top:2px}.recommended{padding-top:22px}.recommended-tag{position:absolute;top:-8px;right:10px;background:#e11d2e;color:#fff;border-radius:999px;padding:3px 8px;font-size:9px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.compress-field{margin-top:18px}.compress-field select{width:100%;padding:13px;border:1px solid #d8dbe4;border-radius:12px;background:#fff;font:inherit;color:#171923}.compress-field select:focus{outline:0;border-color:#ef9aa4;box-shadow:0 0 0 4px rgba(225,29,46,.08)}.compress-field>small{display:block;margin-top:7px;color:#667085;font-size:11px;line-height:1.5}
.compress-action{width:100%;margin-top:20px;padding:14px 18px;font-size:15px}.btn-spinner{display:none;width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:compressSpin .7s linear infinite}.compress-action.busy .btn-spinner{display:inline-block}@keyframes compressSpin{to{transform:rotate(360deg)}}
.progress-card{margin-top:16px;padding:15px;border:1px solid #e5e7eb;border-radius:14px;background:#fafbfe}.progress-card[hidden]{display:none}.progress-row{display:flex;justify-content:space-between;gap:16px;font-size:13px}.progress-row span{color:#be123c;font-weight:900}.progress-track{height:9px;background:#eef0f4;border-radius:999px;overflow:hidden;margin:11px 0 8px}.progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#e11d2e,#fb7185);border-radius:999px;transition:width .2s ease}.progress-card small{color:#667085;font-size:11px;line-height:1.5}
.compress-result{margin-top:16px;padding:15px 16px;border-radius:14px;border:1px solid #ccebdc;background:#effaf5;color:#176c50;font-size:13px;line-height:1.6}.compress-result.error{border-color:#f5c9c9;background:#fff0f0;color:#a92b2d}.compress-result[hidden]{display:none}.compress-result strong{display:block;font-size:15px;margin-bottom:3px}
.compress-steps{max-width:820px;margin:20px auto 0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.compress-steps>div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;text-align:center}.compress-steps b{display:grid;place-items:center;width:30px;height:30px;margin:0 auto 8px;border-radius:50%;background:#fff1f2;color:#be123c}.compress-steps span{font-size:12px;font-weight:750;color:#475467}
.compress-guide{max-width:1050px;margin:12px auto 0}.compress-guide .seo-content-inner{max-width:820px;margin:0 auto;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:clamp(18px,4vw,28px);line-height:1.75}.compress-guide h2{margin-top:0}.compress-guide details{padding:14px 0;border-bottom:1px solid #e5e7eb}.compress-guide summary{font-weight:700;cursor:pointer}.compress-guide details p{margin:8px 0 0}
@media(max-width:760px){.compress-wrap{padding-top:24px}.compress-panel{border-radius:17px}.preset-grid,.compress-steps{grid-template-columns:1fr}.compress-drop{min-height:210px}.compress-hero h1{font-size:32px}.compress-guide{width:calc(100% - 24px)}.compress-guide .seo-content-inner{border-radius:16px}}
