/* Kastor Africa — espace client suivi de chantier, référence fournie par le client */
body.kc-dashboard-page{background:#f8fafc!important;font-family:Inter,system-ui,-apple-system,sans-serif!important;color:#253244!important}
body.kc-dashboard-page>.kastor-client-header,body.kc-dashboard-page>.im-client-mobile-nav,body.kc-dashboard-page>.app-client-footer,body.kc-dashboard-page>footer{display:none!important}
body.kc-dashboard-page>main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
.kc-shell{display:flex;min-height:100vh;align-items:stretch;font-size:14px;line-height:1.5}
.kc-sidebar{background:#182333;color:#f8fafc;width:272px;min-width:272px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:100;overflow-y:auto}
.kc-brand{padding:21px 18px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #344052;color:white!important;text-decoration:none!important;font-weight:800;font-size:13px;line-height:1.2}
.kc-brand img{height:49px;width:57px;object-fit:contain;background:white;border-radius:10px;padding:4px}.kc-brand small{display:block;font-size:10px;letter-spacing:.1em;color:#b7c3d0;margin-top:5px}
.kc-selector{padding:20px 14px;border-bottom:1px solid #344052}.kc-sidebar-label{text-transform:uppercase;color:#aab6c5;font-size:11px;font-weight:700;letter-spacing:.08em;margin-bottom:8px}.kc-current-project,.kc-switch select{padding:12px;width:100%;border:1px solid #475467;border-radius:10px;color:white;background:#2a3749;font-size:13px;font-weight:600;overflow-wrap:anywhere}.kc-switch{margin:0}.kc-switch button{margin-top:8px}
.kc-nav{display:flex;flex-direction:column;padding:17px 12px;gap:4px;flex:1}.kc-nav a,.kc-sidebar-bottom a{color:#d5deea!important;text-decoration:none!important;padding:12px 13px;border-radius:10px;display:flex;align-items:center;gap:11px;font-weight:600}.kc-nav a:hover,.kc-sidebar-bottom a:hover{background:#2b394b}.kc-nav a.kc-active{background:#a30d20;color:white!important}.kc-nav b,.kc-counter{background:#b51529;color:#fff;font-size:12px;border-radius:20px;padding:1px 7px;margin-left:auto}.kc-sidebar-bottom{border-top:1px solid #344052;padding:12px}.kc-sidebar-bottom form{margin:2px 0}.kc-sidebar-bottom button{width:100%;background:transparent!important;color:#f8fafc!important;text-align:left;border-radius:9px;padding:12px;font-size:14px}.kc-sidebar-bottom button:hover{background:#2b394b!important}
.kc-main{flex:1;min-width:0}.kc-topbar{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid #e2e8f0;padding:18px clamp(18px,3vw,34px);display:flex;align-items:center;gap:15px;justify-content:space-between}.kc-topbar h1{font-size:20px!important;margin:0!important;color:#202c3c}.kc-topbar p{margin:2px 0 0;color:#66758a;font-size:12px}.kc-bell{margin-left:auto;color:#a30d20!important;text-decoration:none;font-size:23px;position:relative}.kc-bell b{position:absolute;top:-4px;right:-7px;background:#a30d20;color:white;border-radius:12px;font-size:10px;padding:0 5px}.kc-hamburger{display:none;background:#f1f5f9!important;color:#233247!important;padding:8px 12px!important}
.kc-content{max-width:1360px;margin:0 auto;padding:25px clamp(15px,3vw,35px) 50px}.kc-panel{background:white;border:1px solid #e0e6ee;border-radius:16px;box-shadow:0 3px 14px #14223708;padding:24px;margin:0 0 23px;min-width:0}.kc-panel h2{font-size:18px!important;margin:0!important;color:#243146!important}.kc-panel h3{font-size:15px!important;margin:5px 0!important;color:#263447}.kc-panel p{font-size:13px;color:#66758a}.kc-project-heading{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #edf1f5;padding-bottom:20px}.kc-project-heading h2{font-size:27px!important;margin:7px 0!important}.kc-reference{color:#9f0e22;background:#fff1f2;border-radius:6px;padding:5px 9px;font-weight:700;font-size:11px}.kc-project-actions{display:flex;align-items:center;gap:12px}.kc-project-actions>span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;text-align:center;padding:9px;font-size:12px;color:#64748b}.kc-project-actions strong{color:#253244}.kc-primary{display:inline-block;background:#a30d20!important;color:white!important;padding:10px 14px!important;border-radius:10px;text-decoration:none!important;border:0!important;font-weight:700;font-size:13px}.kc-progress-heading{display:flex;justify-content:space-between;gap:15px;margin:22px 0 7px;font-weight:700}.kc-progress-heading strong{font-size:27px;color:#a30d20}.kc-overview progress{display:block;width:100%;height:15px;accent-color:#a30d20}.kc-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:22px}.kc-mini-stats>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;padding:13px}.kc-mini-stats span{display:block;font-size:11px;color:#64748b}.kc-mini-stats strong{display:block;font-size:24px;color:#253244}.kc-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:23px}.kc-section-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;margin-bottom:17px;border-bottom:1px solid #edf1f5}.kc-section-head p{margin:3px 0 0}.kc-empty{background:#f8fafc;border:1px solid #e5eaf1;border-radius:10px;padding:15px;color:#64748b}.kc-empty p{margin:7px 0}.kc-feed-item{position:relative;padding:0 0 17px 32px;border-left:2px solid #e2e8f0;margin-left:10px}.kc-feed-dot{position:absolute;left:-14px;top:0;background:#228b62;color:white;border-radius:50%;width:26px;height:26px;text-align:center;line-height:26px;font-weight:bold}.kc-feed-card{background:#f8fafc;border:1px solid #e5eaf1;border-radius:11px;padding:16px}.kc-feed-meta{font-size:11px;color:#a30d20;font-weight:700}.kc-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.kc-subtitle{margin:18px 0 12px!important}.kc-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.kc-media-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px;min-width:0}.kc-media-card img{width:100%;height:112px;object-fit:cover;border-radius:7px}.kc-media-card p{font-size:12px;overflow-wrap:anywhere;margin:7px 0}.kc-media-card a{font-size:12px;color:#9f0e22;font-weight:700}.kc-document-icon{display:flex;height:112px;align-items:center;justify-content:center;background:#edf1f5;color:#a30d20;font-weight:800;font-size:24px}.kc-steps>div{display:flex;gap:10px;margin:14px 0}.kc-step-icon{background:#def5e7;color:#16724f;padding:5px 8px;border-radius:8px;height:30px}.kc-steps strong,.kc-steps small{display:block}.kc-steps small{color:#64748b}.kc-doc-row{display:flex;align-items:center;gap:8px;border:1px solid #e3e9f0;background:#f8fafc;padding:10px;border-radius:9px;margin:9px 0;text-decoration:none;color:#273448!important}.kc-doc-row span{flex:1;overflow-wrap:anywhere}.kc-panel textarea{width:100%;border:1px solid #ced7e2;border-radius:9px;padding:12px;display:block}.kc-panel label{font-size:13px}.kc-panel button{font-size:13px}.kc-panel .thread{margin:15px 0;max-height:340px;overflow:auto}.kc-panel .bubble{background:#edf2f7;padding:10px 13px;border-radius:11px;margin:5px 0}.kc-panel .bubble.self{background:#fbecef;margin-left:20px}.kc-panel .bubble p{color:#243146}.kc-push{margin-bottom:0}.kc-shade[hidden]{display:none!important}
@media(max-width:1050px){.kc-columns{grid-template-columns:1fr}.kc-mini-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.kc-sidebar{position:fixed;transform:translateX(-100%);transition:transform .2s ease;top:0;bottom:0}.kc-sidebar.kc-open{transform:translateX(0)}.kc-shade:not([hidden]){display:block;position:fixed;inset:0;background:#0f172a99;z-index:90}.kc-hamburger{display:block}.kc-topbar h1{font-size:17px!important}.kc-project-heading{flex-direction:column}.kc-project-actions{flex-wrap:wrap}.kc-content{padding:17px 12px}.kc-panel{padding:17px}.kc-mini-stats{gap:8px}}
@media(max-width:480px){.kc-mini-stats strong{font-size:20px}.kc-project-heading h2{font-size:22px!important}}
