:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#1c2940;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:#1e6ada}small{font-size:11px}.shell{display:grid;grid-template-columns:258px 1fr;min-height:100vh}.sidebar{background:#0e1b34;color:#d2ddec;padding:25px 17px;display:flex;flex-direction:column;gap:10px}.brand{display:flex;align-items:center;gap:12px;margin:0 8px 34px}.brandmark{width:42px;height:42px;border-radius:12px;background:#2d70ef;display:grid;place-items:center;color:white;font-size:25px;font-weight:900;box-shadow:0 10px 26px #19438775}.brandmark span{color:#8bffce}.brand b{font-size:20px;letter-spacing:-.5px;color:white}.brand small{display:block;color:#8497b6;font-size:9px;letter-spacing:1.2px;margin-top:4px}.side-label{font-size:10px;letter-spacing:1.6px;color:#7487a8;font-weight:800;padding-left:14px;margin:5px 0}.side-label.mt{margin-top:24px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{width:100%;padding:12px 14px;display:flex;gap:12px;align-items:center;border:0;background:none;color:#a8b9d2;text-align:left;border-radius:9px;font-size:13px;font-weight:600}.nav button span{font-size:20px;width:24px;text-align:center}.nav button:hover,.nav button.active{background:#243b64;color:#fff}.side-bottom{margin-top:auto;border:1px solid #334b6b;padding:13px;border-radius:11px;color:#ccdbef;font-size:11px;line-height:1.5}.side-bottom p{margin:8px 0 0;color:#94a6be}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#62dfb2;margin-right:5px}main{min-width:0}.topbar{background:white;box-shadow:0 1px 2px #102a5110;padding:24px 34px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:115px}.breadcrumb,.eyebrow{font-size:10px;letter-spacing:1.7px;color:#8b9bb0;font-weight:800}h1{font-size:27px;letter-spacing:-.8px;margin:7px 0 0;color:#162442}h2{font-size:19px;margin:0 0 10px;color:#1b2b48}h3{font-size:15px;margin:0 0 9px;color:#1a2d4f}.topactions{display:flex;gap:16px;align-items:center}.modebadge{background:#f3f6fa;color:#6c7a92;padding:9px 12px;border-radius:50px;font-size:11px;font-weight:700}.modebadge.live{color:#067958;background:#e3f7ef}.btn{border:1px solid transparent;border-radius:9px;padding:11px 15px;font-weight:700;font-size:12px}.btn.primary{background:#2563e5;color:white;box-shadow:0 4px 10px #2563e525}.btn.primary:hover{background:#1352c9}.btn.secondary{background:white;border-color:#d5deea;color:#314665}.btn.ghost{background:#eff4ff;color:#245ab1}.btn.danger{background:#fff0f2;color:#a43342}.btn.small{padding:7px 10px;font-size:11px}.content{padding:29px 34px 65px;max-width:1500px;margin:auto}.view{display:block}.view[hidden]{display:none}.section-title{font-size:20px;margin:0 0 7px;color:#182b49}.muted{color:#728199}.subline{font-size:12px;color:#7d8da2;margin:0 0 22px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.panel,.kpi{background:white;border:1px solid #e5ebf2;border-radius:14px;padding:20px;box-shadow:0 3px 18px #18315408}.kpi .cap{color:#71819a;font-size:12px}.kpi strong{display:block;font-size:28px;letter-spacing:-1px;margin:9px 0 5px}.kpi .foot{font-size:11px;color:#7b8da5}.kpi:nth-child(2){border-top:3px solid #2375e4}.kpi:nth-child(3){border-top:3px solid #d59636}.kpi:nth-child(4){border-top:3px solid #2eaf84}.grid2{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:20px}.row{display:flex;justify-content:space-between;align-items:center;gap:10px}.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:11px;font-weight:800;color:#8796ac;background:#f7f9fc;white-space:nowrap}.table th,.table td{padding:13px 10px;border-bottom:1px solid #eef1f6;font-size:12px;vertical-align:top}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#f9fbfe}.button-link{border:0;background:none;color:#2563e5;font-weight:750;text-align:left;padding:0}.pill{display:inline-block;border-radius:30px;background:#eef3fa;color:#60738b;padding:5px 8px;font-size:10px;font-weight:700}.pill.ready{background:#e3f8eb;color:#117447}.pill.active{background:#e7efff;color:#215caa}.pill.blocked{background:#fff1df;color:#a26e17}.empty{padding:45px 14px;text-align:center;color:#8190a5}.empty b{display:block;color:#3e5170;margin:10px 0}.inlineactions{display:flex;gap:8px;flex-wrap:wrap}.selectbox{width:100%;margin:0 0 16px;border:1px solid #d8e0ec;background:#fff;padding:12px;border-radius:10px;color:#203454}.question-title{font-size:23px;letter-spacing:-.5px;margin:9px 0 14px}.question-desc{color:#6d7e95;font-size:12px;line-height:1.65}.answer-list{display:grid;gap:9px;margin:18px 0}.answer{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #dbe4f0;border-radius:10px;cursor:pointer;font-size:13px;background:#fff}.answer:has(input:checked){border-color:#2b6fdb;background:#eef4ff}.answer input{accent-color:#286de1}input[type=text],input[type=url],textarea,select,input[type=number],input:not([type]){padding:12px;border:1px solid #d6dfeb;border-radius:9px;width:100%;background:white;color:#23334d}textarea{min-height:115px;resize:vertical}label{display:block;color:#465973;font-size:12px;font-weight:650;margin:12px 0 7px}label input[type=checkbox]{width:auto;margin-right:8px}.note{font-size:12px;line-height:1.65;color:#677993}.note.warn{color:#986b13;background:#fff7e7;border-radius:9px;padding:11px}.progress{background:#eaf0f7;border-radius:30px;height:8px;overflow:hidden;margin:11px 0}.progress>div{height:100%;background:#2673df;border-radius:30px;transition:width .3s}.task{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f7}.task:last-child{border-bottom:0}.task input{accent-color:#2570de;margin-top:4px}.task b{font-size:13px}.task p{font-size:11px;color:#7a8a9e;margin:5px 0}.tag{font-size:10px;font-weight:800;color:#3162a7;background:#eaf2ff;padding:5px 8px;border-radius:7px}.attention{border-left:3px solid #dca342;background:#fff9ef;padding:12px 15px;border-radius:8px;font-size:12px;line-height:1.6}.info{border-left:3px solid #2c78de;background:#f1f6ff;padding:12px 15px;border-radius:8px;font-size:12px;line-height:1.6}.listline{border-bottom:1px solid #eef2f6;padding:11px 0;font-size:12px;line-height:1.5}.listline:last-child{border:0}.timeline{border-left:2px solid #dfebf9;padding-left:17px}.event{margin:0 0 18px;position:relative}.event:before{position:absolute;content:"";left:-23px;top:4px;width:10px;height:10px;border-radius:50%;background:#3473d7;border:3px solid #fff;box-shadow:0 0 0 1px #cbdafa}.event .at{font-size:10px;color:#8798af}.event p{font-size:12px;margin:6px 0}.metric{font-size:24px;font-weight:750;letter-spacing:-.8px;margin:9px 0}.notice{font-size:11px;color:#8a6a27;background:#fff8e7;border:1px solid #f6e2a8;border-radius:8px;padding:10px 12px;margin-bottom:14px}.comprow{display:grid;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:9px;align-items:end;margin-top:10px}.comprow label{margin:0}.scorecard{background:#f6f9fd;border:1px solid #e4ebf5;padding:15px;border-radius:10px}.scorecard b{font-size:22px}.actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px}.alert{margin:12px 34px -12px;padding:12px 15px;background:#e8f8f1;border:1px solid #bbecd3;border-radius:10px;color:#106e51;font-size:12px}.alert.error{background:#fff2ee;color:#a13f36;border-color:#f2c6be}dialog{border:0;border-radius:16px;padding:0;width:min(480px,92vw);box-shadow:0 30px 90px #111e354f}dialog::backdrop{background:#0b193a91}.dialog-content{padding:25px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px}.dialog-head h2{margin-top:6px}.x{border:0;background:#f3f6fa;font-size:25px;border-radius:8px;color:#77869a;width:35px;height:35px}.questionbox{min-height:290px}.callout{color:#3e5778;background:#f4f8ff;border-radius:10px;padding:15px;font-size:12px;line-height:1.7}.mobile-footer{display:none}.twoCols{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.airesult{white-space:pre-wrap;line-height:1.6;font-size:12px}.airesult h4{margin:0 0 8px}.airesult ol{padding-left:20px}@media(max-width:1000px){.kpis{grid-template-columns:repeat(2,1fr)}.grid2,.split{grid-template-columns:1fr}.sidebar{width:210px}.shell{grid-template-columns:210px 1fr}.topbar{padding:22px}.content{padding:22px}.comprow{grid-template-columns:1fr 1fr}}@media(max-width:680px){.shell{display:block}.sidebar{padding:13px;gap:0}.brand{margin:0 0 8px}.side-label,.sidebar .side-bottom,.sidebar .nav:not(:first-of-type){display:none}.nav{flex-direction:row;overflow-x:auto}.nav button{white-space:nowrap;font-size:11px;padding:9px 10px}.nav button span{display:none}.topbar{display:block;min-height:auto}.topactions{margin-top:15px}.content{padding:18px 12px}.kpis{grid-template-columns:1fr 1fr;gap:8px}.kpi{padding:14px}.kpi strong{font-size:22px}.panel{padding:16px}.table{display:block;overflow-x:auto}.comprow{grid-template-columns:1fr}.mobile-footer{display:block;text-align:center;padding:20px;color:#8a96a9;font-size:10px}.question-title{font-size:20px}}

/* SANCFIS visual identity — based on the logo supplied by the project owner.
   Indicative sampled tones, not a formally certified corporate style guide. */
:root{--sancfis-navy:#08487b;--sancfis-blue:#0674a7;--sancfis-sky:#50a5cc;--sancfis-teal:#43b09b;--sancfis-green:#72b61e;--sancfis-lime:#bbda12;--sancfis-ink:#32282a}
body{color:#243441;background:#f4f8f9}
.sidebar{background:linear-gradient(180deg,#073e69 0%,#062f51 100%);color:#e6f1f3}
.brand{align-items:center;gap:11px;margin:0 2px 29px;flex-wrap:wrap}
.brandlogo{background:#fff;border-radius:11px;display:flex;align-items:center;justify-content:center;min-width:148px;min-height:52px;padding:2px 5px;box-shadow:0 5px 16px #03223f26}
.brandlogo img{display:block;width:148px;height:52px;object-fit:contain}
.brandproduct{min-width:0}
.brandproduct b{font-size:19px;letter-spacing:-.5px;color:#fff}
.brandproduct small{color:#b7d6d9;font-size:8px;letter-spacing:1px;font-weight:700}
.side-label{color:#95c1cf}
.nav button{color:#c4dee8}
.nav button:hover,.nav button.active{background:#12638a;color:#fff}
.nav button.active{box-shadow:inset 3px 0 0 var(--sancfis-lime)}
.side-bottom{border-color:#377598;color:#d2e8eb}
.side-bottom p{color:#a8c7d3}
.pulse{background:var(--sancfis-green)}
.topbar{border-bottom:1px solid #e0eaeb}
.breadcrumb,.eyebrow{color:#277b94}
h1,h2,h3,.section-title{color:#123d56}
.btn.primary{background:var(--sancfis-blue);box-shadow:0 4px 12px #0674a724}
.btn.primary:hover{background:var(--sancfis-navy)}
.btn.ghost{background:#e8f5f6;color:#08688b}
.button-link{color:var(--sancfis-blue)}
a{color:var(--sancfis-blue)}
.panel,.kpi{border-color:#e0eaeb;box-shadow:0 3px 18px #08487b07}
.kpi:nth-child(2){border-top-color:var(--sancfis-blue)}
.kpi:nth-child(3){border-top-color:var(--sancfis-lime)}
.kpi:nth-child(4){border-top-color:var(--sancfis-teal)}
.answer:has(input:checked){border-color:var(--sancfis-teal);background:#eaf7f3}
.answer input,.task input{accent-color:var(--sancfis-teal)}
.progress>div{background:linear-gradient(90deg,var(--sancfis-blue),var(--sancfis-teal))}
.pill.active{background:#e5f3f7;color:#086083}
.pill.ready{background:#e5f7ef;color:#127153}
.info{background:#eef8fa;border-left-color:var(--sancfis-blue)}
.tag{background:#e9f4f7;color:#116681}
.event:before{background:var(--sancfis-teal)}
.callout{background:#f0f8f8;color:#35566b}
@media(min-width:681px){.brand{display:flex;flex-direction:column;align-items:flex-start}.brandproduct{padding:0 6px}}
@media(max-width:680px){.brand{flex-direction:row;align-items:center;margin-bottom:10px}.brandlogo{min-width:120px;min-height:43px}.brandlogo img{width:120px;height:auto}.brandproduct b{font-size:16px}.brandproduct small{font-size:7px}}

/* Copilot v0.2 — modes métiers et restitution de pré-analyse */
.copilot-intro{border-top:3px solid var(--sancfis-teal,#43b09b)}
.copilot-modes{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin:16px 0}
.copilot-mode{display:flex;flex-direction:column;gap:7px;text-align:left;padding:14px 12px;border:1px solid #d7e7e9;border-radius:11px;background:#f9fcfc;color:#164f67;min-height:100px}
.copilot-mode b{font-size:12px}
.copilot-mode small{display:block;color:#63838d;font-size:10px;line-height:1.5;letter-spacing:0}
.copilot-mode:hover,.copilot-mode.active{border-color:#32a39c;background:#eaf7f4}
.copilot-mode.active{box-shadow:inset 0 3px 0 #56af96}
.copilot-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.copilot-results section{border:1px solid #e1eeee;border-radius:10px;padding:14px;background:#fafdfd}
.copilot-results h4{margin:0 0 10px;color:#175871}
.copilot-results li,#copilotOutput li{font-size:12px;line-height:1.6;margin-bottom:8px;overflow-wrap:anywhere}
.copilot-results ol,#copilotOutput .notice ol{padding-left:20px;margin:0}
#copilotOutput .notice{margin-top:16px}
@media(max-width:1150px){.copilot-modes{grid-template-columns:repeat(3,minmax(130px,1fr))}.copilot-results{grid-template-columns:1fr}}
@media(max-width:680px){.copilot-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.copilot-mode{min-height:90px}}
