:root{--vert:#0B6E3A;--vert-fonce:#0A4A2A;--vert-clair:#DDEFE3;--orange:#E07B00;--orange-clair:#FDEBD3;--orange-texte:#6B3A00;--bleu-clair:#DCE6F2;--bleu-texte:#1F3B66;--rouge-clair:#FBE3E0;--rouge-texte:#8E1F14;--gris-clair:#ECEFEE;--gris-texte:#3E4A45;--fond:#F4F6F5;--carte:#FFFFFF;--texte:#1A2421;--muet:#55615C;--bord:#DDE3E0;--bord-fort:#C9D2CE;--ligne:#EEF1EF;--rayon:12px;--police:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;height:100%}body{font-family:var(--police);color:var(--texte);background:var(--fond);font-size:14px;line-height:1.45}a{color:var(--vert)}a:hover{color:#084f2a}:focus-visible{outline:3px solid var(--orange);outline-offset:2px}h1{font-size:24px;margin:0;font-weight:700}h2{font-size:17px;margin:0;font-weight:600}h3{font-size:15px;margin:0;font-weight:600}p{margin:0}.muted{color:var(--muet)}.small{font-size:13px}.xs{font-size:12px}.shell{display:flex;flex-wrap:wrap;min-height:100vh}.nav{flex:1 1 220px;max-width:260px;background:var(--vert-fonce);padding:24px 16px;display:flex;flex-direction:column;gap:4px}.nav .brand{display:flex;gap:10px;align-items:center;padding:0 8px 20px}.nav .logo{width:36px;height:36px;border-radius:8px;background:var(--orange);color:#2a1600;font-weight:700;display:flex;align-items:center;justify-content:center}.nav .brand b{color:#fff;display:block;font-size:15px}.nav .brand span{color:#bfd9c8;font-size:12px}.nav a{color:#e3f1e8;text-decoration:none;padding:11px 12px;border-radius:8px}.nav a:hover{color:#fff;background:#0f5c35}.nav a.on{background:var(--vert);color:#fff;font-weight:600}.nav .who{margin-top:auto;border-top:1px solid #1D6A43;padding:16px 8px 0;color:#bfd9c8;font-size:12px;display:flex;flex-direction:column;gap:6px}.nav .who b{color:#fff;font-size:13px}.nav .who button{background:none;border:1px solid #3F8A63;color:#e3f1e8;border-radius:6px;padding:6px 10px;font:inherit;cursor:pointer;align-self:flex-start}main{flex:999 1 560px;min-width:0;padding:28px 32px;display:flex;flex-direction:column;gap:20px}@media (max-width:820px){.nav{max-width:none;flex-basis:100%;flex-direction:row;flex-wrap:wrap;padding:12px}.nav .brand{padding:0 8px 8px;flex-basis:100%}.nav .who{margin:0;border:none;padding:8px;flex-basis:100%;flex-direction:row;align-items:center}main{padding:20px 16px}}.head{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:flex-start}.head .t{display:flex;flex-direction:column;gap:4px}.row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.col2{flex:2 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}.col1{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:20px}.card{background:var(--carte);border:1px solid var(--bord);border-radius:var(--rayon);padding:20px;display:flex;flex-direction:column;gap:12px}.card.flat{padding:16px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.grid.sm{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.kpi{gap:8px}.kpi .v{font-size:30px;font-weight:700}.stage{border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:6px;text-decoration:none}.stage b{font-size:24px}.split{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:4px}.field .l{font-size:12px;font-weight:600;color:var(--muet)}.empty{padding:24px;text-align:center;color:var(--muet);border:1px dashed var(--bord-fort);border-radius:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 18px;border-radius:8px;border:1px solid var(--bord-fort);background:#fff;color:var(--texte);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}.btn:hover{border-color:var(--vert)}.btn.primary{background:var(--vert);border-color:var(--vert);color:#fff}.btn.primary:hover{background:#085a2f}.btn.orange{background:var(--orange);border-color:var(--orange);color:#2a1600}.btn.danger{background:var(--rouge-texte);border-color:var(--rouge-texte);color:#fff}.btn.ghost{border-color:var(--vert);color:var(--vert)}.btn.sm{min-height:36px;padding:0 12px;font-size:13px}.btn[disabled]{background:var(--gris-clair);border-color:var(--gris-clair);color:var(--muet);cursor:not-allowed}.btn.sel{background:var(--vert);border-color:var(--vert);color:#fff}.actions{display:flex;flex-wrap:wrap;gap:10px}.badge{display:inline-block;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px;white-space:nowrap}.pill{display:inline-block;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;white-space:nowrap}.P1{background:var(--rouge-clair);color:var(--rouge-texte)}.P2{background:var(--orange-clair);color:var(--orange-texte)}.P3{background:#e3eef9;color:#1f4e86}.P4,.Pnone{background:var(--gris-clair);color:var(--gris-texte)}.s-dec{background:var(--vert);color:#fff}.s-dsi{background:var(--vert-clair);color:var(--vert-fonce)}.s-met{background:var(--orange-clair);color:var(--orange-texte)}.s-lk{background:var(--bleu-clair);color:var(--bleu-texte)}.s-urg{background:var(--rouge-clair);color:var(--rouge-texte)}.s-done{background:var(--gris-clair);color:var(--gris-texte)}.ok{background:var(--vert-clair);color:var(--vert-fonce)}.warn{background:var(--orange-clair);color:var(--orange-texte)}.bad{background:var(--rouge-clair);color:var(--rouge-texte)}.tablebox{overflow-x:auto}table.tb{width:100%;border-collapse:collapse}.tb th{font-size:12px;font-weight:600;color:var(--muet);text-align:left;padding:10px 12px;border-bottom:1px solid var(--bord);white-space:nowrap;background:#f8faf9}.tb td{padding:12px;border-bottom:1px solid var(--ligne);vertical-align:middle}.tb tr:last-child td{border-bottom:none}.tb a{font-weight:600}label.f{display:flex;flex-direction:column;gap:6px;font-weight:600}label.f.inline{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400}input[type=text],input[type=password],input[type=search],input[type=datetime-local],select,textarea{font:inherit;font-weight:400;border:1px solid var(--bord-fort);border-radius:8px;padding:10px 12px;background:#fff;color:var(--texte);min-height:44px;width:100%}textarea{resize:vertical;min-height:88px}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--vert);margin:0;flex:none}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.filters label.f{font-size:12px;color:var(--muet)}.filters select,.filters input{width:auto;min-width:160px}.form{display:flex;flex-direction:column;gap:16px}.form .two{display:flex;flex-wrap:wrap;gap:16px}.form .two>*{flex:1 1 220px}.hint{font-size:13px;color:var(--muet);font-weight:400}.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(10,minmax(92px,1fr));gap:6px;min-width:940px}.steps li{display:flex;flex-direction:column;gap:6px}.steps .bar{height:6px;border-radius:3px;background:var(--bord)}.steps .done .bar{background:var(--vert)}.steps .cur .bar{background:var(--orange)}.steps .n{font-size:12px;font-weight:700;color:var(--muet)}.steps .done .n{color:var(--vert)}.steps .cur .n{color:#8a4b00}.steps .lab{font-size:13px;font-weight:600;line-height:1.3}.log{display:flex;flex-direction:column}.log .e{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid var(--ligne);flex-wrap:wrap}.log .e .w{min-width:130px;color:var(--muet);font-size:13px}.log .e .u{min-width:170px;font-weight:600}.log .e .d{flex:1 1 300px}.alert{border-radius:10px;padding:12px 16px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--texte);color:#fff;padding:12px 18px;border-radius:10px;z-index:50;max-width:90vw}.toast.err{background:var(--rouge-texte)}dialog{border:none;border-radius:14px;padding:0;max-width:640px;width:calc(100% - 32px)}dialog::backdrop{background:#0a1e1473}dialog .in{padding:24px;display:flex;flex-direction:column;gap:16px}dialog .err{color:var(--rouge-texte);font-weight:600}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--vert-fonce)}.login .card{width:100%;max-width:420px;padding:32px;gap:18px}.login .logo{width:48px;height:48px;border-radius:10px;background:var(--orange);color:#2a1600;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:16px}.item{border:1px solid var(--bord);border-radius:var(--rayon);padding:18px 20px;display:flex;flex-direction:column;gap:12px;background:#fff}.item.decided{background:#f8faf9}.member{display:flex;align-items:center;gap:12px;min-height:44px;border-bottom:1px solid var(--ligne)}.member:last-child{border-bottom:none}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.card.split{flex-direction:row}.log .e .u{flex:0 0 200px;min-width:0}.log .e .d{flex:1 1 260px}.tb td:first-child a{white-space:nowrap}
