/* RESULTS PAGE */
body.results-page{
  min-height:0;
  display:block;
  background:#ffffff;
}

.page{
  width:100%;
  max-width:920px;
  margin:0 auto;
  padding:2rem 1.5rem 1rem;
}

.results-footer{
  display:block;
  border-top:1px solid rgba(148,163,184,0.28);
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(6px);
  margin-top:0.25rem;
  padding:0.9rem 1rem 1rem;
}

.results-footer-inner{
  max-width:920px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.55rem;
  flex-wrap:wrap;
  font-size:0.78rem;
  color:#64748b;
}

.results-footer a{
  color:#2563eb;
  text-decoration:none;
  font-weight:500;
  transition:color 0.15s ease;
}

.results-footer a:hover{
  color:#1d4ed8;
}

.results-footer .rf-sep{
  color:#94a3b8;
}

.top-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;opacity:0;animation:up 0.4s 0.05s both;}
.top-label{font-size:0.72rem;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--ink3);margin-bottom:0.3rem;}
.top-file{font-size:0.9rem;font-weight:600;color:var(--ink);}
.top-bar-right{display:flex;gap:0.75rem;}

/* ── Report Hero (light card) ── */
.report-hero{position:relative;overflow:hidden;background:var(--white);border:1px solid var(--border);border-radius:12px;padding:2rem 2.5rem;display:grid;grid-template-columns:auto 1fr auto;gap:2rem;align-items:center;margin-bottom:0.75rem;box-shadow:none;opacity:0;animation:up 0.4s 0.12s both;}
.report-hero::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;border-radius:14px 14px 0 0;background:var(--border2);}
.report-hero.score-good::before{background:var(--green);}
.report-hero.score-ok::before{background:var(--yellow);}
.report-hero.score-bad::before{background:var(--red);}
.report-hero.score-good .rh-ring svg{filter:drop-shadow(0 0 10px rgba(22,163,74,0.2));}
.report-hero.score-ok  .rh-ring svg{filter:drop-shadow(0 0 10px rgba(217,119,6,0.2));}
.report-hero.score-bad .rh-ring svg{filter:drop-shadow(0 0 10px rgba(220,38,38,0.2));}
.rh-scores{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:1.75rem;flex-shrink:0;}
.rh-ring-divider{width:1px;height:56px;background:var(--border);flex-shrink:0;}
.rh-ring-wrap{display:flex;flex-direction:column;align-items:center;gap:0.5rem;flex-shrink:0;}
.rh-ring{position:relative;width:96px;height:96px;}
.rh-ring svg{position:absolute;top:0;left:0;transform:rotate(-90deg);width:96px;height:96px;}
.ring-bg{fill:none;stroke:#D1D5DB;stroke-width:7;}
.ring-fill{fill:none;stroke:#4ADE80;stroke-width:7;stroke-linecap:round;stroke-dasharray:270;stroke-dashoffset:270;}
.ring-fill-rec{stroke:#8b5cf6;}
.rh-score-num{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;letter-spacing:-1.5px;color:var(--ink2);}
.rh-ring-label{font-size:0.65rem;font-weight:600;color:var(--ink3);text-transform:uppercase;letter-spacing:0.07em;text-align:center;}
.rh-perf-badge{display:inline-block;font-size:0.68rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;border-radius:100px;padding:0.22rem 0.65rem;margin-bottom:0.55rem;border:1px solid transparent;}
.rh-perf-badge.good{background:var(--green-soft);color:var(--green);border-color:var(--green-border);}
.rh-perf-badge.ok{background:rgba(217,119,6,0.08);color:var(--yellow);border-color:rgba(217,119,6,0.2);}
.rh-perf-badge.bad{background:var(--red-soft);color:var(--red);border-color:var(--red-border);}
.rh-grade{font-size:1.15rem;font-weight:700;color:var(--ink);letter-spacing:-0.3px;margin-bottom:0.35rem;}
.rh-summary{font-size:0.82rem;color:var(--ink2);line-height:1.6;max-width:360px;}
.rh-meta{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:0.75rem;}
.rh-plan-badge{display:inline-flex;align-items:center;font-size:0.7rem;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;background:var(--blue-soft);color:var(--blue);border:1px solid var(--blue-border);border-radius:100px;padding:0.3rem 0.8rem;}
.rh-plan-badge.free{background:var(--bg);color:var(--ink3);border-color:var(--border);}

/* ── Tab bar ── */
.report-tabs{display:flex;gap:0;margin-bottom:1.25rem;overflow-x:auto;border-bottom:1px solid var(--border);opacity:0;animation:up 0.4s 0.2s both;}
.r-tab{font-family:'Inter',sans-serif;font-size:0.82rem;font-weight:500;color:var(--ink3);background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;padding:0.6rem 1.1rem;cursor:pointer;white-space:nowrap;transition:color 0.15s,border-color 0.15s;display:inline-flex;align-items:center;gap:0.4rem;}
.r-tab:hover{color:var(--ink);}
.r-tab.active{color:var(--ink);border-bottom-color:var(--blue);font-weight:600;}
.r-tab-badge{font-size:0.62rem;font-weight:700;background:#d97706;color:#fff;border-radius:6px;padding:0.08rem 0.4rem;line-height:1.4;}
.r-tab-pro{font-size:0.55rem;font-weight:700;background:var(--blue);color:#fff;border-radius:3px;padding:1px 4px;letter-spacing:0.06em;text-transform:uppercase;}

/* ── Tab panels ── */
.tab-panel{}
.tp-animate{animation:up 0.25s ease both;}

/* ── Unified card ── */
.r-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:1.5rem 1.75rem;margin-bottom:0.75rem;}
.rc-title{font-size:0.82rem;font-weight:600;color:var(--ink);margin-bottom:1.2rem;display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;}
.r-two-col{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}

/* ── Score bars ── */
.sb-row{display:grid;grid-template-columns:130px 1fr 40px;align-items:center;gap:1rem;margin-bottom:0.9rem;}
.sb-row:last-child{margin-bottom:0;}
.sb-label{font-size:0.8rem;font-weight:500;color:var(--ink2);}
.sb-track{height:6px;background:var(--bg);border-radius:10px;overflow:hidden;}
.sb-fill{height:100%;border-radius:10px;width:0;transition:width 0.9s cubic-bezier(0.4,0,0.2,1);}
.sb-fill.good{background:var(--green);}
.sb-fill.ok{background:var(--yellow);}
.sb-fill.bad{background:var(--red);}
.sb-pct{font-size:0.78rem;font-weight:600;color:var(--ink);text-align:right;}
.sb-no-jd{font-size:0.78rem;color:var(--ink3);font-style:italic;padding:0.5rem 0 0.25rem;border-top:1px dashed var(--border);margin-top:0.25rem;}

/* ── Card count badges ── */
.card-count{font-size:0.7rem;font-weight:500;background:rgba(217,119,6,0.08);color:#d97706;border:1px solid rgba(217,119,6,0.22);padding:0.15rem 0.55rem;border-radius:100px;}
.card-count.good{background:var(--green-soft);color:var(--green);border-color:var(--green-border);}

/* ── Overview derived cards ── */
.ov-row{display:flex;gap:0.65rem;align-items:flex-start;padding:0.55rem 0;border-bottom:1px solid var(--border);}
.ov-row:last-child{border-bottom:none;padding-bottom:0;}
.ov-row:first-child{padding-top:0;}
.ov-check{font-size:0.75rem;font-weight:700;color:var(--green);flex-shrink:0;margin-top:1px;}
.ov-row-label{font-size:0.8rem;font-weight:500;color:var(--ink);line-height:1.4;}
.ov-empty{font-size:0.8rem;color:var(--ink3);padding:0.25rem 0;}

/* ── Issues ── */
.issue-item{display:flex;gap:0.85rem;align-items:flex-start;padding:0.9rem 1rem;border:1px solid var(--border);border-left:3px solid var(--border);border-radius:8px;background:var(--white);margin-bottom:0.55rem;}
.issue-item:last-child{margin-bottom:0;}
.issue-item.high{border-left-color:#d97706;}
.issue-item.med{border-left-color:#6366f1;}
.issue-item.low{border-left-color:#10b981;}
.issue-dot{display:none;}
.issue-title{font-size:0.84rem;font-weight:700;color:var(--ink);margin-bottom:0.5rem;}
.issue-what{font-size:0.78rem;color:var(--ink);font-weight:500;margin-bottom:0.45rem;line-height:1.5;}
.issue-why{font-size:0.75rem;color:var(--ink3);line-height:1.6;margin-bottom:0.5rem;}
.issue-fix{list-style:none;display:flex;flex-direction:column;gap:0.3rem;}
.issue-fix li{font-size:0.75rem;color:var(--ink2);line-height:1.5;padding-left:1.1rem;position:relative;}
.issue-fix li::before{content:'→';position:absolute;left:0;color:var(--blue);font-weight:600;}

/* ── Keywords ── */
.kw-section{margin-bottom:1.2rem;}
.kw-section:last-child{margin-bottom:0;}
.kw-label{font-size:0.72rem;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--ink3);margin-bottom:0.7rem;}
.kw-chips{display:flex;flex-wrap:wrap;gap:0.5rem;}
.kw-chip{font-size:0.75rem;font-weight:500;padding:0.28rem 0.75rem;border-radius:100px;}
.kw-chip.found{background:var(--green-soft);color:var(--green);border:1px solid var(--green-border);}
.kw-chip.missing{background:rgba(217,119,6,0.08);color:#b45309;border:1px solid rgba(217,119,6,0.22);}
.kw-reminder{
  font-size:0.82rem;
  color:var(--ink3);
  background:#f8fafc;
  border:1px dashed #e2e8f0;
  padding:0.6rem 0.8rem;
  border-radius:10px;
  margin:0.6rem 0 1rem;
}

/* ── Bullet rewrites ── */
.bullet-item{padding:1.2rem 0;border-bottom:1px solid var(--border);}
.bullet-item:last-child{border-bottom:none;padding-bottom:0;}
.bullet-item:first-child{padding-top:0;}
.bi-label{font-size:0.68rem;font-weight:600;letter-spacing:1px;text-transform:uppercase;margin-bottom:0.5rem;}
.bi-label.before{color:var(--ink3);}
.bi-label.after{color:var(--green);}
.bi-text{font-size:0.85rem;line-height:1.65;padding:0.75rem;border-radius:8px;}
.bi-text.before{background:var(--red-soft);color:var(--ink2);text-decoration:line-through;text-decoration-color:rgba(220,38,38,0.3);}
.bi-text.after{background:var(--green-soft);color:var(--ink);}
.bi-arrow{text-align:center;color:var(--ink3);font-size:0.8rem;padding:0.3rem 0;}

/* ── Upgrade banner ── */
.upgrade-banner{background:var(--ink);border-radius:12px;padding:2rem 2.5rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-bottom:1rem;}
.ub-left h3{font-size:1rem;font-weight:700;color:#fff;margin-bottom:0.3rem;}
.ub-left p{font-size:0.82rem;color:rgba(255,255,255,0.4);line-height:1.6;}

/* ── Skills Alignment ── */
.skills-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-bottom:1.2rem;}
.skills-col{}
.skills-col-title{font-size:0.72rem;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--ink3);margin-bottom:0.4rem;}
.skills-inferred-note{font-size:0.7rem;color:var(--ink3);font-style:italic;margin-bottom:0.6rem;line-height:1.4;}
.skills-chips{display:flex;flex-wrap:wrap;gap:0.45rem;}
.skills-none{font-size:0.78rem;color:var(--ink3);}
.skills-gap{font-size:0.82rem;color:var(--ink2);line-height:1.6;padding:0.9rem 1rem;background:var(--bg);border-radius:8px;border:1px solid var(--border);}

/* ── ATS Resume (card shell) ── */
.ats-badge{font-size:0.68rem;font-weight:600;background:#EFF6FF;color:#2563EB;border:1px solid #BFDBFE;padding:0.15rem 0.6rem;border-radius:100px;margin-left:0.5rem;}
.ats-desc{font-size:0.82rem;color:var(--ink3);line-height:1.6;margin:0 0 1rem;}
.ats-toolbar{display:flex;align-items:center;gap:0.6rem;margin-bottom:1.2rem;flex-wrap:wrap;}

/* Grouped .btn-outline inside toolbars */
.ats-btn-group{display:flex;}
.ats-btn-group .btn-outline{border-radius:0;border-right-width:0;}
.ats-btn-group .btn-outline:first-child{border-radius:8px 0 0 8px;}
.ats-btn-group .btn-outline:last-child{border-radius:0 8px 8px 0;border-right-width:1px;}

/* Primary Download PDF button */
.ats-dl-btn{display:inline-flex;align-items:center;gap:0.4rem;}

/* ── ATS Preview Placeholder ── */
.ats-preview-placeholder{position:relative;border-radius:8px;overflow:hidden;}
.ats-skeleton{background:#fff;border:1px solid var(--border);border-radius:8px;padding:2rem 2.4rem;filter:blur(3.5px);user-select:none;pointer-events:none;}
.sk-name{height:18px;width:200px;background:#e5e7eb;border-radius:4px;margin:0 auto 0.55rem;}
.sk-contact{height:11px;width:280px;background:#f3f4f6;border-radius:4px;margin:0 auto 1.1rem;}
.sk-rule{height:1.5px;background:#e5e7eb;margin:0.55rem 0;}
.sk-section-title{height:11px;width:110px;background:#d1d5db;border-radius:4px;margin-bottom:0.65rem;}
.sk-line{height:10px;background:#f3f4f6;border-radius:4px;margin-bottom:0.4rem;}
.sk-line.w90{width:90%;}.sk-line.w80{width:80%;}.sk-line.w75{width:75%;}
.sk-line.w70{width:70%;}.sk-line.w65{width:65%;}.sk-line.w60{width:60%;}.sk-line.w50{width:50%;}
.ats-preview-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.55);backdrop-filter:blur(2px);border-radius:8px;}
.btn-preview{font-family:'Inter',sans-serif;font-size:0.875rem;font-weight:600;letter-spacing:0.01em;color:var(--ink);background:#fff;border:1px solid var(--border);border-radius:10px;padding:0.75rem 1.75rem;cursor:pointer;box-shadow:0 4px 24px rgba(0,0,0,0.08),0 1px 4px rgba(0,0,0,0.05);transition:box-shadow 0.18s,transform 0.18s;}
.btn-preview:hover{box-shadow:0 8px 32px rgba(0,0,0,0.11),0 2px 8px rgba(0,0,0,0.06);transform:translateY(-1px);}
.btn-preview:active{transform:translateY(0);box-shadow:0 2px 12px rgba(0,0,0,0.07);}

.btn-preview-link{display:inline-flex;align-items:center;gap:0.45rem;font-size:0.8rem;font-weight:600;color:var(--ink2);border:1px solid var(--border);border-radius:8px;padding:0.45rem 0.9rem;text-decoration:none;transition:border-color 0.15s,color 0.15s;}
.btn-preview-link:hover{border-color:var(--border2);color:var(--ink);}

/* ── Edit mode UI ── */
.ats-edit-indicator{display:none;align-items:center;gap:0.4rem;font-size:0.72rem;font-weight:500;color:var(--blue);background:var(--blue-soft);border:1px solid var(--blue-border);border-radius:6px;padding:0.3rem 0.75rem;margin-bottom:0.75rem;}
.ats-edit-indicator.shown{display:inline-flex;}
#editAtsBtn.ats-editing-active{background:var(--green-soft);color:var(--green);border-color:var(--green-border);}

/* ── Template picker header ── */
.ats-tpl-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.65rem;}
.ats-tpl-header-label{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;color:var(--ink3);}
.ats-tpl-browse-link{font-size:0.75rem;font-weight:500;color:var(--blue);text-decoration:none;}
.ats-tpl-browse-link:hover{text-decoration:underline;}

/* ── Template picker grid ── */
.ats-tpl-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:0.5rem;margin-bottom:1rem;}
.ats-tpl-card{border:2px solid var(--border);border-radius:10px;padding:0.45rem 0.45rem 0.5rem;cursor:pointer;background:var(--white);transition:border-color 0.15s,box-shadow 0.15s;text-align:center;display:flex;flex-direction:column;align-items:center;gap:0.35rem;font:inherit;}
.ats-tpl-card:hover{border-color:var(--border2);box-shadow:0 2px 8px rgba(0,0,0,0.07);}
.ats-tpl-card.active{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,0.12);}
.ats-tpl-card-name{font-size:0.62rem;font-weight:600;color:var(--ink3);letter-spacing:0.3px;white-space:nowrap;}
.ats-tpl-card.active .ats-tpl-card-name{color:var(--blue);}

/* ── Template thumbnail skeletons ── */
.ats-tpl-thumb{width:100%;aspect-ratio:8.5/11;border-radius:4px;overflow:hidden;border:1px solid #e5e7eb;}

/* Classic: Times serif, centered header, black rules */
.ats-thumb-classic{background:
  linear-gradient(#222 0,#222 100%) center 7% / 54% 6% no-repeat,
  linear-gradient(#aaa 0,#aaa 100%) center 15.5% / 40% 2.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 22% / 90% 1.5% no-repeat,
  linear-gradient(#555 0,#555 100%) 5% 26% / 32% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 33% / 90% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 38% / 74% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 43% / 84% 2.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 51% / 90% 1.5% no-repeat,
  linear-gradient(#555 0,#555 100%) 5% 55% / 38% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 62% / 90% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 67% / 64% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 72% / 78% 2.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 80% / 90% 1.5% no-repeat,
  linear-gradient(#555 0,#555 100%) 5% 84% / 26% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 91% / 60% 2.5% no-repeat,
  #fff;}

/* Modern: Inter sans, blue section titles + rules */
.ats-thumb-modern{background:
  linear-gradient(#111 0,#111 100%) center 7% / 54% 6% no-repeat,
  linear-gradient(#aaa 0,#aaa 100%) center 15.5% / 40% 2.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 22% / 90% 2% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 27% / 32% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 35% / 90% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 40% / 74% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 45% / 84% 2.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 53% / 90% 2% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 57% / 38% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 65% / 90% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 70% / 64% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 75% / 78% 2.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 83% / 90% 2% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 87% / 26% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 94% / 55% 2.5% no-repeat,
  #fff;}

/* Executive: dark navy header band, gold accent rule */
.ats-thumb-executive{background:
  linear-gradient(#0f172a 0,#0f172a 100%) 0 0 / 100% 27% no-repeat,
  linear-gradient(#fff 0,#fff 100%) 5% 6% / 62% 7% no-repeat,
  linear-gradient(rgba(255,255,255,0.45) 0,rgba(255,255,255,0.45) 100%) 5% 17% / 44% 3% no-repeat,
  linear-gradient(#c9a84c 0,#c9a84c 100%) 5% 29% / 90% 2.5% no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 35% / 36% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 43% / 90% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 48% / 74% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 53% / 84% 2.5% no-repeat,
  linear-gradient(#c9a84c 0,#c9a84c 100%) 5% 61% / 90% 2.5% no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 67% / 42% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 75% / 90% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 80% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 85% / 78% 2.5% no-repeat,
  #fff;}

/* Sidebar: dark left column, white right with content */
.ats-thumb-sidebar{background:
  linear-gradient(#1e293b 0,#1e293b 100%) 0 0 / 30% 100% no-repeat,
  linear-gradient(rgba(255,255,255,0.85) 0,rgba(255,255,255,0.85) 100%) 2% 7% / 24% 5% no-repeat,
  linear-gradient(rgba(255,255,255,0.4) 0,rgba(255,255,255,0.4) 100%) 2% 15% / 20% 2.5% no-repeat,
  linear-gradient(#60a5fa 0,#60a5fa 100%) 2% 22% / 18% 3% no-repeat,
  linear-gradient(#60a5fa 0,#60a5fa 100%) 2% 26.5% / 26% 1px no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 2% 30% / 23% 2.5% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 2% 35% / 19% 2.5% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 2% 40% / 21% 2.5% no-repeat,
  linear-gradient(#60a5fa 0,#60a5fa 100%) 2% 48% / 18% 3% no-repeat,
  linear-gradient(#60a5fa 0,#60a5fa 100%) 2% 52.5% / 26% 1px no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 2% 56% / 22% 2.5% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 2% 61% / 16% 2.5% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 2% 66% / 20% 2.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 33% 7% / 40% 4% no-repeat,
  linear-gradient(#1e293b 0,#1e293b 100%) 33% 13% / 65% 2% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 18% / 63% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 23% / 54% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 28% / 60% 2.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 33% 36% / 38% 4% no-repeat,
  linear-gradient(#1e293b 0,#1e293b 100%) 33% 42% / 65% 2% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 47% / 63% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 52% / 50% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 57% / 58% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 33% 62% / 44% 2.5% no-repeat,
  #fff;}

/* Minimal: left-aligned, hairline separators, airy */
.ats-thumb-minimal{background:
  linear-gradient(#111 0,#111 100%) 5% 7% / 55% 6% no-repeat,
  linear-gradient(#bbb 0,#bbb 100%) 5% 16% / 42% 2.5% no-repeat,
  linear-gradient(#e5e7eb 0,#e5e7eb 100%) 5% 22% / 90% 1px no-repeat,
  linear-gradient(#999 0,#999 100%) 5% 26% / 24% 3% no-repeat,
  linear-gradient(#e5e7eb 0,#e5e7eb 100%) 5% 31% / 90% 1px no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 36% / 88% 2.5% no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 41% / 72% 2.5% no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 46% / 82% 2.5% no-repeat,
  linear-gradient(#999 0,#999 100%) 5% 54% / 30% 3% no-repeat,
  linear-gradient(#e5e7eb 0,#e5e7eb 100%) 5% 59% / 90% 1px no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 64% / 88% 2.5% no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 69% / 68% 2.5% no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 74% / 78% 2.5% no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 79% / 55% 2.5% no-repeat,
  linear-gradient(#999 0,#999 100%) 5% 87% / 20% 3% no-repeat,
  linear-gradient(#e5e7eb 0,#e5e7eb 100%) 5% 92% / 90% 1px no-repeat,
  linear-gradient(#ccc 0,#ccc 100%) 5% 96% / 48% 2.5% no-repeat,
  #fff;}

/* Compact: dense Inter, lots of lines */
.ats-thumb-compact{background:
  linear-gradient(#111 0,#111 100%) center 5% / 50% 5% no-repeat,
  linear-gradient(#aaa 0,#aaa 100%) center 12% / 40% 2.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 17% / 90% 1.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 21% / 28% 3% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 27% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 32% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 37% / 83% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 42% / 68% 2.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 48% / 90% 1.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 52% / 35% 3% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 58% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 63% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 68% / 78% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 73% / 65% 2.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 79% / 90% 1.5% no-repeat,
  linear-gradient(#2563EB 0,#2563EB 100%) 5% 83% / 22% 3% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 89% / 60% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 94% / 50% 2.5% no-repeat,
  #fff;}

/* ── Classic resume template ── */
.ats-r-resume{font-family:'Times New Roman',Times,serif;font-size:0.9rem;color:#111;line-height:1.5;background:#fff;border:1px solid var(--border);border-radius:8px;padding:2rem 2.4rem;max-height:680px;overflow-y:auto;transition:outline-color 0.15s, background 0.15s;}
.ats-r-resume.ats-r-editing{outline:2px solid var(--blue);background:#f8fbff;border-radius:8px;cursor:text;}

/* ── Modern template ── */
.ats-r-resume.ats-tpl-modern{font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-modern .ats-r-name{font-family:'Inter',sans-serif;font-size:1.5rem;font-weight:700;letter-spacing:-0.5px;}
.ats-r-resume.ats-tpl-modern .ats-r-contact{font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-modern .ats-r-section-title{color:#2563EB;font-family:'Inter',sans-serif;font-weight:600;letter-spacing:0;text-transform:none;font-size:0.88rem;margin-bottom:0.3rem;}
.ats-r-resume.ats-tpl-modern .ats-r-rule{border-top:2px solid #2563EB;}
.ats-r-resume.ats-tpl-modern .ats-r-entry-heading{font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-modern .ats-r-subheading{font-family:'Inter',sans-serif;font-style:normal;font-weight:500;color:#2563EB;}
.ats-r-resume.ats-tpl-modern .ats-r-bullets li{font-family:'Inter',sans-serif;}

/* ── Compact template ── */
.ats-r-resume.ats-tpl-compact{font-family:'Inter',sans-serif;font-size:0.76rem;line-height:1.38;}
.ats-r-resume.ats-tpl-compact .ats-r-header{margin-bottom:0.6rem;}
.ats-r-resume.ats-tpl-compact .ats-r-name{font-family:'Inter',sans-serif;font-size:1.25rem;font-weight:700;letter-spacing:-0.3px;}
.ats-r-resume.ats-tpl-compact .ats-r-contact{font-family:'Inter',sans-serif;font-size:0.7rem;}
.ats-r-resume.ats-tpl-compact .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.65rem;text-transform:uppercase;letter-spacing:0.14em;color:#555;font-weight:600;}
.ats-r-resume.ats-tpl-compact .ats-r-rule{border-top-color:#ccc;}
.ats-r-resume.ats-tpl-compact .ats-r-section{margin-bottom:0.5rem;}
.ats-r-resume.ats-tpl-compact .ats-r-entry{margin-bottom:0.3rem;}
.ats-r-resume.ats-tpl-compact .ats-r-bullets{margin-top:0.1rem;}
.ats-r-resume.ats-tpl-compact .ats-r-bullets li{margin-bottom:0.1rem;font-family:'Inter',sans-serif;}
/* ── Base resume element styles ── */
.ats-r-header{text-align:center;margin-bottom:0.9rem;}
.ats-r-name{font-size:1.6rem;font-weight:700;letter-spacing:0.2px;margin:0 0 0.25rem;color:#111;}
.ats-r-contact{font-size:0.8rem;color:#444;margin:0;line-height:1.5;}
.ats-r-section{margin-bottom:0.85rem;}
.ats-r-section-title{font-size:0.84rem;font-weight:700;text-transform:uppercase;letter-spacing:0.4px;color:#111;margin:0 0 0.1rem;}
.ats-r-rule{border:none;border-top:1.5px solid #111;margin:0.1rem 0 0.45rem;}
.ats-r-entry{margin-bottom:0.55rem;}
.ats-r-entry-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:0.5rem;}
.ats-r-entry-heading{font-weight:700;font-size:0.9rem;color:#111;min-width:0;overflow-wrap:anywhere;}
.ats-r-entry-date{font-size:0.84rem;color:#333;white-space:nowrap;flex-shrink:0;text-align:right;padding-left:0.4rem;}
.ats-r-subheading{font-style:italic;font-size:0.87rem;color:#333;margin-top:0.05rem;}
.ats-r-detail{font-size:0.87rem;margin-top:0.15rem;color:#222;}
.ats-r-bullets{margin:0.25rem 0 0 1rem;padding:0;}
.ats-r-bullets li{font-size:0.87rem;margin-bottom:0.25rem;line-height:1.5;color:#222;}

/* ── Executive template ── */
/* Negative margin trick: header extends edge-to-edge over parent padding */
.ats-r-resume.ats-tpl-executive{font-family:'Georgia',serif;overflow:hidden;}
.ats-r-resume.ats-tpl-executive .ats-r-header{margin:-2rem -2.4rem 1.2rem;padding:1.8rem 2.4rem 1.4rem;background:#0f172a;text-align:left;}
.ats-r-resume.ats-tpl-executive .ats-r-name{color:#fff;font-size:1.7rem;font-weight:700;letter-spacing:0.4px;}
.ats-r-resume.ats-tpl-executive .ats-r-contact{color:rgba(255,255,255,0.6);font-size:0.78rem;}
.ats-r-resume.ats-tpl-executive .ats-r-section-title{font-family:'Georgia',serif;font-size:0.82rem;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:#0f172a;}
.ats-r-resume.ats-tpl-executive .ats-r-rule{border-top:2.5px solid #c9a84c;margin:0.1rem 0 0.45rem;}
.ats-r-resume.ats-tpl-executive .ats-r-entry-heading{font-family:'Georgia',serif;}
.ats-r-resume.ats-tpl-executive .ats-r-subheading{color:#555;font-style:italic;}
.ats-r-resume.ats-tpl-executive .ats-r-bullets li{font-family:'Georgia',serif;}

/* ── Sidebar template ── */
/* Two-column layout: JS splits sections into sidebar + main columns */
.ats-r-resume.ats-tpl-sidebar{font-family:'Inter',sans-serif;padding:0;overflow:hidden;}
.ats-r-resume.ats-tpl-sidebar .ats-r-header{padding:1.6rem 1.8rem 1.2rem;background:#1e293b;text-align:left;}
.ats-r-resume.ats-tpl-sidebar .ats-r-name{color:#fff;font-size:1.45rem;letter-spacing:-0.3px;}
.ats-r-resume.ats-tpl-sidebar .ats-r-contact{color:rgba(255,255,255,0.6);font-size:0.76rem;}
.ats-r-resume.ats-tpl-sidebar .ats-r-two-col-wrap{display:grid;grid-template-columns:188px 1fr;min-height:500px;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col{background:#f1f5f9;padding:1.2rem 1rem 2rem;border-right:1px solid #cbd5e1;}
.ats-r-resume.ats-tpl-sidebar .ats-r-main-col{padding:1.2rem 1.5rem 2rem;background:#fff;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-section-title{font-size:0.62rem;text-transform:uppercase;letter-spacing:0.12em;color:#2563EB;font-weight:700;margin-bottom:0.15rem;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-rule{border-top:1.5px solid #2563EB;margin:0.05rem 0 0.3rem;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-section{margin-bottom:0.7rem;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-entry-top{grid-template-columns:1fr;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-entry-date{display:none;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-entry-heading{font-size:0.78rem;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-subheading{font-size:0.73rem;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-detail{font-size:0.73rem;color:#334155;}
.ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-bullets li{font-size:0.73rem;color:#334155;}
.ats-r-resume.ats-tpl-sidebar .ats-r-main-col .ats-r-section-title{font-size:0.7rem;text-transform:uppercase;letter-spacing:0.1em;color:#1e293b;font-weight:700;}
.ats-r-resume.ats-tpl-sidebar .ats-r-main-col .ats-r-rule{border-top:2px solid #1e293b;margin:0.05rem 0 0.4rem;}

/* ── Minimal template ── */
.ats-r-resume.ats-tpl-minimal{font-family:'Georgia',serif;font-size:0.88rem;line-height:1.6;color:#1a1a1a;}
.ats-r-resume.ats-tpl-minimal .ats-r-header{text-align:left;margin-bottom:1.1rem;padding-bottom:0.8rem;border-bottom:1px solid #d1d5db;}
.ats-r-resume.ats-tpl-minimal .ats-r-name{font-size:1.7rem;font-weight:700;letter-spacing:-0.5px;color:#111;}
.ats-r-resume.ats-tpl-minimal .ats-r-contact{font-size:0.78rem;color:#777;font-style:italic;}
.ats-r-resume.ats-tpl-minimal .ats-r-section{margin-bottom:1rem;}
.ats-r-resume.ats-tpl-minimal .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.68rem;text-transform:uppercase;letter-spacing:0.2em;color:#888;font-weight:600;margin-bottom:0.25rem;}
.ats-r-resume.ats-tpl-minimal .ats-r-rule{border-top:1px solid #e5e7eb;margin:0.1rem 0 0.55rem;}
.ats-r-resume.ats-tpl-minimal .ats-r-entry-heading{font-weight:700;font-size:0.88rem;font-style:normal;}
.ats-r-resume.ats-tpl-minimal .ats-r-entry-date{color:#aaa;font-style:italic;font-size:0.8rem;}
.ats-r-resume.ats-tpl-minimal .ats-r-subheading{font-style:italic;color:#666;font-size:0.83rem;}
.ats-r-resume.ats-tpl-minimal .ats-r-bullets{margin-left:0.5rem;}
.ats-r-resume.ats-tpl-minimal .ats-r-bullets li{font-size:0.84rem;color:#333;list-style-type:none;padding-left:0.9rem;position:relative;}
.ats-r-resume.ats-tpl-minimal .ats-r-bullets li::before{content:'—';position:absolute;left:0;color:#ccc;font-style:normal;}

/* Off-screen render target for high-quality PDF export */
/* position:absolute off-screen avoids the html2canvas/position:fixed blank-page bug */
.ats-pdf-export-root{
  position:absolute;
  left:-10000px;
  top:0;
  width:8.5in;
  background:#fff;
  overflow:visible;
  box-sizing:border-box;
}
.ats-pdf-export-root .ats-r-resume{
  width:100%;
  min-height:11in;
  max-height:none;
  overflow:visible;
  border:none;
  box-shadow:none;
  border-radius:0;
  padding:0.5in 0.65in;
  font-size:11pt;
  line-height:1.45;
  box-sizing:border-box;
}
.ats-pdf-export-root .ats-r-entry{break-inside:avoid;page-break-inside:avoid;}

/* ── PDF Preview Modal ── */
.pdf-prev-backdrop{position:fixed;inset:0;background:rgba(10,10,15,0.65);z-index:8888;display:flex;align-items:flex-start;justify-content:center;padding:3rem 1.5rem 2rem;box-sizing:border-box;overflow-y:auto;backdrop-filter:blur(3px);}
.pdf-prev-box{background:#f3f4f6;border-radius:16px;width:min(740px,96vw);box-shadow:0 32px 80px rgba(0,0,0,0.32);display:flex;flex-direction:column;animation:up 0.2s both;}
.pdf-prev-head{display:flex;align-items:center;justify-content:space-between;padding:0.9rem 1.5rem;background:#fff;border-bottom:1px solid var(--border);border-radius:16px 16px 0 0;flex-shrink:0;gap:1rem;}
.pdf-prev-title{font-size:0.82rem;font-weight:600;color:var(--ink);}
.pdf-prev-actions{display:flex;gap:0.5rem;flex-shrink:0;}
.pdf-prev-cancel{font-family:'Inter',sans-serif;font-size:0.78rem;font-weight:500;color:var(--ink2);background:transparent;border:1px solid var(--border);border-radius:8px;padding:0.4rem 0.9rem;cursor:pointer;transition:all 0.15s;}
.pdf-prev-cancel:hover{color:var(--ink);border-color:var(--border2);}
.pdf-prev-body{padding:1.5rem;overflow-y:auto;max-height:72vh;}
.pdf-prev-body .ats-r-resume{max-height:none !important;overflow:visible !important;box-shadow:0 2px 20px rgba(0,0,0,0.1);}

/* ── Responsive ── */
@media(max-width:680px){
  .page{padding:1.35rem 1rem 1.5rem;}
  .report-hero{grid-template-columns:1fr;text-align:center;}
  .rh-scores{justify-content:center;}
  .rh-ring-wrap{align-self:center;}
  .rh-meta{align-items:center;}
  .r-two-col{grid-template-columns:1fr;}
  .top-bar{flex-direction:column;align-items:flex-start;gap:1rem;}
  .upgrade-banner{flex-direction:column;}
  .skills-cols{grid-template-columns:1fr;}
  .ats-toolbar{flex-direction:column;}
  .ats-r-resume{padding:1.2rem;}
  .results-footer-inner{font-size:0.75rem;gap:0.4rem;}
}
/* ── Print: full-page analysis ── */
/* margin:0 removes browser-generated date/title/URL/page-number headers & footers */
@page { size: Letter; margin: 0; }

@media print {
  nav,.top-bar-right,.upgrade-banner,.ats-toolbar,.report-tabs{display:none !important;}
  .page{padding:0;max-width:100%;margin:0;}
  .reveal{opacity:1 !important;animation:none !important;}
  .tab-panel[hidden]{display:block !important;}
  .sb-fill{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  .ats-r-resume{max-height:none;overflow:visible;}
  .r-card{page-break-inside:avoid;}
}

/* ── New template thumbnails (6 additional) ── */

/* Tech ATS: monospaced feel, dark rules, subtle grid accent */
.ats-thumb-tech-ats{background:
  linear-gradient(#111 0,#111 100%) 5% 7% / 55% 5.5% no-repeat,
  linear-gradient(#aaa 0,#aaa 100%) 5% 15% / 40% 2% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 22% / 90% 1px no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 26% / 28% 3% no-repeat,
  linear-gradient(#6b7280 0,#6b7280 100%) 68% 26% / 22% 3% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 33% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 38% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 43% / 82% 2.5% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 51% / 90% 1px no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 55% / 34% 3% no-repeat,
  linear-gradient(#6b7280 0,#6b7280 100%) 68% 55% / 18% 3% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 62% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 67% / 68% 2.5% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 75% / 90% 1px no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 79% / 26% 3% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 86% / 60% 2.5% no-repeat,
  #f8fafc;}

/* Bold Header: full-width dark header block, single column */
.ats-thumb-bold-header{background:
  linear-gradient(#0f172a 0,#0f172a 100%) 0 0 / 100% 30% no-repeat,
  linear-gradient(#fff 0,#fff 100%) 5% 7% / 60% 8% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 5% 18% / 44% 3.5% no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 35% / 32% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 42% / 88% 1.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 47% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 52% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 57% / 82% 2.5% no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 65% / 38% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 72% / 88% 1.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 77% / 74% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 82% / 82% 2.5% no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 90% / 24% 4% no-repeat,
  #fff;}

/* Corporate Pro: gray header band, single column */
.ats-thumb-corporate{background:
  linear-gradient(#e5e7eb 0,#e5e7eb 100%) 0 0 / 100% 22% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 6% / 56% 7% no-repeat,
  linear-gradient(#6b7280 0,#6b7280 100%) 5% 16% / 42% 2.5% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 26% / 90% 2% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 31% / 32% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 39% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 44% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 49% / 82% 2.5% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 57% / 90% 2% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 62% / 38% 4% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 70% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 75% / 68% 2.5% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 83% / 90% 2% no-repeat,
  linear-gradient(#374151 0,#374151 100%) 5% 88% / 26% 4% no-repeat,
  #fff;}

/* Creative Minimal: indigo accent rules + titles, airy */
.ats-thumb-creative-minimal{background:
  linear-gradient(#111 0,#111 100%) 5% 7% / 55% 6% no-repeat,
  linear-gradient(#818cf8 0,#818cf8 100%) 5% 16% / 42% 2% no-repeat,
  linear-gradient(#e0e7ff 0,#e0e7ff 100%) 5% 22% / 90% 1px no-repeat,
  linear-gradient(#4f46e5 0,#4f46e5 100%) 5% 26% / 24% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 33% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 38% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 43% / 82% 2.5% no-repeat,
  linear-gradient(#e0e7ff 0,#e0e7ff 100%) 5% 51% / 90% 1px no-repeat,
  linear-gradient(#4f46e5 0,#4f46e5 100%) 5% 55% / 30% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 62% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 67% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 72% / 78% 2.5% no-repeat,
  linear-gradient(#e0e7ff 0,#e0e7ff 100%) 5% 80% / 90% 1px no-repeat,
  linear-gradient(#4f46e5 0,#4f46e5 100%) 5% 84% / 22% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 91% / 55% 2.5% no-repeat,
  #fafafa;}

/* Elegant Pro: serif, gold accent rule */
.ats-thumb-elegant{background:
  linear-gradient(#111 0,#111 100%) center 7% / 54% 6% no-repeat,
  linear-gradient(#888 0,#888 100%) center 16% / 38% 2% no-repeat,
  linear-gradient(#b8973b 0,#b8973b 100%) 5% 22% / 90% 1.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 27% / 30% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 34% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 39% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 44% / 82% 2.5% no-repeat,
  linear-gradient(#b8973b 0,#b8973b 100%) 5% 52% / 90% 1.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 57% / 36% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 64% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 69% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 74% / 78% 2.5% no-repeat,
  linear-gradient(#b8973b 0,#b8973b 100%) 5% 82% / 90% 1.5% no-repeat,
  linear-gradient(#111 0,#111 100%) 5% 87% / 22% 3.5% no-repeat,
  #fffef9;}

/* Nordic Clean: ultra-airy, very light separators */
.ats-thumb-nordic{background:
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 7% / 52% 6.5% no-repeat,
  linear-gradient(#94a3b8 0,#94a3b8 100%) 5% 16% / 38% 2% no-repeat,
  linear-gradient(#f1f5f9 0,#f1f5f9 100%) 5% 23% / 90% 1px no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 28% / 26% 3% no-repeat,
  linear-gradient(#e2e8f0 0,#e2e8f0 100%) 5% 35% / 88% 2.5% no-repeat,
  linear-gradient(#e2e8f0 0,#e2e8f0 100%) 5% 40% / 72% 2.5% no-repeat,
  linear-gradient(#e2e8f0 0,#e2e8f0 100%) 5% 45% / 82% 2.5% no-repeat,
  linear-gradient(#f1f5f9 0,#f1f5f9 100%) 5% 53% / 90% 1px no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 58% / 32% 3% no-repeat,
  linear-gradient(#e2e8f0 0,#e2e8f0 100%) 5% 65% / 88% 2.5% no-repeat,
  linear-gradient(#e2e8f0 0,#e2e8f0 100%) 5% 70% / 68% 2.5% no-repeat,
  linear-gradient(#e2e8f0 0,#e2e8f0 100%) 5% 75% / 78% 2.5% no-repeat,
  linear-gradient(#f1f5f9 0,#f1f5f9 100%) 5% 83% / 90% 1px no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 88% / 20% 3% no-repeat,
  #fff;}

/* Teal Accent: teal rule + section labels */
.ats-thumb-teal-accent{background:
  linear-gradient(#111 0,#111 100%) 5% 7% / 55% 6% no-repeat,
  linear-gradient(#0d9488 0,#0d9488 100%) 5% 16% / 40% 2% no-repeat,
  linear-gradient(#0d9488 0,#0d9488 100%) 5% 22% / 90% 2px no-repeat,
  linear-gradient(#0d9488 0,#0d9488 100%) 5% 27% / 22% 3% no-repeat,
  linear-gradient(#99f6e4 0,#99f6e4 100%) 5% 32% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 37% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 42% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 47% / 82% 2.5% no-repeat,
  linear-gradient(#0d9488 0,#0d9488 100%) 5% 55% / 22% 3% no-repeat,
  linear-gradient(#99f6e4 0,#99f6e4 100%) 5% 60% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 65% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 70% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 75% / 78% 2.5% no-repeat,
  linear-gradient(#0d9488 0,#0d9488 100%) 5% 83% / 20% 3% no-repeat,
  linear-gradient(#99f6e4 0,#99f6e4 100%) 5% 88% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 92% / 55% 2.5% no-repeat,
  #fff;}

/* Warm Header: amber header band */
.ats-thumb-warm-header{background:
  linear-gradient(#b45309 0,#b45309 100%) 0 0 / 100% 25% no-repeat,
  linear-gradient(#fff 0,#fff 100%) 5% 7% / 58% 7% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 5% 17% / 44% 3% no-repeat,
  linear-gradient(#fde68a 0,#fde68a 100%) 5% 29% / 90% 1.5px no-repeat,
  linear-gradient(#92400e 0,#92400e 100%) 5% 33% / 28% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 40% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 45% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 50% / 82% 2.5% no-repeat,
  linear-gradient(#fde68a 0,#fde68a 100%) 5% 58% / 90% 1.5px no-repeat,
  linear-gradient(#92400e 0,#92400e 100%) 5% 62% / 26% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 69% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 74% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 79% / 78% 2.5% no-repeat,
  linear-gradient(#fde68a 0,#fde68a 100%) 5% 87% / 90% 1.5px no-repeat,
  linear-gradient(#92400e 0,#92400e 100%) 5% 91% / 22% 3.5% no-repeat,
  #fff;}

/* Crimson: serif, burgundy rule + labels */
.ats-thumb-crimson{background:
  linear-gradient(#111 0,#111 100%) 5% 7% / 55% 6% no-repeat,
  linear-gradient(#888 0,#888 100%) 5% 15% / 40% 2% no-repeat,
  linear-gradient(#9b1c1c 0,#9b1c1c 100%) 5% 22% / 90% 3px no-repeat,
  linear-gradient(#9b1c1c 0,#9b1c1c 100%) 5% 27% / 26% 3.5% no-repeat,
  linear-gradient(#fecaca 0,#fecaca 100%) 5% 32% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 37% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 42% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 47% / 82% 2.5% no-repeat,
  linear-gradient(#9b1c1c 0,#9b1c1c 100%) 5% 55% / 24% 3.5% no-repeat,
  linear-gradient(#fecaca 0,#fecaca 100%) 5% 60% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 65% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 70% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 75% / 78% 2.5% no-repeat,
  linear-gradient(#9b1c1c 0,#9b1c1c 100%) 5% 83% / 20% 3.5% no-repeat,
  linear-gradient(#fecaca 0,#fecaca 100%) 5% 88% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 92% / 55% 2.5% no-repeat,
  #fff;}

/* Slate: slate gray rule + labels */
.ats-thumb-slate{background:
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 7% / 52% 6% no-repeat,
  linear-gradient(#64748b 0,#64748b 100%) 5% 15% / 38% 2% no-repeat,
  linear-gradient(#334155 0,#334155 100%) 5% 22% / 90% 2.5px no-repeat,
  linear-gradient(#475569 0,#475569 100%) 5% 27% / 26% 3.5% no-repeat,
  linear-gradient(#334155 0,#334155 100%) 5% 33% / 90% 2px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 38% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 43% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 48% / 82% 2.5% no-repeat,
  linear-gradient(#475569 0,#475569 100%) 5% 56% / 24% 3.5% no-repeat,
  linear-gradient(#334155 0,#334155 100%) 5% 61% / 90% 2px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 66% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 71% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 76% / 78% 2.5% no-repeat,
  linear-gradient(#475569 0,#475569 100%) 5% 84% / 20% 3.5% no-repeat,
  linear-gradient(#334155 0,#334155 100%) 5% 89% / 90% 2px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 93% / 50% 2.5% no-repeat,
  #fff;}

/* Forest: dark green header band */
.ats-thumb-forest{background:
  linear-gradient(#14532d 0,#14532d 100%) 0 0 / 100% 27% no-repeat,
  linear-gradient(#fff 0,#fff 100%) 5% 7% / 58% 7% no-repeat,
  linear-gradient(rgba(255,255,255,0.5) 0,rgba(255,255,255,0.5) 100%) 5% 17% / 42% 3% no-repeat,
  linear-gradient(#bbf7d0 0,#bbf7d0 100%) 5% 30% / 90% 1.5px no-repeat,
  linear-gradient(#166534 0,#166534 100%) 5% 34% / 28% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 41% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 46% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 51% / 82% 2.5% no-repeat,
  linear-gradient(#bbf7d0 0,#bbf7d0 100%) 5% 59% / 90% 1.5px no-repeat,
  linear-gradient(#166534 0,#166534 100%) 5% 63% / 26% 3.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 70% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 75% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 80% / 78% 2.5% no-repeat,
  linear-gradient(#bbf7d0 0,#bbf7d0 100%) 5% 88% / 90% 1.5px no-repeat,
  linear-gradient(#166534 0,#166534 100%) 5% 92% / 22% 3.5% no-repeat,
  #fff;}

/* Purple Pro: purple accent bar + labels */
.ats-thumb-purple-pro{background:
  linear-gradient(#7c3aed 0,#7c3aed 100%) 0 0 / 100% 5% no-repeat,
  linear-gradient(#0f172a 0,#0f172a 100%) 5% 11% / 52% 6% no-repeat,
  linear-gradient(#7c3aed 0,#7c3aed 100%) 5% 19% / 36% 2% no-repeat,
  linear-gradient(#7c3aed 0,#7c3aed 100%) 5% 26% / 26% 3.5% no-repeat,
  linear-gradient(#ddd6fe 0,#ddd6fe 100%) 5% 31% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 36% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 41% / 72% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 46% / 82% 2.5% no-repeat,
  linear-gradient(#7c3aed 0,#7c3aed 100%) 5% 54% / 24% 3.5% no-repeat,
  linear-gradient(#ddd6fe 0,#ddd6fe 100%) 5% 59% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 64% / 88% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 69% / 68% 2.5% no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 74% / 78% 2.5% no-repeat,
  linear-gradient(#7c3aed 0,#7c3aed 100%) 5% 82% / 22% 3.5% no-repeat,
  linear-gradient(#ddd6fe 0,#ddd6fe 100%) 5% 87% / 90% 1.5px no-repeat,
  linear-gradient(#ddd 0,#ddd 100%) 5% 91% / 55% 2.5% no-repeat,
  #fafafa;}

/* ── Tech ATS template ── */
.ats-r-resume.ats-tpl-tech-ats{font-family:'Courier New',Courier,monospace;font-size:0.87rem;color:#1a1a1a;line-height:1.5;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-header{text-align:left;border-bottom:2px solid #111;padding-bottom:0.6rem;margin-bottom:0.9rem;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-name{font-family:'Courier New',Courier,monospace;font-size:1.4rem;font-weight:700;letter-spacing:0.5px;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-contact{font-family:'Courier New',Courier,monospace;font-size:0.78rem;color:#555;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.68rem;text-transform:uppercase;letter-spacing:0.18em;color:#374151;font-weight:700;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-rule{border-top:1.5px solid #374151;margin:0.1rem 0 0.4rem;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:700;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-entry-date{font-family:'Courier New',Courier,monospace;font-size:0.8rem;color:#6b7280;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-subheading{font-family:'Courier New',Courier,monospace;font-style:normal;color:#4b5563;font-size:0.84rem;}
.ats-r-resume.ats-tpl-tech-ats .ats-r-bullets li{font-family:'Courier New',Courier,monospace;font-size:0.84rem;}

/* ── Bold Header template ── */
.ats-r-resume.ats-tpl-bold-header{font-family:'Inter',sans-serif;overflow:hidden;}
.ats-r-resume.ats-tpl-bold-header .ats-r-header{margin:-2rem -2.4rem 1.4rem;padding:2rem 2.4rem 1.6rem;background:#0f172a;}
.ats-r-resume.ats-tpl-bold-header .ats-r-name{color:#fff;font-size:1.85rem;font-weight:800;letter-spacing:-0.5px;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-bold-header .ats-r-contact{color:rgba(255,255,255,.65);font-size:0.78rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-bold-header .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.16em;color:#0f172a;font-weight:700;}
.ats-r-resume.ats-tpl-bold-header .ats-r-rule{border-top:2px solid #0f172a;margin:0.1rem 0 0.4rem;}
.ats-r-resume.ats-tpl-bold-header .ats-r-entry-heading{font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-bold-header .ats-r-subheading{font-style:normal;color:#475569;font-family:'Inter',sans-serif;}

/* ── Corporate Pro template ── */
.ats-r-resume.ats-tpl-corporate{font-family:'Inter',sans-serif;overflow:hidden;}
.ats-r-resume.ats-tpl-corporate .ats-r-header{margin:-2rem -2.4rem 1.2rem;padding:1.6rem 2.4rem 1.4rem;background:#f3f4f6;border-bottom:2px solid #d1d5db;text-align:left;}
.ats-r-resume.ats-tpl-corporate .ats-r-name{color:#111;font-size:1.55rem;font-weight:700;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-corporate .ats-r-contact{color:#6b7280;font-size:0.78rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-corporate .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.12em;color:#374151;font-weight:700;}
.ats-r-resume.ats-tpl-corporate .ats-r-rule{border-top:1.5px solid #374151;margin:0.1rem 0 0.4rem;}
.ats-r-resume.ats-tpl-corporate .ats-r-entry-heading{font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-corporate .ats-r-subheading{font-style:normal;color:#6b7280;font-family:'Inter',sans-serif;}

/* ── Creative Minimal template ── */
.ats-r-resume.ats-tpl-creative-minimal{font-family:'Inter',sans-serif;background:#fafafa;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-header{text-align:left;margin-bottom:1.1rem;padding-bottom:0.8rem;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-name{font-size:1.65rem;font-weight:800;letter-spacing:-0.6px;color:#0f172a;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-contact{color:#818cf8;font-size:0.8rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.68rem;text-transform:uppercase;letter-spacing:0.16em;color:#4f46e5;font-weight:700;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-rule{border-top:1.5px solid #c7d2fe;margin:0.1rem 0 0.5rem;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:700;}
.ats-r-resume.ats-tpl-creative-minimal .ats-r-subheading{font-style:normal;color:#6366f1;font-family:'Inter',sans-serif;}

/* ── Elegant Pro template ── */
.ats-r-resume.ats-tpl-elegant{font-family:'Georgia',Times,serif;}
.ats-r-resume.ats-tpl-elegant .ats-r-header{text-align:center;margin-bottom:1rem;padding-bottom:0.7rem;}
.ats-r-resume.ats-tpl-elegant .ats-r-name{font-family:'Georgia',Times,serif;font-size:1.75rem;font-weight:700;letter-spacing:0.5px;color:#1a1a1a;}
.ats-r-resume.ats-tpl-elegant .ats-r-contact{color:#888;font-size:0.78rem;font-style:italic;font-family:'Georgia',Times,serif;}
.ats-r-resume.ats-tpl-elegant .ats-r-section-title{font-family:'Georgia',Times,serif;font-size:0.82rem;font-weight:700;text-transform:uppercase;letter-spacing:0.6px;color:#1a1a1a;}
.ats-r-resume.ats-tpl-elegant .ats-r-rule{border-top:1.5px solid #b8973b;margin:0.1rem 0 0.5rem;}
.ats-r-resume.ats-tpl-elegant .ats-r-entry-heading{font-family:'Georgia',Times,serif;font-weight:700;}
.ats-r-resume.ats-tpl-elegant .ats-r-subheading{font-style:italic;color:#666;}
.ats-r-resume.ats-tpl-elegant .ats-r-bullets li{font-family:'Georgia',Times,serif;}

/* ── Nordic Clean template ── */
.ats-r-resume.ats-tpl-nordic{font-family:'Inter',sans-serif;font-size:0.88rem;line-height:1.65;background:#fff;}
.ats-r-resume.ats-tpl-nordic .ats-r-header{text-align:left;margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid #f1f5f9;}
.ats-r-resume.ats-tpl-nordic .ats-r-name{font-family:'Inter',sans-serif;font-size:1.65rem;font-weight:800;letter-spacing:-0.5px;color:#0f172a;}
.ats-r-resume.ats-tpl-nordic .ats-r-contact{color:#94a3b8;font-size:0.78rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-nordic .ats-r-section{margin-bottom:1.1rem;}
.ats-r-resume.ats-tpl-nordic .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.65rem;text-transform:uppercase;letter-spacing:0.22em;color:#94a3b8;font-weight:700;margin-bottom:0.25rem;}
.ats-r-resume.ats-tpl-nordic .ats-r-rule{border-top:1px solid #f1f5f9;margin:0.1rem 0 0.6rem;}
.ats-r-resume.ats-tpl-nordic .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:600;color:#0f172a;}
.ats-r-resume.ats-tpl-nordic .ats-r-entry-date{color:#cbd5e1;font-size:0.8rem;}
.ats-r-resume.ats-tpl-nordic .ats-r-subheading{font-style:normal;color:#64748b;font-size:0.83rem;}
.ats-r-resume.ats-tpl-nordic .ats-r-bullets li{font-family:'Inter',sans-serif;font-size:0.84rem;color:#475569;list-style-type:none;padding-left:1rem;position:relative;}
.ats-r-resume.ats-tpl-nordic .ats-r-bullets li::before{content:'·';position:absolute;left:0.2rem;color:#94a3b8;}

/* ── Teal Accent template ── */
.ats-r-resume.ats-tpl-teal-accent{font-family:'Inter',sans-serif;font-size:0.88rem;line-height:1.6;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-header{text-align:left;margin-bottom:1rem;padding-bottom:0.7rem;border-bottom:2px solid #0d9488;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-name{font-family:'Inter',sans-serif;font-size:1.6rem;font-weight:700;letter-spacing:-0.4px;color:#0f172a;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-contact{color:#0d9488;font-size:0.78rem;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.14em;color:#0d9488;font-weight:700;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-rule{border-top:1.5px solid #99f6e4;margin:0.1rem 0 0.45rem;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:700;color:#0f172a;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-subheading{font-style:normal;color:#0f766e;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-teal-accent .ats-r-bullets li{font-family:'Inter',sans-serif;}

/* ── Warm Header template ── */
.ats-r-resume.ats-tpl-warm-header{font-family:'Inter',sans-serif;overflow:hidden;}
.ats-r-resume.ats-tpl-warm-header .ats-r-header{margin:-2rem -2.4rem 1.4rem;padding:1.8rem 2.4rem 1.4rem;background:#b45309;}
.ats-r-resume.ats-tpl-warm-header .ats-r-name{color:#fff;font-size:1.65rem;font-weight:700;letter-spacing:-0.3px;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-warm-header .ats-r-contact{color:rgba(255,255,255,0.7);font-size:0.78rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-warm-header .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.14em;color:#92400e;font-weight:700;}
.ats-r-resume.ats-tpl-warm-header .ats-r-rule{border-top:1.5px solid #fde68a;margin:0.1rem 0 0.4rem;}
.ats-r-resume.ats-tpl-warm-header .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:700;}
.ats-r-resume.ats-tpl-warm-header .ats-r-subheading{font-style:normal;color:#92400e;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-warm-header .ats-r-bullets li{font-family:'Inter',sans-serif;}

/* ── Crimson template ── */
.ats-r-resume.ats-tpl-crimson{font-family:'Georgia',Times,serif;}
.ats-r-resume.ats-tpl-crimson .ats-r-header{text-align:left;margin-bottom:1rem;padding-bottom:0.65rem;border-bottom:2.5px solid #9b1c1c;}
.ats-r-resume.ats-tpl-crimson .ats-r-name{font-family:'Georgia',Times,serif;font-size:1.65rem;font-weight:700;letter-spacing:0.1px;color:#1a1a1a;}
.ats-r-resume.ats-tpl-crimson .ats-r-contact{color:#666;font-size:0.78rem;font-style:italic;font-family:'Georgia',Times,serif;}
.ats-r-resume.ats-tpl-crimson .ats-r-section-title{font-family:'Georgia',Times,serif;font-size:0.82rem;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;color:#9b1c1c;}
.ats-r-resume.ats-tpl-crimson .ats-r-rule{border-top:1px solid #fecaca;margin:0.1rem 0 0.45rem;}
.ats-r-resume.ats-tpl-crimson .ats-r-entry-heading{font-family:'Georgia',Times,serif;font-weight:700;}
.ats-r-resume.ats-tpl-crimson .ats-r-subheading{font-style:italic;color:#7f1d1d;}
.ats-r-resume.ats-tpl-crimson .ats-r-bullets li{font-family:'Georgia',Times,serif;}

/* ── Slate template ── */
.ats-r-resume.ats-tpl-slate{font-family:'Inter',sans-serif;font-size:0.87rem;line-height:1.55;color:#1e293b;}
.ats-r-resume.ats-tpl-slate .ats-r-header{text-align:left;margin-bottom:1rem;padding-bottom:0.65rem;}
.ats-r-resume.ats-tpl-slate .ats-r-name{font-family:'Inter',sans-serif;font-size:1.55rem;font-weight:700;letter-spacing:-0.3px;color:#0f172a;}
.ats-r-resume.ats-tpl-slate .ats-r-contact{color:#64748b;font-size:0.78rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-slate .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.68rem;text-transform:uppercase;letter-spacing:0.18em;color:#475569;font-weight:700;}
.ats-r-resume.ats-tpl-slate .ats-r-rule{border-top:2px solid #334155;margin:0.1rem 0 0.45rem;}
.ats-r-resume.ats-tpl-slate .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:600;color:#0f172a;}
.ats-r-resume.ats-tpl-slate .ats-r-subheading{font-style:normal;color:#475569;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-slate .ats-r-bullets li{font-family:'Inter',sans-serif;color:#334155;}

/* ── Forest template ── */
.ats-r-resume.ats-tpl-forest{font-family:'Inter',sans-serif;overflow:hidden;}
.ats-r-resume.ats-tpl-forest .ats-r-header{margin:-2rem -2.4rem 1.4rem;padding:1.8rem 2.4rem 1.5rem;background:#14532d;}
.ats-r-resume.ats-tpl-forest .ats-r-name{color:#fff;font-size:1.65rem;font-weight:700;letter-spacing:-0.3px;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-forest .ats-r-contact{color:rgba(255,255,255,0.65);font-size:0.78rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-forest .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.16em;color:#166534;font-weight:700;}
.ats-r-resume.ats-tpl-forest .ats-r-rule{border-top:1.5px solid #bbf7d0;margin:0.1rem 0 0.4rem;}
.ats-r-resume.ats-tpl-forest .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:700;}
.ats-r-resume.ats-tpl-forest .ats-r-subheading{font-style:normal;color:#15803d;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-forest .ats-r-bullets li{font-family:'Inter',sans-serif;}

/* ── Purple Pro template ── */
.ats-r-resume.ats-tpl-purple-pro{font-family:'Inter',sans-serif;font-size:0.88rem;line-height:1.58;background:#fafafa;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-header{text-align:left;margin-bottom:1.1rem;padding-bottom:0.8rem;border-left:4px solid #7c3aed;padding-left:1rem;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-name{font-family:'Inter',sans-serif;font-size:1.65rem;font-weight:800;letter-spacing:-0.5px;color:#0f172a;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-contact{color:#7c3aed;font-size:0.79rem;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-section-title{font-family:'Inter',sans-serif;font-size:0.68rem;text-transform:uppercase;letter-spacing:0.16em;color:#7c3aed;font-weight:700;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-rule{border-top:1.5px solid #ddd6fe;margin:0.1rem 0 0.5rem;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-entry-heading{font-family:'Inter',sans-serif;font-weight:700;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-subheading{font-style:normal;color:#6d28d9;font-family:'Inter',sans-serif;}
.ats-r-resume.ats-tpl-purple-pro .ats-r-bullets li{font-family:'Inter',sans-serif;}

/* ── Print overrides for new templates ── */
/* Print: remove print-unfriendly colored/dark headers from new templates */

/* ── Print: resume only (triggered by "Download PDF" in ATS toolbar) ── */
body.riq-print-resume nav,
body.riq-print-resume .breadcrumb,
body.riq-print-resume .top-bar,
body.riq-print-resume .report-hero,
body.riq-print-resume .report-tabs,
body.riq-print-resume #tab-overview,
body.riq-print-resume #tab-issues,
body.riq-print-resume #tab-keywords,
body.riq-print-resume #tab-rewrites,
body.riq-print-resume .upgrade-banner,
body.riq-print-resume #skillsCard{display:none !important;}

@media print {
  html,body{margin:0;padding:0;}
  body.riq-print-resume .page{
    padding:0;
    margin:0;
    max-width:none;
    width:auto;
  }
  body.riq-print-resume #atsCard{border:none;padding:0;animation:none;opacity:1;box-shadow:none;}
  body.riq-print-resume #atsCard .rc-title,
  body.riq-print-resume #atsCard .ats-desc,
  body.riq-print-resume #atsCard .ats-toolbar,
  body.riq-print-resume #atsCard .ats-edit-indicator,
  body.riq-print-resume #atsCard .ats-tpl-bar,
  body.riq-print-resume #atsCard .ats-tpl-header,
  body.riq-print-resume #atsCard .ats-tpl-picker,
  body.riq-print-resume #atsTplPicker{display:none !important;}
  body.riq-print-resume .ats-r-resume{
    width:100%;
    max-height:none !important;
    overflow:visible !important;
    border:none;
    box-shadow:none;
    padding:0.42in 0.55in;
    border-radius:0;
    font-size:9.8pt;
    line-height:1.35;
    box-sizing:border-box;
  }
  /* Tighten all spacing so content fits on one page */
  body.riq-print-resume .ats-r-header{margin-bottom:0.45rem;}
  body.riq-print-resume .ats-r-name{font-size:1.25rem;margin-bottom:0.15rem;}
  body.riq-print-resume .ats-r-contact{font-size:0.72rem;}
  body.riq-print-resume .ats-r-section{margin-bottom:0.45rem;}
  body.riq-print-resume .ats-r-rule{margin:0.05rem 0 0.22rem;}
  body.riq-print-resume .ats-r-entry{margin-bottom:0.28rem;}
  body.riq-print-resume .ats-r-entry-heading{font-size:0.82rem;}
  body.riq-print-resume .ats-r-entry-date{font-size:0.76rem;white-space:normal;overflow-wrap:anywhere;}
  body.riq-print-resume .ats-r-subheading{font-size:0.78rem;margin-top:0;}
  body.riq-print-resume .ats-r-detail{font-size:0.78rem;margin-top:0.08rem;}
  body.riq-print-resume .ats-r-bullets{margin-top:0.12rem;}
  body.riq-print-resume .ats-r-bullets li{font-size:0.78rem;margin-bottom:0.1rem;line-height:1.35;break-inside:avoid;page-break-inside:avoid;}
  body.riq-print-resume .ats-r-entry-top{grid-template-columns:minmax(0,1fr) auto;}
  body.riq-print-resume .ats-r-entry{break-inside:avoid;page-break-inside:avoid;}
  /* Sidebar: flatten to single column for print */
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar{padding:0.42in 0.55in;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-header{padding:0;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-header{background:none;padding:0 0 0.4rem;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-name{color:#111;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-contact{color:#444;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-two-col-wrap{display:block;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col,
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-main-col{background:none;padding:0;border:none;}
  body.riq-print-resume .ats-r-resume.ats-tpl-sidebar .ats-r-sidebar-col .ats-r-entry-date{display:revert;}
  /* Executive: no colored header for print (save ink) */
  body.riq-print-resume .ats-r-resume.ats-tpl-executive .ats-r-header{background:none;margin:0 0 0.6rem;padding:0;border-bottom:3px solid #0f172a;}
  body.riq-print-resume .ats-r-resume.ats-tpl-executive .ats-r-name{color:#111;}
  body.riq-print-resume .ats-r-resume.ats-tpl-executive .ats-r-contact{color:#555;}
  /* Warm Header: strip amber for print */
  body.riq-print-resume .ats-r-resume.ats-tpl-warm-header .ats-r-header{background:none;margin:0 0 0.6rem;padding:0;border-bottom:2.5px solid #b45309;}
  body.riq-print-resume .ats-r-resume.ats-tpl-warm-header .ats-r-name{color:#111;}
  body.riq-print-resume .ats-r-resume.ats-tpl-warm-header .ats-r-contact{color:#555;}
  /* Forest: strip green header for print */
  body.riq-print-resume .ats-r-resume.ats-tpl-forest .ats-r-header{background:none;margin:0 0 0.6rem;padding:0;border-bottom:2.5px solid #14532d;}
  body.riq-print-resume .ats-r-resume.ats-tpl-forest .ats-r-name{color:#111;}
  body.riq-print-resume .ats-r-resume.ats-tpl-forest .ats-r-contact{color:#555;}
  /* Bold Header: strip dark header for print */
  body.riq-print-resume .ats-r-resume.ats-tpl-bold-header .ats-r-header{background:none;margin:0 0 0.6rem;padding:0;border-bottom:3px solid #0f172a;}
  body.riq-print-resume .ats-r-resume.ats-tpl-bold-header .ats-r-name{color:#111;}
  body.riq-print-resume .ats-r-resume.ats-tpl-bold-header .ats-r-contact{color:#555;}
}

/* ── Free-tier score panel ── */
.fsp-dual{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:center;margin-bottom:1.25rem;}
.fsp-score-item{text-align:center;}
.fsp-score-label{font-size:0.72rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:var(--ink3);margin-bottom:0.4rem;}
.fsp-score-num{font-size:2.2rem;font-weight:700;letter-spacing:-1.5px;color:var(--ink2);line-height:1;}
.fsp-score-sub{font-size:0.68rem;color:var(--ink3);margin-top:0.3rem;}
.fsp-divider{width:1px;height:60px;background:var(--border);align-self:center;}
.fsp-meta{display:flex;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:1.25rem;}
.fsp-badge{font-size:0.72rem;font-weight:600;background:var(--bg);color:var(--ink2);border:1px solid var(--border);border-radius:100px;padding:0.25rem 0.75rem;}
.fsp-readiness{font-size:0.78rem;font-weight:500;color:var(--ink2);}
.fsp-locked{background:var(--bg);border:1px dashed var(--border2);border-radius:10px;padding:1.25rem 1.5rem;text-align:center;}
.fsp-locked-label{font-size:0.78rem;font-weight:600;color:var(--ink);margin-bottom:0.3rem;}
.fsp-locked-desc{font-size:0.75rem;color:var(--ink3);margin-bottom:1rem;}
.fsp-locked-cta{font-size:0.78rem;padding:0.5rem 1.25rem;}

/* ── Quick wins ── */
.ov-win-icon{font-size:0.75rem;font-weight:700;color:var(--blue);flex-shrink:0;margin-top:1px;}

/* ── Keyword hint (free tier) ── */
.kw-hint-text{font-size:0.82rem;color:var(--ink2);line-height:1.6;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:0.85rem 1rem;margin-top:1rem;margin-bottom:0.6rem;}
.kw-hint-upgrade{font-size:0.75rem;font-weight:600;color:var(--blue);text-decoration:none;display:inline-block;margin-bottom:0.5rem;}
.kw-hint-upgrade:hover{text-decoration:underline;}

/* ── Hero free-tier meta row (recruiter impression + career level) ── */
.rh-free-meta{display:flex;align-items:center;flex-wrap:wrap;gap:0.5rem;margin-top:0.65rem;}
.rh-free-meta-item{font-size:0.78rem;color:var(--ink3);}
.rh-free-meta-item strong{font-weight:600;color:var(--ink2);}
.rh-free-meta-sep{color:var(--border2);font-size:0.78rem;}
.rh-career-badge{font-size:0.68rem;font-weight:600;letter-spacing:0.04em;background:var(--bg);color:var(--ink2);border:1px solid var(--border);border-radius:100px;padding:0.18rem 0.6rem;}

/* ---- Results Color Refresh ---- */
.report-hero{
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:none;
}

.rh-plan-badge{
  background:rgba(37,99,235,0.12);
  color:var(--blue2);
  border-color:rgba(37,99,235,0.34);
}
.rh-plan-badge.free{
  background:rgba(245,158,11,0.12);
  color:#b45309;
  border-color:rgba(217,119,6,0.36);
}

.page .btn-blue,
.page .btn-primary,
.page .btn-green{
  background:linear-gradient(135deg,#2563eb 0%, #1d4ed8 100%);
  box-shadow:0 8px 18px rgba(37,99,235,0.26);
}
.page .btn-blue:hover,
.page .btn-primary:hover,
.page .btn-green:hover{
  background:linear-gradient(135deg,#1d4ed8 0%, #1e40af 100%);
  box-shadow:0 10px 22px rgba(37,99,235,0.32);
}


.r-card{
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
  border:1px solid rgba(37,99,235,0.15);
  box-shadow:0 6px 18px rgba(15,23,42,0.05);
}
.rc-title{
  font-weight:700;
}
.rc-title::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:12px;
  background:linear-gradient(135deg,#60a5fa 0%, #2563eb 100%);
  box-shadow:0 0 0 3px rgba(37,99,235,0.12);
}

.sb-track{
  height:8px;
  background:#e9eff9;
  box-shadow:inset 0 1px 2px rgba(15,23,42,0.08);
}
.sb-fill.good{background:linear-gradient(90deg,#22c55e 0%, #16a34a 100%);}
.sb-fill.ok{background:linear-gradient(90deg,#f59e0b 0%, #d97706 100%);}
.sb-fill.bad{background:linear-gradient(90deg,#ef4444 0%, #dc2626 100%);}

.ov-row:last-child{margin-bottom:0;}

.issue-item{
  padding:0.9rem 1rem;
  border:1px solid var(--border);
  border-left:3px solid var(--border);
  background:var(--white);
  border-radius:8px;
  margin-bottom:0.55rem;
}
.issue-item:last-child{margin-bottom:0;}

.kw-chip.found{
  background:linear-gradient(180deg,rgba(34,197,94,0.18) 0%, rgba(34,197,94,0.1) 100%);
  border-color:rgba(22,163,74,0.28);
}
.kw-chip.missing{
  background:linear-gradient(180deg,rgba(239,68,68,0.14) 0%, rgba(239,68,68,0.08) 100%);
  border-color:rgba(220,38,38,0.24);
}

.fsp-score-num{
  text-shadow:0 1px 0 #fff, 0 7px 16px rgba(15,23,42,0.08);
}
.fsp-badge{
  background:rgba(37,99,235,0.08);
  color:var(--blue2);
  border-color:rgba(37,99,235,0.24);
}
.fsp-locked{
  background:linear-gradient(180deg,#f7fbff 0%, #f2f8ff 100%);
  border-color:rgba(37,99,235,0.35);
}

.kw-hint-text{
  background:linear-gradient(180deg,#f8fbff 0%, #f4f8ff 100%);
  border-color:rgba(37,99,235,0.22);
}

.rh-career-badge{
  background:rgba(37,99,235,0.08);
  color:var(--blue2);
  border-color:rgba(37,99,235,0.22);
}

@media(max-width:680px){
  .page{padding:1.35rem 1rem 1.5rem;}
  .report-tabs{border-radius:10px;}
}

/* ══════════════════════════════════════════
   REDESIGN: Overview · Issues · Keywords
   ══════════════════════════════════════════ */

/* ── Section title dot ── */
.rc-dot{
  display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;
}
.rc-dot--blue{background:var(--blue);}
.rc-dot--green{background:var(--green);}
.rc-dot--red{background:var(--red);}
.issue-dot{display:none!important;}
.ov-row-label{color:var(--ink)!important;}

/* ── Free panel: ring layout ── */
.fsp-rings{
  display:flex;align-items:center;justify-content:center;
  gap:2.5rem;margin-bottom:1.25rem;
}
.fsp-ring-wrap{display:flex;flex-direction:column;align-items:center;gap:0.55rem;}
.fsp-ring{position:relative;width:88px;height:88px;}
.fsp-ring-num{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:1.55rem;font-weight:700;letter-spacing:-1px;
}
.fsp-ring-divider{width:1px;height:52px;background:var(--border);flex-shrink:0;align-self:center;}
.fsp-ring-meta{display:flex;flex-direction:column;align-items:center;gap:0.1rem;}
.fsp-ring-label{
  font-size:0.6rem;font-weight:700;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--ink3);text-align:center;
}
.fsp-ring-sub{font-size:0.67rem;color:var(--ink3);text-align:center;}

/* career row inside free panel */
.fsp-career-row{
  display:flex;align-items:center;gap:0.6rem;
  background:var(--bg);border-radius:8px;
  padding:0.6rem 0.9rem;margin-bottom:1.1rem;
}
.fsp-career-badge{
  font-size:0.68rem;font-weight:600;letter-spacing:0.04em;
  background:var(--blue-soft);color:var(--blue);
  border:1px solid var(--blue-border);border-radius:100px;
  padding:0.18rem 0.65rem;white-space:nowrap;flex-shrink:0;
}
.fsp-career-text{font-size:0.8rem;color:var(--ink);font-weight:500;line-height:1.4;}

/* locked box */
.fsp-locked{
  border:1.5px dashed rgba(99,102,241,0.3);
  border-radius:10px;padding:1.25rem;text-align:center;
  background:rgba(99,102,241,0.02);
}
.fsp-locked-title{
  font-size:0.9rem;font-weight:700;color:#4338CA;margin-bottom:0.35rem;
}
.fsp-locked-desc{font-size:0.77rem;color:var(--ink2);line-height:1.55;margin-bottom:1rem;}
.fsp-locked-btn{
  display:block;background:var(--blue);color:#fff;
  font-family:'Inter',sans-serif;font-size:0.87rem;font-weight:600;
  text-decoration:none;border-radius:8px;padding:0.72rem 1.5rem;
  transition:background 0.15s,transform 0.15s;
}
.fsp-locked-btn:hover{background:var(--blue2);transform:translateY(-1px);}

/* ── Strengths: icon rows ── */
.ov-strength-row{
  display:flex;gap:0.85rem;align-items:flex-start;
  padding:0.75rem 0;border-bottom:1px solid var(--border);
}
.ov-strength-row:first-child{padding-top:0;}
.ov-strength-row:last-child{border-bottom:none;padding-bottom:0;}
.ov-strength-icon{
  width:32px;height:32px;flex-shrink:0;border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg);border:1px solid var(--border);color:var(--ink2);
}
.ov-strength-icon--chart    {background:#EFF6FF;border-color:#BFDBFE;color:#2563EB;}
.ov-strength-icon--cap      {background:#F5F3FF;border-color:#DDD6FE;color:#7C3AED;}
.ov-strength-icon--briefcase{background:#FFF7ED;border-color:#FED7AA;color:#EA580C;}
.ov-strength-icon--globe    {background:#F0FDF4;border-color:#BBF7D0;color:#16A34A;}
.ov-strength-icon--star     {background:#FEFCE8;border-color:#FEF08A;color:#CA8A04;}
.ov-strength-text{flex:1;font-size:0.82rem;color:var(--ink);line-height:1.55;padding-top:5px;}

/* ── Issues: priority summary pills ── */
.issue-summary{display:flex;gap:0.5rem;margin-bottom:1rem;flex-wrap:wrap;}
.issue-summary-pill{
  display:inline-flex;align-items:center;gap:0.4rem;
  font-size:0.73rem;font-weight:600;border-radius:100px;padding:0.28rem 0.75rem;
}
.issue-summary-pill.high{background:#FEF2F2;color:#DC2626;}
.issue-summary-pill.med{background:#FFFBEB;color:#B45309;}
.issue-summary-pill.low{background:var(--green-soft);color:var(--green);}
.issue-summary-pill-dot{width:5px;height:5px;border-radius:50%;background:currentColor;}

/* ── Issues: card redesign (replaces .issue-item) ── */
.issue-card{
  background:var(--white);border:1px solid var(--border);
  border-radius:12px;overflow:hidden;margin-bottom:0.7rem;
}
.issue-card:last-child{margin-bottom:0;}
.issue-card.high{background:#FEFAF9;border-color:#FCA5A5;}
.issue-card.med{background:#FFFDF5;border-color:#FDE68A;}
.issue-card-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:0.8rem 1.1rem 0;
}
.issue-badge{
  display:inline-flex;align-items:center;gap:0.4rem;
  font-size:0.64rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;
}
.issue-badge-dot{width:6px;height:6px;border-radius:50%;}
.issue-badge.high{color:#DC2626;}.issue-badge.high .issue-badge-dot{background:#DC2626;}
.issue-badge.med{color:#B45309;}.issue-badge.med .issue-badge-dot{background:#D97706;}
.issue-badge.low{color:var(--green);}.issue-badge.low .issue-badge-dot{background:var(--green);}
.issue-category{font-size:0.71rem;color:var(--ink3);font-weight:500;}
.issue-card-body{padding:0.45rem 1.1rem 1rem;}
.issue-card-title{
  font-size:0.86rem;font-weight:700;color:var(--ink);
  line-height:1.4;letter-spacing:-0.1px;margin-bottom:0.35rem;
}
.issue-card-desc{font-size:0.78rem;color:var(--ink2);line-height:1.6;margin-bottom:0.6rem;}
.issue-toggle-wrap{margin-bottom:0.25rem;}
.issue-toggle{
  display:inline-flex;align-items:center;gap:0.3rem;
  font-family:'Inter',sans-serif;font-size:0.77rem;font-weight:600;
  color:var(--blue);background:none;border:none;cursor:pointer;
  padding:0;transition:color 0.15s;
}
.issue-toggle:hover{color:var(--blue2);}
.issue-toggle-chev{font-size:0.72rem;display:inline-block;transition:transform 0.2s;}
.issue-toggle.open .issue-toggle-chev{transform:rotate(90deg);}
.issue-toggle-panel{padding-top:0.45rem;}
.issue-expand-text{font-size:0.77rem;color:var(--ink2);line-height:1.6;margin:0;}
.issue-fix-list{list-style:none;display:flex;flex-direction:column;gap:0.3rem;margin:0;padding:0;}
.issue-fix-list li{
  font-size:0.77rem;color:var(--ink2);line-height:1.5;
  padding-left:1.1rem;position:relative;
}
.issue-fix-list li::before{content:'→';position:absolute;left:0;color:var(--blue);font-weight:600;}

/* ── Keywords: amber hint box ── */
.kw-hint-text{
  font-size:0.8rem;color:#92400E;
  background:#FFFBEB;border:1px solid #FDE68A;
  border-radius:8px;padding:0.85rem 1rem;
  margin-top:1rem;margin-bottom:0.75rem;line-height:1.6;
}
.kw-hint-upgrade{
  font-size:0.78rem;font-weight:600;color:var(--blue);
  text-decoration:none;display:inline-block;margin-bottom:0.5rem;
}
.kw-hint-upgrade:hover{text-decoration:underline;}

/* ── Keyword chips: rounded rectangle ── */
.kw-chip{font-size:0.77rem;font-weight:500;padding:0.32rem 0.88rem;border-radius:8px;}

@media(max-width:640px){
  .fsp-rings{gap:1.5rem;}
  .fsp-ring{width:74px;height:74px;}
  .fsp-ring svg{width:74px!important;height:74px!important;}
  .fsp-ring-num{font-size:1.3rem;}
  .issue-card-title{font-size:0.83rem;}
  .r-two-col{grid-template-columns:1fr;}
}





/* ── Free-tier ATS resume preview (watermark + bottom blur) ── */
.ats-free-wrap{position:relative;overflow:hidden;border-radius:8px;max-height:680px;}

/* Watermark stamp layer */
.ats-stamp-layer{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden;}
.ats-stamp-layer::before{
  content:'ResumeIQ Pro\00a0\00a0\00a0ResumeIQ Pro\00a0\00a0\00a0ResumeIQ Pro';
  position:absolute;top:10%;left:-5%;width:120%;
  font-size:1.4rem;font-weight:800;letter-spacing:0.06em;
  color:rgba(185,28,28,0.065);white-space:nowrap;
  transform:rotate(-22deg);text-transform:uppercase;line-height:5.5rem;
}
.ats-stamp-layer::after{
  content:'ResumeIQ Pro\00a0\00a0\00a0ResumeIQ Pro\00a0\00a0\00a0ResumeIQ Pro';
  position:absolute;top:48%;left:-5%;width:120%;
  font-size:1.4rem;font-weight:800;letter-spacing:0.06em;
  color:rgba(185,28,28,0.065);white-space:nowrap;
  transform:rotate(-22deg);text-transform:uppercase;line-height:5.5rem;
}

/* Bottom gradient fade-to-white */
.ats-free-gradient{
  position:absolute;bottom:0;left:0;right:0;height:62%;
  background:linear-gradient(to bottom,transparent 0%,rgba(255,255,255,0.75) 40%,#fff 78%);
  z-index:4;pointer-events:none;
}

/* Upgrade CTA pinned at the bottom of the preview */
.ats-free-cta{
  position:absolute;bottom:0;left:0;right:0;z-index:5;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1rem 1.5rem 1.3rem;
}
.ats-free-cta-text{display:flex;flex-direction:column;gap:0.22rem;}
.ats-free-cta-text strong{font-size:0.88rem;font-weight:700;color:#111;}
.ats-free-cta-text span{font-size:0.74rem;color:var(--ink3);}
@media(max-width:540px){
  .ats-free-cta{flex-direction:column;align-items:flex-start;padding:0.85rem 1.1rem 1.1rem;}
}

/* ── Print / PDF export ─────────────────────────────────────── */
@page { margin: 0.6in; size: letter portrait; }
@media print {
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  body.is-printing>*:not(#ats-print-mount){display:none!important;}
  #ats-print-mount{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;}
  #ats-print-mount .ats-r-resume{border:none!important;border-radius:0!important;max-height:none!important;overflow:visible!important;padding:0!important;box-shadow:none!important;width:100%!important;}
  /* Executive: reset negative-margin header bleed (no card padding to bleed into) */
  #ats-print-mount .ats-tpl-executive .ats-r-header{margin:0 0 1.2rem!important;padding:1.8rem 2rem 1.4rem!important;}
  /* Sidebar: allow two-col layout to expand freely */
  #ats-print-mount .ats-tpl-sidebar{overflow:visible!important;}
  #ats-print-mount .ats-r-two-col-wrap{min-height:0!important;}
}
