/* assets/style.css */
#outil-ps { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 1100px; margin: 0 auto; color: #2d3140; }
.ops-login-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.ops-login-box { background: #fff; border: 1px solid #dde1e7; border-radius: 12px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.ops-login-logo { text-align: center; margin-bottom: 28px; }
.ops-login-icone { font-size: 40px; display: block; margin-bottom: 10px; }
.ops-login-titre { font-size: 22px; font-weight: 700; color: #1a3a6b; margin: 0 0 6px; }
.ops-login-sous { font-size: 13px; color: #7a8299; margin: 0; }
.ops-login-erreur { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; }
.ops-login-aide { font-size: 12px; color: #aaa; text-align: center; margin-top: 16px; line-height: 1.6; }
.ops-entete { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #1a3a6b; color: #fff; border-radius: 10px 10px 0 0; }
.ops-titre { font-size: 18px; font-weight: 700; margin: 0; color: #fff; }
.ops-sous-titre { font-size: 12px; opacity: .75; margin: 2px 0 0; }
.ops-entete-droite { display: flex; align-items: center; gap: 10px; }
.ops-user-badge { font-size: 13px; opacity: .85; }
.ops-nav { display: flex; background: #f4f6fb; border-bottom: 1px solid #dde1e7; }
.ops-tab { padding: 12px 20px; font-size: 14px; font-weight: 500; border: none; background: none; cursor: pointer; color: #5a6478; border-bottom: 3px solid transparent; transition: all .2s; }
.ops-tab--actif { color: #1a3a6b; border-bottom-color: #1a3a6b; font-weight: 700; }
.ops-tab:hover { background: #eaeff8; }
.ops-panneau { background: #fff; border: 1px solid #dde1e7; border-top: none; border-radius: 0 0 10px 10px; }
.ops-module { display: none; padding: 24px; }
.ops-module--actif { display: block; }
.ops-module-entete { margin-bottom: 20px; }
.ops-module-titre { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #1a3a6b; }
.ops-titre-vert { color: #1a5c3a; }
.ops-titre-ambre { color: #7a4a00; }
.ops-module-desc { font-size: 13px; color: #7a8299; margin: 0; }
.ops-champ { margin-bottom: 14px; }
.ops-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #5a6478; margin-bottom: 5px; }
.ops-input, .ops-select, .ops-textarea { width: 100%; padding: 9px 12px; border: 1px solid #dde1e7; border-radius: 6px; font-size: 14px; color: #2d3140; background: #fafbfc; transition: border-color .15s; box-sizing: border-box; }
.ops-input:focus, .ops-select:focus, .ops-textarea:focus { outline: none; border-color: #1a3a6b; background: #fff; box-shadow: 0 0 0 3px rgba(26,58,107,.1); }
.ops-textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.ops-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all .15s; white-space: nowrap; }
.ops-btn--bleu { background: #1a3a6b; color: #fff; }
.ops-btn--bleu:hover { background: #0f2548; }
.ops-btn--vert { background: #1a5c3a; color: #fff; }
.ops-btn--vert:hover { background: #124028; }
.ops-btn--ambre { background: #7a4a00; color: #fff; }
.ops-btn--ambre:hover { background: #5a3600; }
.ops-btn--secondaire { background: #f0f2f7; color: #2d3140; border: 1px solid #dde1e7; }
.ops-btn--secondaire:hover { background: #e2e6f0; }
.ops-btn--ghost { background: transparent; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.35); }
.ops-btn--ghost:hover { background: rgba(255,255,255,.15); }
.ops-btn--danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.ops-btn--danger:hover { background: #fee2e2; }
.ops-btn--sm { padding: 5px 10px; font-size: 12px; }
.ops-btn--full { width: 100%; justify-content: center; padding: 11px; font-size: 15px; }
.ops-btn:disabled { opacity: .55; cursor: not-allowed; }
.ops-groupe-boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ops-circ-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.ops-filtres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ops-tag { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; cursor: pointer; border: 1px solid #dde1e7; background: #f4f6fb; color: #5a6478; transition: all .15s; }
.ops-tag--actif { background: #1a3a6b; color: #fff; border-color: #1a3a6b; }
.ops-tag:hover:not(.ops-tag--actif) { background: #e2e6f0; }
.ops-tag-mini { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 11px; background: #eaeff8; color: #1a3a6b; margin: 2px 2px 0 0; }
.ops-circ-layout { display: grid; grid-template-columns: 1fr 260px; gap: 20px; }
@media (max-width: 768px) { .ops-circ-layout { grid-template-columns: 1fr; } }
.ops-circ-liste { list-style: none; margin: 0; padding: 0; }
.ops-circ-item { border: 1px solid #eaecf2; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.ops-circ-header { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; cursor: pointer; background: #fafbfc; }
.ops-circ-header:hover { background: #f0f4fb; }
.ops-circ-meta { min-width: 100px; }
.ops-circ-num { font-size: 13px; font-weight: 700; color: #1a3a6b; display: block; }
.ops-circ-date { font-size: 11px; color: #9aa3b5; display: block; margin-top: 2px; }
.ops-circ-titre { font-size: 13px; color: #2d3140; line-height: 1.5; }
.ops-circ-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ops-circ-check { display: flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; }
.ops-circ-resume { padding: 12px 16px; background: #f9fafc; border-top: 1px solid #eaecf2; font-size: 13px; line-height: 1.7; color: #3d4460; }
.ops-calendrier-wrap { background: #f9fafc; border: 1px solid #eaecf2; border-radius: 8px; padding: 14px; }
.ops-calendrier-titre { font-size: 13px; font-weight: 700; color: #1a3a6b; margin: 0 0 10px; }
.ops-cal-item { border-left: 3px solid #dde1e7; padding: 6px 10px; margin-bottom: 8px; font-size: 12px; background: #fff; border-radius: 0 4px 4px 0; }
.ops-cal-prochaine { border-left-color: #d97706; background: #fffbeb; }
.ops-cal-passee { opacity: .5; }
.ops-cal-date { font-weight: 700; font-size: 11px; color: #5a6478; }
.ops-derniere-verif { font-size: 12px; color: #7a8299; background: #f4f6fb; padding: 6px 12px; border-radius: 6px; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.ops-vae-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .ops-vae-layout { grid-template-columns: 1fr; } }
.ops-upload-zone { border: 2px dashed #dde1e7; border-radius: 8px; padding: 20px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #7a8299; font-size: 13px; transition: border-color .15s; }
.ops-upload-zone:hover { border-color: #1a3a6b; background: #f4f6fb; }
.ops-indice-wrap { background: #f4f6fb; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.ops-indice-valeur { font-size: 22px; font-weight: 800; }
.ops-indice-barre-bg { background: #dde1e7; border-radius: 999px; height: 8px; overflow: hidden; }
.ops-indice-barre { height: 100%; border-radius: 999px; transition: width .5s ease; }
.ops-critere-item { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 8px; margin-top: 8px; }
.ops-critere-barre-bg { background: #dde1e7; border-radius: 999px; height: 5px; overflow: hidden; }
.ops-critere-barre { height: 100%; border-radius: 999px; }
.ops-recommandation { border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.ops-rec--probable { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; }
.ops-rec--examiner { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.ops-rec--negatif { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }
.ops-resultat-contenu { white-space: pre-wrap; font-size: 13px; line-height: 1.8; color: #3d4460; background: #f9fafc; border: 1px solid #eaecf2; border-radius: 8px; padding: 14px; }
.ops-resultat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #5a6478; margin-bottom: 6px; }
.ops-resultat { background: #f9fafc; border: 1px solid #eaecf2; border-radius: 8px; padding: 16px; }
.ops-dos-search-box { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.ops-dos-search-row { display: flex; gap: 8px; }
.ops-liste-dossiers { list-style: none; margin: 0; padding: 0; }
.ops-dossier-item { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border: 1px solid #eaecf2; border-radius: 8px; margin-bottom: 6px; background: #fafbfc; font-size: 13px; }
.ops-dossier-nom { font-weight: 600; flex: 1; min-width: 200px; color: #1a3a6b; }
.ops-dossier-date { font-size: 11px; color: #9aa3b5; }
.ops-dossier-actions { display: flex; gap: 5px; }
.ops-statut { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.ops-statut--inchange { background: #f0f4fb; color: #5a6478; }
.ops-statut--modifie { background: #fef9c3; color: #a16207; }
.ops-statut--nouveau { background: #f0fdf4; color: #15803d; }
.ops-statut--supprime { background: #fef2f2; color: #b91c1c; }
.ops-table-cpeons { width: 100%; border-collapse: collapse; font-size: 13px; }
.ops-table-cpeons th { background: #f4f6fb; padding: 7px 10px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #5a6478; border-bottom: 2px solid #dde1e7; }
.ops-table-cpeons td { padding: 7px 10px; border-bottom: 1px solid #eaecf2; }
.ops-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.ops-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ops-modal-entete { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eaecf2; background: #fffbeb; border-radius: 12px 12px 0 0; }
.ops-modal-entete h3 { margin: 0; font-size: 16px; font-weight: 700; color: #7a4a00; }
.ops-modal-fermer { background: none; border: none; font-size: 20px; cursor: pointer; color: #7a8299; line-height: 1; padding: 0 4px; }
.ops-modal-corps { padding: 20px; }
.ops-modal-pied { padding: 14px 20px; border-top: 1px solid #eaecf2; display: flex; gap: 8px; justify-content: flex-end; }
.ops-chargement-inline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #7a8299; }
.ops-points { display: flex; gap: 4px; }
.ops-points span { width: 7px; height: 7px; border-radius: 50%; background: #1a3a6b; animation: ops-bounce .9s infinite; }
.ops-points span:nth-child(2) { animation-delay: .15s; }
.ops-points span:nth-child(3) { animation-delay: .3s; }
@keyframes ops-bounce { 0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1} }
.ops-pied { text-align: center; padding: 12px; font-size: 11px; color: #b0b8cc; margin-top: 8px; }