*{
box-sizing:border-box;
}

:root{
--ats-primary:#2563eb;
--ats-primary-strong:#1d4ed8;
--ats-primary-soft:#eff6ff;
--ats-primary-border:#bfdbfe;
--ats-indigo:#4f46e5;
--ats-indigo-soft:#eef2ff;
--ats-indigo-border:#c7d2fe;
--ats-success:#16a34a;
--ats-success-soft:#ecfdf5;
--ats-success-border:#86efac;
--ats-warning:#d97706;
--ats-warning-soft:#fffbeb;
--ats-warning-border:#fde68a;
--ats-danger:#dc2626;
--ats-danger-soft:#fef2f2;
--ats-danger-border:#fecaca;
--ats-ink:#0f172a;
--ats-muted:#64748b;
--ats-subtle:#94a3b8;
--ats-line:#e2e8f0;
--ats-surface:#ffffff;
--ats-surface-soft:#f8fafc;
--ats-shadow-sm:0 10px 24px rgba(15,23,42,.06);
--ats-shadow-md:0 14px 34px rgba(15,23,42,.075);
--ats-shadow-lg:0 18px 44px rgba(15,23,42,.10);
}

body{
overflow-x:hidden;
}

body.ats-focus-page .ats-top-banner{
display:none !important;
}

body.ats-focus-page > .w-full > .flex-1{
min-height:0 !important;
height:0 !important;
padding:0 !important;
overflow:hidden !important;
}

body.ats-focus-page #communicationPage,
body.ats-focus-page #communicationResultsPage,
body.ats-focus-page #candidateProfilePage,
body.ats-focus-page #insightPage,
body.ats-focus-page #shortlistAnalyticsPage,
body.ats-focus-page #shortlistExplanationPage,
body.ats-focus-page #interviewDashboardPage{
width:calc(100vw - 18rem - 88px);
margin:24px 40px 36px calc(18rem + 24px);
padding-left:0 !important;
padding-right:0 !important;
box-sizing:border-box;
}

body.ats-focus-page #communicationPage > h2:first-child,
body.ats-focus-page #communicationResultsPage > h2:first-child{
margin-top:0 !important;
}

body.ats-focus-page #candidateProfilePage{
display:block;
min-height:calc(100vh - 48px);
background:#f6f8fc;
}

body.ats-candidate-profile-mode #dashboardPage{
display:block !important;
}

body.ats-candidate-profile-mode #dashboardPage > :not(#candidateProfilePage){
display:none !important;
}

body.ats-candidate-profile-mode #candidateProfilePage{
display:block !important;
width:auto !important;
max-width:none !important;
margin:24px 40px 36px !important;
padding:0 !important;
}

body.ats-candidate-profile-mode > .w-full > .flex-1{
height:auto !important;
min-height:100vh !important;
overflow:auto !important;
padding:0 !important;
}

body.ats-candidate-profile-mode .ats-candidate-profile-grid{
grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);
max-width:100%;
}

body.ats-candidate-profile-mode .ats-candidate-summary-panel,
body.ats-candidate-profile-mode .ats-candidate-panel,
body.ats-candidate-profile-mode .ats-candidate-hero-panel{
min-width:0;
}

/* Top 10 candidate ranking board */
.ats-top10-page{
width:calc(100vw - 18rem - 88px);
max-width:1500px;
margin:0 40px 0 calc(18rem + 24px);
padding-left:0 !important;
padding-right:0 !important;
color:var(--ats-ink);
}

.ats-top10-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:22px;
padding:28px 30px;
border:1px solid var(--ats-line);
border-radius:16px;
background:
linear-gradient(135deg,#ffffff 0%,#f8fafc 50%,#eef2ff 100%);
box-shadow:var(--ats-shadow-sm);
margin-bottom:18px;
position:relative;
overflow:hidden;
}

.ats-top10-hero::after{
content:"";
position:absolute;
right:-70px;
top:-90px;
width:260px;
height:260px;
border-radius:50%;
border:42px solid rgba(37,99,235,.09);
pointer-events:none;
}

.ats-top10-hero > *{
position:relative;
z-index:1;
}

.ats-top10-eyebrow{
display:block;
font-size:12px;
font-weight:900;
letter-spacing:.12em;
text-transform:uppercase;
color:var(--ats-primary);
margin-bottom:8px;
}

.ats-top10-hero h2{
font-size:34px;
line-height:1.08;
font-weight:950;
margin:0;
color:var(--ats-ink);
}

.ats-top10-hero p{
margin:10px 0 0;
max-width:720px;
font-size:15px;
line-height:1.6;
font-weight:700;
color:var(--ats-muted);
}

.ats-top10-back-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
min-height:48px;
padding:0 18px;
border-radius:12px;
border:1px solid var(--ats-line);
background:#fff;
color:var(--ats-ink);
font-weight:900;
box-shadow:0 12px 26px rgba(15,23,42,.08);
transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
white-space:nowrap;
}

.ats-top10-back-btn:hover{
transform:translateY(-1px);
border-color:var(--ats-primary-border);
box-shadow:0 16px 32px rgba(37,99,235,.12);
}

.ats-top10-metrics{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:16px;
margin-bottom:18px;
}

.ats-top10-metrics article{
padding:20px;
border:1px solid var(--ats-line);
border-radius:14px;
background:#fff;
box-shadow:var(--ats-shadow-sm);
}

.ats-top10-metrics span,
.ats-top10-metrics small{
display:block;
font-weight:900;
color:var(--ats-muted);
}

.ats-top10-metrics span{
font-size:12px;
letter-spacing:.08em;
text-transform:uppercase;
}

.ats-top10-metrics strong{
display:block;
margin:8px 0 6px;
font-size:32px;
line-height:1;
font-weight:950;
color:var(--ats-ink);
}

.ats-top10-metrics small{
font-size:13px;
color:var(--ats-subtle);
}

.ats-top10-board{
border:1px solid var(--ats-line);
border-radius:16px;
background:#fff;
box-shadow:var(--ats-shadow-md);
overflow:hidden;
}

.ats-top10-board-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
padding:24px 26px 18px;
border-bottom:1px solid var(--ats-line);
background:linear-gradient(180deg,#fff,#f8fafc);
}

.ats-top10-board-head h3{
font-size:22px;
line-height:1.2;
font-weight:950;
margin:0;
color:var(--ats-ink);
}

.ats-top10-board-head p{
margin:6px 0 0;
font-size:14px;
font-weight:700;
color:var(--ats-muted);
}

.ats-top10-board-head > span{
display:inline-flex;
align-items:center;
min-height:34px;
padding:0 14px;
border-radius:999px;
background:var(--ats-primary-soft);
color:var(--ats-primary-strong);
font-size:12px;
font-weight:950;
white-space:nowrap;
}

.ats-top10-table-wrap{
width:100%;
overflow:auto;
}

.ats-top10-table{
width:100%;
min-width:940px;
border-collapse:separate;
border-spacing:0;
table-layout:fixed;
}

.ats-top10-table th{
padding:15px 18px;
background:#f8fafc;
border-bottom:1px solid var(--ats-line);
font-size:12px;
font-weight:950;
letter-spacing:.08em;
text-transform:uppercase;
color:#475569;
text-align:left;
}

.ats-top10-table th:nth-child(1){width:74px;}
.ats-top10-table th:nth-child(2){width:250px;}
.ats-top10-table th:nth-child(3){width:285px;}
.ats-top10-table th:nth-child(4){width:125px;}
.ats-top10-table th:nth-child(5){width:150px;}
.ats-top10-table th:nth-child(6){width:128px;}

.ats-top10-table td{
padding:12px 16px;
border-bottom:1px solid var(--ats-line);
vertical-align:middle;
background:#fff;
}

.ats-top10-row{
transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ats-top10-row:hover td{
background:#f8fbff;
}

.ats-top10-row.is-first td{
background:linear-gradient(180deg,#fff,#f7fbff);
}

.ats-top10-rank{
display:inline-flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
border-radius:12px;
background:var(--ats-indigo-soft);
border:1px solid var(--ats-indigo-border);
color:var(--ats-indigo);
font-size:15px;
font-weight:950;
}

.ats-top10-row.is-first .ats-top10-rank{
background:linear-gradient(135deg,#fef3c7,#dbeafe);
border-color:#fbbf24;
color:#92400e;
}

.ats-top10-row.is-second .ats-top10-rank{
background:#f1f5f9;
border-color:#cbd5e1;
color:#334155;
}

.ats-top10-row.is-third .ats-top10-rank{
background:#fff7ed;
border-color:#fed7aa;
color:#c2410c;
}

.ats-top10-candidate{
display:grid;
grid-template-columns:44px minmax(0,1fr);
gap:11px;
align-items:center;
}

.ats-top10-avatar{
display:inline-flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
border-radius:12px;
background:linear-gradient(135deg,var(--ats-primary),var(--ats-indigo));
color:#fff;
font-weight:950;
letter-spacing:.02em;
box-shadow:0 14px 24px rgba(37,99,235,.22);
}

.ats-top10-candidate strong{
display:block;
font-size:15px;
font-weight:950;
line-height:1.25;
color:var(--ats-ink);
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-top10-candidate small{
display:block;
margin-top:5px;
font-size:13px;
font-weight:700;
line-height:1.3;
color:var(--ats-muted);
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-top10-signals{
display:grid;
grid-template-columns:1fr;
gap:6px;
}

.ats-top10-signals div:not(.ats-top10-skills){
min-height:34px;
display:grid;
grid-template-columns:88px minmax(0,1fr);
align-items:center;
gap:8px;
padding:7px 9px;
border-radius:10px;
border:1px solid var(--ats-line);
background:#f8fafc;
}

.ats-top10-signals span{
display:block;
font-size:9.5px;
font-weight:950;
letter-spacing:.035em;
text-transform:uppercase;
color:var(--ats-subtle);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-top10-signals strong{
display:block;
margin-top:0;
font-size:12.5px;
font-weight:900;
line-height:1.25;
color:var(--ats-ink);
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-top10-skills{
grid-column:1 / -1;
display:flex;
flex-wrap:wrap;
gap:7px;
}

.ats-top10-skills span{
display:inline-flex;
align-items:center;
min-height:26px;
padding:0 9px;
border-radius:999px;
border:1px solid var(--ats-primary-border);
background:var(--ats-primary-soft);
color:var(--ats-primary-strong);
font-size:11.5px;
font-weight:900;
letter-spacing:0;
text-transform:none;
}

.ats-top10-score{
display:grid;
gap:6px;
min-width:104px;
}

.ats-top10-score strong{
font-size:22px;
line-height:1;
font-weight:950;
color:var(--ats-ink);
}

.ats-top10-score span{
font-size:12px;
font-weight:900;
color:var(--ats-muted);
}

.ats-top10-score div{
height:9px;
border-radius:999px;
background:#e2e8f0;
overflow:hidden;
}

.ats-top10-score i{
display:block;
height:100%;
border-radius:inherit;
background:linear-gradient(90deg,var(--ats-primary),var(--ats-indigo));
}

.ats-top10-score.is-strong i{background:linear-gradient(90deg,#16a34a,#22c55e);}
.ats-top10-score.is-good i{background:linear-gradient(90deg,#2563eb,#4f46e5);}
.ats-top10-score.is-review i{background:linear-gradient(90deg,#d97706,#f59e0b);}
.ats-top10-score.is-low i{background:linear-gradient(90deg,#dc2626,#f97316);}

.ats-top10-actions{
display:grid;
grid-template-columns:1fr;
gap:7px;
align-items:stretch;
width:100%;
}

.ats-top10-action{
display:inline-flex;
align-items:center;
justify-content:center;
width:100%;
min-height:34px;
padding:0 10px;
border-radius:9px;
border:1px solid transparent;
font-size:12px;
font-weight:950;
transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
white-space:nowrap;
}

.ats-top10-action:hover{
transform:translateY(-1px);
filter:saturate(1.05);
}

.ats-top10-action.is-ai{
background:var(--ats-indigo);
color:#fff;
box-shadow:0 12px 22px rgba(79,70,229,.20);
}

.ats-top10-action.is-shortlist{
background:var(--ats-success);
color:#fff;
box-shadow:0 12px 22px rgba(22,163,74,.16);
}

.ats-top10-action.is-reject{
background:var(--ats-danger-soft);
border-color:var(--ats-danger-border);
color:var(--ats-danger);
}

.ats-top10-empty-row td{
padding:0;
}

.ats-top10-empty{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
min-height:260px;
padding:34px;
text-align:center;
background:#fff;
}

.ats-top10-empty span{
display:inline-flex;
align-items:center;
justify-content:center;
width:48px;
height:48px;
border-radius:14px;
background:var(--ats-primary-soft);
color:var(--ats-primary-strong);
font-weight:950;
margin-bottom:12px;
}

.ats-top10-empty strong{
font-size:18px;
font-weight:950;
color:var(--ats-ink);
}

.ats-top10-empty p{
margin:8px 0 0;
font-size:14px;
font-weight:700;
color:var(--ats-muted);
}

@media (max-width: 980px){
.ats-top10-hero,
.ats-top10-board-head{
flex-direction:column;
align-items:stretch;
}

.ats-top10-metrics{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width: 640px){
.ats-top10-page{
width:auto;
margin:0 !important;
padding:18px !important;
}

.ats-top10-hero{
padding:22px;
}

.ats-top10-hero h2{
font-size:27px;
}

.ats-top10-metrics{
grid-template-columns:1fr;
}
}

.ats-sidebar{
background:
linear-gradient(180deg,rgba(15,23,42,.98),rgba(17,24,39,.98) 46%,rgba(15,23,42,.99)) !important;
box-shadow:18px 0 48px rgba(15,23,42,.20) !important;
border-right:1px solid rgba(148,163,184,.16) !important;
overflow:hidden;
}

.ats-sidebar::before{
content:"";
position:absolute;
inset:0;
background:
radial-gradient(circle at 22% 10%,rgba(99,102,241,.28),transparent 28%),
linear-gradient(90deg,rgba(255,255,255,.04),transparent 46%);
pointer-events:none;
}

.ats-sidebar > *{
position:relative;
z-index:1;
}

.ats-sidebar-brand{
padding:24px 24px 22px !important;
border-bottom:1px solid rgba(148,163,184,.14) !important;
}

.ats-brand-mark{
width:44px !important;
height:44px !important;
border-radius:12px !important;
background:linear-gradient(135deg,#6366f1,#7c3aed) !important;
box-shadow:0 16px 30px rgba(99,102,241,.34), inset 0 1px 0 rgba(255,255,255,.28) !important;
font-size:15px;
letter-spacing:.02em;
}

.ats-brand-copy{
display:flex;
flex-direction:column;
min-width:0;
}

.ats-brand-copy span{
font-size:19px !important;
line-height:1.1;
font-weight:900 !important;
color:#f8fafc;
}

.ats-brand-copy small{
margin-top:4px;
font-size:11px;
font-weight:700;
letter-spacing:.06em;
text-transform:uppercase;
color:#94a3b8;
}

.ats-sidebar-menu{
padding:22px 18px !important;
display:flex;
flex-direction:column;
gap:10px !important;
}

.ats-nav-label{
padding:0 8px 8px;
font-size:11px;
font-weight:800;
letter-spacing:.12em;
text-transform:uppercase;
color:#64748b;
}

.ats-sidebar .nav-btn{
position:relative;
display:grid !important;
grid-template-columns:44px minmax(0,1fr);
grid-template-rows:auto auto;
column-gap:12px;
row-gap:3px;
align-items:center;
width:100%;
min-height:72px;
padding:12px 14px !important;
border-radius:14px !important;
background:transparent;
border:1px solid transparent;
color:#cbd5e1 !important;
font-size:15px !important;
font-weight:800 !important;
line-height:1.2;
text-align:left;
transition:background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}

.ats-sidebar .nav-btn::before{
content:"";
position:absolute;
left:-18px;
top:18px;
width:4px;
height:36px;
border-radius:0 999px 999px 0;
background:#818cf8;
opacity:0;
transition:opacity .18s ease;
}

.ats-sidebar .nav-btn:hover{
background:rgba(30,41,59,.82) !important;
border-color:rgba(148,163,184,.18);
color:#f8fafc !important;
transform:translateX(2px) !important;
box-shadow:none !important;
}

.ats-sidebar .nav-btn.active{
background:linear-gradient(135deg,rgba(79,70,229,.95),rgba(37,99,235,.80)) !important;
border-color:rgba(199,210,254,.28);
color:#fff !important;
box-shadow:0 18px 32px rgba(79,70,229,.28) !important;
}

.ats-sidebar .nav-btn.active::before{
opacity:1;
}

.ats-nav-icon{
grid-row:1 / span 2;
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:rgba(148,163,184,.12);
border:1px solid rgba(148,163,184,.14);
color:#dbeafe;
font-size:12px !important;
font-weight:900;
letter-spacing:.02em;
}

.ats-sidebar .nav-btn.active .ats-nav-icon{
background:rgba(255,255,255,.18);
border-color:rgba(255,255,255,.22);
color:white;
}

.ats-sidebar .nav-text{
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-sidebar .nav-btn small{
display:block;
font-size:12px;
font-weight:700;
color:#94a3b8;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-sidebar .nav-btn.active small,
.ats-sidebar .nav-btn:hover small{
color:#dbeafe;
}

.ats-sidebar-footer{
padding:16px 18px 18px !important;
border-top:1px solid rgba(148,163,184,.14) !important;
}

.ats-ai-status{
display:flex;
align-items:center;
gap:10px;
padding:12px;
margin-bottom:12px;
border-radius:14px;
background:rgba(15,23,42,.58);
border:1px solid rgba(148,163,184,.14);
}

.ats-ai-status > span{
width:10px;
height:10px;
border-radius:999px;
background:#22c55e;
box-shadow:0 0 0 5px rgba(34,197,94,.12);
flex:0 0 auto;
}

.ats-ai-status strong,
.ats-ai-status small{
display:block;
line-height:1.2;
}

.ats-ai-status strong{
font-size:13px;
font-weight:900;
color:#f8fafc;
}

.ats-ai-status small{
margin-top:3px;
font-size:11px;
font-weight:700;
color:#94a3b8;
}

.ats-logout-btn{
height:48px;
border-radius:12px !important;
background:#ef4444 !important;
box-shadow:0 12px 24px rgba(239,68,68,.18);
font-weight:900 !important;
transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ats-logout-btn:hover{
background:#dc2626 !important;
transform:translateY(-1px);
box-shadow:0 16px 30px rgba(239,68,68,.24);
}

.ats-bulk-page{
padding-bottom:32px;
}

.ats-bulk-console{
position:relative;
overflow:hidden;
border:1px solid rgba(99,102,241,.14) !important;
background:
linear-gradient(180deg,#ffffff,#fbfdff) !important;
box-shadow:0 18px 44px rgba(15,23,42,.08) !important;
padding:28px !important;
}

.ats-bulk-console::before{
content:"";
position:absolute;
right:-110px;
top:-120px;
width:300px;
height:300px;
border-radius:50%;
background:radial-gradient(circle,rgba(99,102,241,.14),transparent 62%);
pointer-events:none;
}

.ats-bulk-console-head{
position:relative;
z-index:1;
display:flex;
justify-content:space-between;
gap:24px;
align-items:flex-start;
margin-bottom:20px;
}

.ats-section-kicker{
font-size:12px;
font-weight:900;
letter-spacing:.12em;
text-transform:uppercase;
color:#4f46e5;
margin-bottom:8px;
}

.ats-bulk-console h2{
font-size:26px !important;
line-height:1.15;
font-weight:900 !important;
color:#0f172a;
margin:0 0 8px !important;
}

.ats-bulk-console-head p,
.ats-bulk-section-head p{
font-size:14px;
line-height:1.6;
color:#64748b;
margin:0;
}

.ats-bulk-badge{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
padding:8px 12px;
border-radius:999px;
background:#eef2ff;
color:#4338ca;
border:1px solid #c7d2fe;
font-size:12px;
font-weight:900;
white-space:nowrap;
}

.ats-bulk-jd{
position:relative;
z-index:1;
min-height:170px;
border:1px solid #dbe3ef !important;
border-radius:14px !important;
background:#f8fafc !important;
font-size:14px !important;
line-height:1.6;
resize:vertical;
box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.ats-bulk-jd:focus{
outline:none;
border-color:#6366f1 !important;
background:#fff !important;
box-shadow:0 0 0 4px rgba(99,102,241,.12);
}

.ats-bulk-upload-row{
position:relative;
z-index:1;
display:grid !important;
grid-template-columns:minmax(260px,1fr) auto;
align-items:stretch !important;
gap:16px !important;
margin-bottom:12px !important;
}

.ats-file-drop{
min-height:72px;
display:flex;
align-items:center;
gap:14px;
padding:14px 16px;
border-radius:14px;
border:1px dashed #a5b4fc;
background:linear-gradient(180deg,#f8fafc,#eef2ff);
cursor:pointer;
transition:border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ats-file-drop:hover{
border-color:#6366f1;
box-shadow:0 12px 26px rgba(79,70,229,.12);
}

.ats-file-icon{
width:48px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:linear-gradient(135deg,#4f46e5,#2563eb);
color:white;
font-size:12px;
font-weight:900;
box-shadow:0 10px 20px rgba(79,70,229,.24);
flex:0 0 auto;
}

.ats-file-drop strong,
.ats-file-drop small{
display:block;
line-height:1.25;
}

.ats-file-drop strong{
font-size:15px;
font-weight:900;
color:#0f172a;
}

.ats-file-drop small{
margin-top:5px;
font-size:12px;
font-weight:700;
color:#64748b;
}

.ats-file-drop input[type="file"]{
margin-left:auto;
max-width:230px;
padding:8px !important;
border:1px solid #dbe3ef !important;
background:white;
border-radius:10px !important;
font-size:13px;
}

.ats-bulk-analyze-btn,
.ats-filter-btn,
.ats-column-btn{
border:0 !important;
background:linear-gradient(135deg,#4f46e5,#2563eb) !important;
box-shadow:0 12px 24px rgba(37,99,235,.20);
font-weight:900 !important;
transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ats-bulk-analyze-btn{
min-width:190px;
border-radius:14px !important;
padding:0 22px !important;
}

.ats-bulk-analyze-btn:hover,
.ats-filter-btn:hover,
.ats-column-btn:hover{
transform:translateY(-1px);
box-shadow:0 16px 30px rgba(37,99,235,.24);
filter:saturate(1.06);
}

#bulkResult{
display:block;
margin-top:12px;
font-weight:800;
color:#047857 !important;
}

.ats-bulk-nav{
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
gap:18px !important;
}

.ats-bulk-tab,
.ats-bulk-nav .bulk-card{
position:relative;
overflow:hidden;
min-height:108px;
border:1px solid rgba(148,163,184,.18) !important;
border-radius:16px !important;
padding:22px 24px !important;
background:linear-gradient(180deg,#ffffff,#f8fafc) !important;
box-shadow:0 14px 34px rgba(15,23,42,.08) !important;
}

.ats-bulk-tab::after{
content:"";
position:absolute;
right:-34px;
bottom:-42px;
width:116px;
height:116px;
border-radius:50%;
background:rgba(99,102,241,.08);
pointer-events:none;
}

.ats-bulk-tab:hover{
transform:translateY(-3px) !important;
border-color:#c7d2fe !important;
box-shadow:0 20px 42px rgba(15,23,42,.12) !important;
}

.ats-bulk-nav .bulk-icon{
width:52px;
height:52px;
border-radius:14px;
font-size:13px;
font-weight:900;
letter-spacing:.02em;
background:#eef2ff;
color:#4338ca;
}

.ats-bulk-nav .bulk-icon.trophy{
background:#fef3c7;
color:#b45309;
}

.ats-bulk-nav .bulk-icon.chart{
background:#dcfce7;
color:#047857;
}

.ats-bulk-nav .bulk-text h3{
font-size:17px;
font-weight:900;
color:#0f172a;
margin-bottom:5px;
}

.ats-bulk-nav .bulk-text p{
font-size:13px;
font-weight:700;
color:#64748b;
}

.ats-bulk-filter-card{
display:grid !important;
grid-template-columns:repeat(5,minmax(130px,1fr)) minmax(170px,.8fr);
gap:12px !important;
padding:18px !important;
border:1px solid rgba(148,163,184,.18) !important;
box-shadow:0 12px 30px rgba(15,23,42,.06) !important;
}

.ats-bulk-filter-card input{
width:100%;
height:46px;
border:1px solid #dbe3ef !important;
border-radius:12px !important;
background:#f8fafc;
font-size:14px;
}

.ats-bulk-filter-card input:focus{
outline:none;
border-color:#6366f1 !important;
background:white;
box-shadow:0 0 0 4px rgba(99,102,241,.10);
}

.ats-filter-btn{
height:46px;
border-radius:12px !important;
padding:0 18px !important;
white-space:nowrap;
}

.ats-bulk-section{
background:#fff !important;
padding:24px !important;
border:1px solid rgba(148,163,184,.18) !important;
border-radius:16px !important;
box-shadow:0 16px 38px rgba(15,23,42,.07) !important;
overflow:hidden;
}

.ats-bulk-section-head{
display:flex;
justify-content:space-between;
gap:16px;
align-items:flex-start;
padding-bottom:16px;
border-bottom:1px solid #edf2f7;
margin-bottom:14px;
}

.ats-bulk-section-head h2{
font-size:20px !important;
font-weight:900 !important;
color:#0f172a;
margin:0 0 4px !important;
}

.ats-column-btn{
min-height:42px;
border-radius:10px !important;
padding:10px 14px !important;
margin:0 !important;
white-space:nowrap;
}

#bulkColumnPanel,
#top10ColumnPanel{
border:1px solid #dbe3ef !important;
border-radius:14px !important;
background:#f8fafc !important;
padding:14px !important;
display:grid;
grid-template-columns:repeat(4,minmax(150px,1fr));
gap:8px 14px;
max-height:230px;
overflow:auto;
}

#bulkColumnPanel label,
#top10ColumnPanel label{
font-size:13px;
font-weight:700;
color:#334155;
}

.ats-bulk-table-scroll{
height:430px;
overflow:auto !important;
border:1px solid #e2e8f0;
border-radius:14px;
background:white;
}

.ats-bulk-table-scroll .data-table{
margin-top:0;
box-shadow:none;
border-radius:0;
}

#bulkAnalyzerTable,
#top10AnalyzerTable{
min-width:1500px;
}

#bulkAnalyzerTable thead,
#top10AnalyzerTable thead{
position:sticky;
top:0;
z-index:2;
background:#f8fafc !important;
box-shadow:0 1px 0 #e2e8f0;
}

#bulkAnalyzerTable th,
#top10AnalyzerTable th{
padding:14px 16px;
font-size:12px;
font-weight:900;
text-transform:uppercase;
letter-spacing:.05em;
color:#475569;
white-space:nowrap;
}

#bulkAnalyzerTable td,
#top10AnalyzerTable td{
padding:14px 16px;
font-size:14px;
color:#0f172a;
white-space:nowrap;
border-top:1px solid #eef2f7;
}

#bulkAnalyzerTable tbody tr:nth-child(even),
#top10AnalyzerTable tbody tr:nth-child(even){
background:#f8fafc;
}

#bulkAnalyzerTable tbody tr:hover,
#top10AnalyzerTable tbody tr:hover{
background:#eef2ff !important;
}

.ats-bulk-analytics-grid{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
gap:18px !important;
}

.ats-analytics-panel{
min-height:320px;
border:1px solid rgba(148,163,184,.18) !important;
border-radius:16px !important;
box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
overflow:hidden;
}

.ats-analytics-panel h3{
font-size:16px;
font-weight:900;
color:#0f172a;
margin-bottom:16px;
}

.ats-analytics-panel canvas{
max-height:250px;
}

.ats-result-workspace{
padding-bottom:36px;
}

.ats-result-header{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:24px;
margin:6px 0 26px;
padding:24px 28px;
border:1px solid rgba(99,102,241,.16);
border-radius:18px;
background:
linear-gradient(135deg,#ffffff,#f8fbff 56%,#eef2ff);
box-shadow:0 18px 44px rgba(15,23,42,.08);
overflow:hidden;
position:relative;
}

.ats-result-header::after{
content:"";
position:absolute;
right:-70px;
top:-90px;
width:240px;
height:240px;
border-radius:50%;
background:radial-gradient(circle,rgba(99,102,241,.16),transparent 64%);
pointer-events:none;
}

.ats-result-header > *{
position:relative;
z-index:1;
}

.ats-result-header h2{
font-size:30px !important;
font-weight:950 !important;
line-height:1.16;
letter-spacing:0;
color:#0f172a;
margin:0 0 8px !important;
max-width:980px;
}

.ats-result-header p{
font-size:14px;
line-height:1.6;
color:#64748b;
margin:0;
max-width:760px;
}

.ats-back-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:44px;
border:0 !important;
border-radius:12px !important;
padding:11px 16px !important;
background:#0f172a !important;
color:white !important;
font-size:14px;
font-weight:900 !important;
white-space:nowrap;
box-shadow:0 12px 26px rgba(15,23,42,.18);
transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ats-back-btn:hover{
background:#1e293b !important;
transform:translateY(-1px);
box-shadow:0 16px 32px rgba(15,23,42,.24);
}

.ats-result-stats{
grid-template-columns:repeat(4,minmax(0,1fr)) !important;
gap:18px !important;
}

#jobResultPage .stat-card-modern{
position:relative;
overflow:hidden;
min-height:136px;
border:1px solid rgba(148,163,184,.18) !important;
border-radius:16px !important;
background:linear-gradient(180deg,#ffffff,#f8fafc) !important;
box-shadow:0 14px 34px rgba(15,23,42,.08) !important;
padding:22px 24px !important;
display:flex;
flex-direction:column;
align-items:flex-start;
justify-content:center;
gap:8px;
transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#jobResultPage .stat-card-modern::before{
content:"";
position:absolute;
left:0;
top:0;
height:4px;
width:100%;
background:linear-gradient(90deg,#4f46e5,#8b5cf6,#2563eb);
}

#jobResultPage .stat-card-modern::after{
content:"";
position:absolute;
right:-34px;
bottom:-44px;
width:118px;
height:118px;
border-radius:50%;
background:rgba(99,102,241,.08);
}

#jobResultPage .stat-card-modern.clickable:hover{
transform:translateY(-3px);
border-color:#c7d2fe !important;
box-shadow:0 22px 44px rgba(15,23,42,.12) !important;
}

#jobResultPage .stat-icon{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:13px;
background:#eef2ff;
color:#4338ca;
font-size:12px;
font-weight:950;
letter-spacing:.02em;
}

#jobResultPage .stat-title-modern{
font-size:12px;
font-weight:900;
letter-spacing:.08em;
text-transform:uppercase;
color:#64748b;
}

#jobResultPage .stat-value-modern{
font-size:28px;
line-height:1;
font-weight:950;
color:#4f46e5;
}

#jobResultPage .stat-value-modern.action{
font-size:18px;
color:#2563eb;
}

#jobResultPage .filter-bar{
display:grid;
grid-template-columns:minmax(220px,1fr) minmax(190px,1fr) minmax(160px,.75fr) minmax(170px,.8fr);
gap:16px;
align-items:end;
padding:20px;
margin-bottom:20px;
border:1px solid rgba(148,163,184,.18);
border-radius:16px;
background:#fff;
box-shadow:0 14px 34px rgba(15,23,42,.07);
}

#jobResultPage .filter-group{
display:flex;
flex-direction:column;
gap:7px;
min-width:0;
}

#jobResultPage .filter-group label{
font-size:12px;
font-weight:900;
letter-spacing:.06em;
text-transform:uppercase;
color:#334155;
}

#jobResultPage .skill-box,
#jobResultPage input{
width:100%;
height:44px;
border:1px solid #dbe3ef !important;
border-radius:12px !important;
background:#f8fafc !important;
padding:11px 12px !important;
font-size:14px !important;
color:#0f172a;
}

#jobResultPage .skill-box{
display:flex;
align-items:center;
cursor:pointer;
font-weight:700;
color:#334155;
}

#jobResultPage .skill-box:hover,
#jobResultPage input:focus{
outline:none;
border-color:#6366f1 !important;
background:#fff !important;
box-shadow:0 0 0 4px rgba(99,102,241,.10);
}

#jobResultPage .skill-dropdown{
position:absolute;
z-index:12;
margin-top:72px;
width:min(360px,calc(100vw - 48px));
max-height:300px;
overflow:auto;
padding:10px;
border:1px solid var(--ats-line);
border-radius:8px;
background:white;
box-shadow:0 18px 38px rgba(15,23,42,.14);
}

#jobResultPage .skill-dropdown label{
display:grid;
grid-template-columns:16px minmax(0,1fr);
align-items:center;
gap:10px;
font-size:13px;
font-weight:800;
line-height:1.35;
padding:9px 10px;
border-radius:8px;
text-transform:none;
letter-spacing:0;
color:#334155;
cursor:pointer;
}

#jobResultPage .skill-dropdown label:hover{
background:var(--ats-primary-soft);
color:var(--ats-primary-strong);
}

#jobResultPage .skill-dropdown input[type="checkbox"],
#jobResultPage #columnPanel input[type="checkbox"]{
appearance:auto !important;
-webkit-appearance:auto !important;
width:16px !important;
height:16px !important;
min-width:16px !important;
min-height:16px !important;
max-width:16px !important;
max-height:16px !important;
padding:0 !important;
margin:0 !important;
border-radius:4px !important;
accent-color:var(--ats-primary);
box-shadow:none !important;
cursor:pointer;
}

#jobResultPage .skill-dropdown label span{
min-width:0;
overflow-wrap:anywhere;
}

#jobResultPage .button-group button{
width:100%;
height:44px;
border:0;
border-radius:12px;
background:linear-gradient(135deg,#2563eb,#4f46e5);
color:white;
font-weight:900;
box-shadow:0 12px 24px rgba(37,99,235,.20);
transition:transform .18s ease, box-shadow .18s ease;
}

#jobResultPage .button-group button:hover{
transform:translateY(-1px);
box-shadow:0 16px 30px rgba(37,99,235,.26);
}

.ats-result-table-card{
padding:22px;
border:1px solid rgba(148,163,184,.18);
border-radius:16px;
background:white;
box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.ats-result-table-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
padding-bottom:16px;
border-bottom:1px solid #edf2f7;
margin-bottom:14px;
}

.ats-result-table-head h3{
font-size:20px;
font-weight:950;
color:#0f172a;
margin:0 0 4px;
}

.ats-result-table-head p{
font-size:14px;
line-height:1.5;
color:#64748b;
margin:0;
}

#jobResultPage #columnPanel{
border:1px solid #dbe3ef !important;
border-radius:14px !important;
background:#f8fafc !important;
padding:14px !important;
margin-bottom:14px;
grid-template-columns:repeat(4,minmax(150px,1fr));
gap:8px 14px;
max-height:230px;
overflow:auto;
}

#jobResultPage #columnPanel label{
font-size:13px;
font-weight:700;
color:#334155;
}

.ats-result-table-scroll{
height:460px;
overflow:auto !important;
border:1px solid #e2e8f0;
border-radius:14px;
background:white;
}

#jobResultPage .ats-result-table-scroll table{
min-width:1120px;
border-radius:0 !important;
box-shadow:none !important;
table-layout:auto !important;
}

#jobResultPage .ats-result-table-scroll thead{
position:sticky;
top:0;
z-index:2;
background:#f8fafc !important;
box-shadow:0 1px 0 #e2e8f0;
}

#jobResultPage .ats-result-table-scroll th{
padding:15px 16px !important;
font-size:12px !important;
font-weight:950 !important;
text-transform:uppercase;
letter-spacing:.05em;
color:#475569 !important;
white-space:nowrap;
}

#jobResultPage .ats-result-table-scroll td{
padding:15px 16px !important;
font-size:14px !important;
color:#0f172a;
vertical-align:middle;
border-top:1px solid #eef2f7;
}

#jobResultPage .ats-result-table-scroll tbody tr:nth-child(even){
background:#f8fafc;
}

#jobResultPage .ats-result-table-scroll tbody tr:hover{
background:#eef2ff !important;
}

.ats-result-status{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:5px 10px;
font-size:12px;
font-weight:900;
white-space:nowrap;
}

.ats-result-status.is-communication{
background:#eef2ff;
color:#4338ca;
border:1px solid #c7d2fe;
}

.ats-result-status.is-shortlisted{
background:#ecfdf5;
color:#047857;
border:1px solid #a7f3d0;
}

.ats-result-status.is-review,
.ats-result-status.is-applied{
background:#fffbeb;
color:#b45309;
border:1px solid #fde68a;
}

.ats-result-status.is-rejected{
background:#fef2f2;
color:#b91c1c;
border:1px solid #fecaca;
}

.ats-result-status.is-neutral{
background:#f1f5f9;
color:#475569;
border:1px solid #e2e8f0;
}

#jobResultPage .score-badge{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:52px;
min-height:30px;
border-radius:999px;
background:#eef2ff !important;
color:#4f46e5 !important;
border:1px solid #c7d2fe;
font-weight:950;
}

#jobResultPage td:last-child{
white-space:nowrap;
}

#jobResultPage td:last-child button{
min-height:36px;
border-radius:9px !important;
font-weight:900 !important;
box-shadow:0 8px 16px rgba(15,23,42,.10);
}

#jobResultPage .ats-result-row-download{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:88px;
min-height:38px;
border-radius:10px !important;
background:#ecfdf5 !important;
border:1px solid #86efac !important;
color:#047857 !important;
font-size:13px;
font-weight:950 !important;
box-shadow:none !important;
}

#jobResultPage .ats-result-row-download:hover{
background:#dcfce7 !important;
transform:translateY(-1px);
}

#jobResultPage .ats-result-row-download.is-disabled{
background:#f1f5f9 !important;
border-color:#cbd5e1 !important;
color:#94a3b8 !important;
cursor:not-allowed;
}

#jobResultPage .ats-result-row-download.is-unlinked{
background:#ecfdf5 !important;
border-color:#86efac !important;
color:#047857 !important;
cursor:pointer;
}

.ats-result-bottom-back{
display:none !important;
}

.ats-gmail-connect-card{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
padding:16px 18px;
margin:0 0 18px;
border:1px solid #dbe3ef;
border-radius:14px;
background:#fff;
box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.ats-gmail-connect-card h3{
margin:0 0 4px;
font-size:16px;
font-weight:900;
color:#0f172a;
}

.ats-gmail-connect-card p{
margin:0;
font-size:13px;
font-weight:700;
color:#64748b;
}

.ats-gmail-connect-btn{
min-height:42px;
padding:10px 14px;
border:0;
border-radius:10px;
background:#fff;
color:#2563eb;
border:1px solid #bfdbfe;
font-weight:900;
white-space:nowrap;
}

.ats-gmail-connect-btn:hover{
background:#eff6ff;
}

/* Clean enterprise sidebar override */
.ats-sidebar{
background:linear-gradient(180deg,#111827 0%,#111827 54%,#0f172a 100%) !important;
box-shadow:14px 0 34px rgba(15,23,42,.18) !important;
}

.ats-sidebar::before{
background:
linear-gradient(180deg,rgba(99,102,241,.09),transparent 34%),
radial-gradient(circle at 0 18%,rgba(99,102,241,.18),transparent 34%) !important;
}

.ats-sidebar-brand{
padding:22px 20px !important;
gap:12px !important;
}

.ats-brand-mark{
width:38px !important;
height:38px !important;
border-radius:10px !important;
font-size:14px;
box-shadow:0 10px 22px rgba(99,102,241,.28) !important;
}

.ats-brand-copy span{
font-size:20px !important;
font-weight:900 !important;
letter-spacing:.01em;
}

.ats-brand-copy small{
font-size:10px;
letter-spacing:.11em;
color:#94a3b8;
}

.ats-sidebar-menu{
padding:20px !important;
gap:8px !important;
}

.ats-nav-label{
padding:4px 8px 10px;
font-size:10px;
letter-spacing:.16em;
color:#64748b;
}

.ats-sidebar .nav-btn{
display:flex !important;
align-items:center;
gap:12px;
min-height:50px;
padding:9px 12px !important;
border-radius:12px !important;
background:transparent !important;
border:1px solid transparent !important;
box-shadow:none !important;
font-size:15px !important;
font-weight:850 !important;
color:#cbd5e1 !important;
transform:none !important;
}

.ats-sidebar .nav-btn::before{
left:-20px;
top:12px;
height:26px;
width:3px;
background:#818cf8;
}

.ats-sidebar .nav-btn:hover{
background:rgba(30,41,59,.62) !important;
border-color:rgba(148,163,184,.12) !important;
transform:none !important;
box-shadow:none !important;
}

.ats-sidebar .nav-btn.active{
background:rgba(79,70,229,.16) !important;
border-color:rgba(129,140,248,.28) !important;
box-shadow:none !important;
color:#f8fafc !important;
}

.ats-sidebar .nav-btn.active::before{
opacity:1;
}

.ats-nav-icon{
width:34px !important;
height:34px !important;
border-radius:10px !important;
background:rgba(148,163,184,.12);
border:1px solid rgba(148,163,184,.14);
font-size:11px !important;
flex:0 0 auto;
}

.ats-sidebar .nav-btn.active .ats-nav-icon{
background:#4f46e5;
border-color:#6366f1;
box-shadow:0 8px 18px rgba(79,70,229,.24);
}

.ats-sidebar .nav-text{
display:block;
min-width:0;
font-size:15px;
font-weight:850;
line-height:1.2;
overflow:visible;
text-overflow:clip;
white-space:nowrap;
}

.ats-sidebar .nav-btn small{
display:none !important;
}

.ats-sidebar-footer{
padding:16px 20px 20px !important;
}

.ats-ai-status{
padding:11px 12px;
border-radius:12px;
margin-bottom:14px;
background:rgba(15,23,42,.42);
}

.ats-logout-btn{
height:46px;
border-radius:12px !important;
font-size:14px;
box-shadow:0 10px 22px rgba(239,68,68,.16);
}

.ats-top-banner{
position:relative;
overflow:hidden;
border:1px solid rgba(99,102,241,.18);
background:
linear-gradient(135deg,rgba(79,70,229,.96),rgba(37,99,235,.88) 48%,rgba(15,23,42,.94)) !important;
color:white;
padding:26px 28px !important;
border-radius:14px !important;
box-shadow:0 18px 42px rgba(37,99,235,.20) !important;
gap:24px;
min-height:128px;
}

.ats-top-banner::before{
content:"";
position:absolute;
inset:0;
background:
radial-gradient(circle at 14% 20%,rgba(255,255,255,.20),transparent 28%),
linear-gradient(90deg,rgba(255,255,255,.10),transparent 40%);
pointer-events:none;
}

.ats-top-banner::after{
content:"";
position:absolute;
right:-80px;
top:-90px;
width:260px;
height:260px;
border-radius:50%;
border:38px solid rgba(255,255,255,.08);
pointer-events:none;
}

.ats-banner-content,
.ats-banner-profile{
position:relative;
z-index:1;
}

.ats-banner-kicker{
font-size:12px;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase;
color:#c7d2fe;
margin-bottom:8px;
}

.ats-banner-content h2{
font-size:30px !important;
font-weight:900 !important;
line-height:1.1;
letter-spacing:0;
margin:0 0 8px;
color:white;
}

.ats-banner-content p{
max-width:760px;
font-size:14px;
line-height:1.6;
color:#e0e7ff;
margin:0;
}

.ats-banner-profile{
display:flex;
align-items:center;
gap:12px;
padding:10px 14px;
border-radius:12px;
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.18);
backdrop-filter:blur(8px);
min-width:180px;
justify-content:flex-start;
}

.ats-profile-avatar{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:white;
color:#4f46e5;
font-size:20px;
box-shadow:0 8px 20px rgba(15,23,42,.18);
}

.ats-profile-label{
display:block;
font-size:12px;
font-weight:700;
color:#c7d2fe;
}

#profileName{
display:block;
max-width:160px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
font-weight:800;
color:white;
}

.ats-ellipsis{
display:inline-block;
max-width:260px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
vertical-align:bottom;
}

.ats-job-title{
max-width:360px;
font-weight:600;
}

.ats-empty-state{
text-align:center;
padding:20px;
color:#6b7280;
background:#fff;
}

.dashboard-table-card,
.table-scroll{
max-width:100%;
overflow:hidden;
}

.dashboard-graph-card{
max-width:100%;
height:auto !important;
min-height:0 !important;
overflow:visible !important;
padding:22px 24px 28px !important;
margin-bottom:24px !important;
}

.table-scroll{
overflow-x:auto;
-webkit-overflow-scrolling:touch;
border-radius:10px;
}

.dashboard-table{
table-layout:auto;
min-width:760px;
}

.dashboard-table-scroll{
width:100%;
overflow-x:auto;
-webkit-overflow-scrolling:touch;
}

.dashboard-table th,
.dashboard-table td{
vertical-align:middle;
}

.dashboard-table td:last-child{
white-space:normal;
}

#dashboardJobTable td:first-child{
max-width:420px;
}

#shortlistTableMain{
min-width:1180px;
}

#shortlistTableMain th,
#shortlistTableMain td{
white-space:nowrap;
}

#shortlistColumnPanel{
max-height:260px;
overflow:auto;
}

#communicationJobsContainer{
align-items:stretch;
}

#communicationJobsContainer > div{
min-width:0;
border-radius:8px !important;
}

.graph-container{
height:320px;
min-height:280px;
overflow:hidden;
padding-bottom:4px;
}

.graph-container canvas{
min-width:0;
}

.dashboard-action-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
margin:14px 0 18px;
align-items:stretch;
}

.dashboard-action-grid button{
width:100%;
min-width:0;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
border-radius:8px;
padding:12px 14px !important;
font-size:15px;
font-weight:700;
box-shadow:0 8px 18px rgba(15,23,42,.10);
transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.dashboard-action-grid button,
#dashboardJobTable button{
display:inline-flex;
align-items:center;
justify-content:center;
gap:6px;
line-height:1.2;
}

.dashboard-action-grid button:hover{
transform:translateY(-1px);
box-shadow:0 12px 24px rgba(15,23,42,.14);
filter:saturate(1.05);
}

.dashboard-job-table-card{
margin-top:14px;
overflow:hidden;
}

.dashboard-table-fixed{
height:430px;
overflow:auto;
border:1px solid #e5e7eb;
border-radius:10px;
background:white;
}

.dashboard-table-fixed .dashboard-table{
min-width:980px;
}

.dashboard-table-fixed thead th{
position:sticky;
top:0;
z-index:2;
background:#f3f4f6;
box-shadow:0 1px 0 #e5e7eb;
}

.dashboard-table-fixed tbody tr:nth-child(even){
background:#f8fafc;
}

.dashboard-table-fixed tbody tr:hover{
background:#eef2ff;
}

#dashboardJobTable td:first-child{
min-width:260px;
}

#dashboardJobTable td:last-child{
min-width:330px;
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
}

#dashboardJobTable td:last-child button{
margin:0 !important;
min-width:86px;
padding:9px 13px !important;
border-radius:7px !important;
font-size:14px !important;
}

#shortlistTable td:last-child{
display:flex;
gap:8px;
align-items:center;
flex-wrap:wrap;
}

#shortlistTable .shortlist-row-btn{
min-width:82px;
min-height:34px;
display:inline-flex;
align-items:center;
justify-content:center;
font-weight:700;
line-height:1.1;
}

.action-btn,
button{
min-height:36px;
}

.shortlist-action-bar{
display:grid !important;
grid-template-columns:repeat(5,minmax(150px,1fr));
gap:12px !important;
align-items:stretch;
}

.shortlist-action-bar .action-btn,
.action-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
min-width:0;
padding:11px 14px;
border-radius:8px;
font-weight:700;
font-size:14px;
line-height:1.2;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
background:#4f46e5;
color:white;
box-shadow:0 8px 18px rgba(79,70,229,.16);
transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.shortlist-action-bar .action-btn:hover,
.action-btn:hover{
transform:translateY(-1px);
box-shadow:0 12px 22px rgba(79,70,229,.20);
background:#4338ca;
}

.ats-fixed-table{
max-height:430px;
overflow:auto !important;
border:1px solid #e5e7eb;
border-radius:10px;
background:white;
box-shadow:0 8px 22px rgba(15,23,42,.04);
scrollbar-width:thin;
scrollbar-color:#c7d2fe #f8fafc;
}

.ats-shortlist-scroll{
height:430px;
width:100%;
border-radius:10px;
}

.ats-shortlist-scroll{
display:flex;
align-items:stretch;
}

.ats-shortlist-scroll #shortlistTableMain{
height:100%;
min-height:100%;
width:100% !important;
min-width:100% !important;
border:0 !important;
border-radius:0 !important;
}

.ats-shortlist-scroll #shortlistTable{
background:white;
}

.ats-shortlist-scroll #shortlistTable:empty::after{
content:"";
display:block;
height:320px;
background:white;
}

#resultsPage .ats-shortlist-scroll{
box-shadow:none;
}

.ats-shortlist-title{
font-size:24px !important;
font-weight:950 !important;
letter-spacing:0;
color:var(--ats-ink);
margin-top:34px !important;
}

.shortlist-action-bar{
padding:16px;
border:1px solid var(--ats-line);
border-radius:14px;
background:linear-gradient(180deg,#fff,#f8fafc);
box-shadow:var(--ats-shadow-sm);
}

.shortlist-action-bar .action-btn{
min-height:48px;
border:1px solid var(--ats-primary-border);
background:var(--ats-primary-soft);
color:var(--ats-primary-strong);
box-shadow:none;
border-radius:10px;
font-weight:950;
}

.shortlist-action-bar .action-btn:nth-child(4){
border-color:var(--ats-success-border);
background:var(--ats-success-soft);
color:#047857;
}

.shortlist-action-bar .action-btn:hover{
background:#dbeafe;
box-shadow:0 12px 24px rgba(37,99,235,.10);
}

.shortlist-action-bar .action-btn:nth-child(4):hover{
background:#d1fae5;
}

.ats-shortlist-column-panel{
padding:16px !important;
border:1px solid var(--ats-line) !important;
border-radius:12px !important;
background:#fff !important;
box-shadow:var(--ats-shadow-sm);
margin-bottom:12px !important;
display:none;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:10px 16px;
}

.ats-shortlist-column-panel label{
display:flex;
align-items:center;
gap:8px;
font-size:13px;
font-weight:800;
color:#334155;
}

.ats-shortlist-column-panel input{
width:16px;
height:16px;
accent-color:var(--ats-primary);
}

.ats-shortlist-table-card{
height:470px;
border:1px solid var(--ats-line);
border-radius:14px;
box-shadow:var(--ats-shadow-md) !important;
background:#fff;
}

#shortlistTableMain.ats-shortlist-table{
border-collapse:separate;
border-spacing:0;
font-size:14px;
color:var(--ats-ink);
}

#shortlistTableMain.ats-shortlist-table thead th{
position:sticky;
top:0;
z-index:2;
padding:16px 14px !important;
border-bottom:1px solid var(--ats-line);
background:#f8fafc !important;
font-size:12px;
font-weight:950 !important;
letter-spacing:.07em;
text-transform:uppercase;
color:#475569 !important;
}

#shortlistTableMain.ats-shortlist-table tbody td{
padding:16px 14px !important;
border-bottom:1px solid #eef2f7;
vertical-align:middle;
background:#fff;
}

#shortlistTableMain.ats-shortlist-table tbody tr:nth-child(even) td{
background:#fbfdff;
}

#shortlistTableMain.ats-shortlist-table tbody tr:hover td{
background:#f8fbff;
}

.ats-shortlist-rank{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:40px;
height:40px;
border-radius:12px;
border:1px solid var(--ats-indigo-border);
background:var(--ats-indigo-soft);
color:var(--ats-indigo);
font-weight:950;
}

.ats-shortlist-candidate{
display:grid;
grid-template-columns:42px minmax(0,1fr);
align-items:center;
gap:11px;
min-width:220px;
}

.ats-shortlist-candidate > span{
display:inline-flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border-radius:12px;
background:linear-gradient(135deg,var(--ats-primary),var(--ats-indigo));
color:#fff;
font-size:13px;
font-weight:950;
box-shadow:0 12px 20px rgba(37,99,235,.18);
}

.ats-shortlist-candidate strong{
display:block;
max-width:180px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
font-size:14px;
font-weight:950;
color:var(--ats-ink);
}

.ats-shortlist-candidate small{
display:inline-flex;
align-items:center;
margin-top:5px;
min-height:22px;
padding:0 9px;
border-radius:999px;
background:var(--ats-success-soft);
border:1px solid var(--ats-success-border);
color:#047857;
font-size:11px;
font-weight:950;
}

.ats-shortlist-email{
max-width:240px;
font-weight:750;
color:#334155;
}

.ats-shortlist-location{
display:inline-block;
max-width:260px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
font-weight:750;
color:#334155;
}

.ats-shortlist-experience{
display:inline-flex;
align-items:center;
min-height:32px;
padding:0 11px;
border-radius:999px;
background:#f1f5f9;
color:#334155;
font-weight:900;
}

.ats-shortlist-score{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:54px;
height:38px;
border-radius:12px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-weight:950;
}

#shortlistTable td:last-child{
gap:10px;
}

.ats-shortlist-row-btn{
min-height:40px !important;
padding:0 14px !important;
border-radius:10px !important;
border:1px solid transparent;
font-size:13px !important;
font-weight:950 !important;
box-shadow:none !important;
transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ats-shortlist-row-btn:hover{
transform:translateY(-1px);
}

.ats-shortlist-row-btn.is-review{
background:var(--ats-indigo) !important;
color:#fff !important;
box-shadow:0 12px 22px rgba(79,70,229,.16) !important;
}

.ats-shortlist-row-btn.is-remove{
background:var(--ats-danger-soft) !important;
border-color:var(--ats-danger-border) !important;
color:var(--ats-danger) !important;
}

/* Keep shortlist rows compact even when the scroll panel is taller than the data. */
.ats-shortlist-scroll{
display:block !important;
align-items:initial !important;
}

.ats-shortlist-scroll #shortlistTableMain,
#shortlistTableMain.ats-shortlist-table{
height:auto !important;
min-height:0 !important;
}

#shortlistTableMain.ats-shortlist-table tbody tr{
height:auto !important;
min-height:0 !important;
}

#shortlistTableMain.ats-shortlist-table tbody td{
height:auto !important;
min-height:0 !important;
vertical-align:middle !important;
}

#shortlistTable td:last-child{
display:table-cell !important;
white-space:nowrap !important;
vertical-align:middle !important;
background:inherit !important;
}

#shortlistTable td:last-child .shortlist-row-btn{
display:inline-flex !important;
margin:0 8px 0 0 !important;
vertical-align:middle !important;
}


.ats-results-scroll{
height:470px;
}

.ats-communication-scroll{
height:300px;
margin-bottom:18px;
}

/* Outreach workspace */
.ats-outreach-page{
color:var(--ats-ink);
}

.ats-outreach-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
padding:26px 28px;
margin-bottom:16px;
border:1px solid var(--ats-line);
border-radius:14px;
background:
linear-gradient(135deg,#ffffff,#f8fafc 58%,#eef2ff);
box-shadow:var(--ats-shadow-md);
position:relative;
overflow:hidden;
}

.ats-outreach-hero::after{
content:"";
position:absolute;
right:-70px;
bottom:-110px;
width:300px;
height:220px;
background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(79,70,229,.10));
transform:rotate(-18deg);
pointer-events:none;
}

.ats-outreach-hero > *{
position:relative;
z-index:1;
}

.ats-outreach-hero h2{
font-size:30px;
line-height:1.12;
font-weight:950;
margin:6px 0 8px;
color:var(--ats-ink);
}

.ats-outreach-hero p{
max-width:760px;
margin:0;
font-size:14px;
line-height:1.6;
font-weight:700;
color:var(--ats-muted);
}

.ats-outreach-sync-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:46px;
padding:0 18px;
border-radius:12px;
border:1px solid var(--ats-primary-border);
background:var(--ats-primary);
color:#fff;
font-size:14px;
font-weight:950;
box-shadow:0 14px 26px rgba(37,99,235,.20);
white-space:nowrap;
transition:transform .18s ease, box-shadow .18s ease;
}

.ats-outreach-sync-btn:hover{
transform:translateY(-1px);
box-shadow:0 18px 34px rgba(37,99,235,.24);
}

.ats-outreach-metrics{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
margin-bottom:16px;
}

.ats-outreach-metrics article{
min-height:108px;
padding:17px 18px;
border:1px solid var(--ats-line);
border-radius:12px;
background:linear-gradient(180deg,#fff,#f8fafc);
box-shadow:var(--ats-shadow-sm);
position:relative;
overflow:hidden;
}

.ats-outreach-metrics article::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:4px;
background:linear-gradient(90deg,var(--ats-primary),var(--ats-indigo));
}

.ats-outreach-metrics span{
display:block;
font-size:11px;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
color:var(--ats-muted);
}

.ats-outreach-metrics strong{
display:block;
margin:11px 0 6px;
font-size:28px;
line-height:1;
font-weight:950;
color:var(--ats-primary-strong);
}

.ats-outreach-metrics small{
font-size:12px;
font-weight:850;
color:var(--ats-subtle);
}

.ats-outreach-board{
border:1px solid var(--ats-line);
border-radius:14px;
background:#fff;
box-shadow:var(--ats-shadow-md);
overflow:hidden;
}

.ats-outreach-board-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
padding:22px 24px 18px;
border-bottom:1px solid var(--ats-line);
background:linear-gradient(180deg,#fff,#f8fafc);
}

.ats-outreach-board-head h3{
font-size:22px;
line-height:1.2;
font-weight:950;
margin:0;
color:var(--ats-ink);
}

.ats-outreach-board-head p{
margin:6px 0 0;
font-size:13.5px;
font-weight:700;
color:var(--ats-muted);
}

.ats-outreach-board-head > span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
padding:0 13px;
border-radius:999px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-size:12px;
font-weight:950;
white-space:nowrap;
}

.ats-outreach-role-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
gap:14px;
padding:22px;
}

#communicationJobsContainer.ats-outreach-role-grid{
display:grid !important;
grid-template-columns:repeat(auto-fit,minmax(310px,1fr)) !important;
align-items:stretch;
}

.ats-outreach-role-grid .ats-empty-state{
grid-column:1 / -1;
}

.ats-outreach-role-card{
min-width:0;
display:grid;
grid-template-rows:auto auto auto 1fr auto auto;
gap:14px;
padding:18px;
border:1px solid var(--ats-line);
border-radius:12px;
background:
linear-gradient(90deg,rgba(37,99,235,.075),rgba(255,255,255,0) 36%),
linear-gradient(180deg,#fff,#f8fafc);
box-shadow:0 10px 24px rgba(15,23,42,.06);
position:relative;
overflow:hidden;
transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ats-outreach-role-card::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:5px;
background:var(--ats-primary);
}

.ats-outreach-role-card:hover{
transform:translateY(-2px);
box-shadow:0 16px 32px rgba(15,23,42,.10);
border-color:var(--ats-primary-border);
}

.ats-outreach-card-top,
.ats-outreach-card-footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}

.ats-outreach-role-icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:38px;
height:38px;
border-radius:10px;
background:var(--ats-indigo-soft);
border:1px solid var(--ats-indigo-border);
color:var(--ats-indigo);
font-size:11px;
font-weight:950;
letter-spacing:.04em;
}

.ats-outreach-status{
display:inline-flex;
align-items:center;
min-height:28px;
padding:0 10px;
border-radius:999px;
background:var(--ats-success-soft);
border:1px solid var(--ats-success-border);
color:#047857;
font-size:11px;
font-weight:950;
letter-spacing:.04em;
text-transform:uppercase;
}

.ats-outreach-status::before{
content:"";
width:7px;
height:7px;
border-radius:50%;
background:#22c55e;
margin-right:7px;
}

.ats-outreach-role-title h3{
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
min-height:50px;
font-size:18px;
line-height:1.35;
font-weight:950;
margin:0;
color:var(--ats-ink);
}

.ats-outreach-role-title p{
margin:6px 0 0;
font-size:13px;
font-weight:900;
color:var(--ats-primary);
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-outreach-meta-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:8px;
}

.ats-outreach-meta-grid span{
min-height:56px;
padding:10px;
border:1px solid var(--ats-line);
border-radius:10px;
background:#fff;
font-size:12px;
font-weight:850;
color:#334155;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-outreach-meta-grid strong{
display:block;
margin-bottom:5px;
font-size:10px;
font-weight:950;
letter-spacing:.06em;
text-transform:uppercase;
color:var(--ats-subtle);
}

.ats-outreach-description{
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
min-height:62px;
margin:0;
font-size:13px;
line-height:1.55;
font-weight:750;
color:var(--ats-muted);
}

.ats-outreach-view-btn{
display:inline-flex;
align-items:center;
justify-content:center;
width:100%;
min-height:46px;
border-radius:10px;
border:1px solid var(--ats-primary-border);
background:var(--ats-primary);
color:#fff;
font-size:14px;
font-weight:950;
box-shadow:0 14px 28px rgba(37,99,235,.16);
transition:transform .18s ease, box-shadow .18s ease;
}

.ats-outreach-view-btn:hover{
transform:translateY(-1px);
box-shadow:0 18px 34px rgba(37,99,235,.22);
}

.ats-outreach-card-footer{
padding-top:12px;
border-top:1px solid var(--ats-line);
font-size:12px;
font-weight:850;
color:var(--ats-muted);
}

.ats-outreach-card-footer strong{
font-weight:950;
color:var(--ats-ink);
}

/* AI insights workspace */
.ats-insight-page{
color:var(--ats-ink);
padding-left:0 !important;
padding-right:0 !important;
box-sizing:border-box;
}

.ats-insight-page.hidden{
display:none !important;
}

.ats-insight-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:22px;
padding:26px 28px;
margin-bottom:16px;
border:1px solid var(--ats-line);
border-radius:14px;
background:
linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#eef2ff 100%);
box-shadow:var(--ats-shadow-md);
position:relative;
overflow:hidden;
}

.ats-insight-hero::after{
content:"";
position:absolute;
right:-84px;
bottom:-116px;
width:330px;
height:240px;
background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(79,70,229,.09));
transform:rotate(-18deg);
pointer-events:none;
}

.ats-insight-hero > *{
position:relative;
z-index:1;
}

.ats-insight-hero span{
display:block;
font-size:11px;
font-weight:950;
letter-spacing:.09em;
text-transform:uppercase;
color:var(--ats-primary);
}

.ats-insight-hero h2{
margin:6px 0 8px;
font-size:30px;
line-height:1.14;
font-weight:950;
color:var(--ats-ink);
}

.ats-insight-hero p{
margin:0;
max-width:820px;
font-size:14px;
line-height:1.6;
font-weight:750;
color:var(--ats-muted);
}

.ats-insight-back-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:46px;
padding:0 18px;
border-radius:12px;
border:1px solid var(--ats-primary-border);
background:var(--ats-primary);
color:#fff;
font-size:14px;
font-weight:950;
white-space:nowrap;
box-shadow:0 14px 28px rgba(37,99,235,.20);
transition:transform .18s ease, box-shadow .18s ease;
}

.ats-insight-back-btn:hover{
transform:translateY(-1px);
box-shadow:0 18px 34px rgba(37,99,235,.24);
}

.ats-insight-kpis{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
margin-bottom:16px;
}

.ats-insight-kpis article{
min-height:108px;
padding:17px 18px;
border:1px solid var(--ats-line);
border-radius:12px;
background:linear-gradient(180deg,#fff,#f8fafc);
box-shadow:var(--ats-shadow-sm);
position:relative;
overflow:hidden;
}

.ats-insight-kpis article::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:4px;
background:linear-gradient(90deg,var(--ats-primary),var(--ats-indigo));
}

.ats-insight-kpis small{
display:block;
font-size:11px;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
color:var(--ats-muted);
}

.ats-insight-kpis strong{
display:block;
margin:11px 0 6px;
font-size:28px;
line-height:1;
font-weight:950;
color:var(--ats-primary-strong);
}

.ats-insight-kpis span{
font-size:12px;
font-weight:850;
color:var(--ats-subtle);
}

.ats-insight-layout{
display:grid;
grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);
gap:16px;
align-items:start;
}

.insight-card{
min-width:0;
border:1px solid var(--ats-line);
border-radius:14px;
background:#fff;
box-shadow:var(--ats-shadow-md);
overflow:hidden;
}

.insight-card-wide{
grid-row:span 2;
}

.insight-card-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:16px;
padding:20px 22px 14px;
border-bottom:1px solid var(--ats-line);
background:linear-gradient(180deg,#fff,#f8fafc);
}

.insight-card-head h3{
margin:0;
font-size:19px;
line-height:1.25;
font-weight:950;
color:var(--ats-ink);
}

.insight-card-head p{
margin:6px 0 0;
font-size:13px;
font-weight:750;
color:var(--ats-muted);
}

.insight-card-head > span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:32px;
padding:0 12px;
border-radius:999px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-size:12px;
font-weight:950;
white-space:nowrap;
}

.insight-chart-wrap{
height:280px;
padding:18px 20px 20px;
position:relative;
overflow:hidden;
}

.insight-chart-tall{
height:430px;
}

.insight-donut-wrap{
height:280px;
display:flex;
align-items:center;
justify-content:center;
}

.insight-chart-wrap canvas{
display:block !important;
width:100% !important;
height:100% !important;
max-width:100% !important;
max-height:100% !important;
}

#insightPage .ats-ai-recommendation{
margin-top:16px;
border-radius:14px;
box-shadow:var(--ats-shadow-md);
}

#insightPage > br,
#insightPage > button:last-child{
display:none !important;
}

@media (max-width: 1180px){
.ats-insight-hero{
flex-direction:column;
align-items:stretch;
}

.ats-insight-back-btn{
width:100%;
}

.ats-insight-kpis{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.ats-insight-layout{
grid-template-columns:1fr;
}

.insight-card-wide{
grid-row:auto;
}

.insight-chart-tall{
height:340px;
}
}

@media (max-width: 720px){
.ats-insight-kpis{
grid-template-columns:1fr;
}

.insight-card-head{
flex-direction:column;
align-items:flex-start;
}
}

@media (max-width: 768px){
body.ats-focus-page #insightPage{
width:auto;
margin:0 !important;
padding:16px !important;
}
}

#insightPage .ats-insight-hero{
padding:22px 24px;
border-radius:12px;
background:
linear-gradient(135deg,#0f172a 0%,#1e3a8a 58%,#2563eb 100%);
border:1px solid rgba(37,99,235,.32);
box-shadow:0 18px 42px rgba(15,23,42,.16);
}

#insightPage .ats-insight-hero::after{
right:-90px;
bottom:-130px;
width:360px;
height:260px;
background:rgba(255,255,255,.10);
}

#insightPage .ats-insight-hero span,
#insightPage .ats-insight-hero h2,
#insightPage .ats-insight-hero p{
color:#fff;
}

#insightPage .ats-insight-hero span{
color:#c7d2fe;
}

#insightPage .ats-insight-hero h2{
font-size:29px;
max-width:760px;
}

.ats-insight-actions{
display:flex;
align-items:center;
gap:12px;
flex:0 0 auto;
}

.ats-insight-actions > span{
display:inline-flex !important;
align-items:center;
justify-content:center;
min-height:38px;
padding:0 13px;
border-radius:999px;
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.22);
font-size:11px !important;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
white-space:nowrap;
}

#insightPage .ats-insight-back-btn{
background:#fff;
color:var(--ats-ink);
border-color:rgba(255,255,255,.5);
box-shadow:0 14px 30px rgba(15,23,42,.22);
}

.ats-insight-decision-grid{
display:grid;
grid-template-columns:minmax(0,1.35fr) minmax(220px,.8fr) minmax(220px,.8fr);
gap:12px;
margin-bottom:16px;
}

.ats-insight-decision-grid article{
min-height:106px;
padding:16px 17px;
border:1px solid var(--ats-line);
border-radius:12px;
background:#fff;
box-shadow:var(--ats-shadow-sm);
position:relative;
overflow:hidden;
}

.ats-insight-decision-grid article::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:4px;
background:var(--ats-primary);
}

.ats-insight-decision-grid small{
display:block;
margin-bottom:10px;
font-size:11px;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
color:var(--ats-muted);
}

.ats-insight-decision-grid h3,
.ats-insight-decision-grid strong{
display:block;
margin:0 0 8px;
font-size:20px;
line-height:1.22;
font-weight:950;
color:var(--ats-ink);
}

.ats-insight-decision-grid p,
.ats-insight-decision-grid span{
margin:0;
font-size:13px;
line-height:1.5;
font-weight:800;
color:var(--ats-muted);
}

.ats-insight-decision-card{
background:linear-gradient(135deg,#ffffff,#f8fafc 70%,#eff6ff) !important;
}

#insightPage .ats-insight-kpis{
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
}

#insightPage .ats-insight-kpis article{
min-height:90px;
padding:16px 17px;
border-radius:12px;
box-shadow:0 10px 22px rgba(15,23,42,.055);
}

#insightPage .ats-insight-kpis strong{
font-size:30px;
}

#insightPage .ats-insight-layout{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:14px;
align-items:stretch;
}

#insightPage .insight-card{
border-radius:12px;
box-shadow:0 14px 34px rgba(15,23,42,.07);
padding:0;
overflow:hidden;
display:flex;
flex-direction:column;
min-height:360px;
}

#insightPage .insight-card-wide{
grid-column:auto;
grid-row:auto;
}

#insightPage .insight-card-head{
padding:18px 20px 14px;
margin:0;
border-bottom:1px solid var(--ats-line);
min-height:110px;
}

#insightPage .insight-card-head h3{
font-size:18px;
}

#insightPage .insight-chart-wrap{
height:238px;
padding:16px 18px 18px;
box-sizing:border-box;
flex:1 1 auto;
}

#insightPage .insight-chart-tall{
height:238px;
}

#insightPage .insight-card-wide .insight-chart-wrap{
padding:20px 22px 22px;
}

#insightPage .insight-donut-wrap{
height:238px;
}

#insightPage .ats-insight-layout .insight-card:nth-of-type(4){
grid-column:auto;
}

#insightPage .ats-insight-layout .insight-card:nth-of-type(4) .insight-chart-wrap{
height:238px;
max-width:none;
margin:0;
width:auto;
}

#insightPage .ats-ai-recommendation{
display:flex;
flex-direction:column;
gap:16px;
padding:0;
border:1px solid var(--ats-line);
background:var(--ats-surface);
overflow:hidden;
}

#insightPage .ats-ai-recommendation > div:first-child{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:18px;
padding:18px 20px;
border-bottom:1px solid var(--ats-line);
background:linear-gradient(135deg,#ffffff 0%,#f8fafc 72%,#eff6ff 100%);
}

#insightPage .ats-ai-recommendation > div:first-child h3{
margin:0 0 6px;
font-size:20px;
font-weight:950;
color:var(--ats-ink);
}

#insightPage .ats-ai-recommendation > div:first-child p{
margin:0;
font-size:13px;
font-weight:750;
color:var(--ats-muted);
}

#insightPage .ats-ai-recommendation #aiSummaryBox{
padding:0 20px 20px;
}

@media (max-width:1180px){
.ats-insight-actions{
align-items:stretch;
flex-direction:column;
}

.ats-insight-decision-grid{
grid-template-columns:1fr;
}

#insightPage .ats-insight-kpis{
grid-template-columns:repeat(2,minmax(0,1fr));
}

#insightPage .ats-insight-layout,
#insightPage .ats-ai-recommendation{
grid-template-columns:1fr;
}

#insightPage .insight-card-wide{
grid-row:auto;
}
}

@media (max-width:720px){
#insightPage .ats-insight-kpis{
grid-template-columns:1fr;
}
}

#insightPage .ats-education-signal-list{
display:grid;
gap:10px;
height:248px;
max-height:248px;
padding:16px 18px 18px;
overflow-y:auto;
overscroll-behavior:contain;
scrollbar-width:thin;
scrollbar-color:#cbd5e1 transparent;
align-content:start;
box-sizing:border-box;
flex:1 1 auto;
}

#insightPage .ats-education-signal-list::-webkit-scrollbar{
width:8px;
}

#insightPage .ats-education-signal-list::-webkit-scrollbar-track{
background:transparent;
}

#insightPage .ats-education-signal-list::-webkit-scrollbar-thumb{
background:#cbd5e1;
border-radius:999px;
}

#insightPage .ats-education-row{
padding:12px 13px;
border:1px solid var(--ats-line);
border-radius:10px;
background:linear-gradient(180deg,#ffffff,var(--ats-surface-soft));
}

#insightPage .ats-education-row-main{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:12px;
margin-bottom:9px;
}

#insightPage .ats-education-row-main span{
min-width:0;
font-size:13px;
font-weight:900;
line-height:1.35;
color:var(--ats-ink);
overflow-wrap:anywhere;
}

#insightPage .ats-education-row-main strong{
flex:0 0 auto;
font-size:12px;
font-weight:950;
color:var(--ats-primary-strong);
white-space:nowrap;
}

#insightPage .ats-education-meter{
height:8px;
border-radius:999px;
background:#e5e7eb;
overflow:hidden;
}

#insightPage .ats-education-meter span{
display:block;
height:100%;
width:var(--edu-percent);
border-radius:999px;
background:linear-gradient(90deg,#2563eb,#16a34a);
}

#insightPage .ats-education-row:nth-child(2) .ats-education-meter span{
background:linear-gradient(90deg,#4f46e5,#06b6d4);
}

#insightPage .ats-education-row:nth-child(3) .ats-education-meter span{
background:linear-gradient(90deg,#f59e0b,#ef4444);
}

#insightPage .ats-education-row:nth-child(4) .ats-education-meter span{
background:linear-gradient(90deg,#7c3aed,#ec4899);
}

#insightPage .ats-education-row small{
display:block;
margin-top:7px;
font-size:11px;
font-weight:850;
color:var(--ats-muted);
}

#insightPage .ats-education-empty{
min-height:170px;
display:flex;
align-items:center;
justify-content:center;
border:1px dashed var(--ats-line);
border-radius:10px;
font-size:13px;
font-weight:850;
color:var(--ats-muted);
background:var(--ats-surface-soft);
}

#insightPage #aiSummaryBox{
display:flex;
flex-direction:column;
gap:14px;
font-size:14px;
line-height:1.55;
color:var(--ats-ink);
}

#insightPage .ats-ai-summary-status{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
padding:12px 14px;
border-radius:10px;
background:linear-gradient(135deg,var(--ats-surface-soft),#ffffff);
border:1px solid var(--ats-line);
}

#insightPage .ats-ai-summary-status span{
display:inline-flex;
align-items:center;
min-height:26px;
padding:0 9px;
border-radius:999px;
font-size:11px;
font-weight:950;
letter-spacing:.06em;
text-transform:uppercase;
white-space:nowrap;
}

#insightPage .ats-ai-summary-status.is-loading span{
background:var(--ats-warning-soft);
border:1px solid var(--ats-warning-border);
color:var(--ats-warning);
}

#insightPage .ats-ai-summary-status.is-generated span{
background:var(--ats-success-soft);
border:1px solid var(--ats-success-border);
color:var(--ats-success);
}

#insightPage .ats-ai-summary-status.is-stored span{
background:var(--ats-indigo-soft);
border:1px solid var(--ats-indigo-border);
color:var(--ats-indigo);
}

#insightPage .ats-ai-summary-status strong{
font-size:15px;
font-weight:950;
line-height:1.25;
color:var(--ats-ink);
text-align:right;
}

#insightPage .ats-summary-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:10px;
}

#insightPage .ats-summary-grid article{
min-height:78px;
padding:13px 14px;
border:1px solid var(--ats-line);
border-radius:10px;
background:var(--ats-surface-soft);
}

#insightPage .ats-summary-grid small{
display:block;
margin-bottom:8px;
font-size:10.5px;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
color:var(--ats-muted);
}

#insightPage .ats-summary-grid strong{
display:block;
font-size:16px;
font-weight:950;
line-height:1.25;
color:var(--ats-ink);
overflow-wrap:anywhere;
}

#insightPage .ats-ai-profile-card{
display:grid;
grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);
gap:14px;
padding:15px;
border:1px solid var(--ats-line);
border-radius:12px;
background:linear-gradient(180deg,#ffffff,var(--ats-surface-soft));
}

#insightPage .ats-ai-narrative h4,
#insightPage .ats-ai-skill-card h4,
#insightPage .ats-ai-summary-lists h4{
margin:0 0 8px;
font-size:13px;
font-weight:950;
letter-spacing:.02em;
color:var(--ats-ink);
}

#insightPage .ats-ai-narrative p{
margin:0 0 10px;
font-size:13px;
font-weight:750;
line-height:1.62;
color:var(--ats-muted);
}

#insightPage .ats-ai-narrative p:last-child{
margin-bottom:0;
}

#insightPage .ats-ai-skill-card{
display:flex;
flex-direction:column;
gap:12px;
padding-left:14px;
border-left:1px solid var(--ats-line);
}

#insightPage .ats-ai-skill-row > span{
display:block;
margin-bottom:8px;
font-size:11px;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
color:var(--ats-muted);
}

#insightPage .ats-summary-pills{
display:flex;
align-items:flex-start;
flex-wrap:wrap;
gap:7px;
}

#insightPage .ats-summary-pills span{
display:inline-flex;
align-items:center;
min-height:26px;
padding:0 9px;
border-radius:999px;
font-size:12px;
font-weight:900;
line-height:1;
white-space:nowrap;
}

#insightPage .ats-summary-pills span.is-match{
background:var(--ats-success-soft);
border:1px solid var(--ats-success-border);
color:#15803d;
}

#insightPage .ats-summary-pills span.is-gap{
background:var(--ats-warning-soft);
border:1px solid var(--ats-warning-border);
color:var(--ats-warning);
}

#insightPage .ats-summary-pills .ats-summary-empty{
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
}

#insightPage .ats-ai-summary-lists{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:12px;
}

#insightPage .ats-ai-summary-lists article{
padding:14px;
border:1px solid var(--ats-line);
border-radius:10px;
background:#fff;
}

#insightPage .ats-ai-summary-lists ul{
display:grid;
gap:8px;
margin:0;
padding:0;
list-style:none;
}

#insightPage .ats-ai-summary-lists li{
position:relative;
padding-left:16px;
font-size:13px;
font-weight:750;
line-height:1.5;
color:var(--ats-muted);
overflow-wrap:anywhere;
}

#insightPage .ats-ai-summary-lists li::before{
content:"";
position:absolute;
left:0;
top:.62em;
width:6px;
height:6px;
border-radius:50%;
background:var(--ats-primary);
}

@media (max-width:1180px){
#insightPage .ats-ai-profile-card,
#insightPage .ats-ai-summary-lists{
grid-template-columns:1fr;
}

#insightPage .ats-ai-skill-card{
padding-left:0;
padding-top:14px;
border-left:0;
border-top:1px solid var(--ats-line);
}
}

@media (max-width:720px){
#insightPage .ats-ai-summary-status{
align-items:flex-start;
flex-direction:column;
}

#insightPage .ats-ai-summary-status strong{
text-align:left;
}

#insightPage .ats-summary-grid{
grid-template-columns:1fr;
}

#insightPage .ats-summary-pills span{
white-space:normal;
}
}

.ats-fixed-table table{
margin:0;
border-collapse:separate;
border-spacing:0;
width:max-content;
min-width:100%;
}

.ats-fixed-table thead th{
position:sticky;
top:0;
z-index:5;
background:#f3f4f6 !important;
box-shadow:0 1px 0 #e5e7eb;
}

.ats-fixed-table tbody tr:nth-child(even){
background:#f8fafc;
}

.ats-fixed-table tbody tr:hover{
background:#eef2ff;
}

.ats-fixed-table::-webkit-scrollbar{
width:10px;
height:10px;
}

.ats-fixed-table::-webkit-scrollbar-track{
background:#f8fafc;
border-radius:999px;
}

.ats-fixed-table::-webkit-scrollbar-thumb{
background:#c7d2fe;
border-radius:999px;
border:2px solid #f8fafc;
}

.ats-fixed-table::-webkit-scrollbar-thumb:hover{
background:#818cf8;
}

#resultsPage > .bg-indigo-50{
border-radius:12px !important;
padding:24px !important;
background:#eef2ff !important;
box-shadow:inset 0 0 0 1px rgba(99,102,241,.08);
}

#resultsPage h3,
#resultsPage .table-header h3{
color:#0f172a;
font-weight:800;
}

#resultsPage .bg-white.rounded-xl.shadow.p-6{
border-radius:10px !important;
box-shadow:0 10px 24px rgba(15,23,42,.06) !important;
border:1px solid #e5e7eb;
}

#resultsPage .bg-white.rounded-xl.shadow.p-6 .grid{
display:grid;
grid-template-columns:minmax(220px,1.4fr) minmax(150px,.8fr) minmax(120px,.5fr);
gap:14px !important;
align-items:end;
}

#resultsPage select,
#resultsPage input{
min-height:42px;
border:1px solid #d1d5db !important;
border-radius:8px !important;
font-size:14px;
background:white;
}

#resultsPage select:focus,
#resultsPage input:focus{
outline:2px solid rgba(99,102,241,.25);
border-color:#6366f1 !important;
}

#resultsPage button[onclick="applyShortlistFilter()"]{
min-height:42px;
border-radius:8px !important;
font-weight:800;
box-shadow:0 8px 18px rgba(37,99,235,.18);
}

#jobCards .job-card,
#communicationJobsContainer > div{
min-height:300px;
overflow:hidden;
}

#jobCards .job-title,
#communicationJobsContainer h3{
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

#columnPanel,
#shortlistColumnPanel{
box-shadow:0 12px 28px rgba(15,23,42,.08);
}

#columnPanel label,
#shortlistColumnPanel label{
display:inline-flex;
align-items:center;
gap:8px;
min-width:180px;
margin:5px 8px 5px 0;
font-size:14px;
}

#communicationResultsPage{
max-width:100%;
overflow:hidden;
}

#communicationResultsPage.ats-outreach-detail-page{
display:block;
color:var(--ats-ink);
}

#communicationResultsPage.ats-outreach-detail-page.hidden{
display:none;
}

.ats-comm-detail-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:22px;
padding:26px 28px;
margin-bottom:16px;
border:1px solid var(--ats-line);
border-radius:14px;
background:
linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#eef2ff 100%);
box-shadow:var(--ats-shadow-md);
position:relative;
overflow:hidden;
}

.ats-comm-detail-hero::after{
content:"";
position:absolute;
right:-80px;
bottom:-120px;
width:340px;
height:240px;
background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(79,70,229,.09));
transform:rotate(-18deg);
pointer-events:none;
}

.ats-comm-detail-hero > *{
position:relative;
z-index:1;
}

.ats-comm-detail-hero h2{
margin:6px 0 8px;
max-width:980px;
font-size:30px;
line-height:1.15;
font-weight:950;
color:var(--ats-ink);
}

.ats-comm-detail-hero p{
margin:0;
max-width:820px;
font-size:14px;
line-height:1.6;
font-weight:750;
color:var(--ats-muted);
}

.ats-comm-back-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:46px;
padding:0 18px;
border-radius:12px;
border:1px solid var(--ats-primary-border);
background:var(--ats-primary);
color:#fff;
font-size:14px;
font-weight:950;
white-space:nowrap;
box-shadow:0 14px 28px rgba(37,99,235,.20);
transition:transform .18s ease, box-shadow .18s ease;
}

.ats-comm-back-btn:hover{
transform:translateY(-1px);
box-shadow:0 18px 34px rgba(37,99,235,.24);
}

.ats-comm-detail-metrics{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
margin-bottom:16px;
}

.ats-comm-detail-metrics article{
min-height:104px;
padding:17px 18px;
border:1px solid var(--ats-line);
border-radius:12px;
background:linear-gradient(180deg,#fff,#f8fafc);
box-shadow:var(--ats-shadow-sm);
position:relative;
overflow:hidden;
}

.ats-comm-detail-metrics article::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:4px;
background:linear-gradient(90deg,var(--ats-primary),var(--ats-indigo));
}

.ats-comm-detail-metrics span{
display:block;
font-size:11px;
font-weight:950;
letter-spacing:.07em;
text-transform:uppercase;
color:var(--ats-muted);
}

.ats-comm-detail-metrics strong{
display:block;
margin:11px 0 6px;
font-size:28px;
line-height:1;
font-weight:950;
color:var(--ats-primary-strong);
}

.ats-comm-detail-metrics small{
font-size:12px;
font-weight:850;
color:var(--ats-subtle);
}

#communicationResultsPage .ats-comm-sender-panel{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:18px;
margin-bottom:18px;
border:1px solid var(--ats-line);
border-radius:14px;
background:#fff;
box-shadow:var(--ats-shadow-md);
}

#communicationResultsPage .ats-comm-sender-panel > div:first-child{
display:flex;
align-items:center;
gap:13px;
min-width:0;
}

.ats-comm-panel-icon{
display:inline-flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border-radius:12px;
background:var(--ats-indigo-soft);
border:1px solid var(--ats-indigo-border);
color:var(--ats-indigo);
font-size:12px;
font-weight:950;
letter-spacing:.04em;
flex:0 0 auto;
}

#communicationResultsPage .ats-comm-sender-panel h3{
font-size:18px;
font-weight:950;
}

#communicationResultsPage .ats-comm-sender-panel p{
max-width:820px;
font-size:13.5px;
line-height:1.5;
}

#communicationResultsPage .ats-sender-email-row{
display:flex;
align-items:center;
gap:10px;
margin-top:10px;
flex-wrap:wrap;
}

#communicationResultsPage .ats-sender-email-row input{
width:min(320px, 100%);
height:40px;
border:1px solid var(--ats-line);
border-radius:10px;
padding:0 12px;
font-size:13px;
font-weight:750;
color:var(--ats-text);
background:#fff;
outline:none;
}

#communicationResultsPage .ats-sender-email-row input:focus{
border-color:var(--ats-primary);
box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

#communicationResultsPage .ats-sender-email-row small{
font-size:12px;
font-weight:800;
color:var(--ats-subtle);
}

#communicationResultsPage .ats-comm-sender-panel .ats-gmail-connect-btn{
background:var(--ats-primary);
border-color:var(--ats-primary);
color:#fff;
box-shadow:0 12px 24px rgba(37,99,235,.15);
}

#communicationResultsPage .ats-comm-sender-panel .ats-gmail-connect-btn.is-secondary{
background:#fff;
border-color:var(--ats-primary-border);
color:var(--ats-primary-strong);
box-shadow:none;
}

.ats-comm-section{
margin-bottom:18px;
border:1px solid var(--ats-line);
border-radius:14px;
background:#fff;
box-shadow:var(--ats-shadow-md);
overflow:hidden;
}

.ats-comm-section-head{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:18px 20px;
border-bottom:1px solid var(--ats-line);
background:linear-gradient(180deg,#fff,#f8fafc);
}

.ats-comm-section-head span{
display:block;
margin-bottom:5px;
font-size:11px;
font-weight:950;
letter-spacing:.08em;
text-transform:uppercase;
color:var(--ats-primary);
}

.ats-comm-section.is-positive .ats-comm-section-head span{
color:#047857;
}

.ats-comm-section.is-waiting .ats-comm-section-head span{
color:#b45309;
}

.ats-comm-section.is-closed .ats-comm-section-head span{
color:#b91c1c;
}

.ats-comm-section-head h3{
margin:0;
font-size:19px;
line-height:1.25;
font-weight:950;
color:var(--ats-ink);
}

.ats-comm-section-head > strong{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
padding:0 13px;
border-radius:999px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-size:12px;
font-weight:950;
white-space:nowrap;
}

.ats-comm-section.is-positive .ats-comm-section-head > strong{
background:var(--ats-success-soft);
border-color:var(--ats-success-border);
color:#047857;
}

.ats-comm-section.is-waiting .ats-comm-section-head > strong{
background:#fffbeb;
border-color:#fde68a;
color:#b45309;
}

.ats-comm-section.is-closed .ats-comm-section-head > strong{
background:#fef2f2;
border-color:#fecaca;
color:#b91c1c;
}

#communicationResultsPage .ats-comm-section .ats-communication-scroll{
height:auto;
max-height:360px;
min-height:0;
margin:0;
border:0;
border-radius:0;
box-shadow:none;
overflow:auto;
}

#communicationResultsPage .ats-comm-section .dashboard-table{
border:0;
}

#communicationResultsPage .ats-comm-section .dashboard-table th{
background:#f8fafc !important;
height:48px;
font-size:11px;
color:#475569;
}

#communicationResultsPage .ats-comm-section .dashboard-table td{
height:58px;
border-top:1px solid var(--ats-line);
font-size:13px;
}

#communicationResultsPage .ats-comm-section .ats-empty-state{
height:68px;
padding:22px !important;
font-size:13.5px;
font-weight:850;
color:var(--ats-muted);
background:#fff;
}

@media (max-width: 1180px){
.ats-comm-detail-hero,
#communicationResultsPage .ats-comm-sender-panel{
flex-direction:column;
align-items:stretch;
}

.ats-comm-detail-metrics{
grid-template-columns:repeat(2,minmax(0,1fr));
}

#communicationResultsPage .ats-comm-sender-panel .ats-gmail-connect-btn,
.ats-comm-back-btn{
width:100%;
}
}

@media (max-width: 720px){
.ats-comm-detail-metrics{
grid-template-columns:1fr;
}

.ats-comm-section-head{
flex-direction:column;
align-items:flex-start;
}
}

#communicationResultsPage h2{
color:#0f172a;
}

#communicationResultsPage .dashboard-table{
width:100% !important;
min-width:100% !important;
table-layout:fixed;
border-collapse:separate;
border-spacing:0;
background:white;
}

#communicationResultsPage .ats-fixed-table{
width:100%;
}

#communicationResultsPage .dashboard-table th,
#communicationResultsPage .dashboard-table td{
overflow:hidden;
text-overflow:ellipsis;
padding:14px 12px !important;
vertical-align:middle;
text-align:left;
}

#communicationResultsPage .dashboard-table th:nth-child(1),
#communicationResultsPage .dashboard-table td:nth-child(1){
width:14%;
}

#communicationResultsPage .dashboard-table th:nth-child(2),
#communicationResultsPage .dashboard-table td:nth-child(2){
width:22%;
}

#communicationResultsPage .dashboard-table th:nth-child(3),
#communicationResultsPage .dashboard-table td:nth-child(3){
width:12%;
text-align:center;
}

#communicationResultsPage .dashboard-table th:nth-child(4),
#communicationResultsPage .dashboard-table td:nth-child(4){
width:15%;
text-align:center;
}

#communicationResultsPage .dashboard-table th:nth-child(5),
#communicationResultsPage .dashboard-table td:nth-child(5){
width:12%;
text-align:center;
}

#communicationResultsPage .dashboard-table th:nth-child(6),
#communicationResultsPage .dashboard-table td:nth-child(6){
width:25%;
text-align:center;
overflow:visible;
}

#communicationResultsPage .dashboard-table th:nth-child(3),
#communicationResultsPage .dashboard-table th:nth-child(4),
#communicationResultsPage .dashboard-table th:nth-child(5),
#communicationResultsPage .dashboard-table th:nth-child(6){
text-align:center;
}

#communicationResultsPage .ats-fixed-table{
border-radius:12px;
border:1px solid #e5e7eb;
box-shadow:0 12px 28px rgba(15,23,42,.06);
}

#communicationResultsPage .dashboard-table th{
background:#f8fafc !important;
color:#0f172a;
font-size:13px;
text-transform:uppercase;
letter-spacing:.04em;
}

#communicationResultsPage .dashboard-table td{
font-size:14px;
color:#111827;
}

.ats-score-pill,
.ats-status-pill,
.ats-next-step{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:5px 10px;
font-size:12px;
font-weight:800;
white-space:nowrap;
}

.ats-score-pill{
min-width:48px;
background:#eef2ff;
color:#4f46e5;
border:1px solid #c7d2fe;
}

.ats-next-step{
background:#f8fafc;
color:#334155;
border:1px solid #e2e8f0;
}

.ats-status-warn{
background:#fffbeb;
color:#b45309;
border:1px solid #fde68a;
}

.ats-status-info{
background:#eef2ff;
color:#4338ca;
border:1px solid #c7d2fe;
}

.ats-status-success{
background:#ecfdf5;
color:#047857;
border:1px solid #a7f3d0;
}

.ats-status-danger{
background:#fef2f2;
color:#b91c1c;
border:1px solid #fecaca;
}

.ats-send-btn{
min-width:96px;
min-height:36px;
border-radius:8px !important;
font-weight:800;
box-shadow:0 8px 16px rgba(37,99,235,.18);
}

.ats-response-actions{
display:flex;
align-items:center;
justify-content:center;
gap:8px;
flex-wrap:nowrap;
min-width:max-content;
}

.ats-response-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
border:0;
border-radius:8px;
padding:8px 10px;
font-size:11.5px;
font-weight:800;
color:white;
cursor:pointer;
white-space:nowrap;
line-height:1;
transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.ats-response-btn:hover{
transform:translateY(-1px);
}

.ats-response-btn.is-interested{
background:#16a34a;
box-shadow:0 8px 16px rgba(22,163,74,.16);
}

.ats-response-btn.is-not-interested{
background:#ef4444;
box-shadow:0 8px 16px rgba(239,68,68,.16);
}

.ats-test-result{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:32px;
border-radius:999px;
padding:7px 11px;
font-size:11.5px;
font-weight:900;
white-space:nowrap;
}

.ats-test-result.is-pass{
color:#047857;
background:#ecfdf5;
border:1px solid #86efac;
}

.ats-test-result.is-review{
color:#b45309;
background:#fffbeb;
border:1px solid #fcd34d;
}

.ats-mini-action-btn,
.ats-pipeline-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:34px;
border:0;
border-radius:8px;
padding:8px 11px;
font-size:11.5px;
font-weight:900;
white-space:nowrap;
transition:transform .15s ease, box-shadow .15s ease, filter .15s ease, opacity .15s ease;
}

.ats-mini-action-btn{
color:#1d4ed8;
background:#eff6ff;
border:1px solid #bfdbfe;
}

.ats-pipeline-btn.is-ready{
color:white;
background:#7c3aed;
box-shadow:0 10px 18px rgba(124,58,237,.24);
cursor:pointer;
}

.ats-pipeline-btn.is-ready:hover{
transform:translateY(-1px);
}

.ats-pipeline-btn.is-locked{
color:#64748b;
background:#f1f5f9;
border:1px solid #cbd5e1;
filter:blur(.6px);
opacity:.55;
cursor:not-allowed;
}

.ats-interview-page{
background:#f6f8fc;
min-height:calc(100vh - 64px);
}

.ats-interview-hero{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:18px;
margin-bottom:18px;
}

.ats-page-kicker{
display:block;
font-size:11px;
font-weight:900;
letter-spacing:.12em;
text-transform:uppercase;
color:#4f46e5;
margin-bottom:6px;
}

.ats-interview-hero h2{
font-size:26px;
font-weight:950;
color:#0f172a;
margin:0 0 5px;
}

.ats-interview-hero p{
font-size:13px;
font-weight:650;
color:#64748b;
margin:0;
max-width:720px;
}

.ats-interview-toolbar{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
justify-content:flex-end;
}

.ats-interview-icon-btn,
.ats-interview-primary-btn,
.ats-interview-primary-small,
.ats-interview-secondary-btn{
display:inline-flex;
align-items:center;
justify-content:center;
border:0;
border-radius:8px;
font-size:12px;
font-weight:900;
line-height:1;
white-space:nowrap;
cursor:pointer;
transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ats-interview-icon-btn{
min-height:36px;
padding:9px 12px;
color:#334155;
background:white;
border:1px solid #dbe3ef;
}

.ats-interview-primary-btn,
.ats-interview-primary-small{
color:white;
background:#2563eb;
box-shadow:0 10px 20px rgba(37,99,235,.2);
}

.ats-interview-primary-btn{
min-height:36px;
padding:10px 14px;
}

.ats-interview-primary-small{
min-height:30px;
padding:8px 10px;
}

.ats-interview-secondary-btn{
min-height:30px;
padding:8px 10px;
color:#334155;
background:#f8fafc;
border:1px solid #dbe3ef;
}

.ats-interview-icon-btn:hover,
.ats-interview-primary-btn:hover,
.ats-interview-primary-small:hover,
.ats-interview-secondary-btn:hover{
transform:translateY(-1px);
}

.ats-interview-summary{
display:grid;
grid-template-columns:repeat(5,minmax(0,1fr));
gap:12px;
margin-bottom:16px;
}

.ats-interview-summary div{
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
padding:14px;
box-shadow:0 10px 24px rgba(15,23,42,.06);
min-width:0;
}

.ats-interview-summary small{
display:block;
font-size:11px;
font-weight:900;
color:#64748b;
text-transform:uppercase;
letter-spacing:.04em;
margin-bottom:8px;
}

.ats-interview-summary span{
display:block;
font-size:25px;
font-weight:950;
color:#1d4ed8;
line-height:1;
}

.ats-interview-summary strong{
display:block;
font-size:11px;
font-weight:800;
color:#94a3b8;
margin-top:7px;
}

.ats-interview-commandbar{
display:flex;
align-items:center;
gap:12px;
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 12px 28px rgba(15,23,42,.06);
padding:12px;
margin-bottom:14px;
flex-wrap:wrap;
}

.ats-interview-search{
display:flex;
align-items:center;
gap:9px;
min-width:280px;
flex:1 1 320px;
height:40px;
border:1px solid #dbe3ef;
border-radius:8px;
background:#f8fafc;
padding:0 11px;
}

.ats-interview-search span{
font-size:11px;
font-weight:950;
letter-spacing:.05em;
text-transform:uppercase;
color:#64748b;
}

.ats-interview-search input{
border:0;
outline:0;
background:transparent;
width:100%;
font-size:13px;
font-weight:750;
color:#0f172a;
}

.ats-filter-chips{
display:flex;
align-items:center;
gap:7px;
flex-wrap:wrap;
}

.ats-filter-chip{
height:34px;
border:1px solid #dbe3ef;
border-radius:999px;
background:#f8fafc;
color:#475569;
font-size:12px;
font-weight:900;
padding:0 12px;
cursor:pointer;
transition:background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}

.ats-filter-chip:hover{
transform:translateY(-1px);
}

.ats-filter-chip.is-active{
background:#eef2ff;
border-color:#a5b4fc;
color:#3730a3;
}

.ats-compact-filters{
display:flex;
align-items:center;
gap:8px;
flex-wrap:wrap;
}

.ats-compact-filters select,
.ats-compact-filters input{
height:34px;
border:1px solid #dbe3ef;
border-radius:8px;
background:white;
color:#334155;
font-size:12px;
font-weight:850;
padding:0 9px;
outline:none;
}

.ats-interview-workflow{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:12px;
margin-bottom:14px;
padding-bottom:2px;
}

.ats-workflow-column{
background:#f8fafc;
border:1px solid #e2e8f0;
border-radius:8px;
padding:10px;
min-height:280px;
min-width:0;
overflow:hidden;
}

.ats-workflow-heading{
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
margin-bottom:9px;
}

.ats-workflow-heading span{
font-size:12px;
font-weight:950;
color:#0f172a;
}

.ats-workflow-heading strong{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:24px;
height:24px;
border-radius:999px;
background:white;
border:1px solid #dbe3ef;
font-size:11px;
font-weight:950;
color:#475569;
}

.ats-workflow-list{
display:grid;
gap:9px;
max-height:420px;
overflow:auto;
padding-right:2px;
}

.ats-workflow-card{
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
padding:10px;
box-shadow:0 8px 18px rgba(15,23,42,.055);
transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
min-width:0;
}

.ats-workflow-card:hover{
transform:translateY(-2px);
box-shadow:0 14px 26px rgba(15,23,42,.095);
border-color:#c7d2fe;
}

.ats-workflow-card-top{
display:flex;
align-items:center;
gap:9px;
min-width:0;
}

.ats-workflow-card-top > div{
min-width:0;
}

.ats-workflow-card h4{
font-size:13px;
font-weight:950;
color:#0f172a;
margin:0;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-workflow-card p{
font-size:11.5px;
font-weight:800;
color:#64748b;
margin:3px 0 0;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-workflow-card-meta{
display:flex;
gap:6px;
flex-wrap:wrap;
margin:10px 0;
}

.ats-workflow-card-meta span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:24px;
border-radius:999px;
padding:5px 8px;
font-size:10.5px;
font-weight:900;
color:#475569;
background:#f1f5f9;
border:1px solid #e2e8f0;
}

.ats-workflow-card-footer{
display:grid;
gap:8px;
}

.ats-card-actions{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:6px;
}

.ats-card-actions button{
height:28px;
border:1px solid #dbe3ef;
border-radius:7px;
background:#f8fafc;
color:#334155;
font-size:10.5px;
font-weight:900;
cursor:pointer;
transition:background .15s ease, transform .15s ease;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-card-actions button:hover{
background:#eef2ff;
transform:translateY(-1px);
}

.ats-interview-empty-state{
border:1px dashed #cbd5e1;
border-radius:8px;
background:white;
padding:16px 12px;
text-align:center;
}

.ats-empty-mark{
width:34px;
height:34px;
border-radius:8px;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 9px;
background:#eef2ff;
color:#4f46e5;
font-size:12px;
font-weight:950;
}

.ats-interview-empty-state h4{
font-size:12px;
font-weight:950;
color:#0f172a;
margin:0 0 4px;
}

.ats-interview-empty-state p{
font-size:11px;
font-weight:700;
line-height:1.35;
color:#64748b;
margin:0 0 10px;
}

.ats-interview-grid{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
gap:14px;
margin-bottom:14px;
}

.ats-interview-panel{
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 14px 34px rgba(15,23,42,.07);
padding:14px;
min-width:0;
}

.ats-panel-heading{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:12px;
margin-bottom:12px;
}

.ats-panel-heading h3{
font-size:15px;
font-weight:950;
color:#0f172a;
margin:0 0 3px;
}

.ats-panel-heading p{
font-size:12px;
font-weight:650;
color:#64748b;
margin:0;
}

.ats-panel-heading > span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
border-radius:999px;
padding:6px 10px;
font-size:11px;
font-weight:900;
color:#1d4ed8;
background:#eff6ff;
border:1px solid #bfdbfe;
white-space:nowrap;
}

.ats-interview-card-list{
display:grid;
gap:10px;
max-height:330px;
overflow:auto;
padding-right:2px;
}

.ats-interview-card{
border:1px solid #e2e8f0;
border-radius:8px;
padding:12px;
background:#fbfdff;
}

.ats-interview-card-main{
display:flex;
align-items:center;
gap:10px;
min-width:0;
}

.ats-candidate-avatar{
width:36px;
height:36px;
border-radius:8px;
display:flex;
align-items:center;
justify-content:center;
color:white;
background:#4f46e5;
font-size:13px;
font-weight:950;
flex:0 0 auto;
}

.ats-interview-card h4{
font-size:13px;
font-weight:950;
color:#0f172a;
margin:0;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-interview-card p{
font-size:12px;
font-weight:750;
color:#64748b;
margin:3px 0 0;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-interview-card-meta{
display:flex;
gap:7px;
flex-wrap:wrap;
margin:10px 0;
}

.ats-interview-card-meta span,
.ats-round-pill,
.ats-date-pill{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
border-radius:999px;
padding:6px 9px;
font-size:11px;
font-weight:900;
white-space:nowrap;
}

.ats-interview-card-meta span,
.ats-date-pill{
color:#475569;
background:#f1f5f9;
border:1px solid #e2e8f0;
}

.ats-round-pill{
color:#6d28d9;
background:#f5f3ff;
border:1px solid #ddd6fe;
}

.ats-meeting-pill{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
border-radius:999px;
padding:6px 10px;
font-size:11px;
font-weight:950;
white-space:nowrap;
color:#0369a1;
background:#f0f9ff;
border:1px solid #bae6fd;
}

.ats-interview-status{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:7px 10px;
font-size:11px;
font-weight:950;
white-space:nowrap;
}

.ats-interview-status.is-pending{
color:#b45309;
background:#fffbeb;
border:1px solid #fcd34d;
}

.ats-interview-status.is-complete{
color:#047857;
background:#ecfdf5;
border:1px solid #86efac;
}

.ats-interview-status.is-rescheduled{
color:#6d28d9;
background:#f5f3ff;
border:1px solid #ddd6fe;
}

.ats-interview-card-actions,
.ats-interview-actions{
display:flex;
align-items:center;
gap:7px;
flex-wrap:wrap;
}

.ats-interview-actions > button{
min-width:82px;
}

.ats-interview-table-panel{
padding:0;
overflow:hidden;
}

.ats-interview-table-panel .ats-panel-heading{
padding:14px 14px 0;
}

.ats-interview-table-scroll{
overflow:auto;
max-height:430px;
}

.ats-interview-table{
min-width:980px;
border-collapse:separate;
border-spacing:0;
}

.ats-interview-table th{
position:sticky;
top:0;
z-index:1;
height:48px;
background:#f8fafc;
font-size:11px;
font-weight:950;
letter-spacing:.04em;
text-transform:uppercase;
color:#475569;
}

.ats-interview-table td{
height:70px;
vertical-align:middle;
transition:background .15s ease;
}

.ats-interview-table tbody tr:hover td{
background:#f8fbff;
}

.ats-table-candidate,
.ats-muted-line{
display:block;
}

.ats-table-candidate{
font-size:13px;
font-weight:950;
color:#0f172a;
}

.ats-muted-line{
font-size:11px;
font-weight:700;
color:#64748b;
margin-top:4px;
}

.ats-interview-empty{
border:1px dashed #cbd5e1;
border-radius:8px;
background:#f8fafc;
color:#64748b;
font-size:12px;
font-weight:800;
padding:18px;
text-align:center;
}

@media (max-width:1180px){
.ats-candidate-profile-grid{
grid-template-columns:1fr;
}

.ats-candidate-hero-panel{
position:relative;
top:auto;
}

.ats-candidate-skills-panel,
.ats-candidate-ai-panel{
grid-column:auto;
}

.ats-interview-summary{
grid-template-columns:repeat(2,minmax(0,1fr));
}
.ats-interview-grid{
grid-template-columns:1fr;
}
.ats-interview-hero{
flex-direction:column;
}
.ats-interview-toolbar{
justify-content:flex-start;
}
}

@media (max-width:860px){
.ats-interview-summary{
grid-template-columns:1fr;
}
.ats-interview-commandbar{
align-items:stretch;
}
.ats-interview-search,
.ats-compact-filters{
flex:1 1 100%;
}
}

.ats-pending-response-table th,
.ats-pending-response-table td{
height:74px;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(1),
#communicationResultsPage .ats-pending-response-table td:nth-child(1){
width:13%;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(2),
#communicationResultsPage .ats-pending-response-table td:nth-child(2){
width:20%;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(3),
#communicationResultsPage .ats-pending-response-table td:nth-child(3){
width:10%;
text-align:center;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(4),
#communicationResultsPage .ats-pending-response-table td:nth-child(4){
width:13%;
text-align:center;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(5),
#communicationResultsPage .ats-pending-response-table td:nth-child(5){
width:17%;
text-align:center;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(6),
#communicationResultsPage .ats-pending-response-table td:nth-child(6){
width:16%;
text-align:center;
overflow:visible !important;
}

#communicationResultsPage .ats-pending-response-table th:nth-child(7),
#communicationResultsPage .ats-pending-response-table td:nth-child(7){
width:11%;
text-align:center;
}

.ats-pending-response-table .ats-status-pill,
.ats-pending-response-table .ats-next-step{
min-width:92px;
}

.ats-pending-response-table .ats-response-actions{
justify-content:center;
flex-wrap:nowrap;
gap:8px;
}

.ats-response-actions-row{
display:flex !important;
flex-direction:row !important;
align-items:center !important;
justify-content:center !important;
flex-wrap:nowrap !important;
gap:8px !important;
width:100%;
white-space:nowrap;
}

.ats-response-actions-row .ats-response-btn{
display:inline-flex !important;
width:auto !important;
min-width:92px !important;
max-width:108px;
flex:0 0 auto !important;
}

.ats-pending-response-table .ats-response-btn{
min-width:92px;
padding-left:9px;
padding-right:9px;
}

#communicationResultsPage .ats-pending-response-table{
min-width:1040px !important;
}

body.ats-focus-page #communicationResultsPage .ats-fixed-table{
max-width:100%;
overflow-x:auto;
}

body.ats-focus-page #communicationResultsPage .ats-pending-response-table{
min-width:100% !important;
}

body.ats-focus-page #communicationResultsPage .ats-pending-response-table th:nth-child(6),
body.ats-focus-page #communicationResultsPage .ats-pending-response-table td:nth-child(6){
width:15%;
overflow:hidden !important;
}

body.ats-focus-page #communicationResultsPage .ats-pending-response-table .ats-response-actions,
body.ats-focus-page #communicationResultsPage .ats-response-actions-row{
flex-wrap:wrap !important;
white-space:normal;
}

body.ats-focus-page #communicationResultsPage .ats-response-actions-row .ats-response-btn{
min-width:0 !important;
max-width:none;
flex:1 1 84px !important;
}

body.ats-focus-page #communicationResultsPage .ats-test-result,
body.ats-focus-page #communicationResultsPage .ats-pipeline-btn{
max-width:100%;
white-space:normal;
}

@media (max-width: 1180px){
#communicationResultsPage .ats-pending-response-table th:nth-child(6),
#communicationResultsPage .ats-pending-response-table td:nth-child(6){
width:24%;
}

.ats-pending-response-table .ats-response-btn{
min-width:98px;
font-size:11px;
}
}

button:disabled{
opacity:.65;
cursor:not-allowed;
}

#dashboardPage.ats-jobs-dashboard,
#dashboardPage{
background:#f6f8fc;
}

#dashboardPage > :not(.ats-dashboard-redesign){
display:none !important;
}

.ats-dashboard-redesign{
display:grid;
gap:18px;
padding-bottom:34px;
}

.ats-dashboard-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:24px;
padding:26px 28px;
border:1px solid rgba(37,99,235,.16);
border-radius:8px;
background:
linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,251,255,.96) 55%,rgba(236,253,245,.74)),
linear-gradient(90deg,#2563eb,#16a34a);
box-shadow:0 18px 44px rgba(15,23,42,.08);
position:relative;
overflow:hidden;
isolation:isolate;
}

.ats-dashboard-hero::after{
content:"";
position:absolute;
inset:auto -80px -120px auto;
width:320px;
height:220px;
background:linear-gradient(135deg,rgba(37,99,235,.13),rgba(22,163,74,.14));
transform:rotate(-18deg);
z-index:-1;
}

.ats-dashboard-hero h2{
font-size:30px;
line-height:1.16;
font-weight:950;
color:#0f172a;
margin:0 0 8px;
letter-spacing:0;
}

.ats-dashboard-hero p{
font-size:14px;
line-height:1.6;
font-weight:650;
color:#64748b;
max-width:780px;
margin:0;
}

.ats-dashboard-hero-actions{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
justify-content:flex-end;
}

.ats-dashboard-primary-action{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:44px;
border:0;
border-radius:8px;
padding:0 18px;
background:#2563eb;
color:white;
font-size:13px;
font-weight:950;
white-space:nowrap;
box-shadow:0 10px 20px rgba(37,99,235,.2);
transition:transform .15s ease, box-shadow .15s ease;
}

.ats-dashboard-primary-action:hover{
transform:translateY(-1px);
box-shadow:0 14px 26px rgba(37,99,235,.24);
}

.ats-dashboard-secondary-action{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:44px;
border:1px solid #cbd5e1;
border-radius:8px;
padding:0 18px;
background:white;
color:#334155;
font-size:13px;
font-weight:950;
white-space:nowrap;
box-shadow:0 10px 18px rgba(15,23,42,.06);
transition:transform .15s ease, border-color .15s ease, color .15s ease;
}

.ats-dashboard-secondary-action:hover{
transform:translateY(-1px);
border-color:#93c5fd;
color:#1d4ed8;
}

.ats-dashboard-stats{
display:grid !important;
grid-template-columns:repeat(4,minmax(0,1fr)) !important;
gap:14px !important;
margin:0 !important;
}

.ats-dashboard-stats .stat-card{
position:relative;
overflow:hidden;
min-height:138px;
display:grid;
align-content:center;
gap:7px;
border:1px solid #e2e8f0 !important;
border-radius:8px !important;
background:linear-gradient(180deg,#ffffff,#f8fafc) !important;
box-shadow:0 14px 34px rgba(15,23,42,.075) !important;
padding:20px !important;
cursor:default;
isolation:isolate;
transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ats-dashboard-stats .stat-card:hover{
transform:translateY(-2px);
border-color:#c7d2fe !important;
box-shadow:0 18px 38px rgba(15,23,42,.105) !important;
}

.ats-dashboard-stats .stat-card::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:4px;
background:var(--ats-stat-accent,#2563eb);
}

.ats-dashboard-stats .stat-card::after{
content:"";
position:absolute;
right:-34px;
top:-44px;
width:124px;
height:124px;
border-radius:50%;
background:var(--ats-stat-soft,rgba(37,99,235,.08));
z-index:-1;
}

.ats-stat-blue{
--ats-stat-accent:#2563eb;
--ats-stat-soft:rgba(37,99,235,.09);
}

.ats-stat-green{
--ats-stat-accent:#16a34a;
--ats-stat-soft:rgba(22,163,74,.09);
}

.ats-stat-violet{
--ats-stat-accent:#4f46e5;
--ats-stat-soft:rgba(79,70,229,.10);
}

.ats-stat-amber{
--ats-stat-accent:#f59e0b;
--ats-stat-soft:rgba(245,158,11,.13);
}

.ats-stat-icon{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:white;
color:var(--ats-stat-accent,#4338ca);
font-size:11px;
font-weight:950;
letter-spacing:.02em;
box-shadow:inset 0 0 0 1px rgba(148,163,184,.22),0 8px 18px rgba(15,23,42,.06);
}

.ats-dashboard-stats .stat-label{
font-size:12px !important;
font-weight:950 !important;
letter-spacing:.06em;
text-transform:uppercase;
color:#64748b !important;
}

.ats-dashboard-stats .stat-value{
font-size:32px !important;
line-height:1;
font-weight:950 !important;
color:#0f172a;
margin:0 !important;
}

.ats-dashboard-stats small{
font-size:12px;
font-weight:800;
color:#94a3b8;
}

.ats-dashboard-main-grid{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(280px,.34fr);
gap:18px;
align-items:stretch;
}

.ats-dashboard-main-grid .dashboard-graph-card,
.ats-dashboard-action-panel,
.ats-dashboard-redesign .dashboard-table-card{
border:1px solid #e2e8f0 !important;
border-radius:8px !important;
background:white !important;
box-shadow:0 14px 34px rgba(15,23,42,.075) !important;
}

.ats-dashboard-main-grid .dashboard-graph-card{
padding:22px !important;
margin:0 !important;
height:100% !important;
min-height:392px !important;
display:flex;
flex-direction:column;
}

.ats-dashboard-main-grid .dashboard-graph-card .graph-container{
flex:1 1 auto;
height:auto !important;
min-height:320px;
padding-bottom:0;
}

.ats-dashboard-main-grid .dashboard-graph-card .graph-container canvas{
width:100% !important;
height:100% !important;
}

.ats-source-analytics-card{
overflow:hidden;
}

.ats-source-analytics-list{
display:grid;
gap:10px;
grid-template-rows:auto minmax(0,1fr);
min-height:0;
}

.ats-source-summary{
display:grid;
grid-template-columns:82px minmax(0,1fr);
gap:8px;
padding:8px;
border:1px solid #e2e8f0;
border-radius:8px;
background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(20,184,166,.08)),#f8fafc;
}

.ats-source-total,
.ats-source-leader{
display:grid;
gap:2px;
min-width:0;
}

.ats-source-total{
place-items:center;
border-radius:8px;
background:white;
box-shadow:inset 0 0 0 1px rgba(148,163,184,.22);
}

.ats-source-total span,
.ats-source-leader span{
font-size:10px;
font-weight:950;
letter-spacing:.08em;
text-transform:uppercase;
color:#64748b;
}

.ats-source-total strong{
font-size:22px;
line-height:1;
font-weight:950;
color:#0f172a;
}

.ats-source-leader{
align-content:center;
}

.ats-source-leader strong{
font-size:14px;
font-weight:950;
line-height:1.15;
color:#0f172a;
}

.ats-source-leader small{
font-size:10.5px;
font-weight:800;
color:#475569;
}

.ats-source-list{
display:grid;
gap:6px;
max-height:300px;
overflow-y:auto;
padding-right:3px;
min-height:0;
}

.ats-source-list::-webkit-scrollbar{
width:7px;
}

.ats-source-list::-webkit-scrollbar-track{
background:#eef2f7;
border-radius:999px;
}

.ats-source-list::-webkit-scrollbar-thumb{
background:#cbd5e1;
border-radius:999px;
}

.ats-source-row{
display:grid;
grid-template-columns:30px minmax(0,1fr) 24px;
align-items:center;
gap:7px;
padding:6px 8px;
border:1px solid #e2e8f0;
border-radius:8px;
background:#ffffff;
box-shadow:0 8px 18px rgba(15,23,42,.045);
}

.ats-source-row.is-empty{
opacity:.58;
box-shadow:none;
}

.ats-source-icon{
width:28px;
height:28px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:#eff6ff;
color:var(--source-color);
font-size:10px;
font-weight:950;
box-shadow:inset 0 0 0 1px rgba(148,163,184,.22);
}

.ats-source-main{
display:grid;
gap:4px;
min-width:0;
}

.ats-source-label-line{
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
}

.ats-source-label-line strong{
font-size:11.5px;
font-weight:950;
color:#0f172a;
line-height:1.15;
}

.ats-source-label-line span{
font-size:10px;
font-weight:950;
color:var(--source-color);
white-space:nowrap;
}

.ats-source-bar{
height:6px;
border-radius:999px;
background:#e5e7eb;
overflow:hidden;
}

.ats-source-bar i{
display:block;
height:100%;
width:var(--source-pct);
min-width:var(--source-pct);
border-radius:inherit;
background:linear-gradient(90deg,var(--source-color),#22d3ee);
box-shadow:0 4px 12px rgba(37,99,235,.14);
}

.ats-source-row.is-empty .ats-source-bar i{
width:0;
min-width:0;
box-shadow:none;
}

.ats-source-row > b{
font-size:12.5px;
font-weight:950;
color:#0f172a;
text-align:right;
}

.ats-source-empty{
min-height:220px;
display:grid;
place-items:center;
align-content:center;
gap:8px;
text-align:center;
padding:22px;
border:1px dashed #cbd5e1;
border-radius:8px;
background:linear-gradient(180deg,#f8fafc,#ffffff);
color:#64748b;
}

.ats-source-empty-icon{
width:46px;
height:46px;
display:grid;
place-items:center;
border-radius:12px;
background:#eff6ff;
color:#2563eb;
font-size:12px;
font-weight:950;
}

.ats-source-empty strong{
font-size:15px;
font-weight:950;
color:#0f172a;
}

.ats-source-empty span{
font-size:12.5px;
font-weight:750;
line-height:1.45;
max-width:240px;
}

.ats-job-volume-widget{
display:grid;
grid-template-rows:auto minmax(0,1fr);
gap:14px;
height:100%;
min-height:0;
}

.ats-job-volume-summary{
display:grid;
grid-template-columns:128px minmax(0,1fr);
gap:10px;
padding:10px;
border:1px solid #e2e8f0;
border-radius:8px;
background:
linear-gradient(135deg,rgba(37,99,235,.10),rgba(20,184,166,.09)),
#f8fafc;
}

.ats-job-volume-total,
.ats-job-volume-leader{
display:grid;
min-width:0;
}

.ats-job-volume-total{
place-items:center;
gap:3px;
border-radius:8px;
background:#ffffff;
box-shadow:inset 0 0 0 1px rgba(148,163,184,.24),0 10px 24px rgba(15,23,42,.05);
}

.ats-job-volume-total span,
.ats-job-volume-leader span{
font-size:10px;
font-weight:950;
letter-spacing:.08em;
text-transform:uppercase;
color:#64748b;
}

.ats-job-volume-total strong{
font-size:30px;
line-height:1;
font-weight:950;
color:#0f172a;
}

.ats-job-volume-leader{
align-content:center;
gap:3px;
padding:5px 2px;
}

.ats-job-volume-leader strong{
font-size:18px;
font-weight:950;
line-height:1.15;
color:#0f172a;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-job-volume-leader small{
font-size:12px;
font-weight:800;
color:#475569;
}

.ats-job-volume-list{
display:grid;
gap:10px;
align-content:start;
min-height:0;
max-height:250px;
overflow-y:auto;
padding:2px 4px 2px 0;
}

.ats-job-volume-list::-webkit-scrollbar{
width:7px;
}

.ats-job-volume-list::-webkit-scrollbar-track{
background:#eef2f7;
border-radius:999px;
}

.ats-job-volume-list::-webkit-scrollbar-thumb{
background:#cbd5e1;
border-radius:999px;
}

.ats-job-volume-row{
padding:13px;
border:1px solid #e2e8f0;
border-radius:8px;
background:
linear-gradient(180deg,#ffffff,#f8fafc);
box-shadow:0 10px 24px rgba(15,23,42,.055);
}

.ats-job-volume-row.is-empty{
opacity:.68;
box-shadow:none;
}

.ats-job-volume-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
}

.ats-job-volume-top > div{
display:grid;
gap:2px;
min-width:0;
}

.ats-job-volume-top strong{
font-size:14px;
font-weight:950;
line-height:1.2;
color:#0f172a;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.ats-job-volume-top span{
font-size:11.5px;
font-weight:800;
color:#64748b;
}

.ats-job-volume-top b{
min-width:38px;
height:30px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:999px;
background:#0f172a;
color:#ffffff;
font-size:14px;
font-weight:950;
box-shadow:0 10px 22px rgba(15,23,42,.18);
}

.ats-job-volume-track{
height:12px;
margin-top:11px;
border-radius:999px;
background:#e5e7eb;
overflow:hidden;
box-shadow:inset 0 1px 2px rgba(15,23,42,.06);
}

.ats-job-volume-track i{
display:block;
height:100%;
width:var(--job-pct);
min-width:9px;
border-radius:inherit;
background:linear-gradient(90deg,#2563eb 0%,#7c3aed 55%,#14b8a6 100%);
box-shadow:0 8px 18px rgba(37,99,235,.18);
}

.ats-job-volume-row:nth-child(2n) .ats-job-volume-track i{
background:linear-gradient(90deg,#2563eb 0%,#6366f1 52%,#0ea5e9 100%);
}

.ats-job-volume-row.is-empty .ats-job-volume-track i{
width:0;
min-width:0;
box-shadow:none;
}

@media (max-width:720px){
.ats-job-volume-summary{
grid-template-columns:1fr;
}
}

.ats-dashboard-action-panel{
padding:22px;
display:grid;
grid-column:1 / -1;
grid-template-rows:auto auto auto;
gap:0;
overflow:hidden;
}

.ats-dashboard-card-head,
.ats-dashboard-table-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
padding-bottom:14px;
border-bottom:1px solid #edf2f7;
margin-bottom:14px;
}

.ats-dashboard-card-head h2,
.ats-dashboard-table-head h3{
font-size:18px;
font-weight:950;
color:#0f172a;
margin:0;
}

.ats-dashboard-card-head p,
.ats-dashboard-table-head p{
font-size:13px;
font-weight:650;
line-height:1.45;
color:#64748b;
margin:4px 0 0;
}

.ats-dashboard-card-head > span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
background:#ecfdf5;
color:#047857;
font-size:11px;
font-weight:950;
white-space:nowrap;
}

.ats-dashboard-action-panel .dashboard-action-grid{
display:grid !important;
grid-template-columns:repeat(4,minmax(0,1fr)) !important;
gap:14px !important;
margin:0 !important;
align-content:stretch;
}

.ats-dashboard-action-panel .dashboard-action-grid button{
min-height:82px;
display:grid;
grid-template-columns:46px minmax(0,1fr) auto;
align-items:center;
gap:14px;
justify-content:initial;
text-align:left;
padding:15px 16px !important;
border-radius:8px !important;
box-shadow:0 8px 18px rgba(15,23,42,.06) !important;
border:1px solid transparent;
color:#0f172a;
background:#f8fafc;
position:relative;
overflow:hidden;
}

.ats-dashboard-action-panel .dashboard-action-grid button::after{
content:"";
position:absolute;
inset:0 auto 0 0;
width:4px;
background:currentColor;
opacity:.75;
}

.ats-dashboard-action-panel .dashboard-action-grid button:hover{
transform:translateY(-2px);
box-shadow:0 16px 30px rgba(15,23,42,.12) !important;
filter:saturate(1.04);
}

.ats-dashboard-action-panel .dashboard-action-grid button:hover .ats-action-arrow{
background:currentColor;
color:white;
border-color:currentColor;
}

.ats-action-badge{
width:42px;
height:42px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:white;
box-shadow:inset 0 0 0 1px rgba(148,163,184,.22),0 8px 18px rgba(15,23,42,.06);
font-size:11px;
font-weight:950;
letter-spacing:.03em;
color:currentColor;
}

.ats-action-copy{
display:grid;
gap:3px;
min-width:0;
}

.ats-action-copy strong{
font-size:15px;
line-height:1.15;
font-weight:950;
color:#0f172a;
}

.ats-action-copy small{
font-size:12.5px;
line-height:1.35;
font-weight:750;
color:#64748b;
white-space:normal;
}

.ats-action-arrow{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:34px;
height:28px;
border-radius:999px;
border:1px solid rgba(148,163,184,.35);
background:white;
font-size:10px;
font-weight:950;
letter-spacing:.04em;
color:currentColor;
transition:background .15s ease, color .15s ease, border-color .15s ease;
}

.ats-dashboard-action-panel .dashboard-action-grid .ats-action-create{
background:#eff6ff;
border-color:#bfdbfe;
color:#1d4ed8;
}

.ats-dashboard-action-panel .dashboard-action-grid .ats-action-edit{
background:#ecfdf5;
border-color:#bbf7d0;
color:#047857;
}

.ats-dashboard-action-panel .dashboard-action-grid .ats-action-apply{
background:#f5f3ff;
border-color:#ddd6fe;
color:#5b21b6;
}

.ats-dashboard-action-panel .dashboard-action-grid .ats-action-delete{
background:#fff1f2;
border-color:#fecdd3;
color:#be123c;
}

.ats-operation-footnote{
margin-top:16px;
padding:14px;
border:1px solid #e2e8f0;
border-radius:8px;
background:linear-gradient(135deg,#f8fafc,#ffffff);
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
}

@media (max-width: 1180px){
.ats-dashboard-action-panel .dashboard-action-grid{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
}

@media (max-width: 720px){
.ats-dashboard-action-panel .dashboard-action-grid{
grid-template-columns:1fr !important;
}
}

.ats-operation-footnote div{
display:grid;
gap:3px;
min-width:0;
}

.ats-operation-footnote strong{
font-size:12px;
font-weight:950;
text-transform:uppercase;
letter-spacing:.06em;
color:#334155;
}

.ats-operation-footnote span{
font-size:12px;
font-weight:750;
line-height:1.35;
color:#64748b;
}

.ats-operation-status{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
background:#ecfdf5;
border:1px solid #bbf7d0;
color:#047857 !important;
font-size:11px !important;
font-weight:950 !important;
white-space:nowrap;
}

.ats-dashboard-redesign .dashboard-job-table-card{
margin-top:0 !important;
padding:0 !important;
overflow:hidden;
}

.ats-dashboard-redesign .dashboard-table-fixed{
height:460px;
border:0;
border-radius:0;
background:linear-gradient(180deg,#ffffff,#f8fafc);
padding:0 4px 18px;
}

.ats-dashboard-redesign .dashboard-table-fixed thead th{
height:48px;
background:#f8fafc !important;
font-size:11px;
font-weight:950;
letter-spacing:.04em;
text-transform:uppercase;
color:#475569;
border-bottom:0;
position:sticky;
top:0;
z-index:4;
box-shadow:0 1px 0 #e2e8f0;
}

.ats-dashboard-table-head{
padding:22px 24px 16px;
margin:0;
background:linear-gradient(135deg,#ffffff,#f8fafc);
}

.ats-dashboard-redesign .dashboard-table{
border-collapse:separate;
border-spacing:0 10px;
min-width:720px;
}

.ats-dashboard-redesign .dashboard-table-fixed .dashboard-table{
min-width:720px !important;
}

.ats-dashboard-redesign .dashboard-table th,
.ats-dashboard-redesign .dashboard-table td{
padding:0 8px !important;
}

.ats-dashboard-redesign .dashboard-table tbody tr{
background:white;
box-shadow:0 10px 24px rgba(15,23,42,.06);
transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ats-dashboard-redesign .dashboard-table tbody tr:hover{
background:#ffffff;
transform:translateY(-1px);
box-shadow:0 16px 30px rgba(15,23,42,.10);
}

.ats-dashboard-redesign .dashboard-table tbody tr td{
height:82px;
border-top:1px solid #e2e8f0;
border-bottom:1px solid #e2e8f0;
background:transparent;
}

.ats-dashboard-redesign .dashboard-table tbody tr td:first-child{
border-left:1px solid #e2e8f0;
border-radius:8px 0 0 8px;
}

.ats-dashboard-redesign .dashboard-table tbody tr td:last-child{
border-right:1px solid #e2e8f0;
border-radius:0 8px 8px 0;
}

#dashboardJobTable .ats-job-name-cell{
display:grid;
grid-template-columns:18px 36px minmax(0,1fr);
align-items:center;
gap:10px;
min-width:220px;
}

.ats-job-checkbox{
width:16px;
height:16px;
accent-color:#4f46e5;
cursor:pointer;
}

.ats-job-avatar{
width:34px;
height:34px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:#eef2ff;
border:1px solid #c7d2fe;
color:#4338ca;
font-size:11px;
font-weight:950;
letter-spacing:.03em;
}

.ats-job-copy{
display:grid;
gap:4px;
min-width:0;
}

#dashboardJobTable .ats-job-title{
max-width:210px;
font-size:14px;
font-weight:950;
line-height:1.25;
color:#0f172a;
}

.ats-job-copy small{
font-size:11.5px;
font-weight:750;
line-height:1.25;
color:#64748b;
}

.ats-job-metric-cell,
.ats-job-status-cell{
white-space:nowrap;
}

.ats-job-metric,
.ats-job-score,
.ats-job-status{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:46px;
height:30px;
border-radius:999px;
font-size:13px;
font-weight:950;
}

.ats-job-metric{
background:#eff6ff;
border:1px solid #bfdbfe;
color:#1d4ed8;
}

.ats-job-score{
background:#f5f3ff;
border:1px solid #ddd6fe;
color:#5b21b6;
}

.ats-job-status{
min-width:64px;
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
}

#dashboardJobTable td.ats-job-actions-cell{
display:flex;
align-items:center;
justify-content:flex-start;
gap:8px;
min-width:520px !important;
white-space:nowrap;
flex-wrap:nowrap;
}

#dashboardJobTable th:nth-child(5){
min-width:520px !important;
}

#dashboardJobTable td.ats-job-actions-cell .ats-table-action{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:70px;
height:36px;
border:1px solid transparent;
border-radius:8px !important;
padding:0 13px !important;
font-size:11px !important;
font-weight:950;
line-height:1;
letter-spacing:.01em;
box-shadow:0 8px 18px rgba(15,23,42,.055) !important;
transition:transform .15s ease, box-shadow .15s ease, filter .15s ease, border-color .15s ease;
position:relative;
overflow:hidden;
isolation:isolate;
}

#dashboardJobTable td.ats-job-actions-cell .ats-table-action::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,0));
z-index:-1;
}

#dashboardJobTable td.ats-job-actions-cell .ats-table-action:hover{
transform:translateY(-1px);
box-shadow:0 12px 22px rgba(15,23,42,.13) !important;
filter:saturate(1.04);
}

#dashboardJobTable .ats-table-action-view{
background:#eef2ff;
border-color:#c7d2fe;
color:#4338ca;
min-width:70px !important;
}

#dashboardJobTable .ats-table-action-top{
background:#ecfdf5;
border-color:#86efac;
color:#047857;
min-width:120px !important;
}

#dashboardJobTable .ats-table-action-posts{
background:#ecfeff;
border-color:#67e8f9;
color:#0e7490;
min-width:76px !important;
}

#dashboardJobTable .ats-table-action-folder{
background:#f5f3ff;
border-color:#c4b5fd;
color:#5b21b6;
min-width:82px !important;
}

#dashboardJobTable .ats-table-action-danger{
background:#fff1f2;
border-color:#fecdd3;
color:#be123c;
min-width:108px !important;
}

.ats-job-admin-page{
min-height:calc(100vh - 64px);
padding:0 0 36px;
background:#f6f8fc;
}

.ats-job-admin-page > .mt-10,
.ats-job-admin-page > .back-dashboard-fixed{
display:none !important;
}

.ats-job-admin-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:22px;
margin-bottom:18px;
padding:24px 28px;
border:1px solid rgba(37,99,235,.16);
border-radius:8px;
background:linear-gradient(135deg,#ffffff,#f8fbff 58%,#eef2ff);
box-shadow:0 18px 44px rgba(15,23,42,.08);
overflow:hidden;
position:relative;
isolation:isolate;
}

.ats-job-admin-hero::after{
content:"";
position:absolute;
right:-70px;
bottom:-110px;
width:300px;
height:210px;
background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(22,163,74,.12));
transform:rotate(-18deg);
z-index:-1;
}

.ats-job-admin-hero h2{
font-size:30px;
line-height:1.14;
font-weight:950;
color:#0f172a;
margin:0 0 8px;
letter-spacing:0;
}

.ats-job-admin-hero p{
font-size:14px;
line-height:1.6;
font-weight:650;
color:#64748b;
max-width:760px;
margin:0;
}

.ats-job-admin-page .job-section-box{
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 14px 34px rgba(15,23,42,.075);
padding:22px;
margin:0 0 18px;
}

.ats-job-admin-page .section-title{
font-size:20px;
font-weight:950;
color:#0f172a;
margin:0 0 16px;
padding-bottom:14px;
border-bottom:1px solid #edf2f7;
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
}

.ats-job-admin-page .ats-active-jobs-section .section-title::after{
content:"Active jobs";
}

.ats-job-admin-page .ats-inactive-jobs-section .section-title::after{
content:"Inactive jobs";
}

.ats-job-admin-page .section-title::after{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:112px;
height:32px;
box-sizing:border-box;
border-radius:999px;
padding:0 14px;
background:#eef2ff;
color:#4338ca;
font-size:11px;
font-weight:950;
line-height:1;
white-space:nowrap;
flex:0 0 auto;
overflow:visible;
}

.ats-job-admin-page .ats-active-jobs-section .section-title::after{
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
}

.ats-job-admin-page .ats-inactive-jobs-section .section-title::after{
background:#fff7ed;
border:1px solid #fed7aa;
color:#c2410c;
}

.ats-job-admin-page .ats-active-jobs-section{
border-color:#bbf7d0;
}

.ats-job-admin-page .ats-inactive-jobs-section{
border-color:#fed7aa;
background:linear-gradient(180deg,#ffffff,#fffaf5);
}

.ats-job-admin-page .job-grid{
display:grid !important;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px;
align-items:stretch;
}

.ats-management-card{
min-width:0;
display:grid;
grid-template-rows:auto auto auto 1fr auto auto;
gap:14px;
padding:18px;
border:1px solid #e2e8f0;
border-radius:8px;
background:linear-gradient(180deg,#ffffff,#f8fafc);
box-shadow:0 10px 24px rgba(15,23,42,.06);
transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
position:relative;
overflow:hidden;
}

.ats-management-card.is-active{
background:
linear-gradient(90deg,rgba(22,163,74,.08),rgba(255,255,255,0) 34%),
linear-gradient(180deg,#ffffff,#f8fafc);
border-color:#bbf7d0;
}

.ats-management-card.is-inactive{
background:
linear-gradient(90deg,rgba(249,115,22,.10),rgba(255,255,255,0) 34%),
linear-gradient(180deg,#fff7ed,#ffffff);
border-color:#fed7aa;
opacity:1;
}

.ats-management-card::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:5px;
background:#16a34a;
}

.ats-management-card.is-inactive::before{
background:#f97316;
}

.ats-management-card:hover{
transform:translateY(-2px);
box-shadow:0 16px 32px rgba(15,23,42,.10);
border-color:#c7d2fe;
}

.ats-management-card-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}

.ats-management-icon{
width:38px;
height:38px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:#eef2ff;
border:1px solid #c7d2fe;
color:#4338ca;
font-size:11px;
font-weight:950;
letter-spacing:.03em;
}

.ats-management-status{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
font-size:11px;
font-weight:950;
text-transform:uppercase;
letter-spacing:.04em;
}

.ats-management-card.is-active .ats-management-status::before{
content:"";
width:7px;
height:7px;
border-radius:999px;
background:#16a34a;
box-shadow:0 0 0 3px rgba(22,163,74,.12);
margin-right:7px;
}

.ats-management-card.is-inactive .ats-management-status{
background:#fff7ed;
border-color:#fed7aa;
color:#c2410c;
}

.ats-management-card.is-inactive .ats-management-status::before{
content:"";
width:7px;
height:7px;
border-radius:999px;
background:#f97316;
box-shadow:0 0 0 3px rgba(249,115,22,.12);
margin-right:7px;
}

.ats-management-card-body h3{
font-size:17px;
line-height:1.25;
font-weight:950;
color:#0f172a;
margin:0 0 5px;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.ats-management-card-body p{
font-size:13px;
font-weight:800;
color:#4f46e5;
margin:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-management-meta{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:8px;
}

.ats-management-meta span{
min-width:0;
display:grid;
gap:4px;
padding:9px;
border:1px solid #e2e8f0;
border-radius:8px;
background:white;
font-size:11.5px;
font-weight:800;
color:#334155;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-management-meta strong{
font-size:10px;
font-weight:950;
letter-spacing:.05em;
text-transform:uppercase;
color:#94a3b8;
}

.ats-management-desc{
min-height:58px;
font-size:12.5px;
font-weight:650;
line-height:1.5;
color:#64748b;
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

.ats-management-actions{
display:grid;
}

.ats-manage-btn{
min-height:42px;
display:inline-flex;
align-items:center;
justify-content:center;
border:1px solid transparent;
border-radius:8px;
padding:0 14px;
font-size:13px;
font-weight:950;
transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.ats-manage-btn:hover:not(:disabled){
transform:translateY(-1px);
box-shadow:0 12px 22px rgba(15,23,42,.12);
filter:saturate(1.04);
}

.ats-manage-btn-edit{
background:#eef2ff;
border-color:#c7d2fe;
color:#4338ca;
}

.ats-manage-btn-activate{
background:#ecfdf5;
border-color:#86efac;
color:#047857;
}

.ats-manage-btn-apply{
background:#f5f3ff;
border-color:#ddd6fe;
color:#5b21b6;
}

.ats-manage-btn-delete{
background:#fff1f2;
border-color:#fecdd3;
color:#be123c;
}

.ats-manage-btn-disabled{
background:#f1f5f9;
border-color:#cbd5e1;
color:#64748b;
cursor:not-allowed;
}

.ats-management-footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
padding-top:12px;
border-top:1px solid #edf2f7;
font-size:12px;
font-weight:800;
color:#64748b;
}

.ats-management-footer strong{
font-size:13px;
font-weight:950;
color:#0f172a;
}

.ats-job-admin-page .view-more-wrapper{
display:flex;
justify-content:center;
margin-top:16px;
}

.ats-job-admin-page .view-more-wrapper.hidden{
display:none !important;
}

.ats-job-admin-page .view-more-btn{
min-width:116px;
width:auto !important;
min-height:40px;
display:inline-flex;
align-items:center;
justify-content:center;
border:1px solid #c7d2fe;
border-radius:999px;
padding:0 18px !important;
background:#eef2ff;
color:#4338ca;
font-size:0;
font-weight:950;
line-height:1;
white-space:nowrap;
box-shadow:0 8px 16px rgba(79,70,229,.10);
}

.ats-job-admin-page .view-more-btn::after{
content:"View all";
font-size:12px;
line-height:1;
white-space:nowrap;
}

.ats-edit-form-page > .bg-white{
border:1px solid #e2e8f0 !important;
border-radius:8px !important;
box-shadow:0 14px 34px rgba(15,23,42,.075) !important;
padding:24px !important;
margin-top:0 !important;
}

.ats-edit-form-page h3{
font-size:22px !important;
font-weight:950 !important;
color:#0f172a;
margin:0 0 18px !important;
padding-bottom:14px;
border-bottom:1px solid #edf2f7;
}

.ats-edit-form-page .grid{
display:grid !important;
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
gap:14px !important;
}

.ats-edit-form-page input,
.ats-edit-form-page select,
.ats-edit-form-page textarea{
width:100%;
border:1px solid #dbe3ef !important;
border-radius:8px !important;
background:#f8fafc !important;
color:#0f172a;
font-size:14px !important;
font-weight:700;
outline:none;
transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ats-edit-form-page input,
.ats-edit-form-page select{
height:44px;
padding:0 12px !important;
}

.ats-edit-form-page textarea{
min-height:260px;
padding:13px 14px !important;
line-height:1.55;
resize:vertical;
}

.ats-edit-form-page input:focus,
.ats-edit-form-page select:focus,
.ats-edit-form-page textarea:focus{
border-color:#6366f1 !important;
background:white !important;
box-shadow:0 0 0 4px rgba(99,102,241,.10);
}

.ats-edit-form-page button[onclick="updateJob()"]{
min-height:44px;
border:0;
border-radius:8px !important;
padding:0 18px !important;
background:#2563eb !important;
color:white !important;
font-size:13px !important;
font-weight:950 !important;
box-shadow:0 10px 20px rgba(37,99,235,.2);
transition:transform .15s ease, box-shadow .15s ease;
}

.ats-edit-form-page button[onclick="updateJob()"]:hover{
transform:translateY(-1px);
box-shadow:0 14px 26px rgba(37,99,235,.24);
}

#resultsPage.ats-recruiter-dashboard{
padding:0 0 36px;
background:#f6f8fc;
}

#resultsPage.ats-recruiter-dashboard > h2{
display:none !important;
}

.ats-recruiter-hero{
display:flex;
align-items:center;
justify-content:space-between;
gap:22px;
margin-bottom:14px;
padding:26px 28px;
border:1px solid rgba(37,99,235,.16);
border-radius:8px;
background:
linear-gradient(135deg,#ffffff,#f8fbff 58%,#eef2ff),
linear-gradient(90deg,var(--ats-primary),var(--ats-indigo));
box-shadow:var(--ats-shadow-lg);
position:relative;
overflow:hidden;
isolation:isolate;
}

.ats-recruiter-hero::after{
content:"";
position:absolute;
right:-84px;
bottom:-118px;
width:340px;
height:240px;
background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(79,70,229,.10));
transform:rotate(-18deg);
z-index:-1;
}

.ats-recruiter-hero::before{
content:"AI shortlist workspace";
position:absolute;
right:28px;
bottom:24px;
display:inline-flex;
align-items:center;
min-height:34px;
border-radius:999px;
padding:8px 13px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-size:11px;
font-weight:950;
letter-spacing:.05em;
text-transform:uppercase;
}

.ats-recruiter-hero h2{
font-size:32px;
line-height:1.14;
font-weight:950;
color:var(--ats-ink);
margin:0 0 8px;
letter-spacing:0;
}

.ats-recruiter-hero p{
font-size:14px;
line-height:1.6;
font-weight:650;
color:var(--ats-muted);
max-width:780px;
margin:0;
}

.ats-recruiter-hero .ats-page-kicker{
color:var(--ats-indigo);
}

.ats-recruiter-hero .ats-back-btn{
background:var(--ats-primary) !important;
color:white !important;
border:0 !important;
box-shadow:0 10px 20px rgba(37,99,235,.20);
margin-bottom:46px;
}

.ats-recruiter-kpi-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
margin:0 0 18px;
}

.ats-recruiter-kpi{
min-height:108px;
padding:16px 18px;
border:1px solid #e2e8f0;
border-radius:8px;
background:linear-gradient(180deg,#ffffff,#f8fafc);
box-shadow:0 14px 34px rgba(15,23,42,.075);
position:relative;
overflow:hidden;
}

.ats-recruiter-kpi::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:4px;
background:linear-gradient(90deg,#2563eb,#16a34a);
}

.ats-recruiter-kpi span{
display:block;
font-size:11px;
font-weight:950;
letter-spacing:.06em;
text-transform:uppercase;
color:#64748b;
}

.ats-recruiter-kpi strong{
display:block;
margin:12px 0 6px;
font-size:28px;
line-height:1;
font-weight:950;
color:#0f172a;
}

.ats-recruiter-kpi small{
font-size:12px;
font-weight:800;
color:#94a3b8;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50{
position:relative;
margin:0 0 18px !important;
padding:86px 22px 22px !important;
border:1px solid #e2e8f0;
border-radius:8px !important;
background:
linear-gradient(135deg,#ffffff,#f8fafc 68%,#ecfdf5) !important;
box-shadow:0 14px 34px rgba(15,23,42,.075) !important;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50::before{
content:"Active Hiring Roles";
position:absolute;
left:22px;
top:22px;
font-size:20px;
font-weight:950;
line-height:1.2;
color:#0f172a;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50 > .flex::before{
content:"Showing active roles";
display:inline-flex;
align-items:center;
min-height:30px;
border-radius:999px;
padding:7px 11px;
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
font-size:11px;
font-weight:950;
margin-right:10px;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50::after{
content:"Open a role result page or expand the list to review every active job.";
position:absolute;
left:22px;
top:50px;
font-size:13px;
font-weight:650;
color:#64748b;
}

#resultsPage #jobCards{
display:grid !important;
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
gap:14px !important;
margin-top:0 !important;
}

.ats-recruiter-job-card{
min-width:0;
display:grid;
grid-template-rows:auto auto auto 1fr auto auto;
gap:14px;
padding:18px 18px 16px;
border:1px solid #bbf7d0;
border-radius:8px;
background:
linear-gradient(90deg,rgba(22,163,74,.075),rgba(255,255,255,0) 34%),
linear-gradient(180deg,#ffffff,#f8fafc);
box-shadow:0 10px 24px rgba(15,23,42,.06);
transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
position:relative;
overflow:hidden;
}

.ats-recruiter-job-card:nth-child(2n){
border-color:#bfdbfe;
background:
linear-gradient(90deg,rgba(37,99,235,.075),rgba(255,255,255,0) 34%),
linear-gradient(180deg,#ffffff,#f8fafc);
}

.ats-recruiter-job-card:nth-child(3n){
border-color:#ddd6fe;
background:
linear-gradient(90deg,rgba(124,58,237,.075),rgba(255,255,255,0) 34%),
linear-gradient(180deg,#ffffff,#f8fafc);
}

.ats-recruiter-job-card::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:5px;
background:#16a34a;
}

.ats-recruiter-job-card:nth-child(2n)::before{
background:#2563eb;
}

.ats-recruiter-job-card:nth-child(3n)::before{
background:#7c3aed;
}

.ats-recruiter-job-card:hover{
transform:translateY(-2px);
box-shadow:0 16px 32px rgba(15,23,42,.10);
border-color:#86efac;
}

.ats-recruiter-job-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}

.ats-recruiter-job-icon{
width:38px;
height:38px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:#eef2ff;
border:1px solid #c7d2fe;
color:#4338ca;
font-size:11px;
font-weight:950;
letter-spacing:.03em;
}

.ats-recruiter-job-status{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
font-size:11px;
font-weight:950;
text-transform:uppercase;
letter-spacing:.04em;
}

.ats-recruiter-job-status::before{
content:"";
width:7px;
height:7px;
border-radius:999px;
background:#16a34a;
box-shadow:0 0 0 3px rgba(22,163,74,.12);
margin-right:7px;
}

.ats-recruiter-job-body h3{
font-size:17px;
line-height:1.25;
font-weight:950;
color:#0f172a;
margin:0 0 5px;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.ats-recruiter-job-body p{
font-size:13px;
font-weight:800;
color:#4f46e5;
margin:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-recruiter-job-meta{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:8px;
}

.ats-recruiter-job-meta span{
min-width:0;
display:grid;
gap:4px;
padding:9px;
border:1px solid #e2e8f0;
border-radius:8px;
background:white;
font-size:11.5px;
font-weight:800;
color:#334155;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-recruiter-job-meta strong{
font-size:10px;
font-weight:950;
letter-spacing:.05em;
text-transform:uppercase;
color:#94a3b8;
}

.ats-recruiter-job-desc{
min-height:58px;
font-size:12.5px;
font-weight:650;
line-height:1.5;
color:#64748b;
margin:0;
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

.ats-recruiter-result-btn{
min-height:42px;
display:inline-flex;
align-items:center;
justify-content:center;
border:1px solid #c7d2fe;
border-radius:8px;
padding:0 14px;
background:#0f172a;
color:white;
font-size:13px;
font-weight:950;
transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.ats-recruiter-result-btn:hover{
transform:translateY(-1px);
box-shadow:0 12px 22px rgba(15,23,42,.12);
filter:saturate(1.04);
}

.ats-recruiter-job-footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
padding-top:12px;
border-top:1px solid #edf2f7;
font-size:12px;
font-weight:800;
color:#64748b;
}

.ats-recruiter-job-footer strong{
font-size:13px;
font-weight:950;
color:#0f172a;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50 > .flex{
margin-top:16px !important;
}

#resultsPage.ats-recruiter-dashboard button[onclick="toggleRecruiterJobs()"]{
width:auto !important;
min-width:132px;
height:40px !important;
min-height:40px;
border:1px solid #c7d2fe;
border-radius:999px !important;
padding:0 18px !important;
background:#eef2ff !important;
color:#4338ca !important;
font-size:0 !important;
font-weight:950;
box-shadow:0 8px 16px rgba(79,70,229,.10) !important;
}

#resultsPage.ats-recruiter-dashboard button[onclick="toggleRecruiterJobs()"]::after{
content:"View all roles";
font-size:12px;
line-height:1;
white-space:nowrap;
}

#resultsPage.ats-recruiter-dashboard > h3{
margin:18px 0 0 !important;
padding:22px 24px 0;
border:1px solid #e2e8f0;
border-bottom:0;
border-radius:8px 8px 0 0;
background:white;
font-size:20px !important;
font-weight:950 !important;
color:#0f172a;
position:relative;
}

#resultsPage.ats-recruiter-dashboard > h3::after{
content:"";
position:absolute;
left:24px;
right:24px;
bottom:-1px;
height:1px;
background:#edf2f7;
}

#resultsPage.ats-recruiter-dashboard > h3 + .bg-white.rounded-xl.shadow.p-6,
#resultsPage.ats-recruiter-dashboard > h3 + .shortlist-action-bar{
margin-top:0 !important;
}

#resultsPage.ats-recruiter-dashboard > .bg-white.rounded-xl.shadow.p-6{
border-top:0;
border-radius:0 0 8px 8px !important;
padding:18px 24px 24px !important;
box-shadow:0 14px 34px rgba(15,23,42,.075) !important;
border-color:#e2e8f0 !important;
}

#resultsPage.ats-recruiter-dashboard > .bg-white.rounded-xl.shadow.p-6 > p{
margin:0 0 14px !important;
font-size:13px;
font-weight:750;
letter-spacing:0;
text-transform:none;
color:#64748b;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar{
display:grid !important;
grid-template-columns:repeat(5,minmax(130px,1fr));
gap:10px !important;
margin:0 !important;
padding:18px 24px;
border-left:1px solid #e2e8f0;
border-right:1px solid #e2e8f0;
background:white;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn{
min-height:50px;
border:1px solid #dbe3ef;
border-radius:8px;
background:#f8fafc;
color:#334155;
font-size:11.5px;
font-weight:950;
line-height:1.2;
white-space:normal;
text-align:center;
padding:8px 10px;
box-shadow:none;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(1){
background:#eef2ff;
border-color:#c7d2fe;
color:#4338ca;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(2){
background:#f5f3ff;
border-color:#ddd6fe;
color:#5b21b6;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(3){
background:#eff6ff;
border-color:#bfdbfe;
color:#1d4ed8;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(4){
background:#ecfdf5;
border-color:#86efac;
color:#047857;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(5){
background:#fff7ed;
border-color:#fed7aa;
color:#c2410c;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:hover{
transform:translateY(-1px);
box-shadow:0 10px 18px rgba(15,23,42,.08);
border-color:#c7d2fe;
color:#4338ca;
}

#resultsPage.ats-recruiter-dashboard #shortlistColumnPanel{
margin:0 !important;
border-radius:0 !important;
border-left:1px solid #e2e8f0 !important;
border-right:1px solid #e2e8f0 !important;
border-top:0 !important;
border-bottom:0 !important;
padding:16px 24px !important;
}

#resultsPage.ats-recruiter-dashboard .ats-shortlist-scroll{
margin-top:0 !important;
border:1px solid #e2e8f0;
border-radius:0 0 8px 8px;
box-shadow:0 14px 34px rgba(15,23,42,.075);
background:white;
}

@media (max-width: 1180px){
.ats-recruiter-kpi-grid,
#resultsPage #jobCards{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar{
grid-template-columns:repeat(3,minmax(130px,1fr));
}

.ats-job-admin-page .job-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width: 768px){
.ats-recruiter-hero{
align-items:flex-start;
flex-direction:column;
padding:22px;
}

.ats-recruiter-hero h2{
font-size:26px;
}

.ats-recruiter-hero::before{
position:static;
order:3;
}

.ats-recruiter-hero .ats-back-btn{
width:100%;
margin-bottom:0;
}

.ats-recruiter-kpi-grid,
#resultsPage #jobCards,
#resultsPage.ats-recruiter-dashboard .shortlist-action-bar{
grid-template-columns:1fr !important;
}

.ats-recruiter-job-meta{
grid-template-columns:1fr;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50{
padding:96px 16px 18px !important;
}

.ats-recruiter-kpi{
min-height:104px;
}

.ats-job-admin-hero{
align-items:flex-start;
flex-direction:column;
padding:20px;
}

.ats-job-admin-hero h2{
font-size:24px;
}

.ats-job-admin-hero .ats-back-btn{
width:100%;
}

.ats-job-admin-page .job-section-box{
padding:18px;
}

.ats-job-admin-page .job-grid,
.ats-edit-form-page .grid{
grid-template-columns:1fr !important;
}

.ats-management-meta{
grid-template-columns:1fr;
}
}

/* Consistent ATS color system overrides */
.ats-dashboard-hero,
.ats-job-admin-hero{
border-color:rgba(37,99,235,.16) !important;
background:
linear-gradient(135deg,var(--ats-surface),var(--ats-surface-soft) 64%,var(--ats-primary-soft)) !important;
box-shadow:var(--ats-shadow-lg) !important;
}

.ats-dashboard-hero::after,
.ats-job-admin-hero::after{
background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(79,70,229,.10)) !important;
}

.ats-dashboard-primary-action,
.ats-save-job-btn,
.ats-edit-form-page button[onclick="updateJob()"]{
background:var(--ats-primary) !important;
color:white !important;
box-shadow:0 10px 20px rgba(37,99,235,.20) !important;
}

.ats-dashboard-secondary-action,
.ats-job-secondary-btn,
.ats-back-btn{
background:var(--ats-surface) !important;
border-color:#dbe3ef !important;
color:#334155 !important;
}

.ats-dashboard-stats .stat-card,
.ats-dashboard-main-grid .dashboard-graph-card,
.ats-dashboard-action-panel,
.ats-dashboard-redesign .dashboard-table-card,
.ats-job-admin-page .job-section-box,
.ats-management-card,
.ats-recruiter-kpi,
.ats-recruiter-job-card{
background:linear-gradient(180deg,var(--ats-surface),var(--ats-surface-soft)) !important;
border-color:var(--ats-line) !important;
box-shadow:var(--ats-shadow-md) !important;
}

.ats-dashboard-stats .stat-card::before,
.ats-recruiter-kpi::before{
background:linear-gradient(90deg,var(--ats-primary),var(--ats-indigo)) !important;
}

.ats-stat-blue,
.ats-stat-green,
.ats-stat-violet,
.ats-stat-amber{
--ats-stat-accent:var(--ats-primary);
--ats-stat-soft:rgba(37,99,235,.09);
}

.ats-stat-icon,
.ats-action-badge,
.ats-management-icon,
.ats-recruiter-job-icon,
.ats-job-avatar{
background:var(--ats-indigo-soft) !important;
border-color:var(--ats-indigo-border) !important;
color:var(--ats-indigo) !important;
}

.ats-dashboard-action-panel .dashboard-action-grid .ats-action-create,
.ats-dashboard-action-panel .dashboard-action-grid .ats-action-edit,
.ats-dashboard-action-panel .dashboard-action-grid .ats-action-apply{
background:var(--ats-primary-soft) !important;
border-color:var(--ats-primary-border) !important;
color:var(--ats-primary-strong) !important;
}

.ats-dashboard-action-panel .dashboard-action-grid .ats-action-delete,
.ats-table-action-danger,
.ats-manage-btn-delete{
background:var(--ats-danger-soft) !important;
border-color:var(--ats-danger-border) !important;
color:var(--ats-danger) !important;
}

.ats-operation-status,
.ats-job-status,
.ats-management-card.is-active .ats-management-status,
.ats-recruiter-job-status,
.ats-job-admin-page .ats-active-jobs-section .section-title::after{
background:var(--ats-success-soft) !important;
border-color:var(--ats-success-border) !important;
color:#047857 !important;
}

.ats-management-card.is-inactive .ats-management-status,
.ats-job-admin-page .ats-inactive-jobs-section .section-title::after{
background:var(--ats-warning-soft) !important;
border-color:var(--ats-warning-border) !important;
color:var(--ats-warning) !important;
}

.ats-management-card.is-active,
.ats-job-admin-page .ats-active-jobs-section{
background:linear-gradient(180deg,var(--ats-surface),var(--ats-surface-soft)) !important;
border-color:var(--ats-success-border) !important;
}

.ats-management-card.is-inactive,
.ats-job-admin-page .ats-inactive-jobs-section{
background:linear-gradient(180deg,var(--ats-surface),#fffdf7) !important;
border-color:var(--ats-warning-border) !important;
}

.ats-management-card::before,
.ats-recruiter-job-card::before{
background:var(--ats-primary) !important;
}

.ats-management-card.is-active::before{
background:var(--ats-success) !important;
}

.ats-management-card.is-inactive::before{
background:var(--ats-warning) !important;
}

.ats-manage-btn-edit,
.ats-manage-btn-apply,
.ats-recruiter-result-btn,
#dashboardJobTable .ats-table-action-view,
#dashboardJobTable .ats-table-action-top{
background:var(--ats-primary-soft) !important;
border-color:var(--ats-primary-border) !important;
color:var(--ats-primary-strong) !important;
}

.ats-manage-btn-activate{
background:var(--ats-success-soft) !important;
border-color:var(--ats-success-border) !important;
color:#047857 !important;
}

.ats-recruiter-hero{
background:
linear-gradient(135deg,var(--ats-surface),var(--ats-surface-soft) 62%,var(--ats-primary-soft)),
linear-gradient(90deg,var(--ats-primary),var(--ats-indigo)) !important;
border-color:rgba(37,99,235,.16) !important;
}

.ats-recruiter-hero::after{
background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(79,70,229,.10)) !important;
}

.ats-recruiter-hero .ats-back-btn{
background:var(--ats-primary) !important;
color:white !important;
border-color:transparent !important;
}

#resultsPage.ats-recruiter-dashboard > .bg-indigo-50,
#resultsPage.ats-recruiter-dashboard > .bg-white.rounded-xl.shadow.p-6,
#resultsPage.ats-recruiter-dashboard .shortlist-action-bar,
#resultsPage.ats-recruiter-dashboard .ats-shortlist-scroll{
background:var(--ats-surface) !important;
border-color:var(--ats-line) !important;
box-shadow:var(--ats-shadow-md) !important;
}

.ats-recruiter-job-card,
.ats-recruiter-job-card:nth-child(2n),
.ats-recruiter-job-card:nth-child(3n){
background:linear-gradient(180deg,var(--ats-surface),var(--ats-surface-soft)) !important;
border-color:var(--ats-line) !important;
}

.ats-recruiter-job-card:nth-child(2n)::before,
.ats-recruiter-job-card:nth-child(3n)::before{
background:var(--ats-primary) !important;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn,
#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(1),
#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(2),
#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(3){
background:var(--ats-primary-soft) !important;
border-color:var(--ats-primary-border) !important;
color:var(--ats-primary-strong) !important;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(4){
background:var(--ats-success-soft) !important;
border-color:var(--ats-success-border) !important;
color:#047857 !important;
}

#resultsPage.ats-recruiter-dashboard .shortlist-action-bar .action-btn:nth-child(5){
background:var(--ats-surface-soft) !important;
border-color:var(--ats-line) !important;
color:#334155 !important;
}

/* HireScore AI result board redesign */
#jobResultPage.ats-result-workspace{
background:#f6f8fc;
padding:0 0 36px;
width:calc(100vw - 18rem - 88px);
max-width:none;
margin-left:calc(18rem + 24px);
margin-right:40px;
box-sizing:border-box;
}

#jobResultPage .ats-result-header{
align-items:center;
margin:0 0 16px;
padding:26px 28px;
border:1px solid rgba(37,99,235,.16);
border-radius:8px;
background:
linear-gradient(135deg,var(--ats-surface),var(--ats-surface-soft) 62%,var(--ats-primary-soft)),
linear-gradient(90deg,var(--ats-primary),var(--ats-indigo));
box-shadow:var(--ats-shadow-lg);
}

#jobResultPage .ats-result-header::after{
right:-84px;
top:auto;
bottom:-118px;
width:340px;
height:240px;
border-radius:0;
background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(79,70,229,.10));
transform:rotate(-18deg);
}

#jobResultPage .ats-result-header::before{
content:"AI ranking engine";
position:absolute;
right:28px;
bottom:22px;
display:inline-flex;
align-items:center;
min-height:34px;
border-radius:999px;
padding:8px 13px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-size:11px;
font-weight:950;
letter-spacing:.05em;
text-transform:uppercase;
z-index:1;
}

#jobResultPage .ats-section-kicker{
font-size:12px;
font-weight:950;
letter-spacing:.08em;
text-transform:uppercase;
color:var(--ats-indigo);
margin-bottom:8px;
}

#jobResultPage .ats-result-header h2{
font-size:32px !important;
color:var(--ats-ink) !important;
max-width:840px;
}

#jobResultPage .ats-result-header p{
font-weight:650;
color:var(--ats-muted);
max-width:780px;
}

#jobResultPage .ats-result-header .ats-back-btn{
background:var(--ats-primary) !important;
color:white !important;
border-color:transparent !important;
box-shadow:0 10px 20px rgba(37,99,235,.20);
margin-bottom:44px;
}

#jobResultPage .ats-result-stats{
gap:12px !important;
margin-bottom:16px !important;
}

#jobResultPage .stat-card-modern{
min-height:112px !important;
padding:16px 18px !important;
border-radius:8px !important;
border-color:var(--ats-line) !important;
box-shadow:var(--ats-shadow-md) !important;
}

#jobResultPage .stat-card-modern::before{
background:linear-gradient(90deg,var(--ats-primary),var(--ats-indigo)) !important;
}

#jobResultPage .stat-card-modern::after{
background:rgba(37,99,235,.07) !important;
}

#jobResultPage .stat-icon{
width:36px;
height:36px;
border-radius:8px;
background:var(--ats-indigo-soft);
border:1px solid var(--ats-indigo-border);
color:var(--ats-indigo);
}

#jobResultPage .stat-title-modern{
color:var(--ats-muted);
}

#jobResultPage .stat-value-modern,
#jobResultPage .stat-value-modern.action{
color:var(--ats-primary-strong);
}

#jobResultPage .filter-bar{
position:relative;
grid-template-columns:minmax(260px,1.25fr) minmax(190px,1fr) minmax(160px,.72fr) minmax(150px,.65fr);
gap:12px;
padding:54px 18px 18px;
margin-bottom:16px;
border-radius:8px;
border-color:var(--ats-line);
background:var(--ats-surface);
box-shadow:var(--ats-shadow-md);
}

#jobResultPage .filter-bar::before{
content:"Screening Controls";
position:absolute;
left:18px;
top:18px;
font-size:18px;
font-weight:950;
color:var(--ats-ink);
}

#jobResultPage .filter-bar::after{
content:"Refine candidates by skills, location, and minimum AI score.";
position:absolute;
left:18px;
top:42px;
font-size:12.5px;
font-weight:650;
color:var(--ats-muted);
}

#jobResultPage .skill-box,
#jobResultPage input{
height:42px;
border-radius:8px !important;
background:var(--ats-surface-soft) !important;
}

#jobResultPage .skill-box:hover,
#jobResultPage input:focus{
border-color:var(--ats-primary) !important;
box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

#jobResultPage .button-group button{
height:42px;
border-radius:8px;
background:var(--ats-primary);
box-shadow:0 10px 20px rgba(37,99,235,.20);
}

#jobResultPage .ats-result-table-card{
padding:0;
border-radius:8px;
border-color:var(--ats-line);
box-shadow:var(--ats-shadow-md);
overflow:hidden;
}

#jobResultPage .ats-result-table-head{
margin:0;
padding:22px 24px 16px;
background:linear-gradient(135deg,var(--ats-surface),var(--ats-surface-soft));
}

#jobResultPage .ats-result-table-head h3{
font-size:22px;
}

#jobResultPage .ats-column-btn{
min-height:38px;
border:1px solid var(--ats-primary-border) !important;
border-radius:8px !important;
background:var(--ats-primary-soft) !important;
color:var(--ats-primary-strong) !important;
font-size:12px;
font-weight:950;
box-shadow:none;
}

#jobResultPage #columnPanel{
margin:0 24px 16px;
border-radius:8px !important;
background:var(--ats-surface-soft) !important;
border-color:var(--ats-line) !important;
padding:14px !important;
display:none;
grid-template-columns:repeat(4,minmax(170px,1fr)) !important;
gap:10px !important;
max-height:260px;
overflow:auto;
box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);
}

#jobResultPage #columnPanel[style*="block"]{
display:grid !important;
}

#jobResultPage #columnPanel br{
display:none;
}

#jobResultPage #columnPanel label{
display:grid;
grid-template-columns:16px minmax(0,1fr);
align-items:center;
gap:9px;
min-height:36px;
margin:0;
padding:8px 10px;
border:1px solid var(--ats-line);
border-radius:8px;
background:white;
font-size:12.5px;
font-weight:850;
line-height:1.2;
color:#334155;
cursor:pointer;
}

#jobResultPage #columnPanel label:hover{
background:var(--ats-primary-soft);
border-color:var(--ats-primary-border);
color:var(--ats-primary-strong);
}

#jobResultPage .ats-result-table-scroll{
height:520px;
margin:0 18px 18px;
border-radius:8px;
border-color:var(--ats-line);
background:linear-gradient(180deg,var(--ats-surface),var(--ats-surface-soft));
overflow-x:auto !important;
overflow-y:auto !important;
max-width:calc(100% - 36px);
}

#jobResultPage .ats-result-table-scroll table{
width:max-content !important;
min-width:1520px;
border-collapse:separate;
border-spacing:0 8px;
background:transparent !important;
table-layout:auto !important;
}

#jobResultPage .ats-result-table-scroll thead{
background:var(--ats-surface-soft) !important;
}

#jobResultPage .ats-result-table-scroll th{
padding:13px 14px !important;
font-size:11px !important;
background:var(--ats-surface-soft);
border-bottom:1px solid var(--ats-line);
white-space:nowrap;
}

#jobResultPage .ats-result-table-scroll td{
padding:12px 14px !important;
border-top:1px solid var(--ats-line);
border-bottom:1px solid var(--ats-line);
background:white;
font-size:13px !important;
white-space:nowrap;
}

#jobResultPage .ats-result-table-scroll th:nth-child(2),
#jobResultPage .ats-result-table-scroll td:nth-child(2){
min-width:250px;
}

#jobResultPage .ats-result-table-scroll th:nth-child(5),
#jobResultPage .ats-result-table-scroll td:nth-child(5){
min-width:220px;
white-space:normal;
}

#jobResultPage .ats-result-table-scroll th:nth-child(17),
#jobResultPage .ats-result-table-scroll td:nth-child(17){
min-width:142px;
}

#jobResultPage .ats-result-table-scroll th:last-child,
#jobResultPage .ats-result-table-scroll td:last-child{
min-width:160px;
}

#jobResultPage .ats-result-table-scroll tbody tr:nth-child(even){
background:transparent;
}

#jobResultPage .ats-result-table-scroll tbody tr:hover td{
background:var(--ats-primary-soft) !important;
}

#jobResultPage .ats-result-table-scroll tbody tr td:first-child{
border-left:1px solid var(--ats-line);
border-radius:8px 0 0 8px;
}

#jobResultPage .ats-result-table-scroll tbody tr td:last-child{
border-right:1px solid var(--ats-line);
border-radius:0 8px 8px 0;
}

.ats-rank-badge{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:38px;
height:30px;
border-radius:999px;
background:var(--ats-indigo-soft);
border:1px solid var(--ats-indigo-border);
color:var(--ats-indigo);
font-size:12px;
font-weight:950;
}

#jobResultPage .ats-candidate-name-cell{
display:grid;
grid-template-columns:38px minmax(0,1fr);
align-items:center;
gap:10px;
min-width:250px;
}

.ats-candidate-mini-avatar{
width:36px;
height:36px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:var(--ats-primary-soft);
border:1px solid var(--ats-primary-border);
color:var(--ats-primary-strong);
font-size:11px;
font-weight:950;
letter-spacing:.02em;
}

.ats-candidate-name-link{
appearance:none;
border:0;
background:transparent;
padding:0;
margin:0;
font:inherit;
font-weight:950;
line-height:1.25;
color:var(--ats-ink);
text-align:left;
cursor:pointer;
max-width:100%;
}

.ats-candidate-name-link:hover,
.ats-candidate-name-link:focus-visible{
color:var(--ats-primary);
text-decoration:underline;
text-underline-offset:4px;
}

.ats-profile-open-avatar{
appearance:none;
cursor:pointer;
transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ats-profile-open-avatar:hover,
.ats-profile-open-avatar:focus-visible{
transform:translateY(-1px);
box-shadow:0 10px 22px rgba(37,99,235,.18);
border-color:var(--ats-primary);
}

.ats-shortlist-avatar{
width:42px;
height:42px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:linear-gradient(135deg,var(--ats-primary),var(--ats-indigo));
border:0;
color:#fff;
font-size:13px;
font-weight:950;
box-shadow:0 12px 20px rgba(37,99,235,.18);
}

.ats-result-name-link,
.ats-shortlist-name-link,
.ats-comm-name-link,
.ats-legacy-name-link{
display:block;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-result-name-link{
font-size:13.5px;
}

.ats-shortlist-name-link{
max-width:180px;
font-size:14px;
}

.ats-candidate-avatar.ats-profile-open-avatar{
border:0;
}

.ats-shortlist-analytics-page{
min-height:calc(100vh - 48px);
padding-bottom:40px;
}

.ats-shortlist-explanation-page{
min-height:calc(100vh - 48px);
padding-bottom:40px;
}

.ats-shortlist-analytics-hero{
position:relative;
display:flex;
justify-content:space-between;
gap:24px;
align-items:flex-start;
padding:30px;
border-radius:18px;
background:
linear-gradient(135deg,rgba(37,99,235,.96),rgba(79,70,229,.90) 45%,rgba(20,184,166,.90)),
radial-gradient(circle at 85% 20%,rgba(255,255,255,.34),transparent 32%);
color:#fff;
box-shadow:0 22px 50px rgba(37,99,235,.20);
overflow:hidden;
}

.ats-shortlist-analytics-hero::after{
content:"";
position:absolute;
right:-60px;
bottom:-70px;
width:250px;
height:250px;
border-radius:999px;
background:rgba(255,255,255,.16);
}

.ats-shortlist-analytics-hero > div,
.ats-shortlist-analytics-hero .ats-back-btn{
position:relative;
z-index:1;
}

.ats-shortlist-analytics-hero span{
display:block;
font-size:12px;
font-weight:950;
letter-spacing:.12em;
text-transform:uppercase;
opacity:.9;
}

.ats-shortlist-analytics-hero h2{
margin:8px 0;
font-size:34px;
font-weight:950;
line-height:1.08;
}

.ats-shortlist-analytics-hero p{
max-width:760px;
font-size:15px;
font-weight:750;
line-height:1.7;
opacity:.94;
}

.ats-shortlist-analytics-hero small{
display:inline-flex;
margin-top:14px;
padding:8px 12px;
border-radius:999px;
background:rgba(255,255,255,.18);
border:1px solid rgba(255,255,255,.24);
font-weight:850;
}

.ats-shortlist-analytics-hero .ats-back-btn{
background:#fff !important;
color:#1d4ed8 !important;
border:0 !important;
box-shadow:0 14px 30px rgba(15,23,42,.16);
white-space:nowrap;
}

.ats-shortlist-explain-hero{
display:grid;
grid-template-columns:minmax(0,1fr) 320px;
gap:20px;
padding:30px;
border-radius:18px;
background:linear-gradient(135deg,#111827,#1d4ed8 54%,#14b8a6);
color:#fff;
box-shadow:0 22px 50px rgba(15,23,42,.22);
overflow:hidden;
}

.ats-shortlist-explain-hero span:first-child,
.ats-shortlist-explain-hero small{
display:inline-flex;
font-size:12px;
font-weight:950;
letter-spacing:.1em;
text-transform:uppercase;
}

.ats-shortlist-explain-hero h2{
margin:10px 0;
font-size:34px;
line-height:1.08;
font-weight:950;
}

.ats-shortlist-explain-hero p{
max-width:780px;
font-size:15px;
font-weight:750;
line-height:1.7;
opacity:.94;
}

.ats-shortlist-explain-hero small{
margin-top:14px;
padding:8px 12px;
border-radius:999px;
background:rgba(255,255,255,.16);
border:1px solid rgba(255,255,255,.24);
}

.ats-shortlist-explain-side{
display:flex;
flex-direction:column;
gap:12px;
align-items:flex-start;
justify-content:center;
padding:18px;
border:1px solid rgba(255,255,255,.20);
border-radius:16px;
background:rgba(255,255,255,.12);
backdrop-filter:blur(10px);
}

.ats-shortlist-explain-side strong{
font-size:28px;
font-weight:950;
}

.ats-shortlist-explain-side span{
font-size:12px;
font-weight:850;
opacity:.9;
}

.ats-shortlist-explain-side .ats-back-btn{
width:100%;
justify-content:center;
background:#fff !important;
color:#1d4ed8 !important;
border:0 !important;
}

.ats-shortlist-explain-loading{
display:grid;
place-items:center;
min-height:360px;
margin-top:18px;
border:1px solid #dbeafe;
border-radius:18px;
background:#fff;
box-shadow:0 18px 38px rgba(15,23,42,.075);
text-align:center;
padding:40px;
}

.ats-shortlist-explain-loading span{
width:54px;
height:54px;
border-radius:999px;
border:5px solid #dbeafe;
border-top-color:#2563eb;
animation:atsSpin .9s linear infinite;
}

@keyframes atsSpin{
to{transform:rotate(360deg);}
}

.ats-shortlist-explain-loading h3{
margin:18px 0 8px;
font-size:22px;
font-weight:950;
color:#0f172a;
}

.ats-shortlist-explain-loading p{
max-width:560px;
font-size:14px;
font-weight:750;
color:#64748b;
line-height:1.7;
}

.ats-shortlist-explain-grid{
display:grid;
grid-template-columns:1.05fr .95fr;
gap:18px;
margin-top:18px;
}

.ats-shortlist-explain-main,
.ats-shortlist-explain-lists article,
.ats-shortlist-explain-table{
border:1px solid #dbeafe;
border-radius:16px;
background:#fff;
box-shadow:0 18px 38px rgba(15,23,42,.075);
overflow:hidden;
}

.ats-shortlist-explain-main p{
padding:20px 22px 24px;
font-size:14px;
font-weight:750;
line-height:1.8;
color:#334155;
}

.ats-shortlist-explain-main.is-quality{
border-color:#bbf7d0;
}

.ats-shortlist-explain-card-head{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
padding:19px 22px;
border-bottom:1px solid #e2e8f0;
background:linear-gradient(180deg,#fff,#f8fbff);
}

.ats-shortlist-explain-card-head h3,
.ats-shortlist-explain-lists h3{
margin:0;
font-size:18px;
font-weight:950;
color:#0f172a;
}

.ats-shortlist-explain-card-head span{
display:inline-flex;
padding:7px 10px;
border-radius:999px;
background:#eef2ff;
color:#4f46e5;
font-size:12px;
font-weight:900;
white-space:nowrap;
}

.ats-shortlist-explain-lists{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:18px;
margin-top:18px;
}

.ats-shortlist-explain-lists h3{
padding:18px 20px 14px;
border-bottom:1px solid #e2e8f0;
}

.ats-shortlist-explain-lists ul{
display:grid;
gap:10px;
padding:16px 20px 20px;
margin:0;
list-style:none;
}

.ats-shortlist-explain-lists li{
position:relative;
padding:12px 12px 12px 36px;
border-radius:12px;
background:#f8fafc;
border:1px solid #e2e8f0;
font-size:13px;
font-weight:800;
line-height:1.55;
color:#334155;
}

.ats-shortlist-explain-lists li::before{
content:"";
position:absolute;
left:14px;
top:17px;
width:9px;
height:9px;
border-radius:999px;
background:#2563eb;
box-shadow:0 0 0 5px #eff6ff;
}

.ats-shortlist-explain-lists li.is-risk::before{
background:#f59e0b;
box-shadow:0 0 0 5px #fffbeb;
}

.ats-shortlist-explain-lists li.is-next::before{
background:#16a34a;
box-shadow:0 0 0 5px #ecfdf5;
}

.ats-shortlist-explain-table{
margin-top:18px;
}

.ats-shortlist-explain-table > div:last-child{
display:grid;
gap:10px;
padding:18px;
}

.ats-shortlist-explain-table article{
display:grid;
grid-template-columns:46px minmax(0,1fr) 76px;
align-items:center;
gap:12px;
padding:13px;
border:1px solid #e2e8f0;
border-radius:12px;
background:linear-gradient(90deg,#f8fafc,#fff);
}

.ats-shortlist-explain-table b{
display:inline-flex;
align-items:center;
justify-content:center;
width:38px;
height:38px;
border-radius:12px;
background:#eef2ff;
border:1px solid #c7d2fe;
color:#4f46e5;
font-weight:950;
}

.ats-shortlist-explain-table strong,
.ats-shortlist-explain-table small{
display:block;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-shortlist-explain-table strong{
font-size:14px;
font-weight:950;
color:#0f172a;
}

.ats-shortlist-explain-table small{
margin-top:4px;
font-size:12px;
font-weight:750;
color:#64748b;
}

.ats-shortlist-explain-table article > span{
display:inline-flex;
justify-content:center;
padding:8px 10px;
border-radius:999px;
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
font-size:13px;
font-weight:950;
}

.ats-shortlist-analytics-kpis{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:16px;
margin:18px 0;
}

.ats-shortlist-analytics-kpis article{
position:relative;
min-height:116px;
padding:20px;
border-radius:16px;
background:#fff;
border:1px solid #dbeafe;
box-shadow:0 18px 38px rgba(15,23,42,.08);
overflow:hidden;
}

.ats-shortlist-analytics-kpis article::before{
content:"";
position:absolute;
inset:0 0 auto 0;
height:4px;
background:linear-gradient(90deg,#2563eb,#14b8a6,#f59e0b);
}

.ats-shortlist-analytics-kpis strong{
display:block;
font-size:28px;
font-weight:950;
line-height:1.1;
color:#0f172a;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-shortlist-analytics-kpis span{
display:block;
margin-top:8px;
font-size:12px;
font-weight:850;
color:#64748b;
text-transform:uppercase;
letter-spacing:.05em;
}

.ats-shortlist-analytics-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:18px;
}

.ats-shortlist-analytics-card,
.ats-shortlist-analytics-bottom article{
border:1px solid #dbeafe;
border-radius:16px;
background:#fff;
box-shadow:0 18px 38px rgba(15,23,42,.075);
overflow:hidden;
}

.ats-shortlist-analytics-head{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px;
padding:20px 22px 16px;
border-bottom:1px solid #e2e8f0;
background:linear-gradient(180deg,#fff,#f8fbff);
}

.ats-shortlist-analytics-head h3{
margin:0;
font-size:18px;
font-weight:950;
color:#0f172a;
}

.ats-shortlist-analytics-head span{
display:inline-flex;
padding:7px 10px;
border-radius:999px;
background:#eef2ff;
color:#4f46e5;
font-size:12px;
font-weight:900;
white-space:nowrap;
}

.ats-shortlist-chart-wrap{
height:270px;
padding:18px;
}

.ats-shortlist-skill-list{
display:grid;
gap:12px;
padding:18px;
max-height:306px;
overflow:auto;
}

.ats-shortlist-skill-row{
display:grid;
grid-template-columns:minmax(0,220px) minmax(160px,1fr);
gap:14px;
align-items:center;
padding:12px;
border:1px solid #e2e8f0;
border-radius:12px;
background:#f8fafc;
}

.ats-shortlist-skill-row strong,
.ats-shortlist-skill-row span{
display:block;
}

.ats-shortlist-skill-row strong{
font-size:13px;
font-weight:950;
color:#0f172a;
}

.ats-shortlist-skill-row div:first-child span{
margin-top:3px;
font-size:11px;
font-weight:800;
color:#64748b;
}

.ats-shortlist-meter{
height:10px;
border-radius:999px;
background:#e2e8f0;
overflow:hidden;
}

.ats-shortlist-meter span{
display:block;
height:100%;
width:var(--meter);
border-radius:inherit;
background:linear-gradient(90deg,#2563eb,#14b8a6);
}

.ats-shortlist-analytics-bottom{
display:grid;
grid-template-columns:1.15fr .85fr;
gap:18px;
margin-top:18px;
}

.ats-shortlist-analytics-candidates{
display:grid;
gap:10px;
padding:18px;
}

.ats-shortlist-analytics-candidate{
display:grid;
grid-template-columns:44px minmax(0,1fr) 72px;
align-items:center;
gap:12px;
padding:13px;
border:1px solid #e2e8f0;
border-radius:12px;
background:linear-gradient(90deg,#f8fafc,#fff);
}

.ats-shortlist-analytics-candidate > span{
display:inline-flex;
align-items:center;
justify-content:center;
width:38px;
height:38px;
border-radius:12px;
background:#eef2ff;
border:1px solid #c7d2fe;
color:#4f46e5;
font-weight:950;
}

.ats-shortlist-analytics-candidate strong{
display:block;
font-size:14px;
font-weight:950;
color:#0f172a;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-shortlist-analytics-candidate small{
display:block;
margin-top:4px;
font-size:12px;
font-weight:750;
color:#64748b;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.ats-shortlist-analytics-candidate b{
display:inline-flex;
justify-content:center;
padding:8px 10px;
border-radius:999px;
background:#ecfdf5;
border:1px solid #86efac;
color:#047857;
font-size:13px;
font-weight:950;
}

.ats-shortlist-insight-list{
display:grid;
gap:12px;
padding:18px 22px 22px;
margin:0;
list-style:none;
}

.ats-shortlist-insight-list li{
position:relative;
padding:14px 14px 14px 40px;
border-radius:12px;
background:#f8fafc;
border:1px solid #e2e8f0;
font-size:13px;
font-weight:800;
line-height:1.55;
color:#334155;
}

.ats-shortlist-insight-list li::before{
content:"";
position:absolute;
left:14px;
top:18px;
width:10px;
height:10px;
border-radius:999px;
background:#f59e0b;
box-shadow:0 0 0 5px #fffbeb;
}

@media (max-width:1100px){
.ats-shortlist-analytics-kpis,
.ats-shortlist-analytics-grid,
.ats-shortlist-analytics-bottom,
.ats-shortlist-explain-hero,
.ats-shortlist-explain-grid,
.ats-shortlist-explain-lists{
grid-template-columns:1fr;
}

.ats-shortlist-analytics-hero{
flex-direction:column;
}
}

#jobResultPage .ats-candidate-name-cell strong{
display:block;
font-size:13.5px;
font-weight:950;
color:var(--ats-ink);
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

#jobResultPage .ats-candidate-name-cell small{
display:block;
margin-top:3px;
font-size:11.5px;
font-weight:750;
color:var(--ats-muted);
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

#jobResultPage .score-badge{
background:var(--ats-primary-soft) !important;
border-color:var(--ats-primary-border) !important;
color:var(--ats-primary-strong) !important;
}

#jobResultPage td:last-child{
display:flex;
align-items:center;
gap:8px;
}

#jobResultPage .ats-result-row-action{
min-height:32px;
display:inline-flex;
align-items:center;
justify-content:center;
border:1px solid transparent;
border-radius:8px !important;
padding:0 11px !important;
font-size:11.5px !important;
font-weight:950 !important;
box-shadow:none !important;
transition:transform .15s ease, box-shadow .15s ease;
}

#jobResultPage .ats-result-row-action:hover{
transform:translateY(-1px);
box-shadow:0 10px 18px rgba(15,23,42,.10) !important;
}

#jobResultPage .ats-result-row-track{
background:var(--ats-primary-soft) !important;
border-color:var(--ats-primary-border) !important;
color:var(--ats-primary-strong) !important;
}

#jobResultPage .ats-result-row-delete{
background:var(--ats-danger-soft) !important;
border-color:var(--ats-danger-border) !important;
color:var(--ats-danger) !important;
}

#jobResultPage .ats-result-status.is-communication,
#jobResultPage .ats-result-status.is-neutral{
background:var(--ats-primary-soft);
border-color:var(--ats-primary-border);
color:var(--ats-primary-strong);
}

#jobResultPage .ats-result-status.is-shortlisted{
background:var(--ats-success-soft);
border-color:var(--ats-success-border);
color:#047857;
}

#jobResultPage .ats-result-status.is-review,
#jobResultPage .ats-result-status.is-applied{
background:var(--ats-warning-soft);
border-color:var(--ats-warning-border);
color:var(--ats-warning);
}

#jobResultPage .ats-result-status.is-rejected{
background:var(--ats-danger-soft);
border-color:var(--ats-danger-border);
color:var(--ats-danger);
}

@media (max-width: 1180px){
.ats-dashboard-main-grid{
grid-template-columns:1fr;
}

.ats-dashboard-action-panel .dashboard-action-grid{
grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
}

@media (max-width: 900px){
.ats-dashboard-stats{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

.ats-dashboard-action-panel .dashboard-action-grid{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
}

@media (max-width: 640px){
.ats-dashboard-hero{
align-items:flex-start;
flex-direction:column;
padding:20px;
}

.ats-dashboard-hero h2{
font-size:24px;
}

.ats-dashboard-hero-actions,
.ats-dashboard-primary-action,
.ats-dashboard-secondary-action{
width:100%;
}

.ats-dashboard-stats,
.ats-dashboard-action-panel .dashboard-action-grid{
grid-template-columns:1fr !important;
}

.ats-dashboard-main-grid .dashboard-graph-card,
.ats-dashboard-action-panel,
.ats-dashboard-redesign .dashboard-job-table-card{
padding:18px !important;
}
}

#jobPage{
padding:0 0 36px !important;
background:#f6f8fc !important;
min-height:calc(100vh - 64px);
}

#jobPage > .job-container,
#jobPage > .mt-10{
display:none !important;
}

.ats-job-composer{
display:grid;
gap:18px;
}

.ats-job-hero{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:24px;
padding:24px 28px;
border:1px solid rgba(99,102,241,.16);
border-radius:8px;
background:linear-gradient(135deg,#ffffff,#f8fbff 58%,#eef2ff);
box-shadow:0 18px 44px rgba(15,23,42,.08);
}

.ats-job-hero h1{
font-size:30px;
line-height:1.16;
font-weight:950;
color:#0f172a;
margin:0 0 8px;
letter-spacing:0;
}

.ats-job-hero p{
font-size:14px;
line-height:1.6;
font-weight:650;
color:#64748b;
max-width:760px;
margin:0;
}

.ats-job-layout{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(280px,.34fr);
gap:18px;
align-items:start;
}

.ats-job-main-panel,
.ats-job-side-panel,
.ats-job-jd-panel,
.ats-job-submit-bar{
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 14px 34px rgba(15,23,42,.075);
}

.ats-job-main-panel,
.ats-job-side-panel,
.ats-job-jd-panel{
padding:22px;
}

.ats-job-jd-panel,
.ats-job-submit-bar{
grid-column:1 / -1;
}

.ats-job-panel-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
padding-bottom:12px;
border-bottom:1px solid #edf2f7;
margin-bottom:12px;
}

.ats-job-panel-head h2{
font-size:18px;
font-weight:950;
color:#0f172a;
margin:0;
}

.ats-job-panel-head p{
font-size:13px;
font-weight:650;
line-height:1.45;
color:#64748b;
margin:4px 0 0;
}

.ats-job-panel-head > span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
background:#eef2ff;
color:#4338ca;
font-size:11px;
font-weight:950;
white-space:nowrap;
}

.ats-job-fields{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:14px;
}

#jobPage .form-group{
display:flex;
flex-direction:column;
gap:7px;
min-width:0;
}

#jobPage .form-group.full{
grid-column:1 / -1;
}

#jobPage .form-group label{
font-size:12px;
font-weight:950;
letter-spacing:.05em;
text-transform:uppercase;
color:#334155;
}

#jobPage input,
#jobPage select,
#jobPage textarea{
width:100%;
border:1px solid #dbe3ef !important;
border-radius:8px !important;
background:#f8fafc !important;
color:#0f172a;
font-size:14px !important;
font-weight:700;
outline:none;
transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

#jobPage input,
#jobPage select{
height:44px;
padding:0 12px !important;
}

#jobPage textarea{
min-height:260px;
padding:13px 14px !important;
line-height:1.55;
resize:vertical;
}

#jobPage .ats-jd-upload-bar{
display:grid;
grid-template-columns:minmax(0,1fr) auto auto;
gap:10px;
align-items:center;
margin-bottom:12px;
}

#jobPage .ats-jd-upload-bar input[type="file"]{
height:42px;
padding:8px 10px !important;
font-size:13px !important;
font-weight:750;
}

#jobPage .ats-jd-upload-bar button{
height:42px;
border:0;
border-radius:8px;
padding:0 14px;
background:#111827;
color:white;
font-size:13px;
font-weight:900;
cursor:pointer;
white-space:nowrap;
}

#jdUploadStatus{
font-size:12px;
font-weight:850;
color:#2563eb;
min-width:150px;
}

#jobPage input:focus,
#jobPage select:focus,
#jobPage textarea:focus{
border-color:#6366f1 !important;
background:white !important;
box-shadow:0 0 0 4px rgba(99,102,241,.10);
}

.ats-job-readiness{
display:grid;
gap:8px;
}

.ats-job-readiness div{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
min-height:46px;
padding:10px;
border:1px solid #e2e8f0;
border-radius:8px;
background:#f8fafc;
}

.ats-job-readiness strong{
font-size:13px;
font-weight:950;
color:#0f172a;
}

.ats-job-readiness span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
border-radius:999px;
padding:6px 9px;
background:#ecfdf5;
color:#047857;
font-size:11px;
font-weight:950;
white-space:nowrap;
}

.ats-job-submit-bar{
display:flex;
justify-content:flex-end;
gap:10px;
padding:16px;
position:sticky;
bottom:0;
z-index:5;
}

.ats-job-submit-bar .create-btn,
.ats-job-secondary-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:44px;
border:0;
border-radius:8px;
padding:0 18px;
font-size:13px;
font-weight:950;
cursor:pointer;
transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ats-job-submit-bar .create-btn{
width:auto;
min-width:160px;
background:#2563eb;
color:white;
box-shadow:0 10px 20px rgba(37,99,235,.2);
}

.ats-job-secondary-btn{
background:#f8fafc;
color:#334155;
border:1px solid #dbe3ef;
}

.ats-job-submit-bar .create-btn:hover,
.ats-job-secondary-btn:hover{
transform:translateY(-1px);
}

.ats-top-candidate-page{
min-height:calc(100vh - 64px);
padding:6px 0 36px;
background:#f6f8fc;
}

.ats-candidate-profile-header{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:24px;
margin:6px 0 22px;
padding:24px 28px;
border:1px solid rgba(99,102,241,.16);
border-radius:8px;
background:linear-gradient(135deg,#ffffff,#f8fbff 58%,#eef2ff);
box-shadow:0 18px 44px rgba(15,23,42,.08);
}

.ats-candidate-profile-header h2{
font-size:28px;
line-height:1.16;
font-weight:950;
color:#0f172a;
margin:0 0 8px;
letter-spacing:0;
}

.ats-candidate-profile-header p{
font-size:14px;
line-height:1.6;
font-weight:650;
color:#64748b;
max-width:760px;
margin:0;
}

.ats-candidate-profile-grid{
display:grid;
grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);
gap:18px;
align-items:stretch;
}

.ats-candidate-left-column,
.ats-candidate-right-column{
display:grid;
gap:18px;
align-content:start;
grid-template-rows:auto 1fr;
min-width:0;
}

.ats-candidate-left-column > .ats-candidate-panel,
.ats-candidate-right-column > .ats-candidate-panel{
height:100%;
}

.ats-candidate-ai-panel{
grid-column:1 / -1;
}

.ats-candidate-hero-panel,
.ats-candidate-summary-panel,
.ats-candidate-panel{
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 14px 34px rgba(15,23,42,.075);
}

.ats-candidate-hero-panel{
position:sticky;
top:18px;
overflow:hidden;
}

.ats-candidate-left-column .ats-candidate-hero-panel{
position:relative;
top:auto;
}

.ats-candidate-hero-top{
display:flex;
gap:16px;
align-items:center;
padding:24px;
background:linear-gradient(135deg,#0f172a,#1e293b);
color:white;
}

.ats-candidate-avatar-large{
width:70px;
height:70px;
display:flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:#4f46e5;
border:1px solid rgba(255,255,255,.2);
box-shadow:0 16px 30px rgba(0,0,0,.18);
font-size:22px;
font-weight:950;
letter-spacing:0;
flex:0 0 auto;
}

.ats-candidate-main-copy{
min-width:0;
}

.ats-candidate-main-copy h3{
font-size:24px;
font-weight:950;
line-height:1.15;
margin:8px 0 5px;
color:white;
overflow-wrap:anywhere;
}

.ats-candidate-main-copy p{
font-size:13px;
font-weight:750;
line-height:1.4;
margin:0;
color:#cbd5e1;
overflow-wrap:anywhere;
}

.ats-fit-pill{
display:inline-flex;
align-items:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
font-size:11px;
font-weight:950;
text-transform:uppercase;
letter-spacing:.04em;
background:#f1f5f9;
color:#334155;
}

.ats-fit-pill.is-strong,
.ats-fit-pill.is-good{
background:#dcfce7;
color:#047857;
}

.ats-fit-pill.is-review{
background:#fffbeb;
color:#b45309;
}

.ats-fit-pill.is-low{
background:#fee2e2;
color:#b91c1c;
}

.ats-candidate-score-wrap{
display:flex;
gap:18px;
align-items:center;
padding:22px 24px;
border-bottom:1px solid #e2e8f0;
}

.ats-score-ring{
--score:0;
width:112px;
height:112px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
border-radius:50%;
background:
radial-gradient(circle at center,#fff 58%,transparent 59%),
conic-gradient(#4f46e5 calc(var(--score) * 1%),#e2e8f0 0);
flex:0 0 auto;
}

.ats-score-ring strong{
font-size:28px;
line-height:1;
font-weight:950;
color:#0f172a;
}

.ats-score-ring span{
margin-top:5px;
font-size:11px;
font-weight:900;
letter-spacing:.06em;
text-transform:uppercase;
color:#64748b;
}

.ats-candidate-score-wrap h4{
font-size:18px;
font-weight:950;
color:#0f172a;
margin:0 0 5px;
}

.ats-candidate-score-wrap p{
font-size:13px;
font-weight:650;
line-height:1.55;
color:#64748b;
margin:0;
}

.ats-candidate-primary-actions{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
padding:18px 24px 24px;
}

.ats-candidate-qa-actions{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:12px;
padding:18px 26px 20px;
border-bottom:1px solid #e2e8f0;
background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);
}

.ats-candidate-action{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:48px;
border-radius:8px;
border:1px solid #cbd5e1;
background:#ffffff;
color:#334155;
font-size:14px;
font-weight:950;
line-height:1.2;
padding:0 14px;
box-shadow:0 10px 22px rgba(15,23,42,.06);
transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.ats-candidate-action:hover{
transform:translateY(-1px);
border-color:#93c5fd;
background:#eff6ff;
box-shadow:0 14px 26px rgba(37,99,235,.14);
}

.ats-candidate-action.is-secondary{
background:#ffffff;
color:#334155;
border:1px solid #cbd5e1;
box-shadow:none;
}

.ats-candidate-action.is-shortlist{
grid-column:1 / -1;
background:#16a34a;
box-shadow:0 10px 20px rgba(22,163,74,.18);
}

.ats-candidate-action.is-shortlist.is-done,
.ats-candidate-action.is-shortlist:disabled{
background:#dcfce7;
color:#047857;
box-shadow:none;
border:1px solid #86efac;
}

.ats-candidate-action.is-disabled{
opacity:.45;
pointer-events:none;
}

.ats-candidate-action:disabled{
opacity:.55;
cursor:not-allowed;
transform:none;
}

.ats-manual-modal{
position:fixed;
inset:0;
z-index:9999;
display:flex;
align-items:center;
justify-content:center;
padding:24px;
background:rgba(15,23,42,.48);
}

.ats-manual-modal-card{
width:min(980px,calc(100vw - 32px));
max-height:calc(100vh - 48px);
overflow:auto;
background:white;
border:1px solid #dbe3ef;
border-radius:8px;
box-shadow:0 30px 80px rgba(15,23,42,.28);
}

.ats-manual-modal-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:18px;
padding:22px 24px;
border-bottom:1px solid #e2e8f0;
}

.ats-manual-modal-head h3{
margin:0 0 6px;
font-size:22px;
font-weight:950;
color:#0f172a;
}

.ats-manual-modal-head p{
margin:0;
font-size:13px;
font-weight:650;
color:#64748b;
}

.ats-manual-close{
width:36px;
height:36px;
border:1px solid #dbe3ef;
border-radius:8px;
background:#f8fafc;
font-size:18px;
font-weight:950;
color:#334155;
}

.ats-manual-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:14px;
padding:22px 24px;
}

.ats-manual-field{
display:grid;
gap:7px;
min-width:0;
}

.ats-manual-field-wide{
grid-column:1 / -1;
}

.ats-manual-field span{
font-size:12px;
font-weight:950;
text-transform:uppercase;
color:#475569;
}

.ats-manual-field input,
.ats-manual-field textarea{
width:100%;
border:1px solid #cbd5e1;
border-radius:8px;
padding:12px 13px;
font-size:14px;
font-weight:650;
color:#0f172a;
background:#f8fafc;
}

.ats-manual-field textarea{
resize:vertical;
line-height:1.45;
}

.ats-manual-actions{
display:flex;
justify-content:flex-end;
gap:10px;
padding:18px 24px 24px;
border-top:1px solid #e2e8f0;
}

@media (max-width: 1100px){
.ats-candidate-qa-actions{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width: 720px){
.ats-candidate-qa-actions,
.ats-manual-grid{
grid-template-columns:1fr;
}

.ats-manual-actions{
flex-direction:column;
}
}

.ats-candidate-summary-panel,
.ats-candidate-panel{
padding:22px;
}

.ats-candidate-summary-panel h4,
.ats-candidate-panel h4{
font-size:18px;
font-weight:950;
color:#0f172a;
margin:0;
}

.ats-candidate-detail-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:12px;
margin-top:16px;
}

.ats-candidate-detail{
min-height:74px;
padding:13px 14px;
border:1px solid #e2e8f0;
border-radius:8px;
background:#f8fafc;
min-width:0;
}

.ats-candidate-detail span{
display:block;
font-size:11px;
font-weight:950;
letter-spacing:.06em;
text-transform:uppercase;
color:#64748b;
margin-bottom:7px;
}

.ats-candidate-detail strong{
display:block;
font-size:13px;
font-weight:850;
line-height:1.45;
color:#0f172a;
overflow-wrap:anywhere;
}

.ats-panel-title-row{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:14px;
padding-bottom:14px;
border-bottom:1px solid #edf2f7;
margin-bottom:14px;
}

.ats-panel-title-row p{
font-size:13px;
font-weight:650;
line-height:1.45;
color:#64748b;
margin:4px 0 0;
}

.ats-panel-title-row > span{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
background:#eef2ff;
color:#4338ca;
font-size:11px;
font-weight:950;
white-space:nowrap;
}

.ats-skill-cloud{
display:flex;
gap:8px;
flex-wrap:wrap;
}

.ats-skill-cloud span:not(.ats-muted-copy){
display:inline-flex;
align-items:center;
min-height:30px;
border-radius:999px;
padding:7px 11px;
background:#f1f5f9;
border:1px solid #e2e8f0;
color:#334155;
font-size:12px;
font-weight:850;
}

.ats-project-evidence-list{
display:grid;
gap:10px;
}

.ats-project-evidence-item{
display:grid;
grid-template-columns:42px minmax(0,1fr);
gap:10px;
align-items:flex-start;
padding:12px;
border:1px solid #c7d2fe;
border-radius:8px;
background:#eef2ff;
}

.ats-project-evidence-item span{
display:inline-flex;
align-items:center;
justify-content:center;
height:28px;
border-radius:999px;
background:white;
color:#3730a3;
font-size:10px;
font-weight:950;
letter-spacing:.04em;
}

.ats-project-evidence-item p{
font-size:13px;
font-weight:800;
line-height:1.45;
color:#1e3a8a;
margin:0;
overflow-wrap:anywhere;
}

.ats-project-evidence-item.is-loading{
border-color:#dbeafe;
background:#f8fafc;
}

.ats-project-evidence-item.is-loading p{
color:#64748b;
}

.ats-muted-copy{
font-size:13px;
font-weight:700;
color:#64748b;
}

.ats-recommendation-list{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:10px;
margin:0;
padding:0;
list-style:none;
}

.ats-recommendation-list li{
display:flex;
align-items:flex-start;
gap:10px;
padding:12px;
border:1px solid #dbeafe;
border-radius:8px;
background:#eff6ff;
color:#1e3a8a;
font-size:13px;
font-weight:800;
line-height:1.45;
}

.ats-recommendation-list li.is-gap{
border-color:#fde68a;
background:#fffbeb;
color:#92400e;
}

.ats-recommendation-list li.is-project{
border-color:#c7d2fe;
background:#eef2ff;
color:#3730a3;
}

.ats-recommendation-list li.is-detail{
grid-column:1 / -1;
border-color:#bbf7d0;
background:#f0fdf4;
color:#166534;
white-space:pre-line;
}

.ats-signal-icon{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:34px;
height:24px;
border-radius:999px;
background:white;
font-size:10px;
font-weight:950;
letter-spacing:.04em;
color:inherit;
flex:0 0 auto;
}

.ats-skill-graph{
display:grid;
gap:14px;
}

.ats-skill-graph-row{
display:grid;
gap:8px;
}

.ats-skill-graph-row > div:first-child{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}

.ats-skill-graph-row strong{
font-size:13px;
font-weight:950;
color:#0f172a;
}

.ats-skill-graph-row span{
font-size:12px;
font-weight:800;
color:#64748b;
}

.ats-skill-bar{
height:12px;
border-radius:999px;
background:#e2e8f0;
overflow:hidden;
}

.ats-skill-bar span{
display:block;
height:100%;
border-radius:inherit;
background:linear-gradient(90deg,#16a34a,#22c55e);
}

.ats-skill-graph-row.is-gap .ats-skill-bar span{
background:linear-gradient(90deg,#f59e0b,#ef4444);
}

.ats-gap-skill-list{
display:flex;
gap:8px;
flex-wrap:wrap;
margin-top:16px;
padding-top:16px;
border-top:1px solid #edf2f7;
}

.ats-gap-skill-list span{
display:inline-flex;
align-items:center;
min-height:28px;
border-radius:999px;
padding:6px 10px;
font-size:11.5px;
font-weight:900;
background:#fffbeb;
border:1px solid #fde68a;
color:#92400e;
}

.ats-gap-skill-list span.is-clear{
background:#ecfdf5;
border-color:#86efac;
color:#047857;
}

.ats-candidate-loading,
.ats-candidate-empty{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
min-height:360px;
padding:34px;
border:1px dashed #cbd5e1;
border-radius:8px;
background:white;
text-align:center;
}

.ats-candidate-loading div,
.ats-candidate-empty div{
width:54px;
height:54px;
display:flex;
align-items:center;
justify-content:center;
border-radius:8px;
background:#eef2ff;
color:#4f46e5;
font-size:14px;
font-weight:950;
margin-bottom:14px;
}

.ats-candidate-loading div{
border:4px solid #e0e7ff;
border-top-color:#4f46e5;
border-radius:50%;
animation:atsSpin .8s linear infinite;
}

.ats-candidate-loading span,
.ats-candidate-empty p{
font-size:14px;
font-weight:700;
line-height:1.55;
color:#64748b;
margin:0;
}

.ats-candidate-empty h3{
font-size:20px;
font-weight:950;
color:#0f172a;
margin:0 0 8px;
}

.ats-candidate-empty .ats-back-btn{
margin-top:18px;
}

@keyframes atsSpin{
to{
transform:rotate(360deg);
}
}

@media (max-width:1180px){
.ats-candidate-profile-grid{
grid-template-columns:1fr;
}

.ats-candidate-left-column,
.ats-candidate-right-column{
gap:16px;
grid-template-rows:auto;
}

.ats-candidate-ai-panel{
grid-column:auto;
}
}

@media (max-width: 1024px){
.ats-job-layout{
grid-template-columns:1fr;
}

.ats-job-side-panel,
.ats-job-jd-panel,
.ats-job-submit-bar{
grid-column:auto;
}

.dashboard-cards{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.dashboard-action-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.shortlist-action-bar{
grid-template-columns:repeat(3,minmax(150px,1fr));
}

#resultsPage .bg-white.rounded-xl.shadow.p-6 .grid{
grid-template-columns:1fr 1fr;
}

#jobCards,
#communicationJobsContainer{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

.ats-bulk-filter-card{
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

.ats-bulk-nav{
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

.ats-result-stats{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

#jobResultPage .filter-bar{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

/* AI sourcing kit: keep the create-job form compact and aligned. */
#jobPage .ats-job-main-panel{
grid-column:1;
grid-row:1;
}

#jobPage .ats-job-side-stack{
grid-column:2;
grid-row:1;
display:grid;
gap:12px;
align-self:start;
}

#jobPage .ats-job-side-panel,
#jobPage .ats-job-sourcing-panel{
background:#fff;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 14px 34px rgba(15,23,42,.075);
padding:14px;
}

#jobPage .ats-job-sourcing-panel .ats-job-panel-head{
display:flex;
gap:10px;
margin-bottom:10px;
padding-bottom:10px;
}

#jobPage .ats-sourcing-toggles{
display:grid;
grid-template-columns:1fr;
gap:8px;
margin-top:0;
}

#jobPage .ats-source-channel-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:8px;
margin-top:8px;
}

#jobPage .ats-sourcing-toggles label,
#jobPage .ats-source-channel-grid label{
display:flex;
align-items:center;
gap:8px;
min-height:38px;
padding:7px 9px;
border:1px solid #dbe3ef;
border-radius:8px;
background:#f8fafc;
color:#0f172a;
font-size:12px;
font-weight:850;
line-height:1.25;
box-shadow:none;
}

#jobPage .ats-sourcing-toggles label{
min-height:38px;
}

#jobPage .ats-sourcing-toggles input[type="checkbox"],
#jobPage .ats-source-channel-grid input[type="checkbox"]{
appearance:auto;
-webkit-appearance:checkbox;
width:16px !important;
height:16px !important;
min-width:16px;
flex:0 0 16px;
padding:0 !important;
margin:0;
border-radius:4px !important;
background:transparent !important;
accent-color:#2563eb;
box-shadow:none !important;
}

#jobPage .ats-sourcing-toggles label:has(input:checked),
#jobPage .ats-source-channel-grid label:has(input:checked){
border-color:#bfdbfe;
background:#eff6ff;
}

#jobPage .ats-job-jd-panel{
grid-column:1 / -1;
grid-row:2;
}

#jobPage .ats-job-post-panel{
grid-column:1 / -1;
grid-row:3;
background:white;
border:1px solid #e2e8f0;
border-radius:8px;
box-shadow:0 14px 34px rgba(15,23,42,.075);
padding:22px;
}

#jobPage .ats-job-post-panel .ats-job-panel-head{
align-items:center;
}

.ats-post-generate-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:38px;
border:0;
border-radius:8px;
padding:0 14px;
background:#2563eb;
color:white;
font-size:13px;
font-weight:950;
cursor:pointer;
white-space:nowrap;
}

.ats-post-output-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:12px;
}

.ats-post-empty-state{
grid-column:1 / -1;
padding:18px;
border:1px dashed #cbd5e1;
border-radius:8px;
background:#f8fafc;
color:#64748b;
font-size:14px;
font-weight:750;
}

.ats-generated-post-card{
border:1px solid #dbe3ef;
border-radius:8px;
background:
linear-gradient(180deg,#ffffff,#f8fafc);
padding:14px;
box-shadow:0 10px 24px rgba(15,23,42,.055);
position:relative;
overflow:hidden;
--post-accent:#2563eb;
--post-soft:#eff6ff;
}

.ats-generated-post-card::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:4px;
background:linear-gradient(90deg,var(--post-accent),#22d3ee);
}

.ats-post-platform-linkedin{
--post-accent:#2563eb;
--post-soft:#eff6ff;
}

.ats-post-platform-whatsapp{
--post-accent:#16a34a;
--post-soft:#ecfdf5;
}

.ats-post-platform-naukri{
--post-accent:#7c3aed;
--post-soft:#f5f3ff;
}

.ats-post-platform-generic{
--post-accent:#0e7490;
--post-soft:#ecfeff;
}

.ats-generated-post-head{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
margin-bottom:10px;
}

.ats-generated-post-head strong{
display:flex;
align-items:center;
gap:9px;
min-width:0;
font-size:14px;
font-weight:950;
color:#0f172a;
}

.ats-generated-post-head strong::before{
content:"";
width:30px;
height:30px;
display:inline-flex;
flex:0 0 auto;
border-radius:8px;
background:var(--post-soft);
box-shadow:inset 0 0 0 1px rgba(148,163,184,.22);
}

.ats-post-platform-linkedin .ats-generated-post-head strong::before{
content:"in";
display:inline-flex;
align-items:center;
justify-content:center;
color:#2563eb;
font-size:11px;
font-weight:950;
}

.ats-post-platform-whatsapp .ats-generated-post-head strong::before{
content:"WA";
display:inline-flex;
align-items:center;
justify-content:center;
color:#16a34a;
font-size:10px;
font-weight:950;
}

.ats-post-platform-naukri .ats-generated-post-head strong::before{
content:"NK";
display:inline-flex;
align-items:center;
justify-content:center;
color:#7c3aed;
font-size:10px;
font-weight:950;
}

.ats-post-platform-generic .ats-generated-post-head strong::before{
content:"JP";
display:inline-flex;
align-items:center;
justify-content:center;
color:#0e7490;
font-size:10px;
font-weight:950;
}

.ats-generated-post-head div{
display:flex;
align-items:center;
gap:8px;
}

.ats-generated-post-head span{
min-width:62px;
font-size:12px;
font-weight:850;
color:#15803d;
}

.ats-generated-post-head button{
height:34px;
border:1px solid rgba(15,23,42,.08);
border-radius:8px;
padding:0 13px;
background:#0f172a;
color:white;
font-size:12px;
font-weight:950;
cursor:pointer;
box-shadow:0 10px 20px rgba(15,23,42,.12);
transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
white-space:nowrap;
}

.ats-generated-post-head button:hover{
transform:translateY(-1px);
box-shadow:0 14px 24px rgba(15,23,42,.16);
filter:saturate(1.05);
}

#jobPage .ats-generated-post-card textarea{
width:100%;
min-height:190px;
font-size:13px !important;
font-weight:650;
line-height:1.5;
background:white !important;
}

.ats-post-modal{
position:fixed;
inset:0;
z-index:80;
display:flex;
align-items:center;
justify-content:center;
padding:24px;
background:rgba(15,23,42,.52);
}

.ats-post-modal.hidden{
display:none !important;
}

.ats-post-modal-card{
width:min(1100px,94vw);
max-height:88vh;
overflow:auto;
background:#fff;
border-radius:8px;
box-shadow:0 28px 80px rgba(15,23,42,.32);
padding:22px;
}

.ats-post-modal-head{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:18px;
padding-bottom:14px;
margin-bottom:16px;
border-bottom:1px solid #e2e8f0;
}

.ats-post-modal-head h2{
font-size:22px;
font-weight:950;
color:#0f172a;
margin:4px 0;
}

.ats-post-modal-head p{
font-size:13px;
font-weight:700;
color:#64748b;
margin:0;
}

.ats-post-modal-close{
border:0;
border-radius:8px;
padding:10px 14px;
background:#111827;
color:#fff;
font-size:13px;
font-weight:900;
cursor:pointer;
}

.ats-job-post-page{
min-height:calc(100vh - 64px);
padding:0 0 36px;
background:#f6f8fc;
}

.ats-job-post-hero{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:20px;
padding:26px 28px;
margin-bottom:18px;
border:1px solid rgba(14,116,144,.16);
border-radius:8px;
background:
linear-gradient(135deg,#ffffff,#f8fbff 58%,#ecfeff);
box-shadow:0 18px 44px rgba(15,23,42,.08);
position:relative;
overflow:hidden;
isolation:isolate;
}

.ats-job-post-hero::after{
content:"";
position:absolute;
right:-70px;
bottom:-118px;
width:320px;
height:220px;
background:linear-gradient(135deg,rgba(20,184,166,.12),rgba(37,99,235,.10));
transform:rotate(-18deg);
z-index:-1;
}

.ats-job-post-hero h2{
font-size:28px;
line-height:1.16;
font-weight:950;
color:#0f172a;
margin:4px 0 8px;
}

.ats-job-post-hero p{
font-size:14px;
line-height:1.55;
font-weight:700;
color:#64748b;
margin:0;
}

#jobPostsPage .ats-post-output-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:16px;
}

#jobPostsPage .ats-generated-post-card{
display:grid;
grid-template-rows:auto minmax(0,1fr);
min-height:420px;
background:
linear-gradient(180deg,#ffffff,#f8fafc);
box-shadow:0 16px 34px rgba(15,23,42,.08);
}

#jobPostsPage .ats-generated-post-card textarea{
display:block;
width:100%;
height:100%;
min-height:330px;
resize:vertical;
border:1px solid #dbe3ef;
border-radius:8px;
padding:14px 16px;
font-size:13px !important;
font-weight:650;
line-height:1.55;
background:
linear-gradient(180deg,#ffffff,#f8fafc) !important;
color:#0f172a;
box-shadow:inset 0 1px 2px rgba(15,23,42,.04);
white-space:pre-wrap;
}

.ats-post-loading-card{
min-height:260px !important;
align-content:start;
}

.ats-post-loading-lines{
display:grid;
gap:12px;
padding:18px 2px 2px;
}

.ats-post-loading-lines i{
display:block;
height:15px;
border-radius:999px;
background:linear-gradient(90deg,#e2e8f0,#f8fafc,#e2e8f0);
background-size:220% 100%;
animation:atsPostLoading 1.15s ease-in-out infinite;
}

.ats-post-loading-lines i:nth-child(1){width:92%;}
.ats-post-loading-lines i:nth-child(2){width:76%;}
.ats-post-loading-lines i:nth-child(3){width:84%;}
.ats-post-loading-lines i:nth-child(4){width:58%;}
.ats-post-loading-lines i:nth-child(5){width:68%;}

@keyframes atsPostLoading{
0%{background-position:0 0;}
100%{background-position:-220% 0;}
}

.ats-post-alert{
grid-column:1 / -1;
padding:12px 14px;
border:1px solid #fed7aa;
border-radius:8px;
background:#fff7ed;
color:#9a3412;
font-size:13px;
font-weight:850;
}

#jobPage .ats-job-submit-bar{
grid-column:1 / -1;
grid-row:3;
}

@media (max-width: 1024px){
#jobPage .ats-job-main-panel,
#jobPage .ats-job-side-stack,
#jobPage .ats-job-post-panel,
#jobPage .ats-job-jd-panel,
#jobPage .ats-job-submit-bar{
grid-column:1;
grid-row:auto;
}

#jobPage .ats-source-channel-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.ats-post-output-grid{
grid-template-columns:1fr;
}

#jobPostsPage .ats-post-output-grid{
grid-template-columns:1fr;
}
}

@media (max-width: 640px){
#jobPage .ats-sourcing-toggles,
#jobPage .ats-source-channel-grid{
grid-template-columns:1fr;
}

#jobPage .ats-jd-upload-bar{
grid-template-columns:1fr;
}

#jdUploadStatus{
min-width:0;
}
}

@media (max-width: 768px){
body > .w-full{
padding-left:12px;
padding-right:12px;
padding-top:96px;
}

.ats-job-hero{
flex-direction:column;
padding:20px;
}

.ats-job-hero h1{
font-size:24px;
}

.ats-job-fields{
grid-template-columns:1fr;
}

.ats-job-submit-bar{
position:static;
flex-direction:column-reverse;
}

.ats-job-submit-bar .create-btn,
.ats-job-secondary-btn{
width:100%;
}

.ats-candidate-profile-header{
flex-direction:column;
padding:20px;
}

.ats-candidate-profile-header h2{
font-size:24px;
}

.ats-candidate-detail-grid,
.ats-candidate-primary-actions{
grid-template-columns:1fr;
}

.ats-recommendation-list{
grid-template-columns:1fr;
}

.ats-candidate-hero-top,
.ats-candidate-score-wrap,
.ats-panel-title-row{
flex-direction:column;
align-items:flex-start;
}

.ats-score-ring{
width:100px;
height:100px;
}

.ats-sidebar{
width:100% !important;
height:auto !important;
min-height:0;
position:fixed !important;
left:0;
right:0;
top:0;
bottom:auto;
z-index:50;
display:grid !important;
grid-template-columns:auto 1fr;
align-items:center;
overflow:visible;
}

.ats-sidebar-brand{
padding:12px 14px !important;
border-bottom:0 !important;
}

.ats-brand-mark{
width:38px !important;
height:38px !important;
}

.ats-brand-copy small{
display:none;
}

.ats-sidebar-menu{
padding:8px 10px !important;
display:flex;
flex-direction:row;
gap:8px !important;
overflow-x:auto;
}

.ats-nav-label,
.ats-sidebar .nav-btn small,
.ats-sidebar-footer{
display:none !important;
}

.ats-sidebar .nav-btn{
grid-template-columns:30px auto;
grid-template-rows:auto;
min-width:max-content;
min-height:44px;
padding:8px 11px !important;
border-radius:999px !important;
font-size:13px !important;
}

.ats-sidebar .nav-btn::before{
display:none;
}

.ats-nav-icon{
grid-row:auto;
width:28px;
height:28px;
border-radius:999px;
font-size:10px !important;
}

body > .w-full > .flex-1,
.ml-72{
margin-left:0 !important;
}

.ats-top-banner{
flex-direction:column;
align-items:flex-start !important;
padding:22px !important;
}

.ats-banner-content h2{
font-size:24px !important;
}

.ats-banner-profile{
width:100%;
}

.dashboard-cards,
.dashboard-action-grid,
#jobCards,
#communicationJobsContainer,
.ats-bulk-nav,
.ats-bulk-filter-card,
.ats-bulk-analytics-grid,
.ats-result-stats,
#jobResultPage .filter-bar,
.grid.grid-cols-3,
.grid.grid-cols-4{
grid-template-columns:1fr !important;
}

.ats-result-header{
flex-direction:column;
padding:20px;
}

.ats-result-header h2{
font-size:24px !important;
}

.ats-back-btn{
width:100%;
}

.ats-result-table-card{
padding:16px;
}

.ats-result-table-head{
flex-direction:column;
}

#jobResultPage #columnPanel{
grid-template-columns:1fr;
}

.ats-result-table-scroll{
height:390px;
}

.ats-bulk-console{
padding:20px !important;
}

.ats-bulk-console-head,
.ats-bulk-section-head{
flex-direction:column;
align-items:flex-start;
}

.ats-bulk-upload-row{
grid-template-columns:1fr !important;
}

.ats-bulk-analyze-btn,
.ats-filter-btn{
width:100%;
min-height:48px;
}

.ats-file-drop{
align-items:flex-start;
flex-direction:column;
}

.ats-file-drop input[type="file"]{
max-width:100%;
width:100%;
margin-left:0;
}

.ats-bulk-table-scroll{
height:360px;
}

#bulkColumnPanel,
#top10ColumnPanel{
grid-template-columns:1fr;
}

.dashboard-table-card,
.dashboard-graph-card,
.bg-white.rounded-xl.shadow{
padding:16px !important;
}

.flex.gap-4{
flex-wrap:wrap;
}

.action-btn{
width:100%;
}

.shortlist-action-bar{
grid-template-columns:1fr;
}

#resultsPage{
padding:16px !important;
}

#resultsPage > .bg-indigo-50{
padding:16px !important;
}

#resultsPage .bg-white.rounded-xl.shadow.p-6 .grid{
grid-template-columns:1fr !important;
}

.dashboard-table-fixed{
height:360px;
}

.ats-shortlist-scroll,
.ats-results-scroll{
height:360px;
}

.ats-communication-scroll{
height:260px;
}

#dashboardJobTable td:last-child{
min-width:250px;
}

.ats-ellipsis,
.ats-job-title{
max-width:190px;
}

}

/* Final recommendation panel polish */
#insightPage .ats-ai-recommendation{
border:1px solid rgba(148,163,184,.24) !important;
border-radius:16px !important;
background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98)) !important;
box-shadow:0 24px 60px rgba(15,23,42,.12) !important;
overflow:hidden;
position:relative;
}

#insightPage .ats-ai-recommendation::before{
content:"";
display:block;
height:4px;
background:linear-gradient(90deg,#2563eb,#14b8a6,#f59e0b);
}

#insightPage .ats-ai-recommendation > div:first-child{
display:flex !important;
align-items:flex-start !important;
justify-content:space-between !important;
gap:18px !important;
padding:20px 22px 18px !important;
border-bottom:1px solid rgba(148,163,184,.22) !important;
background:linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#eef6ff 100%) !important;
}

#insightPage .ats-ai-recommendation > div:first-child h3{
margin:0 0 7px !important;
font-size:22px !important;
line-height:1.15 !important;
font-weight:950 !important;
color:var(--ats-ink) !important;
}

#insightPage .ats-ai-recommendation > div:first-child p{
max-width:520px !important;
margin:0 !important;
font-size:13px !important;
line-height:1.45 !important;
font-weight:800 !important;
color:var(--ats-muted) !important;
}

#insightPage .ats-ai-recommendation #aiSummaryBox{
padding:18px 22px 22px !important;
gap:16px !important;
}

#insightPage .ats-ai-summary-status{
padding:14px 16px !important;
border:1px solid rgba(37,99,235,.18) !important;
border-radius:13px !important;
background:linear-gradient(135deg,#ffffff,#f8fbff) !important;
box-shadow:0 10px 24px rgba(15,23,42,.045) !important;
}

#insightPage .ats-summary-grid{
gap:12px !important;
}

#insightPage .ats-summary-grid article{
position:relative !important;
min-height:92px !important;
padding:16px 16px 15px !important;
border:1px solid rgba(148,163,184,.25) !important;
border-radius:13px !important;
background:linear-gradient(180deg,#ffffff,#f8fafc) !important;
box-shadow:0 12px 28px rgba(15,23,42,.055) !important;
overflow:hidden;
}

#insightPage .ats-summary-grid article::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:4px;
background:#2563eb;
}

#insightPage .ats-summary-grid article:nth-child(2)::before{
background:#14b8a6;
}

#insightPage .ats-summary-grid article:nth-child(3)::before{
background:#f59e0b;
}

#insightPage .ats-summary-grid small{
margin-bottom:10px !important;
font-size:11px !important;
letter-spacing:.08em !important;
color:#64748b !important;
}

#insightPage .ats-summary-grid strong{
font-size:18px !important;
color:#0f172a !important;
}

#insightPage .ats-ai-profile-card{
grid-template-columns:minmax(0,1.05fr) minmax(290px,.95fr) !important;
gap:0 !important;
padding:0 !important;
border:1px solid rgba(148,163,184,.24) !important;
border-radius:15px !important;
background:#fff !important;
box-shadow:0 16px 34px rgba(15,23,42,.055) !important;
overflow:hidden !important;
}

#insightPage .ats-ai-narrative{
padding:18px 20px !important;
background:linear-gradient(180deg,#ffffff,#fbfdff) !important;
}

#insightPage .ats-ai-narrative h4,
#insightPage .ats-ai-summary-lists h4{
font-size:14px !important;
letter-spacing:0 !important;
}

#insightPage .ats-ai-narrative p{
font-size:13.5px !important;
line-height:1.68 !important;
color:#475569 !important;
}

#insightPage .ats-ai-skill-card{
padding:18px 20px !important;
border-left:1px solid rgba(148,163,184,.25) !important;
background:linear-gradient(180deg,#f8fafc,#ffffff) !important;
}

#insightPage .ats-summary-pills{
gap:8px !important;
}

#insightPage .ats-summary-pills span{
min-height:30px !important;
padding:0 11px !important;
border-radius:999px !important;
font-size:12px !important;
box-shadow:0 5px 14px rgba(15,23,42,.045) !important;
}

#insightPage .ats-summary-pills span.is-match{
background:linear-gradient(180deg,#f0fdf4,#dcfce7) !important;
border-color:#86efac !important;
color:#047857 !important;
}

#insightPage .ats-summary-pills span.is-gap{
background:linear-gradient(180deg,#fffbeb,#fef3c7) !important;
border-color:#fcd34d !important;
color:#b45309 !important;
}

#insightPage .ats-ai-summary-lists{
gap:14px !important;
}

#insightPage .ats-ai-summary-lists article{
position:relative !important;
padding:17px 18px !important;
border:1px solid rgba(148,163,184,.24) !important;
border-radius:14px !important;
background:linear-gradient(180deg,#ffffff,#f8fafc) !important;
box-shadow:0 14px 30px rgba(15,23,42,.055) !important;
overflow:hidden !important;
}

#insightPage .ats-ai-summary-lists article::before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
height:3px;
background:#2563eb;
}

#insightPage .ats-ai-summary-lists article:nth-child(2)::before{
background:#14b8a6;
}

#insightPage .ats-ai-summary-lists article:nth-child(3)::before{
background:#f59e0b;
}

#insightPage .ats-ai-summary-lists article:nth-child(4)::before{
background:#7c3aed;
}

#insightPage .ats-ai-summary-lists li{
padding-left:18px !important;
font-size:13px !important;
line-height:1.55 !important;
color:#475569 !important;
}

#insightPage .ats-ai-summary-lists li::before{
top:.66em !important;
width:7px !important;
height:7px !important;
background:#2563eb !important;
box-shadow:0 0 0 4px rgba(37,99,235,.10) !important;
}

@media (max-width:1180px){
#insightPage .ats-ai-profile-card{
grid-template-columns:1fr !important;
}

#insightPage .ats-ai-skill-card{
border-left:0 !important;
border-top:1px solid rgba(148,163,184,.25) !important;
}
}

@media (max-width:720px){
#insightPage .ats-ai-recommendation > div:first-child{
flex-direction:column !important;
}
}

/* Colorful recommendation panel theme */
#insightPage .ats-ai-recommendation{
border:0 !important;
border-radius:18px !important;
background:
linear-gradient(#ffffff,#ffffff) padding-box,
linear-gradient(135deg,#2563eb,#06b6d4 34%,#22c55e 58%,#f59e0b 78%,#ec4899) border-box !important;
border:1px solid transparent !important;
box-shadow:0 28px 70px rgba(37,99,235,.16),0 12px 28px rgba(15,23,42,.08) !important;
}

#insightPage .ats-ai-recommendation::before{
height:7px !important;
background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e,#f59e0b,#ec4899) !important;
}

#insightPage .ats-ai-recommendation > div:first-child{
padding:22px 24px !important;
background:
linear-gradient(135deg,rgba(37,99,235,.12),rgba(6,182,212,.10) 36%,rgba(34,197,94,.09) 66%,rgba(245,158,11,.12)),
#ffffff !important;
}

#insightPage .ats-ai-recommendation > div:first-child h3{
font-size:23px !important;
color:#0b1220 !important;
}

#insightPage .ats-ai-recommendation > div:first-child p{
color:#475569 !important;
}

#insightPage .ats-ai-summary-status{
border:0 !important;
border-radius:16px !important;
background:linear-gradient(135deg,#312e81,#2563eb 48%,#0891b2) !important;
box-shadow:0 18px 34px rgba(37,99,235,.22) !important;
color:#fff !important;
}

#insightPage .ats-ai-summary-status span{
background:rgba(255,255,255,.18) !important;
border-color:rgba(255,255,255,.32) !important;
color:#fff !important;
}

#insightPage .ats-ai-summary-status strong{
color:#fff !important;
}

#insightPage .ats-summary-grid article{
border:0 !important;
border-radius:16px !important;
box-shadow:0 18px 34px rgba(15,23,42,.10) !important;
}

#insightPage .ats-summary-grid article:nth-child(1){
background:linear-gradient(135deg,#eff6ff,#dbeafe) !important;
}

#insightPage .ats-summary-grid article:nth-child(2){
background:linear-gradient(135deg,#ecfeff,#cffafe) !important;
}

#insightPage .ats-summary-grid article:nth-child(3){
background:linear-gradient(135deg,#fffbeb,#fde68a) !important;
}

#insightPage .ats-summary-grid article::before{
width:6px !important;
}

#insightPage .ats-summary-grid small{
color:#475569 !important;
}

#insightPage .ats-summary-grid strong{
font-size:20px !important;
}

#insightPage .ats-ai-profile-card{
border:0 !important;
border-radius:18px !important;
background:#fff !important;
box-shadow:0 22px 44px rgba(15,23,42,.10) !important;
}

#insightPage .ats-ai-narrative{
background:
linear-gradient(180deg,rgba(37,99,235,.08),rgba(255,255,255,.96) 42%),
#ffffff !important;
}

#insightPage .ats-ai-narrative h4{
display:inline-flex;
align-items:center;
gap:8px;
padding:7px 11px;
border-radius:999px;
background:#dbeafe;
color:#1d4ed8;
}

#insightPage .ats-ai-narrative h4::before{
content:"";
width:8px;
height:8px;
border-radius:50%;
background:#2563eb;
box-shadow:0 0 0 5px rgba(37,99,235,.14);
}

#insightPage .ats-ai-skill-card{
border-left:0 !important;
background:
linear-gradient(180deg,rgba(20,184,166,.10),rgba(255,255,255,.96) 48%),
#ffffff !important;
}

#insightPage .ats-ai-skill-card .ats-ai-skill-row:first-child > span{
color:#047857 !important;
}

#insightPage .ats-ai-skill-card .ats-ai-skill-row:last-child > span{
color:#b45309 !important;
}

#insightPage .ats-summary-pills span.is-match{
background:linear-gradient(135deg,#bbf7d0,#ecfdf5) !important;
border-color:#4ade80 !important;
color:#047857 !important;
box-shadow:0 10px 22px rgba(34,197,94,.18) !important;
}

#insightPage .ats-summary-pills span.is-gap{
background:linear-gradient(135deg,#fde68a,#fff7ed) !important;
border-color:#f59e0b !important;
color:#b45309 !important;
box-shadow:0 10px 22px rgba(245,158,11,.18) !important;
}

#insightPage .ats-ai-summary-lists article{
border:0 !important;
border-radius:17px !important;
box-shadow:0 18px 38px rgba(15,23,42,.10) !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(1){
background:linear-gradient(135deg,#eff6ff,#ffffff 62%) !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(2){
background:linear-gradient(135deg,#ecfeff,#ffffff 62%) !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(3){
background:linear-gradient(135deg,#fffbeb,#ffffff 62%) !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(4){
background:linear-gradient(135deg,#f5f3ff,#ffffff 62%) !important;
}

#insightPage .ats-ai-summary-lists h4{
font-size:15px !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(1) h4{
color:#1d4ed8 !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(2) h4{
color:#0f766e !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(3) h4{
color:#b45309 !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(4) h4{
color:#6d28d9 !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(2) li::before{
background:#14b8a6 !important;
box-shadow:0 0 0 4px rgba(20,184,166,.13) !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(3) li::before{
background:#f59e0b !important;
box-shadow:0 0 0 4px rgba(245,158,11,.14) !important;
}

#insightPage .ats-ai-summary-lists article:nth-child(4) li::before{
background:#7c3aed !important;
box-shadow:0 0 0 4px rgba(124,58,237,.13) !important;
}

.ats-top10-name-btn{
appearance:none;
border:0;
background:transparent;
padding:0;
margin:0;
font:inherit;
font-size:16px;
font-weight:950;
line-height:1.25;
color:var(--ats-ink);
cursor:pointer;
text-align:left;
}

.ats-top10-name-btn:hover{
color:var(--ats-primary);
text-decoration:underline;
text-underline-offset:4px;
}

.ats-top10-profile-trigger{
border:0;
cursor:pointer;
transition:transform .16s ease, box-shadow .16s ease;
}

.ats-top10-profile-trigger:hover{
transform:translateY(-1px);
box-shadow:0 18px 34px rgba(37,99,235,.24);
}

/* Bulk analyzer independent workflow overrides */
.ats-bulk-nav.ats-bulk-workflow-nav{
grid-template-columns:repeat(5,minmax(0,1fr)) !important;
}

@media (max-width:1100px){
.ats-bulk-nav.ats-bulk-workflow-nav{
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
}

@media (max-width:640px){
.ats-bulk-nav.ats-bulk-workflow-nav{
grid-template-columns:1fr !important;
}
}

/* Final dashboard compact chart override */
.ats-dashboard-main-grid{
align-items:stretch !important;
}

.ats-dashboard-main-grid .dashboard-graph-card{
height:auto !important;
min-height:0 !important;
align-self:stretch !important;
display:flex !important;
flex-direction:column !important;
}

.ats-dashboard-main-grid .dashboard-graph-card .graph-container{
flex:1 1 auto !important;
height:auto !important;
min-height:0 !important;
max-height:none !important;
overflow:hidden !important;
border:1px solid #e2e8f0;
border-radius:8px;
background:
linear-gradient(180deg,rgba(248,250,252,.88),rgba(255,255,255,.96)),
radial-gradient(circle at 88% 12%,rgba(37,99,235,.10),transparent 28%);
padding:14px 12px 10px;
}

.ats-dashboard-main-grid .dashboard-graph-card .graph-container canvas{
height:100% !important;
max-height:none !important;
}

.ats-dashboard-action-panel{
align-self:stretch !important;
height:100% !important;
}

/* HireScore AI brand mark */
.ats-brand-mark{
background:#fff !important;
padding:5px !important;
overflow:hidden !important;
box-shadow:0 14px 28px rgba(37,99,235,.25), inset 0 1px 0 rgba(255,255,255,.6) !important;
}

.ats-brand-mark img{
width:100% !important;
height:100% !important;
object-fit:contain !important;
display:block !important;
}
