:root{--ink:#17253b;--muted:#68768b;--line:#e1e7ef;--bg:#f5f7fa;--surface:#fff;--nav:#101f33;--accent:#126c59;--accent-pale:#e8f4ef;--danger:#b43a3a;--radius:13px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 "Segoe UI",system-ui,-apple-system,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6ca99a}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.2;margin-bottom:10px;font-weight:650}h2{font-size:18px;letter-spacing:-.35px;line-height:1.4;margin-bottom:10px}h3{font-size:16px;line-height:1.4}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;text-transform:uppercase;color:var(--accent);margin-bottom:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--nav);color:#b7c3d3;padding:30px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:white;font-weight:650;font-size:19px;letter-spacing:-.5px}.brand:hover{text-decoration:none}.brand small{display:block;font-size:8px;letter-spacing:1.6px;font-weight:500;margin-top:1px;color:#94a8bd}.brandmark{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#bdeacb;color:#143e35;font-size:30px;line-height:1}.workspace{display:flex;gap:10px;align-items:center;padding:15px 10px;margin:32px 0 26px;border:1px solid #2e3d50;border-radius:9px;color:#e4ebf3;font-size:12px}.workspace small{display:block;color:#8e9fb4;font-size:10px}.workspace-icon{background:#2a3e56;padding:7px;border-radius:6px;font-size:11px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#72889f;padding-left:12px;margin-bottom:10px}.nav-item{color:#acbdcf;display:flex;gap:12px;align-items:center;min-height:43px;padding:9px 13px;border-radius:7px;margin:4px 0;font-size:13px}.nav-item>span{font-size:19px;width:21px;text-align:center}.nav-item.active{background:#263c4c;color:#d9f4de;box-shadow:inset 3px 0 #a7dcb9}.nav-item:hover{background:#22364a;text-decoration:none;color:white}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-note{font-size:11px;color:#d2e0ee;padding:15px 10px;border-bottom:1px solid #2a3a4d;margin-bottom:12px}.sidebar-note small{display:block;color:#829ab0;font-size:10px;margin:8px 0}.status-dot{display:inline-block;width:6px;height:6px;vertical-align:middle;background:#69b493;border-radius:50%;margin-right:6px}.topbar{margin-left:250px;background:var(--surface);height:73px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.slash{margin:0 14px;color:#bcc4cf}.topbar-right{display:flex;align-items:center;gap:7px}.avatar{display:inline-grid;place-items:center;width:31px;height:31px;background:#e9edf3;color:#627289;border-radius:50%;font-weight:600;margin-left:15px}.wrap{margin-left:250px;max-width:1620px;padding:38px 40px 65px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{margin-bottom:0}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border-radius:7px;border:1px solid var(--accent);background:var(--accent);color:#fff;font-size:12px;font-weight:600;cursor:pointer;white-space:normal;text-align:center}.btn:hover{background:#105f4f;text-decoration:none}.btn.secondary{color:var(--ink);background:white;border-color:var(--line)}.btn.secondary:hover{background:#eef3f8}.btn.danger{background:white;color:var(--danger);border-color:#e8c9c9}.btn:disabled{opacity:.45;cursor:not-allowed}.card{padding:25px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:22px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.card-head h2{margin:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.metric{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 21px}.metric-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.metric-label span{color:#87a293;font-size:19px}.metric strong{display:block;font-size:32px;font-weight:600;line-height:1.4;margin:8px 0 4px;letter-spacing:-1px}.metric small{color:var(--muted);font-size:11px}.split{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.scenario-card{display:flex;flex-direction:column}.scenario-card h2{font-size:18px;margin-top:18px;min-height:50px}.scenario-card .actions{margin-top:auto;padding-top:12px}.scenario-card .muted{font-size:13px}.scenario-icon{display:grid;place-items:center;width:43px;height:43px;background:#edf4f1;border:1px solid #dce9e1;border-radius:12px;color:#43836e;font-size:24px}.meta{display:flex;justify-content:space-between;align-items:center;gap:10px}.pill{display:inline-block;padding:4px 9px;border-radius:5px;font-size:10px;font-weight:650;background:#eef1f6;color:#68768b;white-space:nowrap}.pill.brouillon{background:#f0f2f6;color:#6c7889}.pill.gate-incomplet,.pill.review{background:#fff1df;color:#9c611b}.pill.prete{background:#eaf5ef;color:#28765b}.pill.lancee,.pill.programmee{background:#eaf0fd;color:#476dad}.pill.terminee{background:#eaf3ef;color:#547467}.badge{font-size:10px;border:1px solid var(--line);padding:3px 8px;border-radius:5px;color:var(--muted)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th{text-align:left;font-size:10px;font-weight:600;color:#8a97a8;text-transform:uppercase;letter-spacing:.7px;background:#fafbfd;padding:12px 16px;border-bottom:1px solid var(--line)}td{padding:18px 16px;border-bottom:1px solid #edf0f4;font-size:12px}tr:last-child td{border-bottom:0}.company{font-weight:600;display:flex;align-items:center;gap:12px}.company-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e2e8ee;background:#f5f8fa;border-radius:8px;font-size:12px;color:#5c7e83}.row-link{font-weight:600;font-size:11px;white-space:nowrap}.filter{display:flex;gap:10px;margin-bottom:18px}.filter input{flex:1}.filter select{max-width:180px}.filter button{min-width:80px}label{display:block;font-size:12px;font-weight:600;margin:15px 0 6px}input:not([type]),input[type=search],input[type=text],input[type=password],input[type=email],input[type=date],input[type=datetime-local],input[type=number],input[type=url],select,textarea{width:100%;padding:11px 12px;border:1px solid #d9e1ea;border-radius:7px;background:#fff;color:var(--ink);line-height:1.35}input:disabled,textarea:disabled{background:#f4f6f9}input[type=checkbox]{accent-color:var(--accent);margin-right:7px}input[type=file]{max-width:100%;font-size:12px}textarea{resize:vertical}.field-help{font-size:11px;color:var(--muted);margin:6px 0 0}.form-actions{margin-top:20px}.msg{padding:14px 17px;border-radius:8px;margin-bottom:22px;font-size:12px;background:#e8f3ed;border:1px solid #d6e8dd;color:#367256}.msg.error{color:#9d4140;background:#fff0ee;border-color:#efdad6}.msg.info{background:#eff4fc;color:#526b8f;border-color:#dce6f4}.msg p:last-child{margin-bottom:0}.notice{border:1px solid #dfebdf;background:#f0f6ef;border-radius:10px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.notice p{font-size:12px;color:#677b6c;margin:3px 0 0}.notice strong{font-size:13px;color:#345c43}.empty{text-align:center;padding:48px 20px}.empty h2{margin:18px 0 8px}.empty p{color:var(--muted);font-size:13px}.empty .scenario-icon{margin:auto}.step{display:inline-grid;place-items:center;width:27px;height:27px;background:#edf4f0;color:var(--accent);border-radius:7px;font-size:12px;margin-right:10px}.steps{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0;color:var(--muted);font-size:11px}.steps span{border:1px solid var(--line);border-radius:6px;padding:8px 12px;background:white}.steps span.done{color:#27745a;border-color:#bbd9cc;background:#f1f8f3}.errs{color:#a46525;font-size:12px;padding-left:18px}.preview-frame{display:block;width:100%;height:650px;border:1px solid var(--line);border-radius:10px;background:white}.help-list{padding-left:19px;margin-bottom:0;font-size:12px;color:var(--muted)}.help-list li{margin:9px 0}.bar-row{display:flex;align-items:center;gap:12px;font-size:11px;margin:15px 0}.bar-row>span{min-width:78px;color:var(--muted)}.bar{height:7px;flex:1;background:#edf1f4;border-radius:5px;overflow:hidden}.bar>i{display:block;height:100%;background:#71a78e;border-radius:5px}.gauge{height:9px;background:#e5ebe8;border-radius:6px;overflow:hidden}.gauge-fill{height:100%;background:#438b71}.auth .wrap{margin:0 auto;padding:6vh 24px;max-width:1100px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:650px;background:white;border-radius:20px;overflow:hidden;border:1px solid var(--line)}.auth-story{background:var(--nav);color:white;padding:48px;display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:42px;line-height:1.18;margin-top:80px}.auth-story p{color:#9bb2c8;font-size:14px}.auth-story .eyebrow{color:#a6d8b6}.auth-form{padding:65px 45px;display:flex;flex-direction:column;justify-content:center}.auth-form h1{font-size:26px}.auth-form .btn{width:100%;margin-top:25px}.auth-form .muted{font-size:12px}.skip{position:absolute;left:-9999px}.skip:focus{left:270px;top:10px;z-index:50;background:#fff;padding:10px}.breadcrumb{font-size:11px;margin-bottom:20px}.section-note{font-size:11px;color:var(--muted);margin-top:18px}.client-card{border-left:3px solid #88b99a}.hidden{display:none!important}.status-banner{font-size:12px;padding:10px;border:1px solid var(--line);border-radius:6px;margin-top:10px}
@media(min-width:1700px){.wrap{padding-right:80px;padding-left:65px}}@media(max-width:1250px){.sidebar{width:218px;padding:26px 14px}.topbar,.wrap{margin-left:218px}.wrap{padding:30px 26px}.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.metrics{gap:12px}.metric{padding:16px}.topbar{padding:0 26px}}@media(max-width:800px){.sidebar{position:static;width:100%;padding:17px 20px;display:block}.brand{font-size:18px}.brand small{display:none}.brandmark{width:30px;height:30px;font-size:23px}.workspace,.nav-label,.sidebar-note{display:none}.sidebar nav{display:flex;overflow:auto;margin:15px -8px -5px;gap:6px}.nav-item{white-space:nowrap;min-height:36px;padding:6px 10px;font-size:11px}.nav-item>span{font-size:16px}.sidebar-bottom{padding:0;margin:0;display:none}.topbar{margin:0;height:49px;padding:0 20px}.wrap{margin:0;padding:25px 20px}.page-head{align-items:flex-start;margin-bottom:22px}.page-head .actions{justify-content:flex-end}.page-head h1{font-size:27px}.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:28px}.scenario-grid{grid-template-columns:1fr 1fr}.card{padding:20px}.auth-story{padding:32px}.auth-story h1{font-size:32px}.auth-form{padding:40px 27px}.auth-layout{min-height:580px}.skip:focus{left:10px}}@media(max-width:540px){.page-head{display:block}.page-head>.actions{margin-top:17px;justify-content:flex-start}.scenario-grid,.grid-2,.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.auth .wrap{padding:40px 18px}.auth-layout{min-height:520px}.metrics{gap:10px}.filter{flex-wrap:wrap}.filter input{flex-basis:100%}.filter select{flex:1;max-width:none}.notice{display:block}.notice .btn{margin-top:13px}.topbar-right{font-size:0}.avatar{font-size:12px}.wrap{padding:23px 15px}.card{padding:18px}.steps{gap:6px}.steps span{font-size:10px;padding:6px 8px}.preview-frame{height:700px}}
@media print{.sidebar,.topbar,.actions,form,.skip{display:none!important}.wrap{margin:0;padding:0}.card{break-inside:avoid}}
.mobile-only{display:none}@media(max-width:800px){.mobile-only{display:flex}.sidebar nav{scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}}

.sidebar{overflow-y:auto}.sidebar nav{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}fieldset{border:1px solid var(--line);border-radius:8px;padding:18px;margin:24px 0}legend{font-weight:650;padding:0 8px}input[type=radio]{accent-color:var(--accent);margin-right:8px}body:has(form[action^="/learn/"]) .wrap{margin-left:0}code{overflow-wrap:anywhere}

form>button{margin-top:14px}

.read-only form[method="post"]:not([action^="/ui/security/"]),.read-only a[href="#new-campaign"],.read-only a[href="#new-client"]{display:none}
