/* =====================================================================
   OBLIQUE 3.7.4.1 — éditeur sans zones mortes
   ===================================================================== */

/*
 * Neutralisation définitive de toutes les anciennes règles de grille/hauteur
 * qui pouvaient laisser une bande vide avant ou après la barre d'onglets.
 */
.article-pane-content {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}

.article-pane-content > .article-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #fff !important;
}

.article-pane-content > .article-body > .article-focus-controls {
  order: -1000 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(17,17,17,.14) !important;
}

/* Les panneaux fermés n'occupent réellement aucun pixel. */
.article-pane-content .article-editor-toolbar.article-bar-collapsed,
.article-pane-content .article-settings.article-bar-collapsed,
.article-pane-content .article-dedicated-access-panel.hidden,
.article-pane-content .article-inline-publish.hidden {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* Aucun pseudo-espace ne doit se glisser autour de la première ligne. */
.article-pane-header + .article-pane-content,
.article-pane-content > .article-body > :first-child {
  margin-top: 0 !important;
}

.article-pane-content > .article-body > .article-focus-controls + * {
  margin-top: 0 !important;
}
