/* Grandes étapes de l'organisation : distinctes de la check-list détaillée. */
#content:has(.rp-surface:not([hidden]))>[data-section-dashboard]{display:none!important}
.rp-workspace{--rp-pink:var(--crm-accent,#eb008b);--rp-ink:#293750;--rp-muted:#687791;--rp-line:#e8e3f0;--rp-green:#299975;--rp-purple:#8855d9;--rp-coral:#e84f78;color:var(--rp-ink)}
.rp-workspace [hidden]{display:none!important}.rp-viewbar{display:flex;gap:8px;margin:0 0 16px}.rp-viewbar button{display:inline-flex;align-items:center;gap:9px;font:600 14px inherit;font-family:inherit;font-size:14px;padding:10px 16px;min-height:42px;border:1px solid #dce1ed;border-radius:12px;background:#fff;color:#586985}.rp-viewbar button svg{width:19px;height:19px;flex-shrink:0}.rp-viewbar button.active{background:#fcecf5;color:var(--crm-accent,#eb008b);border-color:#f0b5d6;box-shadow:inset 0 -2px var(--crm-accent,#eb008b)}
.rp-surface{background:white;border:1px solid var(--rp-line);border-radius:21px;overflow:clip}.rp-header{display:flex;align-items:center;gap:13px;padding:20px 24px;border-bottom:1px solid var(--rp-line);background:linear-gradient(100deg,#fff3f9,#fbfaff 65%,#fff)}.rp-heading-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #f4cde2;background:white;border-radius:12px;color:var(--rp-pink)}.rp-heading-icon svg{width:24px;height:24px}.rp-header .rp-title{font-size:23px;margin:0 0 3px;font-weight:700;color:var(--rp-ink)}.rp-header p{margin:0;color:var(--rp-muted);font-size:13px}.rp-head-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.rp-workspace button,.rp-workspace select,.rp-form button{font-family:inherit}.rp-primary,.rp-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font-size:13px;font-weight:600;min-height:38px;padding:9px 13px;line-height:1.2;white-space:nowrap}.rp-primary{background:var(--crm-accent,#eb008b);color:#fff;border:1px solid var(--crm-accent,#eb008b)}.rp-outline{background:#fff;color:#566885;border:1px solid #dbe1ee}.rp-primary svg,.rp-outline svg{width:18px;height:18px;flex-shrink:0}.rp-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:7px;border:1px solid #e4dfee;border-radius:9px;background:#fff;color:#725e96;cursor:pointer;text-decoration:none}.rp-icon svg{width:20px;height:20px;flex-shrink:0}.rp-icon:hover,.rp-outline:hover{border-color:#e99dc7;background:#fff4fa;color:var(--crm-accent,#eb008b)}.rp-icon:focus-visible,.rp-primary:focus-visible,.rp-outline:focus-visible{outline:3px solid #c6b1eb;outline-offset:3px}
.rp-body{display:grid;grid-template-columns:260px minmax(0,1fr);gap:26px;padding:24px}.rp-summary{align-self:start;position:sticky;top:16px;background:linear-gradient(160deg,#fcebf6,#f3eefa 65%,#faf7ff);border:1px solid #eadbed;border-radius:18px;padding:22px 20px}.rp-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#a5387c}.rp-summary h3{font-size:21px;line-height:1.25;margin:8px 0 20px;max-width:180px}.rp-gauge{position:relative;width:184px;height:215px;margin:0 auto 14px}.rp-tube{position:absolute;left:17px;top:4px;width:32px;height:164px;padding:5px;border:2px solid white;border-radius:20px 20px 12px 12px;background:#fff;box-shadow:0 0 0 1px #e3cde1;overflow:hidden}.rp-tube-fill{position:absolute;bottom:0;left:5px;right:5px;background:linear-gradient(0deg,var(--crm-accent,#eb008b),#ef5b9f);min-height:3px;border-radius:15px;transition:height .4s}.rp-tube>span{position:absolute;left:13px;width:12px;height:1px;background:#dccbdd;z-index:1}.rp-tube>span:nth-last-child(1){top:25%}.rp-tube>span:nth-last-child(2){top:50%}.rp-tube>span:nth-last-child(3){top:75%}.rp-tube>span:nth-last-child(4){top:95%}.rp-bulb{position:absolute;left:0;bottom:0;width:70px;height:70px;border:7px solid #fff;border-radius:50%;display:grid;place-items:center;background:var(--crm-accent,#eb008b);box-shadow:0 0 0 1px #e3cde1;color:white}.rp-bulb strong{font-size:23px;letter-spacing:-1px}.rp-bulb small{font-size:13px;letter-spacing:0;margin-left:1px}.rp-scale{position:absolute;left:81px;top:5px;height:160px;display:flex;flex-direction:column;justify-content:space-between;width:106px;color:#73647f;font-size:11px;line-height:1.3}.rp-score{font-size:12px;margin:14px 0 16px;text-align:center;color:#786783}.rp-score strong{font-size:20px;display:block;color:var(--crm-accent,#eb008b);margin-bottom:4px}.rp-summary-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px 7px;font-size:11px;color:#615d78;padding:14px 0;border-block:1px solid #e7d8e8}.rp-summary-stats>span{display:flex;align-items:center;gap:6px}.rp-dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#fff;border:1px solid #baafce}.rp-dot.done{background:#40ae87;border-color:#40ae87}.rp-dot.active{background:#9b6de6;border-color:#9b6de6}.rp-dot.blocked{background:#f27398;border-color:#f27398}.rp-next{padding-top:17px}.rp-next>span{display:block;color:#89708b;font-size:11px;margin-bottom:6px}.rp-next>strong{font-size:16px;color:var(--crm-accent,#eb008b)}.rp-next>p{font-size:12px;line-height:1.5;margin:6px 0 0}.rp-summary-note{font-size:10px;line-height:1.5;color:#8c7b98;margin:16px 0 0}.rp-late{display:flex;gap:6px;align-items:center;margin-top:14px;color:#b72e60;font-size:11px}.rp-late svg{width:15px;height:15px}
.rp-frise{min-width:0}.rp-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}.rp-filters{display:flex;gap:3px;flex-wrap:wrap}.rp-filters button{border:none;background:transparent;color:#71809a;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:500;min-height:32px}.rp-filters button.selected{background:#f7eaf3;color:var(--crm-accent,#eb008b);font-weight:700}.rp-steps{position:relative;display:flex;flex-direction:column;gap:12px}.rp-steps:before{content:'';position:absolute;left:119px;top:20px;bottom:20px;width:2px;background:linear-gradient(#f0b0d5,#d9c9ef 70%,#f2d5e6);z-index:0}.rp-step{display:grid;grid-template-columns:94px 30px minmax(0,1fr);align-items:start;column-gap:10px;position:relative}.rp-date{padding-top:15px;text-align:right}.rp-date strong{font-size:11px;line-height:1.4;display:block;color:#4e607b}.rp-date small{font-size:10px;display:block;color:#9c89ad;margin-top:4px}.rp-node{width:30px;height:30px;border:1px solid #ecd7e6;border-radius:50%;background:white;display:grid;place-items:center;margin-top:12px;color:#cc328c;z-index:1;box-shadow:0 0 0 5px white}.rp-node svg{width:18px;height:18px}.rp-step-card{display:flex;align-items:center;gap:13px;border:1px solid #e6e0ef;border-radius:13px;padding:15px 14px;background:white;min-width:0;box-shadow:0 3px 12px #2e1a5010}.rp-step-copy{flex:1;min-width:0}.rp-phase{font-size:9px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:#9971ad}.rp-step h3{font-size:15px;line-height:1.35;font-weight:600;color:#29364e;margin:4px 0 5px}.rp-step p{font-size:11.5px;line-height:1.5;color:#748098;margin:0;white-space:pre-line}.rp-meta{display:flex;align-items:center;gap:7px 12px;flex-wrap:wrap;margin-top:9px;font-size:10px;color:#7a8297}.rp-meta>span{display:inline-flex;align-items:center;gap:4px}.rp-meta svg{width:12px;height:12px}.rp-status{padding:4px 6px;background:#f7f5fa;color:#8a7c9b;border-radius:5px}.rp-step-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:156px}.rp-complete{color:#a39aaf}.rp-done .rp-step-card{background:#effaf5;border-color:#c9e8d8;box-shadow:none}.rp-done .rp-node{color:#fff;background:#3ba47f;border-color:#3ba47f}.rp-done .rp-phase,.rp-done .rp-status{color:#398b6f}.rp-done .rp-status{background:#d8f0e4}.rp-done .rp-complete{background:#fff;color:#21a46d;border-color:#9cd6bc}.rp-active .rp-step-card{background:#f8f4ff;border-color:#d4c2f1;border-left:3px solid #9d6adc}.rp-active .rp-node{color:#8e4bd1;border-color:#cdb1eb;background:#f4eaff}.rp-active .rp-status{background:#eaddfa;color:#7c4eb1}.rp-blocked .rp-step-card{background:#fff3f6;border-color:#f1c5d4;border-left:3px solid #ec7396}.rp-blocked .rp-status{background:#f9dce6;color:#bf3967}.rp-warning{color:#c34a72;font-weight:600}.rp-footnote{font-size:10px;color:#9a8ca8;margin:15px 0 0}.rp-feedback{font-size:13px;color:#c13e69;padding:0 24px 16px}.rp-feedback:empty{display:none}.rp-removed{font-size:12px;margin-top:22px;color:#8d7b9d}.rp-removed>div{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #eee8f3}.rp-empty,.rp-loading,.rp-error{padding:26px;color:#71819b;font-size:14px}.rp-error{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#bb3665}
.rp-form{font-family:inherit}.rp-form>label,.rp-form-grid>label{display:block;font-size:13px;font-weight:500;color:#52617a;margin-bottom:14px}.rp-form input,.rp-form select,.rp-form textarea{font:400 14px inherit;font-family:inherit;font-size:14px;margin-top:6px;min-height:40px;padding:9px 11px;border:1px solid #dce1ee;border-radius:10px;width:100%;box-sizing:border-box}.rp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.rp-form-actions{display:flex;gap:8px;align-items:center;margin-top:18px}.rp-delete{margin-left:auto;color:#d04b72}.rp-form-error{color:#be3a64;font-size:13px}.rp-form button svg{width:18px;height:18px}
@media(min-width:1500px){.rp-body{grid-template-columns:280px minmax(0,1fr);gap:32px}.rp-step h3{font-size:16px}.rp-step p{font-size:12px}}
@media(max-width:1050px){.rp-body{grid-template-columns:210px minmax(0,1fr);padding:18px;gap:18px}.rp-summary{padding:18px 14px}.rp-summary h3{font-size:19px}.rp-step{grid-template-columns:76px 26px minmax(0,1fr);gap:7px}.rp-steps:before{left:96px}.rp-node{width:26px;height:26px}.rp-step-card{align-items:flex-start;flex-wrap:wrap;padding:12px}.rp-step-actions{margin-left:auto;max-width:none}.rp-step-copy{flex-basis:100%}.rp-date strong{font-size:10px}.rp-header{padding:17px}.rp-header .rp-title{font-size:21px}.rp-primary,.rp-outline{font-size:12px}.rp-list-toolbar{flex-wrap:wrap}.rp-filters button{font-size:11px;padding:6px 8px}}
@media(max-width:700px){.rp-header{flex-wrap:wrap;gap:10px;padding:16px}.rp-head-actions{margin:8px 0 0;width:100%}.rp-head-actions .rp-primary{flex:1}.rp-body{grid-template-columns:1fr;padding:14px;gap:20px}.rp-summary{position:relative;top:auto;display:grid;grid-template-columns:90px 1fr;padding:16px;gap:5px 14px}.rp-eyebrow,.rp-summary h3{grid-column:2;margin:0}.rp-summary h3{font-size:18px;max-width:none}.rp-gauge{grid-column:1;grid-row:1/7;width:80px;height:160px;margin:0}.rp-tube{height:110px;left:21px;width:28px}.rp-bulb{left:1px;width:64px;height:64px;border-width:6px}.rp-scale{display:none}.rp-score{grid-column:2;text-align:left;margin:7px 0;font-size:11px}.rp-score strong{display:inline;font-size:18px;margin-right:3px}.rp-summary-stats{grid-column:2;padding:7px 0;gap:7px;font-size:10px}.rp-next{grid-column:2;padding-top:8px}.rp-next>span{margin-bottom:4px}.rp-next>strong{font-size:14px}.rp-next p{font-size:11px;margin:3px 0 0}.rp-summary-note{grid-column:1/-1;font-size:10px;margin:8px 0 0}.rp-late{grid-column:2;margin-top:6px}.rp-step{grid-template-columns:25px minmax(0,1fr);gap:9px}.rp-date{grid-column:2;grid-row:1;text-align:left;padding:0 0 5px;display:flex;align-items:center;gap:10px}.rp-date strong{font-size:11px}.rp-date small{margin:0}.rp-node{grid-column:1;grid-row:2;width:25px;height:25px;margin-top:13px}.rp-step-card{grid-column:2;grid-row:2}.rp-steps:before{left:12px;top:36px}.rp-step h3{font-size:14px}.rp-step p{font-size:11px}.rp-step-actions{gap:5px}.rp-step-actions .rp-icon{width:32px;height:32px;min-width:32px;min-height:32px}.rp-steps{gap:18px}.rp-list-toolbar{gap:7px;margin-bottom:14px}.rp-footnote{line-height:1.5}.rp-form-grid{grid-template-columns:1fr}.rp-header .rp-heading-icon{width:38px;height:38px}.rp-header p{font-size:11px}}
.rp-workspace .rp-summary h3{color:#293750!important}.rp-workspace .rp-summary .rp-next p{color:#665675!important}.rp-workspace .rp-summary-note{color:#8c7b98!important}
.rp-workspace button.rp-icon,.rp-form button.rp-icon{background:#fff!important;color:#725e96!important;border:1px solid #e4dfee!important;box-shadow:none!important}.rp-workspace button.rp-complete.is-done{color:#16a66c!important;background:#fff!important;border-color:#9cd6bc!important}
.rp-workspace button.rp-outline,.rp-form button.rp-outline{background:#fff!important;color:#566885!important;border:1px solid #dbe1ee!important;box-shadow:none!important}.rp-workspace .rp-filters button{background:transparent!important;color:#71809a!important;box-shadow:none!important}.rp-workspace .rp-filters button.selected{background:#f7eaf3!important;color:var(--crm-accent,#eb008b)!important}
.rp-workspace .rp-primary,.rp-form .rp-primary{background:var(--crm-accent,#eb008b)!important;color:#fff!important;border-color:var(--crm-accent,#eb008b)!important;box-shadow:none!important}
@media(prefers-reduced-motion:reduce){.rp-tube-fill{transition:none}}

#content:has(.rp-surface:not([hidden]))>.lg-event-link{display:none!important}

.rp-workspace .rp-step-actions{max-width:196px;flex-shrink:0}.rp-workspace button.rp-delete,.rp-form button.rp-delete{color:#c63168!important;border-color:#f0cbdc!important;background:#fff5f9!important}.rp-workspace button.rp-delete:hover,.rp-form button.rp-delete:hover{background:#fde7f1!important;border-color:#e99abd!important}

/* Match the compact preparation banners and their action controls. */
html body main #content .rp-surface{border-radius:16px}
html body main #content .rp-header{display:flex;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:10px;min-height:62px;margin:12px 12px 0!important;padding:10px 12px!important;border:1px solid #eadde7;border-left:4px solid var(--crm-accent,#eb008b);border-radius:12px;background:linear-gradient(110deg,#fff0f7,#f7f9fc);box-shadow:none}
html body main #content .rp-header>.rp-heading-icon{flex:0 0 34px;width:34px;height:34px;border-radius:9px;color:var(--crm-accent,#eb008b);background:#fff}
html body main #content .rp-header>.rp-heading-icon svg{width:20px;height:20px}
html body main #content .rp-header .rp-title{font-size:18px!important;font-weight:650;line-height:1.3;margin:0}
html body main #content .rp-header .rp-head-actions{display:flex;align-items:center;gap:6px;margin:0 0 0 auto!important;flex-wrap:wrap}
html body.crm-clarity main #content .rp-header .rp-head-actions>button{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;gap:7px;height:36px;min-height:36px!important;padding:7px 11px!important;border-radius:9px!important;font-family:inherit;font-size:13px!important;font-weight:600!important;line-height:1.25!important;box-shadow:none!important}
html body.crm-clarity main #content .rp-header .rp-head-actions>button svg{width:18px;height:18px;margin:0;flex:none}
html body.crm-clarity main #content .rp-header .rp-head-actions>[data-rp-refresh]{width:36px;min-width:36px;padding:8px!important}
html body.crm-clarity main #content .rp-header .rp-head-actions>[data-rp-pdf]{background:#fff!important;color:#465973!important;border:1px solid #dbe0ed!important}
html body main #content .rp-body{padding:14px;gap:18px}
@media(max-width:600px){html body main #content .rp-header{flex-wrap:wrap;margin:10px 10px 0!important;padding:10px!important}html body main #content .rp-header .rp-head-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 36px;width:100%;margin:4px 0 0!important}html body.crm-clarity main #content .rp-header .rp-head-actions>button{min-width:0;font-size:12px!important;padding:7px 9px!important}html body.crm-clarity main #content .rp-header .rp-head-actions>[data-rp-add]{white-space:normal}html body main #content .rp-body{padding:10px;gap:14px}}

/* Dates represent completion deadlines; chronology is the only ordering. */
.rp-date-label{display:block;font-size:9px;line-height:1.4;color:#748098;margin:0 0 2px}
.rp-date-help{font-size:11px;line-height:1.4;color:#697891;text-align:right}
@media(max-width:700px){.rp-date{flex-wrap:wrap;gap:4px 8px}.rp-date-label{margin:0;font-size:10px}.rp-date-help{text-align:left;font-size:10px}.rp-list-toolbar{justify-content:flex-start}}
