/* btsmco — habillage "page Word" de l'editeur + confort de lecture */

body { background: #eef1f5; }

/* Chaque section = une feuille */
.page-word {
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(30, 58, 138, .08);
  padding: 28px 34px;
}
.section-titre { color: #1e3a8a; }

/* Editeur : typo document, hauteur confortable */
.editor { border: none; }
.ql-container.ql-snow { border: none; font-size: 12pt; font-family: Georgia, 'Times New Roman', serif; }
.ql-editor { min-height: 180px; line-height: 1.65; padding: 8px 2px; }
.ql-editor h2 { font-size: 1.25rem; color: #1e3a8a; margin-top: 1rem; }
.ql-editor h3 { font-size: 1.1rem; margin-top: .8rem; }
.ql-editor blockquote { border-left: 3px solid #94a3b8; color: #475569; }
.ql-editor img { max-width: 100%; border: 1px solid #e2e8f0; }
.ql-toolbar.ql-snow {
  border: none; border-bottom: 1px solid #e5e9f0;
  position: sticky; top: 58px; background: #fff; z-index: 50;
}

/* Lecture seule : pas de bordure de focus */
.ql-disabled .ql-editor { background: #fcfcfd; }

/* Sommaire */
#sommaire .list-group-item { border: none; color: #334155; }
#sommaire .list-group-item:hover { color: #1e3a8a; background: #f1f5f9; }

/* Annotations */
.annotation-card { cursor: pointer; border-left: 3px solid #f0ad4e; }
.annotation-card .card-body { font-size: .82rem; }

/* Statut d'enregistrement */
#save-status { min-width: 220px; text-align: right; display: inline-block; }

@media print {
  .navbar, #sommaire, .ql-toolbar, .sticky-top { display: none !important; }
  .page-word { border: none; box-shadow: none; }
}
