body { background-color: rgb(103 176 231); min-height: 100vh; }
.page { max-width: 1200px; margin: 10px auto 40px; }
.card { margin-bottom: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,.12); }

/* pastilles numérotées du site d'origine */
.num-etape { background:#fa7908; color:#fff; font-weight:900; letter-spacing:.021em; font-size:1.3125rem;
             display:inline-block; padding:.15rem .6rem; margin-right:.4rem; }
.num-menu  { background:#fa7908; color:#fff; font-weight:900; font-size:.8rem; display:inline-block;
             min-width:1.9rem; text-align:center; padding:.1rem .35rem; margin-right:.4rem; }
.lettre    { background:#28a745; color:#fff; font-weight:900; display:inline-block; padding:.1rem .5rem; margin:.2em .4em .2em 0; }
.sous-lettre { background:#0ec5ef; color:#fff; font-weight:900; display:inline-block; padding:.1rem .5rem; margin:.2em .4em .2em 0; }

pre.pre_sql { font-size: 1.1em; background:#f6f8fa; border-left: 4px solid #fa7908; padding:.6rem .9rem; border-radius:4px; }
.dropdown-menu .dropdown-item.verrou { opacity:.55; }
.navbar .progress { width: 110px; height: .55rem; }

/* éditeur */
.bloc-editeur { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid #333; }
.editeur { width: 100%; font-size: 15px; }
.zone-boutons .btn { text-align: left; }

/* tableaux de résultats */
.resultat { max-height: 420px; overflow: auto; }
.resultat table { margin-bottom: 0; }
.resultat th { position: sticky; top: 0; background: #e9ecef; }
td.null { color: #999; font-style: italic; }

/* schéma */
.schema td, .schema th { vertical-align: middle; }
.ok  { color: #198754; }
.ko  { color: #dc3545; }
.check-cell { width: 1.6rem; text-align: center; }
.inattendue { background: #f8d7da !important; }

.critere { list-style: none; padding-left: 0; margin-bottom: 0; }
.critere li { padding: .15rem 0; }

.question { border-left: 4px solid #0ec5ef; }
.question.reussie { border-left-color: #198754; }
.etat-q { font-size: 1.2rem; }

.bandeau-valide { background: linear-gradient(90deg, #198754, #20c997); color: #fff; }
.matrice td, .matrice th { text-align: center; padding: .25rem .35rem; font-size: .9rem; }
.matrice td.nom { text-align: left; white-space: nowrap; }
.case-ok { background: #d1e7dd; }
.journal-req { font-family: monospace; font-size: .85rem; white-space: pre-wrap; max-width: 520px; }
.form-signin { width: 100%; max-width: 360px; padding: 15px; margin: 8vh auto; }
