/* EAD10: dimensionamento compartilhado por todos os cursos. */
#app :is(.v401-course,.v423-courses,.v157-course,.v308-courses,.v309-course,.ead10-assessment),
#app :is(.v401-course,.v423-courses,.v157-course,.v308-courses,.v309-course,.ead10-assessment) *{box-sizing:border-box;min-width:0}
#app :is(.v401-course,.v423-courses,.v157-course,.v308-courses,.v309-course,.ead10-assessment){max-width:100%;padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))!important}
#app :is(.v401-course,.v423-courses,.v157-course,.v308-courses,.v309-course,.ead10-assessment) :is(button,a.btn){position:relative!important;inset:auto!important;float:none!important;transform:none!important;max-width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:clip!important;line-height:1.4!important;flex-shrink:1;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:6px}
#app .v401-tabs,#app .v401-steps{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px!important;overflow:visible!important}
#app .v401-tabs button,#app .v401-step{width:100%!important;margin:0!important;padding:12px!important}
#app .v401-step{justify-content:flex-start!important;text-align:left!important}
#app .v401-step b{flex:0 0 24px}
#app .v401-step span{max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
#app .v401-item{display:grid!important;grid-template-columns:27px minmax(0,1fr);align-items:start!important;gap:10px!important}
#app .v401-item>span{grid-column:1;grid-row:1;flex-shrink:0}
#app .v401-item>div{grid-column:2;grid-row:1;overflow-wrap:anywhere}
#app .v401-item>button,#app .v401-item>em{grid-column:2;width:100%!important;white-space:normal!important;margin:0!important}
#app .v401-gate{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
#app .v401-gate>div,#app .v401-gate>button,#app .v401-gate>em{width:100%!important;flex:0 1 auto!important;white-space:normal!important;overflow-wrap:anywhere}
#app :is(.v401-nav,.v423-actions,.v418-material-actions,.v309-nav,.v157-bottom-nav,.ead10-assessment .actions){display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:stretch!important;height:auto!important;overflow:visible!important}
#app :is(.v401-nav,.v423-actions,.v418-material-actions,.v309-nav,.v157-bottom-nav,.ead10-assessment .actions)>:is(button,a.btn){flex:1 1 180px!important;width:auto!important;margin:0!important;padding:12px!important}
#app .v423-actions{grid-template-columns:none!important}
#app .v418-material-actions{min-width:0!important}
#app .v308-evaluation,#app .v308-final,#app .v308-available article{flex-wrap:wrap!important;gap:12px!important;height:auto!important}
#app .v308-evaluation button,#app .v308-final button,#app .v308-available article button{flex:1 1 180px!important;margin:0!important}
#app .ead10-assessment .v157-quiz-q label{display:flex;align-items:flex-start;gap:8px;white-space:normal;overflow-wrap:anywhere}
#app .ead10-assessment input[type=radio]{flex:0 0 auto;width:auto!important;margin-top:4px}
#app .ead10-assessment .v162-survey-stars{display:flex;flex-wrap:wrap;gap:10px}
#app .ead10-assessment .v162-survey-stars label{max-width:100%;white-space:normal}
@media(max-width:540px){
 #app .v401-nav>button,#app .v418-material-actions>button,#app .v423-actions>button,#app .ead10-assessment .actions>button{flex-basis:100%!important;width:100%!important}
 #app .v401-item>button,#app .v401-item>em{grid-column:1/-1}
 #app .v401-course{padding-left:8px!important;padding-right:8px!important}
 #app .v401-module,#app .v401-panel,#app .v401-intro{padding:12px!important}
}

#app .v401-course .v401-tabs,#app .v401-course .v401-steps{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;overflow:visible!important;gap:10px!important;padding:0!important;position:static!important;height:auto!important}
#app .v401-course .v401-steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
#app .v401-course .v401-tabs>button,#app .v401-course .v401-steps>button{box-sizing:border-box!important;position:static!important;inset:auto!important;transform:none!important;flex:none!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:48px!important;margin:0!important;padding:12px 10px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.4!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
#app .v401-course .v401-step>span{display:block!important;max-width:none!important;min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;flex:1!important}
#app .v401-course .v401-step>b{display:grid!important;place-items:center!important;flex:0 0 28px!important;min-width:28px!important;width:28px!important;height:28px!important;line-height:1!important}
#app .v401-course .v401-steps>button{justify-content:flex-start!important;text-align:left!important}
@media(max-width:800px){#app .v401-course .v401-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:540px){#app .v401-course .v401-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}#app .v401-course .v401-tabs>button:last-child{grid-column:1/-1}#app .v401-course .v401-steps{grid-template-columns:1fr!important}}

/* Compatibilidade com a navegação anterior dos cursos. */
#app .v157-tabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))!important;gap:10px!important;width:100%!important;max-width:100%!important;overflow:visible!important;padding:10px!important;position:static!important;height:auto!important}
#app .v157-tab{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;min-height:48px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important;padding:12px!important;line-height:1.4!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
#app .v158-module-buttons{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;max-width:100%!important;gap:10px!important;overflow:visible!important}
#app .v158-module-btn{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;overflow:visible!important}
@media(max-width:540px){#app .v157-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}#app .v157-tab:last-child:nth-child(odd){grid-column:1/-1}#app .v158-module-buttons{grid-template-columns:1fr!important}}
