/* v1.32.72 — esthétique des champs de réponse uniquement
   Le reste de l'interface conserve le socle validé. */

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarifications,
#ofnmi-office .o-public-test-result .ofnmi-clarifications{
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification,
#ofnmi-office .o-public-test-result .ofnmi-clarification{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification h3,
#ofnmi-office .o-public-test-result .ofnmi-clarification h3{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.35!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification-options,
#ofnmi-office .o-public-test-result .ofnmi-clarification-options{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  overflow:visible!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification-options button,
#ofnmi-office .o-public-test-result .ofnmi-clarification-options button{
  max-width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.25!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification input,
#ofnmi-office .ofnmi-thread-answer .ofnmi-zone-input-wrap input,
#ofnmi-office .o-public-test-result .ofnmi-clarification input,
#ofnmi-office .o-public-test-result .ofnmi-zone-input-wrap input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  box-sizing:border-box!important;
  margin:10px 0 0!important;
  padding:12px 14px!important;
  border:1px solid #d2d2d2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#272727!important;
  font:inherit!important;
  line-height:1.35!important;
  box-shadow:none!important;
  outline:none!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification input:focus,
#ofnmi-office .ofnmi-thread-answer .ofnmi-zone-input-wrap input:focus,
#ofnmi-office .o-public-test-result .ofnmi-clarification input:focus,
#ofnmi-office .o-public-test-result .ofnmi-zone-input-wrap input:focus{
  border-color:var(--of-green,#556e10)!important;
  box-shadow:0 0 0 3px rgba(85,110,16,.10)!important;
}

@media(max-width:760px){
  #ofnmi-office .ofnmi-thread-answer .ofnmi-clarification,
  #ofnmi-office .o-public-test-result .ofnmi-clarification{
    padding:14px!important;
  }
}

/* v1.40.168 — cartes de clarification aérées et angles alignés sur O. */
#ofnmi-office .ofnmi-thread-answer .ofnmi-clarifications,
#ofnmi-office .o-public-test-result .ofnmi-clarifications{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  border-radius:4px!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification,
#ofnmi-office .o-public-test-result .ofnmi-clarification{
  margin:0!important;
  padding:14px 16px!important;
  border-radius:4px!important;
}

#ofnmi-office .ofnmi-thread-answer .ofnmi-clarification input,
#ofnmi-office .ofnmi-thread-answer .ofnmi-zone-input-wrap input,
#ofnmi-office .o-public-test-result .ofnmi-clarification input,
#ofnmi-office .o-public-test-result .ofnmi-zone-input-wrap input{
  border-radius:4px!important;
}

@media(max-width:760px){
  #ofnmi-office .ofnmi-thread-answer .ofnmi-clarifications,
  #ofnmi-office .o-public-test-result .ofnmi-clarifications{
    gap:8px!important;
  }
}

/* v1.32.82 — le JavaScript du module génère déjà le titre O.FONDAMENTAUX
   et l’encart assistant. Masquer uniquement les doublons ajoutés en PHP. */
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro{
  display:none!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal{
  display:none!important;
}

/* v1.32.78 — O.FONDAMENTAUX : rendu de référence fourni par l'utilisateur.
   Cette page démarre directement par la recherche puis les ressources. */
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-metier-library-head,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-metier-actions{
  display:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar{
  box-sizing:border-box!important;
  width:calc(100% - 104px)!important;
  max-width:none!important;
  height:85px!important;
  margin:0 auto 40px!important;
  grid-template-columns:minmax(0,3fr) minmax(250px,1fr)!important;
  border-radius:25px!important;
  box-shadow:0 12px 34px rgba(0,0,0,.04)!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar>input,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select>select{
  height:83px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar>input{
  padding:0 30px!important;
  font-size:20px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select>select{
  padding:0 48px 0 28px!important;
  font-size:16px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel{
  width:calc(100% - 104px)!important;
  max-width:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro{
  margin:0 auto 40px!important;
  padding:0!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro small{
  display:block!important;
  margin:0 0 12px!important;
  color:var(--of-green,#556e10)!important;
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro h1{
  margin:0 0 12px!important;
  color:#171717!important;
  font-size:58px!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  font-weight:750!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro p{
  margin:0!important;
  color:#777168!important;
  font-size:16px!important;
  line-height:1.4!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-list{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-section{
  border-radius:18px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head{
  min-height:102px!important;
  padding:20px 22px!important;
  grid-template-columns:46px minmax(0,1fr) 24px!important;
  gap:16px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head i{
  width:44px!important;
  height:44px!important;
  font-size:13px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head strong{
  font-size:16px!important;
  line-height:1.2!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head small{
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.3!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head b{
  font-size:22px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal{
  min-height:130px!important;
  margin:14px 0 0!important;
  padding:24px 28px!important;
  border-radius:17px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal small{
  font-size:12px!important;
  letter-spacing:.16em!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal strong{
  font-size:23px!important;
  line-height:1.15!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal em{
  font-size:14px!important;
  line-height:1.35!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal button{
  font-size:12px!important;
}

@media(max-width:760px){
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel{
    width:calc(100% - 28px)!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar{
    height:auto!important;
    margin-bottom:28px!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar>input,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select>select{
    height:54px!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro h1{
    font-size:42px!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-list{
    grid-template-columns:1fr!important;
  }
}

/* Reprise stricte du rendu portail : le thème WordPress ne doit pas pouvoir
   transformer les cartes ni les boutons natifs du module. */
#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt{
  width:min(620px,100%)!important;
  max-width:620px!important;
  min-height:72px!important;
  height:94px!important;
  display:flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
  padding:10px 14px 10px 32px!important;
  border:1px solid rgba(85,110,16,.18)!important;
  border-radius:50px!important;
  background:#fff!important;
  outline:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-home-input-wrap{
  order:1!important;
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  padding:15px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
  font-size:19px!important;
  color:#282828!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] #ofnmi-home-rotating-example{
  left:0!important;
  right:10px!important;
  width:auto!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-attachment-trigger{
  order:2!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:38px!important;
  margin:0 10px 0 8px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(85,110,16,.18)!important;
  border-radius:19px!important;
  background:rgba(248,249,241,.82)!important;
  color:#556e10!important;
  outline:none!important;
  white-space:nowrap!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-attachment-trigger:hover,
#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-attachment-trigger:focus{
  background:#f0f0f0!important;
  border-color:rgba(85,110,16,.28)!important;
  color:#465c0c!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-send{
  order:3!important;
  flex:0 0 58px!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#556e10!important;
  color:#fff!important;
  outline:none!important;
  box-shadow:0 7px 18px rgba(85,110,16,.22)!important;
  font-size:30px!important;
  line-height:1!important;
  appearance:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-send:hover,
#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-prompt>.ofnmi-send:focus{
  background:#465c0c!important;
  color:#fff!important;
  border:0!important;
  outline:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-intro{
  width:min(1240px,94vw)!important;
  max-width:none!important;
  margin:72px auto 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-grid{
  width:min(1240px,94vw)!important;
  max-width:none!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card{
  appearance:none!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:1fr auto!important;
  min-width:0!important;
  min-height:132px!important;
  width:auto!important;
  padding:15px 16px 13px!important;
  gap:7px 10px!important;
  box-sizing:border-box!important;
  border:1px solid #d2d2d2!important;
  border-radius:20px!important;
  text-align:left!important;
  white-space:normal!important;
  overflow:hidden!important;
  outline:none!important;
  color:#282828!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 10px 30px rgba(40,40,40,.035)!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card>span:nth-child(2){
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-mark{
  grid-row:1 / span 2!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card small,
#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card strong,
#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card em,
#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card>b{
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card small{
  margin-bottom:4px!important;
  font-size:10px!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card strong{
  margin-bottom:4px!important;
  font-size:20px!important;
  line-height:1.05!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card em{
  font-size:10px!important;
  line-height:1.35!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card>b{
  grid-column:2!important;
  align-self:end!important;
  font-size:10px!important;
  line-height:1.2!important;
}

@media(max-width:1050px){
  #ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:820px){
  #ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-grid{
    width:min(680px,94vw)!important;
    grid-template-columns:1fr!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card{
    min-height:136px!important;
  }
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card.is-memo{
  background:#fff!important;
  border-color:#dedee3!important;
  box-shadow:0 2px 8px rgba(29,31,35,.035)!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card.is-flash{
  background:#fff!important;
  border-style:solid!important;
  border-color:#dedee3!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card.is-shortcuts{
  background:#fff!important;
  border-color:#dedee3!important;
}

#ofnmi-office .ofnmi-view[data-panel="assistant"] .ofnmi-home-core-card:is(:hover,:focus-visible){
  color:#202124!important;
  background:#f0f0f2!important;
  background-image:none!important;
  border-color:#c7c7cc!important;
  box-shadow:0 5px 14px rgba(29,31,35,.055)!important;
  transform:translateY(-2px)!important;
  outline:none!important;
}

/* Autres vues : même protection contre les styles du thème et les textes
   qui débordent. Le fonctionnement et les contenus restent inchangés. */
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-actions,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-actions,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-actions,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  min-width:0!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action{
  appearance:none!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  min-width:0!important;
  min-height:190px!important;
  width:auto!important;
  padding:20px!important;
  box-sizing:border-box!important;
  border:1px solid #d2d2d2!important;
  border-radius:22px!important;
  background:#f4f4f4!important;
  color:#282828!important;
  text-align:left!important;
  white-space:normal!important;
  overflow:hidden!important;
  outline:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action>div,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action>div,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action>div,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action>div{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action span,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action strong,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action em,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action b,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action span,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action strong,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action em,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action b,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action span,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action strong,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action em,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action b,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action span,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action strong,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action em,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action b{
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action.is-primary,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action.is-primary,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action.is-primary{
  background:#f4f7e9!important;
  border-color:#b9c98a!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action:hover,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action:hover,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action:hover,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action:hover,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action:focus,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action:focus,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action:focus,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action:focus{
  background:#fff!important;
  border-color:#b8c78b!important;
  color:#282828!important;
  outline:none!important;
  box-shadow:0 14px 35px rgba(40,40,40,.07)!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action.is-primary:hover,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action.is-primary:focus,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action.is-primary:hover,
#ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action.is-primary:focus,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action.is-primary:hover,
#ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action.is-primary:focus{
  background:#f4f7e9!important;
  border-color:#b9c98a!important;
}

#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-essential-card,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-item,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-productions-to-flash,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-library-head,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-library-head,
#ofnmi-office .ofnmi-view[data-panel="discover"] .o-discover-page-head,
#ofnmi-office .ofnmi-view[data-panel="custom"] .o-custom-head{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-essential-card h3,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-essential-card p,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-essential-card li,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-item h3,
#ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-flash-item p,
#ofnmi-office .ofnmi-view[data-panel="discover"] .o-discover-page-head h1,
#ofnmi-office .ofnmi-view[data-panel="discover"] .o-discover-page-head p,
#ofnmi-office .ofnmi-view[data-panel="custom"] .o-custom-head h1,
#ofnmi-office .ofnmi-view[data-panel="custom"] .o-custom-head p{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
}

@media(max-width:980px){
  #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-actions,
  #ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-actions,
  #ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-actions,
  #ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-actions{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:700px){
  #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action,
  #ofnmi-office .ofnmi-view[data-panel="flash"] .ofnmi-metier-action,
  #ofnmi-office .ofnmi-view[data-panel="discover"] .ofnmi-metier-action,
  #ofnmi-office .ofnmi-view[data-panel="custom"] .ofnmi-metier-action{
    min-height:0!important;
    padding:17px!important;
    border-radius:18px!important;
    grid-template-columns:32px minmax(0,1fr)!important;
  }
}

/* v1.32.77 — reprise exacte de la page O.FONDAMENTAUX de référence.
   Les contenus et le fonctionnement ne changent pas : seule la grille
   compacte, les largeurs et la protection des textes sont ajustées. */
#ofnmi-office .ofnmi-view[data-panel="resources"]{
  overflow-x:hidden!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library{
  box-sizing:border-box!important;
  width:min(1240px,100%)!important;
  padding:36px 28px 0!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-library-head{
  min-width:0!important;
  max-width:none!important;
  margin-bottom:18px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-library-head h1,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-library-head p{
  max-width:100%!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 0 10px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action{
  min-height:86px!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  grid-template-columns:26px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:8px!important;
  row-gap:4px!important;
  box-shadow:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action>span{
  width:24px!important;
  height:24px!important;
  font-size:7px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action small{
  margin:0 0 2px!important;
  font-size:7px!important;
  letter-spacing:.12em!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action strong{
  margin:0 0 2px!important;
  font-size:12px!important;
  line-height:1.12!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action em{
  font-size:8px!important;
  line-height:1.25!important;
  color:#777168!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action>b{
  font-size:8px!important;
  line-height:1.1!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel{
  box-sizing:border-box!important;
  width:calc(100% - 56px)!important;
  max-width:1184px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro{
  margin-top:0!important;
  margin-bottom:8px!important;
  padding:0!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro small{
  display:block!important;
  color:var(--of-green,#556e10)!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.14em!important;
  line-height:1.2!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro p{
  margin:3px 0 0!important;
  color:#777168!important;
  font-size:10px!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  overflow:visible!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-list{
  order:1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-list>.ofnmi-resource-section{
  min-width:0!important;
  border-radius:10px!important;
  overflow:hidden!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head{
  min-width:0!important;
  min-height:52px!important;
  padding:9px 11px!important;
  grid-template-columns:26px minmax(0,1fr) 16px!important;
  gap:8px!important;
  align-items:center!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head i{
  width:24px!important;
  height:24px!important;
  font-size:7px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head span{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:2px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head strong,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head small{
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head strong{
  font-size:10px!important;
  line-height:1.15!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head small{
  display:block!important;
  font-size:7px!important;
  line-height:1.2!important;
  color:#817a71!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head b{
  font-size:14px!important;
  line-height:1!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-help-universal{
  order:2!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  gap:12px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-oflash-promise{
  order:3!important;
  width:100%!important;
  max-width:none!important;
  margin:24px 0 8px!important;
  padding:0 2px 5px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-oflash-grid{
  order:4!important;
  width:100%!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 0 8px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-oflash-disclaimer{
  order:5!important;
  width:100%!important;
  margin:0 0 24px!important;
  font-size:8px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-more{
  min-width:0!important;
  min-height:218px!important;
  padding:11px!important;
  border-radius:10px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card h3,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-more h3{
  max-width:100%!important;
  font-size:12px!important;
  line-height:1.15!important;
  overflow-wrap:anywhere!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card>p,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-more>p,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-result span,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-tools span{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  font-size:8px!important;
  line-height:1.3!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card-top{
  min-width:0!important;
  margin-bottom:8px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card-top small,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card-top span,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-result b,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-tools small{
  font-size:7px!important;
  line-height:1.2!important;
  overflow-wrap:anywhere!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-tools{
  min-width:0!important;
  margin-bottom:8px!important;
  padding-top:7px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-tools div{
  min-width:0!important;
  gap:3px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-tools span{
  padding:3px 5px!important;
  font-size:6px!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-oflash-card>button{
  max-width:100%!important;
  padding:7px 6px!important;
  font-size:7px!important;
  line-height:1.2!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  background:var(--of-green,#556e10)!important;
}

#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head:hover,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head:focus,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action:hover,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-action:focus{
  color:#282828!important;
  outline:none!important;
}

/* Protection commune sur les autres vues : aucune largeur imposée par le thème. */
#ofnmi-office .ofnmi-view[data-panel="flash"],
#ofnmi-office .ofnmi-view[data-panel="discover"],
#ofnmi-office .ofnmi-view[data-panel="custom"]{
  overflow-x:hidden!important;
}

#ofnmi-office .ofnmi-view[data-panel="flash"] h1,
#ofnmi-office .ofnmi-view[data-panel="flash"] h2,
#ofnmi-office .ofnmi-view[data-panel="flash"] h3,
#ofnmi-office .ofnmi-view[data-panel="flash"] p,
#ofnmi-office .ofnmi-view[data-panel="discover"] h1,
#ofnmi-office .ofnmi-view[data-panel="discover"] h2,
#ofnmi-office .ofnmi-view[data-panel="discover"] h3,
#ofnmi-office .ofnmi-view[data-panel="discover"] p,
#ofnmi-office .ofnmi-view[data-panel="custom"] h1,
#ofnmi-office .ofnmi-view[data-panel="custom"] h2,
#ofnmi-office .ofnmi-view[data-panel="custom"] h3,
#ofnmi-office .ofnmi-view[data-panel="custom"] p{
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

@media(max-width:980px){
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-oflash-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel{
    width:100%!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library{
    padding:28px 14px 0!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-section-intro{
    padding:0 14px!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-resource-list,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-trade-panel.is-active>.ofnmi-oflash-grid{
    grid-template-columns:1fr!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-metier-actions{
    grid-template-columns:1fr!important;
  }
}

/* v1.32.81 — conserver la composition de référence sans seconde couche
   de dimensions : la grille v1.32.77 est la base visuelle validée. */
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-section:hover,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head:hover,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head:focus,
#ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head:active{
  background:#fff!important;
  color:#171717!important;
  border-color:#d2d2d2!important;
  box-shadow:none!important;
  outline:none!important;
}

/* v1.32.81 — rétablir les dimensions de la référence après l'ancien bloc
   expérimental v1.32.78, qui masquait le haut de page et élargissait la barre. */
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library{
  width:min(1240px,100%)!important;
  max-width:1240px!important;
  padding:36px 28px 0!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-metier-library-head{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  text-align:center!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-metier-actions{
  display:grid!important;
  width:100%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar{
  box-sizing:border-box!important;
  width:920px!important;
  max-width:100%!important;
  height:68px!important;
  margin:0 auto 30px!important;
  grid-template-columns:minmax(0,635px) 285px!important;
  border-radius:20px!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar>input,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select,
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select>select{
  height:66px!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar>input{
  padding:0 24px!important;
  font-size:16px!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select{
  width:285px!important;
  min-width:285px!important;
  max-width:285px!important;
}
#ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select>select{
  padding:0 48px 0 22px!important;
  font-size:13px!important;
}
@media(max-width:760px){
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library{
    width:100%!important;
    padding:28px 14px 0!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-metier-actions{
    grid-template-columns:1fr!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar{
    width:100%!important;
    height:auto!important;
  }
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar>input,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select,
  #ofnmi-office .ofnmi-view[data-panel="resources"]>.ofnmi-metier-library>.ofnmi-o-library-toolbar .ofnmi-o-library-select>select{
    height:54px!important;
  }
}


/* v1.33.27 — étapes 03/04 simplifiées */
#ofnmi-office .opn-review-summary{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 margin-top:18px!important;border-top:1px solid #e7e7e7!important;border-bottom:1px solid #e7e7e7!important;
}
#ofnmi-office .opn-review-summary>div{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 padding:16px 18px!important;border-right:1px solid #e7e7e7!important;background:#fff!important;
}
#ofnmi-office .opn-review-summary>div:first-child{padding-left:0!important}
#ofnmi-office .opn-review-summary>div:last-child{border-right:0!important}
#ofnmi-office .opn-review-summary span{font-size:14px!important;font-weight:400!important}
#ofnmi-office .opn-review-summary b{font-size:14px!important;font-weight:500!important;color:#556E10!important}
#ofnmi-office .opn-notary-section{padding-top:24px!important;padding-bottom:24px!important}
#ofnmi-office .opn-notary-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
#ofnmi-office .opn-notary-line h2{margin-bottom:4px!important}
#ofnmi-office .opn-notary-line p{margin:0!important;color:#777!important}
#ofnmi-office .opn-lock-state{
 display:inline-flex!important;align-items:center!important;white-space:nowrap!important;
 padding:7px 12px!important;border-radius:999px!important;background:#f0f0f0!important;color:#777!important;
 font-size:12px!important;font-weight:500!important;
}
#ofnmi-office #opn-create-form>#opn-links-card{
 margin:26px 0 0!important;padding:24px 0 0!important;width:100%!important;
 border:0!important;border-top:1px solid #e7e7e7!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
}
#ofnmi-office #opn-create-form>#opn-links-card>h2{font-size:18px!important;font-weight:500!important;margin:0 0 14px!important}
@media(max-width:760px){
 #ofnmi-office .opn-review-summary{grid-template-columns:1fr 1fr!important}
 #ofnmi-office .opn-review-summary>div:nth-child(2){border-right:0!important}
 #ofnmi-office .opn-review-summary>div{padding-left:0!important}
 #ofnmi-office .opn-notary-line{align-items:flex-start!important;flex-direction:column!important}
}



/* O.FONDAMENTAUX v1.39.50 - numbered icons, match home screen */
body #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head > i,
body #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head > span.o-metier-num-13949,
body #ofnmi-office .ofnmi-resource-head > i,
body #ofnmi-office .ofnmi-resource-head > span.o-metier-num-13949 {
  background:#202124 !important;background-color:#202124 !important;color:#fff !important;
  border:0 !important;border-radius:6px !important;box-shadow:none !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  width:38px !important;min-width:38px !important;height:38px !important;min-height:38px !important;
  flex:0 0 38px !important;font-size:13px !important;font-weight:750 !important;font-style:normal !important;
}

/* O.FONDAMENTAUX v1.39.50 - numbered icons, match home screen */
body #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head > i,
body #ofnmi-office .ofnmi-view[data-panel="resources"] .ofnmi-resource-head > span.o-metier-num-13949,
body #ofnmi-office .ofnmi-resource-head > i,
body #ofnmi-office .ofnmi-resource-head > span.o-metier-num-13949 {
  background:#202124 !important;background-color:#202124 !important;color:#fff !important;
  border:0 !important;border-radius:6px !important;box-shadow:none !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  width:38px !important;min-width:38px !important;height:38px !important;min-height:38px !important;
  flex:0 0 38px !important;font-size:13px !important;font-weight:750 !important;font-style:normal !important;
}

/* O.FONDAMENTAUX v1.39.51 exact markup override */
body #ofnmi-office .ofnmi-resource-head>i.o-metier-number-fixed{background:#202124!important;background-color:#202124!important;color:#fff!important;border:0!important;border-radius:6px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:13px!important;font-weight:750!important;box-shadow:none!important}
