:root{--ink:#17140f;--ink2:#3a342c;--muted:#6b6359;--line:#e3dbcd;--paper:#f6f2ea;--card:#fffdf9;--sand:#ece4d6;--red:#c0272d;--red-d:#9e1f24;--red-l:#fbe6e7;--amber:#b86e00;--amber-l:#fff1d6;--green:#1f7a4a;--green-l:#e1f3e8;--blue:#1f5fa8;--blue-l:#e3eefb;--radius:14px;--shadow:0 1px 2px rgba(23,20,15,.06),0 4px 16px rgba(23,20,15,.05);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0;background:var(--paper);color:var(--ink)}body{font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}a{color:inherit}h1,h2,h3{margin:0;line-height:1.15;letter-spacing:-.01em}h1{font-size:26px;font-weight:800}h2{font-size:19px;font-weight:750}h3{font-size:16px;font-weight:700}p{margin:0}img{max-width:100%}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:20;background:var(--ink);color:var(--paper)}.topbar-in{max-width:1180px;margin:0 auto;gap:16px;padding:10px 16px}.topbar .brand,.topbar-in{display:flex;align-items:center}.topbar .brand{gap:10px;text-decoration:none}.topbar .brand img{height:30px}.topbar .role{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#d9cfbf;border:1px solid #4a443b;padding:2px 8px;border-radius:20px}.topnav{display:flex;gap:4px;margin-left:12px}.topnav a{text-decoration:none;padding:8px 12px;border-radius:10px;font-size:14px;color:#e6ddcf}.topnav a:hover{background:#2a251e}.topbar .right{margin-left:auto;display:flex;align-items:center;gap:10px}.bell{position:relative;text-decoration:none;font-size:20px;padding:6px 8px;border-radius:10px}.bell .dot{position:absolute;top:0;right:0;background:var(--red);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px}.who{font-size:13px;color:#d9cfbf;text-align:right;line-height:1.2}.linkbtn{background:none;border:0;color:#d9cfbf;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;padding:0}.page{max-width:1180px;margin:0 auto;padding:20px 16px 110px}.page.narrow{max-width:720px}.bottomnav{display:none}@media (max-width:760px){.hide-m,.topnav,.who{display:none!important}.topbar .role{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:var(--card);border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom))}.bottomnav a{flex:1 1;text-decoration:none;text-align:center;font-size:11px;color:var(--muted);padding:6px 2px;border-radius:10px}.bottomnav a span{display:block;font-size:22px;line-height:1.2}.bottomnav a.cta{color:#fff;background:var(--red);margin:0 4px}}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.stack{gap:12px}.stack,.stack-lg{display:flex;flex-direction:column}.stack-lg{gap:20px}.grid2{grid-template-columns:1fr 1fr;grid-gap:16px}.grid2,.grid3{display:grid;gap:16px}.grid3{grid-template-columns:repeat(3,1fr);grid-gap:16px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px}.main-side{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-gap:20px;gap:20px;align-items:start}@media (max-width:900px){.grid3,.grid4{grid-template-columns:1fr 1fr}.main-side{grid-template-columns:1fr}}@media (max-width:560px){.grid2{grid-template-columns:1fr}}.mt{margin-top:16px}.mt-s{margin-top:8px}.mb{margin-bottom:16px}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:12px}.right-a{text-align:right}.nowrap{white-space:nowrap}.pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.pagehead .kicker{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--red);font-weight:700;margin-bottom:4px}.back{display:inline-block;margin-bottom:10px;color:var(--muted);text-decoration:none;font-size:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}.card.pad0{padding:0;overflow:hidden}.card h2,.card-title{margin-bottom:12px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.card-title h2{margin:0}.kpi{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;text-decoration:none;display:block}.kpi .v{font-size:30px;font-weight:800;line-height:1.1}.kpi .l{font-size:13px;color:var(--muted)}.kpi.alert{background:var(--red);border-color:var(--red);color:#fff}.kpi.alert .l{color:#ffe1e2}.kpi.warn .v{color:var(--amber)}.empty{text-align:center;color:var(--muted);padding:28px 12px}.list{list-style:none;margin:0;padding:0}.list>li+li{border-top:1px solid var(--line)}.titem{display:flex;gap:12px;padding:14px 16px;text-decoration:none;align-items:flex-start}.titem:hover{background:#faf6ef}.titem .ic{font-size:22px;width:40px;height:40px;border-radius:12px;background:var(--sand);display:grid;place-items:center;flex:none}.titem .body{flex:1 1;min-width:0}.titem .t1{font-weight:650}.titem .t2{font-size:13px;color:var(--muted);margin-top:2px}.titem .side{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px}.titem.urgent{box-shadow:inset 4px 0 0 var(--red)}.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:650;padding:3px 9px;border-radius:20px;white-space:nowrap}.t-grey{background:var(--sand);color:var(--ink2)}.t-blue{background:var(--blue-l);color:var(--blue)}.t-amber{background:var(--amber-l);color:var(--amber)}.t-green{background:var(--green-l);color:var(--green)}.t-red{background:var(--red-l);color:var(--red-d)}.t-dark{background:var(--ink);color:var(--paper)}.sla{font-size:12px;font-weight:650}.sla.late{color:var(--red)}.sla.ok{color:var(--green)}.sla.soon{color:var(--amber)}label.f{display:block;font-weight:650;font-size:14px;margin-bottom:6px}.field{margin-bottom:16px}.hint{font-size:12px;color:var(--muted);margin-top:4px}input[type=date],input[type=email],input[type=month],input[type=number],input[type=password],input[type=tel],input[type=text],select,textarea{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ink)}textarea{min-height:96px;resize:vertical}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:700;font-size:15px;padding:12px 18px;border-radius:12px;border:1.5px solid var(--ink);background:var(--card);color:var(--ink);cursor:pointer;text-decoration:none;min-height:46px}.btn:hover{background:#f1ebe0}.btn.primary{background:var(--red);border-color:var(--red);color:#fff}.btn.primary:hover{background:var(--red-d)}.btn.dark{background:var(--ink);color:var(--paper)}.btn.ghost{border-color:var(--line)}.btn.sm{padding:7px 12px;min-height:36px;font-size:13px;border-radius:10px}.btn.block{width:100%}.btn.xl{min-height:60px;font-size:18px;border-radius:16px}.btn[disabled]{opacity:.55;cursor:wait}.inline-form{display:inline}.error{background:var(--red-l);color:var(--red-d)}.error,.success{padding:10px 14px;border-radius:12px;font-size:14px;margin-bottom:14px}.success{background:var(--green-l);color:var(--green)}.tiles{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:10px;gap:10px}.tiles.three{grid-template-columns:repeat(3,1fr)}@media (max-width:560px){.tiles{grid-template-columns:1fr 1fr}.tiles.three{grid-template-columns:1fr}}.tile{position:relative;display:block;cursor:pointer}.tile input{position:absolute;opacity:0;pointer-events:none}.tile .tbox{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;min-height:92px;padding:12px 8px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font-weight:650;font-size:14px;line-height:1.2}.tile .tbox .e{font-size:28px}.tile .tbox .h{font-weight:400;font-size:12px;color:var(--muted)}.tile input:checked+.tbox{border-color:var(--ink);background:var(--ink);color:var(--paper)}.tile input:checked+.tbox .h{color:#d9cfbf}.tile.u-URGENT input:checked+.tbox{background:var(--red);border-color:var(--red)}.tile input:focus-visible+.tbox{outline:3px solid var(--blue)}.tiles.three .tile .tbox{flex-direction:row;justify-content:flex-start;text-align:left;min-height:64px;padding:12px 14px}.tiles.three .tile .tbox .e{font-size:22px}.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));grid-gap:8px;gap:8px}.photos .ph,.photos a{aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--sand);display:block;position:relative}.photos img{width:100%;height:100%;object-fit:cover;display:block}.photos .tag{position:absolute;left:4px;bottom:4px;background:rgba(23,20,15,.75);color:#fff;font-size:10px;padding:1px 6px;border-radius:6px}.photo-add{aspect-ratio:1;border:1.5px dashed var(--muted);border-radius:10px;display:grid;place-items:center;text-align:center;font-size:13px;color:var(--muted);cursor:pointer;background:#fff}.photo-add span{display:block;font-size:26px}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;padding:0 0 14px 22px}.timeline li:before{left:5px;top:6px;width:10px;height:10px;border-radius:50%;border:2px solid var(--card);box-shadow:0 0 0 1px var(--line)}.timeline li:after,.timeline li:before{content:"";position:absolute;background:var(--line)}.timeline li:after{left:10px;top:18px;bottom:0;width:1px}.timeline li:last-child:after{display:none}.timeline li.STATUT:before{background:var(--ink)}.timeline li.ASSIGNATION:before{background:var(--blue)}.timeline li.COMMENTAIRE:before{background:var(--amber)}.timeline .m{font-size:14px}.timeline .w{font-size:12px;color:var(--muted)}.steps{display:flex;gap:4px;margin:6px 0 2px}.steps div{flex:1 1;height:6px;border-radius:3px;background:var(--line)}.steps div.on{background:var(--ink)}.steps div.cur{background:var(--red)}.steplabels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}table.t{width:100%;border-collapse:collapse;font-size:14px}table.t th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:650;padding:8px 10px;border-bottom:1.5px solid var(--line)}table.t td{padding:10px;border-bottom:1px solid var(--line);vertical-align:top}table.t tr.tot td{font-weight:750;background:#faf6ef}.tablewrap{overflow-x:auto}.hero{background:var(--red);color:#fff;border-radius:20px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-decoration:none;box-shadow:0 8px 24px rgba(192,39,45,.25)}.hero .big{font-size:24px;font-weight:800}.hero .sub{color:#ffe1e2;font-size:14px;margin-top:4px}.hero .plus{width:56px;height:56px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;font-size:34px;font-weight:300;flex:none}.gauge{height:14px;background:var(--sand);border-radius:8px;overflow:hidden;display:flex}.gauge .used{background:var(--ink)}.gauge .over{background:var(--red)}.actionbar{position:-webkit-sticky;position:sticky;bottom:72px;z-index:10;margin-top:16px}@media (min-width:761px){.actionbar{bottom:12px}}.sig-wrap{border:1.5px dashed var(--muted);border-radius:12px;background:#fff;touch-action:none;position:relative}.sig-wrap canvas{width:100%;height:180px;display:block}.sig-clear{position:absolute;right:8px;top:8px}.chk{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.seg{display:inline-flex;border:1.5px solid var(--line);border-radius:10px;overflow:hidden}.seg label{cursor:pointer}.seg input{position:absolute;opacity:0}.seg span{display:block;padding:8px 12px;font-size:13px;font-weight:650}.seg input:checked+span.ok{background:var(--green);color:#fff}.seg input:checked+span.ko{background:var(--red);color:#fff}.seg input:checked+span.na{background:var(--ink2);color:#fff}.auth{min-height:100vh;display:grid;place-items:center;padding:20px;background:var(--ink)}.auth .box{width:100%;max-width:400px;background:var(--card);border-radius:20px;padding:28px}.auth .logo{display:block;height:56px;margin:0 auto 8px}.public-head{background:var(--ink);color:var(--paper);padding:16px;text-align:center}.public-head img{height:34px}.public-head .site{font-size:14px;color:#d9cfbf;margin-top:6px}.qrsheet{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:16px;gap:16px}.qrcard{background:#fff;border:2px solid var(--ink);border-radius:16px;padding:18px;text-align:center;page-break-inside:avoid}.qrcard .qt{font-size:22px;font-weight:800}.qrcard img.qr{width:220px;height:220px}.qrcard .qs{font-weight:700;margin-top:4px}.qrcard .qa{font-size:12px;color:var(--muted)}.qrcard .qbar{height:8px;background:var(--red);border-radius:4px;margin:0 auto 12px;width:80px}@media print{.bottomnav,.noprint,.topbar{display:none!important}.page,body{background:#fff;padding:0}.card{box-shadow:none}}.rec-dot{width:12px;height:12px;border-radius:50%;background:#fff;display:inline-block;animation:blink 1s infinite}@keyframes blink{50%{opacity:.2}}.audio-note{background:var(--sand);border-radius:12px;padding:10px 12px}.audio-note audio{width:100%;margin-top:6px}.or-sep{text-align:center;font-size:12px;color:var(--muted);margin:8px 0}body,html{overflow-x:hidden;max-width:100%}.card,.error,.ok{overflow-wrap:anywhere}.grid2>*,.page>*,.stack-lg>*,.stack>*{min-width:0}.install-bar{position:fixed;left:10px;right:10px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:60;display:flex;gap:10px;align-items:center;background:#17140f;color:#fff;padding:10px 12px;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:560px;margin:0 auto}.install-bar img{width:42px;height:42px;border-radius:10px;flex:none}.install-txt{flex:1 1;font-size:13px;line-height:1.35;display:flex;flex-direction:column;gap:2px}.install-txt b{font-size:14px}.ios-share{display:inline-grid;place-items:center;width:20px;height:20px;border:1.5px solid #fff;border-radius:5px;font-size:12px}.install-x{background:none;border:0;color:inherit;font-size:16px;opacity:.7;padding:6px;cursor:pointer}.push-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#fff7e6;border:1px solid #f0d9a8;padding:10px 12px;border-radius:14px;margin-bottom:14px;font-size:14px}.push-bar>span{flex:1 1;min-width:180px}.push-bar .install-x{color:var(--ink)}body:has(.bottomnav) .install-bar{bottom:calc(78px + env(safe-area-inset-bottom))}@media (min-width:900px){body:has(.bottomnav) .install-bar{bottom:20px}}@keyframes shake{0%,to{transform:none}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}.shake{animation:shake .25s 2;border-color:var(--red)!important}