/* ZeroFee Tools resume-builder: template batch 1 (single column, ATS-safe).
   Canva-caliber redesign. All rules scoped under .tpl-<name>.
   Accent var --accent is user-set (default #2563eb) and drives each design.
   Photo is optional: every .rs-photo rule degrades cleanly when absent. */

/* ================= SLATE: charcoal band, photo left ================= */
.tpl-slate{font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-slate .rs-head{margin:-34px -36px 18px;padding:24px 36px;background:#334155;color:#fff;
  display:flow-root;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-slate .rs-photo{float:left;width:92px;height:92px;object-fit:cover;margin-right:20px;
  border:3px solid var(--accent);background:#475569}
.tpl-slate .rs-name{font-size:1.65rem;letter-spacing:.05em;text-transform:uppercase;margin:0 0 4px;font-weight:800}
.tpl-slate .rs-title{color:#cbd5e1;font-size:1rem;margin:0 0 8px}
.tpl-slate .rs-contact{font-size:.8rem;color:#e2e8f0}
.tpl-slate .rs-ci::before{margin-right:5px;color:var(--accent)}
.tpl-slate .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-slate .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-slate .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-slate .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-slate .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-slate .rs-sec{font-size:.95rem;text-transform:uppercase;letter-spacing:.14em;color:var(--accent);
  border-bottom:2px solid var(--accent);padding-bottom:4px;margin:20px 0 8px;font-weight:800}
.tpl-slate .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.tpl-slate .rs-dates{color:#64748b;font-weight:400;white-space:nowrap}
.tpl-slate .rs-company{color:#475569;font-size:.85rem;margin-bottom:2px}
.tpl-slate .rs-entry{margin-bottom:10px}
.tpl-slate .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-slate .rs-skill-list li{background:#334155;color:#fff;border-radius:999px;
  padding:3px 12px;font-size:.78rem;margin:0;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  .tpl-slate .rs-head{margin:0 0 14px}
}

/* ================= OCEAN: tide band, serif name, photo right ================= */
.tpl-ocean{font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-ocean .rs-head{margin:-34px -36px 18px;padding:24px 36px 20px;position:relative;
  background:color-mix(in srgb,var(--accent) 9%,#fff);
  border-bottom:4px solid var(--accent);
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-ocean .rs-head::after{content:"";display:block;height:8px;margin:14px -36px -20px;
  background:linear-gradient(90deg,var(--accent) 0 30%,color-mix(in srgb,var(--accent) 45%,#fff) 30% 60%,color-mix(in srgb,var(--accent) 15%,#fff) 60% 100%)}
.tpl-ocean .rs-photo{position:absolute;right:36px;top:50%;transform:translateY(-50%);
  width:84px;height:84px;border-radius:50%;object-fit:cover;
  border:3px solid var(--accent);background:#fff}
.tpl-ocean .rs-head:has(.rs-photo) .rs-name,
.tpl-ocean .rs-head:has(.rs-photo) .rs-title,
.tpl-ocean .rs-head:has(.rs-photo) .rs-contact{padding-right:104px}
.tpl-ocean .rs-name{font-family:Georgia,"Times New Roman",serif;font-size:1.9rem;color:#0c4a6e;margin:0 0 2px;font-weight:400}
.tpl-ocean .rs-title{color:var(--accent);font-weight:700;margin:0 0 8px;letter-spacing:.06em;text-transform:uppercase;font-size:.82rem}
.tpl-ocean .rs-contact{font-size:.8rem;color:#475569}
.tpl-ocean .rs-ci::before{margin-right:5px;color:var(--accent);font-weight:700}
.tpl-ocean .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-ocean .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-ocean .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-ocean .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-ocean .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-ocean .rs-sec{font-size:1rem;color:var(--accent);border-bottom:1px solid color-mix(in srgb,var(--accent) 35%,#fff);
  padding-bottom:5px;margin:20px 0 8px;font-weight:700}
.tpl-ocean .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700;color:#0c4a6e}
.tpl-ocean .rs-dates{color:var(--accent);font-weight:400;white-space:nowrap}
.tpl-ocean .rs-company{color:#0369a1;font-style:italic;font-size:.85rem;margin-bottom:2px}
.tpl-ocean .rs-entry{margin-bottom:10px}
.tpl-ocean .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-ocean .rs-skill-list li{border:1px solid var(--accent);color:#0c4a6e;border-radius:999px;
  background:color-mix(in srgb,var(--accent) 8%,#fff);padding:2px 12px;font-size:.78rem;margin:0;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  .tpl-ocean .rs-head{margin:0 0 14px}
  .tpl-ocean .rs-head::after{margin-left:0;margin-right:0}
}

/* ================= FOREST: centered serif, photo medallion above name ================= */
.tpl-forest{font-family:Georgia,"Times New Roman",serif}
.tpl-forest .rs-head{text-align:center;margin-bottom:12px;padding:6px 0 14px;position:relative;
  border-bottom:3px double #166534}
.tpl-forest .rs-head::after{content:"\25C6";display:block;color:#166534;font-size:.7rem;margin-top:8px;letter-spacing:0}
.tpl-forest .rs-photo{display:block;margin:0 auto 12px;width:96px;height:96px;border-radius:50%;
  object-fit:cover;border:4px double #166534;background:#f0fdf4}
.tpl-forest .rs-name{font-size:1.9rem;color:#14532d;margin:0 0 4px;font-weight:400;letter-spacing:.03em}
.tpl-forest .rs-title{font-style:italic;color:#166534;margin:0 0 8px}
.tpl-forest .rs-contact{font-size:.82rem;color:#4d7c0f}
.tpl-forest .rs-ci::before{margin-right:5px;color:#166534}
.tpl-forest .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-forest .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-forest .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-forest .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-forest .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-forest .rs-sec{display:flex;align-items:center;gap:10px;font-size:1.05rem;color:var(--accent);
  font-variant:small-caps;letter-spacing:.1em;margin:20px 0 8px;font-weight:700}
.tpl-forest .rs-sec::before,.tpl-forest .rs-sec::after{content:"";flex:1;height:1px;
  background:color-mix(in srgb,var(--accent) 40%,#fff)}
.tpl-forest .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700;text-align:left}
.tpl-forest .rs-dates{color:#65a30d;font-style:italic;white-space:nowrap}
.tpl-forest .rs-company{color:#4d7c0f;font-size:.88rem;margin-bottom:2px;text-align:left}
.tpl-forest .rs-entry{margin-bottom:10px}
.tpl-forest .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:8px 0 12px}
.tpl-forest .rs-skill-list li{border:1px solid #166534;color:#14532d;border-radius:999px;
  padding:2px 12px;font-size:.8rem;margin:0;background:#f0fdf4}
@media print{
  .tpl-forest .rs-sec::before,.tpl-forest .rs-sec::after{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ================= CRIMSON: red band, photo overlapping band edge ================= */
.tpl-crimson{font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-crimson .rs-head{margin:-34px -36px 44px;padding:24px 36px 30px;position:relative;
  background:#b91c1c;color:#fff;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-crimson .rs-head:not(:has(.rs-photo)){padding-bottom:24px;margin-bottom:18px}
.tpl-crimson .rs-photo{position:absolute;right:36px;bottom:-32px;width:88px;height:88px;
  object-fit:cover;border:4px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.25);background:#7f1d1d}
.tpl-crimson .rs-name{font-size:1.75rem;margin:0 0 4px;font-weight:800;letter-spacing:.02em}
.tpl-crimson .rs-head:has(.rs-photo) .rs-name,
.tpl-crimson .rs-head:has(.rs-photo) .rs-title,
.tpl-crimson .rs-head:has(.rs-photo) .rs-contact{padding-right:108px}
.tpl-crimson .rs-title{color:#fecaca;font-weight:700;text-transform:uppercase;font-size:.85rem;letter-spacing:.12em;margin:0 0 8px}
.tpl-crimson .rs-contact{font-size:.8rem;color:#fee2e2}
.tpl-crimson .rs-ci::before{margin-right:5px;color:#fecaca}
.tpl-crimson .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-crimson .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-crimson .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-crimson .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-crimson .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-crimson .rs-sec{font-size:.92rem;text-transform:uppercase;letter-spacing:.18em;color:#b91c1c;margin:22px 0 8px;font-weight:800}
.tpl-crimson .rs-sec::before{content:"";display:block;width:36px;height:4px;background:var(--accent);margin-bottom:7px;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-crimson .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.tpl-crimson .rs-dates{background:var(--accent);color:#fff;padding:2px 10px;border-radius:999px;
  font-size:.75rem;white-space:nowrap;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-crimson .rs-company{color:#7f1d1d;font-size:.85rem;margin-bottom:2px}
.tpl-crimson .rs-entry{margin-bottom:10px}
.tpl-crimson .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-crimson .rs-skill-list li{background:color-mix(in srgb,var(--accent) 12%,#fff);color:#7f1d1d;
  border:1px solid color-mix(in srgb,var(--accent) 40%,#fff);border-radius:999px;
  padding:2px 12px;font-size:.78rem;font-weight:600;margin:0;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  .tpl-crimson .rs-head{margin:0 0 26px}
  .tpl-crimson .rs-head:not(:has(.rs-photo)){margin-bottom:14px}
}

/* ================= ROYAL: lavender card, diamond photo, purple pill sections ================= */
.tpl-royal{font-family:Georgia,"Times New Roman",serif}
.tpl-royal .rs-head{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:10px;
  padding:20px 22px 18px;margin-bottom:16px;text-align:center;position:relative;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-royal .rs-photo{display:block;margin:0 auto 12px;width:84px;height:84px;object-fit:cover;
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:#ddd6fe;
  filter:drop-shadow(0 2px 4px rgba(109,40,217,.35))}
.tpl-royal .rs-name{font-size:1.8rem;color:#6d28d9;margin:0 0 4px;font-weight:700}
.tpl-royal .rs-title{color:#7c3aed;font-style:italic;margin:0 0 8px}
.tpl-royal .rs-contact{font-size:.82rem;color:#5b21b6}
.tpl-royal .rs-ci::before{margin-right:5px;color:var(--accent)}
.tpl-royal .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-royal .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-royal .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-royal .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-royal .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-royal .rs-sec{font-size:.95rem;color:#fff;background:var(--accent);display:inline-block;
  padding:5px 16px;border-radius:999px;margin:20px 0 8px;letter-spacing:.06em;font-weight:700;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-royal .rs-sec::after{content:"";display:block;height:0}
.tpl-royal .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700;text-align:left}
.tpl-royal .rs-job-head span:first-child{color:#4c1d95}
.tpl-royal .rs-dates{color:#8b5cf6;font-weight:400;white-space:nowrap}
.tpl-royal .rs-company{color:#7c3aed;font-size:.88rem;margin-bottom:2px;text-align:left}
.tpl-royal .rs-entry{margin-bottom:10px}
.tpl-royal .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-royal .rs-skill-list li{background:#ede9fe;color:#4c1d95;border-radius:999px;
  border:1px solid var(--accent);padding:2px 12px;font-size:.8rem;margin:0;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  .tpl-royal .rs-head,.tpl-royal .rs-sec,.tpl-royal .rs-skill-list li{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ================= MONO: typewriter box, stamp photo ================= */
.tpl-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace}
.tpl-mono .rs-head{border:2px solid #111827;padding:16px 18px;margin-bottom:16px;position:relative;background:#fff}
.tpl-mono .rs-head:has(.rs-photo){padding-left:96px;min-height:76px}
.tpl-mono .rs-photo{position:absolute;left:12px;top:12px;width:64px;height:76px;object-fit:cover;
  border:2px solid #111827;background:#e5e7eb;filter:grayscale(1)}
.tpl-mono .rs-name{font-size:1.5rem;color:#111827;margin:0 0 4px;text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.tpl-mono .rs-title{color:#374151;margin:0 0 8px}
.tpl-mono .rs-title::before{content:"> ";color:var(--accent);font-weight:700}
.tpl-mono .rs-contact{font-size:.8rem;color:#4b5563}
.tpl-mono .rs-ci::before{margin-right:5px;color:var(--accent)}
.tpl-mono .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-mono .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-mono .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-mono .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-mono .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-mono .rs-sec{font-size:.95rem;color:#111827;margin:20px 0 8px;letter-spacing:.05em;font-weight:700}
.tpl-mono .rs-sec::before{content:"## ";color:var(--accent)}
.tpl-mono .rs-sec::after{content:"";display:block;border-bottom:1px dashed #9ca3af;margin-top:5px}
.tpl-mono .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.tpl-mono .rs-job-head span:first-child::before{content:"* ";color:var(--accent)}
.tpl-mono .rs-dates{color:#6b7280;white-space:nowrap}
.tpl-mono .rs-company{color:#4b5563;font-size:.82rem;margin-bottom:2px}
.tpl-mono .rs-entry{margin-bottom:10px}
.tpl-mono .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-mono .rs-skill-list li{border:1px solid #111827;border-radius:3px;background:#fff;color:#111827;
  padding:2px 10px;font-size:.78rem;margin:0}
@media print{
  .tpl-mono .rs-title::before,.tpl-mono .rs-sec::before,.tpl-mono .rs-job-head span:first-child::before{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ================= EXECUTIVE: right-aligned boardroom, double-ring photo left ================= */
.tpl-executive{font-family:Georgia,"Times New Roman",serif}
.tpl-executive .rs-head{text-align:right;margin-bottom:16px;padding-bottom:14px;position:relative;
  border-bottom:4px solid var(--accent)}
.tpl-executive .rs-head::after{content:"";display:block;height:1px;background:#1e3a8a;margin-top:6px}
.tpl-executive .rs-photo{position:absolute;left:0;top:0;width:64px;height:64px;border-radius:50%;
  object-fit:cover;border:2px solid #1e3a8a;outline:2px solid var(--accent);outline-offset:3px;background:#eff6ff}
.tpl-executive .rs-head:has(.rs-photo){padding-left:84px}
.tpl-executive .rs-name{font-size:1.9rem;color:#1e3a8a;margin:0 0 2px;font-weight:700}
.tpl-executive .rs-title{color:#334155;letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;margin:0 0 8px;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-executive .rs-contact{font-size:.82rem;color:#475569;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-executive .rs-ci::before{margin-right:5px;color:var(--accent)}
.tpl-executive .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-executive .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-executive .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-executive .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-executive .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-executive .rs-sec{font-size:.9rem;text-transform:uppercase;letter-spacing:.16em;color:#1e3a8a;
  margin:22px 0 8px;font-weight:700;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-executive .rs-sec::after{content:"";display:block;height:1px;background:color-mix(in srgb,var(--accent) 45%,#fff);margin-top:5px}
.tpl-executive .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700;color:#0f172a}
.tpl-executive .rs-dates{color:var(--accent);font-weight:400;white-space:nowrap}
.tpl-executive .rs-company{color:#475569;font-size:.88rem;font-style:italic;margin-bottom:2px}
.tpl-executive .rs-entry{margin-bottom:10px}
.tpl-executive .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin:8px 0 12px}
.tpl-executive .rs-skill-list li{border:1px solid #1e3a8a;color:#1e3a8a;border-radius:999px;
  padding:2px 12px;font-size:.8rem;margin:0;background:#fff}
@media print{
  .tpl-executive .rs-head{border-bottom-color:var(--accent);-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .tpl-executive .rs-sec::after{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ================= CASCADE: layered gradient bar, offset-shadow photo ================= */
.tpl-cascade{font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-cascade .rs-head{margin-bottom:8px;display:flow-root}
.tpl-cascade .rs-photo{float:left;width:76px;height:76px;object-fit:cover;margin:0 20px 12px 0;
  background:#e2e8f0;box-shadow:5px 5px 0 var(--accent),10px 10px 0 #cbd5e1}
.tpl-cascade .rs-name{font-size:1.75rem;color:#0f172a;margin:0 0 2px;font-weight:800;letter-spacing:-.01em}
.tpl-cascade .rs-title{color:var(--accent);font-weight:700;margin:0 0 6px}
.tpl-cascade .rs-contact{font-size:.8rem;color:#64748b}
.tpl-cascade .rs-ci::before{margin-right:5px;color:var(--accent)}
.tpl-cascade .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-cascade .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-cascade .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-cascade .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-cascade .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-cascade .rs-head::after{content:"";display:block;clear:both;height:7px;margin-top:12px;border-radius:4px;
  background:linear-gradient(90deg,var(--accent) 0 40%,#cbd5e1 40% 70%,#e2e8f0 70% 100%);
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-cascade .rs-sec{font-size:1rem;color:#0f172a;margin:20px 0 8px;padding-bottom:4px;
  border-bottom:1px solid #e2e8f0;font-weight:700}
.tpl-cascade .rs-sec::before{content:"";display:inline-block;width:9px;height:9px;background:var(--accent);
  margin-right:9px;border-radius:2px;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.tpl-cascade .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.tpl-cascade .rs-dates{color:var(--accent);white-space:nowrap;font-weight:600}
.tpl-cascade .rs-company{color:#475569;font-size:.85rem;margin-bottom:2px}
.tpl-cascade .rs-entry{border-bottom:1px dashed #e2e8f0;padding-bottom:9px;margin-bottom:9px}
.tpl-cascade .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-cascade .rs-skill-list li{background:var(--accent);color:#fff;border-radius:999px;
  padding:3px 12px;font-size:.78rem;font-weight:600;margin:0;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  .tpl-cascade .rs-head::after,.tpl-cascade .rs-sec::before,.tpl-cascade .rs-skill-list li{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .tpl-cascade .rs-photo{box-shadow:3px 3px 0 var(--accent)}
}

/* ================= PILLAR: accent column, corner photo ================= */
.tpl-pillar{font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tpl-pillar .rs-head{border-left:10px solid var(--accent);padding:6px 110px 6px 18px;margin-bottom:16px;position:relative}
.tpl-pillar .rs-head:not(:has(.rs-photo)){padding-right:0}
.tpl-pillar .rs-photo{position:absolute;right:0;top:0;width:72px;height:72px;border-radius:50%;
  object-fit:cover;border:3px solid var(--accent);background:#f1f5f9}
.tpl-pillar .rs-name{font-size:1.75rem;color:#111827;margin:0 0 2px;font-weight:800}
.tpl-pillar .rs-title{color:#4b5563;margin:0 0 8px;font-weight:600}
.tpl-pillar .rs-contact{font-size:.8rem;color:#6b7280}
.tpl-pillar .rs-ci::before{margin-right:5px;color:var(--accent)}
.tpl-pillar .rs-ci[data-k="email"]::before{content:"\2709"}
.tpl-pillar .rs-ci[data-k="phone"]::before{content:"\260E"}
.tpl-pillar .rs-ci[data-k="location"]::before{content:"\2316"}
.tpl-pillar .rs-ci[data-k="linkedin"]::before{content:"\25C8"}
.tpl-pillar .rs-ci[data-k="website"]::before{content:"\2301"}
.tpl-pillar .rs-sec{font-size:.95rem;color:#111827;border-left:10px solid var(--accent);
  padding-left:12px;margin:20px 0 8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.tpl-pillar .rs-job-head{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.tpl-pillar .rs-job-head span:first-child{border-left:3px solid var(--accent);padding-left:9px}
.tpl-pillar .rs-dates{color:#6b7280;font-weight:400;white-space:nowrap}
.tpl-pillar .rs-company{color:#4b5563;font-size:.85rem;margin-bottom:2px}
.tpl-pillar .rs-entry{margin-bottom:10px}
.tpl-pillar .rs-skill-list{list-style:none;padding-inline-start:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.tpl-pillar .rs-skill-list li{background:#f1f5f9;color:#111827;border-radius:999px;
  border-left:3px solid var(--accent);padding:3px 12px 3px 9px;font-size:.78rem;margin:0;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  .tpl-pillar .rs-head,.tpl-pillar .rs-sec,.tpl-pillar .rs-job-head span:first-child,.tpl-pillar .rs-skill-list li{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ================= Picker thumbnails (54x70 mini previews) ================= */
.tpl-thumb-slate i{left:0;right:0;top:0;height:26px;background:#334155;border-radius:0}
.tpl-thumb-slate i::after{content:"";position:absolute;left:8px;top:6px;width:12px;height:12px;background:var(--accent,#2563eb)}
.tpl-thumb-slate i::before{content:"";position:absolute;left:24px;right:8px;top:6px;height:5px;background:#cbd5e1;box-shadow:0 9px 0 #94a3b8}
.tpl-thumb-ocean i{left:0;right:0;top:0;height:24px;background:linear-gradient(180deg,#e0f2fe,#bae6fd);border-radius:0;border-bottom:3px solid #0c4a6e}
.tpl-thumb-ocean i::after{content:"";position:absolute;right:7px;top:6px;width:12px;height:12px;border-radius:50%;background:#0c4a6e;border:2px solid #2563eb}
.tpl-thumb-ocean i::before{content:"";position:absolute;left:8px;top:32px;right:8px;height:4px;background:#bae6fd;box-shadow:0 9px 0 #e0f2fe,0 18px 0 #e0f2fe,0 27px 0 #e0f2fe}
.tpl-thumb-forest i{left:16px;right:16px;top:6px;height:14px;border-radius:50%;background:#166534}
.tpl-thumb-forest i::after{content:"";position:absolute;left:-10px;right:-10px;top:22px;height:4px;background:#bbf7d0;box-shadow:0 9px 0 #bbf7d0,0 18px 0 #bbf7d0,0 27px 0 #bbf7d0}
.tpl-thumb-forest i::before{content:"";position:absolute;left:50%;top:44px;width:6px;height:6px;margin-left:-3px;background:#166534;transform:rotate(45deg)}
.tpl-thumb-crimson i{left:0;right:0;top:0;height:24px;background:#b91c1c;border-radius:0}
.tpl-thumb-crimson i::after{content:"";position:absolute;right:8px;top:18px;width:14px;height:14px;background:#7f1d1d;border:2px solid #fff}
.tpl-thumb-crimson i::before{content:"";position:absolute;left:8px;top:32px;width:16px;height:4px;background:#b91c1c;box-shadow:0 10px 0 #c7d2e8,0 20px 0 #c7d2e8,0 30px 0 #c7d2e8}
.tpl-thumb-royal i{left:8px;right:8px;top:8px;height:22px;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:5px}
.tpl-thumb-royal i::after{content:"";position:absolute;left:50%;top:-5px;width:10px;height:10px;margin-left:-5px;background:#6d28d9;transform:rotate(45deg)}
.tpl-thumb-royal i::before{content:"";position:absolute;left:10px;right:10px;top:36px;height:5px;border-radius:3px;background:#6d28d9;box-shadow:0 10px 0 #ddd6fe,0 20px 0 #ddd6fe}
.tpl-thumb-mono i{left:6px;right:6px;top:6px;bottom:6px;border:2px solid #111827;border-radius:0;background:#fff}
.tpl-thumb-mono i::after{content:"";position:absolute;left:6px;top:6px;width:10px;height:12px;background:#9ca3af;border:1px solid #111827}
.tpl-thumb-mono i::before{content:"";position:absolute;left:22px;right:6px;top:8px;height:4px;background:#4b5563;box-shadow:0 9px 0 #9ca3af,0 18px 0 #9ca3af,0 27px 0 #9ca3af}
.tpl-thumb-executive i{left:6px;right:6px;top:10px;height:4px;background:#1e3a8a;border-radius:0}
.tpl-thumb-executive i::after{content:"";position:absolute;left:6px;top:-4px;width:10px;height:10px;border-radius:50%;background:#93c5fd;border:2px solid #1e3a8a}
.tpl-thumb-executive i::before{content:"";position:absolute;right:0;top:-8px;left:22px;height:4px;background:#93c5fd;box-shadow:0 9px 0 #c7d2e8}
.tpl-thumb-cascade i{left:6px;right:6px;top:6px;height:7px;background:linear-gradient(90deg,#2563eb 0 40%,#cbd5e1 40% 70%,#e2e8f0 70% 100%);border-radius:3px}
.tpl-thumb-cascade i::after{content:"";position:absolute;left:0;top:13px;width:10px;height:10px;background:#e2e8f0;box-shadow:4px 4px 0 #2563eb}
.tpl-thumb-cascade i::before{content:"";position:absolute;left:20px;right:6px;top:16px;height:4px;background:#c7d2e8;box-shadow:0 10px 0 #c7d2e8,0 20px 0 #c7d2e8,0 30px 0 #c7d2e8}
.tpl-thumb-pillar i{left:0;top:0;bottom:0;width:9px;background:#2563eb;border-radius:0}
.tpl-thumb-pillar i::after{content:"";position:absolute;right:8px;top:6px;width:12px;height:12px;border-radius:50%;background:#cbd5e1;border:2px solid #2563eb}
.tpl-thumb-pillar i::before{content:"";position:absolute;left:15px;right:8px;top:26px;height:5px;background:#d1d5db;box-shadow:0 10px 0 #d1d5db,0 20px 0 #d1d5db}
