/* Documents et fichiers : vignettes sombres, versions, rappel, tri */
/* Lignes de fichiers (fenêtre « Documents · client » et fiche client) */
.client-file-row{background:#0C447C!important;color:#fff!important;border:0!important;border-radius:14px!important;box-shadow:none!important;padding:12px 14px!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.client-file-row .client-file-description{flex:1 1 220px;min-width:0}
.client-file-row strong,.client-file-row small,.client-file-row span{color:#fff}
.client-file-row small{color:#B5D4F4!important;display:block}
.client-file-row .client-file-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.client-file-row .client-file-actions :is(a,button){background:transparent!important;color:#fff!important;border:1px solid #85B7EB!important;border-radius:8px!important;padding:6px 10px!important;min-height:0!important;width:auto!important;font-size:.85rem;text-decoration:none;box-shadow:none!important}
.client-file-row .client-file-actions :is(a,button):hover{background:#185FA5!important}
.client-file-row .client-file-actions .cfv-new{background:#1D9E75!important;border-color:#1D9E75!important}
.client-file-row .client-file-actions .cfv-new:hover{background:#0F6E56!important}
.client-file-row .client-file-actions [data-file-delete]{border-color:#F09595!important;color:#F7C1C1!important}
.cfv-ic{width:38px!important;height:38px!important;border-radius:10px!important;display:flex!important;align-items:center;justify-content:center;font-size:.72rem!important;font-weight:700;color:#fff!important;flex:none;background:#185FA5!important}
.cfv-ic.cfv-w{background:#185FA5!important}.cfv-ic.cfv-x{background:#0F6E56!important}.cfv-ic.cfv-p{background:#993C1D!important}
.cfv-ic.cfv-pdf{background:#A32D2D!important}.cfv-ic.cfv-img{background:#534AB7!important}.cfv-ic.cfv-other{background:#444441!important}
.cfv-badge{display:inline-block;font-size:.72rem;font-weight:700;padding:1px 8px;border-radius:999px;background:#3B6D11;color:#fff!important;vertical-align:middle}
/* Rappel après ouverture d'un document bureautique */
.cfv-reminder{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#042C53;color:#fff;border:1px solid #FAC775;border-radius:12px;padding:10px 12px;margin:0 0 10px}
.cfv-reminder span{color:#fff}
.cfv-hactions{display:flex;gap:6px;flex-wrap:wrap}
.cfv-reminder button{background:transparent!important;color:#fff!important;border:1px solid #85B7EB!important;border-radius:8px!important;padding:6px 10px!important;min-height:0!important;width:auto!important;box-shadow:none!important}
.cfv-reminder button.cfv-new{background:#1D9E75!important;border-color:#1D9E75!important}
/* Historique */
.cfv-history .cfv-hrow{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:#0C447C;color:#fff;margin-bottom:8px}
.cfv-history .cfv-hrow span,.cfv-history .cfv-hrow strong{color:#fff}
.cfv-history .cfv-hrow:first-child{outline:2px solid #97C459;outline-offset:-2px}
.cfv-history .cfv-hrow :is(a.button,button){background:transparent!important;color:#fff!important;border:1px solid #85B7EB!important;border-radius:8px!important;padding:6px 10px!important;min-height:0!important;width:auto!important;text-decoration:none;box-shadow:none!important}
.cfv-history .cfv-hrow button[data-confirm="1"]{background:#1D9E75!important;border-color:#1D9E75!important}
/* Page générale : vignettes clients et tri */
#content>.client-files-panel{background:#0C447C!important;color:#fff;border:0!important;border-radius:16px!important}
#content>.client-files-panel :is(h3,p,span,strong,small,label,summary){color:#fff}
#content>.client-files-panel .hint{color:#B5D4F4!important}
#content>.client-files-panel :is(input,select){background:#042C53!important;color:#fff!important;border:1px solid #185FA5!important;border-radius:10px}
#content>.client-files-panel input::placeholder{color:#85B7EB}
#content>.client-files-panel .client-file-dropzone{background:#042C53!important;border-color:#85B7EB!important}
#content>.client-files-panel .client-file-add{background:#042C53!important;border:1px solid #185FA5!important;border-radius:12px!important}
#content>.client-files-panel .client-file-add>summary{background:#1D9E75!important;color:#fff!important;border-radius:10px;padding:10px 14px;font-weight:700}
#content>.client-files-panel .client-file-add>summary:hover{background:#0F6E56!important}
#content>.client-files-panel .toolbar button,.cfv-sort button{background:transparent!important;color:#fff!important;border:1px solid #85B7EB!important;box-shadow:none!important}
.cfv-sort{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.cfv-sort button{width:auto;min-height:0;padding:6px 14px;border-radius:999px!important;font-weight:600;background:#042C53!important;border-color:#185FA5!important}
.cfv-sort button.on{background:#185FA5!important;border-color:#85B7EB!important}
.client-document-card{background:#042C53!important;color:#fff!important;border:1px solid #185FA5!important;border-radius:14px!important;box-shadow:none!important}
.client-document-card:is(.drag-over,:hover){border-color:#85B7EB!important}
.client-document-card :is(h3,p,strong,small){color:#fff!important}
.client-document-card small{color:#B5D4F4!important}
.client-document-card .client-document-icon{background:#185FA5!important;color:#fff!important}
.client-document-card .client-document-actions button{background:transparent!important;color:#fff!important;border:1px solid #85B7EB!important;box-shadow:none!important}
.client-document-card .client-document-actions button.primary{background:#1D9E75!important;border-color:#1D9E75!important}
/* Stock magasin */
.sk-dark{background:#0C447C!important;color:#fff;border:0!important;border-radius:16px!important}
.sk-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}
.sk-bar .stock-search{flex:1 1 240px;min-width:0;background:#042C53!important;color:#fff!important;border:1px solid #185FA5!important;border-radius:10px;padding:10px 14px}
.sk-bar .stock-search::placeholder{color:#85B7EB}
.sk-chips{display:flex;gap:8px;flex-wrap:wrap}
.sk-chips button{width:auto;min-height:0;padding:7px 14px;border-radius:999px;background:#042C53!important;color:#fff!important;border:1px solid #185FA5!important;font-weight:600;box-shadow:none!important}
.sk-chips button.on{background:#185FA5!important;border-color:#85B7EB!important}
.sk-chips button span{color:#fff}
.sk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:14px}
.sk-card{background:#042C53!important;color:#fff!important;border:1px solid #185FA5!important;border-radius:14px!important;padding:14px!important;display:flex;flex-direction:column;gap:6px;box-shadow:none!important}
.sk-card h2{margin:2px 0 4px;font-size:1rem;color:#fff!important}
.sk-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.sk-ref{font-size:1.15rem;font-weight:700;letter-spacing:.03em;color:#fff}
.sk-pill{font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px;background:#3B6D11;color:#fff}
.sk-assigned .sk-pill{background:#185FA5;box-shadow:inset 0 0 0 1px #85B7EB}
.sk-line{margin:0;color:#B5D4F4!important;font-size:.88rem}.sk-line b{color:#fff}
.sk-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.sk-actions button{width:auto;min-height:0;padding:6px 10px;border-radius:8px;background:transparent!important;color:#fff!important;border:1px solid #85B7EB!important;box-shadow:none!important}
.sk-actions .sk-open{background:#1D9E75!important;border-color:#1D9E75!important}
.sk-dark .hint{color:#B5D4F4!important}

/* 14/11 : plus de fond bleu foncé — fond d'Ultratelier sur la page, vignettes et lignes en bleu moyen */
#content>.client-files-panel{background:transparent!important;color:#1c2c49!important;border:0!important;box-shadow:none!important}
#content>.client-files-panel>h3,#content>.client-files-panel>p,#content>.client-files-panel .client-file-add :is(span,strong,label,p){color:#1c2c49!important}
#content>.client-files-panel .hint{color:#4a5a75!important}
#content>.client-files-panel :is(input,select){background:#fff!important;color:#1c2c49!important;border:1px solid #B5D4F4!important}
#content>.client-files-panel input::placeholder{color:#6b7c96}
#content>.client-files-panel .client-file-add{background:#fff!important;border:1px solid #d5e2f3!important}
#content>.client-files-panel .client-file-dropzone{background:#F6F9FF!important;border-color:#85B7EB!important}
#content>.client-files-panel .toolbar button{background:#fff!important;color:#0C447C!important;border:1px solid #85B7EB!important}
.cfv-sort button{background:#fff!important;color:#0C447C!important;border:1px solid #85B7EB!important}
.cfv-sort button.on{background:#185FA5!important;color:#fff!important;border-color:#185FA5!important}
.client-document-card{background:#185FA5!important;border:1px solid #378ADD!important}
.client-document-card:is(.drag-over,:hover){border-color:#B5D4F4!important}
.client-document-card small{color:#E6F1FB!important}
.client-document-card .client-document-icon{background:rgba(255,255,255,.22)!important}
.client-file-row{background:#185FA5!important}
.client-file-row small{color:#E6F1FB!important}
.client-file-row .client-file-actions :is(a,button){border-color:#E6F1FB!important}
.client-file-row .client-file-actions :is(a,button):hover{background:rgba(255,255,255,.15)!important}
.cfv-reminder{background:#FAEEDA!important;color:#633806!important;border-color:#EF9F27!important}
.cfv-reminder span{color:#633806!important}
.cfv-reminder button{color:#633806!important;border-color:#EF9F27!important;background:#fff!important}
.cfv-reminder button.cfv-new{color:#fff!important}
.cfv-history .cfv-hrow{background:#185FA5!important}
.cfv-ic.cfv-w{background:#E6F1FB!important;color:#0C447C!important}
