
/* Container */
.pd-num-wrap{max-width:980px;margin:0 auto;font-family:'Poppins',ui-sans-serif,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#0f172a}
.pd-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px rgba(2,8,20,.06);padding:20px 22px;margin:16px 0}

/* Top bar: just the donut, right-aligned */
.pd-top{display:flex;justify-content:flex-end;align-items:center;margin-bottom:6px}

/* Remaining donut */
.pd-remaining{display:flex;align-items:center;gap:10px}
.pd-donut{--pct:75;background:conic-gradient(#10b981 calc(var(--pct)*1%),#e5e7eb 0);width:56px;height:56px;border-radius:50%;display:grid;place-items:center}
.pd-donut span{font-weight:800;font-size:20px}
.pd-remaining .lbl{font-size:16px;color:#334155}

/* Sections grid */
.pd-sections{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:760px){ .pd-sections{grid-template-columns:1fr} }

.pd-sec{border:1px solid #eef2f7;border-radius:16px;padding:14px 14px 12px 14px;background:linear-gradient(180deg,#fff, #fafafb)}
.pd-sec h3{margin:0 0 10px;font-size:18px;font-weight:800;color:#0f172a}
.pd-chips{display:flex;flex-wrap:wrap;gap:10px}

/* Chips */
.pd-chip{padding:10px 14px;border:1px solid #d7dbe3;border-radius:999px;background:#fff;font-weight:600;cursor:pointer;transition:.2s;font-size:16px}
.pd-chip:hover{box-shadow:0 1px 0 rgba(2,8,20,.06)}
.pd-chip.active{background:#14b8a6;border-color:#14b8a6;color:#fff}

/* Actions */
.pd-actions{display:flex;gap:12px;margin-top:16px}
.pd-btn{background:#14b8a6;border:1px solid #14b8a6;color:#fff;border-radius:999px;padding:12px 18px;min-height:44px;font-weight:600;cursor:pointer}
.pd-btn.secondary{background:#fff;color:#0f172a;border-color:#d1d5db}

/* Question view */
.pd-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:6px}
.pd-q{margin:8px 0 10px;font-weight:600;font-size:20px}
.pd-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:12px;font-size:18px}
.pd-options{display:grid;gap:10px;margin:8px 0}
.pd-option{border:1px solid #d1d5db;border-radius:12px;padding:12px;cursor:pointer}
.pd-controls{position:sticky;bottom:0;left:0;right:0;display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px;background:linear-gradient(180deg,rgba(255,255,255,0) 0,#fff 40%);border-top:1px solid #e5e7eb;border-bottom-left-radius:12px;border-bottom-right-radius:12px}

/* Feedback */
.pd-feedback{margin-top:12px;padding:12px;border-radius:12px}
.pd-ok{background:#ecfdf5;border:1px solid #10b981}
.pd-bad{background:#fef2f2;border:1px solid #ef4444}
.pd-working details{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px;margin-top:8px}
.pd-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;background:#f8fafc}
