/* V119: compact hero/presentable cards + all timers 30m */

/* Main Workday section compact */
body.audit-workday-active.safe-compact-ui #modulesSection .section-card{
  padding:12px!important;
  border-radius:18px!important;
}

body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head{
  margin-bottom:8px!important;
  padding:0!important;
}

/* The outer old Audit Workday title block was too large */
body.audit-workday-active.safe-compact-ui #modulesSection .section-head h2,
body.audit-workday-active.safe-compact-ui #modulesSection .section-head h3{
  font-size:22px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
}
body.audit-workday-active.safe-compact-ui #modulesSection .section-head p,
body.audit-workday-active.safe-compact-ui #modulesSection .section-head span{
  font-size:12px!important;
  line-height:1.25!important;
}

/* Compact Academy hero */
.workday-v108-academy .academy-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,42%)!important;
  gap:8px!important;
  padding:10px 11px!important;
  border-radius:16px!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}

.workday-v108-academy .academy-header > div:first-child{
  min-width:0!important;
}

.workday-v108-academy .academy-header .eyebrow{
  font-size:9px!important;
  letter-spacing:.16em!important;
  margin:0 0 4px!important;
}

.workday-v108-academy .academy-header h3{
  font-size:clamp(22px,2.1vw,31px)!important;
  line-height:1.02!important;
  margin:0 0 5px!important;
  letter-spacing:-.052em!important;
  max-width:980px!important;
}

.workday-v108-academy .academy-header > div:first-child > span{
  display:block!important;
  font-size:12.5px!important;
  line-height:1.32!important;
  max-width:1000px!important;
  color:rgba(232,238,250,.72)!important;
}

/* Summary cards smaller and cleaner */
.workday-v108-academy .academy-status-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  align-self:stretch!important;
}

.workday-v108-academy .academy-status-grid article{
  min-height:48px!important;
  padding:8px 9px!important;
  border-radius:12px!important;
}

.workday-v108-academy .academy-status-grid strong{
  font-size:15px!important;
  line-height:1.05!important;
}

.workday-v108-academy .academy-status-grid small{
  font-size:9px!important;
  margin-top:3px!important;
}

/* Developer card no giant empty block */
.academy-side.v118-side-clean{
  margin-top:0!important;
}
.academy-side.v118-side-clean .dev-tools{
  border-radius:14px!important;
  padding:10px!important;
  min-height:auto!important;
}
.academy-side.v118-side-clean .dev-tools span{
  font-size:9px!important;
}
.academy-side.v118-side-clean .developer-employee-select{
  min-height:40px!important;
  padding:8px 10px!important;
}
.academy-side.v118-side-clean .dev-tools button{
  min-height:38px!important;
  padding:8px 10px!important;
}

/* Rail compact */
.workday-v108-academy .academy-rail{
  padding:6px!important;
  gap:6px!important;
  border-radius:16px!important;
}
.workday-v108-academy .phase-step{
  min-height:50px!important;
  padding:7px 8px!important;
  border-radius:12px!important;
}
.workday-v108-academy .phase-step b{
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
  font-size:9px!important;
}
.workday-v108-academy .phase-step span{
  font-size:11px!important;
}
.workday-v108-academy .phase-step small{
  font-size:8.5px!important;
}

/* Stage active cards compact */
.workday-v108-academy .stage-headline{
  padding:10px 12px!important;
  border-radius:15px!important;
}
.workday-v108-academy .stage-headline h3{
  font-size:clamp(24px,2.3vw,34px)!important;
  margin:0 0 4px!important;
}
.workday-v108-academy .stage-headline span{
  font-size:13px!important;
  line-height:1.28!important;
}

.workday-v108-academy .stage-timer-card{
  padding:9px 10px!important;
  border-radius:15px!important;
  grid-template-columns:minmax(150px,.22fr) minmax(0,1fr) minmax(180px,.28fr)!important;
}
.workday-v108-academy .stage-timer-card strong{
  font-size:24px!important;
}
.workday-v108-academy .timer-progress{
  height:8px!important;
}

/* Stage start is too tall: compress */
.workday-v108-academy .stage-start-card{
  padding:14px!important;
  border-radius:16px!important;
}
.workday-v108-academy .stage-start-card h3{
  font-size:clamp(26px,3vw,38px)!important;
  margin:4px 0 7px!important;
}
.workday-v108-academy .stage-start-card p{
  font-size:13px!important;
  line-height:1.35!important;
  max-width:980px!important;
}
.workday-v108-academy .stage-rules-grid{
  gap:7px!important;
  margin:10px 0!important;
}
.workday-v108-academy .stage-rules-grid div{
  min-height:64px!important;
  padding:10px!important;
  border-radius:12px!important;
}
.workday-v108-academy .stage-rules-grid strong{
  font-size:15px!important;
}
.workday-v108-academy .stage-rules-grid span{
  font-size:11px!important;
  line-height:1.25!important;
}

/* Learning content compact but readable */
.workday-v108-academy .learning-concept{
  padding:11px!important;
  border-radius:15px!important;
}
.workday-v108-academy .learning-concept h4{
  font-size:16px!important;
}
.workday-v108-academy .learning-concept p{
  font-size:12.6px!important;
  line-height:1.44!important;
}
.workday-v108-academy .example-box,
.workday-v108-academy .mistake-box{
  padding:8px!important;
  border-radius:12px!important;
}
.workday-v108-academy .example-box span,
.workday-v108-academy .mistake-box span{
  font-size:11.7px!important;
}

/* Simple language screen remains presentable */
.v118-language-card{
  padding:18px!important;
  border-radius:18px!important;
}
.v118-language-card h3{
  font-size:clamp(30px,3.4vw,46px)!important;
}
.v118-language-buttons button{
  min-height:58px!important;
  border-radius:15px!important;
}
.v118-language-buttons strong{
  font-size:21px!important;
}

/* Mobile */
@media(max-width:1180px){
  .workday-v108-academy .academy-header{
    grid-template-columns:1fr!important;
  }
  .workday-v108-academy .academy-status-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .workday-v108-academy .stage-timer-card{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:760px){
  .workday-v108-academy .academy-header{
    padding:9px!important;
  }
  .workday-v108-academy .academy-status-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .workday-v108-academy .academy-rail{
    grid-template-columns:1fr!important;
  }
  .workday-v108-academy .stage-rules-grid,
  .workday-v108-academy .learning-card-grid{
    grid-template-columns:1fr!important;
  }
}
