/* O.Fondamentaux v1.40.392 — finition éditoriale du chapitre sélectionné.
   Aucune modification de structure, de comportement, de sidebar ou de logique de formation. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-mp{
  margin:3px 0 27px!important;border:0!important;border-top:1px solid #e5e5e7!important;
  border-bottom:1px solid #e5e5e7!important;border-radius:0!important;background:#fff!important;
  box-shadow:none!important;overflow:visible!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero{
  background:#fff!important;border:0!important;padding:26px 3px 19px!important;
  align-items:center!important;gap:22px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero small{
  color:#787a80!important;font-size:10px!important;letter-spacing:.13em!important;font-weight:750!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero h3{
  font-size:clamp(20px,2.1vw,26px)!important;line-height:1.2!important;
  letter-spacing:-.045em!important;font-weight:720!important;margin:9px 0 9px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero p{
  font-size:12.5px!important;line-height:1.65!important;color:#74767b!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-status{
  padding:7px 11px!important;border:1px solid #ededee!important;background:#fafafa!important;
  color:#77797d!important;font-size:10px!important;font-weight:550!important;border-radius:4px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;
  padding:3px 0 25px!important;border:0!important;background:#fff!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button{
  position:relative!important;min-height:104px!important;padding:15px 12px 13px!important;
  border:1px solid #e7e8e9!important;border-radius:4px!important;
  background:#fff!important;box-shadow:none!important;transform:none!important;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button:before{
  content:'';position:absolute;top:0;left:12px;right:12px;height:2px;background:transparent;
  transition:background .2s ease
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button b{
  font-size:11px!important;letter-spacing:.07em!important;color:#919398!important;font-weight:700!important;margin-bottom:8px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button strong{
  font-size:12px!important;line-height:1.38!important;letter-spacing:-.014em!important;font-weight:700!important;color:#2a2c2f!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button small{
  font-size:10px!important;color:#85878a!important;line-height:1.4!important;font-weight:450!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button:hover{
  background:#fdfdfd!important;border-color:#c1c4ca!important;
  transform:translateY(-2px)!important;box-shadow:0 7px 18px rgba(30,34,31,.045)!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current{
  border-color:#bdc0c5!important;background:#f4f4f5!important;box-shadow:none!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current:before{background:#53565b!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-done:not(.is-current){background:#f6f6f7!important;border-color:#e2e3e6!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button:focus-visible{
  outline:2px solid #53565b!important;outline-offset:2px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages{
  border:1px solid #e7e8e9!important;border-radius:4px!important;
  margin:0 0 25px!important;padding:25px!important;background:#fcfcfc!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pagebar{margin-bottom:20px!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages h4{font-size:20px!important;letter-spacing:-.035em!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-bottom{
  border:0!important;background:#fff!important;padding:0 0 20px!important
}
/* Les actions ne sont plus contenues dans un gros panneau gris. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured{
  margin:20px 0 37px!important;padding:0!important;background:transparent!important;
  border:0!important;box-shadow:none!important;border-radius:0!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured-kicker,.o-metier-browse-kicker){
  color:#777a80!important;letter-spacing:.15em!important;font-size:10px!important;margin-bottom:8px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured,.o-metier-browse)>h3{
  font-size:23px!important;font-weight:710!important;line-height:1.2!important;
  letter-spacing:-.04em!important;color:#252628!important;margin-bottom:8px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured,.o-metier-browse)>p{
  font-size:12px!important;line-height:1.65!important;color:#77797d!important;margin-bottom:17px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid{
  gap:10px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut{
  min-height:74px!important;padding:18px 18px!important;border:1px solid #e6e7e9!important;
  background:#fff!important;border-radius:4px!important;box-shadow:0 2px 10px rgba(25,25,30,.018)!important;
  font-size:13px!important;font-weight:560!important;line-height:1.35!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut span:last-child{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:26px;height:26px;color:#53575a!important;background:#f5f5f5!important;border-radius:4px!important;
  font-size:16px!important;flex:0 0 auto!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut:hover{
  transform:translateY(-2px)!important;border-color:#c0c2c9!important;
  background:#fbfbfc!important;box-shadow:0 8px 20px rgba(32,38,25,.045)!important
}
/* Rubriques fluides : une liste élégante plutôt qu'un empilement de rectangles. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-browse{
  margin-top:0!important;padding:23px 0 0!important;border-top:1px solid #e7e8e9!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion{
  border:0!important;border-bottom:1px solid #e7e8ea!important;
  border-radius:0!important;margin:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion:first-of-type{border-top:1px solid #e7e8ea!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary{
  min-height:64px!important;padding:19px 6px!important;border:0!important;border-radius:0!important;
  background:#fff!important;transition:background .18s ease,padding .18s ease!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary:hover{
  background:#f4f5f6!important;padding-left:12px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary strong{
  font-size:12.5px!important;font-weight:690!important;letter-spacing:.035em!important;color:#2b2d30!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary small{
  font-size:11px!important;font-weight:450!important;color:#919399!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary span{
  font-size:19px!important;color:#7b7f83!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion[open]>summary{
  background:#f4f5f6!important;border-bottom:1px solid #eceeef!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>.ofnmi-resource-group{
  padding:19px 10px!important
}
@media(max-width:960px){
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:620px){
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero{padding:22px 0 18px!important;flex-direction:column!important}
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages{padding:18px!important}
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button,
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-shortcut,.o-metier-resource-accordion>summary){transition:none!important;transform:none!important}
}


/* V1.40.393 — relever les contrastes et l’échelle, sans modifier le parcours. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-mp{
  margin:13px 0 31px!important;border:1px solid #dddfe3!important;
  border-radius:4px!important;background:#fff!important;
  box-shadow:0 10px 28px rgba(28,33,28,.045)!important;overflow:hidden!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero{
  padding:27px 25px 24px!important;background:#ededf0!important;
  border-bottom:1px solid #dbdde2!important;align-items:center!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero small{
  color:#53565b!important;font-weight:800!important;font-size:10px!important;letter-spacing:.15em!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero h3{
  color:#202124!important;font-size:clamp(23px,2.4vw,30px)!important;
  font-weight:760!important;line-height:1.13!important;letter-spacing:-.048em!important;
  margin:10px 0!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero p{
  color:#62656b!important;font-size:13px!important;line-height:1.52!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-status{
  border:1px solid #d9dbe0!important;background:#fff!important;
  color:#62656b!important;font-size:10.5px!important;font-weight:650!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs{
  gap:10px!important;padding:18px 22px 23px!important;background:#fff!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button{
  min-height:113px!important;padding:15px 12px!important;
  border-color:#d9dce1!important;background:#f7f7f8!important;
  box-shadow:0 2px 5px rgba(25,29,28,.025)!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button b{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:27px!important;height:25px!important;padding:2px 6px!important;
  border-radius:4px!important;background:#e6e7ea!important;
  color:#53565c!important;font-size:11px!important;font-weight:850!important;margin-bottom:13px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button strong{
  font-size:13px!important;font-weight:750!important;color:#282a2e!important;line-height:1.35!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button small{
  margin-top:6px!important;font-size:10.5px!important;color:#696c72!important;line-height:1.4!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button:is(:hover,:focus-visible){
  border-color:#a9adb5!important;background:#f0f1f3!important;
  box-shadow:0 9px 19px rgba(28,30,36,.085)!important;transform:translateY(-2px)!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current{
  background:#252629!important;border-color:#252629!important;
  box-shadow:0 8px 17px rgba(25,27,33,.14)!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current :is(strong,small){color:#fff!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current b{
  color:#fff!important;background:#53565b!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages{
  margin:0 22px 22px!important;background:#f2f2f4!important;border-color:#dfe0e4!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-bottom{
  background:#fff!important;padding:0 22px 19px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured{
  margin:12px 0 33px!important;padding:0!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured-kicker,.o-metier-browse-kicker){
  color:#53565b!important;font-size:10px!important;font-weight:800!important;letter-spacing:.14em!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured,.o-metier-browse)>h3{
  color:#24262b!important;font-weight:770!important;font-size:26px!important;
  line-height:1.15!important;margin:9px 0 9px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured,.o-metier-browse)>p{
  color:#696c72!important;font-size:13px!important;line-height:1.5!important;margin-bottom:18px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid{
  gap:12px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut{
  min-height:86px!important;padding:20px!important;background:#f5f5f6!important;
  border-color:#dedfe2!important;border-left:3px solid #c7c9cf!important;
  font-size:14px!important;font-weight:700!important;color:#25272b!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut span:last-child{
  color:#fff!important;background:#303237!important;width:28px!important;height:28px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut:hover{
  border-color:#b5b8bf!important;border-left-color:#53565b!important;
  background:#eceef0!important;box-shadow:0 8px 20px rgba(25,27,31,.08)!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-browse{
  padding-top:30px!important;border-top:1px solid #e0e1e5!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion{
  border-bottom:1px solid #e0e2e5!important;background:#fff!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary{
  padding:22px 13px!important;min-height:72px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary strong{
  font-size:13.5px!important;font-weight:750!important;letter-spacing:.015em!important;color:#27292d!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary small{
  font-size:11.5px!important;color:#666971!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary:hover{
  background:#f0f1f3!important;padding-left:18px!important
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion[open]>summary{
  background:#f0f1f3!important
}
@media(max-width:720px){
 #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero{padding:20px 15px!important}
 #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs{padding:14px 12px 18px!important;gap:7px!important}
 #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages{margin:0 12px 18px!important}
}

/* O.Fondamentaux 1.40.394 — gris neutre, sans vert-jaune. Présentation uniquement. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail{
  background:#fff!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-mp{
  background:#fff!important;border-color:#e2e3e7!important;
  box-shadow:none!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero{
  background:#e9e9ec!important;border-bottom:1px solid #d8d9de!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-hero small,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail :is(.o-metier-featured-kicker,.o-metier-browse-kicker){color:#65686e!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-status{background:#f5f5f6!important;border-color:#cfd1d7!important;color:#64676d!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs{
  background:#f5f5f6!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button{
  background:#fff!important;border-color:#d9dbe0!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button b{background:#ebebee!important;color:#60636a!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button:is(:hover,:focus-visible){background:#e9eaed!important;border-color:#a8abb2!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current{background:#292a2e!important;border-color:#292a2e!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current b{background:#565a61!important;color:#fff!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-current:before{background:#a4a6ad!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button.is-done:not(.is-current){background:#f0f0f2!important;border-color:#d7d8dd!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs button:focus-visible{outline-color:#555960!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-track i{background:#62656d!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages{background:#f2f2f4!important;border-color:#d9dbe0!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-sources,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-sim,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-quiz-score{background:#e8e9ec!important;border-color:#d5d7dd!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-sources a{color:#45474d!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-sim{border-left-color:#62656d!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp :is(.o-mp-case-options,.o-mp-q) input{accent-color:#555960!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut{background:#fff!important;border:1px solid #d8dade!important;border-left:3px solid #bfc1c7!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-shortcut:hover{background:#ededf0!important;border-color:#b1b4bb!important;border-left-color:#54575e!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary{background:#f5f5f6!important}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion>summary:is(:hover,:focus-visible),
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion[open]>summary{background:#e7e8eb!important}

/* v1.40.397 : suppression de la bande grise verticale et des ombres sur les quatre actions essentielles. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid .o-metier-shortcut,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid .o-metier-shortcut:hover,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid .o-metier-shortcut:focus-visible {
  border-left:1px solid #d8dade!important;
  box-shadow:none!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid .o-metier-shortcut::before,
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-featured-grid .o-metier-shortcut::after{
  box-shadow:none!important;
}


/* v1.40.420 — rangée des cinq onglets SANS fond de panneau (état fermé ou ouvert).
   Sélecteur de même spécificité que la charte premium pour neutraliser
   l'ancien fond #f5f5f6 qui prévalait sur la correction de la v1.40.418. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs {
  background:transparent!important;
  background-image:none!important;
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}

/* v1.40.421 — O.FONDAMENTAUX / Comprendre : lecture aérée, harmonisation des gris.
   S'applique uniquement lorsque l'onglet Comprendre est ouvert. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages:has(> [data-mp-page="0"]:not([hidden])) {
  background:#fff!important;
  border-color:#e6e7ea!important;
  box-shadow:none!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] .o-mp-course-overview {
  background:#f7f7f8!important;
  border-color:#e9e9ec!important;
  box-shadow:none!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] .o-mp-course-section {
  background:#f8f8f9!important;
  border-color:#ebebee!important;
  box-shadow:none!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] button.o-mp-unit-trigger {
  background:#f8f8f9!important;
  color:#26272b!important;
  transition:background .16s ease!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] button.o-mp-unit-trigger:hover {
  background:#f0f0f2!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] button.o-mp-unit-trigger[aria-expanded="true"] {
  background:#fff!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] button.o-mp-unit-trigger em {
  background:#fff!important;
  border-color:#e3e4e7!important;
  color:#686b72!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] .o-mp-course-section .o-mp-lessons {
  background:#fff!important;
  border-top:1px solid #ececef!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] .o-mp-course-section .o-mp-lessons article {
  border-color:#ebeced!important;
  background:#fff!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages [data-mp-page="0"] .o-mp-course-extra {
  background:#f8f8f9!important;
  border-color:#e9e9ec!important;
}


/* v1.40.437 — sans le bandeau répétitif au-dessus des parcours, pour tous les domaines.
   Les éléments restent dans le DOM pour la navigation et les mises à jour métier. */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-shell.o-has-selection .o-metier-app-detail > :is(.o-metier-back, small, h2, p){
  display:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-shell.o-has-selection .o-metier-app-detail > .o-metier-app-detail-body{
  margin-top:0!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-shell.o-has-selection .o-metier-app-detail{
  padding-top:14px!important;
}

#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs {grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:650px){#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-tabs {grid-template-columns:1fr!important}}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-bottom button[hidden] {display:none!important}

#ofnmi-office .o-mp .o-dialogue{margin:4px auto 22px;max-width:850px;background:#fff;border:1px solid #d6d7da;border-radius:4px;overflow:hidden}
#ofnmi-office .o-dialogue .odlg-head{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#282828;color:white;padding:22px clamp(16px,4%,32px)}
#ofnmi-office .odlg-head small{font:650 10px/1.5 Arial,sans-serif;letter-spacing:.13em;color:#d2d2d2}
#ofnmi-office .o-dialogue .odlg-head h4{margin:6px 0 0;color:white;font:normal clamp(20px,3vw,27px)/1.18 Georgia,serif}
#ofnmi-office .odlg-count{font-size:12px;color:white;white-space:nowrap}
#ofnmi-office .odlg-log{background:#f7f7f8;padding:clamp(16px,4%,32px);max-height:440px;overflow-y:auto;overscroll-behavior:contain}
#ofnmi-office .odlg-line{display:flex;margin-bottom:14px}.odlg-line:last-child{margin-bottom:0}
#ofnmi-office .odlg-bubble{max-width:83%;background:white;border:1px solid #ddd;border-radius:3px 12px 12px 12px;padding:11px 16px;overflow-wrap:anywhere}
#ofnmi-office .odlg-bubble small{font-weight:700;font-size:12px;color:#525359}
#ofnmi-office .odlg-bubble p{font:normal 15px/1.55 Arial,sans-serif;margin:4px 0 0;white-space:pre-line;color:#282828}
#ofnmi-office .odlg-own{justify-content:flex-end}#ofnmi-office .odlg-own .odlg-bubble{background:#313237;border-color:#313237;border-radius:12px 3px 12px 12px}#ofnmi-office .odlg-own :is(p,small){color:white}
#ofnmi-office .odlg-compose,#ofnmi-office .odlg-result{padding:18px clamp(16px,4%,32px);border-top:1px solid #ddd}
#ofnmi-office .odlg-compose textarea{box-sizing:border-box;width:100%;resize:vertical;background:#fff;border:1px solid #a6a7aa;border-radius:4px;padding:10px 12px;font:inherit;color:#282828}
#ofnmi-office .odlg-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:9px}
#ofnmi-office .odlg-bar [role="status"]:empty{display:none}
#ofnmi-office .odlg-compose-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-inline-start:auto}
#ofnmi-office .o-dialogue button.odlg-reset{background:#fff;color:#343438;border:1px solid #c7c8cb;padding:9px 17px}
#ofnmi-office .o-dialogue button.odlg-reset:hover{background:#f4f4f5}
#ofnmi-office .odlg-bar span{color:#515258;font-size:13px}
#ofnmi-office .o-dialogue button{background:#282828;color:white;border:0;padding:10px 18px;border-radius:4px;cursor:pointer;font-weight:650}
#ofnmi-office .o-dialogue button:disabled{opacity:.55}
#ofnmi-office .o-dialogue [hidden]{display:none!important}
#ofnmi-office .o-dialogue-extra>summary{cursor:pointer;font-weight:600;padding:12px 0}
@media(max-width:550px){#ofnmi-office .o-dialogue .odlg-head{align-items:flex-start;flex-direction:column;gap:6px}#ofnmi-office .odlg-bubble{max-width:94%}}

#ofnmi-office .o-dialogue .odlg-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
#ofnmi-office .odlg-head-actions{display:grid;justify-items:end;gap:7px}
#ofnmi-office .o-dialogue .odlg-change{border:1px solid #929296;background:#343438;color:#fff;padding:7px 11px;font-size:13px;line-height:1.35;white-space:nowrap}
#ofnmi-office .o-dialogue .odlg-change:hover{background:#45454a;border-color:white}
#ofnmi-office .o-dialogue button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
#ofnmi-office .odlg-line{align-items:flex-end;gap:9px}
#ofnmi-office .odlg-avatar{display:block;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background-image:url("o-metier-portraits.webp");background-size:400% 200%;background-repeat:no-repeat;filter:none}
#ofnmi-office .odlg-bubble{min-width:0;box-sizing:border-box;max-width:min(83%,calc(100% - 45px))}
@media(max-width:480px){#ofnmi-office .o-dialogue .odlg-head{gap:7px;padding:14px 12px}#ofnmi-office .odlg-avatar{width:30px;height:30px;flex-basis:30px}}
#ofnmi-office .odlg-face-0{background-position:0.000000% 0%}
#ofnmi-office .odlg-face-1{background-position:33.333333% 0%}
#ofnmi-office .odlg-face-2{background-position:66.666667% 0%}
#ofnmi-office .odlg-face-3{background-position:100.000000% 0%}
#ofnmi-office .odlg-face-4{background-position:0.000000% 100%}
#ofnmi-office .odlg-face-5{background-position:33.333333% 100%}
#ofnmi-office .odlg-face-6{background-position:66.666667% 100%}
#ofnmi-office .odlg-face-7{background-position:100.000000% 100%}


#ofnmi-office [data-o-current-avatar] img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
#ofnmi-office .o-profile-portrait{display:flex;align-items:center;gap:14px;margin:14px 0}
#ofnmi-office .o-profile-portrait img{width:64px;height:64px;border-radius:50%;object-fit:cover}
#ofnmi-office .o-profile-portrait :is(small,[role="status"]){display:block;font-size:13px}
#ofnmi-office .o-profile-portrait [hidden]{display:none!important}
#ofnmi-office .o-dialogue .odlg-profile-avatar{background:#484950;color:white;display:grid;place-items:center;font:600 14px Arial,sans-serif;object-fit:cover}
#ofnmi-office .odlg-typing {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 4px;
  min-height: 16px;
  margin: 4px 0 0;
}
#ofnmi-office .odlg-typing i{width:6px;height:6px;border-radius:50%;background:#64656a;animation:odlg-write 1s ease-in-out infinite}
#ofnmi-office .odlg-typing i:nth-child(2){animation-delay:.14s}
#ofnmi-office .odlg-typing i:nth-child(3){animation-delay:.28s}
@keyframes odlg-write{0%,75%,100%{opacity:.45;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){#ofnmi-office .odlg-typing i{animation:none}}

#ofnmi-office .odlg-topic {margin:0 0 14px;border:1px solid #d6d6da;border-radius:4px;background:#fff}
#ofnmi-office .odlg-topic summary {padding:12px 16px;cursor:pointer;font-weight:650}
#ofnmi-office .odlg-topic-form {padding:0 16px 14px}
#ofnmi-office .odlg-topic-form label {display:block;font-weight:600}
#ofnmi-office .odlg-topic-form textarea {display:block;box-sizing:border-box;width:100%;margin:8px 0 12px;padding:10px 12px;border:1px solid #a6a7aa;border-radius:4px;background:#fff;color:#282828;resize:vertical;font:inherit;font-weight:400}
#ofnmi-office .odlg-topic-bar {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
#ofnmi-office .odlg-topic-bar [role="status"] {color:#515258;font-size:13px}
#ofnmi-office .odlg-topic-bar button {margin-inline-start:auto;padding:10px 16px;background:#282828;color:#fff;border:0;border-radius:4px;font:inherit;font-weight:650;cursor:pointer}
#ofnmi-office .odlg-topic-bar button:disabled {opacity:.55}

#ofnmi-office .o-mp :is(.o-mp-quiz,.o-mg-quiz) {grid-template-columns:minmax(0,1fr);min-width:0}
#ofnmi-office .o-quiz-card {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:400px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:12px;
  background:#fff;
  border:1px solid #dadbe0;
  border-radius:4px;
  padding:clamp(15px,2vw,24px);
}
#ofnmi-office .o-quiz-body {min-height:0;min-width:0;overflow-y:auto;overflow-wrap:anywhere;scrollbar-gutter:stable;padding:3px}
@media(max-width:650px) {
  #ofnmi-office .o-quiz-card {height:clamp(350px,70svh,470px)}
}
#ofnmi-office .o-quiz-meta {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:650;color:#505156}
#ofnmi-office .o-quiz-meta progress {appearance:none;display:block;width:clamp(50px,20%,110px);height:4px;border:0;border-radius:3px;overflow:hidden;background:#e9e9eb;color:#45464a}
#ofnmi-office .o-quiz-meta progress::-webkit-progress-bar {background:#e9e9eb}
#ofnmi-office .o-quiz-meta progress::-webkit-progress-value {background:#45464a}
#ofnmi-office .o-quiz-meta progress::-moz-progress-bar {background:#45464a}
#ofnmi-office .o-mp .o-quiz-card .o-quiz-title {margin:16px 0;line-height:1.35;scroll-margin-block-start:100px}
#ofnmi-office .o-quiz-choices {display:grid;gap:8px}
#ofnmi-office .o-quiz-card button {border-radius:4px;white-space:normal;line-height:1.4}
#ofnmi-office .o-quiz-choices .o-quiz-choice {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:start;min-height:44px;padding:10px 14px;background:#fff;border:1px solid #c9cacf;color:#25262a;font:inherit}
#ofnmi-office .o-quiz-choice:hover:enabled {background:#f4f4f5;border-color:#686970}
#ofnmi-office .o-quiz-choice:disabled {opacity:1;cursor:default}
#ofnmi-office .o-quiz-choice.is-correct {background:#f2f3f4;border-color:#52545a;font-weight:650}
#ofnmi-office .o-quiz-choice.is-selected {border-style:dashed}
#ofnmi-office .o-quiz-choice small {flex-shrink:0;max-width:8em;color:#44464b;font-weight:650}
#ofnmi-office .o-quiz-feedback {margin-top:14px;font-size:14px;line-height:1.55;scroll-margin-block-start:100px}
#ofnmi-office .o-quiz-nav {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
#ofnmi-office .o-quiz-nav button {padding:10px 14px;font:inherit;font-weight:650;cursor:pointer}
#ofnmi-office .o-quiz-back {border:1px solid #c9cacf;background:#fff;color:#343438}
#ofnmi-office .o-quiz-next {margin-inline-start:auto;border:1px solid #282828;background:#282828;color:#fff}
#ofnmi-office .o-quiz-card button:focus-visible {outline:2px solid #484950;outline-offset:2px}
#ofnmi-office .o-quiz-review {margin-block:2px 12px}

/* Identité des trois étapes du parcours. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button {
  --stage-photo-width:30%;
  display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;
  align-content:center;align-items:start!important;justify-items:start;row-gap:4px!important;
  min-height:128px!important;position:relative;isolation:isolate;overflow:hidden;
  padding:14px calc(var(--stage-photo-width) + 10px) 14px 15px!important;
  border-radius:4px!important;box-shadow:none!important;transform:none!important;
}
#ofnmi-office .o-stage-cards button:is([data-mp-step="0"],[data-mg-step="0"]) {--stage-image:url("o-photo-03-couleur-v140388.jpg");--stage-position:50%}
#ofnmi-office .o-stage-cards button:is([data-mp-step="1"],[data-mg-step="1"]) {--stage-image:url("o-photo-02-couleur-v140388.jpg");--stage-position:52%}
#ofnmi-office .o-stage-cards button:is([data-mp-step="3"],[data-mg-step="3"]) {--stage-image:url("o-photo-12-couleur-v140388.jpg");--stage-position:52%}
#ofnmi-office#ofnmi-office .o-mp .o-stage-cards button::after {
  content:"";position:absolute;inset:0 0 0 auto;width:var(--stage-photo-width);pointer-events:none;
  background:var(--stage-image) var(--stage-position) center / cover no-repeat;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button b {
  background:transparent!important;color:#57575e!important;padding:0!important;min-width:0!important;height:auto!important;
  font-weight:600!important;font-size:11px!important;line-height:1.25;letter-spacing:.1em;margin:0 0 6px!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button strong {
  font-size:clamp(15px,1.28vw,19px)!important;line-height:1.2!important;letter-spacing:-.025em;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button small {
  margin-top:2px!important;font-size:12px!important;
}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button.is-current b {color:#dedee3!important;background:transparent!important}
@media (min-width:651px) and (max-width:1000px) {
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button {--stage-photo-width:24%;padding-left:10px!important}
}
@media (max-width:650px) {
  #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-stage-cards button {--stage-photo-width:28%;min-height:92px!important;row-gap:2px!important}
}

#ofnmi-office .o-acquis {display:grid;gap:16px}
#ofnmi-office .o-acquis-hero {display:flex;align-items:center;justify-content:space-between;gap:16px;background:#2b2c30;border-radius:4px;padding:clamp(16px,3vw,28px);color:#fff}
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-acquis-hero .o-acquis-heading {font-size:clamp(21px,2.2vw,30px)!important;color:white!important;margin:0!important;line-height:1.15!important}
#ofnmi-office .o-acquis-intro p {margin:6px 0 0;color:#dedfe3;font-size:14px}
#ofnmi-office .o-acquis-score {flex-shrink:0;text-align:right;line-height:1.15;color:white}
#ofnmi-office .o-acquis-score strong {display:block;font-size:clamp(36px,4vw,53px);line-height:1;font-weight:700;letter-spacing:-.05em}
#ofnmi-office .o-acquis-score strong span {font-size:.52em;color:#d1d2d8;font-weight:500}
#ofnmi-office .o-acquis-score small {display:block;color:#ebebed;font-size:12px;margin-top:5px}
#ofnmi-office .o-acquis-groups {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:14px;align-items:start}
#ofnmi-office .o-acquis-group {background:white;border:1px solid #d7d8dd;border-radius:4px;overflow:hidden;min-width:0}
#ofnmi-office .o-acquis-group h5 {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 16px!important;font-size:16px;background:#edf1f5;color:#354653}
#ofnmi-office .o-acquis-group.to-review h5 {background:#f6ede8;color:#674639}
#ofnmi-office .o-acquis-count {font-size:13px;font-variant-numeric:tabular-nums}
#ofnmi-office .o-acquis-item {border-top:1px solid #e1e2e5;padding:0 14px}
#ofnmi-office .o-acquis-item summary {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:baseline;padding:13px 0;cursor:pointer;font-weight:600;line-height:1.4;list-style:none}
#ofnmi-office .o-acquis-item summary::-webkit-details-marker {display:none}
#ofnmi-office .o-acquis-item summary:after {content:"+";font:500 18px/1 Arial,sans-serif;color:#515258}
#ofnmi-office .o-acquis-item[open] summary:after {content:"−"}
#ofnmi-office .o-acquis-index {color:#62656b;font-size:11px;font-weight:700}
#ofnmi-office .o-acquis-correction {padding:0 0 13px 24px;color:#393b41}
#ofnmi-office .o-acquis-correction small {display:block;color:#62656b;font-size:12px;font-weight:600;margin:6px 0 2px}
#ofnmi-office .o-acquis-correction strong {font-size:14px;color:#25262b}
#ofnmi-office .o-acquis-correction p {font-size:14px;line-height:1.55;margin:3px 0 6px}
#ofnmi-office .o-acquis .o-quiz-review {justify-self:start;margin:0 0 4px}
@media(max-width:480px) {
  #ofnmi-office .o-acquis-hero {gap:10px;padding:14px}
  #ofnmi-office .o-acquis-score small {max-width:7em}
}

/* Comprendre : une fiche à consulter, puis un répertoire de thèmes. */
#ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-mp .o-mp-pages .o-field-guide {
  container: field-guide / inline-size;
  --guide-ink: #202831;
  --guide-mist: #eaf0f3;
  --guide-photo: url("o-metier-photo-09-hover.jpg");

  & .o-guide-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 4px;
    background: var(--guide-mist);
  }
  & .o-guide-copy {
    align-self: center;
    padding: clamp(20px, 3vw, 38px);
    color: var(--guide-ink);
  }
  & .o-guide-copy h4 {
    color: var(--guide-ink) !important;
    font-size: clamp(24px, 2.3vw, 34px) !important;
    line-height: 1.13 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
    margin: 0 !important;
  }
  & .o-guide-copy p {
    max-width: 60ch;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: #3e4b57;
  }
  & .o-guide-read {
    width: fit-content !important;
    margin: 18px 0 0 !important;
    padding: 10px 16px !important;
    min-height: 42px;
    background: #252b30 !important;
    color: white !important;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
  }
  & .o-guide-read:hover { background: #384653 !important; }
  & .o-guide-photo {
    background: var(--guide-photo) center 46% / cover no-repeat;
    min-height: 175px;
  }
  & .o-guide-directory-title {
    margin: 26px 0 12px !important;
    font-size: 20px !important;
  }
  & .o-guide-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
  }
  & .o-guide-directory > :is(.o-mp-course-block,.o-mp-course-section) {
    background: #fff !important;
    border: 1px solid #d9dfe3 !important;
    border-radius: 4px;
    margin: 0 !important;
    min-width: 0;
  }
  & .o-guide-directory > :is(.o-mp-course-block[open],.o-mp-course-section:not(.o-mp-unit-collapsed)),
  & .o-mp-course-extra { grid-column: 1 / -1; }
  & .o-guide-directory :is(.o-mp-course-block > summary, button.o-mp-unit-trigger) {
    height: 100%;
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-content: center;
    align-items: center;
    gap: 4px 12px !important;
    padding: 15px 17px !important;
    background: #fff !important;
    text-transform: none !important;
  }
  & .o-guide-directory .o-mp-course-block[open] > summary { height: auto; }
  & .o-guide-directory :is(.o-mp-course-block > summary:hover,button.o-mp-unit-trigger:hover) {
    background: #f2f5f7 !important;
  }
  & .o-guide-directory :is(.o-mp-course-section-head h5,button.o-mp-unit-trigger strong) {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
  }
  & .o-guide-directory :is(.o-mp-course-section-head p,button.o-mp-unit-trigger span) {
    margin: 4px 0 0;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #515b63 !important;
  }
  & .o-guide-directory :is(.o-mg-count,button.o-mp-unit-trigger em) {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    color: #54626d !important;
    font-size: 12px !important;
    align-self: center !important;
    white-space: nowrap;
  }
  & .o-guide-directory :is(.o-mg-count,button.o-mp-unit-trigger em)::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 3px 3px 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  & .o-guide-directory :is(details[open] > summary .o-mg-count,button[aria-expanded="true"] em)::after {
    transform: rotate(225deg);
    vertical-align: -3px;
  }
  & .o-guide-directory :is(.o-mg-lesson-index,.o-mp-lesson-trigger > b) { display: none !important; }
  & .o-guide-directory :is(.o-mg-lesson > summary, .o-mp-lesson-trigger) { scroll-margin-block-start: 125px; }
  & :is(summary,button):focus-visible { outline: 2px solid #415e76 !important; outline-offset: -3px; }
  & .o-guide-directory .o-mg-lesson-body { padding: 18px clamp(15px, 3vw, 30px); }
  & .o-guide-directory :is(.o-mg-text-content,.o-mp-lesson-content) p {
    max-width: 72ch;
    color: #39434d !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
  & .o-guide-directory .o-mp-lesson-content h5 { display: none; }
  & .o-guide-directory .o-mp-lesson-content .o-mp-example {
    background: #eef3f6 !important;
    border-left-color: #718b9a !important;
  }
  & > .o-mp-course-extra { margin-top: 12px; }
}
#ofnmi-office .o-mg[data-mg-domain="transaction"] .o-field-guide { --guide-photo: url("o-metier-photo-07-hover.jpg") !important; }
#ofnmi-office .o-mg[data-mg-domain="gestion"] .o-field-guide { --guide-photo: url("o-metier-photo-06-hover.jpg") !important; }
#ofnmi-office .o-mg[data-mg-domain="syndic"] .o-field-guide { --guide-photo: url("o-metier-photo-11-hover.jpg") !important; }
#ofnmi-office .o-mg[data-mg-domain="investissement"] .o-field-guide { --guide-photo: url("o-metier-photo-16-hover.jpg") !important; }
#ofnmi-office .o-mg[data-mg-domain="valorisation"] .o-field-guide { --guide-photo: url("o-metier-photo-03-hover.jpg") !important; }
#ofnmi-office .o-mg[data-mg-domain="saisonnier"] .o-field-guide { --guide-photo: url("o-metier-photo-14-hover.jpg") !important; }
#ofnmi-office .o-mg[data-mg-domain="juridique"] .o-field-guide { --guide-photo: url("o-metier-photo-06-hover.jpg") !important; }
@container field-guide (max-width: 650px) {
  #ofnmi-office#ofnmi-office .o-field-guide .o-guide-directory { grid-template-columns: minmax(0, 1fr) !important; }
}
@container field-guide (max-width: 490px) {
  #ofnmi-office#ofnmi-office .o-field-guide .o-guide-feature { grid-template-columns: 1fr !important; }
  #ofnmi-office#ofnmi-office .o-field-guide .o-guide-photo { grid-row: 1; min-height: 0; height: 106px; }
}
