/* O.Fondamentaux 1.40.407 : grille éditoriale sans altérer les ressources ou leur activation. */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-browse {margin:28px 0 0!important;padding:27px 0 0!important;border-top:1px solid #e1e2e6!important;background:transparent!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-browse>.o-metier-browse-kicker{font-size:10px!important;color:#73757b!important;font-weight:800!important;letter-spacing:.13em!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-browse>h3{margin:7px 0!important;font-size:25px!important;font-weight:760!important;color:#202124!important;letter-spacing:-.03em!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-browse>p{margin:0 0 20px!important;font-size:13px!important;color:#71737a!important;line-height:1.55!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-browse-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion.o-metier-topic-card{display:block!important;box-sizing:border-box!important;min-width:0!important;margin:0!important;border:1px solid #dedfe4!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;transition:border-color .18s ease,background-color .18s ease!important;transform:none!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card:first-of-type{border-top:1px solid #dedfe4!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card:is(:hover,:focus-within){border-color:#aeb2ba!important;transform:none!important;box-shadow:none!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;box-sizing:border-box!important;height:264px!important;min-height:264px!important;max-height:264px!important;padding:20px 20px 17px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;list-style:none!important;cursor:pointer!important;transition:background .2s ease!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary:hover{padding:20px 20px 17px!important;background:#fafafb!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card>summary::-webkit-details-marker{display:none!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-index{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:31px!important;height:28px!important;margin:0 0 14px!important;background:#f0f0f2!important;border-radius:4px!important;color:#555860!important;font-size:11px!important;font-weight:800!important;letter-spacing:0!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-top{display:flex!important;align-items:start!important;justify-content:space-between!important;gap:10px!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-top>strong{flex:1 1 auto!important;min-width:0!important;color:#202124!important;font-size:15px!important;font-weight:750!important;letter-spacing:-.015em!important;line-height:1.3!important;text-transform:none!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-top>small{flex:0 0 auto!important;font-size:10px!important;font-weight:600!important;color:#858890!important;white-space:nowrap!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-description{display:block!important;margin:9px 0 10px!important;font-size:12px!important;line-height:1.45!important;color:#6b6e75!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-examples{display:flex!important;gap:5px!important;flex-wrap:wrap!important;margin-top:auto!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-examples em{display:inline-block!important;max-width:100%!important;padding:5px 7px!important;border:1px solid #e9e9ec!important;border-radius:4px!important;color:#64676e!important;background:#f7f7f8!important;font-size:10px!important;line-height:1.25!important;font-style:normal!important;white-space:normal!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;padding-top:14px!important;margin-top:14px!important;border-top:1px solid #ededf0!important;color:#25262b!important;font-size:11px!important;font-weight:700!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card[open]>summary{border-bottom:1px solid #e5e6e9!important;background:#f9f9fa!important;}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card>.ofnmi-resource-group{padding:12px!important;background:#fff!important;}
@media(max-width:850px){html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-browse-grid{grid-template-columns:1fr!important;}html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card>summary{height:264px!important;min-height:264px!important;max-height:264px!important;}}
@media(prefers-reduced-motion:reduce){html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card{transition:none!important;transform:none!important;}}

/* v1.40.408 — cartes stables et de hauteur uniforme, sans flèche ni retournement. */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card:hover,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card:focus-within{
 transform:none!important;box-shadow:none!important;perspective:none!important;backface-visibility:visible!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary:hover,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card[open]>summary{
 height:264px!important;min-height:264px!important;max-height:264px!important;
 padding:20px!important;box-sizing:border-box!important;transform:none!important;box-shadow:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary span,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card[open]>summary span{
 transform:none!important;transition:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-index{
 font-size:11px!important;line-height:1!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-description{
 font-size:12px!important;line-height:1.48!important;color:#676b72!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-top>strong{
 font-size:15px!important;line-height:1.32!important;font-weight:750!important;letter-spacing:-.015em!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-top>small{
 font-size:10px!important;font-weight:550!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-examples{
 margin-top:auto!important;align-content:start!important;max-height:52px!important;overflow:hidden!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-footer{
 font-size:11px!important;justify-content:flex-start!important;transform:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary .o-metier-topic-arrow,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary::after{
 display:none!important;content:none!important;
}
@media(max-width:850px){
 html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary{height:264px!important;min-height:264px!important;max-height:264px!important}
}

/* v1.40.410 — Gris très léger UNIQUEMENT pour les cartes « Ressources métier ».
   Les cartes restent immobiles, de hauteur identique, et sans chevrons. */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-resource-accordion.o-metier-topic-card{
  background:#f5f5f6!important;
  border-color:#e1e2e6!important;
  box-shadow:none!important;
  transform:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card[open]>summary{
  background:#f5f5f6!important;
  transform:none!important;
  box-shadow:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>summary:hover,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card:focus-within>summary{
  background:#efeff1!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card .o-metier-topic-index,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card .o-metier-topic-examples em{
  background:#fff!important;
  border-color:#e4e5e8!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-app-detail .o-metier-topic-card>.ofnmi-resource-group{
  background:#fff!important;
}

/* v1.40.411 — réparer les boutons noirs vides dans les cartes de ressources ouvertes. */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card .ofnmi-resource-tool button[data-resource-prompt],
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card .ofnmi-resource-tool button[data-request-doc]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important;
  padding:0!important;border:1px solid #28292d!important;border-radius:4px!important;
  color:#fff!important;background:#28292d!important;box-shadow:none!important;
  font-size:0!important;overflow:visible!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card .ofnmi-resource-tool button[data-resource-prompt]::after,
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card .ofnmi-resource-tool button[data-request-doc]::after{
  content:none!important;display:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-topic-card .ofnmi-resource-tool button .o-metier-action-glyph{
  display:block!important;position:static!important;visibility:visible!important;opacity:1!important;
  margin:0!important;padding:0!important;border:0!important;background:none!important;
  color:#fff!important;font-family:Arial,sans-serif!important;font-weight:700!important;
  font-size:16px!important;line-height:1!important;transform:none!important;
}


/* v1.40.422 — bas O.FONDAMENTAUX : supprimer le bloc de fond et harmoniser les cartes d'action. */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:18px 0 0!important;
  margin:30px 0 24px!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-heading{
  background:transparent!important;
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  padding:0 12px 18px!important;
  margin:0!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-cards{
  background:transparent!important;
  border:0!important;
  padding:0!important;
  gap:12px!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card{
  background:#f6f6f7!important;
  border:1px solid #e4e5e8!important;
  box-shadow:none!important;
  border-radius:4px!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card:hover{
  background:#f2f2f4!important;
  border-color:#d9dbe0!important;
  box-shadow:none!important;
}
@media(max-width:700px){
  html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo{padding:14px 0 0!important;}
}


/* v1.40.423 — panneau Passez à l'action : compact, aligné, sans effet de grand vide */
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo{
  padding:0!important;
  margin:25px 0 24px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-heading{
  text-align:left!important;
  padding:0 0 15px!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-heading small{
  letter-spacing:.11em!important;
  margin-bottom:7px!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-heading h2{
  font-size:19px!important;
  letter-spacing:-.022em!important;
  margin:0 0 5px!important;
  line-height:1.28!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-cards{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  background:transparent!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:13px!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:140px!important;
  max-height:none!important;
  padding:19px 18px!important;
  background:#fff!important;
  border:1px solid #e3e4e7!important;
  box-shadow:none!important;
  transition:background-color .17s ease,border-color .17s ease!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card:hover{
  background:#fafafb!important;
  border-color:#cdced3!important;
  box-shadow:none!important;
  transform:none!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card>div{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  align-self:center!important;
  min-width:0!important;
}
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card>button[data-view-go],
html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card>button[data-resource-prompt]{
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:end!important;
  min-height:36px!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:9px 12px!important;
  font-size:11px!important;
  white-space:normal!important;
}
@media(max-width:1100px){
  html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card>button[data-view-go],
  html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card>button[data-resource-prompt]{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:start!important;
  }
}
@media(max-width:700px){
  html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo-cards{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #ofnmi-office#ofnmi-office .ofnmi-view[data-panel="resources"] .o-metier-duo .o-metier-duo-card{
    min-height:130px!important;
  }
}
