.pqw{max-width:900px;margin:0 auto;padding:16px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1e293b;box-sizing:border-box}
.pqw *{box-sizing:border-box}
.pqw [hidden]{display:none!important}
.pqw-title{text-align:center;font-size:2rem;font-weight:800;margin:0 0 8px;color:#0f172a}
.pqw-sub{text-align:center;color:#64748b;margin:0 0 20px}
.pqw-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.08)}
.pqw-drop{position:relative;border:2px dashed #2563eb88;border-radius:16px;padding:48px 16px;text-align:center;transition:.2s;background:#f8fafc}
.pqw-drop:hover,.pqw-drop.pqw-active{border-color:#1d4ed8;background:#eff6ff}
.pqw-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.pqw-icon{font-size:42px;color:#2563eb;line-height:1;margin-bottom:12px}
.pqw-btn-fake{display:inline-block;background:#2563eb;color:#fff;font-weight:600;padding:10px 20px;border-radius:10px}
.pqw-hint{margin:10px 0 0;color:#64748b;font-size:14px}
.pqw-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;margin-bottom:16px}
.pqw-meta{font-size:12px;color:#64748b}
.pqw-link{background:none;border:0;color:#e11d48;text-decoration:underline;font-size:13px;cursor:pointer;padding:0}
.pqw-body{display:flex;gap:20px;flex-wrap:wrap}
.pqw-preview{flex:0 0 220px;max-width:100%;margin:0 auto;text-align:center}
.pqw-preview canvas{max-width:100%;border:1px solid #e2e8f0;border-radius:8px;background:#fff}
.pqw-pager{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px}
.pqw-pager button{background:#e2e8f0;border:0;border-radius:6px;padding:4px 10px;cursor:pointer}
.pqw-pager button:disabled{opacity:.5}
.pqw-side{flex:1 1 280px;min-width:0}
.pqw-status{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:6px}
.pqw-bar{height:10px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-bottom:16px}
.pqw-bar i{display:block;height:100%;width:0;background:#2563eb;transition:width .3s}
.pqw-label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#475569;margin-bottom:6px}
.pqw-text{height:130px;overflow:auto;margin:0 0 16px;padding:10px;background:#0f172a;color:#f1f5f9;border-radius:10px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap}
.pqw-actions{display:flex;gap:10px;flex-wrap:wrap}
.pqw-primary,.pqw-secondary{border:0;border-radius:10px;padding:12px 20px;font-weight:700;font-size:14px;cursor:pointer}
.pqw-primary{background:#2563eb;color:#fff;flex:1 1 auto}
.pqw-primary:hover:not(:disabled){background:#1d4ed8}
.pqw-secondary{background:#f1f5f9;color:#334155}
.pqw button:disabled{opacity:.55;cursor:not-allowed}
.pqw-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#0f172a;color:#fff;padding:12px 18px;border-radius:10px;font-size:14px;z-index:99999;max-width:90%}
.pqw-toast.pqw-error{background:#e11d48}
.pqw-toast.pqw-success{background:#059669}
@media(max-width:600px){.pqw-title{font-size:1.5rem}}
