/* EQ v15.373 — browser-verified premium dashboard pass.
   Goals: strict alignment, no accidental wraps, softer stage gradients,
   identical sidebar fills, and compact company/vacancy/candidate flow. */

html:has(body.eq-dashboard-page.v373-dashboard-premium),
body.eq-dashboard-page.v373-dashboard-premium{
  overflow-x:hidden!important;
}

/* Sidebar — every item uses exactly the accepted current “Главная” fill.
   Active state changes only outline/glow, never the fill. */
body.eq-dashboard-page.v373-dashboard-premium .eq-nav-link,
body.eq-dashboard-page.v373-dashboard-premium .eq-nav-link.active{
  min-height:50px!important;
  background:linear-gradient(110deg,rgba(87,125,255,.30),rgba(151,90,231,.21))!important;
  border:1px solid rgba(128,172,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 8px 20px rgba(49,47,137,.055)!important;
  color:#f4f7ff!important;
}
body.eq-dashboard-page.v373-dashboard-premium .eq-nav-link.active{
  border-color:rgba(205,194,255,.82)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.085),0 0 0 1px rgba(150,125,255,.20),0 0 22px rgba(108,83,232,.16)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .eq-nav-link:hover{
  filter:brightness(1.05)!important;
  border-color:rgba(172,183,255,.46)!important;
}

/* Hero — accepted art and copy, but no enclosing surface/card. */
body.eq-dashboard-page.v373-dashboard-premium .hero-panel{
  height:148px!important;
  min-height:148px!important;
  grid-template-columns:264px minmax(0,780px)!important;
  grid-template-areas:'visual copy'!important;
  justify-content:start!important;
  align-items:start!important;
  gap:24px!important;
  padding:0 10px!important;
  margin:8px 0 7px!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
body.eq-dashboard-page.v373-dashboard-premium .hero-visual,
body.eq-dashboard-page.v373-dashboard-premium .hero-visual.is-male,
body.eq-dashboard-page.v373-dashboard-premium .hero-visual.is-female{
  width:264px!important;
  height:148px!important;
  aspect-ratio:1672/941!important;
  border-radius:15px!important;
  overflow:hidden!important;
  border:1px solid rgba(122,164,210,.13)!important;
  box-shadow:0 12px 30px rgba(2,10,25,.14)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .hero-image-underlay{
  inset:0!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  transform:none!important;
}
body.eq-dashboard-page.v373-dashboard-premium .hero-copy{
  align-self:start!important;
  justify-content:flex-start!important;
  padding:1px 0 0!important;
  margin:0!important;
  max-width:780px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .hero-copy .hero-kicker{
  margin:0 0 7px!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.14em!important;
}
body.eq-dashboard-page.v373-dashboard-premium .hero-copy h1{
  margin:0 0 8px!important;
  font-size:29px!important;
  line-height:1.03!important;
  letter-spacing:-.035em!important;
  max-width:720px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .hero-copy p:not(.hero-kicker){
  margin:0!important;
  max-width:780px!important;
  font-size:14.2px!important;
  line-height:1.38!important;
}

/* KPI — four equal cards and one visually centered text/number unit. */
body.eq-dashboard-page.v373-dashboard-premium .stats-grid{
  gap:10px!important;
  margin-top:0!important;
  align-items:stretch!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-card{
  height:76px!important;
  min-height:76px!important;
  padding:8px 12px!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  border-radius:14px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-icon{
  width:52px!important;
  height:52px!important;
  border-radius:13px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-svg{
  width:30px!important;
  height:30px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-copy{
  min-width:0!important;
  height:54px!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  grid-template-rows:auto auto!important;
  justify-content:center!important;
  align-content:center!important;
  align-items:baseline!important;
  column-gap:9px!important;
  row-gap:3px!important;
  text-align:center!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-copy span{
  grid-column:1!important;
  grid-row:1!important;
  font-size:15.8px!important;
  line-height:1!important;
  font-weight:820!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-copy b{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  font-size:35px!important;
  line-height:.88!important;
  align-self:baseline!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-copy small{
  grid-column:1/3!important;
  grid-row:2!important;
  justify-self:center!important;
  margin:0!important;
  font-size:11.7px!important;
  line-height:1!important;
  font-weight:730!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .stat-line{
  height:2px!important;
  bottom:5px!important;
  opacity:.72!important;
}

/* Workspace — strict rhythm and compact surfaces. */
body.eq-dashboard-page.v373-dashboard-premium .v369-workspace{
  padding:8px 12px 10px!important;
  gap:6px!important;
  border-radius:16px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-workspace-head{
  min-height:30px!important;
  height:30px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-workspace-head .hero-kicker{
  font-size:8.7px!important;
  line-height:1!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-workspace-head h2{
  font-size:20px!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}

/* Company, counters and the only vacancy CTA are one contiguous left cluster. */
body.eq-dashboard-page.v373-dashboard-premium .v369-company-bar{
  min-height:38px!important;
  height:38px!important;
  padding:3px 5px!important;
  gap:7px!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-company-button{
  height:30px!important;
  min-height:30px!important;
  min-width:184px!important;
  flex:0 0 auto!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-company-stats{
  margin:0!important;
  display:flex!important;
  gap:6px!important;
  flex:0 0 auto!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-company-stats>span{
  height:28px!important;
  min-height:28px!important;
  padding:0 8px!important;
  font-size:11.7px!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-new-vacancy{
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0 12px!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

/* Four stages — softer translucent two-tone gradients, equal height, centered text cluster. */
body.eq-dashboard-page.v373-dashboard-premium .v369-flow{
  gap:7px!important;
  align-items:stretch!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a{
  height:36px!important;
  min-height:36px!important;
  padding:0 13px!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a b{
  font-size:13.4px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a span{
  margin:0!important;
  padding:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  line-height:1!important;
  color:#eef5fb!important;
  opacity:.84!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a:nth-child(1){
  background:linear-gradient(118deg,rgba(134,80,214,.34),rgba(71,72,146,.24) 56%,rgba(43,89,130,.18))!important;
  border-color:rgba(178,125,235,.28)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a:nth-child(2){
  background:linear-gradient(118deg,rgba(48,148,194,.31),rgba(43,99,145,.23) 55%,rgba(72,85,153,.17))!important;
  border-color:rgba(92,188,226,.27)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a:nth-child(3){
  background:linear-gradient(118deg,rgba(184,112,54,.30),rgba(112,78,66,.22) 56%,rgba(84,72,126,.17))!important;
  border-color:rgba(224,153,93,.26)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-flow a:nth-child(4){
  background:linear-gradient(118deg,rgba(48,155,110,.30),rgba(41,103,92,.22) 55%,rgba(46,84,137,.17))!important;
  border-color:rgba(76,194,144,.26)!important;
}

/* Master-detail — compact without shrinking useful text. */
body.eq-dashboard-page.v373-dashboard-premium .v369-master-detail{
  grid-template-columns:246px minmax(0,1fr)!important;
  gap:8px!important;
  min-height:0!important;
  height:auto!important;
  align-items:start!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-vacancy-pane{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:166px!important;
  border-radius:10px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-pane-head{
  height:32px!important;
  padding:0 9px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-vacancy-list{
  max-height:134px!important;
  padding:4px!important;
  gap:4px!important;
  overflow:auto!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-vacancy-item{
  min-height:36px!important;
  padding:4px 7px!important;
  border-radius:8px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-selected-vacancy{
  height:38px!important;
  min-height:38px!important;
  padding:3px 5px 3px 10px!important;
  border-radius:9px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-selected-title h3{
  font-size:14.7px!important;
  line-height:1!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-selected-title p{
  margin-top:3px!important;
  font-size:10.2px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-selected-actions{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-vacancy-action{
  height:29px!important;
  min-height:29px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:10.9px!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-candidate-list{
  max-height:156px!important;
  padding:5px 0 0!important;
  gap:5px!important;
  overflow:auto!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-candidate-row{
  min-height:50px!important;
  height:50px!important;
  padding:0 7px!important;
  border-radius:9px!important;
  grid-template-columns:minmax(165px,.95fr) minmax(205px,1.05fr) minmax(210px,1.12fr) auto!important;
  gap:0!important;
  align-items:stretch!important;
  background:linear-gradient(90deg,rgba(36,91,104,.31),rgba(29,59,91,.72))!important;
  border-color:rgba(88,171,203,.17)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v369-candidate-row.report-ready{
  background:linear-gradient(90deg,rgba(38,117,101,.25),rgba(28,61,91,.76))!important;
  border-color:rgba(76,205,165,.22)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-cell{
  padding:0 10px!important;
  gap:2px!important;
  border-right-color:rgba(133,172,207,.07)!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-identity{
  padding-left:3px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-identity b{
  font-size:14px!important;
  line-height:1!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-identity small{
  font-size:10.4px!important;
  line-height:1.05!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-state span{
  font-size:12px!important;
  line-height:1!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-state small{
  font-size:10px!important;
  line-height:1.05!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-next span{
  font-size:9.3px!important;
  line-height:1!important;
}
body.eq-dashboard-page.v373-dashboard-premium .v371-candidate-next b{
  font-size:11.8px!important;
  line-height:1.06!important;
}
body.eq-dashboard-page.v373-dashboard-premium .candidate-actions{
  min-height:50px!important;
  gap:6px!important;
  padding-left:8px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .candidate-actions a,
body.eq-dashboard-page.v373-dashboard-premium .candidate-actions button,
body.eq-dashboard-page.v373-dashboard-premium .candidate-actions .candidate-report-link{
  height:31px!important;
  min-height:31px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:10.8px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.eq-dashboard-page.v373-dashboard-premium .candidate-actions .candidate-report-link{
  min-width:116px!important;
  font-size:11.2px!important;
}
body.eq-dashboard-page.v373-dashboard-premium .candidate-actions .candidate-feedback-link{
  min-width:50px!important;
}

@media(max-height:900px) and (min-width:1000px){
  body.eq-dashboard-page.v373-dashboard-premium .hero-panel{
    height:142px!important;
    min-height:142px!important;
    grid-template-columns:254px minmax(0,760px)!important;
    gap:22px!important;
  }
  body.eq-dashboard-page.v373-dashboard-premium .hero-visual,
  body.eq-dashboard-page.v373-dashboard-premium .hero-visual.is-male,
  body.eq-dashboard-page.v373-dashboard-premium .hero-visual.is-female{
    width:254px!important;
    height:142px!important;
  }
  body.eq-dashboard-page.v373-dashboard-premium .hero-copy h1{font-size:28px!important;}
}

@media(max-width:1200px){
  body.eq-dashboard-page.v373-dashboard-premium .v369-company-stats>span:nth-child(3){display:none!important;}
  body.eq-dashboard-page.v373-dashboard-premium .v369-candidate-row{
    grid-template-columns:minmax(150px,.9fr) minmax(180px,1fr) minmax(175px,1fr) auto!important;
  }
}

html[data-eq-theme="light"] body.eq-dashboard-page.v373-dashboard-premium .eq-nav-link,
html[data-eq-theme="light"] body.eq-dashboard-page.v373-dashboard-premium .eq-nav-link.active{
  background:linear-gradient(110deg,rgba(87,125,255,.16),rgba(151,90,231,.12))!important;
  color:#1d3651!important;
  border-color:rgba(95,112,196,.24)!important;
}
html[data-eq-theme="light"] body.eq-dashboard-page.v373-dashboard-premium .hero-panel{
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
