.shftr-command-center{background:linear-gradient(180deg,#f7f8fb 0,#f3f5f8 100%)}
.shftr-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:15px 17px;border:1px solid #ddd7ff;border-radius:13px;background:linear-gradient(135deg,#17152a,#252047);color:#fff}.shftr-mode-bar span,.shftr-mode-bar strong,.shftr-mode-bar small{display:block}.shftr-mode-bar span{color:#bdb2ff;font-size:7px;font-weight:900;letter-spacing:.12em}.shftr-mode-bar strong{margin-top:4px;font-size:13px}.shftr-mode-bar small{margin-top:3px;color:#cbd5e1;font-size:8px}.shftr-mode-bar select{min-width:235px;padding:10px;border:1px solid #ffffff24;border-radius:9px;background:#ffffff12;color:#fff;font-weight:750}.shftr-mode-bar option{color:#111827}
.shftr-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:12px}.shftr-kpis article{padding:14px;border:1px solid #e3e6eb;border-radius:11px;background:#fff}.shftr-kpis span,.shftr-kpis strong,.shftr-kpis small{display:block}.shftr-kpis span{color:#64748b;font-size:7px;font-weight:800;text-transform:uppercase}.shftr-kpis strong{margin-top:5px;color:#111827;font-size:18px}.shftr-kpis small{margin-top:3px;color:#94a3b8;font-size:7px}.shftr-dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:11px}.shftr-focus,.shftr-pulse,.shftr-action-list{padding:17px;border:1px solid #e3e6eb;border-radius:13px;background:#fff}.shftr-focus>header,.shftr-pulse>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #edf0f4}.shftr-focus header span,.shftr-pulse header span{color:#6d4aff;font-size:7px;font-weight:900;letter-spacing:.1em}.shftr-focus h2,.shftr-pulse h2{margin:4px 0 0;font-size:14px}.shftr-focus header button{border:0;background:transparent;color:#6d4aff;font-size:8px;font-weight:850;cursor:pointer}.shftr-priority{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:12px 2px;border:0;border-bottom:1px solid #edf0f4;background:transparent;text-align:left;cursor:pointer}.shftr-priority>i{width:8px;height:8px;border-radius:50%;background:#f59e0b}.shftr-priority.urgent>i{background:#ef4444}.shftr-priority strong,.shftr-priority span,.shftr-priority small{display:block}.shftr-priority span{color:#6d4aff;font-size:7px;font-weight:850;text-transform:uppercase}.shftr-priority strong{margin-top:3px;font-size:9px}.shftr-priority small{margin-top:3px;color:#64748b;font-size:7px}.shftr-priority>b{color:#94a3b8}.shftr-pulse-row{margin-top:13px}.shftr-pulse-row div{display:flex;justify-content:space-between;color:#475569;font-size:8px}.shftr-pulse-row i{display:block;height:6px;margin-top:6px;overflow:hidden;border-radius:99px;background:#eceff3}.shftr-pulse-row i b{display:block;height:100%;border-radius:99px;background:#7c5cff}
.shftr-today-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:11px}.shftr-today-summary div{padding:13px;border:1px solid #e3e6eb;border-radius:10px;background:#fff}.shftr-today-summary span,.shftr-today-summary strong{display:block}.shftr-today-summary span{color:#64748b;font-size:7px;text-transform:uppercase}.shftr-today-summary strong{margin-top:4px;font-size:16px}.shftr-action-list{padding:5px 17px}.shftr-action-list .shftr-priority{grid-template-columns:8px 70px minmax(0,1fr) auto}.shftr-action-list time{color:#6d4aff;font-size:8px;font-weight:850}.shftr-action-list .empty{padding:38px;text-align:center;color:#64748b;font-size:9px}
.compat-badge{display:inline-flex;padding:4px 8px;border-radius:99px;font-size:7px;font-weight:850}.compat-badge.confirmed{background:#d1fae5;color:#047857}.compat-badge.review{background:#fef3c7;color:#b45309}.compat-badge.incompatible{background:#fee2e2;color:#b91c1c}.compat-badge.unknown{background:#e5e7eb;color:#4b5563}
.shftr-compat-layout{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(0,1.2fr);gap:12px}.shftr-compat-form,.shftr-compat-result{padding:19px;border:1px solid #e3e6eb;border-radius:13px;background:#fff}.shftr-compat-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.shftr-compat-form header{grid-column:1/-1;padding-bottom:7px}.shftr-compat-form header span{color:#6d4aff;font-size:7px;font-weight:900;letter-spacing:.1em}.shftr-compat-form h2{margin:5px 0;font-size:15px}.shftr-compat-form p{margin:0;color:#64748b;font-size:8px;line-height:1.5}.shftr-compat-form label{color:#475569;font-size:8px;font-weight:750}.shftr-compat-form input{display:block;width:100%;height:38px;margin-top:5px;padding:0 10px;border:1px solid #dbe1e8;border-radius:8px;background:#f8fafc}.shftr-compat-form button{grid-column:1/-1}.shftr-empty-state{display:grid;place-items:center;min-height:280px;text-align:center}.shftr-empty-state strong,.shftr-empty-state span{display:block}.shftr-empty-state span{max-width:300px;margin-top:-120px;color:#94a3b8;font-size:8px}.shftr-compat-result header{padding:15px;border-radius:11px;background:#fffbeb}.shftr-compat-result header strong,.shftr-compat-result header span{display:block}.shftr-compat-result header strong{margin-top:7px;font-size:14px}.shftr-compat-result header span:last-child{margin-top:5px;color:#64748b;font-size:8px}.shftr-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.shftr-result-grid div{padding:11px;border-radius:9px;background:#f6f7fa}.shftr-result-grid span,.shftr-result-grid strong{display:block}.shftr-result-grid span{color:#94a3b8;font-size:7px;text-transform:uppercase}.shftr-result-grid strong{margin-top:4px;font-size:9px}.shftr-result-warning{margin-top:12px;padding:11px;border-left:3px solid #f59e0b;background:#fffbeb;color:#92400e;font-size:8px;line-height:1.5}.shftr-compat-actions{display:flex;gap:8px;margin-top:12px}.shftr-compat-actions button{flex:1}
@media(max-width:1050px){.shftr-kpis{grid-template-columns:repeat(3,1fr)}.shftr-dashboard-grid,.shftr-compat-layout{grid-template-columns:1fr}}@media(max-width:680px){.shftr-mode-bar{align-items:stretch;flex-direction:column}.shftr-mode-bar select{min-width:0;width:100%}.shftr-kpis,.shftr-today-summary{grid-template-columns:1fr 1fr}.shftr-action-list .shftr-priority{grid-template-columns:8px 55px minmax(0,1fr)}.shftr-action-list .shftr-priority>b{display:none}.shftr-compat-form{grid-template-columns:1fr}.shftr-compat-form header,.shftr-compat-form button{grid-column:auto}.shftr-result-grid{grid-template-columns:1fr}}

/* Isolation stricte de l’espace métier SHFTR */
body.workspace-shftr .sidebar nav>:not(.shftr-nav-group){display:none}
body.workspace-shftr .shftr-nav-group{display:block}
body.workspace-shftr #quickCreateButton{display:none}
body.workspace-shftr .demo-pill{display:none}
body.workspace-shftr .brand-mark{background:#7c5cff}
body.workspace-shftr .brand span:last-child::after{content:' / SHFTR';color:#a897ff;font-size:8px;font-weight:800;letter-spacing:.04em}

/* Parcours rapide et catalogue de prestations */
.shftr-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.shftr-quick-actions button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:2px 10px;padding:13px;border:1px solid #e1e4ea;border-radius:11px;background:#fff;text-align:left;cursor:pointer;transition:.16s ease}.shftr-quick-actions button:hover{border-color:#bfb4ff;box-shadow:0 7px 20px #3c2ca10c;transform:translateY(-1px)}.shftr-quick-actions button>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f0edff;color:#6d4aff;font-size:8px;font-weight:900}.shftr-quick-actions strong,.shftr-quick-actions small{display:block}.shftr-quick-actions strong{font-size:9px}.shftr-quick-actions small{color:#8a94a5;font-size:7px}
.shftr-service-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}.shftr-service-summary article{padding:13px 15px;border:1px solid #e3e6eb;border-radius:10px;background:#fff}.shftr-service-summary span,.shftr-service-summary strong{display:block}.shftr-service-summary span{color:#64748b;font-size:7px;text-transform:uppercase}.shftr-service-summary strong{margin-top:5px;font-size:16px}.shftr-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shftr-service-card{padding:16px;border:1px solid #e3e6eb;border-radius:12px;background:#fff}.shftr-service-card.inactive{opacity:.62}.shftr-service-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.shftr-service-card header span{color:#6d4aff;font-size:7px;font-weight:900;letter-spacing:.09em}.shftr-service-card h2{margin:4px 0 0;font-size:14px}.shftr-service-card header>strong{white-space:nowrap;font-size:13px}.shftr-service-card>p{min-height:32px;margin:12px 0;color:#64748b;font-size:8px;line-height:1.55}.shftr-service-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.shftr-service-card dl div{padding:9px;border-radius:8px;background:#f7f8fa}.shftr-service-card dt{color:#94a3b8;font-size:7px}.shftr-service-card dd{margin:4px 0 0;font-size:9px;font-weight:800}.shftr-service-card>small{display:block;min-height:27px;margin-top:10px;color:#8a94a5;font-size:7px;line-height:1.5}.shftr-service-card footer{display:flex;gap:7px;margin-top:11px;padding-top:10px;border-top:1px solid #edf0f4}.shftr-service-card footer button{flex:1;padding:8px;border:1px solid #dedbea;border-radius:7px;background:#faf9ff;color:#5b46cf;font-size:7px;font-weight:850;cursor:pointer}
@media(max-width:1050px){.shftr-quick-actions,.shftr-service-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.shftr-quick-actions,.shftr-service-grid{grid-template-columns:1fr}.shftr-service-summary{grid-template-columns:1fr 1fr}}

/* Centre de contrôle Autopilote */
.shftr-autopilot-mode{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:11px;padding:16px 18px;border-radius:13px;background:linear-gradient(135deg,#121526,#26214b);color:#fff}.shftr-autopilot-mode span,.shftr-autopilot-mode strong,.shftr-autopilot-mode small{display:block}.shftr-autopilot-mode span{color:#bdb2ff;font-size:7px;font-weight:900;letter-spacing:.12em}.shftr-autopilot-mode strong{margin-top:5px;font-size:14px}.shftr-autopilot-mode small{margin-top:4px;color:#cbd5e1;font-size:8px}.shftr-autopilot-mode select{min-width:300px;padding:10px;border:1px solid #ffffff28;border-radius:8px;background:#ffffff12;color:#fff}.shftr-autopilot-mode option{color:#111827}.shftr-autopilot-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:11px}.shftr-autopilot-kpis article{padding:13px 15px;border:1px solid #e3e6eb;border-radius:10px;background:#fff}.shftr-autopilot-kpis span,.shftr-autopilot-kpis strong{display:block}.shftr-autopilot-kpis span{color:#64748b;font-size:7px;text-transform:uppercase}.shftr-autopilot-kpis strong{margin-top:5px;font-size:14px}.shftr-autopilot-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:11px}.shftr-autopilot-rules,.shftr-connections{padding:17px;border:1px solid #e3e6eb;border-radius:12px;background:#fff}.shftr-autopilot-rules>header,.shftr-connections>header{padding-bottom:12px;border-bottom:1px solid #edf0f4}.shftr-autopilot-rules header span,.shftr-connections header span{color:#6d4aff;font-size:7px;font-weight:900;letter-spacing:.1em}.shftr-autopilot-rules h2,.shftr-connections h2{margin:4px 0 0;font-size:13px}.shftr-autopilot-rules>div>div,.shftr-connections>div>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f4}.shftr-autopilot-rules i,.shftr-connections i{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;font-style:normal}.shftr-autopilot-rules i.ready,.shftr-connections i.ready{background:#d1fae5;color:#047857}.shftr-autopilot-rules i.blocked,.shftr-connections i.missing{background:#fef3c7;color:#b45309}.shftr-autopilot-rules i::after{content:'✓'}.shftr-autopilot-rules i.blocked::after{content:'!'}.shftr-autopilot-rules strong,.shftr-autopilot-rules small,.shftr-connections strong,.shftr-connections small{display:block}.shftr-autopilot-rules strong,.shftr-connections strong{font-size:8px}.shftr-autopilot-rules small,.shftr-connections small{margin-top:3px;color:#94a3b8;font-size:7px}.shftr-autopilot-rules b,.shftr-connections b{color:#64748b;font-size:7px}.nav-item b.ready{background:#d1fae5!important;color:#047857!important}@media(max-width:850px){.shftr-autopilot-layout{grid-template-columns:1fr}.shftr-autopilot-kpis{grid-template-columns:1fr 1fr}}@media(max-width:620px){.shftr-autopilot-mode{align-items:stretch;flex-direction:column}.shftr-autopilot-mode select{min-width:0;width:100%}.shftr-autopilot-kpis{grid-template-columns:1fr}}

/* SHFTR classique optimisé — lisibilité et parcours direct */
body.workspace-shftr{--shftr-primary:#6d4aff;--shftr-primary-soft:#f1eeff;--shftr-text:#182033;--shftr-muted:#667085;--shftr-border:#e4e7ec;--shftr-surface:#fff;background:#f6f7f9;color:var(--shftr-text)}
body.workspace-shftr .content{max-width:1500px;padding:26px 30px 44px}
body.workspace-shftr .page-header{margin-bottom:22px}
body.workspace-shftr .page-header h1{font-size:26px;letter-spacing:-.035em}
body.workspace-shftr .page-header p{max-width:720px;font-size:14px;line-height:1.55;color:var(--shftr-muted)}
body.workspace-shftr .sidebar .nav-section{margin:20px 13px 7px;color:#98a2b3;font-size:10px;font-weight:800;letter-spacing:.11em}
body.workspace-shftr .sidebar .shftr-nav-subsection{margin-top:23px;padding-top:17px;border-top:1px solid #ececf1}
body.workspace-shftr .sidebar .nav-item{min-height:44px;margin:2px 7px;padding:0 13px;border-radius:10px;font-size:13px;font-weight:650;transition:background .18s ease,color .18s ease,transform .18s ease}
body.workspace-shftr .sidebar .nav-item:hover{background:#f3f1ff;color:#5138c9;transform:translateX(2px)}
body.workspace-shftr .sidebar .nav-item.active{background:#ece8ff;color:#5138c9;box-shadow:inset 3px 0 0 var(--shftr-primary)}
body.workspace-shftr .sidebar .nav-item b{min-width:23px;height:23px;padding:0 6px;border-radius:7px;font-size:11px;line-height:23px;text-align:center}
.shftr-mode-bar,.shftr-autopilot-mode{padding:19px 21px;border-radius:15px;box-shadow:0 10px 28px rgba(31,26,68,.1)}
.shftr-mode-bar span,.shftr-autopilot-mode span{font-size:10px}.shftr-mode-bar strong,.shftr-autopilot-mode strong{font-size:16px}.shftr-mode-bar small,.shftr-autopilot-mode small{font-size:12px;line-height:1.45}
.shftr-mode-bar select,.shftr-autopilot-mode select{min-height:44px;font-size:13px}
.shftr-quick-actions{gap:12px;margin-bottom:18px}
.shftr-quick-actions button{grid-template-columns:40px minmax(0,1fr);min-height:78px;padding:16px;border-color:var(--shftr-border);border-radius:14px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.shftr-quick-actions button:hover{border-color:#b9adff;box-shadow:0 10px 24px rgba(80,57,199,.1);transform:translateY(-2px)}
.shftr-quick-actions button:focus-visible,.shftr-priority:focus-visible,.shftr-service-card button:focus-visible{outline:3px solid rgba(109,74,255,.25);outline-offset:2px}
.shftr-quick-actions button>span{width:40px;height:40px;border-radius:11px;font-size:14px}.shftr-quick-actions strong{font-size:13px}.shftr-quick-actions small{margin-top:3px;font-size:11px;line-height:1.35}
.shftr-kpis,.shftr-autopilot-kpis{gap:12px;margin-bottom:18px}.shftr-kpis article,.shftr-autopilot-kpis article{padding:17px 18px;border-color:var(--shftr-border);border-radius:13px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.shftr-kpis span,.shftr-autopilot-kpis span{font-size:10px;letter-spacing:.025em}.shftr-kpis strong,.shftr-autopilot-kpis strong{margin-top:7px;font-size:22px;letter-spacing:-.025em}.shftr-kpis small{margin-top:5px;font-size:11px}
.shftr-dashboard-grid{gap:14px}.shftr-focus,.shftr-pulse,.shftr-action-list,.shftr-compat-form,.shftr-compat-result,.shftr-service-card{border-color:var(--shftr-border);border-radius:15px;box-shadow:0 1px 3px rgba(16,24,40,.04)}
.shftr-focus,.shftr-pulse{padding:21px}.shftr-focus header span,.shftr-pulse header span,.shftr-compat-form header span,.shftr-service-card header span{font-size:10px}.shftr-focus h2,.shftr-pulse h2,.shftr-compat-form h2,.shftr-service-card h2{font-size:17px}.shftr-focus header button{min-height:36px;padding:0 10px;font-size:12px}
.shftr-priority{min-height:70px;padding:14px 4px;gap:13px}.shftr-priority>i{width:10px;height:10px}.shftr-priority span{font-size:10px}.shftr-priority strong{margin-top:4px;font-size:13px;line-height:1.35}.shftr-priority small{margin-top:4px;font-size:11px;line-height:1.4}.shftr-priority>b{font-size:16px}
.shftr-pulse-row{margin-top:17px}.shftr-pulse-row div{font-size:12px}.shftr-pulse-row i{height:8px;margin-top:8px}
.shftr-today-summary{gap:12px;margin-bottom:14px}.shftr-today-summary div{padding:16px;border-radius:13px}.shftr-today-summary span{font-size:10px}.shftr-today-summary strong{font-size:21px}.shftr-action-list{padding:6px 20px}.shftr-action-list time{font-size:11px}.shftr-action-list .empty{font-size:13px}
.shftr-service-summary{gap:12px}.shftr-service-summary article{padding:16px;border-radius:13px}.shftr-service-summary span{font-size:10px}.shftr-service-summary strong{font-size:20px}
.shftr-service-grid{gap:13px}.shftr-service-card{padding:19px}.shftr-service-card header>strong{font-size:16px}.shftr-service-card>p{font-size:12px;line-height:1.55}.shftr-service-card dt{font-size:10px}.shftr-service-card dd{font-size:12px}.shftr-service-card>small{font-size:11px}.shftr-service-card footer button{min-height:40px;font-size:11px}
.compat-badge{padding:6px 10px;font-size:10px}.shftr-compat-form p,.shftr-compat-form label,.shftr-compat-result header span:last-child,.shftr-result-warning{font-size:12px}.shftr-compat-form input{height:44px;font-size:13px}.shftr-result-grid span{font-size:10px}.shftr-result-grid strong{font-size:12px}
body.workspace-shftr table th{font-size:11px}body.workspace-shftr table td{font-size:12px;line-height:1.4}body.workspace-shftr table td small{font-size:10px}
@media(max-width:900px){body.workspace-shftr .content{padding:22px 20px 36px}.shftr-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){body.workspace-shftr .content{padding:18px 14px 30px}body.workspace-shftr .page-header h1{font-size:22px}.shftr-quick-actions{grid-template-columns:1fr}.shftr-quick-actions button{min-height:70px}.shftr-kpis,.shftr-autopilot-kpis{grid-template-columns:1fr 1fr}.shftr-dashboard-grid{grid-template-columns:1fr}.shftr-mode-bar,.shftr-autopilot-mode{padding:17px}.shftr-mode-bar select,.shftr-autopilot-mode select{min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){.shftr-quick-actions button,body.workspace-shftr .sidebar .nav-item{transition:none}.shftr-quick-actions button:hover,body.workspace-shftr .sidebar .nav-item:hover{transform:none}}
