/* V12.5.9 — tableau de bord Clair Premium, responsive PC et mobile. */
#main:has(.px1259-dashboard){max-width:none!important;padding-top:0!important}
.px1259-dashboard{width:100%;max-width:1500px;margin:0 auto;color:#16222c;font-family:inherit;padding:0 0 24px}
.px1259-icon{width:23px;height:23px;flex-shrink:0}
.px1259-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px;min-height:52px}
.px1259-top-title,.px1259-top-right{display:flex;align-items:center;gap:13px}
.px1259-top-title{color:#172b3c}.px1259-top-title h1{margin:0;font-size:22px!important;line-height:1.3!important;font-weight:800;color:#192938!important}.px1259-top-title>.px1259-icon{color:#15426a}
.px1259-search-wrap{position:relative;display:flex;align-items:center;gap:9px;border-radius:15px;border:1px solid #dcebe5;background:#fff;padding:0 15px;width:min(490px,34vw);box-shadow:0 4px 12px #0e593410;min-height:43px}
.px1259-search-wrap .px1259-icon{width:18px;color:#495b6b}.px1259-search-wrap input{width:100%;padding:10px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#1e2e3d;font-size:12px!important;min-width:0}
.px1259-search-results{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;border-radius:12px;border:1px solid #d8ebe0;background:white;box-shadow:0 18px 38px #002e2229;padding:7px;max-height:270px;overflow:auto}.px1259-search-results[hidden]{display:none!important}.px1259-search-results p{font-size:12px;margin:10px}.px1259-search-result{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px!important;min-height:40px!important;color:#1a2c3b!important;background:#fff!important;border:0!important;text-align:left!important;font-size:12px}.px1259-search-result:hover{background:#e9f9ee!important}.px1259-search-result small{color:#5e6b7b}
.px1259-bell{display:grid!important;place-items:center;width:44px!important;height:44px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#13395a!important;box-shadow:0 4px 13px #11291b12;border:1px solid #e4efe9!important}.px1259-avatar{display:grid;place-items:center;background:#123a5c;color:white;font-weight:850;width:43px;height:43px;border-radius:50%;flex:none}
.px1259-hero{background:#172b3c url('./hero-proprynex-v98.webp') right center/cover no-repeat;border-radius:20px;min-height:180px;padding:25px 29px;color:#fff;box-shadow:0 8px 20px #1148321a;display:flex;align-items:center;overflow:hidden;position:relative}.px1259-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#172b3d 0%,#1a3145 37%,transparent 76%);pointer-events:none}.px1259-hero-content{position:relative;z-index:1;max-width:70%}.px1259-kicker{color:#add9ff;letter-spacing:2.5px;font-size:11px;font-weight:900}.px1259-hero h2{color:white!important;font-size:clamp(27px,3.1vw,42px)!important;line-height:1.18!important;letter-spacing:-.7px;margin:11px 0 8px!important}.px1259-hero p{color:#e4f4e8;font-size:14px;margin:0 0 17px}.px1259-hero time{display:flex;align-items:center;gap:13px;color:#fff;font-weight:650;font-size:12px}.px1259-hero time .px1259-icon{width:18px;height:18px}.px1259-clock{border-left:1px solid #9fa9b7;padding-left:13px}
.px1259-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0 21px}
.px1259-kpi{display:grid!important;grid-template-columns:30px 1fr!important;align-content:start;column-gap:8px;row-gap:8px;min-height:130px!important;padding:19px 20px!important;border:0!important;border-radius:18px!important;text-align:left!important;box-shadow:none!important;color:#172b3c!important;transition:transform .15s ease,box-shadow .15s ease}
.px1259-kpi:hover{transform:translateY(-2px);box-shadow:0 10px 18px #00372516!important}.px1259-kpi .px1259-icon{width:27px;height:27px;grid-column:1;color:inherit}.px1259-kpi-label{font-weight:800;font-size:13px;align-self:center;color:inherit}.px1259-kpi strong{grid-column:1/-1;font-size:34px;line-height:1.05;color:inherit;font-weight:900}.px1259-kpi small{grid-column:1/-1;display:block;font-size:11px;color:#4c5b68;font-weight:500;line-height:1.35}
.px1259-kpi-green{background:linear-gradient(135deg,#f0fff0,#dee9f9)!important;color:#245581!important}.px1259-kpi-blue{background:linear-gradient(135deg,#f1f8ff,#dcecff)!important;color:#0958b4!important}.px1259-kpi-orange{background:linear-gradient(135deg,#fffaf2,#ffecd0)!important;color:#d87600!important}.px1259-kpi-gray{background:linear-gradient(135deg,#f3f6fa,#e5e9ef)!important;color:#1b2d3d!important}.px1259-kpi-red{background:linear-gradient(135deg,#fff5f5,#ffdee1)!important;color:#d20f19!important}
.px1259-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:4px 0 27px}.px1259-action{display:flex!important;align-items:center;justify-content:center;gap:14px;min-height:55px!important;min-width:190px;padding:12px 20px!important;border:1px solid #dbeae2!important;border-radius:14px!important;background:#fff!important;color:#123451!important;font-weight:800!important;font-size:15px!important;box-shadow:0 7px 17px #07492b14;transition:transform .15s}.px1259-action:hover{transform:translateY(-2px)}.px1259-action-primary{background:linear-gradient(105deg,#15436b,#1c354b)!important;color:#fff!important;border-color:transparent!important;min-width:280px}.px1259-action .px1259-icon{width:23px}
.px1259-panels{display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:stretch}.px1259-card{border:1px solid #dcebe3;background:#fff;border-radius:19px;padding:22px;min-width:0;min-height:315px;box-shadow:0 9px 24px #0d4e3210}.px1259-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:17px;border-bottom:1px solid #e6eee9}.px1259-card-head>div{display:flex;align-items:center;gap:10px}.px1259-card-head .px1259-icon{color:#174974}.px1259-card-head h3{font-size:19px;font-weight:850;line-height:1.3;margin:0;color:#18232c}.px1259-card-head h3 span{color:#666f7a;font-size:14px}.px1259-small-link{background:#fff!important;color:#20374b!important;font-size:12px!important;padding:7px 10px!important;border:1px solid #e2ebe5!important;border-radius:10px!important;width:auto!important;white-space:nowrap}.px1259-card-tag{color:#1e3e59;background:#e2f8e7;border-radius:99px;padding:8px 12px;font-size:11px;font-weight:750;white-space:nowrap}
.px1259-today-content{min-height:245px;display:flex;flex-direction:column;justify-content:center}.px1259-empty{text-align:center;padding:20px 0 3px}.px1259-empty-icon{width:80px;height:75px;position:relative;margin:0 auto 14px;border-radius:50%;background:#e7f8ed;display:grid;place-items:center;color:#286091}.px1259-empty-icon .px1259-icon{width:47px;height:47px}.px1259-empty-icon span{position:absolute;right:6px;bottom:4px;display:grid;place-items:center;background:#2a73b3;color:white;border-radius:50%;width:25px;height:25px;border:3px solid white;font-size:13px}.px1259-empty strong{display:block;font-size:16px;color:#16222d}.px1259-empty p{margin:7px auto 15px;color:#666e79;font-size:12px;max-width:430px}.px1259-empty>div:last-child{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.px1259-empty button{display:flex;align-items:center;gap:8px;min-height:39px!important;padding:9px 14px!important;width:auto!important;background:#f5fbf7!important;color:#184770!important;border:1px solid #c3d3e7!important;border-radius:10px!important;font-size:12px!important;font-weight:750}.px1259-empty button .px1259-icon{width:15px;height:15px}
.px1259-jobline{display:flex!important;align-items:center;gap:12px;width:100%;background:#fff!important;border:0!important;border-bottom:1px solid #e6eee8!important;border-radius:0!important;text-align:left!important;padding:13px 5px!important;color:#1e2d3a!important}.px1259-jobline-symbol{color:#1e5585}.px1259-jobline>span:nth-child(2){flex:1}.px1259-jobline b,.px1259-upcoming-row b{font-size:13px;display:block}.px1259-jobline small,.px1259-upcoming-row small{display:block;font-size:11px;color:#717881;margin-top:4px}.px1259-jobline>.px1259-icon:last-child{width:17px;color:#6b7686}
.px1259-upcoming{flex:1}.px1259-calendar{display:flex;flex-direction:column}.px1259-upcoming-row{display:flex!important;align-items:center;gap:12px;width:100%;background:transparent!important;border:0!important;border-bottom:1px solid #e6eee9!important;border-radius:0!important;text-align:left!important;padding:14px 3px!important;color:#1d2b37!important}.px1259-upcoming-row:hover{background:#f5fbf7!important}.px1259-datechip{display:grid;place-items:center;min-width:71px;max-width:71px;min-height:50px;background:#e8f9ed;border-radius:11px;color:#244a6b;font-size:12px;font-weight:800;text-align:center;text-transform:capitalize}.px1259-upcoming-description{min-width:0;flex:1}.px1259-hour{white-space:nowrap;border-radius:99px;background:#e1f8e8;padding:7px 9px;color:#1e4567;font-size:11px;font-weight:850}.px1259-calendar-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#3c566c;gap:10px;flex:1;min-height:170px}.px1259-calendar-empty>.px1259-icon{width:40px;height:40px;color:#497ba8}.px1259-calendar-empty p{color:#7c8490;font-size:12px;margin:0}.px1259-calendar-bottom{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;margin:16px 0 0!important;color:#184770!important;background:transparent!important;border:0!important;font-weight:750!important;font-size:13px!important}.px1259-calendar-bottom .px1259-icon{width:17px}
/* White left navigation as in the approved mock-up; functional nav remains the existing implementation. */
@media(min-width:801px){
 body .shell>aside{background:#ffffff!important;border-right:1px solid #e2ede5!important;color:#1d2f3e!important}
 body .shell>aside>.brand{color:#1b3247!important}
 body .px1258-group{border-color:#e8eee9!important}
 body .px1258-heading{color:#949ca6!important}
 body .px1258-group .nav{color:#222b34!important;font-weight:550!important}
 body .px1258-group .nav .navicon{color:#364655!important}
 body .px1258-group .nav.active{color:#133859!important;background:#ddeafa!important}
 body .px1258-group .nav.active .navicon{color:#17446b!important}
 body .px1258-group .nav:hover,body .px1258-group .nav:focus-visible{background:#eaf9ee!important}
 body .px1258-legal details{color:#2b3945!important}
 body .px1258-legal summary::before{color:#384c5e!important}
 body .px1258-legal summary:hover{background:#eaf9ee!important}
 body .px1258-legal details a{color:#2a455c!important}
 body .px1257-account-actions{border-color:#e7eee9!important}
 body .px1257-signout{color:#b3312c!important}
 body .px1257-signout:hover{background:#fff0ed!important}
 body .px1258-scroll{scrollbar-color:#b6c3d3 transparent!important}
}
@media(max-width:1150px){.px1259-kpis{gap:9px}.px1259-kpi{padding:15px 12px!important}.px1259-top-title h1{font-size:19px!important}.px1259-card{padding:17px}}
@media(max-width:980px){.px1259-panels{grid-template-columns:1fr}.px1259-card{min-height:250px}}
@media(max-width:800px){.px1259-dashboard{padding:4px 0 96px}.px1259-top{margin-bottom:12px;gap:10px;min-height:46px}.px1259-top-title h1{font-size:19px!important}.px1259-top-right .px1259-search-wrap{display:none}.px1259-avatar{width:36px;height:36px}.px1259-bell{width:36px!important;height:36px!important}.px1259-hero{min-height:160px;padding:20px 18px}.px1259-hero-content{max-width:85%}.px1259-hero h2{font-size:29px!important}.px1259-hero p{font-size:12px;line-height:1.5}.px1259-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0 18px}.px1259-kpi{min-height:110px!important;padding:14px!important}.px1259-kpi strong{font-size:31px}.px1259-actions{gap:8px;margin-bottom:19px}.px1259-action{flex:1 1 145px;min-width:0!important;font-size:12px!important;padding:12px 10px!important;gap:7px;min-height:49px!important}.px1259-action-primary{flex-basis:100%}.px1259-action .px1259-icon{width:19px}.px1259-card-head h3{font-size:17px}.px1259-card{padding:16px}}
@media(max-width:390px){.px1259-kpi small{font-size:10px}.px1259-hero-content{max-width:100%}.px1259-hero::before{background:linear-gradient(90deg,#172b3d 0%,#004531e8 72%,#00453199)}.px1259-datechip{min-width:58px;max-width:58px}.px1259-upcoming-row{gap:7px}.px1259-hour{padding:6px;font-size:10px}}
