/* 27/11/2026 - « Signaler un défaut » : plus de bouton fixe qui suit la page. 28/11 : lien dans la ligne « Informations légales » du pied de page (.msb-sig--inline : la fenêtre seule), sinon mention discrète en bas de page (.msb-sig--pied) ou bouton dans la page d'erreur (.msb-sig--page) + fenêtre. Aucune dépendance, imprimé : masqué. */
.msb-sig { position: static; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.msb-sig--pied { box-sizing: border-box; width: 100%; flex: 0 0 100%; grid-column: 1 / -1; clear: both; margin: 0; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.msb-sig--pied .msb-sig__open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border: 0; background: none; color: inherit; font: inherit; font-size: .85rem; opacity: .7; text-decoration: underline; cursor: pointer; }
.msb-sig--pied .msb-sig__open:hover { opacity: 1; }
.msb-sig--inline { margin: 0; padding: 0; }
.msb-sig-sep { margin: 0 .4em; opacity: .55; }
.msb-sig__lien { cursor: pointer; }
.msb-sig--page { margin: 1.5rem 0 0; text-align: center; }
.msb-sig--page .msb-sig__open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 8px; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.msb-sig--page .msb-sig__open:hover { background: rgba(128, 128, 128, .2); }
.msb-sig__lien:focus-visible, .msb-sig__open:focus-visible, .msb-sig__send:focus-visible, .msb-sig__close:focus-visible, .msb-sig__text:focus-visible, .msb-sig__answer:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.msb-sig__dialog { width: min(32rem, 92vw); max-height: 92vh; padding: 0; border: 0; border-radius: 12px; background: #fff; color: #1f2430; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.msb-sig__dialog:not([open]) { display: none; }
.msb-sig__dialog[open]:not(:modal) { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1000; }
.msb-sig__dialog::backdrop { background: rgba(0, 0, 0, .55); }
.msb-sig__form { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; }
.msb-sig__title { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.msb-sig__intro, .msb-sig__note, .msb-sig__sur, .msb-sig__ref { margin: 0; }
.msb-sig__ref { font-size: .82rem; color: #4b5563; overflow-wrap: anywhere; }
.msb-sig__ref[hidden] { display: none; }
.msb-sig__sur { font-weight: 600; }
.msb-sig__note { font-size: .88rem; color: #4b5563; }
.msb-sig__label { font-weight: 600; }
.msb-sig__text { width: 100%; box-sizing: border-box; min-height: 7rem; padding: 10px; border: 1px solid #9ca3af; border-radius: 8px; font: inherit; color: inherit; background: #fff; resize: vertical; }
.msb-sig__captcha { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid #d1d5db; border-radius: 8px; background: #f9fafb; }
.msb-sig__answer { box-sizing: border-box; width: 5rem; min-height: 44px; padding: 0 10px; border: 1px solid #9ca3af; border-radius: 8px; font: inherit; color: inherit; background: #fff; }
.msb-sig__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msb-sig__status { min-height: 1.4em; margin: 0; font-size: .95rem; }
.msb-sig__status[data-kind="ok"], .msb-sig__status--ok { color: #166534; font-weight: 600; }
.msb-sig__status[data-kind="ko"], .msb-sig__status--ko { color: #b91c1c; font-weight: 600; }
.msb-sig__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.msb-sig__send, .msb-sig__close { min-height: 44px; padding: 0 18px; border-radius: 8px; font: inherit; cursor: pointer; }
.msb-sig__send { border: 1px solid #1f2430; background: #1f2430; color: #fff; }
.msb-sig__send[disabled] { opacity: .5; cursor: not-allowed; }
.msb-sig__close { border: 1px solid #9ca3af; background: #fff; color: #1f2430; }
.msb-sig-page { margin: 0; min-height: 100vh; background: #f3f4f6; color: #1f2430; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.msb-sig-page__card { box-sizing: border-box; max-width: 36rem; margin: 0 auto; padding: 24px 16px; }
.msb-sig-page .msb-sig__form { padding: 0; }
.msb-sig__back { display: inline-block; margin-top: 12px; min-height: 44px; line-height: 44px; color: #1d4ed8; }
@media print { .msb-sig, .msb-sig-sep, .msb-sig__lien { display: none; } }
