/* Kasséo · page Outils (chargée après style.css et kx.css) */
.ot{--o-ink:#141518;--o-mut:#6b6a66;--o-line:#e4e2dc;--o-red:#d62839;--o-red2:#b3172a;font-family:'Geist',system-ui,sans-serif}
.ot .wrap{padding-top:0;padding-bottom:0}
.ot-hero{padding-top:clamp(56px,7vw,96px)!important;text-align:center}
.ot-hero h1{margin:0 auto 14px!important;max-width:17ch!important}
.ot-lede{max-width:58ch;margin:0 auto;color:var(--o-mut);font-size:18px;line-height:1.6}
.ot-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:34px auto 0;max-width:980px}
.ot-tabs a{display:flex;align-items:center;gap:10px;padding:10px 16px 10px 10px;border-radius:14px;background:#fff;border:1px solid var(--o-line);color:var(--o-ink);text-decoration:none;font-weight:600;font-size:15px;box-shadow:0 1px 2px rgba(20,21,24,.04);transition:transform .15s,box-shadow .15s}
.ot-tabs a:hover{transform:translateY(-2px);box-shadow:0 12px 26px -14px rgba(20,21,24,.35)}
.ot-tabs b,.ot-num{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--o-ink);color:#fff;font-size:13px;font-weight:700;flex:none}
.ot-sec{padding-top:clamp(56px,7vw,90px)!important;scroll-margin-top:90px}
.ot-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px;max-width:860px}
.ot-num{width:40px;height:40px;border-radius:12px;background:var(--o-red);font-size:17px;margin-top:4px}
.ot-head h2{margin:0 0 8px!important;font-size:clamp(26px,3vw,38px)!important;max-width:none!important}
.ot-head p{margin:0;color:var(--o-mut);font-size:16.5px;line-height:1.55}
.ot-card{background:#fff;border:1px solid var(--o-line);border-radius:24px;padding:clamp(18px,2.6vw,30px);box-shadow:0 1px 2px rgba(20,21,24,.04),0 12px 32px -16px rgba(20,21,24,.22)}
.ot-card+.ot-card{margin-top:18px}
.ot-grid2{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:clamp(18px,3vw,40px);align-items:start}
.ot-form{display:flex;flex-direction:column;gap:14px}
.ot-form label,.ot-where{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:600;color:var(--o-ink)}
.ot input,.ot select{font:500 15.5px 'Geist',system-ui,sans-serif;padding:11px 12px;border-radius:12px;border:1px solid var(--o-line);background:#faf9f7;color:var(--o-ink);min-width:0}
.ot input:focus,.ot select:focus{outline:2px solid rgba(214,40,57,.35);border-color:var(--o-red);background:#fff}
.ot-form .btn{align-self:flex-start}
.ot-note{font-size:13px;color:var(--o-mut);line-height:1.5;margin:4px 0 0}
.ot-empty{color:var(--o-mut);font-size:15px;list-style:none;padding:18px;border:1px dashed var(--o-line);border-radius:14px;text-align:center;margin:0}
.ot-res{background:#faf9f7;border:1px solid #efede8;border-radius:18px;padding:clamp(16px,2.2vw,26px);min-height:220px}
.ot-kick{font-size:12.5px;font-weight:600;letter-spacing:.02em;color:var(--o-mut);margin:0 0 6px}
.ot-big{font-size:clamp(22px,2.4vw,30px);font-weight:500;letter-spacing:-.03em;margin:0;line-height:1.15}
.ot-big b{font-weight:700;color:var(--o-red2)}
.ot-sub{color:var(--o-mut);margin:6px 0 12px}
.ot-res h4{margin:18px 0 6px;font-size:14px;letter-spacing:.01em}
.ot-res p{line-height:1.55;margin:0 0 6px}
.ot-res a{color:var(--o-red2)}
.ot-to,.ot-check{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.ot-to li,.ot-check li{position:relative;padding-left:22px;line-height:1.45;font-size:15px}
.ot-to li::before{content:"";position:absolute;left:4px;top:8px;width:7px;height:7px;border-radius:50%;background:var(--o-red)}
.ot-check li{padding-left:0}.ot .ot-check label{flex-direction:row;font-size:15px;font-weight:400;color:var(--o-ink);line-height:1.45;display:flex;gap:10px;align-items:flex-start;cursor:pointer}.ot .ot-check input{width:18px;height:18px;min-height:0;box-sizing:border-box;margin:1px 0 0;padding:0;accent-color:var(--o-red);flex:none}.ot-check input:checked+*,.ot-check label:has(input:checked){color:var(--o-mut);text-decoration:line-through}
.ot-alert{margin:10px 0 4px;padding:10px 14px;border-radius:12px;background:#fff4e5;color:#7a4a00;font-size:14.5px;line-height:1.45}
.ot-alert.red{background:#fdecee;color:#8f1220}.ot-alert.ok{background:#eaf6ec;color:#1f5a2a}
.ot-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn.sm{padding:7px 12px!important;font-size:13.5px!important}
/* recherche par lieu */
.ot-loc{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.ot-where{flex:1 1 220px}
.ot-loc .btn{height:44px}
.ot-chips{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;margin-top:4px}
.ot-chips button{font:600 13.5px 'Geist',system-ui,sans-serif;padding:7px 12px;border-radius:999px;border:1px solid var(--o-line);background:#fff;color:var(--o-ink);cursor:pointer}
.ot-chips button.on{background:var(--o-ink);border-color:var(--o-ink);color:#fff}
.ot-msg{color:var(--o-mut);font-size:14.5px;margin:14px 0 10px}
.ot-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.ot-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-height:560px;overflow:auto;padding-right:4px}
.ot-labs{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));max-height:none;overflow:visible}
.ot-list li{border:1px solid var(--o-line);border-radius:16px;padding:12px 14px;background:#fff;cursor:default;transition:border-color .15s,box-shadow .15s}
#x-list li{cursor:pointer}
.ot-list li:hover{border-color:#cfcbc2}
.ot-list li.on{border-color:var(--o-ink);box-shadow:0 0 0 1px var(--o-ink)}
.ot-li-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.ot-li-h b{font-size:15.5px;line-height:1.3}
.ot-km{flex:none;font-weight:700;font-size:13px;background:#f1efea;border-radius:999px;padding:3px 9px}
.ot-list p{margin:3px 0 0;color:var(--o-mut);font-size:14px;line-height:1.4}
.ot-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px!important}
.tg{display:inline-block;font:600 11.5px 'Geist',system-ui,sans-serif;padding:3px 8px;border-radius:999px;background:#f1efea;color:var(--o-ink)}
.tg.d{background:#fdecee;color:#8f1220}.tg.n{background:#eef2f8;color:#1d3a6b}.tg.i{background:#eee;color:#555}
.tg.p{background:#eaf6ec;color:#1f5a2a}.tg.a{background:#eef2f8;color:#1d3a6b}.tg.m{background:#fff4e5;color:#7a4a00}
.ot-lk{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px!important}
.ot-lk a{color:var(--o-red2);font-weight:600;font-size:13.5px;text-decoration:none}
.ot-lk a:hover{text-decoration:underline}
.ot-map{position:sticky;top:96px}
.ot-map iframe{width:100%;aspect-ratio:4/3.4;border:0;border-radius:16px;background:#eeece7}
.ot-maplink{margin:6px 0 0;font-size:13px}.ot-maplink a{color:var(--o-mut)}
.ot-help{margin-top:16px;border-top:1px solid var(--o-line);padding-top:14px}
.ot-help summary{cursor:pointer;font-weight:700;font-size:16px;list-style:none;display:flex;align-items:center;gap:8px}
.ot-help summary::before{content:"+";display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f1efea;font-size:15px}
.ot-help[open] summary::before{content:"–"}
.ot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:12px}
.ot-cols>div{background:#faf9f7;border-radius:14px;padding:14px}
.ot-cols h4{margin:0 0 6px;font-size:15px;display:flex;gap:8px;align-items:center}
.ot-cols p{margin:0;color:var(--o-mut);font-size:14px;line-height:1.5}
.ot-steps{margin:12px 0 0;padding-left:20px;display:grid;gap:8px;line-height:1.5;font-size:15px;color:#33332f}
.ot-steps.ul{list-style:disc}
.ot-steps a{color:var(--o-red2)}
.ot-src{font-size:12.5px;color:var(--o-mut);margin:16px 0 0;line-height:1.5}
/* équipe */
.ot-team-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.ot-team-h h3{margin:0;font-size:18px}
.ot-team{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ot-team li:not(.ot-empty){display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:12px;align-items:center;border:1px solid var(--o-line);border-left:4px solid #5fbf58;border-radius:14px;padding:10px 12px}
.ot-team li.or{border-left-color:#e7a440}.ot-team li.red{border-left-color:var(--o-red)}
.ot-team li span{display:block;font-size:13px;color:var(--o-mut)}
.ot-due{text-align:right}
.ot-team li.red .ot-due b{color:var(--o-red2)}
.ot-rec,.ot-del{font:600 12.5px 'Geist',system-ui,sans-serif;border:1px solid var(--o-line);background:#fff;border-radius:9px;padding:6px 9px;cursor:pointer;color:var(--o-ink)}
.ot-del{width:30px;padding:6px 0;font-size:16px;line-height:1}
.ot-find{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;align-items:center}
.ot-find h3{margin:0 0 6px;font-size:19px}.ot-find p{margin:0;color:var(--o-mut);line-height:1.5}
.ot-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ot-links a{display:block;padding:14px;border-radius:14px;border:1px solid var(--o-line);text-decoration:none;color:var(--o-ink);font-weight:700;background:#faf9f7}
.ot-links a:hover{border-color:var(--o-ink)}
.ot-links span{display:block;font-weight:500;font-size:13px;color:var(--o-mut);margin-top:3px}
.ot-find .ot-note{grid-column:1/-1}
@media (max-width:900px){.ot-grid2,.ot-split,.ot-find{grid-template-columns:1fr}.ot-cols,.ot-links{grid-template-columns:1fr}.ot-map{position:static;order:-1}.ot-list{max-height:none}}
@media (max-width:560px){.ot-where{flex-basis:100%}.ot-map iframe{aspect-ratio:16/11}.ot-tabs a{flex:1 1 100%}.ot-team li:not(.ot-empty){grid-template-columns:1fr auto;}.ot-due{text-align:left}.ot-loc .btn{flex:1}}

/* v2 : explications et exemples */
.ot-clair{display:flex;gap:14px;align-items:flex-start;background:#141518;color:#f1f0ec;border-radius:20px;padding:18px 22px;margin:0 0 14px}
.ot-clair>b{flex:none;font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:var(--o-red);color:#fff;border-radius:999px;padding:5px 10px;margin-top:2px}
.ot-clair p{margin:0;line-height:1.6;font-size:15.5px;color:rgba(255,255,255,.82)}.ot-clair p b{color:#fff}
.ot-ex{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.ot-ex span{font-size:13.5px;font-weight:600;color:var(--o-mut);margin-right:2px}
.ot-ex button{font:600 14px 'Geist',system-ui,sans-serif;padding:9px 14px;border-radius:12px;border:1px dashed #bdb9b0;background:#fff;color:var(--o-ink);cursor:pointer;transition:border-color .15s,background .15s}
.ot-ex button:hover{border-color:var(--o-ink)}
.ot-ex button.on{border:1px solid var(--o-ink);background:var(--o-ink);color:#fff}
.ot-ex.sm{margin:12px 0 0}.ot-ex.sm button{padding:6px 11px;font-size:13px;border-radius:999px}
.ot-exb{display:inline-block;font-size:12.5px;font-weight:600;background:#fff;border:1px solid var(--o-line);border-radius:999px;padding:4px 10px;margin:0 0 12px!important;color:var(--o-ink)}
.ot-frise{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0 6px;position:relative}
.ot-frise::before{content:"";position:absolute;left:16%;right:16%;top:7px;height:2px;background:#dcd9d2}
.ot-frise div{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}
.ot-frise i{width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid #bdb9b0;z-index:1;margin-bottom:6px}
.ot-frise .go i{border-color:var(--o-red);background:var(--o-red)}.ot-frise .late i{border-color:#8f1220;background:#8f1220}.ot-frise .end i{border-color:var(--o-ink);background:var(--o-ink)}
.ot-frise b{font-size:13px}.ot-frise span{font-size:13px;color:var(--o-mut)}
.ot-do{margin:0;padding-left:22px;display:grid;gap:8px;line-height:1.5;font-size:15px}
.ot-do li::marker{font-weight:700;color:var(--o-red)}
.ot-team-h>span{display:flex;gap:6px;flex-wrap:wrap}
@media (max-width:560px){.ot-clair{flex-direction:column}.ot-frise b,.ot-frise span{font-size:12px}}
/* ===== v3 : outils intelligents (chantier.js) ===== */
.ck-drop{border:2px dashed #cfccc4;border-radius:20px;padding:34px 20px;text-align:center;cursor:pointer;display:flex;flex-direction:column;gap:6px;align-items:center;background:#faf9f7;transition:.15s}
.ck-drop:hover,.ck-drop.on{border-color:var(--o-red);background:#fff5f6}
.ck-drop b{font-size:20px;letter-spacing:-.02em}.ck-drop span{color:var(--o-mut);font-size:14.5px}
.ck-drop .ck-priv{font-size:12.5px;margin-top:6px;color:#1f5a2a}
.ck-bar2{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin:16px 0 6px}
.ot .ck-inl{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px;font-weight:600}
.ot .ck-inl select{padding:7px 10px}
.ck-verdict{border-radius:18px;padding:18px 22px;margin:18px 0;background:#eaf6ec;color:#1f5a2a}
.ck-verdict.ck-orange{background:#fff4e5;color:#7a4a00}.ck-verdict.ck-red{background:#fdecee;color:#8f1220}
.ck-verdict>span{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8}
.ck-verdict>b{display:block;font-size:clamp(24px,2.6vw,32px);letter-spacing:-.03em;margin:2px 0 8px}
.ck-verdict ul{margin:0;padding-left:18px;display:grid;gap:3px;font-size:15px}
.ck-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ck-box{background:#faf9f7;border:1px solid #efede8;border-radius:18px;padding:18px 20px;margin-top:16px}
.ck-grid .ck-box{margin-top:16px}
.ck-box h4{margin:0 0 10px;font-size:15px}
.ck-box p{line-height:1.55;margin:0 0 8px}
.ck-obj{font-weight:600;font-size:16px}
.ck-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:10px 0 0;font-size:14.5px}
.ck-dl dt{color:var(--o-mut)}.ck-dl dd{margin:0}
.ck-src{display:inline-block;font-size:11.5px;font-weight:600;color:var(--o-mut);background:#fff;border:1px solid var(--o-line);border-radius:6px;padding:0 5px;margin-left:4px;vertical-align:1px;white-space:nowrap}
.ck-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px!important}
.ck-tags span{font-size:12.5px;font-weight:600;padding:4px 9px;border-radius:999px;background:#141518;color:#fff}
.ck-bar{display:flex;height:14px;border-radius:8px;overflow:hidden;gap:2px;margin-bottom:12px}
.ck-crit{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:15px}
.ck-crit li{display:flex;align-items:center;gap:8px}.ck-crit li>span{flex:1;display:flex;align-items:center;gap:8px}
.ck-crit li>span i{width:10px;height:10px;border-radius:3px;display:inline-block}
.ck-crit li.sub{padding-left:22px;color:var(--o-mut);font-size:14px}
.ck-pieges{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ck-pieges li{padding:9px 12px;border-radius:10px;font-size:14.5px;line-height:1.45;background:#fff4e5;color:#7a4a00}
.ck-pieges li.ck-red{background:#fdecee;color:#8f1220}.ck-pieges li.ck-info{background:#eef0f3;color:#2d3440}
.ck-cols{grid-template-columns:1fr 1fr;column-gap:20px}
.ck-t{width:100%;border-collapse:collapse;font-size:14.5px}
.ck-t th{text-align:left;font-size:12.5px;color:var(--o-mut);font-weight:600;padding:6px 8px;border-bottom:1px solid var(--o-line)}
.ck-t td{padding:9px 8px;border-bottom:1px solid #efede8;vertical-align:top}
.ck-t td small{display:block;color:var(--o-mut);font-size:12.5px;line-height:1.4;margin-top:2px}
.ck-t .r{text-align:right;white-space:nowrap}
.ot .ck-t input[type=checkbox]{width:18px;height:18px;min-height:0;padding:0;accent-color:var(--o-red)}
.ck-prep{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(18px,3vw,36px);align-items:start}
.ck-lh{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.ck-lnk{background:none;border:0;color:var(--o-red2);font:600 13.5px 'Geist',sans-serif;cursor:pointer;text-decoration:underline;padding:0}
.ck-row{display:grid;grid-template-columns:1fr 88px 30px;gap:6px 6px;align-items:center;padding:10px;border:1px solid #efede8;border-radius:14px;margin-bottom:8px;background:#faf9f7;position:relative}
.ck-row select{grid-column:1/-1;padding-right:30px}
.ck-row [data-f=z]{grid-column:1/-1}
.ot .ck-row input,.ot .ck-row select{min-height:0;padding:8px 10px;font-size:14.5px}
.ck-u{font-size:13.5px;color:var(--o-mut)}
.ck-x{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;border:1px solid var(--o-line);background:#fff;cursor:pointer;font-size:15px;line-height:1;color:var(--o-mut)}
.ck-x:hover{color:#fff;background:var(--o-red);border-color:var(--o-red)}
.ck-row [data-f=q]{grid-column:1}.ck-row .ck-u{grid-column:2}
.ck-param{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.ot .ck-param label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:600}
.ot .ck-param input{min-height:0;padding:9px 10px;font-size:14.5px}
.ck-det{margin-top:14px;font-size:14px}.ck-det summary{cursor:pointer;font-weight:600}
.ck-rend{display:grid;gap:8px;margin-top:10px}
.ot .ck-rend label{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:600}
.ot .ck-rend span{font-weight:400;color:var(--o-mut);font-size:12.5px}
.ot .ck-rend input{width:76px;min-height:0;padding:5px 8px;font-size:14px}
.ck-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ck-kpis>div{background:#141518;color:#fff;border-radius:16px;padding:14px 16px}
.ck-kpis span{font-size:12px;opacity:.7;font-weight:600}.ck-kpis b{display:block;font-size:22px;letter-spacing:-.02em;margin:2px 0}
.ck-kpis small{font-size:12px;opacity:.75;line-height:1.35;display:block}
.ck-kpis>div:first-child{background:var(--o-red)}
.ck-plan{list-style:none;margin:0;padding:0;display:grid;gap:0;counter-reset:j}
.ck-plan li{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:9px 0 9px 22px;border-left:2px solid #e4e2dc;position:relative;font-size:14.5px;line-height:1.45}
.ck-plan li::before{content:"";position:absolute;left:-6px;top:14px;width:10px;height:10px;border-radius:50%;background:var(--o-ink)}
.ck-plan li:first-child::before{background:var(--o-red)}
.ck-plan li.ck-late b,.ck-plan li.ck-late span{color:#8f1220}
.ck-plan2{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(18px,3vw,36px);align-items:start}
.ck-paper{background:#fff;border:1px solid var(--o-line);border-radius:6px;box-shadow:0 20px 40px -24px rgba(20,21,24,.35);padding:clamp(20px,3.4vw,48px);max-height:760px;overflow:auto}
.pr{font-family:'Geist',system-ui,sans-serif;font-size:14.5px;line-height:1.55;color:#141518}
.pr h1{font-size:28px;letter-spacing:-.03em;margin:0}.pr-sub{color:var(--o-mut);margin:4px 0 18px}
.pr h2{font-size:16px;color:var(--o-red2);margin:22px 0 8px;letter-spacing:-.01em}
.pr table{width:100%;border-collapse:collapse;margin:4px 0}.pr th,.pr td{border:1px solid #e4e2dc;padding:6px 9px;text-align:left;vertical-align:top}
.pr th{background:#faf9f7;width:30%;font-weight:600}
.pr mark{background:#ffe9a8;padding:0 3px;border-radius:3px}
.pr-sign{margin-top:26px;padding-top:14px;border-top:1px solid #e4e2dc}
.ck-rep{padding-bottom:0!important}.ck-rep h2{margin:6px 0 0!important}
@media (max-width:900px){.ck-prep,.ck-plan2,.ck-grid{grid-template-columns:1fr}.ck-kpis{grid-template-columns:1fr 1fr}.ck-cols{grid-template-columns:1fr}.ck-plan li{grid-template-columns:1fr;gap:0}.ck-t{font-size:13.5px}}
@media print{body.print-plan *{visibility:hidden}body.print-plan .ck-paper,body.print-plan .ck-paper *{visibility:visible}body.print-plan .ck-paper{position:absolute;left:0;top:0;max-height:none;overflow:visible;border:0;box-shadow:none}}

.ck-crit .ck-src{flex:none}
.ck-verdict li{list-style:disc}
@media (max-width:700px){.ck-box{overflow-x:auto}.ck-t td small{min-width:150px}.ck-kpis b{font-size:19px}.ck-dl{grid-template-columns:1fr;gap:0 0}.ck-dl dd{margin-bottom:8px}}
