/* Relevé Claire Desjardins : panneau 427 px dont 24 px de marges,
   corps système 14 px, titre 20 px, champ 49 px / rayon 12.
   La signature de Muriel conserve les dimensions mobile/PC approuvées. */
body.mb-access-page { margin: 0; background: #fff; color: #000; font: 400 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: normal; }
.mb-access-shell { display: flex; flex-direction: column; min-height: 100svh; }
.mb-access-header { display: flex; justify-content: center; flex: 0 0 auto; padding: 40px 24px 20px; }
.mb-access-logo { display: block; width: 276px; max-width: 100%; height: 91px; color: #B32642; }
.mb-access-logo span { display: block; width: 100%; height: 100%; background: currentColor; mask: url("images/logo-muriel-barrat-mask-e913e5a0.png") center / contain no-repeat; }
.mb-access-center { display: flex; align-items: center; justify-content: center; flex: 1 0 auto; padding: 0 24px 96px; }
.mb-access-main { width: 379px; max-width: 100%; padding: 0; }
.mb-access-main h1 { margin: 0 0 6px; font: 600 20px/1.32 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: normal; color: #000; text-align: left; }
.mb-access-lead { margin: 0 0 20px; color: #707070; overflow-wrap: anywhere; }
.mb-access-form { margin: 0; }
.mb-access-field { display: flex; align-items: center; position: relative; height: 49px; border: 1px solid #dedede; border-radius: 12px; background: #fff; }
.mb-access-field:focus-within { border-color: #B32642; box-shadow: 0 0 0 1px #B32642; }
.mb-access-field input { min-width: 0; width: 100%; height: 47px; padding: 17px 10px 4px; background: transparent; border: 0; border-radius: 12px 0 0 12px; font: inherit; color: #000; outline: 0; box-shadow: none; }
.mb-access-field label { position: absolute; left: 10px; top: 15px; color: #707070; pointer-events: none; font-size: 14px; transition: top .1s, font-size .1s; }
.mb-access-field input:focus + label, .mb-access-field input:not(:placeholder-shown) + label { top: 4px; font-size: 11px; }
.mb-access-field input:placeholder-shown:not(:focus) { padding-top: 10px; padding-bottom: 10px; }
.mb-access-field button { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; align-self: stretch; margin: 0; padding: 0; border: 0; border-radius: 12px; color: #000; background: transparent; }
.mb-access-field button:hover { background: #f5f5f5; }
.mb-access-marketing { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; cursor: pointer; }
.mb-access-marketing input { appearance: none; flex: 0 0 19.6px; width: 19.6px; height: 19.6px; margin: 0; border: 1px solid #dedede; border-radius: 6px; background: #fff; }
.mb-access-marketing input:checked { appearance: auto; accent-color: #B32642; }
.mb-access-marketing span { padding-top: 1px; }
.mb-access-terms { margin: 26px 0 0; text-align: center; font-size: 12px; line-height: 1.35; color: #707070; }
.mb-access-main a { color: inherit; text-underline-offset: 2px; }
.mb-access-footer { flex: 0 0 auto; padding: 20px 24px; text-align: center; }
.mb-access-footer a { color: #B32642; text-decoration: none; }
.mb-access-footer a:hover { text-decoration: underline; }
.mb-access-error { margin: 0 0 16px; color: #a11832; }
.mb-access-status { margin: 0 0 16px; color: #426044; }
.mb-access-help { color: #707070; margin: 16px 0; font-size: 12px; }
.mb-access-actions { display: grid; gap: 8px; }
.mb-access-link { padding: 6px 0; border: 0; background: transparent; color: #B32642; font: inherit; text-decoration: underline; text-underline-offset: 2px; text-align: left; min-height: 36px; }
.mb-access-main-code { width: 474px; }
.mb-access-recipient { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 16px; margin-bottom: 20px; }
.mb-access-recipient .mb-access-lead { margin: 0; }
.mb-access-recipient form { margin: 0; }
.mb-access-recipient .mb-access-link { min-height: 32px; padding: 0; text-decoration: none; }
.mb-access-code { position: relative; height: 90px; }
.mb-access-code input { box-sizing: border-box; width: 100%; height: 100%; border: 1px solid #dedede; border-radius: 16px; background: #fff; color: #000; font: 500 28px/1 Arial, sans-serif; letter-spacing: .4em; padding: 12px; }
.mb-access-digits { display: none; }
.mb-access-code.is-enhanced input { position: absolute; z-index: 1; inset: 0; opacity: 0; cursor: text; }
.mb-access-code.is-enhanced .mb-access-digits { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; height: 100%; pointer-events: none; }
.mb-access-digits span { display: flex; align-items: center; justify-content: center; min-width: 0; border: 1px solid #dedede; border-radius: 16px; background: #fff; font-size: 28px; font-weight: 500; }
.mb-access-digits .is-active { border-color: #B32642; box-shadow: 0 0 0 1px #B32642; }
.mb-access-verify { margin-top: 16px; padding: 12px 20px; border: 0; border-radius: 12px; background: #B32642; color: #fff; font: inherit; }
.mb-access-auto .mb-access-verify { display: none; }
.mb-access-main-code .mb-access-actions { margin-top: 20px; }
.mb-access-main-code .mb-access-actions .mb-access-link { font-size: 12px; color: #707070; }
.mb-access-link:focus-visible, .mb-access-verify:focus-visible { outline: 2px solid #B32642; outline-offset: 4px; }
@media (max-width: 600px) {
    .mb-access-code { height: 68px; }
    .mb-access-code.is-enhanced .mb-access-digits { gap: 8px; }
    .mb-access-digits span { border-radius: 12px; }
}
@media (forced-colors: active) { .mb-access-digits .is-active { outline: 2px solid Highlight; } }
@media (max-width: 600px) {
    .mb-access-center { padding-bottom: 80px; }
    .mb-access-logo { width: 200px; height: 76px; }
    .mb-access-field input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mb-access-field label { transition: none; } }
