/* Arcavium Administration — outils Type 3, v2.5.187.
   Feuille autonome : ne modifie ni la coque Admin ni les autres modules. */
.t3-tools-dialog, .t3-tools-dialog * {box-sizing:border-box}
.t3-tools-dialog {position:fixed;inset:0;margin:auto;width:min(890px,calc(100vw - 30px));max-width:calc(100vw - 30px);height:auto;max-height:calc(90dvh - 30px);padding:0;border:1px solid #98b6c7;border-radius:10px;background:#f2f6f9;color:#0e314b;box-shadow:0 28px 78px rgba(4,24,43,.48);overflow:hidden;font:14px/1.5 Arial,Helvetica,sans-serif}
.t3-tools-dialog::backdrop{background:rgba(5,19,34,.72)}
.t3-tools-dialog-head{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#153a5b;color:#fff;padding:16px 22px;border-bottom:4px solid #31a7d7}
.t3-tools-dialog-head h2{color:#fff!important;font:800 clamp(18px,2.6vw,24px)/1.25 Arial,Helvetica,sans-serif!important;margin:3px 0 0!important}
.t3-tools-kicker{margin:0;font-size:10px;font-weight:800;letter-spacing:.12em;color:#b8e7ff}
.t3-tools-close{background:#fff;border:1px solid #bfdded;color:#133f68;min-width:85px;min-height:38px;border-radius:4px;font-size:13px;font-weight:700;cursor:pointer}
.t3-tools-close:hover{background:#e6f3fc}
.t3-tools-close:disabled{opacity:.6;cursor:not-allowed}
.t3-tools-dialog-body{height:calc(100% - 76px);overflow:auto;overscroll-behavior:contain;padding:clamp(14px,3vw,26px)}
.t3-tools-dialog-body > main,.t3-tools-dialog-body > .t3-outils-content{margin:0;max-width:none;width:100%}
.t3-tools-dialog-body :focus-visible{outline:3px solid #1679b3;outline-offset:2px}
.t3-tools-dialog-body .t3-tools-busy{background:#e9f3fb;border:1px solid #b7d4e7;padding:14px 16px}
.t3-outils-content,.t3-outils-content *{box-sizing:border-box}
.t3-outils-content{color:#123652;font:14px/1.55 Arial,Helvetica,sans-serif}
.t3-outils-content h1{font:800 clamp(19px,2.5vw,25px)/1.25 Arial,Helvetica,sans-serif;color:#143d5e;margin:0 0 12px}
.t3-outils-content p{margin:10px 0 15px;line-height:1.55;color:#284b64}
.t3-outils-content strong{color:#173e5b}
.t3-outils-content form{display:grid;gap:14px;margin:20px 0 16px;padding:22px;background:#fff;border:1px solid #b7cfdd;border-radius:6px;box-shadow:0 4px 12px rgba(13,55,83,.05)}
.t3-outils-content label{display:grid;gap:6px;font-weight:700;font-size:13px;color:#183d57;margin:0}
.t3-outils-content label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:9px;font-weight:500;line-height:1.5}
.t3-outils-content input:not([type=checkbox]){display:block;min-width:0;width:100%;min-height:42px;padding:10px 12px;border:1px solid #a2b9c8;border-radius:4px;background:#fff;color:#153953;font:14px/1.4 Arial,Helvetica,sans-serif}
.t3-outils-content input[type=file]{min-height:48px;padding:10px;background:#f6fafc}
.t3-outils-content input[type=checkbox]{flex:none;width:16px;height:16px;accent-color:#196c9e;margin-top:3px}
.t3-outils-content button{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:10px 15px;border:1px solid #234979;border-radius:4px;background:#28518b;color:#fff;font:700 13px/1.3 Arial,Helvetica,sans-serif;cursor:pointer}
.t3-outils-content button:hover:not(:disabled){background:#1b406e}
.t3-outils-content button:disabled{opacity:.48;cursor:not-allowed}
.t3-outils-content .actions{display:flex;gap:10px;flex-wrap:wrap}
.t3-outils-content .actions button:first-child{background:#eaf2f9;color:#234a77;border-color:#abc1d4}
.t3-outils-content .actions button:first-child:hover{background:#dcecf7}
.t3-outils-content #message,.t3-outils-content #state,.t3-outils-content #repair-status{min-height:20px;font-weight:700;color:#214b64;overflow-wrap:anywhere}
.t3-outils-content #message[data-error="true"]{color:#9e262c}
.t3-outils-content .item{border:1px solid #b8cbd9;border-left:4px solid #ce8a3b;background:#fff;margin:10px 0;padding:16px;overflow-wrap:anywhere}
.t3-outils-content .item form{margin:12px 0 0;box-shadow:none;padding:14px}
.t3-outils-content #suite{margin:12px 0}
.t3-outils-standalone{margin:0;background:#f1f0ed;color:#133955;font-family:Arial,Helvetica,sans-serif}
.t3-outils-standalone-top{background:#143b5c;border-bottom:4px solid #2da6d8;color:#fff;padding:15px max(20px,calc((100vw - 1030px)/2))}
.t3-outils-standalone-top a{color:#fff;text-decoration:none;font-weight:700}
.t3-outils-standalone-top a:hover{text-decoration:underline}
.t3-outils-standalone > .t3-outils-content{width:min(960px,calc(100% - 32px));margin:26px auto 50px;padding:clamp(16px,3vw,30px);background:#eef7fc;border:1px solid #bbd1de;border-top:5px solid #2da6d8}
.t3-tools-launch-list{display:grid;gap:9px;margin:12px 0}
.t3-tools-launch-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;width:100%;min-height:46px;padding:12px 15px;border:1px solid #b5cbd8;background:#f3f9fd;color:#204b6c;font:700 13px/1.35 Arial,Helvetica,sans-serif;border-radius:4px;cursor:pointer}
.t3-tools-launch-list button:hover{background:#e4f2fb;border-color:#4e93b9}
.t3-tools-launch-list button::after{content:'Ouvrir';font-weight:500;font-size:11px;color:#476b86}
.t3-tools-launch-list button:focus-visible{outline:3px solid #0789be;outline-offset:2px}
@media(max-width:600px){.t3-tools-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.t3-tools-dialog-head{padding:12px;gap:8px}.t3-tools-dialog-body{padding:12px}.t3-outils-content form{padding:14px}}

/* Préserve les états masqués des listes paginées et des boutons non accessibles. */
.t3-outils-content [hidden]{display:none!important}
.t3-tools-dialog[open]{display:flex;flex-direction:column}
.t3-tools-dialog-head{flex:none}
.t3-tools-dialog-body{flex:1;min-height:0;height:auto}

.t3-tools-dialog .t3-tools-dialog-body > .t3-outils-content > h1{display:none}
.t3-tools-dialog .t3-tools-dialog-body{max-height:calc(90dvh - 95px)}
