:root{--blue:#0b5ef7;--blue-dark:#174ea6;--navy:#0b1f3a;--muted:#6b7b91;--bg:#f7f9fc;--border:#e5eaf2;--white:#fff;--danger:#c83532;--success:#17834d;--warning:#bd6500;--radius:10px;--shadow:0 5px 18px rgba(18,50,88,.06)}
*{box-sizing:border-box}html{font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--navy);background:var(--bg)}body{margin:0;background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#0c2340;color:#fff;padding:24px 16px;display:flex;flex-direction:column;z-index:20}.brand-lockup{display:flex;align-items:center;gap:10px;font-size:15px;letter-spacing:.04em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--blue);color:#fff;font-weight:800}.sidebar-brand{padding:0 8px 28px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:8px;color:#d9e5f4}.sidebar nav a:hover{background:#173552;color:#fff}.sidebar nav a small{margin-left:auto;font-size:9px;text-transform:uppercase;color:#86a0ba}.sidebar nav a.muted{opacity:.64}.sidebar-footer{margin-top:auto;border-top:1px solid #27445f;padding:18px 8px 0}.user-chip{display:flex;align-items:center;gap:10px}.user-chip>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#274b6d}.user-chip strong,.user-chip small{display:block;font-size:12px}.user-chip small{color:#9eb1c4;margin-top:2px}.link-button{border:0;background:none;color:#aec2d5;padding:13px 0 0;cursor:pointer}.main-content{margin-left:232px;width:calc(100% - 232px);padding:0 34px 60px}.topbar{height:76px;display:flex;align-items:center;border-bottom:1px solid var(--border);margin-bottom:28px}.topbar h1{font-size:25px;margin:0}.menu-button{display:none;border:0;background:transparent;font-size:22px;margin-right:12px}.page-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.page-actions p{margin:0}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:10px 16px;border:1px solid transparent;font-weight:650;cursor:pointer}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:var(--blue-dark)}.button.secondary{background:#fff;border-color:#cad5e2}.button.wide{width:100%}.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.alert{max-width:920px;padding:12px 15px;border-radius:8px;margin:0 0 20px}.alert.success{background:#eaf7f0;color:#13683e;border:1px solid #bce2cc}.alert.error{background:#fff0f0;color:#9d2825;border:1px solid #f0c4c3}.subtle{color:var(--muted);line-height:1.55}.eyebrow{color:var(--blue);font-weight:750;text-transform:uppercase;letter-spacing:.1em;font-size:11px}.tabs{display:flex;gap:8px;overflow:auto;margin:0 0 18px}.tabs a{white-space:nowrap;padding:8px 13px;border-radius:8px;color:var(--muted);font-size:14px}.tabs a.active{color:var(--blue-dark);background:#eaf1ff;font-weight:700}.table-card{overflow:hidden}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:13px 16px;background:#f9fbfd;color:#65758b;font-size:11px;text-transform:uppercase;letter-spacing:.05em}td{padding:14px 16px;border-top:1px solid var(--border);font-size:14px}td small,.task-title+small{display:block;color:var(--muted);margin-top:4px}.task-title{font-weight:700;color:#153758}.task-title:hover{color:var(--blue)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700;white-space:nowrap}.status-todo{background:#eef2f6;color:#53667c}.status-in_progress,.status-active{background:#e7f0ff;color:#1756a9}.status-blocked,.priority-high{background:#fff0e4;color:#a94d0b}.status-done,.status-completed{background:#e8f7ef;color:#147244}.status-on_hold{background:#fff6df;color:#8b6413}.priority-low{background:#edf5ff;color:#4a6f98}.priority-medium{background:#fff6df;color:#8b6413}.text-danger{color:var(--danger);font-weight:700}.empty-state{text-align:center;padding:60px 24px;color:var(--muted)}.empty-state strong{color:var(--navy);font-size:17px}.form-card{padding:28px;max-width:920px}.grid-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid-form .full{grid-column:1/-1}.stack-form{display:flex;flex-direction:column;gap:17px}.stack-form.compact{margin-top:20px}.grid-form label,.stack-form label{font-size:13px;font-weight:650}.grid-form input,.grid-form select,.grid-form textarea,.stack-form input,.stack-form select{display:block;width:100%;margin-top:7px;border:1px solid #cbd6e2;border-radius:8px;padding:11px 12px;background:#fff;color:var(--navy)}select[multiple]{min-height:90px}.grid-form input:focus,.grid-form select:focus,.grid-form textarea:focus,.stack-form input:focus,.stack-form select:focus{outline:3px solid #dce8ff;border-color:var(--blue)}label small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.form-actions{display:flex;justify-content:flex-end}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{display:block;padding:20px;transition:.15s}.project-card:hover{transform:translateY(-2px);border-color:#b9ccec}.project-card-top{display:flex;justify-content:space-between;align-items:center}.project-card h2{font-size:18px;margin:20px 0 7px}.project-card p,.project-card small{color:var(--muted);font-size:12px}.progress{height:6px;background:#edf1f6;border-radius:10px;overflow:hidden;margin:22px 0 9px}.progress span{display:block;height:100%;background:var(--blue)}.back-link{display:inline-block;color:var(--blue-dark);font-size:13px;margin-bottom:7px}.project-summary{padding:24px}.project-summary>p{line-height:1.65}.summary-items{display:flex;gap:50px;border-top:1px solid var(--border);padding-top:18px;margin-top:22px}.summary-items span{font-weight:700}.summary-items small{display:block;color:var(--muted);font-weight:400;margin-bottom:5px}.section-title{font-size:18px;margin:28px 0 14px}.detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}.detail-card,.metadata{padding:24px}.detail-heading{display:flex;gap:8px}.description{line-height:1.7;white-space:normal}.metadata h2{font-size:16px;margin-top:0}.metadata dl{margin:0}.metadata dt{font-size:11px;text-transform:uppercase;color:var(--muted);margin-top:18px}.metadata dd{margin:5px 0 0;font-size:14px}.guest-body{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(135deg,#f7f9fc,#e8f0fb)}.guest-shell{width:min(430px,100%)}.guest-shell>.brand-lockup{justify-content:center;margin-bottom:24px}.auth-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:32px;box-shadow:0 14px 40px rgba(26,57,91,.1)}.auth-card h1{font-size:27px;margin:8px 0}.auth-card .subtle{margin-bottom:25px}
.alert.warning{background:#fff8e8;color:#815a0b;border:1px solid #ead59d}.update-card{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center;padding:28px;max-width:980px}.update-notes{padding:24px;max-width:980px;margin-top:20px}.update-notes h2,.update-card h2{font-size:18px;margin:5px 0 10px}.update-notes li{margin:9px 0;color:var(--muted)}.status-replaced,.status-rolled_back{background:#eef2f6;color:#53667c}.status-failed{background:#fff0f0;color:#9d2825}code{background:#edf2f8;border-radius:4px;padding:2px 5px}
.button.danger{background:#fff;color:#a92c28;border-color:#e9b8b6}.button.danger:hover{background:#fff0f0}.button:disabled{opacity:.5;cursor:not-allowed}.test-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1000px}.test-action-card{padding:24px}.test-action-card h2{font-size:18px;margin:6px 0 10px}.danger-zone{border-color:#edcfcd}.test-marker{display:flex;align-items:center;gap:14px;max-width:1000px;padding:15px 20px;margin-top:18px}.test-report{max-width:1000px;margin-bottom:12px;overflow:hidden}.test-report>summary{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;cursor:pointer;list-style:none}.test-report>summary::-webkit-details-marker{display:none}.test-report summary small{display:block;color:var(--muted);margin-top:4px}.test-summary{display:flex;align-items:center;gap:15px}.test-pass{color:#147244}.test-fail{color:#a92c28}.test-results{overflow:auto;border-top:1px solid var(--border)}.badge.test-pass{background:#e8f7ef;color:#147244}.badge.test-fail{background:#fff0f0;color:#a92c28}
.toast-alert{position:fixed;z-index:40;top:22px;right:28px;width:min(390px,calc(100vw - 32px));box-shadow:0 12px 35px rgba(15,49,86,.15);transition:opacity .25s ease,transform .25s ease}.toast-hide{opacity:0;transform:translateY(-8px)}.description-heading{display:flex;justify-content:space-between;align-items:center;margin:30px 0 14px;padding-top:22px;border-top:1px solid var(--border)}.description-heading h2{font-size:17px;margin:0}.edit-link{border:0;background:#eef4ff;color:var(--blue);font-weight:700;cursor:pointer;padding:7px 11px;border-radius:7px}.edit-link:hover{background:#dfeaff}.description{min-height:86px;padding:5px 2px 18px;font-size:15px;line-height:1.75}.description-editor textarea,.comment-composer textarea{display:block;width:100%;border:1px solid #cbd6e2;border-radius:10px;padding:14px 15px;resize:vertical;color:var(--navy);background:#fbfcfe;line-height:1.55}.description-editor textarea:focus,.comment-composer textarea:focus{outline:3px solid #dce8ff;border-color:var(--blue);background:#fff}.inline-actions{display:flex;gap:10px;margin-top:14px}.discussion-section{max-width:1080px;margin-top:48px;padding-bottom:40px}.discussion-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px;padding:0 4px}.discussion-title .eyebrow{margin:0 0 7px}.discussion-title h2{margin:0;font-size:23px}.discussion-title h2 span{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;margin-left:4px;border-radius:20px;background:#eaf1ff;color:var(--blue);font-size:12px;vertical-align:3px}.discussion-title>p{margin:0}.comment-composer{display:grid;grid-template-columns:50px 1fr;gap:18px;padding:24px 26px;border-color:#d9e3ef}.comment-composer form{min-width:0}.comment-composer label{display:block;font-weight:750;font-size:14px;margin:1px 0 10px}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:14px}.composer-footer small{color:var(--muted);line-height:1.4}.comment-avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#eaf0f7,#dce6f0);color:#34506d;font-weight:800;font-size:16px;box-shadow:inset 0 0 0 1px rgba(67,91,117,.08)}.comment-avatar.current-user{background:linear-gradient(145deg,#edf4ff,#dbe8ff);color:var(--blue)}.comment-thread{position:relative;margin-top:24px;padding-left:8px}.comment-thread:before{content:"";position:absolute;left:30px;top:8px;bottom:16px;width:2px;background:#e2e9f1}.comment-item{position:relative;display:flex;align-items:flex-start;gap:19px;padding:14px 0 22px;border:0}.comment-content{position:relative;flex:1;min-width:0;background:#fff;border:1px solid var(--border);border-radius:11px;padding:17px 19px;box-shadow:0 4px 14px rgba(18,50,88,.045)}.comment-content:before{content:"";position:absolute;left:-7px;top:18px;width:12px;height:12px;background:#fff;border-left:1px solid var(--border);border-bottom:1px solid var(--border);transform:rotate(45deg)}.comment-content header{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding-bottom:11px;border-bottom:1px solid #eef2f6}.comment-content header strong{color:#153758;font-size:14px}.comment-content header span{font-size:12px;color:var(--muted)}.comment-content header time{font-size:12px;color:#8290a1;margin-left:auto}.comment-bubble{margin-top:13px;padding:0;line-height:1.7;color:#263f59;overflow-wrap:anywhere}.empty-discussion{position:relative;text-align:center;padding:38px;color:var(--muted)}.empty-discussion strong{display:block;color:var(--navy);margin-bottom:7px}
.task-title-line{display:flex;align-items:center;gap:8px}.overdue-indicator{display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:#d83b36;color:#fff;font-size:12px;font-weight:900;box-shadow:0 0 0 3px #ffeded}
@media(max-width:1000px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-content{padding-left:22px;padding-right:22px}}
@media(max-width:768px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main-content{margin-left:0;width:100%;padding:0 16px 45px}.topbar{height:64px;margin-bottom:20px}.menu-button{display:block}.topbar h1{font-size:21px}.page-actions{align-items:flex-start}.grid-form,.detail-grid,.update-card,.test-actions-grid{grid-template-columns:1fr}.grid-form .full{grid-column:auto}.project-grid{grid-template-columns:1fr}.summary-items{gap:20px;flex-wrap:wrap}.form-card{padding:19px}.auth-card{padding:24px}th,td{padding:12px}.page-actions .button{white-space:nowrap}.test-marker,.test-report>summary,.test-summary{align-items:flex-start;flex-direction:column}.discussion-title,.composer-footer{align-items:flex-start;flex-direction:column}.comment-content header time{margin-left:0;width:100%}}

/* Interface tableau de bord V1.3 */
.app-shell{--sidebar-width:230px;--content-gap:26px}.sidebar{width:var(--sidebar-width);padding:0 12px 18px;background:#fff;color:#263b55;border-right:1px solid #dfe6ef;box-shadow:none;transition:width .2s ease}.sidebar-head{height:70px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f5;margin:0 -12px 14px;padding:0 12px}.sidebar-brand{padding:0 4px;color:#0e3977;font-weight:700;white-space:nowrap;overflow:hidden}.brand-mark{width:32px;height:32px;border-radius:8px}.brand-text{font-size:14px}.collapse-button{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #dbe3ec;border-radius:7px;background:#fff;color:#55708d;cursor:pointer;font-size:22px;line-height:1}.collapse-button:hover{background:#f1f5f9;color:var(--blue)}.sidebar nav{gap:6px}.sidebar nav a{min-height:43px;padding:9px 11px;color:#344b66;border-radius:7px;gap:12px;white-space:nowrap}.sidebar nav a:hover{background:#edf4ff;color:#0b5ef7}.sidebar nav a:first-child{background:#0b5ef7;color:#fff;box-shadow:0 4px 10px rgba(11,94,247,.18)}.sidebar nav a small{font-size:8px;color:#8da0b4}.nav-icon{display:inline-grid;place-items:center;flex:0 0 23px;width:23px;height:23px;font-size:17px}.nav-label{overflow:hidden}.sidebar-footer{padding:15px 6px 0;border-top:1px solid #e8edf3}.sidebar-footer .user-chip{margin-bottom:9px}.sidebar-footer .user-chip>span{background:#e7effa;color:#1d4e83}.sidebar-footer .link-button{display:flex;align-items:center;gap:12px;width:100%;color:#526a84;padding:8px 4px}.main-content{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));padding:0 24px 60px;transition:margin-left .2s ease,width .2s ease}.topbar{height:70px;margin:0 -24px 24px;padding:0 24px;background:#fff}.topbar-spacer{flex:1}.top-user{display:flex;align-items:center;gap:9px}.top-user strong,.top-user small{display:block;font-size:12px}.top-user small{color:var(--muted);margin-top:2px}.top-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0d468f;color:#fff;font-size:12px;font-weight:800}.menu-collapsed{--sidebar-width:72px}.menu-collapsed .sidebar{padding-left:10px;padding-right:10px}.menu-collapsed .sidebar-head{margin-left:-10px;margin-right:-10px;padding:0 10px;justify-content:center}.menu-collapsed .brand-text,.menu-collapsed .nav-label,.menu-collapsed .sidebar nav a small,.menu-collapsed .user-details{display:none}.menu-collapsed .sidebar-brand{padding:0}.menu-collapsed .collapse-button{position:absolute;left:58px;background:#fff;transform:rotate(180deg)}.menu-collapsed .sidebar nav a{justify-content:center;padding:9px}.menu-collapsed .sidebar-footer .user-chip{justify-content:center}.menu-collapsed .sidebar-footer .link-button{justify-content:center}.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 18px}.dashboard-heading h1{font-size:25px;margin:0 0 5px}.dashboard-heading p{margin:0;color:var(--muted);font-size:13px}.dashboard-tabs{display:flex;align-items:stretch;gap:3px;min-height:56px;margin-bottom:18px;padding:0 10px;overflow-x:auto;box-shadow:none}.dashboard-tabs a{display:flex;align-items:center;gap:8px;padding:0 14px;color:#53667c;font-size:13px;white-space:nowrap;border-bottom:2px solid transparent}.dashboard-tabs a.active{color:var(--blue);font-weight:750;border-bottom-color:var(--blue)}.dashboard-tabs a b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:#eef2f6;color:#64768a;font-size:10px}.dashboard-tabs a b.danger-count{background:#ffebea;color:#cb302c}.dashboard-tabs .tabs-spacer{flex:1}.dashboard-tabs .filter-button{align-self:center;height:34px;border:1px solid #ccd7e3;border-radius:7px;margin-left:10px}.task-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}.task-dashboard-main{min-width:0;display:flex;flex-direction:column;gap:18px}.dashboard-table-card{box-shadow:none}.card-heading{display:flex;justify-content:space-between;align-items:center;min-height:54px;padding:0 18px;border-bottom:1px solid var(--border)}.card-heading h2{margin:0;font-size:14px}.card-heading>span{font-size:11px;color:var(--muted)}.task-table th{height:39px;padding:9px 10px;font-size:9px}.task-table td{height:58px;padding:9px 10px;font-size:12px}.task-table .check-column{width:36px}.task-table .action-column{width:38px}.task-table td small{font-size:10px}.task-table .task-title{font-size:12px}.project-cell{display:block;font-size:11px}.task-check{display:grid;place-items:center;width:18px;height:18px;border:1px solid #aebed0;border-radius:4px;background:#fff;color:transparent;cursor:pointer;font-size:11px}.task-check:hover{border-color:var(--blue)}.task-check.checked{background:#20a466;border-color:#20a466;color:#fff}.completed-row .task-title{text-decoration:line-through;color:#7f8c9c}.row-action{display:inline-flex;padding:5px;color:#597089;font-weight:800;letter-spacing:1px}.table-footer{padding:11px 16px;border-top:1px solid var(--border);color:var(--muted);font-size:11px}.dashboard-side{display:flex;flex-direction:column;gap:14px}.side-card{padding:16px;box-shadow:none}.side-card h2{display:flex;align-items:center;gap:8px;margin:0 0 13px;font-size:13px}.side-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:5px}.side-icon.blue{color:var(--blue);background:#ebf2ff}.side-icon.red{color:#d43733;background:#ffeded}.side-task{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid #eef2f6}.side-task:last-of-type{border:0}.side-task>time{flex:0 0 34px;font-size:10px;font-weight:800;color:#506783;padding-top:2px}.side-task>span{min-width:0;flex:1}.side-task strong,.side-task small{display:block}.side-task strong{font-size:11px;line-height:1.35}.side-task small{font-size:9px;color:var(--muted);margin-top:3px}.side-task.overdue>time{flex:0 0 auto;color:#d43733}.side-link{display:block;margin-top:11px;color:var(--blue);font-size:10px;font-weight:700}.project-progress{display:block;margin:11px 0}.project-progress>span{display:flex;justify-content:space-between;gap:8px;font-size:10px}.project-progress b{font-size:10px}.project-progress i{display:block;height:4px;margin-top:6px;background:#e8edf3;border-radius:4px;overflow:hidden}.project-progress em{display:block;height:100%;background:var(--blue);border-radius:4px}.compact-empty{color:var(--muted);font-size:11px;line-height:1.5}.recent-completed{box-shadow:none}.recent-list{padding:8px 18px 14px}.recent-list a{display:grid;grid-template-columns:1.3fr 1fr 80px;gap:14px;padding:9px 0;border-bottom:1px solid #eef2f6;font-size:11px}.recent-list a>span{text-decoration:line-through}.recent-list small{color:var(--muted)}.recent-list time{color:#1b9960;text-align:right}.success-icon{display:inline-grid;place-items:center;width:19px;height:19px;border:1px solid #20a466;border-radius:50%;color:#20a466;font-size:11px}.overdue-indicator{flex-basis:18px;width:18px;height:18px;font-size:10px}.task-table .badge{padding:3px 7px;font-size:9px}
@media(max-width:1150px){.task-dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:repeat(3,1fr)}.recent-completed{order:2}}
@media(max-width:768px){.app-shell{--sidebar-width:230px}.menu-collapsed{--sidebar-width:230px}.sidebar{transform:translateX(-100%);width:230px}.sidebar.open{transform:translateX(0)}.menu-collapsed .brand-text,.menu-collapsed .nav-label,.menu-collapsed .user-details{display:initial}.menu-collapsed .sidebar nav a{justify-content:flex-start}.menu-collapsed .collapse-button{position:static;transform:none}.main-content{margin-left:0;width:100%;padding:0 12px 40px}.topbar{margin:0 -12px 18px;padding:0 14px}.dashboard-heading{align-items:flex-start;gap:14px}.dashboard-heading .button{font-size:12px;padding:9px 11px}.dashboard-tabs{margin-left:-4px;margin-right:-4px}.task-dashboard-grid{display:block}.dashboard-side{display:grid;grid-template-columns:1fr;margin-top:15px}.recent-completed{margin-top:15px}.task-table th:nth-child(4),.task-table td:nth-child(4),.task-table th:nth-child(7),.task-table td:nth-child(7){display:none}.task-table{min-width:650px}}
.sidebar nav a:first-child:not(.active){background:transparent;color:#344b66;box-shadow:none}.sidebar nav a.active{background:#0b5ef7;color:#fff;box-shadow:0 4px 10px rgba(11,94,247,.18)}.topbar-page-title{font-size:14px;color:#28435f}

/* Lisibilité et pictogrammes uniformes V1.3.1 */
.brand-mark svg,.nav-icon svg,.collapse-button svg,.side-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.brand-mark svg{width:23px;height:23px;stroke-width:1.7}
.collapse-button svg{width:17px;height:17px;transition:transform .2s ease}
.menu-collapsed .collapse-button svg{transform:rotate(180deg)}
.menu-collapsed .collapse-button{transform:none}
.nav-icon{width:24px;height:24px;flex-basis:24px}
.nav-icon svg{width:20px;height:20px}
.sidebar nav a,.sidebar-footer .link-button{font-size:13px;font-weight:550}
.dashboard-heading p,.dashboard-tabs a{font-size:14px}
.card-heading h2{font-size:15px}
.card-heading>span,.table-footer{font-size:12px}
.task-table th{font-size:10px}
.task-table td,.task-table .task-title{font-size:13px}
.task-table td small,.project-cell{font-size:11px}
.task-table .badge{font-size:10px}
.side-card h2{font-size:14px}
.side-icon svg{width:16px;height:16px}
.side-task strong{font-size:12px}.side-task small,.side-task>time,.side-link,.project-progress>span,.project-progress b{font-size:11px}
.compact-empty,.recent-list a{font-size:12px}

/* Sélection multiple et activité récente V1.4 */
.bulk-task-toolbar{display:flex;align-items:center;gap:10px;min-height:50px;padding:8px 14px;background:#f8faff;border-bottom:1px solid var(--border)}
.bulk-task-toolbar strong{min-width:112px;color:#36516e;font-size:12px}.bulk-task-toolbar label{font-size:12px;font-weight:700;color:#526a84}
.bulk-task-toolbar select{height:34px;min-width:150px;padding:0 30px 0 10px;border:1px solid #cbd6e2;border-radius:7px;background:#fff;color:var(--navy);font-size:12px}
.bulk-task-toolbar .button{height:34px;padding:0 13px;font-size:12px}.bulk-task-toolbar .button:disabled{background:#a9b9cc}
.selection-checkbox{width:16px;height:16px;margin:0;accent-color:var(--blue);cursor:pointer;vertical-align:middle}
.task-table tr.selected-row td{background:#f0f5ff}.task-table tr{transition:background .12s ease}
.recent-activity ol{list-style:none;margin:0;padding:0}.recent-activity li{position:relative;display:grid;grid-template-columns:10px 1fr;gap:8px;padding:7px 0}
.recent-activity li>span{width:6px;height:6px;margin-top:5px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 3px #e9f1ff}
.recent-activity li div{font-size:11px;line-height:1.4;color:#52677e}.recent-activity li strong{color:#173653}.recent-activity li a{display:block;color:var(--blue);font-weight:650;margin-top:2px}
.recent-activity li time{display:block;margin-top:2px;color:#8796a7;font-size:10px}
@media(max-width:768px){.bulk-task-toolbar{flex-wrap:wrap}.bulk-task-toolbar strong{min-width:100%}.bulk-task-toolbar select{flex:1}}

/* Tableau de bord et connexion V1.4 */
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metric-card{display:flex;align-items:center;gap:13px;padding:16px;box-shadow:none}.metric-card:hover{border-color:#bdd0ec}.metric-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font-weight:800}.metric-icon.blue{background:#eaf2ff;color:var(--blue)}.metric-icon.red{background:#ffeded;color:#d43733}.metric-icon.green{background:#e8f7ef;color:#17834d}.metric-card strong,.metric-card small{display:block}.metric-card strong{font-size:21px}.metric-card small{margin-top:2px;color:var(--muted);font-size:11px}.home-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.home-dashboard-main{display:flex;flex-direction:column;gap:18px}.dashboard-home-card{box-shadow:none;overflow:hidden}.dashboard-home-card .card-heading a{color:var(--blue);font-size:11px;font-weight:700}.dashboard-empty{padding:20px}.home-task-list>a{display:grid;grid-template-columns:8px minmax(0,1fr) auto 72px;align-items:center;gap:10px;min-height:56px;padding:8px 16px;border-top:1px solid #eef2f6}.home-task-list>a:first-child{border-top:0}.home-task-list strong,.home-task-list small{display:block}.home-task-list strong{font-size:12px}.home-task-list small{font-size:10px;color:var(--muted);margin-top:3px}.home-task-list time{text-align:right;font-size:10px}.priority-dot{width:7px;height:7px;border-radius:50%}.priority-dot.high{background:#e04b46}.priority-dot.medium{background:#e79b27}.priority-dot.low{background:#36aa72}.home-project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 22px;padding:8px 16px 15px}.home-project-grid a{padding:10px 0}.home-project-grid a>div{display:flex;justify-content:space-between;gap:8px;font-size:11px}.home-project-grid i{display:block;height:5px;margin:7px 0;background:#e8edf3;border-radius:5px;overflow:hidden}.home-project-grid em{display:block;height:100%;background:var(--blue)}.home-project-grid small{color:var(--muted);font-size:9px}.home-activity ol{list-style:none;margin:0;padding:9px 16px 16px}.home-activity li{display:grid;grid-template-columns:9px 1fr;gap:8px;padding:8px 0}.home-activity li>span{width:6px;height:6px;margin-top:5px;border-radius:50%;background:var(--blue)}.home-activity li div{font-size:11px;line-height:1.4;color:#52677e}.home-activity li strong{color:#173653}.home-activity li a,.home-activity li time{display:block;margin-top:2px}.home-activity li a{color:var(--blue);font-weight:650}.home-activity li time{font-size:10px;color:#8796a7}.password-field{position:relative;display:block}.password-field input{padding-right:45px}.password-field button{position:absolute;right:5px;top:12px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:#60768e;cursor:pointer}.password-field button:hover,.password-field button.visible{background:#edf3fb;color:var(--blue)}.password-field svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.remember-login{display:flex!important;align-items:center;gap:8px;font-weight:500!important}.remember-login input{display:inline!important;width:16px!important;height:16px;margin:0!important;accent-color:var(--blue)}.credential-note{display:block;margin-top:-8px;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:1000px){.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.home-dashboard-grid{grid-template-columns:1fr}.home-activity{order:2}}
@media(max-width:600px){.dashboard-metrics,.home-project-grid{grid-template-columns:1fr}.home-task-list>a{grid-template-columns:8px minmax(0,1fr) auto}.home-task-list time{display:none}}

/* Centre de notifications V1.5 */
.notification-center{position:relative;margin-right:16px}.notification-button{position:relative;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:#526a84;cursor:pointer}.notification-button:hover,.notification-button[aria-expanded="true"]{background:#eef3f9;color:var(--blue)}.notification-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-button>span{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:10px;background:#e53935;color:#fff;font-size:9px;font-weight:800}.notification-dropdown{position:absolute;z-index:60;top:46px;right:-12px;width:370px;max-height:min(520px,calc(100vh - 90px));overflow:hidden;border:1px solid #dce4ee;border-radius:12px;background:#fff;box-shadow:0 18px 50px rgba(20,48,80,.18)}.notification-dropdown[hidden]{display:none}.notification-dropdown>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #e9eef4}.notification-dropdown>header strong,.notification-dropdown>header small{display:block}.notification-dropdown>header strong{font-size:14px}.notification-dropdown>header small{margin-top:3px;color:var(--muted);font-size:10px}.notification-dropdown>header button{border:0;background:none;color:var(--blue);font-size:10px;font-weight:700;cursor:pointer}.notification-dropdown>header button:disabled{color:#9cabbc;cursor:default}.notification-list{max-height:430px;overflow-y:auto}.notification-item{display:grid;grid-template-columns:9px 1fr;gap:9px;padding:13px 16px;border-bottom:1px solid #eef2f6;background:#fff}.notification-item:hover{background:#f7faff}.notification-item.unread{background:#f0f5ff}.notification-item.unread:hover{background:#e8f0ff}.notification-dot{width:7px;height:7px;margin-top:5px;border-radius:50%;background:transparent}.notification-item.unread .notification-dot{background:#e53935;box-shadow:0 0 0 3px #ffebeb}.notification-item strong{display:block;font-size:12px;color:#173653}.notification-item p{margin:3px 0;color:#52677e;font-size:11px;line-height:1.45}.notification-item time{color:#8998a9;font-size:9px}.notification-empty{margin:0;padding:34px 18px;text-align:center;color:var(--muted);font-size:11px}@media(max-width:600px){.notification-center{margin-right:7px}.notification-dropdown{position:fixed;top:64px;right:10px;left:10px;width:auto;max-height:calc(100vh - 76px)}}

/* Messages de l’utilisateur connecté V1.5.1 */
.comment-item.own-comment .comment-content{background:#f1f6ff;border-color:#cbdcf7;border-left:3px solid #8ab2f5;box-shadow:0 5px 16px rgba(32,91,170,.055)}.comment-item.own-comment .comment-content:before{background:#f1f6ff;border-color:#cbdcf7}.comment-item.own-comment .comment-content header{border-bottom-color:#dce8f8}.comment-item.own-comment .comment-content header strong{color:#2867b2}.comment-item.own-comment .comment-bubble{color:#254463}.own-comment-label{display:inline-flex!important;align-items:center;padding:3px 7px;border-radius:10px;background:#e1ecfc;color:#3976bd!important;font-size:9px!important;font-weight:750;text-transform:uppercase;letter-spacing:.04em}

/* Pictogrammes homogènes des indicateurs */
.metric-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Administration - prochaine version */
.nav-section-label{display:block;margin:15px 8px 5px;padding-top:13px;border-top:1px solid #e4eaf1;color:#8292a4;font-size:8px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.menu-collapsed .nav-section-label{height:1px;margin:12px 4px 6px;padding:0;border-top:1px solid #e4eaf1;font-size:0}.admin-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.admin-heading .eyebrow{margin:0 0 5px}.admin-heading h1{margin:0;font-size:25px}.admin-heading p:last-child{margin:5px 0 0;color:var(--muted);font-size:11px}.admin-heading .button{font-size:10px}.admin-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-bottom:16px}.admin-metric{display:flex;align-items:center;gap:12px;min-height:78px;padding:13px;box-shadow:none}.admin-metric>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px}.admin-metric>span.blue{background:#eaf2ff;color:#0b5ef7}.admin-metric>span.purple{background:#f1eaff;color:#7b3ce8}.admin-metric>span.green{background:#e7f7ef;color:#15955a}.admin-metric>span.orange{background:#fff1e3;color:#ed7a12}.admin-metric svg,.admin-project svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-metric strong,.admin-metric small,.admin-metric b{display:block}.admin-metric strong{font-size:19px}.admin-metric small{margin-top:1px;color:#324b66;font-size:10px}.admin-metric b{margin-top:5px;color:#299461;font-size:8px;font-weight:650}.admin-metric b.danger-text,.danger-text{color:#d23b36}.success-text{color:#168951}.admin-primary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.admin-panel{overflow:hidden;box-shadow:none}.admin-panel .card-heading a,.admin-small-panel .card-heading a{color:var(--blue);font-size:9px;font-weight:700}.admin-table th{padding:9px 10px;font-size:8px}.admin-table td{height:45px;padding:7px 10px;font-size:9px}.admin-table .badge{padding:3px 6px;font-size:7px}.admin-user{display:flex;align-items:center;gap:7px}.admin-user i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#155baa;color:#fff;font-size:7px;font-style:normal;font-weight:800}.admin-project{display:flex;align-items:center;gap:7px;color:#27435e;font-weight:700}.admin-project svg{width:17px;height:17px;color:var(--blue)}.admin-progress{display:flex;align-items:center;gap:7px}.admin-progress i{display:block;width:75px;height:5px;border-radius:5px;background:#e5ebf2;overflow:hidden}.admin-progress em{display:block;height:100%;border-radius:5px;background:var(--blue)}.admin-progress b{font-size:8px}.admin-secondary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.admin-small-panel{padding:0 13px 13px;overflow:hidden;box-shadow:none}.admin-small-panel .card-heading{margin:0 -13px 10px;padding:0 13px}.admin-current-version{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:10px;border:1px solid #bfe4cf;border-radius:7px;background:#eff9f3}.admin-current-version span{font-size:9px}.admin-current-version strong{padding:3px 7px;border-radius:5px;background:#24a665;color:#fff;font-size:9px}.admin-compact-list{margin-bottom:10px}.admin-compact-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #edf1f5}.admin-compact-list strong,.admin-compact-list small{display:block}.admin-compact-list strong{max-width:160px;overflow:hidden;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.admin-compact-list small{margin-top:3px;color:#78899a;font-size:7px}.admin-compact-list b{font-size:7px}.admin-small-panel>.button{min-height:33px;padding:7px;font-size:9px}.admin-activity{list-style:none;margin:0;padding:0}.admin-activity li{display:grid;grid-template-columns:7px 1fr;gap:7px;padding:6px 0}.admin-activity li>span{width:5px;height:5px;margin-top:4px;border-radius:50%;background:var(--blue)}.admin-activity div{font-size:8px;line-height:1.4;color:#52677e}.admin-activity strong{color:#243f5b}.admin-activity a,.admin-activity time{display:block}.admin-activity a{color:var(--blue);font-weight:650}.admin-activity time{margin-top:2px;color:#8796a7;font-size:7px}.admin-system{margin-bottom:13px}.admin-system>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:8px}.admin-system span{color:#63778d}.admin-system b{text-align:right}@media(max-width:1200px){.admin-metrics{grid-template-columns:repeat(3,1fr)}.admin-secondary-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.admin-heading{align-items:flex-start;flex-direction:column}.admin-metrics,.admin-primary-grid,.admin-secondary-grid{grid-template-columns:1fr}}

/* Titres explicites du tableau de bord - prochaine version */
.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:2px 0 10px;padding:0 2px}.dashboard-section-heading h2{margin:0;color:#173653;font-size:15px}.dashboard-section-heading p{margin:4px 0 0;color:var(--muted);font-size:10px}.dashboard-section-heading>a{color:var(--blue);font-size:10px;font-weight:700}

/* Fiche projet détaillée - prochaine version */
.project-detail-header{grid-template-columns:minmax(0,1fr) 180px minmax(170px,220px) auto!important}
@media(max-width:1200px){.project-detail-header{grid-template-columns:minmax(0,1fr) auto!important}.project-next-deadline{padding-left:0;border-left:0}.project-detail-header>.button{justify-self:end}}@media(max-width:780px){.project-detail-header{grid-template-columns:1fr!important}.project-detail-header>.button{justify-self:start}}
.project-detail-header{grid-template-columns:minmax(0,1fr) 180px minmax(170px,220px) auto}.project-next-deadline{display:flex;align-items:center;gap:9px;min-width:0;padding-left:17px;border-left:1px solid #e2e8f0}.project-next-deadline>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#eaf2ff;color:var(--blue)}.project-next-deadline>span.late{background:#ffeded;color:#d23d38}.project-next-deadline svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.project-next-deadline div{min-width:0}.project-next-deadline small,.project-next-deadline a,.project-next-deadline strong{display:block}.project-next-deadline small{color:#7a8b9d;font-size:8px}.project-next-deadline a{margin:3px 0;color:#29455f;font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-next-deadline strong{font-size:8px;color:#60758c}
.project-detail-header{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:center;gap:26px;margin-bottom:17px}.project-identity{display:flex;align-items:center;gap:14px;min-width:0}.project-main-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:11px;background:#eaf2ff;color:var(--blue)}.project-main-icon svg,.project-detail-header .button svg,.project-tabs svg,.project-documents svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.project-identity p{margin:0 0 5px;color:#728397;font-size:10px}.project-identity p a{color:#45647f}.project-identity p span{margin:0 3px}.project-identity h1{margin:0;color:#102c50;font-size:23px}.project-identity small{display:block;margin-top:6px;color:#697d93;font-size:10px}.project-identity small i{margin:0 5px;font-style:normal}.project-header-progress>div{display:flex;align-items:center;gap:9px}.project-header-progress strong{font-size:14px}.project-header-progress span{display:block;width:108px;height:6px;border-radius:6px;background:#e8edf4;overflow:hidden}.project-header-progress span i{display:block;height:100%;border-radius:6px;background:var(--blue)}.project-header-progress small{display:block;margin-top:8px;color:#61758d;font-size:9px;line-height:1.55}.project-detail-header>.button{gap:7px;white-space:nowrap}.project-detail-header>.button svg{width:17px;height:17px}.project-tabs{display:flex;align-items:center;gap:7px;min-height:49px;margin-bottom:17px;padding:0 13px;overflow-x:auto;box-shadow:none}.project-tabs a{display:flex;align-items:center;align-self:stretch;gap:7px;padding:0 13px;border-bottom:2px solid transparent;color:#506982;font-size:11px;white-space:nowrap}.project-tabs a.active{border-bottom-color:var(--blue);color:var(--blue);font-weight:750}.project-tabs a:hover{color:var(--blue)}.project-tabs svg{width:16px;height:16px}.project-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:17px;align-items:start}.project-task-card{overflow:hidden;box-shadow:none}.project-task-card .compact-button{min-height:32px;padding:6px 11px;font-size:10px}.project-task-table th{padding:9px 10px;font-size:9px}.project-task-table td{height:48px;padding:7px 10px;font-size:10px}.project-task-table .task-title{font-size:11px}.project-task-table .badge{padding:3px 6px;font-size:8px}.project-section-row th{height:32px;padding:7px 14px;background:#f5f8fc;color:#263f5c;font-size:10px;text-transform:none;letter-spacing:0}.project-section-row th span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;border-radius:10px;background:#e7edf5;color:#5d7187;font-size:8px}.project-assignee{display:flex;align-items:center;gap:6px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-assignee i,.project-members i{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#0e5dbb;color:#fff;font-size:7px;font-style:normal;font-weight:800}.project-task-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:55px;padding:9px 14px;border-top:1px solid var(--border)}.project-task-footer>a{padding:7px 10px;border:1px solid #9dbdf0;border-radius:6px;color:var(--blue);font-size:9px;font-weight:700}.project-task-footer>div{display:flex;align-items:center;gap:9px;font-size:9px}.project-task-footer b{padding:6px 9px;border-radius:6px;font-size:8px}.project-task-footer b.green{background:#e7f7ee;color:#16834f}.project-task-footer b.blue{background:#e8f1ff;color:#1762be}.project-task-footer b.red{background:#ffeded;color:#cc3732}.project-info-column{display:flex;flex-direction:column;gap:12px}.project-info-card{padding:15px;box-shadow:none}.project-info-card h2{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px;color:#203c5b;font-size:12px}.project-info-card h2 span{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#edf2f8;color:#63788f;font-size:8px}.project-info-card dl{display:grid;grid-template-columns:95px 1fr;gap:10px 6px;margin:0}.project-info-card dt{color:#708296;font-size:9px}.project-info-card dd{margin:0;color:#273f5a;font-size:9px;line-height:1.5}.project-info-card dd.wide{grid-column:1/-1}.project-info-card .badge{font-size:8px}.project-members{display:flex;flex-direction:column;gap:10px}.project-members>div,.project-documents>div,.project-notes>div{display:flex;align-items:center;gap:8px}.project-members p,.project-documents p,.project-notes p{min-width:0;margin:0}.project-members strong,.project-members small,.project-documents strong,.project-documents small,.project-notes strong,.project-notes small{display:block}.project-members strong,.project-documents strong,.project-notes strong{overflow:hidden;color:#29445f;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.project-members small,.project-documents small,.project-notes small{margin-top:3px;color:#7b8b9d;font-size:8px}.project-documents,.project-notes{display:flex;flex-direction:column;gap:11px}.project-documents>div>span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:28px;color:#e24b46}.project-documents svg{width:19px;height:19px}.project-notes>div>span{flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:var(--blue)}@media(max-width:1150px){.project-detail-grid{grid-template-columns:1fr}.project-info-column{display:grid;grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.project-detail-header{grid-template-columns:1fr}.project-header-progress{max-width:260px}.project-detail-header>.button{justify-self:start}.project-info-column{grid-template-columns:1fr}.project-task-table{min-width:760px}.project-task-footer{align-items:flex-start;flex-direction:column}.project-task-footer>div{flex-wrap:wrap}}

/* Écran de connexion convivial V1.6 */
/* Correctif préparé pour la prochaine version : centrage vertical */
.login-input>svg{top:calc(50% + 4px)!important;transform:translateY(-50%)}.login-form .password-field button{top:calc(50% + 4px)!important;transform:translateY(-50%)}
.guest-body.login-page{display:block;min-height:100vh;padding:20px;background:#f7f9fc}.guest-shell.login-shell{position:relative;width:min(1180px,100%);min-height:calc(100vh - 40px);margin:auto}.login-shell .guest-alerts{position:absolute;z-index:5;top:18px;right:5%;width:min(430px,42%)}.login-shell .guest-alerts:empty{display:none}.login-experience{display:grid;grid-template-columns:43% 57%;min-height:calc(100vh - 40px);overflow:hidden;border:1px solid #dfe7f1;border-radius:15px;background:#fff;box-shadow:0 12px 45px rgba(29,62,101,.07)}.login-welcome{position:relative;display:flex;flex-direction:column;padding:58px 52px 36px;overflow:hidden;background:linear-gradient(150deg,#f8fbff 0%,#eff5ff 58%,#e5efff 100%)}.login-welcome:after{content:"";position:absolute;right:-90px;bottom:-150px;width:430px;height:320px;border:34px solid rgba(255,255,255,.36);border-radius:48% 52% 0 0;transform:rotate(-24deg)}.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:13px}.login-brand>span{display:grid;place-items:center;width:42px;height:42px;color:#0b5ef7}.login-brand svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.login-brand strong,.login-brand small{display:block}.login-brand strong{color:#0a2a5d;font-size:19px}.login-brand small{margin-top:5px;color:#627691;font-size:10px}.welcome-copy{position:relative;z-index:1;margin-top:66px}.welcome-copy h1{margin:0;color:#0a2860;font-size:25px;line-height:1.35}.welcome-copy p{max-width:360px;margin:18px 0 0;color:#526984;font-size:13px;line-height:1.65}.login-features{position:relative;z-index:1;display:flex;flex-direction:column;gap:18px;margin-top:33px}.login-features>div{display:grid;grid-template-columns:45px 1fr;align-items:center;gap:14px}.feature-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#fff;box-shadow:0 7px 18px rgba(34,67,107,.1)}.feature-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.feature-icon.blue{color:#0b5ef7}.feature-icon.green{color:#12a872}.feature-icon.purple{color:#8753ee}.login-features p{margin:0}.login-features strong,.login-features small{display:block}.login-features strong{color:#203958;font-size:12px}.login-features small{max-width:270px;margin-top:4px;color:#667b93;font-size:10px;line-height:1.45}.login-copyright{position:relative;z-index:1;margin-top:auto;padding-top:32px;color:#687d96;font-size:9px}.login-form-side{display:grid;align-content:center;justify-items:center;padding:58px 50px 35px}.auth-card.login-card{width:min(490px,100%);padding:42px 42px 36px;border-color:#e0e7f0;border-radius:12px;box-shadow:0 13px 35px rgba(28,58,94,.095)}.login-lock{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 15px;border-radius:50%;background:#eaf2ff;color:#0b5ef7}.login-lock svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-card h2{margin:0;text-align:center;color:#09275b;font-size:24px}.login-card>p{text-align:center;margin:7px 0 28px;font-size:12px}.login-form{gap:18px}.login-form>label{color:#193554;font-size:12px}.login-input{position:relative;display:block}.login-input>svg{position:absolute;z-index:1;left:13px;top:18px;width:18px;height:18px;fill:none;stroke:#637a94;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-form .login-input>input{height:44px;margin-top:8px;padding:0 44px 0 42px;border-color:#cbd7e5}.login-form .password-field button{top:13px}.login-submit{height:44px;margin-top:2px;gap:9px;border-radius:6px}.login-submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-card .credential-note{text-align:center;margin-top:-7px;font-size:9px}.login-security{display:flex;align-items:center;justify-content:center;gap:7px;margin:27px 0 0;color:#647990;font-size:10px}.login-security svg{width:15px;height:15px;fill:none;stroke:#0b5ef7;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:860px){.guest-body.login-page{padding:0}.guest-shell.login-shell,.login-experience{min-height:100vh}.login-experience{grid-template-columns:1fr;border:0;border-radius:0}.login-welcome{display:none}.login-form-side{padding:34px 18px}.login-shell .guest-alerts{position:static;width:auto;margin:15px 18px -5px}.auth-card.login-card{padding:34px 24px}}

/* Interface homogène et lisible V1.8 */
html{font-size:15px}body{overflow-x:hidden}.main-content{min-width:0;overflow-x:clip}.table-wrap{max-width:100%;overflow-x:clip}.notification-button>span[hidden]{display:none!important}

/* Tableaux et cartes d'administration */
.admin-metric{min-height:88px;padding:15px}.admin-metric>span{width:42px;height:42px;flex-basis:42px}.admin-metric svg{width:23px;height:23px}.admin-metric strong{font-size:22px}.admin-metric small{font-size:12px}.admin-metric b{font-size:10px}.admin-table{table-layout:fixed}.admin-table th{padding:11px 12px;font-size:10px}.admin-table td{height:50px;padding:9px 12px;font-size:11.5px;overflow-wrap:anywhere}.admin-table .badge{font-size:9px}.admin-user i{width:26px;height:26px;font-size:9px}.admin-primary-grid .card-heading h2,.admin-secondary-grid .card-heading h2{font-size:15px}.admin-panel .card-heading a,.admin-small-panel .card-heading a{font-size:11px}.admin-current-version span,.admin-current-version strong{font-size:11px}.admin-compact-list strong{font-size:10px}.admin-compact-list small,.admin-compact-list b{font-size:9px}.admin-small-panel>.button{font-size:11px}.admin-activity div{font-size:10px;line-height:1.5}.admin-activity time{font-size:9px}.admin-system>div{font-size:10px}.admin-small-panel{min-width:0}

/* Menus d'actions des tâches */
.dashboard-table-card,.dashboard-table-card .table-wrap{overflow:visible}.row-menu{position:relative;z-index:2}.row-menu[open]{z-index:90}.row-menu summary{display:grid;place-items:center;width:32px;height:30px;border-radius:7px;color:#55708b;font-weight:800;letter-spacing:1px;cursor:pointer;list-style:none}.row-menu summary::-webkit-details-marker{display:none}.row-menu summary:hover,.row-menu[open] summary{background:#edf3fb;color:var(--blue)}.row-menu>div{position:absolute;right:0;top:34px;width:205px;padding:6px;border:1px solid #dbe4ee;border-radius:9px;background:#fff;box-shadow:0 12px 30px rgba(21,50,83,.18)}.row-menu a,.row-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:10px;border:0;border-radius:6px;background:#fff;color:#26435f;font-size:12px;text-align:left;cursor:pointer}.row-menu a:hover,.row-menu button:hover{background:#eef4ff;color:var(--blue)}.row-menu svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.task-table{table-layout:fixed}.task-table th:nth-child(1){width:42px}.task-table th:nth-child(2){width:25%}.task-table th:nth-child(5){width:105px}.task-table th:nth-child(6),.task-table th:nth-child(7){width:90px}.task-table th:last-child{width:45px}.task-table td{overflow-wrap:anywhere}

/* Éditeurs de projet et de tâche */
.screen-heading{margin:0 0 20px}.screen-heading>a{display:inline-block;margin-bottom:8px;color:#48647f;font-size:13px}.screen-heading>a:hover{color:var(--blue)}.screen-heading h1{margin:0;color:#102b4d;font-size:27px}.screen-heading p{margin:7px 0 0;color:var(--muted);font-size:14px}.project-editor-grid,.task-editor-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.9fr);gap:18px;align-items:start}.editor-main,.editor-sidebar{display:flex;min-width:0;flex-direction:column;gap:18px}.editor-panel{padding:22px;box-shadow:none}.editor-panel-heading{margin-bottom:19px}.editor-panel-heading h2{margin:0;color:#173654;font-size:17px}.editor-panel-heading h2 small{color:var(--muted);font-size:12px;font-weight:500}.editor-panel-heading p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.editor-fields{display:grid;gap:17px}.editor-fields.two-columns{grid-template-columns:1fr 1fr}.editor-fields.three-columns{grid-template-columns:repeat(3,1fr)}.editor-fields .field-span-2{grid-column:1/-1}.editor-fields label{display:block;color:#233e5a;font-size:13px;font-weight:700}.editor-fields label>b,.member-picker legend>b{color:#d23a36}.editor-fields label>small,.member-picker legend small{color:var(--muted);font-weight:500}.editor-fields input,.editor-fields select,.editor-fields textarea,.dynamic-field input{display:block;width:100%;margin-top:7px;border:1px solid #cbd7e4;border-radius:7px;background:#fff;color:var(--navy);font-size:14px}.editor-fields input,.editor-fields select,.dynamic-field input{height:42px;padding:0 12px}.editor-fields textarea{padding:11px 12px;resize:vertical;line-height:1.55}.editor-fields input:focus,.editor-fields select:focus,.editor-fields textarea:focus,.dynamic-field input:focus{outline:3px solid #dce8ff;border-color:var(--blue)}.editor-fields em{display:block;margin-top:5px;color:#74869a;font-size:10px;font-style:normal;font-weight:400;line-height:1.4}.member-picker{min-width:0;margin:22px 0 0;padding:0;border:0}.member-picker legend{color:#233e5a;font-size:13px;font-weight:750}.member-picker>p{margin:5px 0 11px;color:var(--muted);font-size:11px}.member-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.member-picker label{display:grid;grid-template-columns:auto 30px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 8px;min-width:0;padding:9px;border:1px solid #e1e7ef;border-radius:8px;background:#fbfcfe;cursor:pointer}.member-picker label:hover{border-color:#b9ceeb;background:#f4f8ff}.member-picker input{grid-row:1/3;margin:0}.person-avatar{display:grid;grid-row:1/3;place-items:center;width:28px;height:28px;border-radius:50%;background:#0f5cb4;color:#fff;font-size:9px;font-weight:800}.member-picker strong,.member-picker small{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.member-picker strong{font-size:12px}.member-picker small{color:var(--muted);font-size:9px}.assignment-picker{margin:0}.assignment-picker>div,.compact-member-picker>div{grid-template-columns:1fr}.dynamic-field{display:grid;grid-template-columns:24px minmax(0,1fr) 32px;align-items:center;gap:7px;margin-bottom:9px}.dynamic-field input{margin:0}.drag-handle,.checklist-marker{display:grid;place-items:center;color:#7690aa;font-size:13px}.checklist-marker{width:21px;height:21px;border-radius:5px;background:#edf5ff;color:#1673ce}.remove-field{display:grid;place-items:center;width:31px;height:31px;border:0;border-radius:6px;background:transparent;color:#71859a;font-size:20px;cursor:pointer}.remove-field:hover{background:#fff0f0;color:#c93431}.add-field{margin-top:4px;padding:8px 11px;font-size:12px}.editor-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:13px 16px;box-shadow:none}.editor-tip{display:flex;gap:12px;padding:17px;border-color:#c9dcf8;background:#f4f8ff;box-shadow:none}.editor-tip>span{color:var(--blue)}.editor-tip svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.editor-tip strong{color:#175cae}.editor-tip p{margin:5px 0 0;color:#49657f;font-size:11px;line-height:1.5}

/* Fiche projet lisible et sans défilement horizontal */
.project-detail-header{grid-template-columns:minmax(300px,1fr) 180px minmax(190px,230px) auto!important;gap:20px}.project-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.project-header-actions .button{gap:7px;padding:9px 12px;font-size:11px;white-space:nowrap}.project-header-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.project-identity p,.project-identity small{font-size:11px}.project-header-progress strong{font-size:16px}.project-header-progress small,.project-next-deadline small,.project-next-deadline strong{font-size:10px}.project-next-deadline a{font-size:11px}.project-tabs{overflow-x:clip}.project-tabs a{font-size:12px}.project-task-table{width:100%;table-layout:fixed}.project-task-table th{padding:10px 9px;font-size:10px}.project-task-table td{height:51px;padding:8px 9px;font-size:11px;overflow-wrap:anywhere}.project-task-table .task-title{font-size:12px}.project-task-table .badge{font-size:9px}.project-task-table th:nth-child(1){width:25%}.project-task-table th:nth-child(2){width:14%}.project-task-table th:nth-child(3){width:19%}.project-task-table th:nth-child(4){width:12%}.project-task-table th:nth-child(5){width:12%}.project-task-table th:nth-child(6){width:12%}.project-task-table th:nth-child(7){width:36px}.project-section-row th{font-size:11px}.project-task-footer>a,.project-task-footer>div,.project-task-footer b{font-size:10px}.project-info-card h2{font-size:14px}.project-info-card h2>a{color:var(--blue);font-size:10px}.project-info-card dt,.project-info-card dd{font-size:11px}.project-info-card .badge{font-size:9px}.project-members strong,.project-notes strong{font-size:11px}.project-members small,.project-notes small{font-size:10px}.project-assignee i,.project-members i{font-size:8px}.project-sections-list{display:flex;flex-direction:column;gap:10px}.project-sections-list>div{display:flex;align-items:flex-start;gap:8px}.project-sections-list i{flex:0 0 4px;width:4px;height:30px;border-radius:4px}.project-sections-list span,.project-sections-list strong,.project-sections-list small{display:block;min-width:0}.project-sections-list strong{font-size:11px}.project-sections-list small{margin-top:3px;color:var(--muted);font-size:9px}.project-history-card{margin-top:16px;overflow:hidden;box-shadow:none}.project-history-card ol{list-style:none;margin:0;padding:8px 18px 14px}.project-history-card li{display:grid;grid-template-columns:8px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #edf1f5;color:#4d657d;font-size:11px}.project-history-card li:last-child{border:0}.project-history-card li>span{width:6px;height:6px;margin-top:5px;border-radius:50%;background:var(--blue)}.project-history-card strong{color:#25435f}.project-history-card time{display:block;margin-top:3px;color:#8493a3;font-size:9px}.history-empty{padding:18px}.task-detail-title{margin:5px 0 3px;font-size:26px}.task-checklist-view{margin-top:22px;padding-top:17px;border-top:1px solid var(--border)}.task-checklist-view h2{margin:0 0 11px;font-size:16px}.task-checklist-view>div{display:flex;align-items:center;gap:9px;padding:7px 0}.task-checklist-view>div>span{display:grid;place-items:center;width:20px;height:20px;border:1px solid #b9c9da;border-radius:5px;color:#fff;font-size:11px}.task-checklist-view p{margin:0}.task-checklist-view .is-done>span{border-color:#24a46a;background:#24a46a}.task-checklist-view .is-done p{text-decoration:line-through;color:var(--muted)}

@media(max-width:1280px){.project-detail-header{grid-template-columns:minmax(0,1fr) auto!important}.project-next-deadline{display:none}.project-header-actions{justify-self:end}.admin-secondary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.project-editor-grid,.task-editor-grid{grid-template-columns:1fr}.editor-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-grid{grid-template-columns:1fr}.project-info-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.project-task-table{min-width:0!important}.project-task-table th:nth-child(2),.project-task-table td:nth-child(2),.project-task-table th:nth-child(6),.project-task-table td:nth-child(6){display:none}.project-task-table th:nth-child(1){width:31%}.project-task-table th:nth-child(3){width:25%}.project-task-table th:nth-child(4),.project-task-table th:nth-child(5){width:17%}}
@media(max-width:700px){.screen-heading h1{font-size:23px}.editor-sidebar,.editor-fields.two-columns,.editor-fields.three-columns,.member-picker>div{grid-template-columns:1fr}.editor-fields .field-span-2{grid-column:auto}.editor-panel{padding:17px}.editor-footer{position:sticky;z-index:15;bottom:0;margin-left:-12px;margin-right:-12px;border-radius:0}.project-detail-header{grid-template-columns:1fr!important}.project-header-actions{justify-self:start;flex-wrap:wrap}.project-tabs{flex-wrap:wrap;padding:8px}.project-tabs a{min-height:36px}.project-info-column{grid-template-columns:1fr}.project-task-table{min-width:0!important}.project-task-table th:nth-child(3),.project-task-table td:nth-child(3),.project-task-table th:nth-child(4),.project-task-table td:nth-child(4){display:none}.project-task-table th:nth-child(1){width:auto}.project-task-table th:nth-child(5){width:105px}.task-table{min-width:0!important}.task-table th:nth-child(3),.task-table td:nth-child(3),.task-table th:nth-child(4),.task-table td:nth-child(4),.task-table th:nth-child(5),.task-table td:nth-child(5),.task-table th:nth-child(7),.task-table td:nth-child(7){display:none}.task-table th:nth-child(2){width:auto}.task-table th:nth-child(6){width:95px}.row-menu>div{position:absolute;right:0;width:220px}.admin-table th,.admin-table td{padding-left:8px;padding-right:8px}.admin-primary-grid .admin-table th:nth-child(3),.admin-primary-grid .admin-table td:nth-child(3),.admin-primary-grid .admin-table th:nth-child(5),.admin-primary-grid .admin-table td:nth-child(5){display:none}}
