:root{
  --hrscai-bg:#f3f7fc;
  --hrscai-card:#ffffff;
  --hrscai-text:#112033;
  --hrscai-muted:#64748b;
  --hrscai-line:#dbe5f0;
  --hrscai-primary:#0f4c81;
  --hrscai-primary-2:#1f77c9;
  --hrscai-accent:#eef6ff;
  --hrscai-good:#169b62;
  --hrscai-mid:#e6a700;
  --hrscai-low:#d64545;
  --hrscai-radius:24px;
  --hrscai-shadow:0 14px 40px rgba(15,76,129,.10);
}
.hrspring-comp-ai-shell{position:relative; padding:24px 0; background:linear-gradient(180deg,#f8fbff 0%,#f2f7fc 100%); border-radius:32px; overflow:hidden;}
.hrspring-comp-ai-backdrop{position:absolute; inset:0; background:radial-gradient(circle at 0% 0%, rgba(31,119,201,.10), transparent 28%), radial-gradient(circle at 100% 0%, rgba(15,76,129,.08), transparent 25%), radial-gradient(circle at 50% 100%, rgba(11,92,174,.08), transparent 30%); pointer-events:none;}
#hrspring-competency-ai-root{position:relative; z-index:2; max-width:1280px; margin:0 auto; padding:8px 18px 28px; color:var(--hrscai-text); font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
#hrspring-competency-ai-root *{box-sizing:border-box}
.hrscai-card{background:var(--hrscai-card); border:1px solid rgba(219,229,240,.95); border-radius:var(--hrscai-radius); box-shadow:var(--hrscai-shadow);}
.hrscai-header{display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:22px;}
.hrscai-header h1{margin:4px 0 6px; font-size:clamp(28px,3vw,42px); line-height:1.08; letter-spacing:-.03em; color:#0f2740;}
.hrscai-header p{margin:0; color:var(--hrscai-muted); font-size:16px; max-width:720px}
.hrscai-kicker{font-size:12px; text-transform:uppercase; letter-spacing:.18em; font-weight:800; color:#3e76b7;}
.hrscai-user-chip{display:flex; flex-direction:column; min-width:220px; gap:6px; background:rgba(255,255,255,.82); border:1px solid rgba(31,119,201,.18); padding:14px 16px; border-radius:18px; backdrop-filter:blur(8px);}
.hrscai-user-chip strong{font-size:15px}.hrscai-user-chip span{font-size:13px; color:var(--hrscai-muted)}
.hrscai-alert{margin-bottom:16px; padding:14px 16px; background:#fff1f1; color:#9d2e2e; border:1px solid #f4c6c6; border-radius:16px; font-weight:600;}
.hrscai-hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:22px;}
.hrscai-hero-copy{padding:36px; min-height:320px; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(135deg,#0f4c81 0%,#17385b 100%); color:#fff;}
.hrscai-hero-copy h2{margin:14px 0 14px; font-size:clamp(26px,3vw,40px); line-height:1.08; letter-spacing:-.03em;}
.hrscai-hero-copy p{margin:0; color:rgba(255,255,255,.85); font-size:16px; line-height:1.7}
.hrscai-badge{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; width:max-content;}
.hrscai-feature-list{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:28px}
.hrscai-feature-list div{padding:16px; border-radius:18px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12)}
.hrscai-feature-list strong{display:block; font-size:30px; line-height:1; margin-bottom:8px}
.hrscai-feature-list span{display:block; color:rgba(255,255,255,.82); font-size:13px; line-height:1.5}
.hrscai-form-card{padding:28px}
.hrscai-form-card h3{margin:0 0 18px; font-size:24px; line-height:1.1}
.hrscai-form-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.hrscai-form-grid label.full{grid-column:1/-1}
.hrscai-form-grid label span{display:block; font-size:13px; font-weight:700; color:#1d3652; margin-bottom:8px}
.hrscai-form-grid input,.hrscai-form-grid select{width:100%; height:50px; padding:0 14px; border:1px solid #d2deea; border-radius:14px; background:#fbfdff; color:#1f2f46; font-size:15px; outline:none; transition:.2s border,.2s box-shadow,.2s background}
.hrscai-form-grid input:focus,.hrscai-form-grid select:focus{border-color:#3f8cd7; box-shadow:0 0 0 4px rgba(63,140,215,.14); background:#fff}
.hrscai-form-note{margin:14px 0 18px; font-size:13px; color:var(--hrscai-muted); line-height:1.6}
.hrscai-btn{appearance:none; border:none; border-radius:16px; min-height:50px; padding:0 20px; font-size:15px; font-weight:800; cursor:pointer; transition:.2s transform,.2s box-shadow,.2s background,.2s opacity; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:10px}
.hrscai-btn:hover{transform:translateY(-1px)}
.hrscai-btn:disabled{opacity:.58; cursor:not-allowed; transform:none}
.hrscai-btn-primary{background:linear-gradient(135deg,var(--hrscai-primary) 0%,var(--hrscai-primary-2) 100%); color:#fff; box-shadow:0 12px 22px rgba(15,76,129,.18)}
.hrscai-btn-ghost{background:#fff; color:#17385b; border:1px solid #d8e3ee}
.hrscai-assessment-wrap{display:grid; grid-template-columns:340px minmax(0,1fr); gap:22px; align-items:start}
.hrscai-side-panel{position:sticky; top:24px; padding:22px}
.hrscai-side-top{display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px}
.hrscai-side-top h3{margin:4px 0 0; font-size:40px; line-height:1; color:#0f4c81}
.hrscai-progress-ring{width:84px; height:84px; border-radius:50%; background:conic-gradient(#1f77c9 0 65%, #e7eef6 65% 100%); display:grid; place-items:center}
.hrscai-progress-ring span{width:62px; height:62px; background:#fff; border-radius:50%; display:grid; place-items:center; font-weight:800; color:#16324f; font-size:13px}
.hrscai-progress{height:10px; border-radius:999px; background:#edf2f8; overflow:hidden; margin-bottom:18px}
.hrscai-progress span{display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#1f77c9,#0f4c81)}
.hrscai-mini-list{display:flex; flex-direction:column; gap:8px; max-height:540px; overflow:auto; padding-right:4px}
.hrscai-mini-item{display:grid; grid-template-columns:28px 1fr; gap:10px; border:none; background:#f8fbfe; padding:12px; border-radius:16px; text-align:left; cursor:pointer; border:1px solid transparent; color:#1d3652}
.hrscai-mini-item span{width:28px; height:28px; border-radius:999px; background:#e9f3fe; display:grid; place-items:center; font-size:12px; font-weight:800; color:#2668ab}
.hrscai-mini-item em{font-style:normal; font-size:13px; line-height:1.45}
.hrscai-mini-item.active{background:#fff; border-color:#cbe0f5; box-shadow:0 10px 22px rgba(15,76,129,.08)}
.hrscai-main-panel{padding:26px}
.hrscai-assess-head{display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-bottom:20px}
.hrscai-assess-head h2{margin:10px 0 0; font-size:34px; line-height:1.08; letter-spacing:-.03em}
.hrscai-hint-box{min-width:210px; padding:14px 16px; border-radius:18px; background:#f5f9fd; border:1px solid #dbe8f4}
.hrscai-hint-box strong{display:block; font-size:14px; margin-bottom:6px}.hrscai-hint-box span{display:block; color:var(--hrscai-muted); font-size:13px}
.hrscai-level-list{display:grid; gap:16px}
.hrscai-level-card{padding:20px; border-radius:22px; background:#fbfdff; border:1px solid #e4edf5; transition:.2s transform,.2s box-shadow,.2s border-color}
.hrscai-level-card:hover{transform:translateY(-2px); border-color:#cde0f2; box-shadow:0 12px 24px rgba(15,76,129,.08)}
.hrscai-level-top{display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:12px}
.hrscai-level-tag{display:inline-flex; padding:7px 12px; border-radius:999px; background:#eef6ff; color:#215f9b; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.12em}
.hrscai-level-card p{margin:0 0 16px; color:#1b2e43; line-height:1.7}
.hrscai-score-row{display:flex; gap:10px; flex-wrap:wrap}
.hrscai-score-btn{width:46px; height:46px; border-radius:50%; border:1px solid #ceddeb; background:#fff; color:#294057; font-size:15px; font-weight:800; cursor:pointer; transition:.2s transform,.2s box-shadow,.2s background,.2s color}
.hrscai-score-btn:hover{transform:translateY(-2px); border-color:#7cb0e4}
.hrscai-score-btn.active{background:linear-gradient(135deg,#0f4c81,#1f77c9); color:#fff; border-color:transparent; box-shadow:0 10px 24px rgba(15,76,129,.18)}
.hrscai-score-labels{display:flex; justify-content:space-between; gap:12px; margin-top:10px; color:#7b8ba0; font-size:12px}
.hrscai-nav-row{display:flex; justify-content:space-between; gap:12px; margin-top:24px}
.hrscai-toolbar{padding:22px; display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:20px}
.hrscai-toolbar h2{margin:6px 0 6px; font-size:30px; line-height:1.08; letter-spacing:-.03em}
.hrscai-toolbar p{margin:0; color:var(--hrscai-muted)}
.hrscai-toolbar-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.hrscai-report-area{display:grid; gap:20px}
.hrscai-summary-grid{display:grid; grid-template-columns:1.05fr 1fr 1fr; gap:20px}
.hrscai-score-hero{padding:26px; background:linear-gradient(135deg,#102f49 0%,#0f4c81 100%); color:#fff}
.hrscai-big-score{font-size:68px; line-height:1; font-weight:900; letter-spacing:-.06em; margin:8px 0 10px}
.hrscai-big-score small{font-size:18px; color:rgba(255,255,255,.72); margin-left:6px}
.hrscai-score-hero p{margin:0; color:rgba(255,255,255,.85); line-height:1.6}
.hrscai-summary-grid .hrscai-card{padding:22px}
.hrscai-summary-grid .hrscai-card h3,.hrscai-results-grid .hrscai-card h3,.hrscai-ai-panel h3,.hrscai-company .hrscai-card h3,.hrscai-table-card h3{margin:0 0 16px; font-size:22px; line-height:1.12; letter-spacing:-.02em}
.hrscai-pill-list{display:grid; gap:12px}
.hrscai-pill{display:grid; grid-template-columns:38px 1fr auto; gap:12px; align-items:center; padding:14px 16px; border-radius:18px; background:#f8fbff; border:1px solid #e3edf6}
.hrscai-pill span{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-weight:900; color:#fff; background:#7ba6ce}
.hrscai-pill strong{font-size:14px; line-height:1.5; color:#18324d}.hrscai-pill em{font-style:normal; font-weight:900; color:#16324f}
.hrscai-pill.good{background:#f4fbf8; border-color:#d8f0e5}.hrscai-pill.good span{background:var(--hrscai-good)}
.hrscai-pill.mid{background:#fff9eb; border-color:#f5e1a8}.hrscai-pill.mid span{background:var(--hrscai-mid)}
.hrscai-pill.low{background:#fff3f3; border-color:#f2d0d0}.hrscai-pill.low span{background:var(--hrscai-low)}
.hrscai-results-grid,.hrscai-company-grid{display:grid; grid-template-columns:1.25fr .95fr; gap:20px}
.hrscai-results-grid .hrscai-card,.hrscai-company-grid .hrscai-card,.hrscai-ai-panel,.hrscai-table-card{padding:22px}
.hrscai-bars{display:grid; gap:12px}
.hrscai-bar-row{display:grid; grid-template-columns:minmax(140px,220px) 1fr 44px; align-items:center; gap:14px}
.hrscai-bar-row label{font-size:13px; line-height:1.45; color:#18324d; font-weight:700}
.hrscai-bar{height:12px; border-radius:999px; background:#edf3f9; overflow:hidden}
.hrscai-bar span{display:block; height:100%; border-radius:999px; background:#7ba6ce}
.hrscai-bar span.good{background:linear-gradient(90deg,#14a45d,#1fb66d)}
.hrscai-bar span.mid{background:linear-gradient(90deg,#f0bd2e,#e3a20a)}
.hrscai-bar span.low{background:linear-gradient(90deg,#ee6d6d,#d64545)}
.hrscai-bar-row strong{font-size:13px; color:#18324d}
.hrscai-timeline{display:grid; gap:14px}
.hrscai-time-item{display:grid; grid-template-columns:44px 1fr; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:18px; background:#f8fbff; border:1px solid #e4edf6}
.hrscai-time-item span{width:44px; height:44px; border-radius:50%; background:#dceafa; display:grid; place-items:center; color:#1f5f99; font-weight:900}
.hrscai-time-item strong{display:block; font-size:15px; color:#14304c; margin-bottom:4px}
.hrscai-time-item em{display:block; font-style:normal; color:#698096; font-size:13px}
.hrscai-time-item.current{background:#eef6ff; border-color:#cde2f7}.hrscai-time-item.current span{background:#1f77c9; color:#fff}
.hrscai-time-item.done span{background:#0f4c81; color:#fff}
.hrscai-ai-panel{background:linear-gradient(180deg,#fdfefe 0%,#f7fbff 100%)}
.hrscai-ai-head{display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:16px}
.hrscai-empty-ai{padding:28px; border-radius:20px; background:#eef6ff; border:1px dashed #b9d4ef; color:#28517a; line-height:1.8}
.hrscai-ai-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.hrscai-subcard{padding:18px; border-radius:20px; background:#fff; border:1px solid #e4edf6}
.hrscai-subcard.wide{grid-column:1/-1}
.hrscai-subcard h4{margin:0 0 12px; font-size:16px; line-height:1.2; color:#133454}
.hrscai-subcard ul{margin:0; padding-left:18px; color:#31495f; line-height:1.7}
.hrscai-idp-grid,.hrscai-career-advices{display:grid; gap:14px; grid-template-columns:repeat(3,1fr)}
.hrscai-adv-item{padding:16px; border-radius:18px; background:#f8fbff; border:1px solid #e5eff8}
.hrscai-adv-item strong{display:block; margin-bottom:8px; color:#16324f}

/* AI report v2 - báo cáo tư vấn AI dạng thẻ tím + IDP có mốc màu, theo mẫu thiết kế tham chiếu */
.hrscai-ai-report{display:grid; gap:18px}
.hrscai-ai-subgrid{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.hrscai-ai-advisory{border-radius:24px; padding:26px; background:linear-gradient(135deg,#3a2f8f 0%,#5a3fb0 55%,#7a3fc0 100%); color:#fff}
.hrscai-ai-advisory__head{display:flex; align-items:center; gap:10px; margin-bottom:18px}
.hrscai-ai-advisory__icon{font-size:20px}
.hrscai-ai-advisory__head h4{margin:0; font-size:20px; color:#fff}
.hrscai-ai-advisory__grid{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.hrscai-ai-advisory__col h5{margin:0 0 10px; font-size:14px; font-weight:800; color:rgba(255,255,255,.92)}
.hrscai-ai-numbered{margin:0; padding:0; list-style:none; display:grid; gap:10px}
.hrscai-ai-numbered li{position:relative; padding-left:32px; line-height:1.55; color:rgba(255,255,255,.94); font-size:14px}
.hrscai-ai-numbered{counter-reset:hrscai-ai-count}
.hrscai-ai-numbered li{counter-increment:hrscai-ai-count}
.hrscai-ai-numbered li::before{content:counter(hrscai-ai-count); position:absolute; left:0; top:0; width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.22); display:grid; place-items:center; font-size:12px; font-weight:800}
.hrscai-ai-empty-note{margin:0; color:rgba(255,255,255,.75); font-size:14px}
.hrscai-idp-section{padding:22px; border-radius:20px; background:#fff; border:1px solid #e4edf6}
.hrscai-idp-section h4{margin:0 0 18px; font-size:18px; color:#14304c}
.hrscai-idp-timeline{display:grid; gap:16px; position:relative; padding-left:6px; border-left:2px solid #e4edf6}
.hrscai-idp-block{position:relative; padding:16px 18px; border-radius:16px; background:#f8fbff; border:1px solid #e5eff8; margin-left:14px}
.hrscai-idp-dot{position:absolute; left:-27px; top:20px; width:12px; height:12px; border-radius:50%; background:#1f77c9; border:3px solid #fff; box-shadow:0 0 0 2px #cde2f7}
.hrscai-idp-block h5{margin:0 0 8px; font-size:15px; color:#16324f}
.hrscai-idp-block ul{margin:0; padding-left:18px; color:#31495f; line-height:1.65}
.hrscai-idp-block--30 .hrscai-idp-dot{background:#1f77c9}
.hrscai-idp-block--60 .hrscai-idp-dot{background:#7c3aed}
.hrscai-idp-block--90 .hrscai-idp-dot{background:#c0339b}
.hrscai-idp-block--30{background:#f0f7ff}
.hrscai-idp-block--60{background:#f6f1ff}
.hrscai-idp-block--90{background:#fdf0f9}
@media (max-width:900px){.hrscai-ai-subgrid,.hrscai-ai-advisory__grid{grid-template-columns:1fr}}
.hrscai-company .hrscai-toolbar{margin-bottom:20px}
.hrscai-table-wrap{overflow:auto; border-radius:18px; border:1px solid #e5eff8}
.hrscai-table{width:100%; border-collapse:collapse; min-width:1100px; background:#fff}
.hrscai-table th,.hrscai-table td{padding:14px 12px; border-bottom:1px solid #edf3f8; text-align:center; font-size:13px}
.hrscai-table th:first-child,.hrscai-table td:first-child{text-align:left; position:sticky; left:0; background:#fff; z-index:2; font-weight:800; color:#173552; box-shadow:2px 0 0 rgba(229,239,248,.9)}
.hrscai-table thead th{position:sticky; top:0; background:#f8fbfe; z-index:3; color:#1d3652; font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.03em}
.hrscai-table td.good{background:#f0fbf5; color:#13704b; font-weight:800}
.hrscai-table td.mid{background:#fff9ec; color:#946100; font-weight:800}
.hrscai-table td.low{background:#fff3f3; color:#a23434; font-weight:800}

@media (max-width: 1100px){
  .hrscai-hero-grid,.hrscai-assessment-wrap,.hrscai-summary-grid,.hrscai-results-grid,.hrscai-company-grid{grid-template-columns:1fr}
  .hrscai-side-panel{position:static}
  .hrscai-assess-head,.hrscai-toolbar,.hrscai-ai-head,.hrscai-header{flex-direction:column}
  .hrscai-toolbar-actions{justify-content:flex-start}
  .hrscai-idp-grid,.hrscai-career-advices{grid-template-columns:1fr}
}
@media (max-width: 767px){
  #hrspring-competency-ai-root{padding:6px 12px 24px}
  .hrspring-comp-ai-shell{border-radius:22px}
  .hrscai-form-grid,.hrscai-feature-list{grid-template-columns:1fr}
  .hrscai-hero-copy,.hrscai-form-card,.hrscai-main-panel,.hrscai-side-panel,.hrscai-summary-grid .hrscai-card,.hrscai-results-grid .hrscai-card,.hrscai-ai-panel,.hrscai-table-card{padding:18px}
  .hrscai-header h1{font-size:30px}
  .hrscai-assess-head h2,.hrscai-toolbar h2{font-size:26px}
  .hrscai-big-score{font-size:54px}
  .hrscai-score-row{gap:8px}
  .hrscai-score-btn{width:42px;height:42px}
  .hrscai-bar-row{grid-template-columns:1fr; gap:8px}
  .hrscai-nav-row{flex-direction:column}
}
@media print{
  body *{visibility:hidden!important}
  #hrscai-report-area, #hrscai-report-area *{visibility:visible!important}
  #hrscai-report-area{position:absolute; left:0; top:0; width:100%; background:#fff}
  .hrscai-card,.hrscai-subcard,.hrscai-course-card{break-inside:avoid;page-break-inside:avoid}
}


/* v2.1 hero + course recommendations */
.hrscai-hero-copy{background:linear-gradient(135deg,#0f4c81 0%,#174f86 48%,#123860 100%); color:#fff; overflow:hidden; position:relative}
.hrscai-hero-copy:before{content:""; position:absolute; right:-80px; top:-80px; width:240px; height:240px; border-radius:50%; background:rgba(255,255,255,.08); filter:blur(2px)}
.hrscai-hero-copy:after{content:""; position:absolute; left:45%; bottom:-90px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.05)}
.hrscai-hero-copy > *{position:relative; z-index:1}
.hrscai-hero-copy h2{color:#fff!important; font-size:58px; line-height:1.02; letter-spacing:-.05em; margin:18px 0 18px; max-width:820px}
.hrscai-hero-copy p{color:rgba(255,255,255,.92); font-size:18px; line-height:1.7; max-width:760px}
.hrscai-badge{background:rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.14)}
.hrscai-feature-list{margin-top:28px}
.hrscai-feature-item{background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.12); backdrop-filter:blur(8px)}
.hrscai-feature-item strong,.hrscai-feature-item span{color:#fff}
.hrscai-form-card{padding:34px 34px 30px; border:1px solid #dbe6f1; box-shadow:0 20px 40px rgba(16,47,73,.08)}
.hrscai-form-card h3{font-size:31px; line-height:1.08; color:#18324d; margin:0 0 18px}
.hrscai-field label{font-size:14px; font-weight:800; color:#173552; margin-bottom:8px; display:block}
.hrscai-field input,.hrscai-field select{height:62px; border-radius:18px; border:1px solid #ccdae8; font-size:18px; color:#18324d; box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.hrscai-field input:focus,.hrscai-field select:focus{outline:none; border-color:#5c98d2; box-shadow:0 0 0 4px rgba(31,119,201,.12)}
.hrscai-form-note{font-size:15px; color:#627891; margin:16px 0 24px; line-height:1.6}
#hrscai-start{min-height:60px; padding:14px 24px; border-radius:18px; font-size:16px; font-weight:800}
.hrscai-course-block{padding:24px}
.hrscai-course-head{display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:18px}
.hrscai-course-head h3{margin:6px 0 8px; font-size:28px; line-height:1.08; letter-spacing:-.03em; color:#133454}
.hrscai-course-head p{margin:0; color:#5e758d; max-width:780px; line-height:1.65}
.hrscai-course-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px}
.hrscai-course-card{display:flex; flex-direction:column; background:#fff; border:1px solid #e5eef6; border-radius:24px; overflow:hidden; box-shadow:0 14px 34px rgba(15,76,129,.06); transition:.22s transform,.22s box-shadow,.22s border-color}
.hrscai-course-card:hover{transform:translateY(-4px); box-shadow:0 20px 42px rgba(15,76,129,.12); border-color:#cfe0ef}
.hrscai-course-thumb{display:block; aspect-ratio:16/9; background:#eef4fa}
.hrscai-course-thumb img{width:100%; height:100%; object-fit:cover; display:block}
.hrscai-course-content{padding:16px 16px 18px; display:flex; flex-direction:column; gap:10px; flex:1}
.hrscai-course-content h4{margin:0; font-size:17px; line-height:1.45; min-height:50px}
.hrscai-course-content h4 a{color:#15324c; text-decoration:none}
.hrscai-course-meta{font-size:13px; color:#6f8499}
.hrscai-course-price{display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:13px}
.hrscai-course-price .sale{font-weight:900; color:#0d5ea0; font-size:18px}
.hrscai-course-price .regular{text-decoration:line-through; color:#8da0b1}
.hrscai-course-price .discount{display:inline-flex; padding:4px 8px; border-radius:999px; background:#eef6ff; color:#1d67a8; font-weight:800}
.hrscai-course-link{margin-top:auto; display:inline-flex; align-items:center; justify-content:center; min-height:42px; border-radius:14px; background:#f4f8fc; border:1px solid #dde8f3; color:#17385b; text-decoration:none; font-weight:800}
.hrscai-course-link:hover{background:#eaf3fc; border-color:#c9ddef}
@media (max-width: 1240px){
  .hrscai-hero-copy h2{font-size:50px}
  .hrscai-course-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 767px){
  .hrscai-hero-copy h2{font-size:36px}
  .hrscai-hero-copy p{font-size:16px}
  .hrscai-form-card{padding:22px}
  .hrscai-course-head{flex-direction:column}
  .hrscai-course-grid{grid-template-columns:1fr}
}


.hrspring-comp-ai-page-copy{max-width:1200px;margin:0 auto 18px;position:relative;z-index:2}
.hrspring-comp-ai-page-copy__inner{padding:18px 22px;border:1px solid rgba(17,69,135,.10);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);box-shadow:0 10px 30px rgba(16,54,107,.06)}
.hrspring-comp-ai-page-copy__eyebrow{margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#2e68b2}
.hrspring-comp-ai-page-copy__title{margin:0 0 8px;font-size:28px;line-height:1.15;color:#0c2748}
.hrspring-comp-ai-page-copy__desc{margin:0;font-size:15px;line-height:1.7;color:#4c6482;max-width:920px}
.hrspring-comp-ai-noscript{max-width:1200px;margin:18px auto 0;padding:14px 16px;border-radius:14px;background:#fff8e8;border:1px solid #f1d58b;color:#6b4b00}
@media (max-width: 768px){.hrspring-comp-ai-page-copy__title{font-size:22px}.hrspring-comp-ai-page-copy__inner{padding:16px}}


/* v8 executive summary block */
.hrscai-report-area{display:grid; gap:20px}
.hrscai-exec-board{padding:22px; background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%); border-color:#dfe9f2}
.hrscai-exec-top{display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:14px}
.hrscai-exec-user{display:flex; align-items:center; gap:12px}
.hrscai-exec-avatar{width:52px; height:52px; border-radius:50%; background:#eef6ff; color:#1d6db2; display:grid; place-items:center; font-size:22px; font-weight:900}
.hrscai-exec-user strong{display:block; font-size:20px; color:#16324f}
.hrscai-exec-user span{display:block; margin-top:3px; color:#6a8095; font-size:14px}
.hrscai-exec-score{text-align:right}
.hrscai-exec-score small{display:block; color:#8195a9; font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800}
.hrscai-exec-score strong{font-size:44px; line-height:1; color:#1380c3; font-weight:900}
.hrscai-exec-score span{color:#7e92a5; font-weight:700}
.hrscai-exec-gift{display:grid; grid-template-columns:64px 1fr; gap:14px; align-items:center; padding:16px 18px; background:linear-gradient(180deg,#fff8e8 0%,#fff4d8 100%); border:1px solid #f0dfad; border-radius:20px; margin-bottom:18px}
.hrscai-exec-gift-icon{width:64px; height:64px; border-radius:18px; background:rgba(255,255,255,.65); display:grid; place-items:center; font-size:32px}
.hrscai-exec-gift strong{display:block; color:#8b5c00; font-size:18px; margin-bottom:4px}
.hrscai-exec-gift p{margin:0; color:#886632; line-height:1.6}
.hrscai-exec-gift p span{display:inline-flex; padding:4px 10px; border-radius:999px; background:#f39b25; color:#fff; font-weight:800; margin-left:6px}
.hrscai-exec-main{display:grid; grid-template-columns:1.1fr .9fr; gap:18px; margin-bottom:18px}
.hrscai-subpanel{padding:18px; border-radius:20px; border:1px solid #e5eef6; background:#fff}
.hrscai-subpanel h3{margin:0 0 14px; font-size:20px; color:#15324e}
.hrscai-exec-side{display:grid; gap:16px}
.hrscai-good-panel{background:linear-gradient(180deg,#f5fcf8 0%,#effaf4 100%)}
.hrscai-low-panel{background:linear-gradient(180deg,#fff7f7 0%,#fff2f2 100%)}
.hrscai-radar{width:100%; height:auto; max-height:360px}
.hrscai-radar-grid polygon{fill:none; stroke:#d9e4ef; stroke-width:1}
.hrscai-radar-axis line{stroke:#e2ebf3; stroke-width:1}
.hrscai-radar-axis text{font-size:11px; fill:#6d8296; text-anchor:middle; font-weight:700}
.hrscai-radar-shape polygon{fill:rgba(39,157,229,.55); stroke:#1693d8; stroke-width:2}
.hrscai-radar-shape circle{fill:#1693d8; stroke:#fff; stroke-width:2}
.hrscai-exec-ladder h3{margin-bottom:18px}
.hrscai-journey-line{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px; position:relative}
.hrscai-journey-line:before{content:""; position:absolute; left:5%; right:5%; top:18px; height:3px; background:#e4ebf3; border-radius:999px}
.hrscai-journey-item{position:relative; text-align:center; padding-top:0}
.hrscai-journey-dot{width:18px; height:18px; border-radius:50%; background:#d9e3ee; border:4px solid #fff; box-shadow:0 0 0 2px #d9e3ee; margin:10px auto 12px; position:relative; z-index:1}
.hrscai-journey-item strong{display:block; font-size:13px; line-height:1.4; color:#30475f}
.hrscai-journey-item span{display:block; margin-top:4px; font-size:11px; color:#7c8ea2}
.hrscai-journey-item.done .hrscai-journey-dot{background:#1f77c9; box-shadow:0 0 0 2px #1f77c9}
.hrscai-journey-item.current .hrscai-journey-dot{background:#00a0ff; box-shadow:0 0 0 5px rgba(0,160,255,.18),0 0 0 2px #00a0ff}
.hrscai-journey-item.current strong{color:#1162a2; font-weight:900}

@media (max-width: 1100px){
  .hrscai-exec-main{grid-template-columns:1fr}
  .hrscai-journey-line{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width: 767px){
  .hrscai-exec-top{flex-direction:column; align-items:flex-start}
  .hrscai-exec-score{text-align:left}
  .hrscai-exec-gift{grid-template-columns:1fr}
  .hrscai-journey-line{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hrscai-radar-axis text{font-size:10px}
}


/* v9 intro information block */
.hrspring-comp-ai-page-copy__desc p{margin:0 0 8px}
.hrspring-comp-ai-page-copy__desc p:last-child{margin-bottom:0}
.hrscai-intro-note-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:18px;margin-top:18px}
.hrscai-intro-note{padding:26px 28px;border:1px solid #dfe9f3;background:linear-gradient(180deg,#ffffff 0%,#f9fbfe 100%)}
.hrscai-intro-note h3{margin:8px 0 12px;font-size:28px;line-height:1.15;letter-spacing:-.03em;color:#12324f}
.hrscai-intro-note p{margin:0 0 12px;color:#54708b;line-height:1.8;font-size:16px}
.hrscai-intro-note p:last-of-type{margin-bottom:0}
.hrscai-intro-note--accent{background:linear-gradient(135deg,#0f4c81 0%,#1668aa 100%);border-color:rgba(14,77,129,.28)}
.hrscai-intro-note--accent .hrscai-kicker,.hrscai-intro-note--accent h3,.hrscai-intro-note--accent p{color:#fff}
.hrscai-contact-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hrscai-intro-note--accent .hrscai-btn-ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#fff}
.hrscai-intro-note--accent .hrscai-btn-ghost:hover{background:rgba(255,255,255,.18)}
@media (max-width: 980px){.hrscai-intro-note-grid{grid-template-columns:1fr}.hrscai-intro-note h3{font-size:24px}}
@media (max-width: 767px){.hrscai-intro-note{padding:20px}.hrscai-intro-note h3{font-size:22px}.hrscai-contact-cta .hrscai-btn{width:100%}}

.hrscai-guide-block{margin-top:18px;padding:24px 26px;border:1px solid #dfe9f3;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.hrscai-guide-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px}
.hrscai-guide-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eaf2fa;color:#1e5f98;font-weight:800;font-size:18px;flex:0 0 34px}
.hrscai-guide-head h3{margin:2px 0 0;font-size:24px;line-height:1.2;letter-spacing:-.02em;color:#163652}
.hrscai-guide-lead{margin:0 0 10px;color:#45637d;line-height:1.75;font-size:16px}
.hrscai-guide-inline-note{margin:0 0 10px;padding:12px 14px;border-left:4px solid #cfd9e4;background:#fbfcfe;color:#637a91;font-style:italic;line-height:1.7}
.hrscai-guide-inline-note strong{color:#3f5973}
.hrscai-guide-alert{margin:0 0 14px;color:#1f7db2;font-weight:700;line-height:1.7}
.hrscai-guide-levels{display:grid;gap:8px}
.hrscai-guide-row{display:grid;grid-template-columns:86px 1fr;gap:12px;align-items:start}
.hrscai-guide-row span{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:9px;background:#edf4ff;border:1px solid #d8e6fb;color:#1f5e99;font-weight:800;font-size:13px}
.hrscai-guide-row p{margin:0;color:#45637d;line-height:1.7}
@media (max-width: 767px){.hrscai-guide-block{padding:20px}.hrscai-guide-head h3{font-size:21px}.hrscai-guide-row{grid-template-columns:1fr}.hrscai-guide-row span{justify-self:start}}


/* v12 fixes */
a[href*="tel:0969798944"].hrscai-btn,
a[href*="tel:0969798944"].hrscai-btn:visited,
a[href*="tel:0969798944"].hrscai-btn:hover,
a[href*="tel:0969798944"].hrscai-btn:focus{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
}

/* v14 fix: một số theme/CSS toàn site áp gradient-text (background-clip:text +
   -webkit-text-fill-color:transparent) lên thẻ <a>/<button>, khiến các nút trong
   widget (Bắt đầu đánh giá, Tiếp theo, Phân tích AI, Nhắn Zalo, Xem khóa học...)
   bị "mất chữ" (chữ trong suốt trùng màu nền). CHỈ ép lại màu chữ/text-fill-color
   (đúng cách đã dùng cho nút gọi điện ở trên) — không đụng vào background/
   background-image của chính nút, để không xóa mất nền gradient của hrscai-btn-primary. */
#hrspring-competency-ai-root a,
#hrspring-competency-ai-root button{
  -webkit-text-fill-color:currentColor !important;
}
#hrspring-competency-ai-root .hrscai-btn-primary,
#hrspring-competency-ai-root .hrscai-btn-primary:visited,
#hrspring-competency-ai-root .hrscai-btn-primary:hover,
#hrspring-competency-ai-root .hrscai-btn-primary:focus{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
#hrspring-competency-ai-root .hrscai-btn-ghost,
#hrspring-competency-ai-root .hrscai-btn-ghost:visited,
#hrspring-competency-ai-root .hrscai-btn-ghost:hover,
#hrspring-competency-ai-root .hrscai-btn-ghost:focus{
  color:#17385b !important;
  -webkit-text-fill-color:#17385b !important;
}
#hrspring-competency-ai-root .hrscai-course-link,
#hrspring-competency-ai-root .hrscai-course-link:visited,
#hrspring-competency-ai-root .hrscai-course-link:hover{
  color:#17385b !important;
  -webkit-text-fill-color:#17385b !important;
}
#hrspring-competency-ai-root .hrscai-course-content h4 a,
#hrspring-competency-ai-root .hrscai-course-content h4 a:visited,
#hrspring-competency-ai-root .hrscai-course-content h4 a:hover{
  color:#15324c !important;
  -webkit-text-fill-color:#15324c !important;
}
#hrspring-competency-ai-root .hrscai-intro-note--accent .hrscai-btn-ghost,
#hrspring-competency-ai-root .hrscai-intro-note--accent .hrscai-btn-ghost:visited,
#hrspring-competency-ai-root .hrscai-intro-note--accent .hrscai-btn-ghost:hover{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
/* Khóa học chưa có ảnh cover: nền placeholder thay vì <img> lỗi/vỡ layout. */
.hrscai-course-thumb--empty{
  background:linear-gradient(135deg,#eef4fa 0%,#dce8f5 100%);
}

/* v13 intro flow + company legend */
.hrscai-intro-top-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:22px;margin-bottom:22px}
.hrscai-intro-side-note{padding:28px 30px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}
.hrscai-intro-side-note h3{margin:8px 0 12px;font-size:28px;line-height:1.08;color:#14324f}
.hrscai-intro-side-note p{margin:0 0 14px;color:#566f87;line-height:1.72}
.hrscai-check-list{margin:0;padding-left:18px;color:#18324d;display:grid;gap:10px}
.hrscai-form-wrap{padding:28px 30px;margin-bottom:22px}
.hrscai-form-wrap__head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.hrscai-form-wrap__head h3{margin:8px 0 0;font-size:28px;line-height:1.08;color:#14324f}
.hrscai-form-guard{min-width:320px;padding:14px 16px;border:1px solid #dbe8f4;border-radius:18px;background:#f8fbfe}
.hrscai-form-guard.is-checked{border-color:#b9dfcb;background:#f4fbf7}
.hrscai-form-guard label{display:flex;gap:10px;align-items:flex-start;margin:0;cursor:pointer}
.hrscai-form-guard input{margin-top:3px}
.hrscai-form-guard span{font-size:14px;line-height:1.55;color:#34516c;font-weight:600}
.hrscai-form-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.hrscai-form-guard-note{font-size:13px;color:#70859a}
.hrscai-nav-left{display:flex;gap:12px;flex-wrap:wrap}
.hrscai-table-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.hrscai-legend{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hrscai-legend-item{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid transparent;white-space:nowrap}
.hrscai-legend-item.low{background:#fff3f3;color:#a23434;border-color:#f2d0d0}
.hrscai-legend-item.muted{background:#f3f8fd;color:#4e7598;border-color:#dce8f3}
.hrscai-legend-item.mid{background:#fff9ec;color:#946100;border-color:#f5e1a8}
.hrscai-legend-item.good{background:#f0fbf5;color:#13704b;border-color:#d8f0e5}
.hrscai-company-insights{padding:22px;background:linear-gradient(135deg,#0d1d39 0%,#112a52 100%);color:#fff}
.hrscai-company-insights-head h3{margin:0 0 16px;color:#fff;font-size:28px;line-height:1.08}
.hrscai-company-insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hrscai-company-insight-card{padding:18px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10)}
.hrscai-company-insight-card p{margin:10px 0 12px;color:rgba(255,255,255,.78);line-height:1.65}
.hrscai-company-insight-card strong{display:block;font-size:20px;line-height:1.35;color:#fff}
.hrscai-insight-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#8ec4ff}
.hrscai-company-insight-card.warn .hrscai-insight-kicker{color:#ffbd7b}
.hrscai-company-insight-card.alt .hrscai-insight-kicker{color:#ffdca3}
@media (max-width:1100px){.hrscai-intro-top-grid,.hrscai-company-insights-grid{grid-template-columns:1fr}.hrscai-form-wrap__head{flex-direction:column}.hrscai-form-guard{min-width:0;width:100%}.hrscai-table-card-head{flex-direction:column;align-items:flex-start}}
@media (max-width:767px){.hrscai-intro-side-note,.hrscai-form-wrap{padding:20px}.hrscai-intro-side-note h3,.hrscai-form-wrap__head h3,.hrscai-company-insights-head h3{font-size:24px}.hrscai-form-actions,.hrscai-nav-left{flex-direction:column;align-items:stretch}.hrscai-form-actions .hrscai-btn,.hrscai-nav-left .hrscai-btn{width:100%}}
