/* EQ v15.402 — cabinet premium alignment and usability checkpoint.
   Visual layer only: product flows, report renderers and backend contracts are unchanged. */

html[data-eq-theme="dark"]{color-scheme:dark}
body.eq-dashboard-page.v402-cabinet-premium{scrollbar-gutter:stable}
body.eq-dashboard-page.v402-cabinet-premium .eq-main{align-content:start!important}

/* Hero: preserve the approved artwork and proportional scaling, refine only the live composition. */
body.eq-dashboard-page.v402-cabinet-premium .hero-panel{isolation:isolate!important}
body.eq-dashboard-page.v402-cabinet-premium .hero-image-underlay{filter:saturate(.96) contrast(1.015)!important}
body.eq-dashboard-page.v402-cabinet-premium .hero-image-vignette{
  background:
    linear-gradient(90deg,rgba(5,17,38,.995) 0%,rgba(5,17,38,.985) 17%,rgba(5,18,40,.94) 28%,rgba(6,20,44,.76) 38%,rgba(6,20,44,.47) 47%,rgba(6,20,44,.20) 55%,rgba(6,20,44,.05) 62%,transparent 69%),
    linear-gradient(180deg,rgba(1,8,22,.025),transparent 78%,rgba(2,10,24,.075))!important
}
body.eq-dashboard-page.v402-cabinet-premium .hero-copy{width:clamp(418px,31.5vw,500px)!important;max-width:43%!important}
body.eq-dashboard-page.v402-cabinet-premium .hero-copy h1,
body.eq-dashboard-page.v402-cabinet-premium .hero-copy>p,
body.eq-dashboard-page.v402-cabinet-premium .hero-actions,
body.eq-dashboard-page.v402-cabinet-premium .hero-flags{position:relative!important;z-index:1!important}
body.eq-dashboard-page.v402-cabinet-premium .v397-hero-scene-toggle{opacity:.78!important;transition:opacity .18s ease,transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
@media(hover:hover){body.eq-dashboard-page.v402-cabinet-premium .v397-hero-scene-toggle:hover{opacity:1!important;transform:translateY(-1px)!important;border-color:rgba(142,190,245,.42)!important;box-shadow:0 0 18px rgba(66,143,225,.17)!important}}
body.eq-dashboard-page.v402-cabinet-premium .v397-hero-scene-toggle:focus-visible,
body.eq-dashboard-page.v402-cabinet-premium .v397-hero-scene-restore:focus-visible{outline:none!important;box-shadow:0 0 0 3px rgba(75,153,255,.22),0 0 20px rgba(85,150,255,.18)!important}

/* KPI: titles stay on one line and icon/title/value/sparkline share clean axes. */
body.eq-dashboard-page.v402-cabinet-premium .stat-card{grid-template-columns:56px minmax(130px,1fr) 88px!important;column-gap:12px!important}
body.eq-dashboard-page.v402-cabinet-premium .stat-copy{min-width:0!important;gap:5px!important}
body.eq-dashboard-page.v402-cabinet-premium .stat-copy span{max-width:none!important;white-space:nowrap!important;font-size:12.5px!important;letter-spacing:-.012em!important}
body.eq-dashboard-page.v402-cabinet-premium .stat-copy small{font-size:11.5px!important}
body.eq-dashboard-page.v402-cabinet-premium .stat-line{width:88px!important;margin-top:27px!important}

/* Workspace: raise readability without increasing the first-screen footprint. */
body.eq-dashboard-page.v402-cabinet-premium .v369-workspace{border-color:rgba(100,155,221,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 16px 34px rgba(0,8,25,.10)!important}
body.eq-dashboard-page.v402-cabinet-premium .v369-company-stats>span,
body.eq-dashboard-page.v402-cabinet-premium .v369-company-button,
body.eq-dashboard-page.v402-cabinet-premium .v369-vacancy-action{font-size:11px!important}
body.eq-dashboard-page.v402-cabinet-premium .v369-flow a span{font-size:10.5px!important;line-height:1.25!important;opacity:.88!important}
body.eq-dashboard-page.v402-cabinet-premium .v369-flow a,
body.eq-dashboard-page.v402-cabinet-premium .v369-vacancy-item,
body.eq-dashboard-page.v402-cabinet-premium .v374-candidate-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important}
@media(hover:hover){
  body.eq-dashboard-page.v402-cabinet-premium .v369-flow a:hover,
  body.eq-dashboard-page.v402-cabinet-premium .v369-vacancy-item:hover{transform:translateY(-1px)!important;border-color:rgba(112,177,244,.36)!important;box-shadow:0 0 0 1px rgba(86,144,224,.10),0 10px 24px rgba(0,10,30,.16)!important}
}
body.eq-dashboard-page.v402-cabinet-premium .v369-flow a:focus-visible,
body.eq-dashboard-page.v402-cabinet-premium .v369-vacancy-item:focus-visible,
body.eq-dashboard-page.v402-cabinet-premium .v369-vacancy-action:focus-visible{outline:none!important;border-color:rgba(132,196,255,.66)!important;box-shadow:0 0 0 3px rgba(69,139,255,.16),0 0 22px rgba(88,151,255,.15)!important}
body.eq-dashboard-page.v402-cabinet-premium .v369-selected-title p,
body.eq-dashboard-page.v402-cabinet-premium .v369-vacancy-item small,
body.eq-dashboard-page.v402-cabinet-premium .v374-candidate-card small{font-size:max(10px,.66rem)!important;line-height:1.35!important}

/* Assessment-channel modal: equal geometry and a clearer interaction hierarchy. */
body.eq-dashboard-page.v402-cabinet-premium .v400-channel-modal{width:min(940px,calc(100vw - 40px))!important;border-color:rgba(105,161,225,.30)!important;box-shadow:0 28px 80px rgba(0,7,23,.54),inset 0 1px 0 rgba(255,255,255,.035)!important}
body.eq-dashboard-page.v402-cabinet-premium .v400-channel-grid{align-items:stretch!important;gap:14px!important}
body.eq-dashboard-page.v402-cabinet-premium .v372-channel-card{min-height:218px!important;padding:19px!important;border-radius:17px!important;text-align:left!important}
body.eq-dashboard-page.v402-cabinet-premium .v372-channel-card h4{font-size:18px!important;line-height:1.24!important}
body.eq-dashboard-page.v402-cabinet-premium .v372-channel-card p{font-size:13px!important;line-height:1.5!important}
body.eq-dashboard-page.v402-cabinet-premium .v400-channel-use{font-size:11.5px!important;line-height:1.48!important}
body.eq-dashboard-page.v402-cabinet-premium .v372-channel-action{margin-top:auto!important;font-size:12.5px!important}
body.eq-dashboard-page.v402-cabinet-premium .v400-personal-fields input,
body.eq-dashboard-page.v402-cabinet-premium .v400-link-row input{min-height:46px!important}

/* Role configurator: priority controls are obvious, large and stable at rest. */
body.v402-role-premium .priority-item{min-height:68px!important;padding:13px 16px!important;border-color:rgba(104,153,221,.18)!important;background:linear-gradient(90deg,rgba(54,67,119,.20),rgba(21,37,67,.34))!important}
body.v402-role-premium .priority-item:focus-within{border-color:rgba(122,181,244,.40)!important;box-shadow:0 0 0 1px rgba(99,158,232,.10),0 10px 26px rgba(0,9,29,.14)!important}
body.v402-role-premium .priority-actions{gap:9px!important}
body.v402-role-premium .priority-actions button{width:42px!important;height:42px!important;border-radius:12px!important;border:1px solid rgba(105,169,239,.38)!important;background:linear-gradient(180deg,rgba(50,92,151,.62),rgba(25,52,96,.68))!important;color:#edf6ff!important;font-size:21px!important;line-height:1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 8px 20px rgba(0,9,29,.16)!important}
body.v402-role-premium .priority-actions button[data-dir="1"]{border-color:rgba(146,116,239,.35)!important;background:linear-gradient(180deg,rgba(82,67,154,.62),rgba(39,47,96,.68))!important}
body.v402-role-premium .priority-actions button:disabled{opacity:.30!important;filter:saturate(.45)!important;cursor:not-allowed!important}
body.v402-role-premium .priority-actions button:not(:disabled):active{transform:translateY(1px) scale(.98)!important}

/* Candidate gateway: calm, trustworthy form density with consistent controls. */
body.candidate-pilot-body.v402-candidate-premium .candidate-dialog{width:min(640px,calc(100vw - 32px))!important;border-color:rgba(121,152,231,.36)!important;background:linear-gradient(155deg,rgba(40,35,88,.985),rgba(20,25,64,.99) 58%,rgba(17,28,62,.99))!important;box-shadow:0 34px 90px rgba(5,5,27,.55),inset 0 1px 0 rgba(255,255,255,.045)!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-form{gap:12px!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-field input{min-height:50px!important;border-radius:12px!important;border-color:rgba(143,160,224,.28)!important;background:rgba(7,18,50,.72)!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-field input:focus{border-color:rgba(85,188,247,.72)!important;box-shadow:0 0 0 3px rgba(48,164,232,.15),0 0 18px rgba(74,158,238,.12)!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-privacy-compact,
body.candidate-pilot-body.v402-candidate-premium .candidate-assessment-note{border-color:rgba(121,151,222,.24)!important;background:rgba(18,40,83,.50)!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-consent-line{line-height:1.48!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-field-help{font-size:11px!important;line-height:1.4!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-assessment-note{font-size:11.5px!important;line-height:1.42!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-privacy-meta{font-size:10.5px!important;line-height:1.4!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-submit{min-height:50px!important;border-radius:12px!important;box-shadow:0 14px 30px rgba(92,72,226,.22)!important}
body.candidate-pilot-body.v402-candidate-premium .candidate-submit:focus-visible,
body.candidate-pilot-body.v402-candidate-premium .candidate-dialog-close:focus-visible,
body.candidate-pilot-body.v402-candidate-premium .candidate-privacy-compact summary:focus-visible{outline:none!important;box-shadow:0 0 0 3px rgba(75,169,255,.22),0 0 20px rgba(85,150,255,.16)!important}

@media(min-width:1850px){
  body.eq-dashboard-page.v402-cabinet-premium .stat-card{grid-template-columns:62px minmax(150px,1fr) 118px!important;column-gap:14px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-copy span{font-size:13px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-line{width:118px!important}
}
@media(max-width:1600px) and (min-width:901px){
  body.eq-dashboard-page.v402-cabinet-premium .stats-grid{height:124px!important;min-height:124px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-card{height:124px!important;min-height:124px!important;padding:13px!important;grid-template-columns:48px minmax(105px,1fr) 64px!important;column-gap:8px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-icon{width:48px!important;height:48px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-copy span{font-size:11px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-copy small{font-size:10px!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-line{width:64px!important;height:40px!important}
}
@media(max-width:900px){
  body.eq-dashboard-page.v402-cabinet-premium .hero-copy{width:72%!important;max-width:72%!important}
  body.eq-dashboard-page.v402-cabinet-premium .stat-card{grid-template-columns:52px minmax(112px,1fr) 74px!important}
  body.v402-role-premium .priority-actions button{width:40px!important;height:40px!important}
}
