/* © PREVENTER SARL – tous droits réservés. Compléments propres à l'application Diagnostics. */
.app-sub { color: #DDF0EF; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: -6px 0 10px 18px; }
.inline { display: inline; }
.row-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-form input[type=text] { flex: 1 1 180px; }
.check-ligne { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
code.cle { font-size: 15px; letter-spacing: .05em; }
.qr { margin: 10px 0; } .qr img, .qr svg { display: block; }
ul.bib li { margin-bottom: 4px; } ul.bib form { margin-left: 8px; }
.niv { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.niv-faible { background: #E3F4EA; color: #1E6B3A; } .niv-modere { background: #FFF4D6; color: #7A5A00; }
.niv-eleve { background: #FDE3CF; color: #9A3D00; } .niv-prioritaire { background: #F8D3D3; color: #8A1C1C; }
table.heat td, table.heat th { text-align: center; } table.heat td:first-child, table.heat th:first-child { text-align: left; }
table.heat tr.total td { border-top: 2px solid #134F5C; }
.barre { height: 6px; background: #E5EEF0; border-radius: 3px; margin-bottom: 2px; max-width: 140px; } .barre span { display: block; height: 100%; background: #168289; border-radius: 3px; }
.barre-v span { background: #ED7D31; }
.com { border-top: 1px solid #E2E8EA; padding: 10px 0; } .com .brut { background: #F6F8F9; padding: 8px 10px; border-radius: 6px; }
.syn-ligne { border-top: 1px solid #E2E8EA; padding: 12px 0; opacity: .7; } .syn-ligne.on { opacity: 1; }
.syn-tete { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.form-actions.sticky { position: sticky; bottom: 0; background: #fff; padding: 12px; border-top: 1px solid #E2E8EA; z-index: 5; }
.note-tms { background: #FFF6EE; border-left: 4px solid #ED7D31; padding: 8px 12px; }

/* Répondant (smartphone d'abord, cibles de 44 px) */
body.repondant { background: #F2F6F7; }
.q-wrap { max-width: 760px; margin: 0 auto; padding: 14px; }
.q-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; } .q-head img { height: 40px; }
.q-axe { border: 0; background: #fff; border-radius: 12px; padding: 14px; margin: 0 0 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.q-axe legend { font-weight: 700; color: #134F5C; font-size: 17px; padding: 0; float: left; width: 100%; margin-bottom: 8px; }
.q-item { clear: both; border-top: 1px solid #E8EEF0; padding: 12px 0; }
.q-txt { margin: 0 0 8px; font-size: 16px; } .q-num { color: #168289; font-weight: 700; }
.q-choix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.q-choix label { display: block; } .q-choix input { position: absolute; opacity: 0; }
.q-choix span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px; border: 1.5px solid #C9D6DA; border-radius: 10px; background: #fff; font-size: 14px; cursor: pointer; }
.q-choix input:checked + span { background: #134F5C; border-color: #134F5C; color: #fff; font-weight: 600; }
.q-choix input:focus-visible + span { outline: 3px solid #ED7D31; outline-offset: 2px; }
.q-vecu { margin-top: 8px; } .q-vecu.cache { display: none; }
.q-vecu .q-choix input:checked + span { background: #ED7D31; border-color: #ED7D31; }
.q-axe textarea { width: 100%; }
.q-fin { text-align: center; margin: 18px 0; } .btn-xl { font-size: 18px; padding: 14px 28px; min-height: 48px; }
.q-pied { text-align: center; font-size: 12px; color: #6B7C80; }
.q-sortie { margin-top: 30px; font-size: 13px; color: #6B7C80; } .centre { text-align: center; }
@media (max-width: 520px) { .q-choix { grid-template-columns: repeat(2, 1fr); } }

/* Documents imprimables */
body.doc { font-family: "Source Sans 3", Arial, sans-serif; color: #1D2B2F; max-width: 900px; margin: 0 auto; padding: 24px; line-height: 1.45; }
body.doc h1 { color: #134F5C; } body.doc h2 { color: #168289; border-bottom: 2px solid #ED7D31; padding-bottom: 3px; margin-top: 26px; }
body.doc table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; } body.doc th, body.doc td { border: 1px solid #CFDADD; padding: 5px 7px; vertical-align: top; }
body.doc th { background: #E6F2F1; } .doc-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #134F5C; padding-bottom: 8px; } .doc-head img { height: 46px; }
pre.mail { white-space: pre-wrap; background: #F6F8F9; padding: 10px; border-radius: 6px; font-family: inherit; }
.barre-impr { background: #FFF4D6; padding: 8px 12px; margin-bottom: 14px; border-radius: 6px; } .barre-impr button { margin-left: 10px; }
.garde { text-align: center; padding: 60px 0 40px; page-break-after: always; } .garde img { height: 80px; } .garde .grand { font-size: 22px; font-weight: 700; color: #134F5C; }
.filigrane { position: fixed; top: 40%; left: 0; right: 0; text-align: center; font-size: 140px; color: rgba(237,125,49,.15); transform: rotate(-30deg); pointer-events: none; z-index: 0; font-weight: 800; }
.pied { margin-top: 30px; font-size: 11px; color: #6B7C80; text-align: center; }
blockquote { border-left: 4px solid #168289; margin: 10px 0; padding: 6px 12px; background: #F2F8F8; }
.coupons { font-family: Arial, sans-serif; padding: 10px; } .grille-coupons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.coupon { border: 1px dashed #999; padding: 10px; display: flex; gap: 10px; align-items: center; font-size: 11px; page-break-inside: avoid; } .coupon code { font-size: 9px; word-break: break-all; }
@media print { .noprint { display: none !important; } body.doc { padding: 0; } h2 { page-break-after: avoid; } table { page-break-inside: auto; } tr { page-break-inside: avoid; } }
