:root{
  --pc-bg:#f6f8fc;
  --pc-card:#fff;
  --pc-text:#111827;
  --pc-muted:#667085;
  --pc-border:#e5e7eb;
  --pc-primary:#2563eb;
  --pc-primary-dark:#1d4ed8;
  --pc-soft:#eff6ff;
  --pc-radius:20px;
}
.pc-app{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--pc-bg);color:var(--pc-text);padding:56px 18px;box-sizing:border-box}
.pc-app *{box-sizing:border-box}
.pc-shell{max-width:1040px;margin:auto}
.pc-hero{text-align:center;max-width:760px;margin:0 auto 28px}
.pc-eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--pc-primary);margin-bottom:10px}
.pc-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.04;letter-spacing:-.04em;margin:0 0 16px;font-weight:800}
.pc-hero p{font-size:17px;line-height:1.6;color:var(--pc-muted);margin:0}
.pc-tabs{display:flex;gap:8px;justify-content:center;margin:0 auto 16px}
.pc-tab{border:1px solid var(--pc-border);background:#fff;color:#475467;border-radius:999px;padding:11px 20px;font-weight:700;cursor:pointer;transition:.2s}
.pc-tab:hover{border-color:#c7d2fe}
.pc-tab.is-active{background:var(--pc-text);color:#fff;border-color:var(--pc-text)}
.pc-card{background:var(--pc-card);border:1px solid var(--pc-border);border-radius:var(--pc-radius);padding:22px;box-shadow:0 12px 35px rgba(16,24,40,.06)}
.pc-dropzone{border:2px dashed #cbd5e1;border-radius:16px;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;cursor:pointer;background:linear-gradient(180deg,#fff,#fbfdff);transition:.2s}
.pc-dropzone:hover,.pc-dropzone.is-dragging{border-color:var(--pc-primary);background:var(--pc-soft)}
.pc-upload-icon{width:58px;height:58px;border-radius:16px;background:var(--pc-soft);color:var(--pc-primary);display:grid;place-items:center;margin-bottom:16px}
.pc-upload-icon svg{width:28px;height:28px}
.pc-dropzone h2{margin:0 0 7px;font-size:23px}
.pc-dropzone p{margin:0 0 13px;color:var(--pc-muted)}
.pc-supported{font-size:12px;color:#98a2b3}
.pc-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px;padding:18px;border:1px solid var(--pc-border);border-radius:16px;background:#fbfcfe}
.pc-option label{display:block;font-size:13px;font-weight:750;margin-bottom:8px}
.pc-option label span{font-weight:500;color:var(--pc-muted)}
.pc-option label strong{float:right;color:var(--pc-primary)}
.pc-option select,.pc-option input[type=number]{width:100%;height:44px;border:1px solid #d0d5dd;border-radius:10px;padding:0 12px;background:#fff;font:inherit}
.pc-option input[type=range]{width:100%;accent-color:var(--pc-primary)}
.pc-actions{grid-column:1/-1;display:flex;gap:10px}
.pc-btn{height:46px;border-radius:10px;padding:0 18px;font-weight:800;border:1px solid transparent;cursor:pointer;font:inherit}
.pc-btn-primary{background:var(--pc-primary);color:#fff;flex:1}
.pc-btn-primary:hover{background:var(--pc-primary-dark)}
.pc-btn-ghost{background:#fff;border-color:var(--pc-border);color:#344054}
.pc-status{margin-top:18px;padding:14px 0 0}
.pc-status-top{display:flex;justify-content:space-between;font-size:13px;font-weight:700;margin-bottom:8px}
.pc-progress{height:8px;border-radius:999px;background:#eef2f6;overflow:hidden}
.pc-progress span{display:block;width:0;height:100%;background:var(--pc-primary);transition:width .2s}
.pc-results{margin-top:18px;display:grid;gap:10px}
.pc-result{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center;border:1px solid var(--pc-border);border-radius:14px;padding:11px;background:#fff}
.pc-thumb{width:52px;height:52px;border-radius:10px;object-fit:cover;background:#f2f4f7}
.pc-result-name{font-size:14px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-result-meta{font-size:12px;color:var(--pc-muted);margin-top:3px}
.pc-result-saving{font-size:12px;font-weight:800;color:#15803d;margin-top:3px}
.pc-download{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:var(--pc-text);color:#fff;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:800;white-space:nowrap}
.pc-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.pc-trust>div{border:1px solid var(--pc-border);background:#fff;border-radius:14px;padding:15px}
.pc-trust span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ecfdf3;color:#15803d;font-weight:900;margin-right:7px}
.pc-trust strong{font-size:13px}
.pc-trust small{display:block;color:var(--pc-muted);font-size:12px;margin:7px 0 0 31px}
@media(max-width:700px){
  .pc-app{padding:38px 12px}
  .pc-card{padding:12px}
  .pc-options{grid-template-columns:1fr}
  .pc-actions{grid-column:auto}
  .pc-trust{grid-template-columns:1fr}
  .pc-tabs{overflow:auto;justify-content:flex-start}
  .pc-tab{white-space:nowrap}
  .pc-result{grid-template-columns:44px minmax(0,1fr)}
  .pc-thumb{width:44px;height:44px}
  .pc-download{grid-column:2}
}
