/* Un même repère visuel pour les modes des projets, des fiches et des personnes. */
html body [data-coverly-mode="1"],html body .editor-modes label:has(input[value="1"]){--mode-ink:#64748b;--mode-bg:#eef1f5}
html body [data-coverly-mode="2"],html body .editor-modes label:has(input[value="2"]){--mode-ink:#2563b9;--mode-bg:#edf4ff}
html body [data-coverly-mode="3"],html body .editor-modes label:has(input[value="3"]){--mode-ink:#248054;--mode-bg:#eaf5ee}
html body [data-coverly-mode="4"],html body .editor-modes label:has(input[value="4"]){--mode-ink:#7c3ac1;--mode-bg:#f3edfa}
html body .projects-mode[data-coverly-mode]{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 10px;border-radius:16px;color:var(--mode-ink);background:var(--mode-bg);font-weight:600;white-space:nowrap}
html body .project-editor .editor-modes label:has(input[value]){color:var(--mode-ink)!important;font-weight:600}
html body .person-project-modes{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;align-items:center}
html body .person-mode-count[data-coverly-mode]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:20px;height:20px;padding:0 4px;border-radius:50%;background:var(--mode-ink);color:white;font:600 11px/1 Arial;cursor:help}
html body .person-mode-count:focus-visible{outline:2px solid var(--mode-ink);outline-offset:3px}
html body .person-no-project{color:#a4afa8;font-size:12px}
html body .client-mode-key{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:0 24px 18px;color:#6c7971;font-size:12px}
html body .client-mode-key>span[data-coverly-mode]{display:inline-flex;align-items:center;gap:6px;color:var(--mode-ink);font-weight:600}
html body .client-mode-key i{width:9px;height:9px;background:var(--mode-ink);border-radius:50%;display:inline-block}

html body .client-directory-table .col-projects{width:12%}html body .client-directory-table .col-relation{width:9%}html body .client-directory-table .col-name{width:19%}html body .client-directory-table .col-birth{width:11%}html body .client-directory-table .col-email{width:19%}html body .client-directory-table .col-phone{width:14%}html body .client-directory-table .col-status{width:5%}html body .client-directory-table .col-actions{width:6%}
html body .person-project-links{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
html body .client-directory-table a.person-project-link[data-coverly-mode]{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;height:28px;padding:0 5px;box-sizing:border-box;border-radius:50%;background:var(--mode-ink);color:#fff;font:600 11px/1 Arial;text-decoration:none}
html body .person-project-link:focus-visible{outline:2px solid var(--mode-ink);outline-offset:3px}
