/* MonAvenir — fond blanc pour les espaces de travail, accents réservés aux actions et retours. */
html[data-mb-work="yes"]{--canvas:#fff;--white:#fff}
html[data-mb-work="yes"],html[data-mb-work="yes"] body,
html[data-mb-work="yes"] #app,html[data-mb-work="yes"] .app-body,
html[data-mb-work="yes"] .main,html[data-mb-work="yes"] #content,
html[data-mb-work="yes"] .screen,
html[data-mb-work="yes"] .lr-shell,html[data-mb-work="yes"] .ege92{background:#fff!important;background-image:none!important}
html[data-mb-work="yes"] .main{padding-inline:clamp(15px,3vw,44px);min-width:0}
html[data-mb-work="yes"] .screen{min-width:0;max-width:100%}
html[data-mb-work="yes"] .page-head{margin-bottom:clamp(18px,3vw,30px)}
html[data-mb-work="yes"] .card,html[data-mb-work="yes"] .lr-panel,
html[data-mb-work="yes"] .lr-list,html[data-mb-work="yes"] .ege92 .paper,
html[data-mb-work="yes"] .ege92-section{background:#fff;box-shadow:none;border-color:#dce3e9;min-width:0;max-width:100%}
html[data-mb-work="yes"] .lr-shell{gap:clamp(15px,2.4vw,24px)}
html[data-mb-work="yes"] .lr-row{padding-block:15px;gap:12px;min-width:0}
html[data-mb-work="yes"] .lr-row>div{min-width:0;overflow-wrap:anywhere}
html[data-mb-work="yes"] .lr-tabs,html[data-mb-work="yes"] .mb-actions,
html[data-mb-work="yes"] .mb-filters{gap:12px;flex-wrap:wrap}
html[data-mb-work="yes"] .ege92 .card{margin-bottom:18px}
html[data-mb-work="yes"] .ege92 .ege92-section{padding:clamp(14px,3vw,22px);margin-block:14px}
html[data-mb-work="yes"] .ege92 .ege92-steps,html[data-mb-work="yes"] .ege92 .ege92-tabs{gap:9px}
html[data-mb-work="yes"] .ch-shell{gap:16px;background:#fff}
html[data-mb-work="yes"] .ch-hero,html[data-mb-work="yes"] .ch-stat{background:#fff;border:1px solid #e0e5eb}
html[data-mb-work="yes"] .ch-card{padding:clamp(15px,3vw,24px);gap:14px}
html[data-mb-legacy-work]{--bg:#fff;background:#fff}
html[data-mb-legacy-work] body,html[data-mb-legacy-work] .qcontent,
html[data-mb-legacy-work] .dlcard,html[data-mb-legacy-work] .study-letter{background:#fff!important}
html[data-mb-legacy-work] .qcontent{padding:clamp(18px,4vw,42px)}
.lr-dialog,.lr-dialog>header,.lr-dialog-body,.lr-document,.lr-word,.mb-reader,.mb-reader header,#mbCanvasWrap{background:#fff!important;background-image:none!important}
.lr-dialog-body{gap:14px}
.lr-document,.mb-reader{max-width:100%;min-width:0}
#mbi-root{--mb-bg:#fff;background:#fff!important}
#mbi-root .mbi-shell,#mbi-root .mbi-main,#mbi-root .mbi-header,#mbi-root .mbi-footer{background:#fff!important}
#mbi-root .mbi-main{padding:clamp(15px,3.5vw,32px);gap:clamp(14px,2.5vw,24px)}
#mbi-root .mbi-situation,#mbi-root .mbi-overview,#mbi-root .mbi-result,
#mbi-root .mbi-empty,#mbi-root .mbi-notice,#mbi-root .mbi-import,
#mbi-root .mbi-import-image,#mbi-root .mbi-assign{background:#fff;border-color:#dce3e9;box-shadow:none}
#mbi-root .mbi-question,#mbi-root .mbi-situation,#mbi-root .mbi-correct-card{padding:clamp(15px,3vw,24px)}
#mbi-root .mbi-choice{padding:14px;min-height:56px}
#mbi-root .mbi-table th,#mbi-root .mbi-journal-table th{background:#fff!important;color:#253f59!important;border-color:#dce3e9!important}
#mbi-root .mbi-table td,#mbi-root .mbi-sheet-table td{background:#fff;border-color:#dce3e9}
#mbi-root .mbi-sheet-calc .mbi-sheet-active th{background:#fff;color:#244b72;border-left:3px solid #527fa8}
#mbi-root .mbi-sheet-tag,#mbi-root .mbi-journal-date td{background:#fff;color:#29486b}
#mbi-root .mbi-table-wrap{overflow-x:auto;max-width:100%}
#mbi-root [data-facture] .mbi-main{padding:clamp(8px,2.8vw,22px);gap:8px}
#mbi-root .mbi-facture{gap:8px}
#mbi-root .fact-paper,#mbi-root .fact-doc-head,#mbi-root .fact-table thead th,
#mbi-root .fact-table .fact-subtotal,#mbi-root .fact-table .fact-subtotal:last-child,
#mbi-root .fact-journal tfoot td{background:#fff;color:#263d50}
#mbi-root .fact-table .fact-subtotal:last-child{border-top:2px solid #9fb5c7}
#mbi-root [data-facture] input.fact-input{height:34px;min-height:34px;padding:4px;font-size:13px;line-height:1.2}
#mbi-root [data-facture] .fact-journal input.fact-input{height:36px;min-height:36px;padding:1px;font-size:clamp(10px,3vw,14px)}
#mbi-root [data-facture] input.fact-input.fact-good{background:#f0fbf3;border-color:#78ba91}
#mbi-root [data-facture] input.fact-input.fact-wrong{background:#fff7e6;border-color:#bd852c}
#mbi-root [data-facture] input.fact-input:focus{background:#f0f6ff}
.mb-quick-tools{padding:clamp(15px,3vw,22px);margin-block:18px;border:1px solid #d9e5e0!important;background:#fff!important;box-shadow:none}
.mb-quick-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mb-quick-heading h3{margin:0 0 5px;font-size:17px}
.mb-quick-heading p,.mb-quick-help{margin:0;color:#526375;font-size:13px;line-height:1.45}
.mb-quick-count{font-size:13px;font-weight:700;color:#186044;white-space:normal}
.mb-quick-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 12px}
.mb-quick-buttons .btn{white-space:normal;min-height:44px;max-width:100%;overflow-wrap:anywhere;flex:1 1 155px}
.mb-quick-buttons .mb-quick-all{color:#17613e;border-color:#97c4ab;background:#f0faf3}
.mb-quick-status{font-size:13px;color:#186044;font-weight:700;margin:8px 0 0;overflow-wrap:anywhere}
.mb-quick-status:empty{display:none}
.mb-quick-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid #e3e9e7}
.mb-quick-check{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;color:#324457;cursor:pointer;min-width:0}
.mb-quick-check input{width:22px;height:22px;accent-color:#227849;flex:none}
.mb-quick-icon{width:44px;height:44px;flex:0 0 44px;border:1px solid #9fcbb0;background:#e7f6ec;color:#16613b;border-radius:12px;font-size:23px;font-weight:800;display:grid;place-items:center}
.mb-quick-icon:focus-visible,.mb-quick-check input:focus-visible,.mb-quick-tools button:focus-visible{outline:3px solid #377bc6;outline-offset:2px}
html[data-mb-work="yes"] .mb70-list .mb-exam.mb70-row{grid-template-columns:24px minmax(0,1fr) auto;gap:10px 12px;padding:15px 2px!important}
.mb70-row .mb70-row-check[data-mb-select-id]{width:22px;height:22px;accent-color:#227849}
.mb70-row-actions .mb-quick-icon{width:44px;height:44px;min-width:44px;min-height:44px}
@media(max-width:480px){
 html[data-mb-work="yes"] .main{padding-inline:12px}
 html[data-mb-work="yes"] .lr-row{gap:8px}
 .mb-quick-buttons .btn{flex:1 1 100%}
 html[data-mb-work="yes"] .mb70-list .mb-exam.mb70-row{gap:9px 7px;grid-template-columns:24px minmax(0,1fr) 48px}
 html[data-mb-work="yes"] .mb-exam .mb70-row-actions{max-width:48px}
 #mbi-root .mbi-main{gap:14px}
 #mbi-root [data-facture] .mbi-main{padding:8px;gap:7px}
 #mbi-root [data-facture] input.fact-input{height:30px;min-height:30px;padding:2px;font-size:13px}
 #mbi-root [data-facture] .fact-journal input.fact-input{height:34px;min-height:34px;padding:1px;font-size:clamp(10px,3vw,13px)}
}
@media(max-height:700px) and (max-width:480px){
 #mbi-root [data-facture] input.fact-input{height:27px;min-height:27px}
 #mbi-root [data-facture] .fact-journal input.fact-input{height:31px;min-height:31px}
}
