/* =========================================================
   JOBFIT AI — UI SYSTEM V3
   Premium, conversion-focused SaaS refinement
   ========================================================= */
:root{
  --ink:#101828;
  --text:#344054;
  --muted:#667085;
  --muted-2:#98a2b3;
  --line:#eaecf0;
  --line-strong:#d0d5dd;
  --surface:#ffffff;
  --surface-soft:#f8f9fc;
  --surface-tint:#f7f5ff;
  --brand:#635bff;
  --brand-2:#7c6cff;
  --brand-dark:#4b42d6;
  --green:#067647;
  --green-soft:#ecfdf3;
  --amber:#b54708;
  --amber-soft:#fffaeb;
  --red:#b42318;
  --red-soft:#fef3f2;
  --navy:#111827;
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:20px;
  --radius-xl:28px;
  --shadow-xs:0 1px 2px rgba(16,24,40,.04);
  --shadow-sm:0 4px 14px rgba(16,24,40,.06);
  --shadow-md:0 14px 38px rgba(16,24,40,.09);
  --shadow-lg:0 28px 72px rgba(16,24,40,.12);
}

html{background:#fff}
body{color:var(--ink);background:#fff;font-weight:400}
.container{width:min(1200px,calc(100% - 64px))}
.container-narrow{width:min(920px,calc(100% - 64px))}

/* header */
.topbar{height:76px;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(234,236,240,.92);box-shadow:0 1px 0 rgba(16,24,40,.02)}
.nav-wrap{width:min(1200px,calc(100% - 64px));gap:28px}
.brand{gap:12px}
.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#5c54ee,#7768ff);box-shadow:0 8px 20px rgba(99,91,255,.22)}
.brand-copy b{font-size:16px;letter-spacing:-.02em}
.brand-copy small{font-size:10.5px;color:#98a2b3}
.nav-links{gap:2px}
.nav-btn,.ghost-btn{font-size:13.5px;color:#475467;padding:10px 12px;border-radius:9px}
.nav-btn:hover,.ghost-btn:hover{background:#f8f7ff;color:var(--brand-dark)}
.primary-btn,.secondary-btn,.white-btn{min-height:44px;border-radius:10px;padding-inline:18px;font-size:14px;letter-spacing:-.01em}
.primary-btn{background:var(--brand);box-shadow:0 7px 18px rgba(99,91,255,.20)}
.primary-btn:hover{background:#554ce5;box-shadow:0 10px 26px rgba(99,91,255,.24);transform:translateY(-1px)}
.secondary-btn{border-color:#d0d5dd;color:#344054;box-shadow:var(--shadow-xs)}
.secondary-btn:hover{border-color:#b9b3ff;background:#faf9ff}
.small{min-height:38px}

/* hero */
.hero-section{background:
  radial-gradient(circle at 76% 18%,rgba(99,91,255,.12),transparent 25%),
  radial-gradient(circle at 88% 70%,rgba(124,108,255,.07),transparent 24%),
  linear-gradient(180deg,#fff 0%,#fbfbfe 100%);
  border-bottom:0
}
.hero-section:before{opacity:.65;background-size:48px 48px}
.hero{grid-template-columns:minmax(0,1.04fr) minmax(460px,.96fr);gap:74px;min-height:690px;padding-block:88px 92px}
.hero-copy{max-width:650px}
.eyebrow{font-size:11px;letter-spacing:.14em;margin-bottom:17px;color:#5d54ec}
.eyebrow>span{width:18px}
.hero h1{font-size:clamp(50px,4.55vw,66px);line-height:1.035;max-width:650px;margin-bottom:24px;font-weight:800;letter-spacing:-.055em}
.hero h1 em{background:linear-gradient(90deg,#5e55ee,#7c6cff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-sub{font-size:18px;line-height:1.68;color:#5f6c80;max-width:620px}
.hero-actions{margin-top:32px;gap:12px}
.hero-cta{min-height:52px;padding-inline:22px;font-size:14.5px}
.trust-row{margin-top:18px;gap:10px}
.trust-row span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #eceafc;border-radius:999px;background:rgba(255,255,255,.78);color:#667085;font-size:11.5px}
.hero-proof{margin-top:28px;padding-top:20px;border-top-color:#e7e9ef;max-width:560px}
.proof-avatars i{width:32px;height:32px;background:#f1efff;color:#5e55ee}
.hero-proof b{font-size:12px;color:#344054}
.hero-proof small{font-size:10.5px;color:#98a2b3}

/* hero report */
.hero-visual{padding:8px 4px 0}
.hero-report{max-width:550px;border-radius:24px;border-color:#e3e5eb;box-shadow:0 32px 78px rgba(30,30,60,.15),0 3px 10px rgba(16,24,40,.03)}
.report-header{height:58px;padding-inline:20px;background:#fcfcfe;border-bottom-color:#edf0f3}
.report-body{padding:26px}
.report-top-grid{grid-template-columns:154px 1fr;gap:22px}
.score-ring{width:126px;height:126px;background:conic-gradient(var(--brand) calc(var(--score)*1%),#eef0f5 0)}
.score-ring:after{inset:10px}
.score-ring strong{font-size:36px}
.score-box>b{font-size:13px;color:#5148d5}
.score-box>small{font-size:10px}
.metric-grid{gap:10px}
.metric.mini{padding:14px 13px;background:#fafbfc;border-color:#e9ebef;border-radius:12px}
.metric.mini span{font-size:10.5px}
.metric.mini strong{font-size:20px;margin:6px 0 2px}
.metric.mini small{font-size:9.5px}
.insight-card{padding:15px;margin-top:18px}
.insight-card.alert{background:#fff8f5;border-color:#fee4d9}
.insight-card b{font-size:12.5px}
.insight-card p{font-size:11px;color:#766861}
.skill-tag{font-size:10px;padding:7px 10px}
.floating-badge{font-size:10.5px;padding:9px 13px;border-color:#e7e8ee;box-shadow:0 12px 30px rgba(16,24,40,.09)}
.badge-top{right:-8px;top:-10px}.badge-bottom{left:-8px;bottom:-15px}

/* role strip */
.role-strip{border-block:1px solid #f0f1f3;background:#fff}
.role-strip-inner{min-height:78px}
.strip-label{font-size:10px;color:#98a2b3}
.role-list{gap:9px}
.role-list span{padding:8px 11px;border-color:#ebecef;background:#fbfbfc;color:#667085;font-size:10.5px}

/* sections */
.section{padding-block:100px}
.section-head{max-width:720px;margin-inline:auto;text-align:center;margin-bottom:48px}
.section-copy h2,.section-head h2,.truth-copy h2{font-size:clamp(36px,3.35vw,48px);line-height:1.1;letter-spacing:-.045em;margin-bottom:18px}
.section-copy>p,.section-head>p,.truth-copy>p{font-size:15.5px;line-height:1.75;color:#667085}
.split-section{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:84px}
.proof-stats{gap:12px;margin:30px 0}
.proof-stats>div{padding:18px;border-radius:14px;background:#fbfbfd;border-color:#eaecf0}
.proof-stats strong{font-size:29px}
.proof-stats span{font-size:10.5px;color:#98a2b3}
.dark-report{border-radius:24px;padding:30px;background:linear-gradient(160deg,#151827 0%,#101320 100%);box-shadow:0 26px 66px rgba(16,24,40,.20)}
.dark-report-head{font-size:11.5px;color:#c4c9d4;padding-bottom:20px}
.dark-report-head strong{font-size:24px;color:#b5a9ff}
.bar-list{gap:17px;margin:24px 0}
.bar-list p{font-size:10.5px}
.bar-list i{height:7px}
.dark-callout{border-radius:13px;padding:14px}
.dark-callout>span{font-size:9.5px}
.dark-callout b{font-size:11.5px}
.dark-callout p{font-size:10px}

.soft-section{background:linear-gradient(180deg,#fafbfc 0%,#f8f9fc 100%);border-block:1px solid #f0f1f3}
.steps-grid{gap:20px}
.step-card{min-height:250px;padding:30px 28px;border:1px solid #eaecf0;border-radius:18px;background:#fff;box-shadow:var(--shadow-xs);transition:.2s ease}
.step-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:#ddd9ff}
.step-card.featured{border-color:#cfcaff;background:linear-gradient(180deg,#fff 0%,#fbfaff 100%);box-shadow:0 16px 40px rgba(99,91,255,.09)}
.step-number{font-size:38px;color:#f0eff8;right:24px;top:18px}
.step-icon{width:50px;height:50px;border-radius:14px;background:#f0eeff;color:#5e55ee}
.step-card h3{font-size:18px;margin-top:22px;margin-bottom:10px;color:#1d2939}
.step-card p{font-size:13.5px;color:#667085;line-height:1.7}

/* truth section */
.truth-section{padding-top:94px;padding-bottom:94px}
.truth-card-large{border-radius:28px;padding:54px;background:
  radial-gradient(circle at 12% 10%,rgba(124,108,255,.18),transparent 28%),
  linear-gradient(135deg,#151827 0%,#111522 100%);
  box-shadow:0 26px 70px rgba(16,24,40,.16)
}
.truth-copy h2{color:#fff;max-width:580px}
.truth-copy>p{color:#c8ced9;max-width:560px}
.truth-points{gap:10px;margin-top:26px}
.truth-points span{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);padding:10px 12px;border-radius:999px;color:#e7e9ee;font-size:12px}
.gap-widget{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.98);border-radius:20px;padding:24px;box-shadow:0 20px 50px rgba(0,0,0,.20)}
.gap-head{padding-bottom:16px;margin-bottom:3px;border-bottom:1px solid #eef0f3}
.gap-head b{font-size:14px;color:#1d2939}.gap-head span{font-size:10px;color:#98a2b3}
.gap-row{padding:14px 0;border-bottom-color:#eef0f3;font-size:12px;color:#475467}
.status{font-size:9.5px;padding:6px 8px}
.confirm-box{background:#f8f7ff;border-color:#e5e2ff;border-radius:13px;padding:15px;margin-top:17px}
.confirm-box>b{font-size:12px}.confirm-box p{font-size:10.5px}.confirm-box button{min-height:34px;border-radius:8px;font-size:10.5px}

/* pricing */
.pricing-grid{gap:22px;align-items:stretch}
.price-card{display:flex;flex-direction:column;min-height:440px;border:1px solid #eaecf0;border-radius:20px;padding:30px;background:#fff;box-shadow:0 3px 12px rgba(16,24,40,.035)}
.price-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);transition:.2s ease}
.price-card.popular{border:1.5px solid #a89fff;background:linear-gradient(180deg,#fdfcff 0%,#fff 100%);box-shadow:0 18px 45px rgba(99,91,255,.10)}
.popular-badge{top:-14px;background:#5f56ee;box-shadow:0 6px 15px rgba(99,91,255,.22);font-size:9px;padding:7px 11px}
.price-head>span{font-size:12.5px;color:#344054}
.price-head strong{font-size:36px;margin-top:13px;color:#101828}
.price-head strong small{font-size:10.5px;color:#98a2b3}
.price-head p{font-size:13px;line-height:1.6;color:#667085;min-height:42px}
.price-card ul{margin:26px 0 30px;gap:13px}
.price-card li{font-size:12.5px;color:#475467}
.price-card li:before{color:#067647;background:#ecfdf3;width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;margin-right:9px;font-size:10px}
.price-card button{margin-top:auto}

/* CTA / footer */
.cta-wrap{padding-bottom:98px}
.cta-band{border-radius:24px;padding:42px 46px;background:
  radial-gradient(circle at 83% 20%,rgba(255,255,255,.16),transparent 28%),
  linear-gradient(135deg,#564de0,#7162f5);box-shadow:0 24px 54px rgba(99,91,255,.18)}
.cta-band span{font-size:10px;color:#dcd8ff}.cta-band h2{font-size:36px;margin:7px 0 8px}.cta-band p{font-size:13.5px;color:#eceaff}
.footer{background:#fbfbfc;border-top:1px solid #edf0f3}.footer-inner{min-height:88px;color:#7b8495}.footer-inner b{color:#344054}

/* checker shell */
.checker-shell{min-height:calc(100vh - 76px);background:
  radial-gradient(circle at 50% 0%,rgba(99,91,255,.075),transparent 25%),
  #fafbfc;padding:34px 0 80px}
.checker-top{margin-bottom:28px}
.back-link{color:#667085;font-size:12px}
.stepper span{font-size:10.5px;color:#98a2b3}.stepper span.active{color:#5e55ee}.stepper i{background:#dfe2e8}
.checker-card{border-radius:22px;border:1px solid #e4e7ec;box-shadow:0 20px 55px rgba(16,24,40,.08);padding:38px 40px}
.checker-wide{max-width:820px}
.checker-title{max-width:600px;margin-inline:auto;margin-bottom:28px}
.checker-title h2{font-size:32px;letter-spacing:-.035em;margin-bottom:10px}
.checker-title p{font-size:13.5px;color:#667085}
.dropzone{border:1.5px dashed #c9ced7;background:#fcfcfd;border-radius:16px;padding:42px 24px}
.dropzone:hover{border-color:#8f86ff;background:#faf9ff}
.upload-circle{width:52px;height:52px;border-radius:14px;background:#efedff;color:#5e55ee;box-shadow:none}
.dropzone h3{font-size:16px;margin-top:14px;color:#1d2939}.dropzone p{font-size:12.5px;color:#667085}.dropzone small{font-size:10.5px;color:#98a2b3}
.file-selected{border-radius:12px;border-color:#e4e7ec;background:#fff}
.privacy-note{font-size:10.5px;color:#98a2b3}
.checker-next{min-height:48px}
.field label{font-size:11.5px;color:#344054}.field label small{color:#98a2b3}
.field input,.field textarea{border-color:#d0d5dd;border-radius:10px;padding:13px 14px;background:#fff;color:#101828;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.field input:focus,.field textarea:focus{border-color:#8d85ff;box-shadow:0 0 0 4px rgba(99,91,255,.10)}
.word-row{font-size:10.5px;color:#98a2b3}

/* loader */
.analysis-loader{max-width:590px;margin:110px auto}
.loader-orb{width:70px;height:70px;border-radius:20px;background:linear-gradient(145deg,#5c54ee,#796bff);box-shadow:0 18px 44px rgba(99,91,255,.24)}
.analysis-loader h2{font-size:28px}.analysis-loader>p{color:#667085}
.progress{height:7px;background:#eceef2}.progress>div{background:linear-gradient(90deg,#5e55ee,#8377ff)}
.loading-grid span{border-radius:10px;border-color:#e4e7ec;color:#667085;background:#fff}

/* results */
.results-shell{padding-top:14px}
.results-hero{padding:30px 32px;border:1px solid #e5e7ec;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#faf9ff 100%);box-shadow:var(--shadow-sm);margin-bottom:18px;align-items:center}
.results-hero h2{font-size:34px;margin-bottom:8px}.results-hero p{font-size:13.5px;color:#667085}
.result-score{padding-left:24px;border-left:1px solid #e7e8ee}
.result-score .score-ring{width:104px;height:104px}
.result-score>span{font-size:10px;color:#667085}
.result-grid{gap:14px;margin-bottom:18px}
.metric-card{border:1px solid #e5e7ec;border-radius:15px;padding:18px;background:#fff;box-shadow:var(--shadow-xs)}
.metric-card>span{font-size:10.5px;color:#667085}.metric-card>strong{font-size:23px;margin:7px 0 13px}
.meter{height:6px;background:#edf0f3}.meter i{background:linear-gradient(90deg,#5e55ee,#8175ff)}
.results-columns{gap:20px;align-items:start}
.analysis-card{border:1px solid #e5e7ec;border-radius:18px;padding:26px;background:#fff;box-shadow:var(--shadow-xs)}
.card-title{padding-bottom:18px;border-bottom:1px solid #eff0f3}.card-title h3{font-size:16.5px}.card-title p,.card-title>span{font-size:10.5px;color:#98a2b3}
.analysis-item{padding:18px 0;gap:13px}.analysis-item i{width:32px;height:32px;border-radius:9px}
.analysis-item b{font-size:12.5px}.analysis-item p{font-size:11.5px;color:#667085}
.locked-stack{gap:9px}.locked-stack div{border-radius:9px;background:#f8f9fb;border:1px dashed #e3e6eb;color:#7a8494;padding:12px 13px;font-size:10.5px}
.unlock-card{top:96px;border-radius:20px;border:1.5px solid #b8b2ff;padding:27px;background:linear-gradient(180deg,#fbfaff 0%,#fff 100%);box-shadow:0 18px 45px rgba(99,91,255,.12)}
.unlock-label{font-size:9px;color:#635bff}.unlock-icon{width:44px;height:44px;border-radius:12px;background:#ece9ff;color:#5e55ee}
.unlock-card h3{font-size:21px;letter-spacing:-.025em}.unlock-card>p{font-size:12.5px;color:#667085}.unlock-price strong{font-size:34px}.unlock-price span{font-size:10px;color:#98a2b3}.unlock-card li{font-size:11.5px}.unlock-card>small{font-size:9.5px;color:#98a2b3}
.truth-note{border-color:#d1fadf;background:#f6fef9;border-radius:13px}

/* checkout */
.checkout-grid{gap:22px;align-items:start}
.checkout-card,.order-card{border:1px solid #e4e7ec;border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}
.checkout-card{padding:34px}.checkout-card h2{font-size:30px}.checkout-card>p{font-size:12.5px;color:#667085}
.order-card{padding:28px}.order-card>span{font-size:9.5px;color:#98a2b3}.order-card h3{font-size:18px}.order-card>p{font-size:11px}.order-total{border-block:1px solid #eef0f3;padding-block:18px;margin-block:20px}

/* optimized */
.success-banner{border-radius:13px;border-color:#abefc6;background:#ecfdf3}
.optimized-head{padding:24px 0 18px;border-bottom:1px solid #edf0f3;margin-bottom:20px}
.optimized-head h2{font-size:31px}.optimized-head p{font-size:12.5px;color:#667085}
.before-after{border:1px solid #e5e7ec;border-radius:18px;padding:26px;background:#fff;box-shadow:var(--shadow-xs)}
.suggestion{padding:24px 0;gap:16px}.before,.after{border-radius:12px;padding:17px}.before{background:#fafafa;border:1px solid #eceef1}.after{background:#f6fef9;border:1px solid #d1fadf}
.before p,.after p{font-size:12.5px}.suggest-actions button{border-radius:8px}
.upgrade-band{border-radius:18px;background:linear-gradient(135deg,#564de0,#7162f5);padding:26px 28px}

/* dashboard */
.dashboard{grid-template-columns:248px 1fr;min-height:calc(100vh - 76px)}
.sidebar{background:linear-gradient(180deg,#161923,#11141d);padding:26px 18px}
.sidebar-brand{padding:0 8px 24px;margin:0 0 8px;border-bottom:1px solid rgba(255,255,255,.08)}
.sidebar nav{gap:5px;margin-top:14px}.sidebar nav button,.side-link{font-size:11.5px;border-radius:9px;padding:11px 12px;color:#aeb5c1}.sidebar nav button.active{background:rgba(99,91,255,.18);color:#fff}.sidebar nav button:hover,.side-link:hover{background:rgba(255,255,255,.06);color:#fff}
.upgrade-mini{background:linear-gradient(145deg,#5c54ee,#7568f8);border-radius:14px;padding:16px}.upgrade-mini p{font-size:10px}.upgrade-mini button{border-radius:8px;padding:8px 10px}
.dash-content{padding:34px 38px;background:#f7f8fa}
.dash-top h1{font-size:28px;letter-spacing:-.035em}.dash-top p{font-size:10.5px}.dash-top>div:first-child>span{font-size:10px;color:#98a2b3}
.user-pill{background:#fff;border:1px solid #e5e7ec;border-radius:12px;padding:7px 10px;box-shadow:var(--shadow-xs)}
.user-pill>i{width:36px;height:36px;border-radius:10px;background:#ece9ff;color:#5e55ee}
.dash-cards{gap:14px;margin:28px 0}
.dash-cards article{border:1px solid #e5e7ec;border-radius:15px;padding:18px;background:#fff;box-shadow:var(--shadow-xs)}
.dash-icon{width:42px;height:42px;border-radius:11px}.dash-cards span,.dash-cards small{font-size:10px}.dash-cards strong{font-size:22px}
.dash-grid{gap:16px}.dash-panel{border:1px solid #e5e7ec;border-radius:16px;padding:21px;background:#fff;box-shadow:var(--shadow-xs)}
.panel-head h3{font-size:14.5px}.panel-head p{font-size:10px}
.job-row{padding:14px 5px;font-size:10.5px}.job-row.head{font-size:9px;color:#98a2b3}.job-row small{font-size:9px}
.profile-items div{font-size:10px}.profile-score p{font-size:10px}
.action-panel{background:linear-gradient(135deg,#fbfaff,#f5f3ff);border-color:#ddd9ff}.action-panel h3{font-size:17px}.action-panel p{font-size:11px}

/* responsive */
@media(max-width:1100px){
  .hero{grid-template-columns:1fr;min-height:0;padding-block:72px 80px;gap:58px}
  .hero-copy{max-width:760px}.hero-visual{max-width:620px}.hero-report{margin-left:0}
  .split-section{grid-template-columns:1fr;gap:50px}.dark-report{max-width:760px}
}
@media(max-width:1020px){
  .container,.container-narrow,.nav-wrap{width:min(100% - 40px,1200px)}
  .steps-grid,.pricing-grid{grid-template-columns:repeat(3,1fr)}
  .price-card{min-height:460px;padding:24px 22px}
  .dashboard{grid-template-columns:78px 1fr}
}
@media(max-width:860px){
  .steps-grid,.pricing-grid{grid-template-columns:1fr}.price-card{min-height:0}
  .truth-card-large{padding:38px 30px}.result-score{border-left:0;padding-left:0}
}
@media(max-width:720px){
  .container,.container-narrow,.nav-wrap{width:min(100% - 32px,1200px)}
  .topbar{height:66px}.hero{padding-block:52px 60px;gap:44px}.hero h1{font-size:40px}.hero-sub{font-size:16px}
  .trust-row span{font-size:10.5px;padding:6px 9px}.hero-proof{margin-top:22px}
  .section{padding-block:72px}.section-head{margin-bottom:34px}.section-copy h2,.section-head h2,.truth-copy h2{font-size:33px}
  .truth-card-large{padding:30px 22px;border-radius:22px}.truth-points{display:grid}.truth-points span{width:max-content;max-width:100%}
  .cta-wrap{padding-bottom:70px}.cta-band{padding:30px 24px}.cta-band h2{font-size:31px}
  .checker-card{padding:26px 22px;border-radius:18px}.checker-wide{max-width:calc(100% - 32px)}
  .results-hero{padding:24px 22px}.results-hero h2{font-size:30px}.results-columns{gap:14px}.analysis-card,.unlock-card{padding:22px}
  .dash-content{padding:22px 16px}.dash-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .hero h1{font-size:36px}.hero-actions{gap:9px}.hero-cta{min-height:50px}.hero-proof{display:none}
  .report-body{padding:18px}.report-header{padding-inline:14px}.report-top-grid{grid-template-columns:1fr}.score-ring{width:112px;height:112px}
  .metric-grid{grid-template-columns:1fr 1fr}.section-copy h2,.section-head h2,.truth-copy h2{font-size:30px}
  .dark-report{padding:22px}.result-grid{grid-template-columns:1fr}.dash-cards{grid-template-columns:1fr}
  .results-hero{border-radius:16px}.checker-card{width:calc(100% - 24px)}
}

/* Functional V2 — optimization workspace */
.optimization-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:22px;align-items:start;margin-top:22px}.optimization-main,.optimization-side{display:grid;gap:18px}.review-pill{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#fff5dd;color:#9a6800;font-size:11px;font-weight:800}.dynamic-suggestion{transition:.2s ease}.dynamic-suggestion.accepted{border-left:3px solid #23a36d;padding-left:16px;background:linear-gradient(90deg,#f5fff9,transparent 34%)}.dynamic-suggestion.rejected{opacity:.48}.dynamic-suggestion.rejected .after{text-decoration:line-through}.resume-preview-card,.confirm-skill-card,.export-note{background:#fff;border:1px solid var(--border,#e7eaf2);border-radius:18px;padding:22px}.resume-preview-card pre{white-space:pre-wrap;word-break:break-word;max-height:520px;overflow:auto;margin:18px 0 0;padding:20px;background:#f8f9fc;border:1px solid #eceef5;border-radius:14px;font:12.5px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#3e4758}.text-btn{border:0;background:transparent;color:#6553e6;font-weight:750;font-size:12px;cursor:pointer}.skill-confirm{padding:16px 0;border-top:1px solid #edf0f5}.skill-confirm:first-child{border-top:0}.skill-confirm>b{font-size:14px;text-transform:capitalize}.skill-confirm p{font-size:12px;color:#778093;margin:5px 0 12px;line-height:1.55}.skill-confirm-actions{display:flex;gap:8px;flex-wrap:wrap}.skill-confirm-actions button,.skill-evidence button{border:1px solid #dce1eb;background:#fff;border-radius:9px;padding:9px 11px;font:700 11px Inter,Arial;cursor:pointer}.skill-confirm-actions button:first-child{border-color:#cfc6ff;color:#5e4bd8;background:#f7f5ff}.skill-confirm-actions span{font-size:11px;color:#24865f;font-weight:750}.skill-evidence{margin-top:12px}.skill-evidence textarea{width:100%;min-height:88px;resize:vertical;border:1px solid #dce1ea;border-radius:10px;padding:11px;font:12px/1.55 Inter,Arial;outline:none}.skill-evidence textarea:focus{border-color:#8877f0;box-shadow:0 0 0 3px #f0edff}.skill-evidence button{margin-top:8px;background:#6d5dfc;color:white;border-color:#6d5dfc}.skill-confirm.confirmed{background:#f7fff9;margin:0 -10px;padding:16px 10px;border-radius:12px}.skill-confirm.declined{opacity:.62}.all-clear{padding:15px;border-radius:12px;background:#effaf5;color:#197a58;font-size:12px;font-weight:750}.export-note{background:#171a25;color:#fff;border-color:#171a25}.export-note b{font-size:13px}.export-note p{font-size:11.5px;line-height:1.65;color:#b7bfd0;margin:7px 0 0}.optimized-head>div:first-child p{max-width:680px}
@media(max-width:900px){.optimization-grid{grid-template-columns:1fr}.optimization-side{grid-template-columns:1fr 1fr}.resume-preview-card pre{max-height:420px}}
@media(max-width:640px){.optimization-side{grid-template-columns:1fr}.optimized-head{display:block}.download-actions{margin-top:16px}.download-actions button{flex:1}.resume-preview-card,.confirm-skill-card,.export-note{padding:17px}.resume-preview-card pre{padding:15px;font-size:11.5px}.review-pill{margin-top:10px}.optimization-grid{gap:16px}}

/* Dodo Payments checkout states */
.checkout-message{min-height:0;margin:2px 0 14px;padding:0;font-size:12px;line-height:1.55;border-radius:10px;color:#667085}
.checkout-message:empty{display:none}
.checkout-message.info,.checkout-message.warning,.checkout-message.error,.checkout-message.success{padding:11px 13px;border:1px solid}
.checkout-message.info{background:#f5f7ff;border-color:#dfe4ff;color:#4f5f91}
.checkout-message.warning{background:#fff9eb;border-color:#f4dfaa;color:#8a6716}
.checkout-message.error{background:#fff2f1;border-color:#f2c8c3;color:#a33f35}
.checkout-message.success{background:#effaf5;border-color:#ccebdd;color:#18724f}
/* JobFit Pro Dodo checkout modal */
#proCheckoutModal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}
#proCheckoutModal.open{display:flex}.pro-modal-backdrop{position:absolute;inset:0;background:rgba(16,24,40,.56);backdrop-filter:blur(5px)}
.pro-modal-card{position:relative;z-index:1;width:min(460px,100%);background:#fff;border:1px solid #e4e7ec;border-radius:22px;padding:30px;box-shadow:0 30px 90px rgba(16,24,40,.24)}
.pro-modal-close{position:absolute;right:17px;top:14px;border:0;background:#f2f4f7;color:#667085;width:32px;height:32px;border-radius:50%;font-size:20px;cursor:pointer}
.pro-modal-card h2{font-size:30px;letter-spacing:-.04em;margin:14px 0 8px}.pro-modal-card>p{font-size:14px;line-height:1.6;color:#667085;margin:0}
.pro-field{display:grid;gap:7px;font-size:12px;font-weight:700;color:#344054;margin:13px 0}.pro-field input{height:45px;border:1px solid #d0d5dd;border-radius:10px;padding:0 12px;font:14px Inter,Arial,sans-serif;outline:none}.pro-field input:focus{border-color:#7765e8;box-shadow:0 0 0 3px rgba(109,93,252,.12)}
.pro-modal-card>small{display:block;text-align:center;color:#98a2b3;font-size:10px;margin-top:11px}.pro-modal-card .unlock-price strong{font-size:36px}.pro-modal-card .unlock-price span{font-size:11px}

/* V6 account/auth UI */
.auth-modal{position:fixed;inset:0;z-index:1000;display:none;place-items:center;padding:20px}.auth-modal.open{display:grid}.auth-backdrop{position:absolute;inset:0;background:rgba(16,20,35,.58);backdrop-filter:blur(8px)}.auth-card{position:relative;width:min(460px,100%);background:#fff;border:1px solid #e5e7ef;border-radius:24px;padding:28px;box-shadow:0 32px 90px rgba(20,24,45,.22)}.auth-close{position:absolute;right:18px;top:16px;border:0;background:transparent;font-size:26px;color:#81889a;cursor:pointer}.auth-logo{display:flex;align-items:center;gap:12px;margin-bottom:24px}.auth-logo>div b,.auth-logo>div small{display:block}.auth-logo>div b{font-size:16px}.auth-logo>div small{font-size:11px;color:#9299aa;margin-top:2px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#f4f5f9;border-radius:12px;margin-bottom:24px}.auth-tabs button{border:0;background:transparent;border-radius:9px;padding:10px;font-weight:700;color:#7a8293;cursor:pointer}.auth-tabs button.active{background:#fff;color:#282d3c;box-shadow:0 2px 9px rgba(37,43,67,.08)}.auth-heading h2{font:800 28px/1.1 Manrope,Inter,sans-serif;margin:0 0 7px}.auth-heading p{color:#747d8f;font-size:13px;line-height:1.55;margin:0 0 22px}.auth-card form{display:grid;gap:14px}.auth-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#4c5567}.auth-card input{width:100%;border:1px solid #dce1ea;border-radius:11px;padding:13px 14px;font:14px Inter,sans-serif;outline:none}.auth-card input:focus{border-color:#8e79f6;box-shadow:0 0 0 3px #f0edff}.auth-name-field[hidden]{display:none}.auth-message{min-height:18px;font-size:12px;line-height:1.45}.auth-message.error{color:#bd3c3c}.auth-message.success{color:#16835c}.auth-message.info{color:#687187}.auth-security{margin-top:16px;text-align:center;color:#8a92a2;font-size:10.5px;line-height:1.5}.dashboard-empty,.score-history-empty{padding:30px 10px;color:#8b93a3;font-size:12px;text-align:center}.score-history{display:grid;gap:14px;margin-top:22px}.score-history-item{display:grid;grid-template-columns:minmax(120px,1fr) 2fr 36px;gap:12px;align-items:center;font-size:11px;color:#596174}.score-history-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.score-history-item>i{display:block;height:7px;background:#eef0f5;border-radius:999px;overflow:hidden}.score-history-item>i>em{display:block;height:100%;background:#6d5dfc;border-radius:999px}.score-history-item>b{text-align:right;color:#333a4b}.account-loading{opacity:.65;pointer-events:none}@media(max-width:720px){.auth-card{padding:24px 20px;border-radius:20px}.auth-heading h2{font-size:25px}.score-history-item{grid-template-columns:1fr 1.4fr 32px}}

/* V7 — secure AI writer + cover letters */
.ai-writer-card{margin:20px 0 22px;padding:24px 26px;border:1px solid #d9d5ff;border-radius:18px;background:linear-gradient(135deg,#fbfaff 0%,#fff 58%,#f7fbff 100%);box-shadow:0 12px 34px rgba(89,76,204,.08)}
.ai-writer-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:start}.ai-writer-head h3{font:750 20px/1.3 Manrope,Inter,sans-serif;letter-spacing:-.025em;margin:7px 0}.ai-writer-head p{max-width:760px;margin:0;color:#667085;font-size:12px;line-height:1.65}.ai-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#ece9ff;color:#5949cf;font-size:9.5px;font-weight:850;letter-spacing:.06em}.ai-usage{text-align:right;padding:10px 12px;border:1px solid #e7e3ff;background:#fff;border-radius:12px;min-width:145px}.ai-usage b,.ai-usage small{display:block}.ai-usage b{font-size:13px;color:#3a355c}.ai-usage small{margin-top:3px;color:#98a2b3;font-size:9.5px}.ai-writer-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.ai-status{display:block;color:#667085;font-size:11.5px;line-height:1.5}.ai-status.error{color:#b42318}.ai-status.success{color:#067647}.ai-status.warning{color:#93370d}.ai-result{margin-top:18px;padding:17px;border:1px solid #d1fadf;border-radius:13px;background:#f6fef9}.ai-result-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.ai-result-top b{font-size:13px}.ai-result-top p{font-size:10.5px;color:#667085;margin:3px 0 0}.ai-notes{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.ai-notes span{padding:6px 8px;border-radius:999px;background:#fff;border:1px solid #d8ece0;color:#4d685a;font-size:9.5px}
.cover-letter-card{background:#fff;border:1px solid #dedaff;border-radius:18px;padding:22px}.cover-letter-card .card-title{display:flex;align-items:flex-start;justify-content:space-between}.pro-mini{padding:5px 8px;border-radius:999px;background:#161923;color:#fff;font-size:9px;font-weight:850;letter-spacing:.07em}.cover-usage{padding:12px 0 14px}.cover-usage b,.cover-usage small{display:block}.cover-usage b{font-size:12px;color:#344054}.cover-usage small{font-size:9.5px;color:#98a2b3;margin-top:3px}.cover-output{width:100%;margin-top:13px;resize:vertical;border:1px solid #dce1ea;border-radius:11px;padding:13px;font:12px/1.65 Inter,Arial,sans-serif;outline:none;color:#344054;background:#fbfcfe}.cover-output:focus{border-color:#8877f0;box-shadow:0 0 0 3px #f0edff}.cover-actions{display:flex;gap:8px;margin-top:9px}.download-actions{flex-wrap:wrap}.saved-artifact-note{font-size:10px;color:#667085;margin-top:8px}.usage-limit-reached{opacity:.55;pointer-events:none}.ai-loading{position:relative}.ai-loading::after{content:"";display:inline-block;width:11px;height:11px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:jobfitSpin .7s linear infinite}@keyframes jobfitSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.ai-writer-head{grid-template-columns:1fr}.ai-usage{text-align:left;width:max-content}.ai-result-top{align-items:flex-start;flex-direction:column}.ai-writer-card{padding:20px 17px}.cover-letter-card{padding:18px}.download-actions{display:grid;grid-template-columns:1fr 1fr}.download-actions button:first-child{grid-column:1/-1}}
