:root{--ink:#171932;--muted:#747a91;--line:#e7e9f3;--bg:#f5f7ff;--paper:#fff;--primary:#5d5af0;--primary-dark:#4643d7;--shadow:0 18px 55px rgba(50,57,118,.1)}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;color:var(--ink);background:radial-gradient(circle at 75% -10%,rgba(119,102,255,.13),transparent 28%),radial-gradient(circle at 15% 85%,rgba(31,210,181,.09),transparent 31%),var(--bg);font:14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:255px;display:flex;flex-direction:column;padding:25px 18px 19px;color:#fff;background:radial-gradient(circle at 8% 92%,rgba(40,211,183,.22),transparent 34%),radial-gradient(circle at 90% 8%,rgba(129,93,255,.35),transparent 40%),linear-gradient(165deg,#171a3d,#242357 65%,#183b50)}
.brand{display:flex;align-items:center;gap:11px;padding:0 7px 28px}.brand>div{display:flex;flex:1;flex-direction:column}.brand strong{font-size:19px;font-weight:850;letter-spacing:-.04em}.brand small{margin-top:2px;color:#a8b6d8;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.brand-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#7c5cff,#20cfbd);box-shadow:0 8px 24px rgba(90,91,240,.4),inset 0 0 0 1px rgba(255,255,255,.28)}#closeMenu{display:none;border:0;color:#fff;background:transparent;font-size:24px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav>p{margin:0 10px 9px;color:#8f9fca;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.nav{width:100%;min-height:45px;display:flex;align-items:center;gap:11px;padding:0 12px;border:0;border-radius:12px;color:#bbc3df;background:transparent;text-align:left}.nav:hover,.nav.active{color:#fff;background:rgba(255,255,255,.11)}.nav>span{font-size:16px}.nav b{margin-left:auto;padding:3px 8px;border-radius:10px;background:rgba(255,255,255,.1);font-size:10px}.sidebar-grow{flex:1}.team-note{margin:0 3px 14px;padding:17px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.07)}.team-note>span{width:33px;height:33px;display:grid;place-items:center;margin-bottom:11px;border-radius:10px;color:#d9d3ff;background:rgba(124,92,255,.18)}.team-note strong{display:block;font-size:12px}.team-note p{margin:6px 0 0;color:#a8b2d0;font-size:10px;line-height:1.5}.user-card{display:flex;align-items:center;gap:9px;padding:14px 7px 0;border-top:1px solid rgba(255,255,255,.1)}.user-card>span{width:35px;height:35px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#fb7c98,#ffb84d);font-size:10px;font-weight:850}.user-card>span img{width:100%;height:100%;object-fit:cover}.user-card>div{min-width:0;flex:1;display:flex;flex-direction:column}.user-card strong,.user-card small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-card strong{font-size:11px}.user-card small{margin-top:2px;color:#929fca;font-size:9px}.user-card a{color:#b8c1de;text-decoration:none}
.workspace{min-height:100vh;margin-left:255px}.topbar{position:sticky;top:0;z-index:20;height:74px;display:flex;align-items:center;gap:11px;padding:0 31px;border-bottom:1px solid rgba(224,227,241,.85);background:rgba(247,248,255,.86);backdrop-filter:blur(16px)}.menu-btn{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff}.search{max-width:610px;height:43px;display:flex;flex:1;align-items:center;gap:10px;padding:0 13px;border:1px solid #e3e6f2;border-radius:13px;color:#8b90a4;background:rgba(255,255,255,.88);box-shadow:0 8px 25px rgba(50,57,118,.04)}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent}.primary-btn,.outline-btn,.ghost-btn,.outline-add{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 17px;border-radius:11px;font-weight:750;text-decoration:none}.primary-btn{border:0;color:#fff;background:linear-gradient(135deg,#6d5dfc,#5058e9 55%,#1bb9c8);box-shadow:0 10px 24px rgba(79,82,225,.26)}.primary-btn:hover{transform:translateY(-1px)}.outline-btn{border:1px solid #e1e4f1;color:#4e55bf;background:#fff}.ghost-btn{border:1px solid #dfe2ed;background:#fff}.content{max-width:1500px;margin:auto;padding:37px 32px 70px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:27px}.eyebrow{color:#7479a0;font-size:9px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}.page-head h1{margin:7px 0 6px;font-size:clamp(31px,3.1vw,44px);line-height:1;font-weight:850;letter-spacing:-.055em}.page-head p{margin:0;color:var(--muted)}.sync{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #dde9e7;border-radius:20px;color:#3e7a6c;background:#f6fffc;font-size:10px;font-weight:750}.sync i{width:7px;height:7px;border-radius:50%;background:#20bd93;box-shadow:0 0 0 4px rgba(32,189,147,.12)}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.metric{position:relative;min-height:167px;padding:19px;overflow:hidden;border-radius:20px;color:#fff;box-shadow:0 15px 34px rgba(63,66,132,.13)}.metric:after{content:"";position:absolute;right:-28px;bottom:-35px;width:120px;height:120px;border:1px solid rgba(255,255,255,.24);border-radius:50%}.metric.purple{background:linear-gradient(145deg,#5f4ef4,#4e62ec 58%,#2eaadd)}.metric.orange{background:linear-gradient(145deg,#ffb33f,#ff7b5b)}.metric.pink{background:linear-gradient(145deg,#ff6687,#c35bf0)}.metric.green{background:linear-gradient(145deg,#18c9aa,#16a6ca)}.metric>span{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.17)}.metric>strong{display:block;margin-top:15px;font-size:31px;line-height:1;letter-spacing:-.04em}.metric h3{margin:6px 0 0;font-size:12px}.metric p{position:absolute;bottom:16px;left:19px;margin:0;color:rgba(255,255,255,.72);font-size:9px}.panel{border:1px solid rgba(226,229,242,.9);border-radius:20px;background:rgba(255,255,255,.93);box-shadow:0 15px 38px rgba(56,62,126,.055)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr);gap:18px}.projects-panel{padding:22px 23px 8px}.agenda-panel{grid-row:span 2;padding:22px 20px}.activity-panel{padding:22px 23px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-head h2{margin:0;font-size:19px;font-weight:820;letter-spacing:-.035em}.panel-head p{margin:4px 0 0;color:#888da1;font-size:10px}.panel-head button{border:0;color:#5955dc;background:transparent;font-size:10px;font-weight:800}
.project-row{width:100%;display:grid;grid-template-columns:42px minmax(145px,1.4fr) minmax(100px,.8fr) minmax(105px,.7fr) 20px;align-items:center;gap:12px;padding:13px 4px;border:0;border-top:1px solid #eef0f6;background:transparent;text-align:left}.project-row:hover{background:#fafbff}.project-icon,.pharmacy-cell>i{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#5c57e8;background:linear-gradient(135deg,#ecebff,#e1f8f6);font-style:normal}.project-name,.table-row>span:not(.status):not(.owner){display:flex;flex-direction:column}.project-name strong,.table-row strong{font-size:11px}.project-name small,.table-row small{margin-top:3px;color:#9296a7;font-size:9px}.status{width:max-content;display:inline-flex!important;align-items:center;gap:7px;padding:6px 9px;border-radius:20px;font-size:9px!important;font-weight:780}.status i{width:6px;height:6px;border-radius:50%}.status.neutral{color:#5b5f77;background:#eceef6}.status.neutral i,.status-picker i.neutral{background:#8e93a4}.status.active{color:#765200;background:#fff0bf}.status.active i,.status-picker i.active{background:#f2a400}.status.waiting{color:#a63f5d;background:#ffe1e9}.status.waiting i,.status-picker i.waiting{background:#ee5c83}.status.done{color:#08745d;background:#d9faef}.status.done i,.status-picker i.done{background:#19ad8b}.progress-cell{display:flex!important;align-items:center;gap:8px}.progress-cell>i{height:5px;flex:1;overflow:hidden;border-radius:5px;background:#e8eaf2}.progress-cell>i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6a5cf5,#24c7b6)}.progress-cell>strong{font-size:9px}.arrow{color:#a6aaba}.meeting-card{display:flex;align-items:center;gap:11px;margin-top:9px;padding:11px;border:1px solid #eaecf4;border-radius:14px;background:#fdfdff}.meeting-date{width:42px;height:48px;display:flex;flex:0 0 42px;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;color:#5a52e0;background:linear-gradient(135deg,#eceaff,#e2f7f3)}.meeting-date strong{font-size:17px}.meeting-date small{text-transform:uppercase}.meeting-card>div{min-width:0;flex:1;display:flex;flex-direction:column}.meeting-card>div>strong,.meeting-card>div>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.meeting-card>div>strong{font-size:10px}.meeting-card>div>span{margin-top:3px;color:#787d91;font-size:9px}.meeting-card>div>small{margin-top:5px;color:#999daf;font-size:8px}.meeting-card>i{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#fff;background:linear-gradient(135deg,#655af2,#1abbb9);font-style:normal}.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.activity{display:flex;align-items:center;gap:10px}.activity>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#6c5bf2,#1ab8b3);font-size:8px;font-weight:800}.activity p{margin:0;color:#73788b;font-size:9px}.activity p strong{color:var(--ink)}.activity small{display:block;margin-top:3px;color:#a1a5b4}.small-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#969bad;text-align:center}.small-empty>span{font-size:24px}.small-empty strong{margin-top:9px;color:#555a70;font-size:11px}.small-empty small{margin-top:4px}.empty{min-height:330px;display:flex;align-items:center;justify-content:center;gap:27px;padding:45px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.empty.compact{border:0;box-shadow:none}.empty>span{width:86px;height:86px;display:grid;place-items:center;border-radius:28px;color:#fff;background:linear-gradient(135deg,#6b5af4,#24c5b7);font-size:30px}.empty>div{max-width:470px}.empty>div>small{color:#777ca0;font-weight:800;text-transform:uppercase}.empty h2{margin:8px 0 10px;font-size:27px;letter-spacing:-.04em}.empty p{margin:0 0 20px;color:var(--muted);line-height:1.7}
.table-panel{overflow:hidden}.project-table{min-width:900px;overflow:auto}.table-head,.table-row{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(140px,.8fr) minmax(120px,.7fr) minmax(160px,.9fr) minmax(140px,.8fr);align-items:center;gap:16px}.table-head{padding:14px 18px;color:#8d92a7;background:#f6f7fc;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.table-row{width:100%;padding:14px 18px;border:0;border-top:1px solid #eceef5;background:#fff;text-align:left}.table-row:hover{background:#fafbff}.pharmacy-cell{display:flex!important;align-items:center;gap:11px}.pharmacy-cell>b{display:flex;flex-direction:column}.owner{display:flex!important;align-items:center;gap:8px;font-size:9px}.owner i{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#665af2,#20b9b8);font-size:7px;font-style:normal}.meeting-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.65fr);gap:18px}.calendar-art,.upcoming{padding:22px}.calendar-title{display:flex;align-items:center;justify-content:space-between}.calendar-title strong{font-size:19px}.calendar-title span{color:#888da1;font-size:10px}.calendar-days{display:grid;grid-template-columns:repeat(5,1fr);margin:22px 0 0 53px;overflow:hidden;border:1px solid var(--line);border-radius:12px 12px 0 0}.calendar-days span{min-height:61px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid var(--line);color:#9a9eae;font-size:8px;text-transform:uppercase}.calendar-days span:first-child{border-left:0}.calendar-days b{margin-top:3px;color:var(--ink);font-size:17px}.calendar-days .today{color:#d8ddff;background:linear-gradient(145deg,#665af2,#20bfc0)}.calendar-days .today b{color:#fff}.calendar-lines{height:330px;padding-top:10px}.calendar-lines p{height:78px;display:flex;gap:10px;margin:0;color:#999dae;font-size:8px}.calendar-lines p span{width:43px}.calendar-lines p i{height:1px;flex:1;background:#e8eaf2}
.modal-backdrop,.drawer-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(22,24,55,.58);backdrop-filter:blur(5px)}[hidden]{display:none!important}.modal{position:relative;width:min(660px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:28px;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(8,20,50,.28)}.modal-close{position:absolute;right:20px;top:20px;width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:22px}.modal h2{margin:7px 0 5px;font-size:26px;letter-spacing:-.04em}.modal>p{margin:0 0 23px;color:var(--muted);font-size:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid label,.login-form label,.install-form label{display:flex;flex-direction:column;gap:7px;color:#555b73;font-size:9px;font-weight:800}.form-grid .wide,.install-form .wide{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea,.login-form input,.install-form input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dfe2ed;border-radius:10px;outline:0;background:#fff}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.login-form input:focus,.install-form input:focus{border-color:#7771ec;box-shadow:0 0 0 3px rgba(100,91,239,.1)}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:7px;padding-top:18px;border-top:1px solid #eceef4}.drawer-backdrop{align-items:stretch;justify-content:flex-end;padding:0}.drawer{width:min(680px,100%);height:100%;overflow:auto;background:#f7f8ff;box-shadow:-30px 0 80px rgba(21,24,65,.25)}.drawer-head{display:flex;align-items:center;gap:13px;padding:23px 25px 19px;background:#fff}.drawer-head>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#5c57e8;background:linear-gradient(135deg,#ecebff,#e1f8f6)}.drawer-head>div{min-width:0;flex:1}.drawer-head small{color:#8b8fa5;font-size:8px;font-weight:800;text-transform:uppercase}.drawer-head h2{overflow:hidden;margin:4px 0 3px;font-size:23px;letter-spacing:-.04em;white-space:nowrap;text-overflow:ellipsis}.drawer-head p{margin:0;color:#858a9e;font-size:9px}.drawer-head button{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:22px}.drawer-tabs{display:flex;gap:4px;padding:0 25px;border-bottom:1px solid var(--line);background:#fff}.drawer-tabs button{position:relative;padding:13px 10px 12px;border:0;color:#7d8297;background:transparent;font-size:9px;font-weight:780}.drawer-tabs button.active{color:#5753df}.drawer-tabs button.active:after{content:"";position:absolute;right:10px;bottom:-1px;left:10px;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,#6758f3,#22bdb7)}.drawer-tabs b{padding:2px 5px;border-radius:8px;background:#eef0f7;font-size:7px}.drawer-body{padding:22px 25px 45px}.journey-score{display:flex;align-items:center;gap:15px;margin-bottom:14px;padding:17px;border-radius:17px;color:#fff;background:radial-gradient(circle at 95% 0%,rgba(255,255,255,.2),transparent 34%),linear-gradient(135deg,#5f52eb,#506be8 56%,#1ab9bd);box-shadow:0 14px 28px rgba(77,79,205,.2)}.journey-score>strong{width:76px;height:76px;display:grid;place-items:center;flex:0 0 76px;border:1px solid rgba(255,255,255,.28);border-radius:23px;background:rgba(255,255,255,.12);font-size:22px}.journey-score>div{flex:1;display:flex;flex-direction:column}.journey-score span{font-size:10px;font-weight:800}.journey-score>div>i{height:7px;margin-top:10px;overflow:hidden;border-radius:7px;background:rgba(255,255,255,.22)}.journey-score>div>i b{display:block;height:100%;border-radius:inherit;background:#fff}.journey-score small{margin-top:7px;color:rgba(255,255,255,.7);font-size:8px}.status-picker{margin-bottom:14px;padding:14px 16px;border:1px solid #e4e6f2;border-radius:15px;background:#fff}.status-picker>span{display:block;margin-bottom:9px;color:#858aa0;font-size:8px;font-weight:850;text-transform:uppercase}.status-picker>div{display:flex;flex-wrap:wrap;gap:6px}.status-picker button{display:flex;align-items:center;gap:6px;min-height:31px;padding:0 10px;border:1px solid #e6e8f2;border-radius:16px;color:#74798d;background:#f8f9fd;font-size:8px;font-weight:750}.status-picker button i{width:6px;height:6px;border-radius:50%}.status-picker button.selected{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6559ef,#4e6ce5)}.workflow-group{margin-bottom:14px;overflow:hidden;border:1px solid #e4e6f2;border-radius:17px;background:#fff}.workflow-group>header{display:flex;align-items:center;gap:11px;padding:15px 17px 13px}.workflow-group>header>span{width:37px;height:37px;display:grid;place-items:center;border-radius:12px}.workflow-group header h3{margin:0;font-size:12px}.workflow-group header p{margin:3px 0 0;color:#898ea2;font-size:8px}.workflow-group.blue>header{background:linear-gradient(90deg,#eef5ff,#f3fbff)}.workflow-group.blue>header>span{color:#2374df;background:#dcecff}.workflow-group.violet>header{background:linear-gradient(90deg,#f1efff,#f8f4ff)}.workflow-group.violet>header>span{color:#6a4de4;background:#e5ddff}.workflow-group.pink>header{background:linear-gradient(90deg,#fff0f7,#fff5f1)}.workflow-group.pink>header>span{color:#e44f8d;background:#ffddec}.workflow-group.green>header{background:linear-gradient(90deg,#ebfbf6,#effbff)}.workflow-group.green>header>span{color:#0b9d84;background:#d7f6ec}.workflow-group>div{padding:0 15px}.workflow-step{position:relative;min-height:63px;display:flex;align-items:center;gap:11px;padding:10px 1px;border-top:1px solid #eef0f6}.workflow-step:first-child{border-top:0}.workflow-step>span{width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;border:2px solid #e0e3ef;border-radius:50%;color:#8d92a5;background:#fff;font-size:8px;font-weight:850}.workflow-step.complete>span{color:#fff;border-color:transparent;background:linear-gradient(135deg,#665af2,#20bfba);box-shadow:0 5px 12px rgba(83,85,214,.2)}.workflow-step label{min-width:0;flex:1;display:flex;flex-direction:column}.workflow-step label strong{font-size:9px}.workflow-step label small{margin-top:3px;color:#a0a4b2;font-size:7px}.workflow-step.complete label small{color:#16a58e}.workflow-step>input{width:155px;height:34px;padding:0 9px;border:1px solid #dfe2ed;border-radius:9px;outline:0;background:#fafbff;font-size:8px}.workflow-step>input.step-date{width:125px}.workflow-step>input:disabled{display:none}.toggle{width:33px;height:19px;padding:2px;border:0;border-radius:15px;background:#dfe2ed}.toggle i{width:15px;height:15px;display:block;border-radius:50%;background:#fff;transition:.18s}.toggle.on{background:linear-gradient(135deg,#6559ef,#22bdb8)}.toggle.on i{transform:translateX(14px)}.outline-add{width:100%;border:1px dashed #aaa8ed;color:#5854db;background:#f0efff}.drawer-list{margin-top:13px}.upload-zone{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #a7a5eb;border-radius:14px;color:#5954dc;background:linear-gradient(135deg,#f1f0ff,#eafbf9);cursor:pointer}.upload-zone input{display:none}.upload-zone>span{font-size:23px}.upload-zone strong{margin-top:9px;font-size:10px}.upload-zone small{margin-top:4px;color:#898ea2}.document-list{display:flex;flex-direction:column;gap:7px;margin-top:14px}.document-list a{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:11px;color:inherit;background:#fff;text-decoration:none}.document-list a>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:#d65186;background:#ffe5f0}.document-list a>div{min-width:0;flex:1}.document-list a strong{display:block;overflow:hidden;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.document-list a small{display:block;margin-top:3px;color:#999dae}.flash{position:fixed;right:25px;top:87px;z-index:100;padding:12px 15px;border-radius:12px;color:#fff;font-size:10px;font-weight:750;box-shadow:0 15px 35px rgba(70,72,202,.28)}.flash.success{background:linear-gradient(135deg,#5653e9,#1ab8b4)}.flash.error{background:linear-gradient(135deg,#e14f77,#bd4bca)}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(107,90,244,.18),transparent 30%),radial-gradient(circle at 80% 80%,rgba(36,197,183,.16),transparent 30%),#f5f7ff}.login-card,.install-card{width:min(430px,100%);padding:34px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.95);box-shadow:0 30px 90px rgba(46,50,108,.16)}.install-card{width:min(720px,100%)}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.auth-brand>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(135deg,#7c5cff,#20cfbd)}.auth-brand>div{display:flex;flex-direction:column}.auth-brand strong{font-size:18px;font-weight:850}.auth-brand small{margin-top:2px;color:#8c91a5;font-size:8px;text-transform:uppercase}.login-card h1,.install-card h1{margin:7px 0;font-size:29px;letter-spacing:-.05em}.login-card header p,.install-card header p{margin:0 0 22px;color:var(--muted);line-height:1.6}.login-form{display:flex;flex-direction:column;gap:14px}.login-form .primary-btn{margin-top:6px}.auth-foot{margin:21px 0 0;color:#9a9eaf;font-size:8px;text-align:center}.alert{margin-bottom:16px;padding:11px 13px;border:1px solid #f0ceda;border-radius:11px;color:#a83e62;background:#fff0f5;font-size:9px}.install-form{display:flex;flex-direction:column;gap:18px}.install-form fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px;border:1px solid var(--line);border-radius:15px}.install-form legend{padding:0 8px;color:#5d59e0;font-size:10px;font-weight:850}.install-form label small{color:#999dae;font-size:8px}.install-success{text-align:center}.install-success>span{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 18px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#665af2,#20bfba);font-size:28px}.install-success p{margin-bottom:22px;color:var(--muted)}
@media(max-width:1120px){.metrics{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.meeting-layout{grid-template-columns:1fr}.agenda-panel{grid-row:auto}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:translateX(0)}#closeMenu,.menu-btn{display:block}.workspace{margin-left:0}.topbar{padding:0 18px}.outline-btn{display:none}.content{padding:28px 18px 55px}}
@media(max-width:620px){.topbar>.primary-btn{width:42px;padding:0;font-size:0}.page-head{align-items:flex-start;flex-direction:column}.page-head>.primary-btn{width:100%;font-size:13px}.metrics{gap:9px}.metric{min-height:151px;padding:15px}.metric p{left:15px}.dashboard-grid{display:block}.dashboard-grid>.panel{margin-bottom:14px}.project-row{grid-template-columns:40px 1fr auto}.project-row .status,.project-row .progress-cell{display:none!important}.activity-grid{grid-template-columns:1fr}.empty{flex-direction:column;padding:30px 22px;text-align:center}.form-grid,.install-form fieldset{grid-template-columns:1fr}.form-grid .wide,.install-form .wide{grid-column:1}.modal-backdrop{align-items:flex-end;padding:0}.modal{max-height:92vh;padding:23px 19px;border-radius:22px 22px 0 0}.drawer-head,.drawer-body{padding-right:17px;padding-left:17px}.drawer-tabs{padding:0 8px;overflow:auto}.journey-score>strong{width:64px;height:64px;flex-basis:64px;border-radius:19px;font-size:19px}.workflow-step{flex-wrap:wrap}.workflow-step label{min-width:calc(100% - 86px)}.workflow-step>input{width:calc(100% - 40px);margin-left:40px}.workflow-step .toggle{margin-left:auto}.login-card,.install-card{padding:25px 20px}}
.sidebar .nav{text-decoration:none}.users-page{max-width:1050px;margin:auto;padding:45px 24px 70px}.users-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.users-head h1{margin:7px 0 5px;font-size:38px;letter-spacing:-.05em}.users-head p{margin:0;color:var(--muted)}.users-grid{display:grid;grid-template-columns:360px 1fr;gap:18px}.user-form-card,.users-list{padding:23px}.user-form-card h2,.users-list h2{margin:0 0 18px;font-size:19px}.login-form select{min-height:43px;padding:8px 11px;border:1px solid #dfe2ed;border-radius:10px;background:#fff}.account-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #eceef5}.account-row>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#665af2,#20b9b8);font-size:9px;font-weight:850}.account-row>div{min-width:0;flex:1;display:flex;flex-direction:column}.account-row strong{font-size:10px}.account-row small{margin-top:3px;color:#9296a7;font-size:8px}.account-row b{padding:5px 8px;border-radius:12px;color:#5753df;background:#efefff;font-size:8px}.success-alert{color:#08745d;border-color:#bfe9dc;background:#e8fbf5}@media(max-width:760px){.users-head{align-items:flex-start;flex-direction:column}.users-grid{grid-template-columns:1fr}}
.drawer-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:14px}.drawer-actions button{min-height:36px;padding:0 12px;border-radius:10px;font-size:9px;font-weight:800}.edit-project-btn{color:#5753df;border:1px solid #c9c6f8;background:#f1f0ff}.delete-project-btn{color:#bd3c5e;border:1px solid #f4becd;background:#fff0f4}.delete-project-btn:hover{color:#fff;border-color:#d74d72;background:#d74d72}@media(max-width:620px){.drawer-actions{align-items:stretch;flex-direction:column}.drawer-actions button{width:100%}}
.drawer-backdrop{z-index:80}.modal-backdrop{z-index:110}
.project-name>strong,.pharmacy-cell>b>strong{display:flex;align-items:center;gap:7px}.comment-bubble{width:25px;height:25px;display:inline-grid;place-items:center;flex:0 0 25px;border:1px solid #d5d2ff;border-radius:50%;background:linear-gradient(135deg,#eeedff,#e4faf7);box-shadow:0 4px 10px rgba(82,78,202,.14);font-size:12px;line-height:1;cursor:pointer;transition:.18s}.comment-bubble:hover{transform:translateY(-1px) scale(1.06);border-color:#7b71ef;box-shadow:0 7px 15px rgba(82,78,202,.22)}.comment-modal{width:min(520px,100%)}.comment-content{min-height:110px;margin:22px 0 4px;padding:20px;border:1px solid #dddafc;border-radius:16px;color:#373b54;background:linear-gradient(135deg,#f4f3ff,#eefcf9);font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.metrics{gap:12px;margin-bottom:16px}.metric{min-height:136px;padding:16px 18px;border-radius:18px}.metric:after{width:105px;height:105px}.metric>span{width:32px;height:32px;border-radius:10px}.metric>strong{margin-top:10px;font-size:30px}.metric h3{margin-top:5px;font-size:14px}.metric p{bottom:13px;left:18px;font-size:11px}.nav{font-size:14px}.sidebar nav>p{font-size:10px}.panel-head p{font-size:12px}.panel-head button{font-size:12px}.project-row{padding-top:15px;padding-bottom:15px}.project-name strong,.table-row strong{font-size:13px}.project-name small,.table-row small{font-size:11px}.status{font-size:11px!important}.progress-cell>strong{font-size:11px}.meeting-card>div>strong{font-size:12px}.meeting-card>div>span{font-size:11px}.meeting-card>div>small{font-size:10px}.activity p{font-size:11px}.activity small{font-size:10px}.small-empty strong{font-size:13px}.small-empty small{font-size:11px}.table-head{font-size:10px}.owner{font-size:11px}.drawer-head small{font-size:10px}.drawer-head p{font-size:11px}.drawer-tabs button{font-size:11px}.journey-score span{font-size:12px}.journey-score small{font-size:10px}.status-picker>span{font-size:10px}.status-picker button{font-size:10px}.workflow-group header h3{font-size:14px}.workflow-group header p{font-size:10px}.workflow-step label strong{font-size:12px}.workflow-step label small{font-size:10px}.workflow-step>input{font-size:11px}.form-grid label,.login-form label,.install-form label{font-size:11px}.modal>p{font-size:12px}
@media(max-width:620px){.metric{min-height:150px}}
.yes-no-choice{display:flex;gap:6px}.yes-no-choice button{min-width:48px;height:34px;padding:0 12px;border:1px solid #dfe2ed;border-radius:17px;color:#74798d;background:#f8f9fd;font-size:10px;font-weight:800}.yes-no-choice button.selected.yes{color:#08745d;border-color:#9ce0cc;background:#d9faef}.yes-no-choice button.selected.no{color:#a63f5d;border-color:#f3b8ca;background:#ffe1e9}

/* Fiche pharmacie plein écran */
body.project-page-open{overflow:hidden}.project-page-backdrop{inset:0 0 0 255px;display:block;padding:0;overflow-y:auto;background:radial-gradient(circle at 88% 2%,rgba(33,190,197,.12),transparent 28%),radial-gradient(circle at 12% 18%,rgba(105,87,245,.12),transparent 31%),#f4f6ff;backdrop-filter:none}.drawer.project-page{width:100%;max-width:none;height:auto;min-height:100%;overflow:visible;background:transparent;box-shadow:none}.project-page-shell{width:min(1440px,100%);min-height:100vh;margin:auto;padding:20px 34px 70px}.project-page-top{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-20px -34px 22px;padding:16px 34px;border-bottom:1px solid rgba(221,225,241,.9);background:rgba(247,248,255,.92);backdrop-filter:blur(18px)}.project-back{min-height:42px;display:inline-flex;align-items:center;gap:9px;padding:0 15px;border:1px solid #e1e4f1;border-radius:12px;color:#4c54be;background:#fff;font-size:12px;font-weight:800}.project-back:hover{border-color:#bbb8f3;background:#f2f1ff}.project-page-actions{display:flex;align-items:center;gap:9px}.project-page-actions button{min-height:42px;padding:0 15px;border-radius:12px;font-size:11px;font-weight:800}.project-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);align-items:center;gap:30px;margin-bottom:22px;padding:30px 32px;overflow:hidden;border:1px solid rgba(224,227,241,.95);border-radius:26px;background:radial-gradient(circle at 95% 0%,rgba(44,199,193,.12),transparent 32%),radial-gradient(circle at 0 100%,rgba(104,89,242,.1),transparent 34%),#fff;box-shadow:0 18px 45px rgba(46,51,111,.08)}.project-hero-copy h1{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:8px 0 7px;font-size:clamp(30px,3.4vw,48px);line-height:1.04;letter-spacing:-.055em}.project-hero-copy>p{margin:0;color:#747a91;font-size:14px}.project-hero-badges{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.project-hero-badges .status{min-height:34px;padding:0 13px;font-size:10px}.project-hero-badges .deposit-status-row{margin:0}.project-hero-progress{display:flex;align-items:center;gap:18px;padding:22px;border-radius:21px;color:#fff;background:radial-gradient(circle at 90% 0%,rgba(255,255,255,.2),transparent 35%),linear-gradient(135deg,#6757f3,#4f68e7 56%,#1ab9bc);box-shadow:0 15px 32px rgba(78,80,207,.24)}.project-hero-progress>strong{width:82px;height:82px;display:grid;place-items:center;flex:0 0 82px;border:1px solid rgba(255,255,255,.3);border-radius:24px;background:rgba(255,255,255,.12);font-size:26px}.project-hero-progress>div{min-width:0;flex:1;display:flex;flex-direction:column}.project-hero-progress span{font-size:13px;font-weight:850}.project-hero-progress>div>i{height:8px;margin:11px 0 8px;overflow:hidden;border-radius:8px;background:rgba(255,255,255,.22)}.project-hero-progress>div>i b{display:block;height:100%;border-radius:inherit;background:#fff}.project-hero-progress small{color:rgba(255,255,255,.76);font-size:10px}.project-page-tabs{position:sticky;top:75px;z-index:10;display:flex;align-items:center;gap:5px;margin-bottom:20px;padding:7px;border:1px solid rgba(224,227,241,.95);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(50,57,118,.07);backdrop-filter:blur(16px)}.project-page-tabs button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;border:0;border-radius:11px;color:#74798e;background:transparent;font-size:11px;font-weight:820}.project-page-tabs button:hover{color:#5753df;background:#f4f3ff}.project-page-tabs button.active{color:#fff;background:linear-gradient(135deg,#6559ef,#4f6be6 56%,#1ab9bd);box-shadow:0 8px 20px rgba(82,82,213,.2)}.project-page-tabs button b{min-width:21px;padding:3px 6px;border-radius:10px;background:rgba(112,116,144,.11);font-size:8px}.project-page-tabs button.active b{background:rgba(255,255,255,.2)}.project-page-body>[data-tab-panel]{animation:projectPanelIn .2s ease}@keyframes projectPanelIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

.project-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.project-summary-grid article{min-height:118px;display:flex;align-items:center;gap:15px;padding:20px;border:1px solid #e3e6f2;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(50,57,118,.05)}.project-summary-grid article>span{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:14px;color:#5c57e8;background:linear-gradient(135deg,#ecebff,#e1f8f6);font-size:18px}.project-summary-grid article>div{min-width:0;display:flex;flex-direction:column;gap:5px}.project-summary-grid small{color:#8a8fa3;font-size:9px;font-weight:800;text-transform:uppercase}.project-summary-grid strong{overflow:hidden;font-size:13px;white-space:nowrap;text-overflow:ellipsis}.project-summary-grid em{color:#989cae;font-size:10px;font-style:normal}.project-summary-lower{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px;margin-top:16px}.project-summary-lower>article{padding:23px;border:1px solid #e3e6f2;border-radius:19px;background:#fff;box-shadow:0 10px 28px rgba(50,57,118,.05)}.project-summary-lower article>header{display:flex;align-items:center;gap:10px}.project-summary-lower article>header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f0efff}.project-summary-lower h2{margin:0;font-size:17px}.project-comment-card>p{min-height:70px;margin:18px 0 0;padding:16px;border-radius:13px;color:#596077;background:#f7f8fc;font-size:12px;line-height:1.65}.project-next-card{display:flex;flex-direction:column;gap:8px}.project-next-card header{margin-bottom:6px}.project-next-card>button{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border:1px solid #e5e7f2;border-radius:11px;color:#565cbf;background:#fafaff;font-size:11px;font-weight:780}.project-next-card>button:hover{border-color:#cac7f7;background:#f2f1ff}.project-next-card>button b{min-width:25px;padding:3px 7px;border-radius:10px;background:#ecebff;text-align:center;font-size:9px}

.project-inline-edit{margin-bottom:22px;padding:26px 28px;border:1px solid #d8d5fa;border-radius:23px;background:#fff;box-shadow:0 18px 45px rgba(74,69,180,.12);scroll-margin-top:90px}.project-inline-edit>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.project-inline-edit h2{margin:6px 0 5px;font-size:24px;letter-spacing:-.035em}.project-inline-edit header p{margin:0;color:#858a9e}.project-edit-close{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e0e3ef;border-radius:12px;background:#fff;font-size:22px}.project-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project-edit-grid label{display:flex;flex-direction:column;gap:8px;color:#555b73;font-size:11px;font-weight:820}.project-edit-grid .wide{grid-column:1/-1}.project-edit-grid input,.project-edit-grid select,.project-edit-grid textarea{width:100%;min-height:49px;padding:12px 14px;border:1px solid #dde1ed;border-radius:12px;outline:0;background:#fbfcff;font-size:13px}.project-edit-grid textarea{min-height:110px;resize:vertical}.project-edit-grid input:focus,.project-edit-grid select:focus,.project-edit-grid textarea:focus{border-color:#7771ec;box-shadow:0 0 0 4px rgba(100,91,239,.1)}.project-edit-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:19px;border-top:1px solid #eceef4}.project-edit-actions button{min-height:45px}

.project-journey-head,.project-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.project-journey-head h2,.project-panel-head h2{margin:6px 0 4px;font-size:24px;letter-spacing:-.04em}.project-journey-head p{margin:0;color:#858a9e}.project-journey-head .status-picker{min-width:460px;margin:0}.workflow-groups-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}.workflow-group{margin:0;border-radius:19px;box-shadow:0 10px 26px rgba(50,57,118,.05)}.workflow-group>summary{display:flex;align-items:center;gap:12px;padding:16px 18px;list-style:none;cursor:pointer}.workflow-group>summary::-webkit-details-marker{display:none}.workflow-group>summary>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;font-size:16px}.workflow-group>summary>div{min-width:0;flex:1}.workflow-group summary h3{margin:0;font-size:15px}.workflow-group summary p{margin:4px 0 0;color:#898ea2;font-size:10px}.workflow-group>summary>b{padding:5px 8px;border-radius:10px;color:#73788d;background:rgba(255,255,255,.72);font-size:9px;white-space:nowrap}.workflow-group>summary>i{color:#7c8194;font-size:13px;font-style:normal;transition:.2s}.workflow-group[open]>summary>i{transform:rotate(180deg)}.workflow-group.blue>summary{background:linear-gradient(90deg,#eef5ff,#f3fbff)}.workflow-group.blue>summary>span{color:#2374df;background:#dcecff}.workflow-group.violet>summary{background:linear-gradient(90deg,#f1efff,#f8f4ff)}.workflow-group.violet>summary>span{color:#6a4de4;background:#e5ddff}.workflow-group.pink>summary{background:linear-gradient(90deg,#fff0f7,#fff5f1)}.workflow-group.pink>summary>span{color:#e44f8d;background:#ffddec}.workflow-group.green>summary{background:linear-gradient(90deg,#ebfbf6,#effbff)}.workflow-group.green>summary>span{color:#0b9d84;background:#d7f6ec}.workflow-group>div{padding:0 17px}.workflow-step{min-height:72px;gap:12px;padding:12px 2px}.workflow-step>span{width:32px;height:32px;flex-basis:32px;font-size:10px}.workflow-step label strong{font-size:12px}.workflow-step label small{font-size:9px}.workflow-step>input{width:170px;height:39px;font-size:11px}.workflow-step>input.step-date{width:140px}.toggle{width:38px;height:22px}.toggle i{width:18px;height:18px}.toggle.on i{transform:translateX(16px)}.project-panel-head .outline-add{width:auto;min-width:220px}.project-meeting-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-meeting-list .meeting-card{margin:0}.project-document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-document-list .document-item{margin:0}.project-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-history-item{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e3e6f2;border-radius:14px;background:#fff}.project-history-item>span{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;overflow:hidden;border-radius:50%;color:#fff;background:linear-gradient(135deg,#6559ef,#20bcb9);font-size:10px;font-weight:850}.project-history-item>span img{width:100%;height:100%;object-fit:cover}.project-history-item p{margin:0;font-size:11px}.project-history-item small{display:block;margin-top:5px;color:#969aad;font-size:9px}

@media(max-width:1180px){.project-hero{grid-template-columns:1fr}.project-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-groups-grid{grid-template-columns:1fr}.project-journey-head{align-items:stretch;flex-direction:column}.project-journey-head .status-picker{min-width:0}}
@media(max-width:850px){.project-page-backdrop{left:0}.project-page-shell{padding:14px 16px 45px}.project-page-top{margin:-14px -16px 16px;padding:12px 16px}.project-page-tabs{top:67px;overflow-x:auto;justify-content:flex-start}.project-page-tabs button{flex:0 0 auto}.project-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-meeting-list,.project-document-list,.project-history-list{grid-template-columns:1fr}}
@media(max-width:620px){.project-back span{display:none}.project-page-actions .delete-project-btn{width:42px;padding:0;font-size:0}.project-page-actions .delete-project-btn:before{content:'⌫';font-size:15px}.project-hero{padding:22px 18px;border-radius:20px}.project-hero-copy h1{font-size:30px}.project-hero-progress{align-items:flex-start;flex-direction:column}.project-summary-grid,.project-summary-lower,.project-edit-grid{grid-template-columns:1fr}.project-edit-grid .wide{grid-column:auto}.project-inline-edit{padding:21px 18px}.project-edit-actions{align-items:stretch;flex-direction:column}.project-page-tabs{margin-right:-16px;margin-left:-16px;border-radius:0}.project-journey-head .status-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-group>summary>b{display:none}.workflow-step{flex-wrap:wrap}.workflow-step>input,.workflow-step>input.step-date{width:calc(100% - 45px);margin-left:43px;order:4}.project-panel-head{align-items:stretch;flex-direction:column}.project-panel-head .outline-add{width:100%}}
.account-card{max-width:560px;padding:27px}.account-identity{display:flex;align-items:center;gap:13px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #eceef5}.account-identity>span{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#665af2,#20b9b8);font-size:12px;font-weight:850}.account-identity>div{display:flex;flex-direction:column}.account-identity strong{font-size:15px}.account-identity small{margin-top:4px;color:#9296a7;font-size:11px}
.notification-btn{position:relative;width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border:1px solid #e1e4f1;border-radius:12px;background:#fff;font-size:17px;box-shadow:0 8px 22px rgba(50,57,118,.06)}.notification-btn:hover{border-color:#bcb8f5;background:#f5f4ff}.notification-btn b{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:12px;color:#fff;background:linear-gradient(135deg,#f04e7f,#b84ed1);font-size:9px}.notification-modal{width:min(610px,100%)}.notification-list{max-height:470px;display:flex;flex-direction:column;gap:8px;margin:20px 0;overflow:auto}.notification-item{position:relative;width:100%;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e7e8f2;border-radius:14px;color:inherit;background:#fff;text-align:left}.notification-item:not(:disabled):hover{border-color:#c8c4f7;background:#f8f7ff}.notification-item.unread{border-color:#cfcbfb;background:linear-gradient(135deg,#f3f1ff,#effcf9)}.notification-item.unread:before{content:"";position:absolute;top:10px;right:10px;width:7px;height:7px;border-radius:50%;background:#6759ee;box-shadow:0 0 0 4px rgba(103,89,238,.1)}.notification-item>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;color:#5b56df;background:#efefff}.notification-item>div{min-width:0;flex:1}.notification-item p{margin:0;padding-right:12px;font-size:12px;line-height:1.45}.notification-item small{display:block;margin-top:4px;color:#9397a8;font-size:10px}.notification-item>i{color:#8d91a2;font-size:18px;font-style:normal}.notification-item:disabled{cursor:default;opacity:1}
.notification-btn>svg{width:20px;height:20px;fill:none;stroke:#5d6075;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:.18s}.notification-btn:hover>svg{stroke:#5d56de;transform:rotate(-7deg)}.sidebar .nav .message-nav-count{min-width:21px;height:21px;display:grid;place-items:center;margin-left:auto;padding:0 6px;border:2px solid rgba(255,255,255,.28);border-radius:12px;color:#fff;background:linear-gradient(135deg,#ff5d7f,#d548ac);box-shadow:0 5px 13px rgba(215,66,135,.32);font-size:8px;line-height:1}.sidebar .nav .message-nav-count[hidden]{display:none!important}
.messages-panel{max-width:960px;margin:0 auto;padding:0;overflow:hidden}.messages-feed{height:min(56vh,590px);min-height:370px;display:flex;flex-direction:column;gap:13px;padding:24px;overflow:auto;background:linear-gradient(180deg,#fafaff,#f4f8ff)}.team-message{display:flex;align-items:flex-end;gap:10px}.team-message>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#665af2,#20b9b8);font-size:10px;font-weight:850}.team-message>div{max-width:min(72%,650px);padding:12px 14px;border:1px solid #e5e7f1;border-radius:16px 16px 16px 5px;background:#fff;box-shadow:0 7px 20px rgba(48,54,107,.06)}.team-message header{display:flex;align-items:center;justify-content:space-between;gap:18px}.team-message header strong{font-size:11px}.team-message header small{color:#9a9dae;font-size:9px}.team-message p{margin:7px 0 0;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.team-message.mine{flex-direction:row-reverse}.team-message.mine>span{background:linear-gradient(135deg,#ff9951,#e752a5)}.team-message.mine>div{color:#fff;border-color:transparent;border-radius:16px 16px 5px 16px;background:linear-gradient(135deg,#6559ef,#397ee8 60%,#19b6bb)}.team-message.mine header small{color:rgba(255,255,255,.75)}.message-compose{display:flex;align-items:flex-end;gap:11px;padding:17px;border-top:1px solid #e6e8f1;background:#fff}.message-compose textarea{min-height:48px;max-height:130px;flex:1;resize:vertical;padding:13px 15px;border:1px solid #dfe2ed;border-radius:13px;outline:0;font:inherit;font-size:12px}.message-compose textarea:focus{border-color:#8c83f2;box-shadow:0 0 0 3px rgba(100,91,239,.1)}.message-compose .primary-btn{height:48px}.message-compose button:disabled{cursor:wait;opacity:.6}
@media(max-width:620px){.notification-btn{width:40px;height:40px;flex-basis:40px}.messages-feed{min-height:55vh;padding:15px}.team-message>div{max-width:82%}.message-compose{align-items:stretch;flex-direction:column}.message-compose .primary-btn{width:100%}.notification-list{max-height:55vh}}
.account-page{min-height:100vh;background:radial-gradient(circle at 8% 92%,rgba(31,204,184,.15),transparent 28%),radial-gradient(circle at 88% 5%,rgba(112,88,246,.18),transparent 31%),#f5f7ff}.account-shell{width:min(980px,calc(100% - 40px));margin:0 auto;padding:34px 0 70px}.account-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.account-brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.account-brand>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,#725cf7,#1bc5bb);box-shadow:0 10px 28px rgba(91,83,226,.26)}.account-brand>div{display:flex;flex-direction:column}.account-brand strong{font-size:20px;font-weight:850;letter-spacing:-.04em}.account-brand small{margin-top:2px;color:#8d92a8;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.account-layout{display:grid;grid-template-columns:310px minmax(0,1fr);overflow:hidden;border:1px solid rgba(224,227,241,.9);border-radius:28px;background:#fff;box-shadow:0 30px 90px rgba(49,54,113,.13)}.account-profile{position:relative;min-height:550px;padding:38px 30px;overflow:hidden;color:#fff;background:radial-gradient(circle at 0 100%,rgba(29,199,185,.38),transparent 38%),radial-gradient(circle at 100% 0,rgba(125,91,255,.58),transparent 45%),linear-gradient(160deg,#191b43,#28265e 68%,#17475b)}.account-profile:after{content:"";position:absolute;right:-75px;bottom:-75px;width:220px;height:220px;border:1px solid rgba(255,255,255,.15);border-radius:50%}.account-profile>.eyebrow{color:#b8c1e5}.account-avatar{width:78px;height:78px;display:grid;place-items:center;margin:42px 0 22px;border:1px solid rgba(255,255,255,.28);border-radius:25px;background:linear-gradient(135deg,#ff7e9b,#ffb44e);box-shadow:0 15px 35px rgba(9,16,54,.25);font-size:20px;font-weight:850}.account-profile h1{margin:0;font-size:28px;letter-spacing:-.045em}.account-profile>p{margin:7px 0 0;color:#aeb8d8;font-size:12px}.security-card{position:absolute;right:26px;bottom:30px;left:26px;z-index:1;display:flex;align-items:flex-start;gap:11px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:17px;background:rgba(255,255,255,.09);backdrop-filter:blur(10px)}.security-card>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;color:#123d43;background:#7de8d2;font-weight:900}.security-card>div{display:flex;flex-direction:column}.security-card strong{font-size:12px}.security-card small{margin-top:5px;color:#b5c0dc;font-size:10px;line-height:1.55}.account-password-card{border:0;border-radius:0;padding:42px 45px;box-shadow:none}.account-password-card h2{margin:8px 0 7px;font-size:30px;letter-spacing:-.045em}.account-intro{margin:0 0 27px;color:var(--muted);font-size:12px;line-height:1.6}.account-form{gap:18px}.account-form label{font-size:12px}.account-form input{min-height:50px;padding:13px 15px;border-radius:13px;background:#fbfbfe}.account-form label>small{color:#969aad;font-size:10px;font-weight:600;line-height:1.45}.account-submit{width:100%;min-height:50px;margin-top:5px;font-size:13px}.account-password-card .alert{font-size:11px}.account-password-card .success-alert{border-color:#bce9dc;background:#e8fbf5}
@media(max-width:760px){.account-shell{width:min(100% - 26px,620px);padding-top:18px}.account-topbar{align-items:flex-start}.account-brand small{display:none}.account-topbar .outline-btn{min-height:40px;padding:0 12px;font-size:11px}.account-layout{grid-template-columns:1fr;border-radius:22px}.account-profile{min-height:auto;padding:27px}.account-profile>.eyebrow,.security-card{display:none}.account-avatar{width:60px;height:60px;margin:18px 0 15px;border-radius:19px;font-size:15px}.account-profile h1{font-size:23px}.account-password-card{padding:29px 23px}.account-password-card h2{font-size:25px}}
.account-avatar{overflow:hidden}.account-avatar img{width:100%;height:100%;object-fit:cover}.avatar-form{margin-top:22px}.avatar-form input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.avatar-form label{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid rgba(255,255,255,.2);border-radius:12px;color:#fff;background:rgba(255,255,255,.11);font-size:11px;font-weight:800;cursor:pointer;transition:.18s}.avatar-form label:hover{background:rgba(255,255,255,.18);transform:translateY(-1px)}.avatar-delete-form{margin-top:8px}.avatar-delete-form button{padding:0;border:0;color:#aeb9d8;background:transparent;font-size:9px;text-decoration:underline}.account-row>span{overflow:hidden}.account-row>span img{width:100%;height:100%;object-fit:cover}.activity>span,.team-message>span,.notification-item>span{overflow:hidden}.activity>span img,.team-message>span img,.notification-item>span img{width:100%;height:100%;object-fit:cover}.notification-item>span:has(img){border-radius:50%;background:#fff}.team-message>span:has(img){border:2px solid #fff;box-shadow:0 4px 12px rgba(45,50,99,.14)}
@media(max-width:760px){.avatar-form{position:absolute;top:26px;right:25px;margin:0}.avatar-form label{font-size:0}.avatar-form label:first-letter{font-size:15px}.avatar-delete-form{position:absolute;right:25px;top:72px}.account-profile{position:relative}}
.meeting-actions{display:flex;align-items:center;gap:6px;margin-left:auto}.meeting-actions button{width:31px;height:31px;display:grid;place-items:center;padding:0;border:1px solid #d7d4fa;border-radius:10px;color:#5954dd;background:#f2f1ff;font-size:13px;font-weight:850;transition:.18s}.meeting-actions button:hover{color:#fff;border-color:#6159e8;background:#6159e8;transform:translateY(-1px)}.meeting-actions button.danger{color:#c23e64;border-color:#f2c4d0;background:#fff1f5}.meeting-actions button.danger:hover{color:#fff;border-color:#d94d76;background:#d94d76}.meeting-actions button:disabled,.document-delete:disabled{cursor:wait;opacity:.55;transform:none}.document-item{display:flex;align-items:center;gap:7px}.document-item>a{min-width:0;flex:1}.document-delete{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;padding:0;border:1px solid #f1c2cf;border-radius:11px;color:#bf3f61;background:#fff1f5;font-size:14px;font-weight:850;transition:.18s}.document-delete:hover{color:#fff;border-color:#d94d76;background:#d94d76;transform:translateY(-1px)}
@media(max-width:620px){.meeting-actions{gap:4px}.meeting-actions button{width:36px;height:36px}.document-delete{width:44px;height:44px;flex-basis:44px}}
.meeting-card{position:relative;transition:.2s}.meeting-card.past{border-color:#ffc9a6;background:linear-gradient(135deg,#fff8ec,#fff2f6);box-shadow:0 8px 24px rgba(224,111,82,.11)}.meeting-card.past:before{content:"";position:absolute;inset:9px auto 9px 0;width:3px;border-radius:0 5px 5px 0;background:linear-gradient(#ff9a4d,#eb568e)}.meeting-card.past .meeting-date{color:#b85163;background:#ffe9df}.meeting-card.has-report{border-color:#9edfd4;background:linear-gradient(135deg,#f0fffb,#f6f4ff)}.meeting-card.has-report:before{background:linear-gradient(#20bda9,#6659ef)}.meeting-past-label{width:max-content;display:inline-flex;align-items:center;margin-top:6px;padding:3px 7px;border-radius:10px;color:#b34e61;background:#ffe4e8;font-size:8px;font-style:normal;font-weight:850}.meeting-past-label.report-ready{color:#087965;background:#dff8f1}.meeting-actions .report-action{width:auto;min-width:31px;padding:0 9px;gap:5px;color:#a84a61;border-color:#f2becb;background:#fff0f4}.meeting-actions .report-action span{font-size:9px}.meeting-actions .report-action:hover{border-color:#d94d76;background:#d94d76}.meeting-actions .report-action.ready{color:#087965;border-color:#a7ded2;background:#e4faf4}.meeting-actions .report-action.ready:hover{color:#fff;border-color:#17aa96;background:#17aa96}.report-modal{width:min(680px,100%)}.report-context{display:flex;align-items:center;gap:12px;margin:18px 0;padding:14px 16px;border:1px solid #dbdcf4;border-radius:15px;background:linear-gradient(135deg,#f4f3ff,#ebfaf7)}.report-context>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#675af0,#1dbbac);font-weight:900}.report-context>div{display:flex;flex-direction:column}.report-context strong{font-size:13px}.report-context small{margin-top:4px;color:#7c8194;font-size:10px}.report-modal form>label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:800}.report-modal textarea{width:100%;min-height:230px;padding:16px;border:1px solid #dfe2ed;border-radius:15px;outline:0;resize:vertical;background:#fbfbfe;font-size:12px;line-height:1.65}.report-modal textarea:focus{border-color:#8c83f2;box-shadow:0 0 0 3px rgba(100,91,239,.1)}.report-modal textarea[readonly]{color:#34384e;border-color:#cfe9e3;background:#f3fcf9}.report-updated{display:block;margin:8px 0 18px;color:#9297a9;font-size:9px}
@media(max-width:620px){.meeting-card{align-items:flex-start;flex-wrap:wrap}.meeting-card>div{min-width:calc(100% - 62px)}.meeting-actions{width:100%;justify-content:flex-end;padding-top:5px}.meeting-actions .report-action{width:auto}.meeting-actions .report-action span{display:inline}.report-modal textarea{min-height:210px}}
.meeting-actions button>span{display:none}.meetings-panel-head{align-items:flex-end;padding-bottom:17px;border-bottom:1px solid #eceef5}.meetings-panel-head .eyebrow{display:block;margin-bottom:5px;font-size:8px}.meetings-panel-head h2{margin:0;font-size:22px}.meeting-counts{display:flex;gap:7px}.meeting-counts>span{display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:12px;font-size:9px;font-weight:750}.meeting-counts b{font-size:12px}.meeting-counts .future{color:#5551d4;background:#efefff}.meeting-counts .history{color:#ae4c61;background:#ffe9ed}.meetings-list{display:flex;flex-direction:column;gap:12px;padding-top:5px}.meetings-list .meeting-card{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:start;gap:0 13px;margin-top:0;padding:16px;border-radius:17px}.meetings-list .meeting-date{width:54px;height:59px;grid-row:1;flex-basis:54px;border-radius:14px}.meetings-list .meeting-date strong{font-size:20px}.meetings-list .meeting-date small{margin-top:2px;font-size:8px;font-weight:800}.meetings-list .meeting-card>div{min-width:0;padding-top:2px}.meetings-list .meeting-card>div>strong{overflow:visible;font-size:13px;line-height:1.3;white-space:normal}.meetings-list .meeting-card>div>span{overflow:visible;margin-top:5px;font-size:11px;line-height:1.35;white-space:normal}.meetings-list .meeting-card>div>small{margin-top:6px;font-size:10px}.meetings-list .meeting-past-label{margin-top:8px;padding:4px 8px;font-size:8px}.meetings-list .meeting-actions{width:100%;display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0 0;padding-top:12px;border-top:1px solid rgba(130,134,159,.14)}.meetings-list .meeting-actions:has(.edit-action):not(:has(.report-action)){grid-template-columns:repeat(2,minmax(0,1fr))}.meetings-list .meeting-actions button{width:100%;height:38px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px}.meetings-list .meeting-actions button i{font-size:12px;font-style:normal}.meetings-list .meeting-actions button span{display:inline;font-size:9px;font-weight:850}.meetings-list .meeting-card>i{grid-column:2;justify-self:end}.upcoming{padding:24px}.upcoming>.small-empty{margin-top:30px}
@media(max-width:1500px){.meeting-layout{grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr)}}
@media(max-width:1120px){.meeting-layout{grid-template-columns:1fr}.meetings-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.meetings-list{grid-template-columns:1fr}.meetings-panel-head{align-items:flex-start;flex-direction:column}.meeting-counts{margin-top:11px}.meetings-list .meeting-actions{grid-template-columns:1fr 1fr}.meetings-list .meeting-actions .report-action{grid-column:1/-1}}
.open-project-icon{width:34px;height:34px;display:grid!important;place-items:center;justify-self:end;flex:0 0 34px;border:1px solid #d9d6fa;border-radius:11px;color:#5752db;background:linear-gradient(135deg,#f1f0ff,#e8faf7);box-shadow:0 5px 14px rgba(76,73,188,.09);font-size:14px;font-weight:850;transition:.18s}.project-row{grid-template-columns:42px minmax(145px,1.4fr) minmax(100px,.8fr) minmax(105px,.7fr) 38px}.project-row:hover .open-project-icon,.table-row:hover .open-project-icon{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6659ef,#22b9b5);box-shadow:0 8px 20px rgba(83,80,212,.22);transform:translateY(-1px)}.project-table{min-width:950px}.table-head,.table-row{grid-template-columns:minmax(220px,1.3fr) minmax(140px,.8fr) minmax(120px,.7fr) minmax(160px,.9fr) minmax(140px,.8fr) 38px}.drawer-head{gap:8px;padding:15px 25px 13px}.drawer-head h2{margin:3px 0 2px;font-size:21px}.drawer-head>button{align-self:center}.drawer-head>span{display:none}
@media(max-width:620px){.project-row{grid-template-columns:40px 1fr 36px}.project-row .status,.project-row .progress-cell{display:none!important}.drawer-head{padding:13px 17px 11px}.drawer-head h2{font-size:20px}.open-project-icon{width:36px;height:36px;flex-basis:36px}}
.project-row{grid-template-columns:minmax(185px,1.45fr) minmax(100px,.8fr) minmax(105px,.7fr) 38px}.pharmacy-cell{gap:0}.project-name>strong,.pharmacy-cell>b>strong{flex-wrap:wrap}.project-shortcuts{display:inline-flex;align-items:center;gap:5px;margin-left:2px}.project-meeting-shortcut{width:26px;height:26px;display:inline-grid;place-items:center;flex:0 0 26px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:850;line-height:1;cursor:pointer;transition:.18s}.project-meeting-shortcut.calendar{color:#5752d9;border-color:#d4d1fa;background:#efefff}.project-meeting-shortcut.report{color:#087a66;border-color:#aee2d7;background:#e3faf4}.project-meeting-shortcut:hover{color:#fff;transform:translateY(-1px);box-shadow:0 6px 15px rgba(71,70,160,.18)}.project-meeting-shortcut.calendar:hover{border-color:#6259e8;background:#6259e8}.project-meeting-shortcut.report:hover{border-color:#16aa96;background:#16aa96}
@media(max-width:620px){.project-row{grid-template-columns:1fr 36px}.project-row .status,.project-row .progress-cell{display:none!important}.project-shortcuts{margin-top:2px}.project-meeting-shortcut{width:28px;height:28px;flex-basis:28px}}
.pharmacy-cell{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important}.pharmacy-cell>b{width:100%;align-items:flex-start;text-align:left}.pharmacy-cell>b>strong{justify-content:flex-start}.table-row>span{justify-self:stretch}.table-row .owner{justify-content:flex-start}
.calendar-art{padding:24px;overflow:hidden}.calendar-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.calendar-toolbar .eyebrow{display:block;margin-bottom:5px;font-size:8px}.calendar-toolbar h2{margin:0;font-size:22px;letter-spacing:-.035em;text-transform:capitalize}.calendar-controls{display:flex;align-items:center;gap:7px}.calendar-controls button,.calendar-controls select{height:39px;border:1px solid #dfe2ef;border-radius:11px;color:#555a71;background:#fff;outline:0;font:inherit;font-size:10px;font-weight:800;box-shadow:0 5px 13px rgba(44,50,103,.04)}.calendar-controls button{width:39px;padding:0;font-size:20px}.calendar-controls select{padding:0 28px 0 11px;cursor:pointer}.calendar-controls button:hover,.calendar-controls select:focus{color:#5752da;border-color:#aaa5f3;background:#f7f6ff}.calendar-controls .calendar-today{width:auto;padding:0 13px;color:#fff;border-color:transparent;background:linear-gradient(135deg,#6659ef,#24bcb8);font-size:9px}.month-calendar-scroll{max-width:100%;overflow:auto;border-radius:18px}.month-calendar{min-width:720px;overflow:hidden;border:1px solid #e1e4f0;border-radius:18px;background:#fff}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));color:#7f8498;background:#f6f7fc;font-size:9px;font-weight:850;text-align:center;text-transform:uppercase}.calendar-weekdays span{padding:11px 6px;border-right:1px solid #e7e9f2}.calendar-weekdays span:last-child{border-right:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-height:112px;padding:9px;border-top:1px solid #e7e9f2;border-right:1px solid #e7e9f2;background:#fff}.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{color:#b8bccb;background:#fafbfe}.calendar-day.weekend:not(.outside){background:#fdfdff}.calendar-day.today{position:relative;background:linear-gradient(145deg,#f1f0ff,#eefcf9);box-shadow:inset 0 0 0 2px #7770ef}.calendar-day-number{width:25px;height:25px;display:grid;place-items:center;border-radius:9px;font-size:10px;font-weight:850}.calendar-day.today .calendar-day-number{color:#fff;background:linear-gradient(135deg,#6659ef,#20b9b8)}.calendar-events{display:flex;flex-direction:column;gap:4px;margin-top:5px}.calendar-event{width:100%;min-width:0;display:flex;align-items:center;gap:5px;padding:5px 6px;border:1px solid #d8d6fa;border-radius:8px;color:#4f4bc6;background:#efefff;text-align:left;cursor:pointer;transition:.16s}.calendar-event:hover{color:#fff;border-color:#6259e8;background:#6259e8;box-shadow:0 5px 12px rgba(87,81,209,.19);transform:translateY(-1px)}.calendar-event>span{flex:0 0 auto;font-size:8px;font-weight:900}.calendar-event>b{min-width:0;overflow:hidden;flex:1;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.calendar-event>i{font-size:9px;font-style:normal}.calendar-event.past{color:#a64f60;border-color:#f3cbd3;background:#fff1f4}.calendar-event.reported{color:#087562;border-color:#a9ded3;background:#e5faf4}.calendar-event.past:hover,.calendar-event.reported:hover{color:#fff;border-color:#18a892;background:#18a892}.calendar-more{display:block;padding:2px 4px;color:#777c90;font-size:8px;font-weight:800}
@media(max-width:760px){.calendar-art{padding:17px}.calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-controls{width:100%;flex-wrap:wrap}.calendar-controls select{flex:1}.calendar-controls .calendar-today{margin-left:auto}.month-calendar{min-width:680px}.calendar-day{min-height:103px}}
.step-status-icon{position:relative;height:23px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:1px;padding:0 7px;border-radius:8px;vertical-align:middle}.step-status-icon.plan-missing{min-width:54px;color:#b63f60;border:1px solid #f3b9c8;background:linear-gradient(135deg,#fff1f5,#ffe3ea);box-shadow:0 4px 11px rgba(185,61,95,.11)}.step-status-icon.deposit-received{min-width:37px;color:#08745d;border:1px solid #9ddccc;background:linear-gradient(135deg,#e8fbf5,#d9f8ee);box-shadow:0 4px 11px rgba(13,139,111,.1)}.step-status-icon>i{font-size:7px;font-style:normal;font-weight:900;letter-spacing:-.02em;white-space:nowrap}.step-status-icon>b{position:absolute;top:-5px;right:-5px;width:13px;height:13px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;color:#fff;background:#e64d75;font-size:9px;line-height:1}.step-status-icon.deposit-received>b{background:#18a987}.deposit-status-row{display:flex!important;align-items:center;justify-content:flex-start;gap:7px;margin-top:9px}.drawer-head h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.drawer-head h2 .step-status-icon{height:25px}.drawer-head h2 .step-status-icon.plan-missing{min-width:60px}.drawer-head h2 .step-status-icon>i{font-size:8px}.drawer-head .deposit-status-row{margin-top:9px}.drawer-head .deposit-status-row .step-status-icon{height:25px;min-width:41px}.drawer-head .deposit-status-row .step-status-icon>i{font-size:8px}
.page-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.legend-trigger{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid #d9d6f5;border-radius:13px;color:#5551cf;background:linear-gradient(135deg,#f6f5ff,#effcf9);box-shadow:0 7px 18px rgba(70,69,154,.07);font-size:10px;font-weight:850;transition:.18s}.legend-trigger:hover{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6659ef,#20b9b8);box-shadow:0 9px 22px rgba(83,80,204,.2);transform:translateY(-1px)}.icon-legend-modal{width:min(720px,100%)}.icon-legend-intro{margin-bottom:18px}.icon-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.icon-legend-item{min-height:88px;display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e4e6f0;border-radius:16px;background:#fbfbfe}.icon-legend-sample{min-width:78px;display:flex;align-items:center;justify-content:center;gap:6px}.icon-legend-sample .step-status-icon{height:27px}.icon-legend-sample .comment-bubble,.icon-legend-sample .project-meeting-shortcut,.icon-legend-sample .open-project-icon{margin:0}.icon-legend-copy{min-width:0}.icon-legend-copy strong{display:block;font-size:12px}.icon-legend-copy p{margin:5px 0 0;color:#82879a;font-size:10px;line-height:1.45}.icon-legend-sample .deposit-status-row{margin:0;gap:5px}.icon-legend-sample .project-shortcuts{margin:0}.legend-open-sample{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d9d6fa;border-radius:11px;color:#5752db;background:linear-gradient(135deg,#f1f0ff,#e8faf7);font-size:14px;font-weight:850}
@media(max-width:760px){.page-head-actions{width:100%;justify-content:flex-start}.page-head-actions .primary-btn{flex:1}.icon-legend-grid{grid-template-columns:1fr}.icon-legend-item{min-height:78px}}
.user-form-card.editing{border-color:#c9c5f7;background:linear-gradient(180deg,#fff,#faf9ff)}.user-form-card>.eyebrow{display:block;margin-bottom:6px}.user-form-intro{margin:-8px 0 17px;color:#858a9d;font-size:10px;line-height:1.5}.cancel-user-edit{min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #dedfed;border-radius:11px;color:#656a7e;font-size:10px;font-weight:800;text-decoration:none}.cancel-user-edit:hover{color:#5752d8;border-color:#bdb8f2;background:#f5f4ff}.users-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:7px}.users-list-head h2{margin:4px 0 0}.users-list-head>b{padding:7px 10px;border-radius:12px;color:#5753d9;background:#efefff;font-size:9px}.account-row{min-height:69px}.account-row.selected{margin:0 -10px;padding-right:10px;padding-left:10px;border-color:#d7d4fa;border-radius:13px;background:#f6f5ff}.account-row>div:nth-of-type(1) strong{display:flex;align-items:center;gap:6px}.account-row strong em{padding:3px 6px;border-radius:8px;color:#08755f;background:#dcf8ef;font-size:7px;font-style:normal}.account-row .role-badge{flex:0 0 auto}.account-actions{display:flex!important;align-items:center;gap:6px;flex:0 0 auto}.account-actions>a,.account-actions button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid #d8d5f7;border-radius:10px;color:#5752d9;background:#f3f2ff;font-size:13px;font-weight:850;text-decoration:none;transition:.16s}.account-actions>a:hover{color:#fff;border-color:#6259e8;background:#6259e8;transform:translateY(-1px)}.account-actions form{margin:0}.account-actions .delete-user{color:#bf4062;border-color:#f0c1ce;background:#fff1f5}.account-actions .delete-user:hover{color:#fff;border-color:#d94d76;background:#d94d76;transform:translateY(-1px)}.account-actions button:disabled{cursor:not-allowed;opacity:.35}.login-form label small{display:block;margin-top:5px;color:#9296a8;font-size:9px;line-height:1.45}
@media(max-width:760px){.account-row{align-items:flex-start;flex-wrap:wrap}.account-row>div:nth-of-type(1){min-width:calc(100% - 54px)}.account-row .role-badge{margin-left:47px}.account-actions{margin-left:auto}.users-list-head{align-items:center}}
.messaging-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.messaging-layout .messages-panel{max-width:none;margin:0}.message-audience{display:block;margin-top:8px;color:#777d91;font-size:8px!important;font-weight:800;letter-spacing:.02em}.team-message.mine .message-audience{color:rgba(255,255,255,.82)}.message-compose{display:block;padding:0;background:#fff}.recipient-picker{position:relative;border-top:1px solid #e6e8f1;background:#fbfbfe}.recipient-picker summary{min-height:45px;display:flex;align-items:center;gap:8px;padding:0 17px;color:#777c91;font-size:10px;cursor:pointer;list-style:none}.recipient-picker summary::-webkit-details-marker{display:none}.recipient-picker summary strong{min-width:0;overflow:hidden;flex:1;color:#35394e;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.recipient-picker summary i{color:#6460dd;font-size:15px;font-style:normal;transition:.18s}.recipient-picker[open] summary i{transform:rotate(180deg)}.recipient-menu{position:absolute;z-index:20;left:16px;bottom:calc(100% + 7px);width:min(390px,calc(100vw - 70px));max-height:330px;overflow:auto;padding:8px;border:1px solid #dedff0;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(42,47,96,.2)}.recipient-option{min-height:54px;display:grid;grid-template-columns:18px 36px minmax(0,1fr) 9px;align-items:center;gap:9px;padding:7px 8px;border-radius:11px;cursor:pointer;transition:.15s}.recipient-option:hover{background:#f4f3ff}.recipient-option input{width:15px;height:15px;margin:0;accent-color:#6259e9}.recipient-avatar{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:11px;color:#fff;background:linear-gradient(135deg,#6659ef,#21b9b6);font-size:9px;font-weight:850}.recipient-avatar img{width:100%;height:100%;object-fit:cover}.recipient-option>span:nth-of-type(2){min-width:0;display:flex;flex-direction:column;gap:3px}.recipient-option strong{overflow:hidden;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.recipient-option small{color:#9095a8;font-size:8px}.recipient-presence-dot{width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:#b5b8c5;box-shadow:0 0 0 1px #e0e2ea}.recipient-presence-dot.online{background:#19b593;box-shadow:0 0 0 3px #ddf8f1}.recipient-option.team{border-bottom:1px solid #ececf4;margin-bottom:5px;padding-bottom:10px}.recipient-option.team .recipient-avatar{color:#5b56d8;background:#efefff;font-size:14px}.recipient-empty{display:block;padding:15px;color:#9296a7;font-size:9px;text-align:center}.message-compose-row{display:flex;align-items:flex-end;gap:11px;padding:13px 17px 17px}.message-compose-row textarea{min-height:48px;max-height:130px;flex:1;resize:vertical;padding:13px 15px;border:1px solid #dfe2ed;border-radius:13px;outline:0;font:inherit;font-size:12px}.message-compose-row textarea:focus{border-color:#8c83f2;box-shadow:0 0 0 3px rgba(100,91,239,.1)}.message-compose-row .primary-btn{height:48px}.presence-panel{padding:20px}.presence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #eceef5}.presence-head .eyebrow{display:block;margin-bottom:4px;font-size:8px}.presence-head h2{margin:0;font-size:20px}.presence-head>b{padding:6px 8px;border-radius:10px;color:#08755f;background:#def8f0;font-size:8px;white-space:nowrap}.presence-list{display:flex;flex-direction:column;gap:3px;padding:11px 0}.presence-user{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px}.presence-user:hover{background:#f7f7fc}.presence-avatar{position:relative;width:38px;height:38px;display:grid;place-items:center;overflow:visible;flex:0 0 38px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#6659ef,#20b9b8);font-size:9px;font-weight:850}.presence-avatar>img{width:100%;height:100%;overflow:hidden;border-radius:12px;object-fit:cover}.presence-dot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#afb3c0;box-shadow:0 2px 5px rgba(50,54,90,.18)}.presence-dot.online{background:#19b593}.presence-user>div{min-width:0;display:flex;flex-direction:column;gap:4px}.presence-user strong{overflow:hidden;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.presence-user small{color:#9297a8;font-size:8px}.presence-help{display:block;padding-top:12px;border-top:1px solid #eceef5;color:#969aab;font-size:8px;line-height:1.5}
.account-presence{display:flex!important;align-items:center;gap:5px;margin-top:5px;color:#9297a8!important}.account-presence i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#afb3c0}.account-presence.online{color:#08755f!important}.account-presence.online i{background:#19b593;box-shadow:0 0 0 3px #ddf8f1}
@media(max-width:1050px){.messaging-layout{grid-template-columns:1fr}.presence-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.presence-list{grid-template-columns:1fr}.recipient-menu{left:10px;width:calc(100vw - 54px)}.message-compose-row{align-items:stretch;flex-direction:column}.message-compose-row .primary-btn{width:100%}}
.online-team-note{padding:14px}.online-team-note>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.online-team-note>header>div{min-width:0;display:flex;align-items:center;gap:7px}.online-team-note>header span{color:#24d3ad;font-size:12px;line-height:1;text-shadow:0 0 10px rgba(36,211,173,.75)}.online-team-note>header strong{overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.online-team-note>header b{min-width:25px;padding:4px 7px;border-radius:10px;color:#bdf8e9;background:rgba(36,211,173,.16);font-size:9px;text-align:center}.sidebar-online-users{max-height:150px;display:flex;flex-direction:column;gap:5px;margin-top:11px;overflow:auto}.sidebar-online-users>small{display:block;padding:8px 2px;color:#a8b2d0;font-size:9px;line-height:1.4}.sidebar-online-user{min-height:38px;display:flex;align-items:center;gap:9px;padding:5px 7px;border-radius:11px;background:rgba(255,255,255,.055)}.sidebar-online-user>span{position:relative;width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;overflow:visible;border-radius:9px;color:#fff;background:linear-gradient(135deg,#6659ef,#20b9b8);font-size:8px;font-weight:850}.sidebar-online-user>span img{width:100%;height:100%;border-radius:9px;object-fit:cover}.sidebar-online-user>span i{position:absolute;right:-2px;bottom:-2px;width:9px;height:9px;border:2px solid #26335a;border-radius:50%;background:#24d3ad;box-shadow:0 0 0 2px rgba(36,211,173,.18)}.sidebar-online-user>strong{min-width:0;overflow:hidden;color:#fff;font-size:10px;white-space:nowrap;text-overflow:ellipsis}
.sidebar .nav{position:relative;min-height:48px;gap:12px;overflow:hidden;transition:color .18s,background .18s,transform .18s,box-shadow .18s}.sidebar .nav:hover{transform:translateX(2px)}.sidebar .nav.active{background:linear-gradient(100deg,rgba(112,91,240,.3),rgba(32,188,181,.13));box-shadow:inset 3px 0 0 #6f65f2,0 8px 22px rgba(8,11,42,.12)}.nav-icon{width:25px!important;height:25px;display:grid;place-items:center;flex:0 0 25px;color:#cbd2ea;transition:color .18s,transform .18s,filter .18s}.nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar .nav:hover .nav-icon{color:#7cebd9;transform:scale(1.07)}.sidebar .nav.active .nav-icon{color:#fff;filter:drop-shadow(0 0 7px rgba(108,223,207,.48))}.sidebar .nav.active .nav-icon svg{stroke-width:2}.logout-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:#b8c1de!important;transition:.18s}.logout-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.logout-icon:hover{color:#fff!important;background:rgba(255,255,255,.1);transform:translateX(2px)}

/* Pictogrammes homogènes et blocs statistiques compacts */
.ui-icon{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.legend-trigger{gap:8px}.legend-trigger .ui-icon{width:17px;height:17px}.comment-bubble .ui-icon{width:14px;height:14px}.project-meeting-shortcut .ui-icon{width:15px;height:15px}.open-project-icon .ui-icon{width:17px;height:17px}.project-summary-grid article>span .ui-icon,.project-summary-lower article>header>span .ui-icon{width:21px;height:21px}.legend-menu-icon{width:39px;height:39px;display:grid;place-items:center;border:1px solid;border-radius:12px;box-shadow:0 6px 15px rgba(69,72,150,.09)}.legend-menu-icon .ui-icon{width:20px;height:20px}.legend-menu-icon.violet{color:#5b56d9;border-color:#d7d4fa;background:#efefff}.legend-menu-icon.blue{color:#2773d6;border-color:#cce0f8;background:#eaf4ff}.legend-menu-icon.green{color:#087963;border-color:#afe1d7;background:#e4faf4}.legend-menu-icon.teal{color:#087b82;border-color:#afe1e4;background:#e5faf9}.metrics{gap:12px}.metric{min-height:112px;padding:17px 20px;border-radius:17px}.metric:after{right:-22px;bottom:-38px;width:88px;height:88px}.metric>strong{margin-top:0;font-size:33px}.metric h3{margin-top:6px;font-size:13px}.metric p{bottom:14px;left:20px;font-size:10px}
@media(max-width:620px){.metric{min-height:116px;padding:16px}.metric>strong{font-size:29px}.metric p{bottom:13px;left:16px;font-size:9px}}
.project-visio-summary-meta{display:block;margin:13px 0 0;color:#747a91;font-size:10px;font-weight:750}.project-visio-summary-meta+p{margin-top:10px}

/* Parcours conditionnel : Conception 3D et nouvelle étape 15 */
.workflow-branch-choice{min-height:70px;display:flex;align-items:center;gap:14px;margin:12px 0 4px;padding:12px 14px;border:1px solid #e0dff0;border-radius:14px;background:linear-gradient(135deg,#f8f7ff,#fff7fb)}.workflow-branch-choice>div:first-child{min-width:0;flex:1;display:flex;flex-direction:column}.workflow-branch-choice strong{font-size:12px}.workflow-branch-choice small{margin-top:4px;color:#8c90a3;font-size:10px}.workflow-branch-choice.yes{border-color:#b9e5d9;background:linear-gradient(135deg,#effbf7,#f5fffd)}.workflow-branch-choice.yes small{color:#118b74}.workflow-branch-choice.no{border-color:#e3e4ec;background:#f4f5f8}.workflow-branch-choice.no small{color:#777c8e}.workflow-step.is-disabled{margin-right:-15px;margin-left:-15px;padding-right:16px;padding-left:16px;color:#9a9dab;background:#f1f2f5;opacity:.78}.workflow-step.is-disabled>span{color:#9da1af;border-color:#d8dae2;background:#e5e7ed}.workflow-step.is-disabled label strong{color:#8e92a0}.workflow-step.is-disabled label small{color:#8c909e}.workflow-step.is-disabled .toggle{cursor:not-allowed;background:#ced1da}.yes-no-choice button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:620px){.workflow-branch-choice{align-items:flex-start;flex-direction:column}.workflow-branch-choice .yes-no-choice{width:100%}.workflow-branch-choice .yes-no-choice button{flex:1}}
.urgency-badge{display:inline-flex;align-items:center;min-height:24px;margin-left:7px;padding:3px 9px;border:1px solid #f2a8b9;border-radius:999px;color:#bd2f58;background:#fff0f4;box-shadow:0 4px 12px rgba(202,48,91,.12);font-size:10px!important;font-weight:850;line-height:1;vertical-align:middle}.project-row.is-urgent,.table-row.is-urgent{background:linear-gradient(90deg,#fff8fa 0,#fff 24%)}.project-row.is-urgent{box-shadow:inset 3px 0 #e64670}.table-row.is-urgent{box-shadow:inset 4px 0 #e64670}.project-hero-badges .urgency-badge{margin-left:0}.priority-field{grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-height:64px;padding:12px 14px;border:1px solid #f0bbc8;border-radius:13px;color:#5b2838!important;background:linear-gradient(135deg,#fff5f8,#fff)!important;cursor:pointer}.form-grid .priority-field input,.project-edit-grid .priority-field input{width:20px!important;min-height:20px!important;height:20px;margin:0;accent-color:#df3f69;box-shadow:none!important}.priority-field>span{display:flex;flex-direction:column;gap:4px}.priority-field>span>strong{font-size:12px}.priority-field>span>small{color:#8d6570;font-size:10px;font-weight:600;line-height:1.4}@media(max-width:620px){.urgency-badge{min-height:23px;padding:3px 8px;font-size:9px!important}}
.project-summary-lower{grid-template-columns:minmax(0,1fr)}.project-comment-card{width:100%}.project-comment-card>p{min-height:110px;padding:20px;font-size:13px;line-height:1.75}

/* Navigation du dossier : onglets et actions réunis sur une seule ligne */
.project-page-top{justify-content:flex-start}.project-page-tabs{justify-content:space-between;gap:14px}.project-tab-links,.project-tab-actions{display:flex;align-items:center;gap:5px}.project-tab-links{min-width:0}.project-tab-actions{flex:0 0 auto;gap:8px;margin-left:auto}.project-page-tabs .project-tab-actions button{min-height:39px;padding:0 13px;border-radius:10px;font-size:10px;font-weight:820;white-space:nowrap}.project-page-tabs .project-tab-actions .edit-project-btn{border:1px solid #d1cef8;color:#5852da;background:#f5f3ff}.project-page-tabs .project-tab-actions .edit-project-btn:hover{border-color:#aaa5ee;color:#4841cd;background:#eceaff}.project-page-tabs .project-tab-actions .delete-project-btn{border:1px solid #f0bdc9;color:#c43c61;background:#fff3f6}.project-page-tabs .project-tab-actions .delete-project-btn:hover{border-color:#e88da4;color:#ad274c;background:#ffe9ef}
@media(max-width:850px){.project-tab-links,.project-tab-actions{flex:0 0 auto}}
@media(max-width:620px){.project-page-tabs{gap:8px}.project-page-tabs .project-tab-actions button{min-height:38px}.project-page-tabs .project-tab-actions .edit-project-btn{padding:0 10px}.project-page-tabs .project-tab-actions .delete-project-btn{width:38px;padding:0;font-size:0}.project-page-tabs .project-tab-actions .delete-project-btn:before{content:'⌫';font-size:15px}}

/* Date associée à chacune des 15 étapes */
.workflow-date-field{width:140px;display:flex;flex:0 0 140px;flex-direction:column;gap:3px}.workflow-date-field>small{color:#858aa0;font-size:8px;font-weight:820;text-transform:uppercase}.workflow-date-field>input{width:100%;height:39px;padding:0 9px;border:1px solid #dfe2ed;border-radius:9px;outline:0;color:#34394d;background:#fafbff;font-size:11px}.workflow-date-field>input:focus{border-color:#7771ec;box-shadow:0 0 0 3px rgba(100,91,239,.1)}.workflow-date-field.is-disabled{opacity:.58}.workflow-date-field>input:disabled{display:block;cursor:not-allowed}.workflow-step>input.step-value{width:160px;flex:0 1 160px}.workflow-step.is-disabled .workflow-date-field{opacity:.42}
@media(max-width:620px){.workflow-step>input.step-value,.workflow-date-field{width:calc(100% - 45px);margin-left:43px;flex-basis:auto;order:4}.workflow-date-field>input{width:100%}}

/* PharmaFlow v14 — Packs merchandising & tarification EUR au m² */
.pack-pricing-card{display:block!important;padding:15px 17px;border:1px solid #d9d8f4;border-radius:15px;background:linear-gradient(135deg,#f5f4ff,#eefbf8);box-shadow:0 8px 22px rgba(73,73,150,.06)}.pack-pricing-card[hidden]{display:none!important}.pack-pricing-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.pack-pricing-head>span{min-width:0;display:flex;flex-direction:column;gap:3px}.pack-pricing-head small{color:#6963df;font-size:9px;font-weight:900;text-transform:uppercase}.pack-pricing-head strong{color:#2f3349;font-size:13px}.pack-pricing-head>b{flex:0 0 auto;padding:6px 10px;border-radius:11px;color:#fff;background:linear-gradient(135deg,#6559ef,#1db9ae);font-size:11px}.pack-pricing-card>p{margin:10px 0;color:#6f7487;font-size:10px;line-height:1.5}.pack-pricing-result{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:11px 12px;border:1px solid rgba(105,99,223,.14);border-radius:12px;background:rgba(255,255,255,.72)}.pack-pricing-result span{color:#797e92;font-size:9px;font-weight:750}.pack-pricing-result strong{color:#3b3f59;font-size:12px;text-align:right}.pack-scale{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.pack-scale i{padding:5px 8px;border:1px solid #e1e2ed;border-radius:9px;color:#7b8092;background:#fff;font-size:8px;font-style:normal}.pack-scale i b{color:#5551cf}.project-pack-summary strong{white-space:normal!important;line-height:1.35}.project-pack-summary em{line-height:1.45}.project-summary-grid .project-pack-summary{align-items:flex-start}.project-summary-grid .project-pack-summary>span{margin-top:2px}
@media(max-width:620px){.pack-pricing-head,.pack-pricing-result{align-items:flex-start;flex-direction:column}.pack-pricing-result strong{text-align:left}.pack-scale{display:grid;grid-template-columns:1fr;width:100%}}

/* PharmaFlow v15 — Vue "Toutes les pharmacies" optimisée sur mobile */
@media(max-width:760px){
  .table-panel{overflow:visible}
  .project-table{width:100%;min-width:0;overflow:visible;padding:8px;background:transparent}
  .project-table .table-head{display:none}
  .project-table .table-row{position:relative;width:100%;display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:start;gap:10px 12px;margin:0 0 10px;padding:15px;border:1px solid #e7e9f3;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(56,62,126,.055);text-align:left}
  .project-table .table-row:last-child{margin-bottom:0}
  .project-table .table-row.is-urgent{border-color:#f0c0cc;box-shadow:inset 4px 0 #e64670,0 8px 22px rgba(56,62,126,.055)}
  .project-table .table-row>span{min-width:0;justify-self:stretch}
  .project-table .pharmacy-cell{grid-column:1;grid-row:1;align-items:flex-start!important}
  .project-table .pharmacy-cell>b{min-width:0;width:100%}
  .project-table .pharmacy-cell>b>strong{display:flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
  .project-table .pharmacy-cell small{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
  .project-table .open-project-icon{grid-column:2;grid-row:1;align-self:start;justify-self:end}
  .project-table .progress-cell{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:72px minmax(0,1fr) 34px;align-items:center;gap:8px;padding-top:8px;border-top:1px solid #eef0f6}
  .project-table .progress-cell:before{content:'Parcours';color:#8d92a7;font-size:8px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
  .project-table .progress-cell>i{width:100%}
  .project-table .progress-cell>strong{text-align:right}
  .project-table .status{grid-column:1/-1;grid-row:3;width:100%;min-height:32px;justify-content:flex-start;border-radius:11px;padding:7px 10px;white-space:normal}
  .project-table .status:before{content:'Étape';width:52px;flex:0 0 52px;color:currentColor;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;opacity:.68}
  .project-table .table-row>span:nth-child(4){grid-column:1/-1;grid-row:4;display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:2px 8px;align-items:start;padding-top:2px}
  .project-table .table-row>span:nth-child(4):before{content:'Contact visio';grid-row:1/3;align-self:center;color:#8d92a7;font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
  .project-table .table-row>span:nth-child(4)>strong,.project-table .table-row>span:nth-child(4)>small{grid-column:2;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .project-table .owner{grid-column:1/-1;grid-row:5;display:flex!important;align-items:center;gap:8px;padding-top:2px;white-space:normal;overflow-wrap:anywhere}
  .project-table .owner:before{content:'Responsable';width:64px;flex:0 0 64px;color:#8d92a7;font-size:8px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
  .project-table .owner i{flex:0 0 26px}
}

@media(max-width:420px){
  .project-table{padding:6px}
  .project-table .table-row{grid-template-columns:minmax(0,1fr) 38px;gap:9px 8px;padding:13px 12px;border-radius:14px}
  .project-table .progress-cell{grid-template-columns:64px minmax(0,1fr) 31px}
  .project-table .table-row>span:nth-child(4){grid-template-columns:64px minmax(0,1fr)}
  .project-table .owner:before{width:56px;flex-basis:56px}
}


/* v17 — conversation persistante + remise à zéro du champ après envoi */
.message-conversation-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 17px;
  border-top:1px solid #eceef5;
  background:#fafbff;
}
.message-conversation-status>div{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  column-gap:8px;
  row-gap:2px;
  align-items:center;
}
.message-conversation-status>div>span{
  grid-row:1 / span 2;
  color:#a4a8ba;
  font-size:12px;
}
.message-conversation-status>div>strong{
  min-width:0;
  overflow:hidden;
  color:#4e536b;
  font-size:10px;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.message-conversation-status>div>small{
  color:#969bae;
  font-size:8px;
  line-height:1.35;
}
.message-conversation-status.active{
  background:#f4fbf9;
}
.message-conversation-status.active>div>span{
  color:#19b593;
}
.message-conversation-status.active>div>strong{
  color:#24675b;
}
.conversation-end-btn{
  flex:0 0 auto;
  min-height:32px;
  padding:0 11px;
  border:1px solid #e3d7dc;
  border-radius:10px;
  color:#9a4c66;
  background:#fff;
  font:inherit;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}
.conversation-end-btn:hover{
  background:#fff6f8;
}
.message-compose-row textarea:disabled{
  cursor:not-allowed;
  color:#9ba0b1;
  background:#f5f6fa;
}
@media(max-width:620px){
  .message-conversation-status{
    align-items:stretch;
    flex-direction:column;
  }
  .conversation-end-btn{
    width:100%;
  }
}


/* v18 — réponse directe depuis un message privé */
.message-reply-btn{margin-top:8px;padding:6px 9px;border:1px solid #dfe1ee;border-radius:9px;color:#5559cc;background:#f7f7ff;font:inherit;font-size:8px;font-weight:850;cursor:pointer;transition:.15s}
.message-reply-btn:hover{border-color:#bfc2ec;background:#eeeeff;transform:translateY(-1px)}
.team-message.mine .message-reply-btn{display:none}
@media(max-width:620px){.message-reply-btn{min-height:34px;padding:7px 10px;font-size:9px}}


/* v19 — conversations séparées par utilisateur */
.presence-user.presence-conversation{width:100%;border:0;text-align:left;font:inherit;color:inherit;background:transparent;cursor:pointer}
.presence-user.presence-conversation:hover{background:#f3f4ff}
.presence-user.presence-conversation.active{background:#eeefff;box-shadow:inset 0 0 0 1px #d9dbff}
.presence-user.current{opacity:.82}
.presence-chat-arrow{margin-left:auto;color:#8387a4;font-size:18px;font-style:normal;line-height:1}
.presence-user.presence-conversation.active .presence-chat-arrow{color:#5f5ae1}
.messages-feed .small-empty{margin:auto}
@media(max-width:620px){.presence-user.presence-conversation{min-height:54px}.presence-chat-arrow{font-size:22px}}

/* v20 — historique par conversation + pièces jointes */
.message-history-tools{display:flex;flex-direction:column;align-items:center;gap:5px;padding:2px 0 8px;color:#9095a8;text-align:center}
.message-history-tools button{padding:7px 11px;border:1px solid #dfe1ee;border-radius:10px;color:#5c59d8;background:#fff;font:inherit;font-size:9px;font-weight:850;cursor:pointer;box-shadow:0 4px 12px rgba(49,54,98,.05)}
.message-history-tools button:hover{background:#f3f3ff;border-color:#c9c8ef}
.message-history-tools span{font-size:8px;font-weight:800}
.message-history-tools small{font-size:8px;line-height:1.45}
.message-attachments{display:flex;flex-direction:column;gap:6px;margin-top:9px}
.message-attachment{min-width:210px;max-width:100%;display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:8px 9px;border:1px solid #e2e4ef;border-radius:11px;color:#444960;background:#f8f9fd;text-decoration:none;transition:.15s}
.message-attachment:hover{border-color:#c9cbed;background:#f1f2ff;transform:translateY(-1px)}
.message-attachment>span{font-size:15px}
.message-attachment>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.message-attachment strong{overflow:hidden;font-size:9px;white-space:nowrap;text-overflow:ellipsis}
.message-attachment small{color:#9296a8;font-size:8px}
.message-attachment>i{color:#6864dd;font-size:15px;font-style:normal;text-align:center}
.team-message.mine .message-attachment{border-color:rgba(255,255,255,.22);color:#fff;background:rgba(255,255,255,.13)}
.team-message.mine .message-attachment:hover{background:rgba(255,255,255,.2)}
.team-message.mine .message-attachment small,.team-message.mine .message-attachment>i{color:rgba(255,255,255,.82)}
.message-attachment-zone{padding:11px 17px 2px;border-top:1px solid #eceef5;background:#fff}
.message-attachment-zone.disabled{opacity:.55}
.message-attachment-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.message-attachment-tools>small{color:#969aaa;font-size:8px}
.message-attach-btn{position:relative;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #dfe1ed;border-radius:10px;color:#575bc8;background:#f8f8ff;font-size:9px;font-weight:850;cursor:pointer;transition:.15s}
.message-attach-btn:hover{border-color:#c5c6ec;background:#efefff}
.message-attach-btn input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.message-attachment-zone.disabled .message-attach-btn{cursor:not-allowed}
.queued-attachments{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.queued-attachment{min-width:190px;max-width:310px;display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:7px;padding:7px 8px;border:1px solid #e3e5ef;border-radius:10px;background:#fafaff}
.queued-attachment>span{font-size:13px}
.queued-attachment>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.queued-attachment strong{overflow:hidden;font-size:8px;white-space:nowrap;text-overflow:ellipsis}
.queued-attachment small{color:#969aaa;font-size:7px}
.queued-attachment button{width:23px;height:23px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;color:#7f8395;background:#eceef5;font-size:14px;cursor:pointer}
.queued-attachment button:hover{color:#a33b54;background:#f7e7eb}
@media(max-width:620px){.message-history-tools{padding-bottom:5px}.message-attachment{min-width:0;width:100%}.message-attachment-tools{align-items:flex-start;flex-direction:column;gap:6px}.message-attach-btn{width:100%;justify-content:center;min-height:38px}.queued-attachments{flex-direction:column}.queued-attachment{width:100%;max-width:none}.message-attachment-zone{padding:10px 12px 2px}}

/* PharmaFlow v21 — dernière connexion des membres */
.account-last-login{display:block!important;margin-top:4px!important;color:#6f7488!important;font-size:8px!important;line-height:1.35}.presence-user>div .presence-status{margin:0;color:#74798d;font-weight:750}.presence-user>div .presence-last-login{margin:0;color:#969bad;font-size:7.5px;line-height:1.35}.presence-user .presence-status+.presence-last-login{margin-top:-1px}.presence-user.current .presence-last-login{opacity:.95}@media(max-width:620px){.presence-user>div .presence-last-login{font-size:7.5px}.account-last-login{font-size:8px!important}}


/* PharmaFlow v23 — barème ESV Ressources par pays, séparé des packs */
.esv-pricing-panel{margin:4px 0 2px;padding:16px 17px 17px;border:1px solid #d9d8f4;border-radius:17px;background:linear-gradient(135deg,#fbfbff,#f2fbf8);min-width:0}
.esv-pricing-panel legend{padding:0 8px;color:#4742bd;font-size:11px;font-weight:900;letter-spacing:.02em}
.esv-pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px;align-items:stretch}
.esv-pricing-grid>label:not(.esv-check){display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:800;color:#676d80}
.esv-country-class{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:11px 13px;border:1px solid #e0e1ee;border-radius:12px;background:#fff}
.esv-country-class small{font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:#8a8fa0}.esv-country-class strong{font-size:12px;color:#4a4e66}.esv-country-class strong.unmatched{color:#b35d3d}
.esv-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #e2e3ee;border-radius:12px;background:rgba(255,255,255,.84);cursor:pointer}
.esv-check input{flex:0 0 auto;margin-top:2px}.esv-check span{display:flex;min-width:0;flex-direction:column;gap:3px}.esv-check strong{font-size:10px;color:#3e435b}.esv-check small{font-size:8px;line-height:1.4;color:#858a9d;font-weight:600}
.esv-pricing-result{margin-top:12px}.esv-rate-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.esv-rate-preview span{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:10px;background:#fff;border:1px solid #e5e5ef;font-size:8px;color:#808597}.esv-rate-preview b{font-size:10px;color:#5551cf}
.esv-pricing-hint,.esv-pricing-warning,.esv-pricing-note{margin:9px 1px 0;font-size:8px;line-height:1.45;color:#858a9c}.esv-pricing-warning{color:#a65d40}.esv-pricing-note{font-style:italic}
.esv-price-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid #e7e7f0}.esv-price-line>span{display:flex;flex-direction:column;gap:2px;min-width:0}.esv-price-line strong{font-size:10px;color:#43485e}.esv-price-line small{font-size:8px;color:#858a9b}.esv-price-line>b{flex:0 0 auto;font-size:11px;color:#3f3bb1}
.esv-price-total{display:flex;align-items:stretch;justify-content:space-between;gap:10px;margin-top:11px}.esv-price-total>span{display:flex;flex:1;flex-direction:column;gap:3px;padding:11px 12px;border-radius:12px;background:linear-gradient(135deg,#6559ef,#22b8b1);color:#fff}.esv-price-total small{font-size:8px;font-weight:750;opacity:.86}.esv-price-total strong{font-size:15px}.esv-price-total .esv-filiale{background:#fff;border:1px solid #dfe0eb;color:#4b4f66}.esv-price-total .esv-filiale small{color:#858a9c}.esv-price-total.incomplete>span{background:#fff6ec;border:1px solid #f0dbc5;color:#9b613d}
.project-esv-summary{align-items:flex-start!important}.project-esv-summary>span{margin-top:2px}.project-esv-summary strong{white-space:normal!important}.project-esv-summary em{line-height:1.45}
@media(max-width:760px){.esv-pricing-grid{grid-template-columns:1fr}.esv-rate-preview{grid-template-columns:1fr 1fr}.esv-price-total{flex-direction:column}}
@media(max-width:460px){.esv-rate-preview{grid-template-columns:1fr}.esv-price-line{align-items:flex-start}.esv-price-line>b{text-align:right}}


/* PharmaFlow v24 — fiche pharmacie réorganisée + barème ESV lisible */
.project-inline-edit-v24{padding:28px 30px 30px;background:linear-gradient(180deg,#fff 0,#fbfcff 100%)}
.project-edit-grid-v24{gap:18px}
.project-form-section{padding:20px;border:1px solid #e6e8f2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(57,63,120,.035)}
.project-form-section-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:17px;padding-bottom:14px;border-bottom:1px solid #eef0f6}
.project-form-section-head>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:11px;color:#5955d8;background:linear-gradient(135deg,#eeedff,#e7faf7);font-size:11px;font-weight:900}
.project-form-section-head>div{min-width:0;display:flex;flex-direction:column;gap:3px}.project-form-section-head small{color:#7c81a0;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.project-form-section-head h3{margin:0;color:#242740;font-size:17px;letter-spacing:-.025em}.project-form-section-head p{margin:2px 0 0;color:#8a8fa1;font-size:10px;line-height:1.5}
.project-form-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-form-fields-four{grid-template-columns:repeat(4,minmax(0,1fr))}.project-form-fields-followup{grid-template-columns:1fr}.project-form-fields .wide{grid-column:1/-1}
.project-edit-grid-v24 .project-form-section label{display:flex;flex-direction:column;gap:7px;color:#555b73;font-size:10px;font-weight:820}.project-edit-grid-v24 .project-form-section input,.project-edit-grid-v24 .project-form-section select,.project-edit-grid-v24 .project-form-section textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid #dde1ed;border-radius:12px;outline:0;background:#fbfcff;font-size:13px}.project-edit-grid-v24 .project-form-section textarea{min-height:105px}.project-edit-grid-v24 .project-form-section input:focus,.project-edit-grid-v24 .project-form-section select:focus,.project-edit-grid-v24 .project-form-section textarea:focus{border-color:#7771ec;box-shadow:0 0 0 4px rgba(100,91,239,.1)}

.esv-pricing-panel-v24{margin:0;padding:22px;border:1px solid #d9d9f3;border-radius:20px;background:linear-gradient(135deg,#f9f9ff 0,#f4fbfa 100%);box-shadow:0 10px 28px rgba(70,69,150,.05)}
.esv-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding-bottom:17px;border-bottom:1px solid #e5e6f0}.esv-panel-title{min-width:0}.esv-panel-title>span{display:block;margin-bottom:4px;color:#6660dc;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.esv-panel-title h3{margin:0;color:#252740;font-size:20px;letter-spacing:-.03em}.esv-panel-title p{max-width:690px;margin:5px 0 0;color:#7e8398;font-size:11px;line-height:1.5}
.esv-country-class{min-width:205px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:12px 14px;border:1px solid #dfe1ed;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(53,60,110,.04)}.esv-country-class small{color:#8a8fa0;font-size:8px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.esv-country-class strong{color:#4641bd;font-size:14px}.esv-country-class strong.unmatched{color:#b35d3d}.esv-country-class em{color:#969aaa;font-size:9px;font-style:normal}
.esv-pricing-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.85fr);gap:18px;align-items:start}.esv-pricing-config{min-width:0}.esv-surface-row{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(260px,1fr);gap:12px;align-items:stretch}.esv-surface-row>label{display:flex!important;flex-direction:column!important;gap:7px!important;color:#555b73!important;font-size:10px!important;font-weight:850!important}.esv-surface-row input{width:100%!important;min-height:50px!important;padding:11px 14px!important;border:1px solid #dfe1ed!important;border-radius:12px!important;background:#fff!important;font-size:15px!important;font-weight:750!important}.esv-surface-row>p{display:flex;flex-direction:column;justify-content:center;gap:4px;margin:0;padding:11px 13px;border:1px solid #e4e5ee;border-radius:12px;background:rgba(255,255,255,.72)}.esv-surface-row>p strong{color:#52566e;font-size:10px}.esv-surface-row>p span{color:#8b8fa2;font-size:9px;line-height:1.45}
.esv-services-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:18px 1px 9px}.esv-services-heading>div{display:flex;flex-direction:column;gap:2px}.esv-services-heading small{color:#7772dc;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.esv-services-heading strong{color:#363a52;font-size:13px}.esv-services-heading>span{color:#969aaa;font-size:9px;text-align:right}
.esv-services-list{display:flex;flex-direction:column;gap:9px}.esv-service-card{position:relative;display:grid!important;grid-template-columns:26px minmax(0,1fr) max-content;align-items:center!important;gap:10px!important;min-height:74px;padding:12px 13px!important;border:1px solid #e0e2ec!important;border-radius:13px!important;background:#fff!important;cursor:pointer!important;transition:border-color .16s,box-shadow .16s,transform .16s}.esv-service-card:hover{border-color:#c9c7f1!important;box-shadow:0 7px 18px rgba(73,69,176,.06);transform:translateY(-1px)}.esv-service-card>input[type="checkbox"]{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important}.esv-service-tick{width:22px;height:22px;display:grid;place-items:center;border:2px solid #cfd2df;border-radius:7px;color:transparent;background:#fff;font-size:12px;font-weight:900;transition:.16s}.esv-service-card:has(input:checked){border-color:#aaa6ee!important;background:linear-gradient(135deg,#fbfaff,#f8fffd)!important;box-shadow:0 7px 20px rgba(83,77,199,.08)}.esv-service-card:has(input:checked) .esv-service-tick{border-color:#625be8;color:#fff;background:linear-gradient(135deg,#6a5cf1,#20b8b5)}.esv-service-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.esv-service-copy strong{color:#34384f;font-size:11px;line-height:1.3}.esv-service-copy strong em{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;color:#8a6d24;background:#fff3c8;font-size:7px;font-style:normal;text-transform:uppercase}.esv-service-copy small{color:#858a9c;font-size:9px;line-height:1.45;font-weight:600}.esv-service-card>b{min-width:86px;color:#4f4bc4;font-size:12px;text-align:right;white-space:nowrap}
.esv-install-card{grid-template-columns:26px minmax(0,1fr) max-content;cursor:default!important}.esv-install-card:hover{transform:none}.esv-install-icon{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;color:#6a58d9;background:#efeefe;font-size:15px;font-weight:800}.esv-days-field{grid-column:2/-1;display:grid!important;grid-template-columns:minmax(0,1fr) 110px;align-items:center!important;gap:12px!important;margin-top:2px;padding-top:10px;border-top:1px solid #eef0f5;color:#666b80!important}.esv-days-field>span{font-size:9px;font-weight:800}.esv-days-field input{width:110px!important;min-height:40px!important;padding:8px 10px!important;border:1px solid #dfe1ed!important;border-radius:10px!important;background:#fbfcff!important;font-size:12px!important;font-weight:800!important;text-align:center}
.esv-pricing-result{position:sticky;top:92px;min-height:278px;padding:17px;border:1px solid #dedfee;border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(56,63,125,.07)}.esv-summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #eceef4}.esv-summary-heading>div{display:flex;flex-direction:column;gap:3px}.esv-summary-heading small{color:#878b9f;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.esv-summary-heading strong{color:#282b43;font-size:24px;line-height:1.1;letter-spacing:-.04em}.esv-summary-heading.incomplete strong{color:#a3653f;font-size:17px}.esv-summary-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border-radius:999px;color:#4f4ac2;background:#efefff;font-size:9px;font-weight:900}.esv-summary-context{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.esv-summary-context span{padding:5px 7px;border-radius:8px;color:#686d83;background:#f3f4f8;font-size:8px;font-weight:800}.esv-summary-lines{display:flex;flex-direction:column}.esv-summary-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef0f5}.esv-summary-line>span{min-width:0;display:flex;align-items:flex-start;gap:7px}.esv-summary-line i{width:17px;height:17px;display:grid;place-items:center;flex:0 0 17px;border-radius:50%;color:#148c78;background:#e3f8f3;font-size:8px;font-style:normal;font-weight:900}.esv-summary-line>span>span{display:flex;min-width:0;flex-direction:column;gap:2px}.esv-summary-line strong{color:#40445c;font-size:9px}.esv-summary-line small{color:#9498a8;font-size:8px;line-height:1.35}.esv-summary-line>b{color:#3f3bb1;font-size:10px;white-space:nowrap}.esv-internal-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 11px;border:1px dashed #d5d7e4;border-radius:11px;background:#fafbff}.esv-internal-line>span{display:flex;flex-direction:column;gap:2px}.esv-internal-line small{color:#9a9dad;font-size:7px;text-transform:uppercase;letter-spacing:.07em}.esv-internal-line strong{color:#62667c;font-size:9px}.esv-internal-line>b{color:#5753c8;font-size:11px}.esv-summary-empty{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:13px;border-radius:12px;background:#f7f8fc}.esv-summary-empty>span{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;border-radius:8px;color:#5e59d8;background:#ebeaff;font-size:11px;font-weight:900}.esv-summary-empty strong{display:block;color:#4d5168;font-size:10px}.esv-summary-empty p{margin:4px 0 0;color:#8d91a3;font-size:9px;line-height:1.45}.esv-summary-warning{background:#fff7ef}.esv-summary-warning>span{color:#a8683e;background:#ffead8}.esv-summary-alert,.esv-summary-footnote{margin:10px 0 0;padding:9px 10px;border-radius:9px;color:#956139;background:#fff4e8;font-size:8px;line-height:1.45}.esv-summary-footnote{color:#7e8295;background:#f7f8fb}.esv-panel-note{margin:13px 1px 0;color:#8c90a2;font-size:8px;line-height:1.45;font-style:italic}

@media(max-width:1100px){.project-form-fields-four{grid-template-columns:repeat(2,minmax(0,1fr))}.esv-pricing-layout{grid-template-columns:1fr}.esv-pricing-result{position:static;min-height:0}.esv-services-heading>span{text-align:left}}
@media(max-width:760px){.project-form-fields,.project-form-fields-four{grid-template-columns:1fr}.project-form-fields .wide{grid-column:auto}.project-form-section{padding:16px}.project-form-section-head h3{font-size:15px}.esv-pricing-panel-v24{padding:16px}.esv-panel-heading{align-items:stretch;flex-direction:column}.esv-country-class{min-width:0}.esv-surface-row{grid-template-columns:1fr}.esv-services-heading{align-items:flex-start;flex-direction:column}.esv-service-card,.esv-install-card{grid-template-columns:26px minmax(0,1fr) max-content}.esv-service-card .esv-service-tick,.esv-install-card .esv-install-icon{grid-column:1}.esv-service-copy{grid-column:2}.esv-service-card>b{grid-column:3}.esv-days-field{grid-column:2/-1}.project-inline-edit-v24{padding:20px 16px}}
@media(max-width:480px){.esv-service-card,.esv-install-card{grid-template-columns:26px minmax(0,1fr)}.esv-service-card>b{grid-column:2;text-align:left;margin-top:2px}.esv-days-field{grid-column:1/-1;grid-template-columns:1fr 90px}.esv-days-field input{width:90px!important}.esv-summary-heading strong{font-size:21px}}

/* v27 — page Étapes réorganisée et densifiée */
.project-journey-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,420px);
  align-items:end;
  gap:18px;
}
.project-journey-head .status-picker{
  width:100%;
  min-width:0;
}

@media (min-width:1181px){
  .workflow-groups-grid{
    display:block;
    column-count:2;
    column-gap:16px;
  }
  .workflow-group{
    display:inline-block;
    width:100%;
    margin:0 0 16px;
    break-inside:avoid;
    vertical-align:top;
  }
  .workflow-group>div{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 14px;
    padding:0 17px 16px;
  }
  .workflow-group>div>.workflow-branch-choice{
    grid-column:1 / -1;
    margin:12px 0 2px;
  }
  .workflow-group>div>.workflow-step{
    min-height:auto;
    margin:0;
    padding:12px 0;
    align-self:start;
    border-top:1px solid #eef0f6;
  }
  .workflow-group>div>.workflow-step.is-disabled{
    margin:0;
    padding:12px;
    border-radius:12px;
  }
}

.workflow-step{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto auto;
  align-items:center;
  column-gap:12px;
  row-gap:8px;
}
.workflow-step>span{
  grid-column:1;
  grid-row:1 / span 2;
}
.workflow-step label{
  grid-column:2;
  min-width:0;
}
.workflow-step .workflow-date-field,
.workflow-step>.step-value,
.workflow-step>input.step-value,
.workflow-step>input.step-date{
  justify-self:end;
}
.workflow-step .workflow-date-field{
  grid-column:3;
}
.workflow-step .yes-no-choice,
.workflow-step .toggle{
  grid-column:4;
  justify-self:end;
}
.workflow-step .workflow-date-field.is-disabled{
  opacity:.42;
}
.workflow-step label strong{
  line-height:1.25;
}
.workflow-step label small{
  line-height:1.3;
}
.workflow-branch-choice{
  margin:14px 0 6px;
}
.workflow-group>summary{
  align-items:flex-start;
}
.workflow-group>summary>i{
  margin-top:3px;
}

@media (max-width:1180px){
  .project-journey-head{
    display:flex;
    align-items:stretch;
    flex-direction:column;
  }
  .workflow-groups-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
  }
}

@media (max-width:620px){
  .workflow-step{
    display:flex;
    flex-wrap:wrap;
  }
}

/* v28 — page Étapes en blocs pleine largeur empilés */
.workflow-groups-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:18px !important;
}

.workflow-group{
  width:100%;
  margin:0;
}

.workflow-group > div{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px 18px;
  padding:0 18px 18px;
}

.workflow-group > div > .workflow-branch-choice{
  grid-column:1 / -1;
  margin:14px 0 2px;
}

.workflow-group > div > .workflow-step{
  min-height:auto;
  margin:0;
  padding:14px 2px;
  align-self:start;
}

.workflow-group > div > .workflow-step.is-disabled{
  margin:0;
  padding:14px;
  border-radius:14px;
}

.workflow-step{
  display:grid;
  grid-template-columns:34px minmax(220px, 1.2fr) minmax(140px, auto) auto;
  align-items:center;
  column-gap:14px;
  row-gap:8px;
}

.workflow-step > span{
  grid-column:1;
  grid-row:1 / span 2;
}

.workflow-step label{
  grid-column:2;
  min-width:0;
}

.workflow-step .workflow-date-field,
.workflow-step > input.step-value,
.workflow-step > input.step-date{
  grid-column:3;
  justify-self:stretch;
  width:min(180px, 100%);
  margin-left:0;
}

.workflow-step .toggle,
.workflow-step .yes-no-choice{
  grid-column:4;
  justify-self:end;
  margin-left:0;
}

.workflow-step .yes-no-choice{
  display:flex;
  gap:8px;
}

.workflow-step .yes-no-choice button{
  min-width:74px;
}

.workflow-step label strong{
  line-height:1.22;
}

.workflow-step label small{
  line-height:1.35;
}

.workflow-group > summary{
  padding:18px 20px;
}

.workflow-group > summary > div{
  max-width:none;
}

@media (max-width:1180px){
  .workflow-group > div{
    grid-template-columns:1fr;
  }
  .workflow-group > div > .workflow-step,
  .workflow-group > div > .workflow-step.is-disabled{
    padding-right:4px;
    padding-left:4px;
  }
}

@media (max-width:760px){
  .workflow-step{
    display:flex;
    flex-wrap:wrap;
  }
  .workflow-step > input.step-value,
  .workflow-step > input.step-date,
  .workflow-step .workflow-date-field{
    width:calc(100% - 48px);
    margin-left:46px;
  }
  .workflow-step .yes-no-choice{
    width:calc(100% - 48px);
    margin-left:46px;
    justify-content:flex-start;
  }
}

/* v29 — page Étapes premium, plus propre et mieux organisée */
.workflow-groups-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:20px !important;
}

.workflow-group{
  width:100%;
  overflow:hidden;
  border:1px solid #e6e8f2;
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 36px rgba(50,57,118,.06);
}

.workflow-group>summary{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 24px;
}
.workflow-group>summary>span{
  width:56px;
  height:56px;
  flex:0 0 56px;
  border-radius:18px;
  font-size:20px;
}
.workflow-group summary h3{
  font-size:17px;
}
.workflow-group summary p{
  font-size:11px;
  line-height:1.4;
}
.workflow-group>summary>b{
  margin-left:auto;
  min-width:84px;
  padding:8px 12px;
  text-align:center;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  font-size:10px;
}
.workflow-group>summary>i{
  margin-left:2px;
  font-size:14px;
}

.workflow-group>div{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:18px 24px 24px;
}

.workflow-branch-choice{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin:0;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid #e7e1f0;
  background:linear-gradient(135deg,#fbfaff,#fffafc);
}
.workflow-branch-choice strong{
  font-size:14px;
}
.workflow-branch-choice small{
  font-size:11px;
  line-height:1.4;
}

.yes-no-choice{
  display:flex;
  align-items:center;
  gap:10px;
}
.yes-no-choice button{
  min-width:78px;
  min-height:40px;
  padding:0 14px;
  border:1px solid #d7dced;
  border-radius:999px;
  background:#fff;
  color:#6f758b;
  font-size:12px;
  font-weight:800;
}
.yes-no-choice button.selected.yes{
  color:#0d9a7a;
  border-color:#bde7db;
  background:#effbf6;
}
.yes-no-choice button.selected.no{
  color:#c35379;
  border-color:#efc7d5;
  background:#fff0f5;
}

.workflow-step{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 155px auto;
  align-items:center;
  gap:16px;
  min-height:unset;
  margin:0;
  padding:16px 18px;
  border:1px solid #edf0f6;
  border-radius:18px;
  background:#fff;
}
.workflow-step>span{
  width:40px;
  height:40px;
  flex-basis:40px;
  font-size:11px;
}
.workflow-step label{
  min-width:0;
}
.workflow-step label strong{
  display:block;
  font-size:15px;
  line-height:1.24;
}
.workflow-step label small{
  display:block;
  margin-top:5px;
  font-size:11px;
  line-height:1.42;
}
.workflow-step.complete{
  border-color:#d8efe7;
  background:linear-gradient(135deg,#ffffff,#f7fffc);
}
.workflow-step .workflow-date-field,
.workflow-step>input.step-value,
.workflow-step>input.step-date{
  width:155px;
  margin:0;
}
.workflow-date-field{
  width:155px;
  flex-basis:auto;
}
.workflow-date-field>small{
  font-size:9px;
}
.workflow-date-field>input{
  height:42px;
  border-radius:12px;
  font-size:12px;
}
.workflow-step>input.step-value{
  width:155px;
  height:42px;
  border-radius:12px;
  font-size:12px;
}

.toggle{
  width:44px;
  height:24px;
}
.toggle i{
  width:20px;
  height:20px;
}
.toggle.on i{
  transform:translateX(20px);
}

.workflow-step.is-disabled{
  padding:16px 18px;
  border-color:#e6e8ee;
  border-radius:18px;
  background:#f4f5f8;
  opacity:.92;
}
.workflow-step.is-disabled>span{
  background:#eceff4;
}
.workflow-step.is-disabled label strong{
  color:#9095a5;
}
.workflow-step.is-disabled label small{
  color:#98a0ae;
}
.workflow-step.is-disabled .workflow-date-field{
  opacity:.6;
}

.project-journey-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(380px,460px);
  align-items:end;
  gap:18px;
  margin-bottom:18px;
}
.project-journey-head .status-picker{
  min-width:0;
  width:100%;
  margin:0;
  padding:16px 18px;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(50,57,118,.04);
}
.project-journey-head h2{
  font-size:30px;
}
.project-journey-head p{
  max-width:720px;
  font-size:13px;
  line-height:1.5;
}

@media (max-width:1180px){
  .project-journey-head{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width:900px){
  .workflow-step{
    grid-template-columns:40px minmax(0,1fr);
  }
  .workflow-step>span{
    grid-row:1 / span 3;
  }
  .workflow-step .workflow-date-field,
  .workflow-step>input.step-value,
  .workflow-step>input.step-date{
    grid-column:2;
    width:min(220px,100%);
  }
  .workflow-step .toggle,
  .workflow-step .yes-no-choice{
    grid-column:2;
    justify-self:start;
  }
  .workflow-branch-choice{
    grid-template-columns:1fr;
  }
}

@media (max-width:620px){
  .workflow-group>summary{
    padding:18px 16px;
  }
  .workflow-group>div{
    padding:16px;
  }
  .workflow-step,
  .workflow-step.is-disabled,
  .workflow-branch-choice{
    padding:14px;
  }
  .workflow-step{
    gap:12px;
  }
  .workflow-step label strong{
    font-size:14px;
  }
  .workflow-step label small,
  .workflow-branch-choice small{
    font-size:10px;
  }
  .workflow-step .workflow-date-field,
  .workflow-step>input.step-value,
  .workflow-step>input.step-date,
  .workflow-step .yes-no-choice{
    width:100%;
  }
  .workflow-step .yes-no-choice{
    flex-wrap:wrap;
  }
  .yes-no-choice button{
    flex:1;
  }
}

/* v30 — Étapes plus compactes, modèle proche du bloc Conception 3D */
.workflow-groups-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:18px !important;
}

.workflow-group{
  border-radius:22px;
}

.workflow-group>summary{
  padding:16px 20px;
  gap:14px;
}
.workflow-group>summary>span{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:16px;
  font-size:18px;
}
.workflow-group summary h3{
  font-size:15px;
}
.workflow-group summary p{
  margin-top:3px;
  font-size:10px;
  line-height:1.35;
}
.workflow-group>summary>b{
  min-width:76px;
  padding:7px 10px;
  font-size:9px;
}

.workflow-group>div{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
  padding:16px 20px 20px;
}
.workflow-group>div>.workflow-branch-choice{
  grid-column:1 / -1;
}

.workflow-branch-choice{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  border-radius:16px;
}
.workflow-branch-choice strong{
  font-size:13px;
}
.workflow-branch-choice small{
  font-size:10px;
  line-height:1.35;
}

.yes-no-choice{
  gap:8px;
}
.yes-no-choice button{
  min-width:70px;
  min-height:36px;
  padding:0 12px;
  font-size:11px;
}

.workflow-step{
  min-height:unset;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 150px auto;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid #edf0f6;
  border-radius:16px;
  background:#fff;
}
.workflow-step>span{
  width:34px;
  height:34px;
  flex-basis:34px;
  font-size:10px;
}
.workflow-step label strong{
  font-size:13px;
  line-height:1.2;
}
.workflow-step label small{
  margin-top:4px;
  font-size:10px;
  line-height:1.35;
}
.workflow-step .workflow-date-field,
.workflow-step>input.step-value,
.workflow-step>input.step-date{
  width:150px;
}
.workflow-date-field{
  width:150px;
}
.workflow-date-field>small{
  font-size:8px;
}
.workflow-date-field>input,
.workflow-step>input.step-value{
  height:38px;
  padding:0 10px;
  border-radius:11px;
  font-size:11px;
}
.toggle{
  width:40px;
  height:22px;
}
.toggle i{
  width:18px;
  height:18px;
}
.toggle.on i{
  transform:translateX(18px);
}
.workflow-step.is-disabled{
  padding:14px 16px;
  border-radius:16px;
  background:#f4f5f8;
}

.project-journey-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,420px);
  align-items:end;
  gap:16px;
  margin-bottom:16px;
}
.project-journey-head h2{
  font-size:28px;
}
.project-journey-head p{
  font-size:12px;
}
.project-journey-head .status-picker{
  padding:14px 16px;
  border-radius:16px;
}

@media (max-width:1180px){
  .project-journey-head{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width:900px){
  .workflow-group>div{
    grid-template-columns:1fr;
  }
  .workflow-step{
    grid-template-columns:34px minmax(0,1fr);
  }
  .workflow-step>span{
    grid-row:1 / span 3;
  }
  .workflow-step .workflow-date-field,
  .workflow-step>input.step-value,
  .workflow-step>input.step-date,
  .workflow-step .toggle,
  .workflow-step .yes-no-choice{
    grid-column:2;
    justify-self:start;
  }
  .workflow-step .workflow-date-field,
  .workflow-step>input.step-value,
  .workflow-step>input.step-date{
    width:min(190px,100%);
  }
  .workflow-branch-choice{
    grid-template-columns:1fr;
  }
}

@media (max-width:620px){
  .workflow-group>summary{
    padding:14px 16px;
  }
  .workflow-group>div{
    padding:14px 16px 16px;
    gap:12px;
  }
  .workflow-step,
  .workflow-step.is-disabled,
  .workflow-branch-choice{
    padding:12px 14px;
  }
  .workflow-step label strong{
    font-size:12px;
  }
  .workflow-step label small,
  .workflow-branch-choice small{
    font-size:9px;
  }
  .workflow-step .workflow-date-field,
  .workflow-step>input.step-value,
  .workflow-step>input.step-date,
  .workflow-step .yes-no-choice{
    width:100%;
  }
  .yes-no-choice button{
    flex:1;
  }
}

/* v31 — correction mobile débordement du bloc date dans les étapes */
.workflow-step,
.workflow-step label,
.workflow-step .workflow-date-field,
.workflow-step .yes-no-choice,
.workflow-step > input.step-value,
.workflow-step > input.step-date {
  min-width: 0;
  box-sizing: border-box;
}

.workflow-date-field,
.workflow-date-field > input,
.workflow-step > input.step-value,
.workflow-step > input.step-date {
  max-width: 100%;
}

@media (max-width: 900px) {
  .workflow-step .workflow-date-field,
  .workflow-step > input.step-value,
  .workflow-step > input.step-date {
    width: 100%;
    max-width: 100%;
  }
  .workflow-date-field {
    width: 100%;
    flex: 1 1 100%;
  }
  .workflow-date-field > input,
  .workflow-step > input.step-value,
  .workflow-step > input.step-date {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .workflow-step {
    width: 100%;
    overflow: hidden;
  }
  .workflow-step .workflow-date-field,
  .workflow-step > input.step-value,
  .workflow-step > input.step-date,
  .workflow-step .yes-no-choice,
  .workflow-step .toggle {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .workflow-date-field {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
  .workflow-date-field > input,
  .workflow-step > input.step-value,
  .workflow-step > input.step-date {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .workflow-step .yes-no-choice {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
  }
  .workflow-step .yes-no-choice button {
    min-width: 0;
    flex: 1 1 calc(50% - 6px);
  }
}

/* v36 — classement des pharmacies par priorité et rappel des dossiers en attente */
.waiting-reminder-badge{display:inline-flex;align-items:center;margin-left:7px;padding:3px 7px;border-radius:999px;color:#a53d5c;background:rgba(255,255,255,.7);font-size:8px;font-weight:900;line-height:1;white-space:nowrap}.waiting-reminder-panel{display:grid;grid-template-columns:42px minmax(220px,1fr) auto;align-items:center;gap:14px;margin:0 0 16px;padding:14px 16px;border:1px solid #f1c4d0;border-radius:17px;background:linear-gradient(135deg,#fff4f7,#fffafd);box-shadow:0 10px 28px rgba(172,63,95,.07)}.waiting-reminder-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,#ed5d83,#c45be5);font-size:18px;font-weight:950}.waiting-reminder-panel>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.waiting-reminder-panel strong{font-size:12px}.waiting-reminder-panel small{color:#8a7080;font-size:10px}.waiting-reminder-projects{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.waiting-reminder-projects button{min-height:31px;padding:0 10px;border:1px solid #efc7d3;border-radius:999px;color:#a83c5e;background:#fff;font-size:9px;font-weight:800;cursor:pointer}.waiting-reminder-projects button:hover{color:#fff;border-color:#d94f76;background:#d94f76}.waiting-reminder-projects>span{padding:5px 8px;border-radius:999px;color:#9c4a65;background:#ffe9ef;font-size:9px;font-weight:850}.priority-projects-panel{margin-bottom:16px}.project-list-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px 14px;border-bottom:1px solid #edf0f6}.project-list-section-head h2,.completed-projects-panel summary h2{margin:4px 0 3px;font-size:18px;letter-spacing:-.03em}.project-list-section-head p,.completed-projects-panel summary p{margin:0;color:#8a8fa2;font-size:10px}.project-list-section-head>b,.completed-projects-panel summary>b{min-width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#5b57dd;background:#efefff;font-size:10px}.completed-projects-panel{overflow:hidden;margin-top:16px}.completed-projects-panel>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:12px;padding:17px 20px;list-style:none;cursor:pointer;background:linear-gradient(135deg,#f7faf9,#f5f8fc)}.completed-projects-panel>summary::-webkit-details-marker{display:none}.completed-projects-panel>summary>i{color:#7d8293;font-size:12px;font-style:normal;transition:.2s}.completed-projects-panel[open]>summary>i{transform:rotate(180deg)}.completed-projects-content{padding-top:0;border-top:1px solid #edf0f6}.completed-projects-content .project-table{background:#fbfcfd}.completed-projects-content .table-row{background:#fcfdfd}.completed-projects-content .table-row:hover{background:#f7fbfa}
@media(max-width:760px){.waiting-reminder-panel{grid-template-columns:38px minmax(0,1fr);align-items:start}.waiting-reminder-icon{width:38px;height:38px}.waiting-reminder-projects{grid-column:1/-1;justify-content:flex-start}.project-list-section-head{align-items:flex-start}.completed-projects-panel>summary{grid-template-columns:minmax(0,1fr) auto 18px;padding:15px}.waiting-reminder-badge{font-size:8px}.priority-projects-panel{overflow:visible}.completed-projects-panel{overflow:visible}}

/* v37 — pilotage quotidien : prochaine action, dernière activité, relances */
.project-pilotage{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:8px}.project-pilotage>span{display:inline-flex;align-items:center;gap:5px;min-width:0;padding:5px 7px;border:1px solid #e6e8f2;border-radius:9px;background:#fafbff}.project-pilotage b{color:#777c91;font-size:8px;font-weight:850;white-space:nowrap}.project-pilotage em{min-width:0;color:#44495f;font-size:8px;font-style:normal;line-height:1.3;white-space:normal}.project-next-action{border-color:#d9d7f6!important;background:#f6f5ff!important}.project-next-action b{color:#625cda!important}.project-last-activity{border-color:#dfe4ec!important;background:#fbfcfd!important}.project-relance.normal{border-color:#f1d6de!important;background:#fff7f9!important}.project-relance.normal b{color:#a84e69!important}.project-relance.warning{border-color:#f0d1a9!important;background:#fff8ec!important}.project-relance.warning b{color:#a96a16!important}.project-relance.critical{border-color:#e9aab8!important;background:#fff0f4!important;box-shadow:0 4px 12px rgba(202,48,91,.08)}.project-relance.critical b{color:#b92f57!important}.waiting-reminder-badge.warning{color:#8f5e18;background:#fff4db}.waiting-reminder-badge.critical{color:#b12850;background:#ffdfe8}.waiting-reminder-projects button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;height:auto;min-height:42px;padding:6px 10px;text-align:left}.waiting-reminder-projects button strong{font-size:9px}.waiting-reminder-projects button small{margin:0;color:#9b7080;font-size:8px}.waiting-reminder-projects button.warning{border-color:#ecd2a8;background:#fffaf0}.waiting-reminder-projects button.warning small{color:#9a681e}.waiting-reminder-projects button.critical{border-color:#e9a8b8;background:#fff1f5}.waiting-reminder-projects button.critical small{color:#b32f55}.project-summary-grid .project-action-summary,.project-summary-grid .project-activity-summary{align-items:flex-start}.project-summary-grid .project-action-summary>span,.project-summary-grid .project-activity-summary>span{margin-top:2px}.project-summary-grid .project-action-summary strong,.project-summary-grid .project-activity-summary strong{white-space:normal;line-height:1.35}.project-summary-grid .project-action-summary em,.project-summary-grid .project-activity-summary em{line-height:1.45}
@media(max-width:760px){.project-pilotage{display:grid;grid-template-columns:1fr;margin-top:7px}.project-pilotage>span{width:100%;align-items:flex-start;flex-direction:column;gap:2px}.waiting-reminder-projects button{width:100%}}

/* v38 — filtres, pilotage semaine, santé projet, relances et archives */
.project-filter-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:13px 15px;border:1px solid #e3e6f2;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(50,57,118,.045)}
.project-filter-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.project-filter-statuses button{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #e4e6f0;border-radius:999px;color:#6f7488;background:#f9faff;font-size:9px;font-weight:820}.project-filter-statuses button b{min-width:20px;padding:3px 5px;border-radius:999px;color:#72778c;background:#eef0f7;font-size:8px}.project-filter-statuses button.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6659ef,#506ae7)}.project-filter-statuses button.active b{color:#fff;background:rgba(255,255,255,.18)}.project-filter-statuses .urgent-filter{color:#ae3d60;border-color:#f0cad5;background:#fff4f7}.project-filter-statuses .urgent-filter.active{background:linear-gradient(135deg,#e8557d,#c05ddd)}
.project-filter-selects{display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:8px}.project-filter-selects label{display:flex;flex-direction:column;gap:4px;color:#858a9d;font-size:8px;font-weight:850;text-transform:uppercase}.project-filter-selects select{min-width:125px;height:34px;padding:0 28px 0 9px;border:1px solid #e1e4ef;border-radius:10px;color:#52586c;background:#fff;font-size:9px;font-weight:720}.filter-reset{height:34px;padding:0 11px;border:1px solid #e1e4ef;border-radius:10px;color:#6d7184;background:#f8f9fc;font-size:9px;font-weight:800}

.project-health{display:inline-flex;align-items:center;gap:5px;margin-left:7px;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:900;line-height:1;white-space:nowrap;vertical-align:middle}.project-health i{width:6px;height:6px;border-radius:50%}.project-health.good{color:#167b68;background:#e9f8f3}.project-health.good i{background:#1cac8c}.project-health.watch{color:#9a681b;background:#fff3d9}.project-health.watch i{background:#e5a02f}.project-health.risk{color:#ad3156;background:#ffe3eb}.project-health.risk i{background:#df4d75}.project-health.archive{color:#73798a;background:#edf0f4}.project-health.archive i{background:#9197a6}
.project-health-summary>span{display:grid!important;place-items:center}.project-health-summary>span>i{width:13px;height:13px;border-radius:50%}.project-health-summary.good>span>i{background:#1cac8c}.project-health-summary.watch>span>i{background:#e5a02f}.project-health-summary.risk>span>i{background:#df4d75}.project-health-summary.archive>span>i{background:#9197a6}

.week-focus-panel{margin-bottom:16px;overflow:hidden}.week-focus-panel>.panel-head{padding:18px 20px 14px;border-bottom:1px solid #edf0f6}.week-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.week-focus-grid>article{min-width:0;padding:16px 18px}.week-focus-grid>article+article{border-left:1px solid #edf0f6}.week-focus-grid article>header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.week-focus-grid article>header>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#5d59dc;background:#eeefff;font-size:13px;font-weight:900}.week-focus-grid article>header>div{display:flex;flex-direction:column;gap:2px}.week-focus-grid article>header strong{font-size:11px}.week-focus-grid article>header small{color:#9397a8;font-size:8px}.week-task{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:7px;padding:9px 10px;border:1px solid #e8eaf2;border-radius:12px;background:#fbfcff;text-align:left}.week-task>span{min-width:47px;padding:4px 6px;border-radius:999px;color:#625cd7;background:#efefff;font-size:7px;font-weight:900;text-align:center;text-transform:uppercase}.week-task>div{min-width:0;display:flex;flex-direction:column;gap:2px}.week-task strong{overflow:hidden;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.week-task small{overflow:hidden;color:#83889d;font-size:8px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}.week-task>i{color:#9095a7;font-size:12px;font-style:normal}.week-task:hover{border-color:#cfcff2;background:#f7f6ff}.week-task.relance>span{color:#a44462;background:#fff0f4}.week-task.relance.warning>span{color:#946316;background:#fff2d7}.week-task.relance.critical>span{color:#ad2f54;background:#ffdee8}.week-task.meeting>span{color:#147b83;background:#e7f7f7}.week-empty{padding:12px;border:1px dashed #e2e5ee;border-radius:11px;color:#969bad;background:#fbfcfd;font-size:9px;text-align:center}

.project-followup-btn,.archive-project-btn,.restore-project-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border-radius:11px;font-size:10px;font-weight:820}.project-followup-btn{color:#4f55c7;border:1px solid #d7d9f4;background:#f5f5ff}.archive-project-btn{color:#687080;border:1px solid #dfe3e9;background:#f5f7f9}.restore-project-btn{color:#197763;border:1px solid #cde7df;background:#effaf6}.archived-status-note{min-width:320px;padding:12px 14px;border:1px solid #dfe3e9;border-radius:14px;background:#f3f5f7}.archived-status-note strong{display:block;color:#5f6675;font-size:10px}.archived-status-note small{display:block;margin-top:4px;color:#8b91a0;font-size:8px}

.archived-projects-panel{overflow:hidden;margin-top:16px}.archived-projects-panel>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:12px;padding:17px 20px;list-style:none;cursor:pointer;background:linear-gradient(135deg,#f4f5f7,#f8f9fa)}.archived-projects-panel>summary::-webkit-details-marker{display:none}.archived-projects-panel summary h2{margin:4px 0 3px;font-size:18px;letter-spacing:-.03em}.archived-projects-panel summary p{margin:0;color:#8a8fa2;font-size:10px}.archived-projects-panel summary>b{min-width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#707686;background:#e9ecf0;font-size:10px}.archived-projects-panel>summary>i{color:#7d8293;font-size:12px;font-style:normal;transition:.2s}.archived-projects-panel[open]>summary>i{transform:rotate(180deg)}.archived-projects-content{border-top:1px solid #e8ebef}.archived-projects-content .project-table,.archived-projects-content .table-row{background:#fafbfc}.status.archived{color:#707686;background:#eef0f3}.status.archived i{background:#8c93a1}

@media(max-width:1100px){.project-filter-panel{align-items:stretch;flex-direction:column}.project-filter-selects{justify-content:flex-start}.week-focus-grid{grid-template-columns:1fr}.week-focus-grid>article+article{border-top:1px solid #edf0f6;border-left:0}}
@media(max-width:760px){.project-filter-statuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.project-filter-statuses button{justify-content:space-between}.project-filter-selects{display:grid;grid-template-columns:1fr 1fr;width:100%}.project-filter-selects label:last-of-type{grid-column:1/-1}.project-filter-selects select{width:100%;min-width:0}.filter-reset{grid-column:1/-1}.project-health{margin-left:4px}.project-tab-actions{flex-wrap:wrap}.project-followup-btn,.archive-project-btn,.restore-project-btn{flex:1}.archived-status-note{min-width:0;width:100%}.archived-projects-panel>summary{grid-template-columns:minmax(0,1fr) auto 18px;padding:15px}}

/* v39 — correction débordement badge En attente dans Toutes les pharmacies */
.table-head,
.table-row{
  grid-template-columns:minmax(260px,1.6fr) minmax(100px,.55fr) minmax(210px,1fr) minmax(170px,.85fr) minmax(150px,.8fr) 54px;
}

.table-row > span,
.table-row > button,
.table-row > a {
  min-width:0;
}

.status{
  width:auto;
  max-width:100%;
  flex-wrap:wrap;
  row-gap:5px;
  white-space:normal;
  line-height:1.25;
}

.waiting-reminder-badge{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin-left:6px;
  padding:3px 7px;
  border-radius:999px;
  font-size:8px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}

.table-row .open-project-icon{
  justify-self:end;
}

@media(max-width:1180px){
  .table-head,
  .table-row{
    grid-template-columns:minmax(240px,1.5fr) minmax(90px,.5fr) minmax(190px,.95fr) minmax(160px,.8fr) minmax(140px,.75fr) 50px;
  }
}


/* v41 — indicateur Devis reçu dans les fiches pharmacies */
.project-pilotage .project-quote-received{border-color:#bfe7d9!important;background:#effaf6!important}
.project-pilotage .project-quote-received b{color:#11856f!important}
.project-pilotage .project-quote-received em{color:#397d70!important}


/* v42 — Devis ESV reçu + Prochaine action orange renforcé */
.project-pilotage .project-quote-received{
  border-color:#a9dfcf!important;
  background:#e9f9f3!important;
  box-shadow:0 2px 8px rgba(17,133,111,.08);
}
.project-pilotage .project-quote-received b{
  color:#087a63!important;
}
.project-pilotage .project-quote-received em{
  color:#2f7568!important;
}

.project-pilotage .project-next-action{
  border-color:#f0a23a!important;
  background:#ffd99a!important;
  box-shadow:0 3px 10px rgba(218,127,14,.14);
}
.project-pilotage .project-next-action b{
  color:#8b4300!important;
}
.project-pilotage .project-next-action em{
  color:#6f3b08!important;
  font-weight:700;
}

/* v43 — Prochaine action en rose, plus douce que l'orange */
.project-pilotage .project-next-action{
  border-color:#e5a0c1!important;
  background:#fde8f3!important;
  box-shadow:0 3px 10px rgba(176,55,112,.10);
}
.project-pilotage .project-next-action b{
  color:#a02f68!important;
}
.project-pilotage .project-next-action em{
  color:#6f3550!important;
  font-weight:700;
}

/* v49 — devis refusé / reprise du dossier */
.status.rejected{color:#a63157;background:#ffe4ec}.status.rejected i{background:#df4d75}
.project-health.rejected{color:#a63157;background:#ffe4ec}.project-health.rejected i{background:#df4d75}
.project-health-summary.rejected>span>i{background:#df4d75}
.workflow-step.rejected{border-color:#efc8d5;background:linear-gradient(135deg,#fff,#fff5f8)}
.workflow-step.rejected>span{color:#fff;border-color:transparent;background:linear-gradient(135deg,#e25279,#bf59c7);box-shadow:0 5px 12px rgba(194,72,117,.16)}
.workflow-step.rejected label small{color:#b13b61}
.resume-rejected-project-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border:1px solid #e5bfd0;border-radius:11px;color:#a93c61;background:#fff2f6;font-size:10px;font-weight:820}
.resume-rejected-project-btn:hover{background:#ffe7ef}
@media(max-width:760px){.resume-rejected-project-btn{flex:1}}


/* v52 — relance effectuée avec date/heure et clignotement */
.project-followup-done{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:5px 8px;border:1px solid #9edfcf;border-radius:9px;color:#08745d;background:#eafaf5;box-shadow:0 0 0 0 rgba(25,173,139,.22)}
.project-followup-done b{color:#08745d!important;font-size:8px;font-weight:900;white-space:nowrap}
.project-followup-done em{min-width:0;color:#187f6a!important;font-size:8px;font-style:normal;line-height:1.3;white-space:nowrap}
.project-followup-summary{border-color:#aee4d7!important;background:linear-gradient(135deg,#f0fcf8,#fff)!important;box-shadow:0 0 0 0 rgba(25,173,139,.18)}
.project-followup-summary>span{color:#0b8d72!important;background:#dcf7ef!important}
.project-followup-summary small,.project-followup-summary strong{color:#08745d!important}
@keyframes pharmaflow-followup-blink{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(25,173,139,.22)}50%{opacity:.55;box-shadow:0 0 0 6px rgba(25,173,139,0)}}
.is-blinking{animation:pharmaflow-followup-blink 1.15s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.is-blinking{animation:none}}

/* v53 — relance effectuée en fuchsia pulsant */
.project-followup-done{
  color:#8f1e5b;
  border-color:#E48DB6!important;
  background:#FFF2F8!important;
  box-shadow:0 0 0 0 rgba(214,51,132,.24), 0 6px 16px rgba(184,37,110,.10);
}
.project-followup-done b,
.project-followup-done em{
  color:#8f1e5b!important;
  font-weight:800;
}
.project-followup-summary{
  border-color:#E48DB6!important;
  background:linear-gradient(135deg,#FFF2F8,#FFE7F2)!important;
  box-shadow:0 0 0 0 rgba(214,51,132,.22), 0 8px 20px rgba(184,37,110,.10)!important;
}
.project-followup-summary>span{
  color:#B8256E!important;
  background:#FDE3EF!important;
}
.project-followup-summary small,
.project-followup-summary strong,
.project-followup-summary em{
  color:#8f1e5b!important;
}
@keyframes pharmaflow-followup-fuchsia-pulse{
  0%,100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(214,51,132,.22), 0 6px 16px rgba(184,37,110,.10);
  }
  50%{
    transform:scale(1.012);
    box-shadow:0 0 0 8px rgba(214,51,132,0), 0 9px 22px rgba(184,37,110,.16);
  }
}
.is-blinking{
  animation:pharmaflow-followup-fuchsia-pulse 1.25s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .is-blinking{animation:none}
}
