/* PDF Prem Resume Builder — F4 templates.
   Classic / Modern / Minimal. Class-only: switching changes the look of
   #rb-preview, never the data. Loaded after style.css so it wins.
   Print colours are kept with print-color-adjust (see bottom). */

/* ---------- Template switcher (screen only; .no-print hides it in PDF) ---------- */
.rb-tpl-switch{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 0}
.rb-tpl-label{font-weight:700;font-size:.9rem}
.rb-tpl-btn{padding:7px 16px;border:2px solid var(--border);border-radius:99px;background:var(--surface);color:var(--text);cursor:pointer;font-weight:600;font-size:.9rem}
.rb-tpl-btn.active{border-color:#6d28d9;background:rgba(109,40,217,.12)}

/* ---------- Shared preview typography (all templates) ---------- */
#rb-preview .resume-name{font-size:1.7rem;font-weight:800;line-height:1.2}
#rb-preview .resume-title{font-size:1.05rem;font-weight:600;margin-top:2px}
#rb-preview .resume-contact{font-size:.9rem;margin-top:4px}
#rb-preview .resume-item{margin-bottom:10px}
#rb-preview .resume-item-head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}
#rb-preview .resume-years{margin-left:auto}
#rb-preview .resume-item p{margin:4px 0 0;font-size:.95rem;line-height:1.55}

/* ---------- Classic (default): today's professional look, formalised ---------- */
#rb-preview.tpl-classic .resume-name{color:#111}
#rb-preview.tpl-classic .resume-title{color:#6d28d9}
#rb-preview.tpl-classic .resume-contact{color:#444}
#rb-preview.tpl-classic .resume-head{border-bottom:3px solid #6d28d9}
#rb-preview.tpl-classic h4{color:#6d28d9;border-bottom:2px solid #e9d5ff;padding-bottom:4px}
#rb-preview.tpl-classic .resume-years{color:#555;font-size:.9rem}

/* ---------- Modern: prem-pink accents, soft tint blocks ---------- */
#rb-preview.tpl-modern .resume-name{color:#db2777}
#rb-preview.tpl-modern .resume-title{color:#111}
#rb-preview.tpl-modern .resume-contact{color:#555}
#rb-preview.tpl-modern .resume-head{border-bottom:3px solid #db2777}
#rb-preview.tpl-modern h4{color:#be185d;border-bottom:3px solid #f9a8d4;padding-bottom:4px;letter-spacing:1.5px}
#rb-preview.tpl-modern #pv-skills{background:#fdf2f8;border:1px solid #fbcfe8;border-radius:8px;padding:8px 12px}
#rb-preview.tpl-modern .resume-years{background:#fdf2f8;color:#be185d;padding:2px 10px;border-radius:99px;font-size:.8rem;font-weight:700}

/* ---------- Minimal: black / grey only, airy ---------- */
#rb-preview.tpl-minimal .resume-name{color:#111;font-weight:600;letter-spacing:.5px}
#rb-preview.tpl-minimal .resume-title{color:#333;font-weight:500}
#rb-preview.tpl-minimal .resume-contact{color:#666;font-size:.88rem}
#rb-preview.tpl-minimal .resume-head{border-bottom:2px solid #111}
#rb-preview.tpl-minimal h4{color:#111;border-bottom:1px solid #ddd;padding-bottom:4px;letter-spacing:2px;font-size:.8rem}
#rb-preview.tpl-minimal .resume-item p{line-height:1.7}
#rb-preview.tpl-minimal .resume-years{color:#666;font-size:.88rem}

/* ---------- Print: keep template colours in the PDF ---------- */
@media print{
  #rb-preview{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ---------- F3 Bullet Enhancer cards ---------- */
.rb-bullet-card{border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin-bottom:8px;background:var(--surface)}
.rb-bullet-card .rb-orig{font-size:.88rem;color:var(--muted)}
.rb-bullet-card .rb-sugg{font-size:.95rem;margin:4px 0 8px}
.rb-bullet-card .rb-done{color:#16a34a;font-weight:700;font-size:.9rem}
.rb-bullet-card .rb-stale{color:#ef4444;font-size:.9rem}
#rb-bullet-result .hint{margin-top:8px}

/* ---------- F5 Summary Starters ---------- */
#rb-sum-starters{margin-top:6px}
.rb-sum-label{font-weight:700;font-size:.9rem;margin-right:4px}
.rb-sum-chip{display:inline-block;padding:6px 14px;margin:3px;border:2px solid var(--border);border-radius:99px;background:var(--surface);color:var(--text);cursor:pointer;font-weight:600;font-size:.88rem}
.rb-sum-chip:hover{border-color:#6d28d9}
