/* V120 clean compact premium source styling */

/* Remove oversized outer Audit Workday heading copy/hero feel */
body.audit-workday-active.safe-compact-ui #modulesSection .section-card{
  padding:10px!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(13,18,30,.80),rgba(6,10,19,.80))!important;
}

body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head{
  min-height:0!important;
  margin:0 0 8px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}

body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head .section-title,
body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head h2,
body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head h3{
  font-size:18px!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}

body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head p,
body.audit-workday-active.safe-compact-ui #modulesSection .section-card > .section-head span:not(.pill){
  display:none!important;
}

/* In-app top area compact */
body.audit-workday-active.safe-compact-ui .workspace{
  gap:10px!important;
  padding:10px 12px 44px!important;
}

body.audit-workday-active.safe-compact-ui .topbar{
  min-height:54px!important;
  padding:9px 12px!important;
  border-radius:16px!important;
}

body.audit-workday-active.safe-compact-ui .sidebar{
  padding:8px 10px!important;
}

body.audit-workday-active.safe-compact-ui .nav-item{
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:12px!important;
}

/* Workday compact shell */
.workday-v108-academy{
  gap:8px!important;
}

.workday-v108-academy .academy-header{
  grid-template-columns:minmax(0,1fr) minmax(300px,34%)!important;
  padding:9px 10px!important;
  border-radius:15px!important;
  border-color:rgba(190,220,255,.10)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}

.workday-v108-academy .academy-header .eyebrow{
  font-size:8.5px!important;
  letter-spacing:.15em!important;
  margin:0 0 3px!important;
}

.workday-v108-academy .academy-header h3{
  font-size:clamp(20px,1.8vw,28px)!important;
  line-height:1.02!important;
  margin:0 0 4px!important;
  letter-spacing:-.045em!important;
}

.workday-v108-academy .academy-header > div:first-child > span{
  font-size:11.5px!important;
  line-height:1.25!important;
  color:rgba(232,238,250,.68)!important;
  max-width:850px!important;
}

/* status chips smaller */
.workday-v108-academy .academy-status-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;
}

.workday-v108-academy .academy-status-grid article{
  min-height:42px!important;
  padding:7px 8px!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.032)!important;
}

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

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

/* language selector: small centered card */
.v118-language-simple{
  min-height:240px!important;
  display:grid!important;
  place-items:center!important;
  padding:10px!important;
}

.v118-language-card{
  width:min(100%,520px)!important;
  padding:14px!important;
  border-radius:18px!important;
  text-align:center!important;
  margin:0 auto!important;
  box-shadow:0 14px 30px rgba(0,0,0,.22)!important;
}

.v118-language-card .eyebrow{
  font-size:8.5px!important;
  letter-spacing:.15em!important;
  margin-bottom:5px!important;
}

.v118-language-card h3{
  font-size:clamp(24px,2.7vw,34px)!important;
  line-height:1!important;
  margin:4px 0 5px!important;
  letter-spacing:-.045em!important;
}

.v118-language-card p{
  max-width:390px!important;
  margin:0 auto 12px!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  color:rgba(232,238,250,.68)!important;
}

.v118-language-buttons{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  max-width:390px!important;
  margin:0 auto!important;
}

.v118-language-buttons button{
  min-height:46px!important;
  padding:10px 12px!important;
  border-radius:13px!important;
  text-align:center!important;
  background:rgba(255,255,255,.045)!important;
}

.v118-language-buttons strong{
  font-size:16px!important;
  letter-spacing:-.02em!important;
}

.v118-language-card.warning-card{
  width:min(100%,560px)!important;
  text-align:left!important;
  padding:16px!important;
}

.v118-language-card.warning-card h3{
  font-size:clamp(24px,2.5vw,32px)!important;
}

.v118-language-card.warning-card p{
  max-width:100%!important;
  margin:0 0 12px!important;
  font-size:12.5px!important;
}

.v118-language-actions{
  justify-content:flex-end!important;
}

/* phase rail compact/premium */
.workday-v108-academy .academy-rail{
  padding:5px!important;
  gap:5px!important;
  border-radius:14px!important;
}

.workday-v108-academy .phase-step{
  min-height:44px!important;
  padding:6px 7px!important;
  border-radius:10px!important;
  grid-template-columns:22px minmax(0,1fr)!important;
}

.workday-v108-academy .phase-step b{
  width:22px!important;
  height:22px!important;
  border-radius:7px!important;
  font-size:8.5px!important;
}

.workday-v108-academy .phase-step span{
  font-size:10.5px!important;
}

.workday-v108-academy .phase-step small{
  font-size:8px!important;
}

/* active section compact */
.workday-v108-academy .academy-stage{
  padding:6px!important;
  border-radius:14px!important;
}

.workday-v108-academy .stage-headline{
  padding:9px 10px!important;
  border-radius:13px!important;
}

.workday-v108-academy .stage-headline h3{
  font-size:clamp(22px,2vw,30px)!important;
  margin:0 0 3px!important;
}

.workday-v108-academy .stage-headline span{
  font-size:12px!important;
  line-height:1.25!important;
}

/* timer action visually distinct */
.workday-v108-academy .stage-timer-card{
  padding:8px 9px!important;
  border-radius:13px!important;
  grid-template-columns:minmax(130px,.2fr) minmax(0,1fr) minmax(170px,.25fr)!important;
}

.workday-v108-academy .stage-timer-card span,
.workday-v108-academy .stage-timer-card small{
  font-size:8.5px!important;
  letter-spacing:.14em!important;
}

.workday-v108-academy .stage-timer-card strong{
  font-size:21px!important;
}

.workday-v108-academy .time-buy-panel{
  gap:6px!important;
}

.workday-v108-academy .time-buy-panel small{
  color:rgba(252,211,77,.86)!important;
}

.workday-v108-academy [data-buy-time]{
  background:linear-gradient(135deg,rgba(252,211,77,.22),rgba(245,158,11,.14))!important;
  border:1px solid rgba(252,211,77,.42)!important;
  color:#fff5cc!important;
  box-shadow:0 8px 20px rgba(245,158,11,.13)!important;
  min-height:36px!important;
  border-radius:12px!important;
}

.workday-v108-academy [data-buy-time]::before{
  content:"⏱ ";
}

/* start cards and learning cards compact */
.workday-v108-academy .stage-start-card{
  padding:12px!important;
  border-radius:14px!important;
}

.workday-v108-academy .stage-start-card h3{
  font-size:clamp(24px,2.5vw,34px)!important;
  margin:3px 0 6px!important;
}

.workday-v108-academy .stage-start-card p{
  font-size:12.2px!important;
  line-height:1.3!important;
}

.workday-v108-academy .stage-rules-grid{
  gap:6px!important;
  margin:8px 0!important;
}

.workday-v108-academy .stage-rules-grid div{
  min-height:52px!important;
  padding:8px!important;
  border-radius:11px!important;
}

.workday-v108-academy .stage-rules-grid strong{
  font-size:13.5px!important;
}

.workday-v108-academy .stage-rules-grid span{
  font-size:10.5px!important;
  line-height:1.18!important;
}

.workday-v108-academy .learning-card-grid{
  gap:7px!important;
}

.workday-v108-academy .learning-concept{
  padding:9px!important;
  border-radius:13px!important;
}

.workday-v108-academy .learning-concept h4{
  font-size:15px!important;
  margin-bottom:6px!important;
}

.workday-v108-academy .learning-concept p{
  font-size:12px!important;
  line-height:1.36!important;
}

.workday-v108-academy .concept-top{
  margin-bottom:6px!important;
}

.workday-v108-academy .concept-top button{
  padding:5px 7px!important;
  font-size:10px!important;
}

.workday-v108-academy .example-box,
.workday-v108-academy .mistake-box{
  padding:7px!important;
  margin-top:7px!important;
  border-radius:10px!important;
}

.workday-v108-academy .example-box span,
.workday-v108-academy .mistake-box span{
  font-size:11px!important;
  line-height:1.28!important;
}

/* developer card smaller */
.academy-side.v118-side-clean .dev-tools{
  padding:8px!important;
  border-radius:12px!important;
}

.academy-side.v118-side-clean .dev-tools span{
  font-size:8.5px!important;
}

.developer-employee-select{
  min-height:36px!important;
  padding:7px 9px!important;
  font-size:11px!important;
  border-radius:10px!important;
}

/* mobile */
@media(max-width:1180px){
  .workday-v108-academy .academy-header{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:760px){
  body.audit-workday-active.safe-compact-ui .workspace{
    padding:8px 7px 64px!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-timer-card{
    grid-template-columns:1fr!important;
  }
  .v118-language-simple{
    min-height:210px!important;
  }
  .v118-language-buttons{
    grid-template-columns:1fr!important;
  }
}
