:root{--bg:#f4f7fb;--panel:#fff;--text:#132033;--muted:#6b7280;--line:#e5e7eb;--blue:#0678b9;--blue2:#0b5b88;--green:#15a46c;--orange:#f59e0b;--red:#ef4444;--shadow:0 12px 35px rgba(15,23,42,.08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,select{font-family:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;background:#082f49;color:#fff;padding:24px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:hidden}.brand{display:flex;gap:14px;align-items:center;margin-bottom:36px}.sidebar nav{flex:1;overflow-y:auto;overflow-x:hidden;padding-right:6px;margin-right:-6px}.sidebar nav::-webkit-scrollbar{width:6px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(191,219,254,.35);border-radius:999px}.sidebar nav::-webkit-scrollbar-thumb:hover{background:rgba(191,219,254,.55)}.logo{width:52px;height:52px;border-radius:16px;background:#fff;color:#082f49;display:grid;place-items:center;font-weight:800}.brand h1{font-size:19px;margin:0}.brand p{margin:4px 0 0;color:#b7d5e8;font-size:13px}.nav{width:100%;text-align:left;background:transparent;border:0;color:#dbeafe;padding:13px 14px;border-radius:12px;margin-bottom:8px;font-weight:700;cursor:pointer}.nav.active,.nav:hover{background:#0b5b88}main{flex:1;padding:28px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.topbar h2{font-size:30px;margin:0}.topbar p{margin:6px 0 0;color:var(--muted)}.actions{display:flex;gap:10px;align-items:center}.actions select,.actions input{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff;min-width:170px}.primary{border:0;background:var(--blue);color:#fff;border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer}.primary:hover{background:var(--blue2)}.secondary{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:12px;padding:12px 15px;font-weight:800;cursor:pointer}.secondary:hover{background:#f8fafc}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.kpi{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow)}.kpi.highlight{background:#eef8ff;border-color:#bae6fd}.kpi span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.kpi strong{font-size:25px}.layout{display:grid;grid-template-columns:430px minmax(0,1fr);gap:18px}.layout.single{grid-template-columns:1fr}.panel{background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.panel-title h3{margin:0;font-size:16px}.panel-title span{color:var(--muted);font-size:13px}.user-list{max-height:calc(100vh - 275px);overflow:auto}.user-card{padding:16px 20px;border-bottom:1px solid var(--line);cursor:pointer;transition:.15s}.user-card:hover,.user-card.active{background:#eef8ff}.user-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.name{font-weight:900}.ref{font-size:12px;color:var(--muted);margin-top:4px}.money{font-weight:900;color:var(--blue2)}.badges{display:flex;gap:6px;margin-top:12px}.badge{font-size:12px;padding:5px 8px;border-radius:999px;font-weight:800}.ok{background:#ecfdf5;color:#047857}.detail{padding:22px}.detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.detail h3{font-size:26px;margin:0}.subtitle{color:var(--muted);margin:6px 0 0}.detail-actions{display:flex;gap:8px}.invoice-box{margin-top:18px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;padding:16px}.invoice-box h4{margin:0 0 10px}.invoice-box p{margin:6px 0;color:var(--muted)}.welcome-grid,.content-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.mini{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px}.mini span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.mini strong{font-size:15px;line-height:1.35}.content-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.content-cover{min-height:110px;background:#eef8ff;color:var(--blue2);display:grid;place-items:center;font-weight:900;padding:16px;text-align:center}.content-body{padding:16px}.content-body h4{margin:0 0 8px;font-size:17px}.content-body p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:1.45}.content-body a{color:var(--blue2);font-weight:900;text-decoration:none}.construction-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field span{font-size:12px;font-weight:900;color:var(--muted);text-transform:uppercase}.form-field input{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 14px;background:#fff}@media (max-width:1100px){.sidebar{display:none}.layout{grid-template-columns:1fr}.kpis,.welcome-grid,.content-grid{grid-template-columns:repeat(2,1fr)}.topbar{flex-direction:column;align-items:flex-start}.actions{width:100%;flex-wrap:wrap}}@media (max-width:700px){main{padding:16px}.kpis,.welcome-grid,.content-grid,.construction-grid{grid-template-columns:1fr}.detail-head{flex-direction:column}}.user-card-button{width:100%;border:0;background:#fff;text-align:left;font-family:inherit}.user-card-button.active,.user-card-button:hover{background:#eef8ff}.sig{background:#fff7ed;color:#b45309}.pay{background:#fef2f2;color:#b91c1c}.status{font-weight:900}.green{color:#047857}.orange{color:#b45309}.red{color:#b91c1c}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border-radius:16px}.sales-table{width:100%;min-width:1350px;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.sales-table th,.sales-table td{padding:12px 11px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.sales-table th{background:#087db7;color:#fff;font-size:12px;text-transform:uppercase}.sales-table tr:last-child td{border-bottom:0}.sales-table th:first-child,.sales-table td:first-child{width:54px;text-align:center}@media (max-width:700px){.summary-grid{grid-template-columns:1fr}}.table-input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.sales-table{min-width:1850px}.tabs{display:flex;gap:8px;margin-bottom:16px}.tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.tab.active{background:#e0f2fe;color:#075985;border-color:#bae6fd}.danger-outline{border:1px solid #fecaca;background:#fff;color:#b91c1c;border-radius:12px;padding:12px 15px;font-weight:800;cursor:pointer}.danger-outline:hover{background:#fef2f2}.empty-cell{text-align:center;color:var(--muted);padding:18px}.history-list{display:flex;flex-direction:column;gap:16px}.history-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.archive-collapse-head{padding:16px;border-bottom:1px solid var(--line)}.history-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.history-head h4{margin:0;font-size:17px}.history-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.history-actions{display:flex;align-items:center;gap:10px}.history-actions strong{color:var(--blue2);font-size:20px}.history-summary{padding:16px;margin-bottom:0}.archive-toggle-btn{width:32px;height:32px;border:1px solid var(--line);background:#fff;color:var(--blue2);border-radius:10px;cursor:pointer;font-size:18px;font-weight:900;display:grid;place-items:center;line-height:1}.archive-toggle-btn:hover{background:#eef8ff;border-color:#bae6fd}.archive-expanded-content{padding:0 16px 16px}.archive-expanded-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.restore-archive-btn{border:1px solid #fed7aa;background:#fff7ed;color:#b45309;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;cursor:pointer}.restore-archive-btn:hover{background:#ffedd5}.invoice-line-btn{width:34px;height:34px;border:1px solid #bae6fd;background:#e0f2fe;color:#075985;border-radius:10px;cursor:pointer;font-size:16px;display:grid;place-items:center;margin:auto}.invoice-line-btn:hover{background:#bae6fd}.factures-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:18px}.factures-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.factures-head h4{margin:0;font-size:18px}.factures-head span{color:var(--muted);font-size:13px;font-weight:800}.facture-history-scroll{border-radius:14px}.facture-history-table{min-width:950px!important}.facture-history-table th:nth-child(5),.facture-history-table td:nth-child(5),.facture-history-table th:nth-child(6),.facture-history-table td:nth-child(6){text-align:right;white-space:nowrap}.sales-table{min-width:1950px}.panel-title-actions{display:flex;align-items:center;gap:10px}.tiny-btn{padding:7px 10px;border-radius:10px;font-size:12px}.create-user-form{display:flex;flex-direction:column;gap:18px}.create-user-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 14px;background:#fff}.field-error input,.field-error select{border-color:#fecaca;background:#fef2f2}.password-box{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:16px}.password-box h4{margin:0 0 12px}.password-rules{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.password-rule{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800}.password-rule span{width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:13px;font-weight:900}.password-rule.valid{color:#047857}.password-rule.valid span{background:#dcfce7}.password-rule.invalid{color:#b91c1c}.password-rule.invalid span{background:#fee2e2}.form-actions{display:flex;justify-content:flex-end;gap:10px}.created-users-box{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}@media (max-width:700px){.create-user-grid,.password-rules{grid-template-columns:1fr}.form-actions{flex-direction:column}}.form-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.form-section h4{margin:0 0 14px;font-size:17px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.section-head h4{margin:0 0 5px}.section-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.section-head span{background:#eef8ff;color:#075985;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;white-space:nowrap}.form-field.full{grid-column:1 / -1}.users-list-tools{margin-top:22px;margin-bottom:12px}.user-delete-btn{width:30px;height:30px;border:1px solid #fecaca;background:#fee2e2;color:#b91c1c;border-radius:999px;font-size:20px;line-height:1;font-weight:900;cursor:pointer}.user-delete-btn:hover{background:#b91c1c;color:#fff;border-color:#b91c1c}.manager-levels{display:flex;flex-direction:column;gap:18px;margin-top:20px}.manager-level-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.manager-level-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.manager-level-head h4{margin:0}.manager-level-head span{background:#eef8ff;color:#075985;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.manager-table-scroll{max-height:420px}.manager-table{min-width:850px}.manager-level-head-button{width:100%;border:0;background:transparent;cursor:pointer;text-align:left;padding:0}.manager-level-title{display:flex;align-items:center;gap:8px}.manager-level-arrow{width:24px;height:24px;border-radius:999px;background:#eef8ff;color:#075985;display:grid;place-items:center;font-weight:900}.manager-level-meta{display:flex;align-items:center;gap:10px}.manager-level-meta strong{font-size:14px;color:#0f172a}.rate-header{display:flex;align-items:center;gap:6px}.manager-rate-input{width:82px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-weight:800;background:#fff}.manager-rate-input:disabled{background:#f8fafc;color:#64748b;cursor:not-allowed}.manager-level-card.open{border-color:#bae6fd}.manager-title-row{display:flex;align-items:center;gap:10px}.manager-title-row h3{margin:0}.manager-lock-btn,.rate-lock-btn{border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:999px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;font-size:16px;line-height:1}.rate-lock-btn{width:28px;height:28px;font-size:14px}.manager-lock-btn:hover,.rate-lock-btn:hover{background:#e0f2fe;border-color:#7dd3fc}.manager-lock-btn.unlocked,.rate-lock-btn.unlocked{background:#dcfce7;border-color:#86efac}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.modal-card{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:22px;box-shadow:0 24px 80px #0f172a40}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.modal-head h3{margin:0 0 5px}.modal-head p{margin:0;color:var(--muted)}.modal-close{width:34px;height:34px;border:0;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:22px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.manager-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.manager-payment-history-scroll{max-height:360px}.payment-delete-btn{width:30px;height:30px;border:1px solid #fecaca;background:#fee2e2;color:#b91c1c;border-radius:999px;font-size:20px;line-height:1;font-weight:900;cursor:pointer}.payment-delete-btn:hover{background:#b91c1c;color:#fff;border-color:#b91c1c}@media (max-width:800px){.manager-payment-summary{grid-template-columns:1fr}.modal-actions{flex-direction:column}}.payment-history-input{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:#fff;font-weight:800}.payment-history-input.money{max-width:140px;text-align:right}.manager-payment-history-table{width:100%;min-width:100%!important;table-layout:fixed}.manager-payment-history-table th:nth-child(1),.manager-payment-history-table td:nth-child(1){width:160px;text-align:left}.manager-payment-history-table th:nth-child(2),.manager-payment-history-table td:nth-child(2){width:220px;text-align:left}.manager-payment-history-table th:nth-child(3),.manager-payment-history-table td:nth-child(3){width:64px;text-align:center}.manager-payment-history-table .payment-history-input.money{max-width:140px}.manager-payment-history-table .payment-delete-btn{margin:auto;display:grid;place-items:center}.user-row-actions{display:flex;align-items:center;justify-content:center;gap:8px}.user-edit-btn{width:30px;height:30px;border:1px solid #bae6fd;background:#e0f2fe;color:#075985;border-radius:999px;font-size:14px;line-height:1;font-weight:900;cursor:pointer}.user-edit-btn:hover{background:#bae6fd}.edit-user-modal{width:min(920px,100%)}.created-users-table{min-width:1650px!important}.roles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.role-description{margin:8px 0 0;color:#64748b;font-size:13px;line-height:1.4}.roles-note{margin-bottom:18px}.roles-table-scroll{overflow-x:auto;border-radius:18px}.roles-table{width:100%;min-width:960px!important;table-layout:fixed}.roles-table th,.roles-table td{vertical-align:middle}.roles-table th:nth-child(1),.roles-table td:nth-child(1){width:190px;text-align:left!important;padding-left:22px}.roles-table th:nth-child(2),.roles-table td:nth-child(2){width:auto;text-align:left!important}.roles-table th:nth-child(3),.roles-table td:nth-child(3),.roles-table th:nth-child(4),.roles-table td:nth-child(4){width:180px;text-align:center!important}.roles-table td:nth-child(1) strong{display:block;text-align:left}.role-permission-cell{text-align:center!important;padding:0!important}.role-checkbox{width:100%;min-height:48px;display:grid;grid-template-columns:22px 70px;align-items:center;justify-content:center;gap:8px;margin:0;font-weight:800;color:#334155;cursor:pointer}.role-checkbox input{width:18px;height:18px;margin:0;accent-color:#087db7}.role-checkbox input:disabled{cursor:not-allowed}.role-checkbox span{display:block;width:70px;text-align:left;font-size:12px}.content-admin-form{margin-bottom:22px}.content-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.content-form-grid .full{grid-column:1/-1}.content-textarea{width:100%;min-height:90px;border:1px solid var(--line);border-radius:12px;padding:13px 14px;font-family:inherit;font-size:14px;resize:vertical;outline:none;background:#fff}.content-textarea:focus,.content-edit-input:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e91f}.content-card-editing{border-color:#7dd3fc;box-shadow:0 14px 35px #0ea5e91f}.content-edit-stack{display:flex;flex-direction:column;gap:12px}.content-edit-stack label span{display:block;margin-bottom:6px;color:var(--muted);font-size:12px;font-weight:800}.content-edit-input{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;outline:none;background:#fff}.cover-input{max-width:90%;text-align:center;font-weight:900;color:var(--blue2)}.content-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.content-card-actions button:disabled{opacity:.45;cursor:not-allowed}.content-no-link{display:inline-block;color:var(--muted);font-size:13px;font-weight:800}.image-cover{position:relative;height:150px;padding:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#e0f2fe}.content-cover-image{width:100%;height:100%;object-fit:cover;display:block}.content-cover-placeholder{color:#075985;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.content-image-edit-btn{position:absolute;right:10px;bottom:10px;border:0;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;padding:8px 12px;font-size:11px;font-weight:900;cursor:pointer}.content-image-edit-btn input{display:none}.content-open-row{display:flex;justify-content:center;margin-top:18px}.content-open-btn{display:inline-flex;align-items:center;justify-content:center;min-width:130px;min-height:38px;padding:10px 18px;border-radius:999px;background:#087db7;color:#fff!important;font-weight:900;text-decoration:none;box-shadow:0 10px 22px #087db738}.content-open-btn:hover{background:#075985;transform:translateY(-1px)}.title-cover{min-height:92px;display:flex;align-items:center;justify-content:center;padding:18px;text-align:center}.content-cover-title{color:#075985;font-size:15px;font-weight:900;line-height:1.35}.training-request-scroll{overflow-x:auto}.training-request-table{min-width:980px!important}.training-request-table th:nth-child(1),.training-request-table td:nth-child(1){width:180px}.training-request-table th:nth-child(2),.training-request-table td:nth-child(2){width:220px}.training-request-table th:nth-child(3),.training-request-table td:nth-child(3){width:auto}.training-request-table th:nth-child(4),.training-request-table td:nth-child(4){width:260px}.training-request-table th:nth-child(5),.training-request-table td:nth-child(5){width:120px;text-align:center}.content-open-btn{border:0;cursor:pointer}.nav{display:flex;align-items:center;justify-content:space-between;gap:10px}.nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-badge{min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#ef4444;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1;box-shadow:0 0 0 3px #ef44442e}.archived-training-table{opacity:.82}.video-category-admin{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:18px}.video-category-create{display:flex;gap:10px;margin:14px 0}.video-category-create input{flex:1;border:1px solid var(--line);border-radius:12px;padding:11px 13px;font:inherit}.video-category-list{display:flex;flex-direction:column;gap:10px}.video-category-row{display:flex;align-items:center;gap:10px}.video-category-row input{flex:1;border:1px solid var(--line);border-radius:12px;padding:11px 13px;font:inherit}.video-category-accordion{display:flex;flex-direction:column;gap:16px}.video-category-block{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}.video-category-head{width:100%;border:0;background:#f8fafc;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;text-align:left}.video-category-head strong{display:block;color:#0f172a;font-size:16px}.video-category-head span{color:#64748b;font-size:13px;font-weight:800}.video-category-arrow{width:30px;height:30px;border-radius:999px;background:#e0f2fe;color:#075985!important;display:grid;place-items:center;font-size:18px!important;font-weight:900!important}.video-content-grid{padding:16px}.video-modal-card{width:min(980px,100%)}.video-player-frame{position:relative;width:100%;aspect-ratio:16 / 9;overflow:hidden;border-radius:18px;background:#020617}.video-player-frame iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0}.content-warning{background:#fff7ed;border:1px solid #fed7aa;color:#b45309;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:800}.document-create-form{margin-bottom:22px}.document-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.document-selected-file{margin-top:14px;padding:12px 14px;border:1px solid #bae6fd;background:#f0f9ff;color:#075985;border-radius:14px;font-size:13px;font-weight:800}.documents-list{display:flex;flex-direction:column;gap:12px}.document-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 24px #0f172a0a}.document-icon{width:48px;height:48px;border-radius:16px;background:#e0f2fe;color:#075985;display:grid;place-items:center;font-size:22px}.document-main{min-width:0}.document-main h4{margin:0 0 4px;color:#0f172a;font-size:15px}.document-main p{margin:0;color:#64748b;font-size:13px;font-weight:700}.document-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.document-open-btn{min-width:92px;min-height:34px}.document-title-input{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit;font-weight:800;outline:none}.document-title-input:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e91f}.document-replace-file{display:inline-flex;align-items:center;margin-top:10px;padding:8px 11px;border-radius:999px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:900;cursor:pointer}.document-replace-file input{display:none}.document-actions button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:900px){.document-form-grid{grid-template-columns:1fr}.document-row{grid-template-columns:48px 1fr}.document-actions{grid-column:1/-1;justify-content:flex-start}}.invoice-buttons{display:flex;align-items:center;justify-content:center;gap:6px}.invoice-buttons .invoice-line-btn{width:auto;min-width:42px;height:34px;padding:0 9px;font-size:11px;font-weight:900;line-height:1}.invoice-ttc-btn{background:#e0f2fe;border-color:#bae6fd;color:#075985}.invoice-ttc-btn:hover{background:#bae6fd}.invoice-ht-btn:hover{background:#dcfce7}.invoice-mode-btn{width:auto;min-width:54px;height:34px;padding:0 10px;font-size:11px;font-weight:900;line-height:1}.sales-table{min-width:2050px}.recap-kpis-secondary{grid-template-columns:repeat(3,1fr)}.recap-create-form{margin-bottom:22px}.recap-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recap-form-grid .full{grid-column:1/-1}.recap-article-textarea{min-height:170px}.recap-sections-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.recap-section-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.recap-section-wide{grid-column:1/-1}.recap-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.recap-section-head h4{margin:0 0 5px;font-size:18px}.recap-section-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}.recap-section-head span{min-width:30px;height:30px;border-radius:999px;background:#e0f2fe;color:#075985;display:grid;place-items:center;font-size:13px;font-weight:900}.recap-number-list,.recap-link-list,.recap-article-list{display:flex;flex-direction:column;gap:12px}.recap-number-card,.recap-link-row,.recap-article-row{border:1px solid var(--line);border-radius:16px;background:#f8fafc;padding:14px}.recap-number-card span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;margin-bottom:5px}.recap-number-card strong{display:block;color:#0f172a;font-size:18px;margin-bottom:4px}.recap-number-card p,.recap-link-row p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.4}.recap-link-button{width:100%;min-height:42px;border-radius:999px;background:#087db7;color:#fff!important;display:flex;align-items:center;justify-content:center;padding:10px 16px;font-weight:900;text-decoration:none;box-shadow:0 10px 22px #087db72e}.recap-link-button:hover{background:#075985;transform:translateY(-1px)}.recap-article-button{width:100%;border:0;background:#fff;border-radius:14px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;cursor:pointer}.recap-article-button:hover{background:#eef8ff}.recap-article-button strong{display:block;color:#0f172a;font-size:15px}.recap-article-button p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.recap-article-button>span{min-width:56px;border-radius:999px;background:#e0f2fe;color:#075985;padding:8px 11px;font-size:12px;font-weight:900;text-align:center}.recap-edit-stack{display:flex;flex-direction:column;gap:10px}.recap-edit-stack input,.recap-edit-stack textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;outline:none;background:#fff}.recap-edit-stack input:focus,.recap-edit-stack textarea:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e91f}.recap-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}.recap-item-actions button:disabled{opacity:.45;cursor:not-allowed}.recap-empty-box{margin-top:0}.recap-empty-box p{margin:0}.recap-article-modal{width:min(920px,100%)}.recap-article-content{display:flex;flex-direction:column;gap:12px}.recap-article-content p{margin:0;color:#334155;line-height:1.7;font-size:15px}@media (max-width:1100px){.recap-sections-grid{grid-template-columns:1fr}.recap-section-wide{grid-column:auto}}@media (max-width:700px){.recap-kpis-secondary,.recap-form-grid{grid-template-columns:1fr}}.recap-sections-grid{grid-template-columns:1fr}.recap-section-wide{grid-column:auto}.recap-number-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recap-link-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.recap-article-list{display:flex;flex-direction:column;gap:12px}.recap-link-row{display:flex;flex-direction:column;justify-content:space-between;min-height:110px}.recap-link-button{min-height:46px;text-align:center}.recap-article-modal{width:min(980px,100%);padding:0;overflow:hidden}.recap-article-modal-top{padding:26px 30px 22px;background:linear-gradient(135deg,#eef8ff,#f8fafc);border-bottom:1px solid var(--line)}.recap-article-modal-head-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.recap-article-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#e0f2fe;color:#075985;padding:8px 12px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.recap-article-modal h3{margin:0;color:#0f172a;font-size:28px;line-height:1.18;letter-spacing:-.03em}.recap-article-modal-summary{margin:12px 0 0;color:#475569;font-size:15px;line-height:1.6;max-width:760px}.recap-article-content{max-width:820px;margin:0 auto;padding:30px;display:block}.recap-article-content h4{margin:26px 0 12px;color:#0f172a;font-size:23px;line-height:1.25;letter-spacing:-.02em}.recap-article-content h4:first-child{margin-top:0}.recap-article-content h5{margin:24px 0 10px;color:#075985;font-size:17px;line-height:1.35}.recap-article-content p{margin:0 0 16px;color:#334155;line-height:1.8;font-size:15px}.recap-article-content ul{margin:4px 0 18px;padding-left:22px}.recap-article-content li{margin-bottom:8px;color:#334155;line-height:1.7;font-size:15px}.recap-article-content blockquote{margin:22px 0;padding:16px 18px;border-left:4px solid #087db7;background:#f0f9ff;color:#0f172a;border-radius:0 14px 14px 0;font-weight:700;line-height:1.7}.recap-article-empty{color:var(--muted);font-weight:800}@media (max-width:1100px){.recap-link-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.recap-number-list,.recap-link-list{grid-template-columns:1fr}.recap-article-modal-top,.recap-article-content{padding:22px}.recap-article-modal h3{font-size:23px}}.remuneration-sort-select{border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff;color:#0f172a;font-size:12px;font-weight:800;outline:none}.remuneration-sort-select:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e91f}.profile-modal{width:min(920px,100%)}.profile-readonly-field input:disabled{background:#f1f5f9;color:#64748b;cursor:not-allowed}.profile-password-box{margin-top:14px}.remuneration-layout{transition:grid-template-columns .2s ease}.remuneration-layout.list-collapsed{grid-template-columns:64px minmax(0,1fr)}.remuneration-list-panel{overflow:hidden}.remuneration-list-title{padding:16px}.collaborator-list-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px}.collaborator-list-top h3{margin:0;white-space:nowrap}.collaborator-list-actions{display:flex;align-items:center;gap:8px}.collaborator-sort-control{display:flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--line);border-radius:12px;background:#fff}.collaborator-sort-control span{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.collaborator-sort-control select{border:0;background:transparent;padding:4px 2px;min-width:118px;color:#0f172a;font-size:12px;font-weight:900;outline:none}.export-collaborators-btn{min-height:36px;white-space:nowrap}.collaborator-search-box{padding:14px 16px;border-bottom:1px solid var(--line);background:#f8fafc}.collaborator-search-box input{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;font:inherit;font-size:14px;outline:none}.collaborator-search-box input:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e91f}.empty-list-state{padding:18px;color:#64748b;font-size:13px;font-weight:800;text-align:center}.collapsed-list-panel{min-height:220px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow);display:flex;align-items:flex-start;justify-content:center;padding-top:18px}.list-expand-btn{width:40px;height:40px;border:1px solid #bae6fd;border-radius:999px;background:#e0f2fe;color:#075985;display:grid;place-items:center;font-size:22px;font-weight:900;cursor:pointer}.list-expand-btn:hover{background:#bae6fd}.remuneration-detail-panel{cursor:pointer}.remuneration-detail-panel input,.remuneration-detail-panel textarea,.remuneration-detail-panel select,.remuneration-detail-panel button,.remuneration-detail-panel a{cursor:auto}@media (max-width:900px){.remuneration-layout.list-collapsed{grid-template-columns:1fr}.collapsed-list-panel{min-height:auto;padding:12px;align-items:center}.collaborator-list-top{flex-direction:column;align-items:flex-start}.collaborator-list-actions{width:100%;justify-content:space-between}.collaborator-sort-control{flex:1}}.manager-layout .collaborator-sort-control select{min-width:190px}.manager-list-panel .badge.pay{background:#fef2f2;color:#b91c1c}.manager-detail-panel{cursor:pointer}.manager-detail-panel input,.manager-detail-panel textarea,.manager-detail-panel select,.manager-detail-panel button,.manager-detail-panel a{cursor:auto}.announcement-form{display:flex;flex-direction:column;gap:18px;margin-bottom:24px}.announcement-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.announcement-form-grid .full{grid-column:1/-1}.announcement-textarea{min-height:140px}.announcement-image-preview{grid-column:1/-1;border:1px solid var(--line);background:#f8fafc;border-radius:18px;padding:14px;display:flex;align-items:center;gap:14px}.announcement-image-preview img{width:160px;height:90px;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:#fff}.announcement-history{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.announcement-list{display:flex;flex-direction:column;gap:12px}.announcement-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:14px}.announcement-row-main{min-width:0}.announcement-row-title{display:flex;align-items:center;gap:10px;margin-bottom:6px}.announcement-row-title strong{color:#0f172a;font-size:15px}.announcement-row-main p{margin:0 0 8px;color:#64748b;line-height:1.45;font-size:13px}.announcement-row-main small{color:#94a3b8;font-weight:800}.announcement-status{border-radius:999px;padding:5px 8px;font-size:11px;font-weight:900}.announcement-status.active{background:#dcfce7;color:#047857}.announcement-status.inactive{background:#f1f5f9;color:#64748b}.announcement-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.announcement-popup-overlay{z-index:1300}.announcement-popup-card{width:min(620px,100%);padding:0;overflow:hidden}.announcement-popup-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px 26px 18px;background:linear-gradient(135deg,#eef8ff,#f8fafc);border-bottom:1px solid var(--line)}.announcement-popup-badge{display:inline-flex;border-radius:999px;background:#e0f2fe;color:#075985;padding:7px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:10px}.announcement-popup-head h3{margin:0;color:#0f172a;font-size:25px;line-height:1.2;letter-spacing:-.02em}.announcement-popup-image{padding:20px 26px 0}.announcement-popup-image img{width:100%;max-height:260px;object-fit:cover;display:block;border-radius:18px;border:1px solid var(--line)}.announcement-popup-text{padding:22px 26px 6px}.announcement-popup-text p{margin:0 0 13px;color:#334155;font-size:15px;line-height:1.7}.announcement-hide-check{margin:4px 26px 20px;display:flex;align-items:center;gap:9px;color:#475569;font-size:13px;font-weight:800;cursor:pointer}.announcement-hide-check input{width:17px;height:17px;accent-color:#087db7}.announcement-popup-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px 24px;border-top:1px solid var(--line);background:#fff}@media (max-width:700px){.announcement-form-grid{grid-template-columns:1fr}.announcement-row{flex-direction:column}.announcement-row-actions{width:100%}.announcement-popup-actions{flex-direction:column}.announcement-popup-actions button{width:100%}}.remuneration-admin-actions{display:flex;justify-content:flex-end;margin-bottom:14px}.archive-year-modal{width:min(620px,100%)}.archive-year-note{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;padding:14px;color:#475569;font-size:14px;line-height:1.5;font-weight:700;margin-bottom:16px}.archive-year-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.archive-year-option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:14px;cursor:pointer;font-weight:900;color:#0f172a}.archive-year-option:hover,.archive-year-option.checked{background:#eef8ff;border-color:#7dd3fc}.archive-year-option input{width:18px;height:18px;accent-color:#087db7}.archive-year-option span{font-size:16px}.archive-filter-row{display:flex;justify-content:flex-end;margin-bottom:14px}.archive-filter-row label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:8px 10px}.archive-filter-row span{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.archive-filter-row select{border:0;background:transparent;outline:none;font-weight:900;color:#0f172a}@media (max-width:700px){.archive-year-list{grid-template-columns:1fr}.remuneration-admin-actions{justify-content:stretch}.remuneration-admin-actions button{width:100%}.archive-filter-row{justify-content:stretch}.archive-filter-row label{width:100%;justify-content:space-between}}.registered-sales-kpis{grid-template-columns:repeat(3,1fr)}.registered-sales-intro{background:#eef8ff;border:1px solid #bae6fd;border-radius:18px;padding:16px;margin-bottom:16px}.registered-sales-intro h4{margin:0 0 6px;color:#075985;font-size:17px}.registered-sales-intro p{margin:0;color:#334155;font-size:14px;line-height:1.55;font-weight:700}.registered-sales-search{margin-bottom:18px}.registered-sales-search input{width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff;font:inherit;outline:none}.registered-sales-search input:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e91f}.registered-sales-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:18px}.registered-sales-table{min-width:1450px!important}.registered-sales-table th:nth-child(6),.registered-sales-table td:nth-child(6),.registered-sales-table th:nth-child(7),.registered-sales-table td:nth-child(7){text-align:right;white-space:nowrap}.registered-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900}.registered-status.pending{background:#fff7ed;color:#b45309}.registered-status.validated{background:#dcfce7;color:#047857}.registered-sales-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}@media (max-width:700px){.registered-sales-kpis{grid-template-columns:1fr}}.collaborator-recap-kpis{grid-template-columns:repeat(3,1fr)}@media (max-width:1100px){.collaborator-recap-kpis{grid-template-columns:repeat(2,1fr)}}@media (max-width:700px){.collaborator-recap-kpis{grid-template-columns:1fr}}.users-public-table{min-width:850px!important}.users-public-table th,.users-public-table td{white-space:nowrap}.users-public-table th:nth-child(1),.users-public-table td:nth-child(1),.users-public-table th:nth-child(2),.users-public-table td:nth-child(2){width:180px}.users-public-table th:nth-child(3),.users-public-table td:nth-child(3){width:160px}.users-public-table th:nth-child(4),.users-public-table td:nth-child(4){width:260px}.users-public-table th:nth-child(5),.users-public-table td:nth-child(5){width:120px;text-align:center}.collaborator-sales-page .sales-table{min-width:2300px}.invoice-confirm-modal{width:min(620px,100%)}.invoice-confirm-note{background:#eef8ff;border:1px solid #bae6fd;color:#075985;border-radius:16px;padding:15px;font-size:14px;line-height:1.55;font-weight:800}.invoice-confirm-note.warning{background:#fff7ed;border-color:#fed7aa;color:#b45309}.sale-edit-cell,.sale-delete-cell{width:54px;text-align:center!important}.sale-edit-line-btn,.sale-delete-line-btn{width:32px;height:32px;border-radius:999px;display:grid;place-items:center;margin:auto;font-size:16px;font-weight:900;cursor:pointer;line-height:1}.sale-edit-line-btn{border:1px solid #bae6fd;background:#e0f2fe;color:#075985}.sale-edit-line-btn:hover,.sale-edit-line-btn.active{background:#bae6fd}.sale-delete-line-btn{border:1px solid #fecaca;background:#fee2e2;color:#b91c1c;font-size:22px}.sale-delete-line-btn:hover{background:#b91c1c;color:#fff;border-color:#b91c1c}.delete-sale-modal{width:min(520px,100%)}.collaborator-sales-page .sales-table th:nth-child(1),.collaborator-sales-page .sales-table td:nth-child(1),.collaborator-sales-page .sales-table th:nth-child(2),.collaborator-sales-page .sales-table td:nth-child(2){width:54px;text-align:center!important}.table-row-actions{display:flex;align-items:center;gap:8px;justify-content:center}.registered-status.modified{background:#fff7ed;color:#b45309}.registered-status.deleted{background:#fee2e2;color:#b91c1c}.registered-sales-table{min-width:1750px!important}.registered-sales-table th:nth-child(8),.registered-sales-table td:nth-child(8){text-align:right;white-space:nowrap}.collaborator-manager-kpis{grid-template-columns:repeat(3,1fr)}.collaborator-manager-page .detail-head{margin-bottom:18px}.collaborator-manager-table{min-width:780px!important}.collaborator-manager-table th:nth-child(2),.collaborator-manager-table td:nth-child(2),.collaborator-manager-table th:nth-child(3),.collaborator-manager-table td:nth-child(3){width:220px;text-align:right!important;white-space:nowrap}.collaborator-manager-empty .panel{min-height:420px;display:grid;place-items:center}.collaborator-manager-empty-message{color:#64748b;font-size:20px;font-weight:900;text-align:center}.collaborator-manager-note{margin:14px 0 0;color:#64748b;font-size:13px;font-weight:800}.manager-collaborator-invoice-modal{width:min(640px,100%)}.manager-collaborator-invoice-note{background:#eef8ff;border:1px solid #bae6fd;color:#075985;border-radius:16px;padding:15px;font-size:14px;line-height:1.55;font-weight:800}@media (max-width:900px){.collaborator-manager-kpis{grid-template-columns:1fr}}.collaborator-manager-table{min-width:980px!important}.collaborator-manager-table th:nth-child(1),.collaborator-manager-table td:nth-child(1){width:auto;text-align:left!important}.collaborator-manager-table th:nth-child(2),.collaborator-manager-table td:nth-child(2),.collaborator-manager-table th:nth-child(3),.collaborator-manager-table td:nth-child(3),.collaborator-manager-table th:nth-child(4),.collaborator-manager-table td:nth-child(4){width:220px;text-align:right!important;white-space:nowrap}.manager-collaborator-history-modal,.manager-collaborator-archives-modal{width:min(880px,100%)}.manager-collaborator-history-table{min-width:620px!important}.manager-collaborator-archives-table{min-width:900px!important}.manager-collaborator-history-table th:nth-child(2),.manager-collaborator-history-table td:nth-child(2),.manager-collaborator-archives-table th:nth-child(2),.manager-collaborator-archives-table td:nth-child(2),.manager-collaborator-archives-table th:nth-child(3),.manager-collaborator-archives-table td:nth-child(3),.manager-collaborator-archives-table th:nth-child(4),.manager-collaborator-archives-table td:nth-child(4){text-align:right!important;white-space:nowrap}.manager-archive-modal-section{margin-bottom:20px}.manager-archive-modal-section h4{margin:0 0 12px;font-size:16px}.sale-year-badge{display:inline-flex;align-items:center;justify-content:center;min-width:58px;border-radius:999px;background:#eef8ff;color:#075985;padding:6px 9px;font-size:12px;font-weight:900}.sales-year-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}.sales-year-info div{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px}.sales-year-info span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;margin-bottom:6px}.sales-year-info strong{display:block;color:#075985;font-size:20px}.sales-year-info p{grid-column:1/-1;margin:0;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;border-radius:14px;padding:12px 14px;font-size:13px;font-weight:800;line-height:1.45}@media (max-width:700px){.sales-year-info{grid-template-columns:1fr}}.collaborator-sales-history-modal{width:min(1180px,100%)}.collaborator-sales-history-table{min-width:1500px!important}.collaborator-sales-history-table th:nth-child(7),.collaborator-sales-history-table td:nth-child(7),.collaborator-sales-history-table th:nth-child(9),.collaborator-sales-history-table td:nth-child(9),.collaborator-sales-history-table th:nth-child(10),.collaborator-sales-history-table td:nth-child(10){text-align:right!important;white-space:nowrap}.manager-collaborator-history-table th:nth-child(3),.manager-collaborator-history-table td:nth-child(3){width:120px;text-align:center!important}.collaborator-manager-level-row td{background:#f8fafc!important;color:#075985;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.collaborator-sales-history-list{display:flex;flex-direction:column;gap:16px}.collaborator-sales-history-card .history-summary{margin-bottom:0}.collaborator-sales-history-card .archive-expanded-content{padding:0 16px 16px}.collaborator-sales-history-card .history-actions strong{color:#075985}.previous-figures-kpis{grid-template-columns:repeat(4,1fr)}.previous-figures-page .detail-head{margin-bottom:18px}.previous-figures-actions{align-items:center;flex-wrap:wrap}.previous-year-select{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:8px 10px}.previous-year-select span{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.previous-year-select select{border:0;background:transparent;outline:none;font-weight:900;color:#0f172a;min-width:110px}.previous-figures-sections{display:flex;flex-direction:column;gap:18px}.previous-figures-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.previous-figures-summary{margin-bottom:16px}.previous-sales-table{min-width:1180px!important}.previous-managers-table{min-width:950px!important}.previous-sales-table th:nth-child(3),.previous-sales-table td:nth-child(3),.previous-sales-table th:nth-child(4),.previous-sales-table td:nth-child(4),.previous-sales-table th:nth-child(5),.previous-sales-table td:nth-child(5),.previous-sales-table th:nth-child(6),.previous-sales-table td:nth-child(6),.previous-managers-table th:nth-child(3),.previous-managers-table td:nth-child(3),.previous-managers-table th:nth-child(4),.previous-managers-table td:nth-child(4),.previous-managers-table th:nth-child(5),.previous-managers-table td:nth-child(5),.previous-managers-table th:nth-child(6),.previous-managers-table td:nth-child(6){text-align:right!important;white-space:nowrap}@media (max-width:900px){.previous-figures-kpis{grid-template-columns:1fr}.previous-figures-actions{width:100%}.previous-year-select,.previous-figures-actions button{width:100%;justify-content:space-between}}.nav-dropdown{margin-top:6px}.nav-parent{margin-bottom:8px}.nav-right{display:flex;align-items:center;gap:8px;margin-left:auto}.nav-chevron{color:#bfdbfe;font-size:14px;font-weight:900;line-height:1}.nav-submenu{display:flex;flex-direction:column;gap:6px;margin:0 0 8px 14px;padding-left:10px;border-left:1px solid rgba(191,219,254,.28)}.nav-child{margin-bottom:0;padding:10px 12px;font-size:13px;background:rgba(255,255,255,.04)}.nav-child.active,.nav-child:hover{background:#0b5b88}.nav-child .nav-label{white-space:normal}.ca-month-page .detail-head{margin-bottom:18px}.ca-month-year-list{display:flex;flex-direction:column;gap:16px}.ca-month-year-card .history-summary{margin-bottom:0}.ca-month-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ca-month-actions strong{color:#075985}.ca-month-expanded{padding:0 16px 16px}.ca-month-block{margin-top:16px}.ca-month-separator{background:#f8fafc;border:1px solid var(--line);border-radius:16px 16px 0 0;padding:14px 16px}.ca-month-separator h4{margin:0 0 5px;color:#075985;font-size:17px}.ca-month-separator p{margin:0;color:#64748b;font-size:13px;font-weight:800}.ca-month-table{min-width:1550px!important;border-top-left-radius:0;border-top-right-radius:0}.ca-month-table th:nth-child(7),.ca-month-table td:nth-child(7),.ca-month-table th:nth-child(9),.ca-month-table td:nth-child(9),.ca-month-table th:nth-child(10),.ca-month-table td:nth-child(10),.ca-month-table th:nth-child(11),.ca-month-table td:nth-child(11),.ca-month-table th:nth-child(12),.ca-month-table td:nth-child(12){text-align:right!important;white-space:nowrap}.ca-month-actions{justify-content:flex-start}.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at top left,rgba(8,47,73,.16),transparent 34%),linear-gradient(135deg,#f8fafc,#eef8ff)}.auth-card{width:min(480px,100%);background:#fff;border:1px solid var(--line);border-radius:30px;padding:34px;box-shadow:0 28px 80px #0f172a29;text-align:center;position:relative;overflow:hidden}.auth-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,rgba(8,125,183,.12),transparent 38%);pointer-events:none}.auth-card>*{position:relative;z-index:1}.auth-logo-wrap{width:190px;height:220px;margin:0 auto 24px;display:flex;align-items:flex-start;justify-content:center;animation:authLogoEntrance .95s ease both}.auth-logo{width:170px;height:auto;max-height:190px;object-fit:contain;display:block;filter:drop-shadow(0 18px 26px rgba(8,47,73,.16));animation:authLogoFloat 4.6s ease-in-out infinite}.auth-head h1{margin:6px 0 0;color:#082f49;font-size:32px;letter-spacing:-.04em}.auth-head p{margin:10px auto 0;max-width:380px;color:#64748b;font-size:14px;line-height:1.6;font-weight:700}.auth-form{display:flex;flex-direction:column;gap:14px;margin-top:26px;text-align:left}.auth-field{display:flex;flex-direction:column;gap:7px}.auth-field span{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.auth-field input{width:100%;border:1px solid var(--line);border-radius:16px;padding:15px;background:#fff;color:#0f172a;font:inherit;outline:none}.auth-field input:focus{border-color:#7dd3fc;box-shadow:0 0 0 4px #0ea5e924}.auth-submit{width:100%;border:0;background:#087db7;color:#fff;border-radius:16px;padding:15px 18px;font-weight:900;cursor:pointer;margin-top:4px;box-shadow:0 16px 28px #087db738}.auth-submit:hover{background:#075985;transform:translateY(-1px)}.auth-link-button{border:0;background:transparent;color:#075985;font-weight:900;margin-top:18px;cursor:pointer}.auth-link-button:hover{text-decoration:underline}.auth-back-button{width:100%;border:1px solid var(--line);background:#fff;color:#0f172a;border-radius:16px;padding:14px 18px;font-weight:900;cursor:pointer;margin-top:16px}.auth-back-button:hover{background:#f8fafc}.auth-reset-card{max-width:560px}.auth-reset-info{margin-top:24px;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;border-radius:18px;padding:16px;text-align:left;display:flex;flex-direction:column;gap:6px;line-height:1.5;font-size:14px;font-weight:800}.auth-reset-actions{margin-top:22px;display:flex;flex-direction:column;gap:10px}.auth-reset-actions .auth-back-button,.auth-reset-actions .auth-submit{margin-top:0}@keyframes authLogoEntrance{0%{opacity:0;transform:translateY(18px) scale(.92) rotate(-3deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes authLogoFloat{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.025)}}@media (max-width:600px){.auth-page{padding:18px}.auth-card{padding:26px 20px;border-radius:24px}.auth-logo-wrap,.auth-logo-wrap.small{width:170px;height:200px;margin:0 auto 22px}.auth-head h1{font-size:28px}}.auth-success-message{margin-top:18px;background:#dcfce7;border:1px solid #86efac;color:#047857;border-radius:16px;padding:13px 15px;font-size:14px;font-weight:900;text-align:center}:root{--blue:#2c426d;--blue2:#22365f;--cobalt:#2c426d;--cobalt-dark:#1f3154;--cobalt-soft:#eef3fb;--cobalt-line:#cdd8eb;--bg:#f3f6fb;--panel:#ffffff;--text:#132033;--muted:#64748b;--line:#e2e8f0;--shadow:0 18px 45px rgba(44,66,109,.1)}body{background:radial-gradient(circle at top left,rgba(44,66,109,.1),transparent 32%),var(--bg);color:var(--text)}main{padding:30px}button,input,select,textarea{font-family:inherit}button{transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.primary,.secondary,.danger-outline,.auth-submit,.auth-back-button,.content-open-btn,.recap-link-button,.document-open-btn,.tab,.tiny-btn,.archive-toggle-btn,.invoice-line-btn,.sale-edit-line-btn,.sale-delete-line-btn,.user-edit-btn,.user-delete-btn,.payment-delete-btn,.manager-lock-btn,.rate-lock-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center}.primary,.auth-submit{background:var(--cobalt);color:#fff;border:1px solid var(--cobalt);box-shadow:0 14px 28px #2c426d2e}.primary:hover,.auth-submit:hover{background:var(--cobalt-dark);border-color:var(--cobalt-dark);transform:translateY(-1px);box-shadow:0 18px 34px #2c426d3d}.secondary,.auth-back-button{background:#fff;color:var(--cobalt);border:1px solid var(--cobalt-line)}.secondary:hover,.auth-back-button:hover{background:var(--cobalt-soft);border-color:var(--cobalt);color:var(--cobalt-dark);transform:translateY(-1px)}.topbar h2,.detail h3,.modal-head h3,.section-head h4,.factures-head h4,.history-head h4,.recap-section-head h4,.auth-head h1{color:var(--cobalt-dark);letter-spacing:-.03em}.topbar p,.subtitle,.modal-head p,.section-head p{color:var(--muted);font-weight:700}.panel,.kpi,.content-card,.history-card,.factures-section,.previous-figures-section,.recap-section-card,.manager-level-card,.form-section,.created-users-box,.document-row,.registered-sales-section,.registered-sales-intro{border-color:var(--line);box-shadow:var(--shadow)}.kpis{gap:18px}.kpi{border-radius:22px;padding:20px}.kpi.highlight{background:linear-gradient(135deg,#eef3fb,#ffffff);border-color:var(--cobalt-line)}.kpi span{color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.03em}.kpi strong{color:var(--cobalt-dark);letter-spacing:-.03em}.sidebar{background:linear-gradient(180deg,#1f3154 0%,#2c426d 100%);box-shadow:8px 0 30px #0f172a1f}.brand{align-items:center;gap:14px;margin-bottom:30px}.logo.sidebar-logo{width:56px;height:56px;background:#fff;border-radius:18px;padding:7px;box-shadow:0 12px 24px #0f172a29;overflow:hidden}.brand h1{font-size:20px;letter-spacing:-.03em}.brand p{color:#dbeafe;font-weight:700}.nav{border:1px solid transparent;color:#eaf2ff;font-weight:850}.nav:hover,.nav.active{background:rgba(255,255,255,.13);border-color:#ffffff29;color:#fff}.nav-parent.active,.nav-child.active{background:rgba(255,255,255,.16)}.nav-submenu{border-left-color:#ffffff38}.nav-child{background:rgba(255,255,255,.06)}.nav-chevron{color:#eaf2ff}.nav-badge{background:#ef4444;box-shadow:0 0 0 3px #ef44442e}.topbar{background:rgba(255,255,255,.68);border:1px solid rgba(226,232,240,.9);border-radius:24px;padding:18px 20px;box-shadow:0 14px 34px #2c426d14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.actions{justify-content:flex-end}.actions select,.actions input{border-color:var(--line);color:var(--cobalt-dark);font-weight:800}.actions select:focus,.actions input:focus,.form-field input:focus,.form-field select:focus,.table-input:focus,.payment-history-input:focus,.content-edit-input:focus,.content-textarea:focus,.recap-edit-stack input:focus,.recap-edit-stack textarea:focus{outline:none;border-color:var(--cobalt);box-shadow:0 0 0 4px #2c426d1f}.tab.active{background:var(--cobalt-soft);color:var(--cobalt-dark);border-color:var(--cobalt-line)}.tab:hover{background:var(--cobalt-soft);color:var(--cobalt-dark)}.sales-table{border-color:var(--line);border-radius:18px}.sales-table th{background:var(--cobalt);color:#fff;font-weight:900;letter-spacing:.04em}.sales-table td{color:#334155}.sales-table tr:hover td{background:#f8fafc}.sale-year-badge,.video-category-arrow,.manager-level-arrow,.recap-section-head span,.section-head span,.content-cover,.document-icon{background:var(--cobalt-soft);color:var(--cobalt-dark)}.content-open-btn,.recap-link-button{background:var(--cobalt);box-shadow:0 14px 28px #2c426d2e}.content-open-btn:hover,.recap-link-button:hover{background:var(--cobalt-dark)}.modal-overlay{background:rgba(15,23,42,.52);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{border:1px solid rgba(226,232,240,.9);box-shadow:0 28px 90px #0f172a47}.modal-close:hover{background:var(--cobalt-soft);color:var(--cobalt-dark)}.history-card{border-radius:20px}.archive-toggle-btn{color:var(--cobalt-dark)}.archive-toggle-btn:hover{background:var(--cobalt-soft);border-color:var(--cobalt-line)}.invoice-line-btn{background:var(--cobalt-soft);border-color:var(--cobalt-line);color:var(--cobalt-dark)}.invoice-line-btn:hover{background:#dbe7fb;border-color:var(--cobalt)}.invoice-ttc-btn{background:var(--cobalt-soft);border-color:var(--cobalt-line);color:var(--cobalt-dark)}.invoice-ttc-btn:hover{background:#dbe7fb}.invoice-ht-btn{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.auth-page{background:radial-gradient(circle at top left,rgba(44,66,109,.14),transparent 34%),linear-gradient(135deg,#f8fafc,#eef3fb)}.auth-card{border-radius:34px;border:1px solid rgba(226,232,240,.9);box-shadow:0 30px 90px #2c426d2e}.auth-card:before{background:linear-gradient(135deg,rgba(44,66,109,.12),transparent 42%)}.auth-logo-wrap{width:190px;height:220px;margin:0 auto 24px;display:flex;align-items:flex-start;justify-content:center}.auth-logo-wrap.small{width:190px;height:220px;margin:0 auto 24px}.auth-logo{width:170px;height:auto;max-height:190px;object-fit:contain;object-position:top center;display:block}.auth-head h1{margin:8px 0 0;color:var(--cobalt-dark)}.auth-head p,.auth-field span{color:#64748b}.auth-field input{border-color:var(--line)}.auth-field input:focus{border-color:var(--cobalt);box-shadow:0 0 0 4px #2c426d21}.auth-link-button{color:var(--cobalt)}.auth-reset-info{background:#fff7ed;border-color:#fed7aa}.auth-success-message{background:#ecfdf5;border-color:#bbf7d0;color:#047857}.registered-sales-intro{background:var(--cobalt-soft);border-color:var(--cobalt-line)}.registered-sales-intro h4{color:var(--cobalt-dark)}.manager-collaborator-invoice-note,.invoice-confirm-note{background:var(--cobalt-soft);border-color:var(--cobalt-line);color:var(--cobalt-dark)}.sales-year-info strong,.sales-year-info span,.ca-month-actions strong,.collaborator-sales-history-card .history-actions strong{color:var(--cobalt-dark)}.detail-actions,.form-actions,.modal-actions,.announcement-popup-actions,.document-actions,.registered-sales-actions,.table-row-actions,.invoice-buttons,.previous-figures-actions,.ca-month-actions{align-items:center}@media (max-width:1100px){main{padding:22px}.topbar{align-items:stretch}.actions{justify-content:flex-start}}@media (max-width:700px){main{padding:16px}.topbar{border-radius:20px;padding:16px}.actions select,.actions input,.actions button,.primary,.secondary,.danger-outline{width:100%}.detail-actions{width:100%;flex-direction:column}.detail-actions button{width:100%}}@media (max-width:600px){.auth-logo-wrap,.auth-logo-wrap.small{width:170px;height:200px;margin:0 auto 22px}.auth-logo{width:150px;max-height:175px}}.beta-test-note{margin:10px 0 0;max-width:720px;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;border-radius:14px;padding:11px 13px;font-size:13px;font-weight:850;line-height:1.45}.beta-test-note-centered{margin:14px auto 0;text-align:center}.announcement-form input:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.admin-view-switch{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:7px 10px}.admin-view-switch span{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;white-space:nowrap}.admin-view-switch select{border:0;background:transparent;padding:4px 2px;min-width:230px;color:#0f172a;font-size:12px;font-weight:900;outline:none}.admin-return-btn{border-color:#fed7aa!important;background:#fff7ed!important;color:#b45309!important}.admin-return-btn:hover{background:#ffedd5!important;border-color:#fb923c!important}.admin-impersonation-banner{grid-column:1 / -1;width:100%;margin-top:14px;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;border-radius:14px;padding:11px 14px;font-size:13px;font-weight:900;line-height:1.45}.topbar{flex-wrap:wrap}@media (max-width:900px){.admin-view-switch{width:100%;justify-content:space-between}.admin-view-switch select{min-width:0;flex:1}.admin-return-btn{width:100%}}.brand{justify-content:space-between}.brand-main{display:flex;align-items:center;gap:14px;min-width:0}.logo.sidebar-logo{width:56px;height:56px;background:#fff;border-radius:18px;padding:7px;box-shadow:0 12px 24px #0f172a29;overflow:hidden;flex:0 0 auto}.logo.sidebar-logo img{width:100%;height:100%;object-fit:contain;display:block}.sidebar-close-btn,.mobile-menu-btn,.mobile-sidebar-backdrop{display:none}.topbar-title-row{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title-row h2{line-height:1.1}@media (max-width:1100px){.app-shell{display:block;min-height:100vh}main{width:100%;padding:18px}.sidebar{display:flex!important;position:fixed;top:0;left:0;bottom:0;width:min(86vw,320px);height:100dvh;z-index:1001;transform:translate(-105%);transition:transform .24s ease;box-shadow:18px 0 50px #0f172a40}.sidebar.mobile-open{transform:translate(0)}.sidebar-close-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;font-size:26px;line-height:1;cursor:pointer}.mobile-sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;border:0;background:rgba(15,23,42,.46);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:pointer}.mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);background:#fff;color:var(--blue);border-radius:14px;font-size:23px;font-weight:900;cursor:pointer;flex:0 0 auto;box-shadow:0 10px 24px #0f172a0f}.mobile-menu-btn:hover{background:#f8fafc;transform:translateY(-1px)}.topbar{position:sticky;top:0;z-index:90;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:16px}.topbar-title-row{width:100%}.topbar h2{font-size:26px}.topbar p{font-size:14px;line-height:1.4}.actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.actions select,.actions input,.actions button,.admin-view-switch{width:100%;min-width:0}.admin-view-switch{grid-column:1 / -1;justify-content:space-between}.admin-view-switch select{min-width:0;flex:1}.layout,.layout.single{grid-template-columns:1fr!important}.panel{border-radius:20px}.detail{padding:17px}.detail-head{flex-direction:column;align-items:stretch}.detail-actions{width:100%;flex-wrap:wrap}.detail-actions button,.detail-actions .primary,.detail-actions .secondary{flex:1;min-width:160px}.kpis,.summary-grid,.previous-figures-kpis,.registered-sales-kpis,.collaborator-recap-kpis,.collaborator-manager-kpis,.content-grid,.welcome-grid,.recap-link-list,.recap-number-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form-actions,.modal-actions,.announcement-popup-actions{flex-wrap:wrap}.table-scroll,.roles-table-scroll,.training-request-scroll,.facture-history-scroll,.manager-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (min-width:1101px){.mobile-menu-btn,.sidebar-close-btn,.mobile-sidebar-backdrop{display:none!important}}@media (max-width:700px){main{padding:14px}.topbar{border-radius:18px;padding:14px}.topbar h2{font-size:23px}.actions{grid-template-columns:1fr}.actions select,.actions input,.actions button,.admin-view-switch{min-height:44px}.kpis,.summary-grid,.previous-figures-kpis,.registered-sales-kpis,.collaborator-recap-kpis,.collaborator-manager-kpis,.content-grid,.welcome-grid,.recap-link-list,.recap-number-list,.construction-grid,.create-user-grid,.document-form-grid,.announcement-form-grid,.content-form-grid,.recap-form-grid{grid-template-columns:1fr!important}.detail h3{font-size:22px}.detail-actions{flex-direction:column}.detail-actions button,.primary,.secondary,.danger-outline{width:100%}.modal-overlay{padding:12px;align-items:flex-start}.modal-card{width:100%;max-height:calc(100dvh - 24px);border-radius:20px;padding:18px}.modal-head{gap:12px}.modal-actions{flex-direction:column}.modal-actions button{width:100%}.user-list{max-height:none}.content-card,.document-row,.history-card,.manager-level-card,.recap-section-card{border-radius:17px}.document-row{grid-template-columns:44px minmax(0,1fr);gap:12px}.document-actions{grid-column:1 / -1;justify-content:stretch}.document-actions button,.document-actions a{flex:1}.sales-table{min-width:1100px}.created-users-table,.collaborator-sales-page .sales-table,.registered-sales-table{min-width:1250px!important}}@media (max-width:430px){main{padding:10px}.topbar{margin-bottom:12px}.topbar-title-row{align-items:flex-start}.mobile-menu-btn{width:40px;height:40px;border-radius:12px;font-size:21px}.topbar h2{font-size:21px}.topbar p{font-size:13px}.detail{padding:14px}.kpi{padding:15px}.kpi strong{font-size:21px}}.auth-checkbox-field{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;cursor:pointer!important;margin:8px 0 14px!important;color:#334155!important;font-size:14px!important;line-height:1.4!important}.auth-checkbox-field input[type=checkbox]{width:16px!important;min-width:16px!important;height:16px!important;margin:2px 0 0!important;padding:0!important;cursor:pointer!important;accent-color:#0f172a!important}.auth-checkbox-field span{display:block!important;flex:1!important;text-align:left!important}.auth-switch-field{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;margin:10px 0 16px!important;cursor:pointer!important;color:#334155!important;font-size:14px!important;line-height:1.4!important;-webkit-user-select:none!important;user-select:none!important}.auth-switch-field input[type=checkbox]{position:absolute!important;opacity:0!important;pointer-events:none!important}.auth-switch{position:relative!important;display:inline-flex!important;align-items:center!important;width:46px!important;min-width:46px!important;height:26px!important;border-radius:999px!important;background:#cbd5e1!important;transition:background .2s ease!important}.auth-switch-knob{position:absolute!important;left:3px!important;width:20px!important;height:20px!important;border-radius:999px!important;background:#ffffff!important;box-shadow:0 2px 6px #0f172a40!important;transition:transform .2s ease!important}.auth-switch-field.active .auth-switch{background:#0f172a!important}.auth-switch-field.active .auth-switch .auth-switch-knob{transform:translate(20px)!important}.auth-switch-text{display:block!important;flex:1!important;text-align:left!important}.auth-switch-field{border:0!important;background:transparent!important;padding:0!important}.roles-mfa-users{display:grid!important;gap:10px!important;margin-top:14px!important}.roles-mfa-user-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:12px 14px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#ffffff!important}.roles-mfa-user-row>div{display:grid!important;gap:4px!important}.roles-mfa-user-row strong{color:#0f172a!important;font-size:14px!important}.roles-mfa-user-row span{color:#64748b!important;font-size:13px!important}.mfa-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-width:150px!important;padding:8px 12px!important;border:1px solid #cbd5e1!important;border-radius:999px!important;background:#f8fafc!important;color:#334155!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important}.mfa-toggle:disabled{opacity:.8!important;cursor:not-allowed!important}.mfa-toggle-track{position:relative!important;display:inline-flex!important;width:38px!important;min-width:38px!important;height:22px!important;border-radius:999px!important;background:#cbd5e1!important;transition:background .2s ease!important}.mfa-toggle-knob{position:absolute!important;top:3px!important;left:3px!important;width:16px!important;height:16px!important;border-radius:999px!important;background:#ffffff!important;box-shadow:0 2px 5px #0f172a40!important;transition:transform .2s ease!important}.mfa-toggle.active{border-color:#0f172a!important;background:#0f172a!important;color:#fff!important}.mfa-toggle.active .mfa-toggle-track{background:#22c55e!important}.mfa-toggle.active .mfa-toggle-knob{transform:translate(16px)!important}.top-bubbles-toggle{display:none}@media (max-width: 900px){.top-bubbles-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:8px 12px!important;border:1px solid #cbd5e1!important;border-radius:999px!important;background:#f8fafc!important;color:#334155!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;white-space:nowrap!important}.top-bubbles-toggle.active{border-color:#0f172a!important;background:#0f172a!important;color:#fff!important}.app-shell.top-bubbles-collapsed .kpis,.app-shell.top-bubbles-collapsed .summary-grid:not(.history-summary):not(.manager-payment-summary){display:none!important}}.sidebar-account-actions{display:grid!important;gap:8px!important;margin:6px 0 12px!important;padding-bottom:12px!important;border-bottom:1px solid rgba(148,163,184,.22)!important}.sidebar-account-btn{opacity:.92!important}.sidebar-account-btn:hover{opacity:1!important}.import-sales-csv-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}.import-sales-csv-input{display:none!important}.app-popup-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:9999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;background:rgba(15,23,42,.42)!important;-webkit-backdrop-filter:blur(5px)!important;backdrop-filter:blur(5px)!important}.app-popup-card{width:min(460px,100%)!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:16px!important;padding:22px!important;border-radius:24px!important;background:#ffffff!important;box-shadow:0 28px 80px #0f172a52!important;border:1px solid rgba(226,232,240,.95)!important}.app-popup-icon{width:42px!important;height:42px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-weight:900!important;background:#e0f2fe!important;color:#0369a1!important}.app-popup-card.tone-danger .app-popup-icon{background:#fee2e2!important;color:#b91c1c!important}.app-popup-card.tone-success .app-popup-icon{background:#dcfce7!important;color:#15803d!important}.app-popup-card.tone-warning .app-popup-icon{background:#fef3c7!important;color:#b45309!important}.app-popup-content h3{margin:0 0 8px!important;color:#0f172a!important;font-size:18px!important}.app-popup-content p{margin:0!important;color:#475569!important;line-height:1.55!important;white-space:pre-line!important}.app-popup-input{width:100%!important;margin-top:16px!important;padding:12px 14px!important;border:1px solid #cbd5e1!important;border-radius:14px!important;font-size:14px!important}.app-popup-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:20px!important}@media (max-width: 640px){.app-popup-card{grid-template-columns:1fr!important}.app-popup-icon{width:38px!important;height:38px!important}.app-popup-actions{flex-direction:column-reverse!important}.app-popup-actions button{width:100%!important}}.drive-equipe-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}.drive-equipe-header h3{margin:4px 0 8px!important;color:#0f172a!important}.drive-equipe-header p{margin:0!important;color:#64748b!important}.drive-equipe-open-btn{text-decoration:none!important;white-space:nowrap!important}.drive-equipe-frame-card{padding:0!important;overflow:hidden!important}.drive-equipe-frame{width:100%!important;min-height:72vh!important;border:0!important;background:#ffffff!important}@media (max-width: 800px){.drive-equipe-header{align-items:stretch!important;flex-direction:column!important}.drive-equipe-open-btn{width:100%!important;justify-content:center!important}.drive-equipe-frame{min-height:68vh!important}}.drive-equipe-page{display:grid!important;gap:18px!important}.drive-equipe-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;padding:24px!important;border-radius:28px!important;background:radial-gradient(circle at top left,rgba(59,130,246,.18),transparent 34%),linear-gradient(135deg,#ffffff 0%,#f8fafc 100%)!important;border:1px solid rgba(226,232,240,.95)!important;box-shadow:0 18px 45px #0f172a14!important}.drive-equipe-hero-content h3{margin:4px 0 8px!important;color:#0f172a!important;font-size:24px!important}.drive-equipe-hero-content p{max-width:680px!important;margin:0!important;color:#64748b!important;line-height:1.55!important}.drive-equipe-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px!important}.drive-equipe-action-btn{min-height:40px!important;text-decoration:none!important;white-space:nowrap!important}.drive-equipe-info-card{display:flex!important;gap:12px!important;padding:14px 16px!important;border-radius:18px!important;background:#eff6ff!important;border:1px solid #bfdbfe!important;color:#1e3a8a!important}.drive-equipe-info-card strong{display:block!important;margin-bottom:4px!important;color:#1e40af!important}.drive-equipe-info-card p{margin:0!important;color:#1d4ed8!important;line-height:1.45!important}.drive-equipe-browser{overflow:hidden!important;border-radius:26px!important;background:#ffffff!important;border:1px solid rgba(226,232,240,.95)!important;box-shadow:0 18px 45px #0f172a14!important}.drive-equipe-browser-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 18px!important;border-bottom:1px solid #e2e8f0!important;background:#f8fafc!important;color:#475569!important;font-size:13px!important;font-weight:800!important}.drive-equipe-browser-top span:last-child{color:#94a3b8!important;font-weight:700!important}.drive-equipe-frame{display:block!important;width:100%!important;min-height:74vh!important;border:0!important;background:#ffffff!important}@media (max-width: 900px){.drive-equipe-hero{align-items:stretch!important;flex-direction:column!important}.drive-equipe-actions{justify-content:stretch!important}.drive-equipe-action-btn{flex:1 1 100%!important;justify-content:center!important}.drive-equipe-browser-top{align-items:flex-start!important;flex-direction:column!important}.drive-equipe-frame{min-height:68vh!important}}.profile-notifications-section{border:1px solid #bfdbfe!important;background:#eff6ff!important;border-radius:20px!important;padding:18px!important}.profile-notifications-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:14px!important}.profile-notifications-head h4{margin:0 0 6px!important;color:#0f172a!important}.profile-notifications-head p,.profile-notifications-box p{margin:0!important;color:#475569!important;line-height:1.45!important}.profile-notification-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:6px 10px!important;border-radius:999px!important;background:#e2e8f0!important;color:#334155!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}.profile-notification-status.status-active{background:#dcfce7!important;color:#15803d!important}.profile-notification-status.status-blocked,.profile-notification-status.status-unsupported{background:#fee2e2!important;color:#b91c1c!important}.profile-notification-status.status-available,.profile-notification-status.status-ready{background:#fef3c7!important;color:#b45309!important}.profile-notifications-box{display:grid!important;gap:12px!important}.profile-notifications-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important}.profile-notifications-box small{color:#64748b!important;line-height:1.4!important}@media (max-width: 640px){.profile-notifications-head{flex-direction:column!important}.profile-notifications-actions button{width:100%!important}}.messagerie-page{display:grid!important;gap:18px!important}.messagerie-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:22px!important;border-radius:28px!important;background:radial-gradient(circle at top left,rgba(37,99,235,.18),transparent 34%),linear-gradient(135deg,#ffffff 0%,#f8fafc 100%)!important;border:1px solid rgba(226,232,240,.95)!important;box-shadow:0 18px 45px #0f172a14!important}.messagerie-hero h3{margin:4px 0 8px!important;color:#0f172a!important;font-size:24px!important}.messagerie-hero p{margin:0!important;color:#64748b!important;line-height:1.5!important}.messagerie-hero-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.messagerie-unread-pill{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:7px 12px!important;border-radius:999px!important;background:#dbeafe!important;color:#1d4ed8!important;font-size:13px!important;font-weight:900!important}.messagerie-shell{min-height:68vh!important;display:grid!important;grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important;overflow:hidden!important;border-radius:28px!important;border:1px solid rgba(226,232,240,.95)!important;background:#ffffff!important;box-shadow:0 18px 45px #0f172a14!important}.messagerie-sidebar{display:flex!important;flex-direction:column!important;min-height:0!important;border-right:1px solid #e2e8f0!important;background:#f8fafc!important}.messagerie-search{display:flex!important;align-items:center!important;gap:8px!important;margin:16px!important;padding:10px 12px!important;border-radius:16px!important;border:1px solid #e2e8f0!important;background:#ffffff!important;color:#94a3b8!important}.messagerie-search input{width:100%!important;border:0!important;outline:none!important;background:transparent!important;color:#0f172a!important}.messagerie-list{overflow:auto!important;padding:0 10px 12px!important}.messagerie-row{width:100%!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:12px!important;border:0!important;border-radius:18px!important;background:transparent!important;color:#0f172a!important;text-align:left!important;cursor:pointer!important}.messagerie-row:hover,.messagerie-row.active{background:#ffffff!important;box-shadow:0 10px 26px #0f172a14!important}.messagerie-row.unread strong{color:#1d4ed8!important}.messagerie-row-main{min-width:0!important}.messagerie-row-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}.messagerie-row-top strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important}.messagerie-row-top span{color:#94a3b8!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}.messagerie-row p{margin:4px 0 0!important;overflow:hidden!important;color:#64748b!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important}.messagerie-dot{width:10px!important;height:10px!important;border-radius:999px!important;background:#2563eb!important}.messagerie-avatar{width:42px!important;height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:#dbeafe!important;color:#1d4ed8!important;font-size:13px!important;font-weight:900!important;flex:0 0 auto!important}.messagerie-avatar.small{width:32px!important;height:32px!important;font-size:11px!important}.messagerie-conversation{min-width:0!important;min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;background:#ffffff!important}.messagerie-conversation-head{display:flex!important;align-items:center!important;gap:12px!important;padding:16px 18px!important;border-bottom:1px solid #e2e8f0!important}.messagerie-conversation-head h4{margin:0 0 3px!important;color:#0f172a!important}.messagerie-conversation-head p{margin:0!important;color:#94a3b8!important;font-size:13px!important}.messagerie-thread{min-height:0!important;overflow:auto!important;display:flex!important;flex-direction:column!important;gap:14px!important;padding:22px!important;background:radial-gradient(circle at top right,rgba(226,232,240,.42),transparent 28%),#ffffff!important}.messagerie-bubble-row{display:flex!important;align-items:flex-end!important;gap:10px!important}.messagerie-bubble-row.mine{justify-content:flex-end!important}.messagerie-bubble{max-width:min(620px,78%)!important;padding:11px 13px!important;border-radius:18px 18px 18px 6px!important;background:#f1f5f9!important;color:#0f172a!important}.messagerie-bubble.mine{border-radius:18px 18px 6px!important;background:#2563eb!important;color:#fff!important}.messagerie-bubble-author{display:block!important;margin-bottom:4px!important;font-size:12px!important;font-weight:900!important;color:#1d4ed8!important}.messagerie-bubble p{margin:0!important;white-space:pre-wrap!important;line-height:1.45!important}.messagerie-bubble-date{display:block!important;margin-top:6px!important;font-size:11px!important;opacity:.72!important;text-align:right!important}.messagerie-composer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:10px!important;padding:14px!important;border-top:1px solid #e2e8f0!important;background:#f8fafc!important}.messagerie-composer textarea{width:100%!important;min-height:44px!important;max-height:130px!important;resize:vertical!important;padding:12px 14px!important;border:1px solid #cbd5e1!important;border-radius:16px!important;background:#ffffff!important;color:#0f172a!important;font-family:inherit!important}.messagerie-empty,.messagerie-no-conversation{padding:20px!important;color:#64748b!important;text-align:center!important}.thread-empty{margin:auto!important}.messagerie-no-conversation{align-self:center!important;justify-self:center!important}.messagerie-no-conversation h4{margin:0 0 8px!important;color:#0f172a!important}.messagerie-new-modal textarea{width:100%!important;resize:vertical!important}@media (max-width: 900px){.messagerie-hero,.messagerie-hero-actions{align-items:stretch!important;flex-direction:column!important}.messagerie-shell{grid-template-columns:1fr!important}.messagerie-sidebar{border-right:0!important;border-bottom:1px solid #e2e8f0!important;max-height:340px!important}.messagerie-bubble{max-width:88%!important}.messagerie-composer{grid-template-columns:1fr!important}}.messagerie-composer{grid-template-columns:auto minmax(0,1fr) auto!important}.messagerie-composer .messagerie-selected-files{grid-column:1 / -1!important}.messagerie-shortcut{grid-column:2 / -1!important;color:#94a3b8!important;font-size:12px!important}.messagerie-attach-btn,.messagerie-modal-attach{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;cursor:pointer!important}.messagerie-attach-btn{width:44px!important;border:1px solid #cbd5e1!important;border-radius:16px!important;background:#ffffff!important}.messagerie-attach-btn input,.messagerie-modal-attach input{display:none!important}.messagerie-selected-files{display:grid!important;gap:8px!important}.messagerie-selected-file,.messagerie-attachment{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:9px 10px!important;border-radius:14px!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(203,213,225,.78)!important;text-decoration:none!important;color:inherit!important}.messagerie-selected-file strong,.messagerie-attachment strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important}.messagerie-selected-file small,.messagerie-attachment small{display:block!important;margin-top:2px!important;color:#64748b!important;font-size:11px!important}.messagerie-selected-file button{width:24px!important;height:24px!important;border:0!important;border-radius:999px!important;background:#fee2e2!important;color:#b91c1c!important;cursor:pointer!important;font-weight:900!important}.messagerie-attachments{display:grid!important;gap:8px!important;margin-top:10px!important}.messagerie-bubble.mine .messagerie-attachment{background:rgba(255,255,255,.16)!important;border-color:#ffffff3d!important;color:#fff!important}.messagerie-bubble.mine .messagerie-attachment small{color:#ffffffb8!important}.messagerie-modal-files{display:grid!important;gap:10px!important}@media (max-width: 900px){.messagerie-composer{grid-template-columns:auto minmax(0,1fr)!important}.messagerie-composer button.primary,.messagerie-shortcut{grid-column:1 / -1!important}}.messagerie-avatar.general{background:#111827!important;color:#fff!important;font-size:20px!important}.messagerie-rename-btn{margin-left:auto!important;min-height:34px!important;padding:7px 12px!important;border-radius:999px!important;font-size:12px!important}.messagerie-mode-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:5px!important;border-radius:18px!important;background:#f1f5f9!important}.messagerie-mode-tabs button{min-height:42px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#64748b!important;cursor:pointer!important;font-weight:900!important}.messagerie-mode-tabs button.active{background:#ffffff!important;color:#1d4ed8!important;box-shadow:0 8px 20px #0f172a14!important}.messagerie-group-picker{display:grid!important;gap:10px!important;padding:14px!important;border-radius:18px!important;border:1px solid #e2e8f0!important;background:#f8fafc!important}.messagerie-group-picker-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.messagerie-group-picker-head strong{color:#0f172a!important}.messagerie-group-picker-head span{color:#2563eb!important;font-size:12px!important;font-weight:900!important}.messagerie-group-list{display:grid!important;gap:8px!important;max-height:280px!important;overflow:auto!important;padding-right:4px!important}.messagerie-group-user{display:grid!important;grid-template-columns:auto auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:10px!important;border-radius:16px!important;background:#ffffff!important;border:1px solid #e2e8f0!important;cursor:pointer!important}.messagerie-group-user input{width:16px!important;height:16px!important}.messagerie-group-user strong{display:block!important;color:#0f172a!important;font-size:13px!important}.messagerie-group-user span{display:block!important;margin-top:2px!important;color:#64748b!important;font-size:12px!important}@media (max-width: 640px){.messagerie-mode-tabs{grid-template-columns:1fr!important}.messagerie-rename-btn{margin-left:0!important}}.messagerie-shell{height:calc(100vh - 260px)!important;min-height:560px!important;max-height:760px!important;overflow:hidden!important}.messagerie-sidebar{min-height:0!important;overflow:hidden!important}.messagerie-list{min-height:0!important;overflow-y:auto!important}.messagerie-conversation{height:100%!important;min-height:0!important;overflow:hidden!important}.messagerie-thread{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}.messagerie-composer{flex-shrink:0!important}@media (max-width: 900px){.messagerie-shell{height:calc(100vh - 230px)!important;min-height:620px!important;max-height:none!important}.messagerie-sidebar{max-height:260px!important}}.messagerie-group-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important;flex-wrap:wrap!important}button.danger,.danger{background:#fee2e2!important;color:#b91c1c!important;border:1px solid #fecaca!important}button.danger:hover,.danger:hover{background:#fecaca!important}.messagerie-thread{scroll-behavior:smooth!important}@media (max-width: 900px){.messagerie-group-actions{width:100%!important;margin-left:0!important}.messagerie-group-actions button{flex:1 1 auto!important}}.nav-badge{min-width:22px!important;height:22px!important;padding:0 7px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:#dc2626!important;color:#fff!important;font-size:12px!important;font-weight:900!important;line-height:1!important;box-shadow:0 8px 18px #dc262647!important}.profile-avatar-editor{display:flex!important;align-items:center!important;gap:16px!important;margin:12px 0 18px!important;padding:14px!important;border-radius:20px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important}.profile-avatar,.messagerie-avatar{overflow:hidden!important;flex:0 0 auto!important}.profile-avatar{width:72px!important;height:72px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:#dbeafe!important;color:#1d4ed8!important;font-size:20px!important;font-weight:900!important}.profile-avatar.large{width:82px!important;height:82px!important}.profile-avatar img,.messagerie-avatar img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}.profile-avatar-upload{display:inline-flex!important;cursor:pointer!important}.profile-avatar-upload input{display:none!important}.profile-avatar-editor p{margin:8px 0 0!important;color:#64748b!important;font-size:12px!important;line-height:1.4!important}.messagerie-rename-btn.muted{background:#fef3c7!important;color:#b45309!important;border-color:#fde68a!important}@media (max-width: 640px){.profile-avatar-editor{align-items:flex-start!important;flex-direction:column!important}}.users-avatar{width:38px!important;height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border-radius:999px!important;background:#dbeafe!important;color:#1d4ed8!important;font-size:12px!important;font-weight:900!important;box-shadow:0 8px 18px #0f172a14!important}.users-avatar img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}.created-users-table td:has(.users-avatar),.users-public-table td:has(.users-avatar){text-align:center!important;vertical-align:middle!important}html,body{-webkit-text-size-adjust:100%!important;overscroll-behavior:none!important}input,textarea,select{font-size:16px!important}.topbar-tools-toggle{display:none!important}@media (max-width: 900px){.topbar{gap:12px!important}.topbar-tools-toggle{width:100%!important;min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important;border:1px solid #cbd5e1!important;border-radius:16px!important;background:#ffffff!important;color:#0f172a!important;font-weight:900!important}.topbar-tools-toggle.active{border-color:#2563eb!important;color:#1d4ed8!important;background:#eff6ff!important}.topbar-actions-panel{width:100%!important;display:none!important;align-items:stretch!important;flex-direction:column!important;gap:10px!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#f8fafc!important}.topbar-actions-panel.open{display:flex!important}.topbar-actions-panel select,.topbar-actions-panel button,.topbar-actions-panel .admin-view-switch{width:100%!important}.topbar-actions-panel .admin-view-switch{display:grid!important;gap:6px!important}}.messagerie-mobile-back{display:none!important}@media (max-width: 900px){.messagerie-page{min-height:calc(100vh - 120px)!important}.messagerie-hero{padding:16px!important}.messagerie-hero h3{font-size:20px!important}.messagerie-shell{height:calc(100vh - 255px)!important;min-height:560px!important;max-height:none!important;display:block!important;overflow:hidden!important}.messagerie-shell:not(.conversation-open) .messagerie-sidebar{height:100%!important;max-height:none!important;display:flex!important;border-bottom:0!important}.messagerie-shell:not(.conversation-open) .messagerie-conversation{display:none!important}.messagerie-shell.conversation-open .messagerie-sidebar{display:none!important}.messagerie-shell.conversation-open .messagerie-conversation{height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important}.messagerie-mobile-back{width:38px!important;height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;border:1px solid #cbd5e1!important;border-radius:999px!important;background:#ffffff!important;color:#0f172a!important;font-size:22px!important;font-weight:900!important}.messagerie-conversation-head{gap:10px!important;padding:12px!important}.messagerie-conversation-head h4{font-size:15px!important}.messagerie-thread{padding:14px!important}.messagerie-bubble{max-width:86%!important}.messagerie-composer{padding-bottom:max(14px,env(safe-area-inset-bottom))!important}}@media (max-width: 900px){body{padding-top:env(safe-area-inset-top)!important;padding-bottom:env(safe-area-inset-bottom)!important}.topbar{padding-top:12px!important}.mobile-menu-btn{width:46px!important;height:46px!important;min-width:46px!important;border-radius:16px!important;font-size:22px!important}}@media (max-width: 900px){.messagerie-shell.conversation-open{position:static!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;border:0!important;box-shadow:none!important;background:transparent!important}.messagerie-shell.conversation-open .messagerie-conversation{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:9999!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;background:#ffffff!important}.messagerie-shell.conversation-open .messagerie-conversation-head{padding-top:max(14px,calc(env(safe-area-inset-top) + 10px))!important;padding-left:12px!important;padding-right:12px!important;min-height:calc(64px + env(safe-area-inset-top))!important;background:#ffffff!important;border-bottom:1px solid #e2e8f0!important;box-shadow:0 8px 20px #0f172a0f!important}.messagerie-shell.conversation-open .messagerie-thread{height:100%!important;min-height:0!important;overflow-y:auto!important;padding:16px 14px!important;background:#ffffff!important}.messagerie-shell.conversation-open .messagerie-composer{position:relative!important;padding:12px 12px max(12px,calc(env(safe-area-inset-bottom) + 10px))!important;border-top:1px solid #e2e8f0!important;background:#f8fafc!important}.messagerie-shell.conversation-open .messagerie-mobile-back{width:44px!important;height:44px!important;min-width:44px!important;background:#f1f5f9!important;border:1px solid #cbd5e1!important;color:#0f172a!important;font-size:24px!important}.messagerie-shell.conversation-open .messagerie-conversation-head>div{min-width:0!important}.messagerie-shell.conversation-open .messagerie-conversation-head h4{max-width:170px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.messagerie-shell.conversation-open .messagerie-group-actions{display:none!important}.messagerie-shell.conversation-open .messagerie-rename-btn{font-size:11px!important;padding:6px 9px!important;min-height:34px!important}}.mobile-sale-modal-overlay{display:none!important}@media (max-width: 900px){.create-sale-inline-row{display:none!important}.mobile-sale-modal-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:10000!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;background:rgba(15,23,42,.42)!important}.mobile-sale-modal{width:100vw!important;height:100dvh!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important;background:#ffffff!important}.mobile-sale-head{min-height:calc(64px + env(safe-area-inset-top))!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:max(14px,calc(env(safe-area-inset-top) + 10px)) 14px 12px!important;border-bottom:1px solid #e2e8f0!important;background:#ffffff!important;box-shadow:0 8px 20px #0f172a0f!important}.mobile-sale-head h3{margin:0 0 4px!important;color:#0f172a!important;font-size:20px!important}.mobile-sale-head p{margin:0!important;color:#64748b!important;font-size:13px!important}.mobile-sale-close{width:42px!important;height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #cbd5e1!important;border-radius:999px!important;background:#f8fafc!important;color:#0f172a!important;font-size:26px!important;font-weight:900!important}.mobile-sale-form{min-height:0!important;overflow-y:auto!important;display:grid!important;gap:14px!important;padding:16px 14px max(20px,calc(env(safe-area-inset-bottom) + 20px))!important;background:#f8fafc!important}.mobile-sale-form label{display:grid!important;gap:7px!important}.mobile-sale-form label span{color:#334155!important;font-size:13px!important;font-weight:900!important}.mobile-sale-form input,.mobile-sale-form select{width:100%!important;min-height:46px!important;padding:10px 12px!important;border:1px solid #cbd5e1!important;border-radius:14px!important;background:#ffffff!important;color:#0f172a!important;font-size:16px!important}.mobile-sale-grid{display:grid!important;gap:14px!important}.mobile-sale-checkbox{display:flex!important;align-items:center!important;gap:10px!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:16px!important;background:#ffffff!important}.mobile-sale-checkbox input{width:18px!important;min-height:18px!important}.mobile-sale-help{margin:-4px 0 0!important;color:#64748b!important;font-size:12px!important;line-height:1.4!important}.mobile-sale-actions{position:sticky!important;bottom:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding-top:8px!important;background:#f8fafc!important}.mobile-sale-actions button{min-height:46px!important}}@media (max-width: 900px){.sales-table .editing-row:not(.create-sale-inline-row){display:none!important}.mobile-sale-edit-overlay{display:flex!important}}.sale-line-actions{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}.sale-line-actions .sale-delete-line-btn{width:28px!important;height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #fecaca!important;border-radius:999px!important;background:#fff1f2!important;color:#dc2626!important;font-weight:900!important;cursor:pointer!important}.messagerie-recipient-search{margin-bottom:8px!important}.messagerie-filter-empty,.messagerie-group-empty{display:block!important;padding:10px 12px!important;border:1px dashed #cbd5e1!important;border-radius:14px!important;background:#f8fafc!important;color:#64748b!important;font-size:13px!important;font-weight:700!important}.messagerie-group-empty{margin:8px!important}.messagerie-recipient-field{display:grid!important;gap:8px!important}.messagerie-direct-results{max-height:260px!important;overflow-y:auto!important;display:grid!important;gap:8px!important;padding:4px!important;border:1px solid #e2e8f0!important;border-radius:16px!important;background:#f8fafc!important}.messagerie-direct-result{width:100%!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:10px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#ffffff!important;color:#0f172a!important;text-align:left!important;cursor:pointer!important}.messagerie-direct-result strong,.messagerie-direct-result span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.messagerie-direct-result span{margin-top:2px!important;color:#64748b!important;font-size:12px!important}.messagerie-direct-result.selected{border-color:#2563eb!important;background:#eff6ff!important}.messagerie-direct-result em{width:24px!important;height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:#2563eb!important;color:#fff!important;font-style:normal!important;font-weight:900!important}@media (max-width: 900px){.messagerie-direct-results{max-height:300px!important}.messagerie-direct-result{min-height:58px!important}}.messagerie-edit-message-btn{border:0!important;background:transparent!important;color:#2563eb!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;padding:2px 0!important}@media (max-width: 900px){.messagerie-edit-message-form{min-width:min(280px,78vw)!important}.messagerie-bubble-footer{justify-content:flex-start!important}}.messagerie-bubble{position:relative!important}.messagerie-edit-floating-btn{position:absolute!important;top:-4px!important;right:-4px!important;width:20px!important;height:20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #bfdbfe!important;border-radius:999px!important;background:#ffffff!important;color:#2563eb!important;font-size:11px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 4px 10px #0f172a1f!important;z-index:2!important}.messagerie-bubble-footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;margin-top:6px!important}.messagerie-edited-badge{color:#64748b!important;font-size:11px!important;font-weight:700!important}.messagerie-edit-message-form{display:grid!important;gap:8px!important;min-width:min(320px,72vw)!important}.messagerie-edit-message-textarea{width:100%!important;min-height:82px!important;resize:vertical!important;border:1px solid #bfdbfe!important;border-radius:14px!important;padding:10px 12px!important;background:#ffffff!important;color:#0f172a!important;font-size:15px!important}.messagerie-edit-message-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important}.messagerie-edit-message-actions button{min-height:34px!important;padding:7px 12px!important}@media (max-width: 900px){.messagerie-edit-floating-btn{top:-4px!important;right:-4px!important;width:22px!important;height:22px!important;font-size:11px!important}.messagerie-edit-message-form{min-width:min(280px,78vw)!important}.messagerie-bubble-footer{justify-content:flex-start!important}}.activite-page{display:grid;gap:18px}.activite-hero{align-items:center}.activite-tabs{display:flex;gap:10px;flex-wrap:wrap}.activite-tabs button{border:1px solid #bfdbfe;background:#fff;color:#0f172a;border-radius:999px;padding:10px 16px;font-weight:900;cursor:pointer}.activite-tabs button.active{background:#087db7;border-color:#087db7;color:#fff}.activite-objectifs-grid{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr);gap:18px;align-items:start}.activite-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 16px 35px #0f172a14;padding:20px}.activite-inputs-card{display:grid;gap:18px}.activite-section-title{display:flex;gap:12px;align-items:flex-start}.activite-section-title>span{width:30px;height:30px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e0f2fe;color:#075985;font-weight:950}.activite-section-title h4{margin:0;color:#0f172a}.activite-section-title p{margin:4px 0 0;color:#64748b}.activite-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-field.disabled{opacity:.45}.activite-input-with-suffix{position:relative}.activite-input-with-suffix input{padding-right:52px!important}.activite-input-with-suffix em{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#64748b;font-style:normal;font-weight:800;pointer-events:none}.activite-results-card{display:grid;gap:16px}.activite-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.activite-kpi{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px;display:grid;gap:6px}.activite-kpi span{color:#64748b;font-size:12px;font-weight:800}.activite-kpi strong{color:#0f172a;font-size:20px}.activite-recap-table{display:grid;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden}.activite-recap-row{display:grid;grid-template-columns:1.3fr repeat(3,.7fr);gap:8px;align-items:center;padding:12px 14px;border-bottom:1px solid #e2e8f0}.activite-recap-row:last-child{border-bottom:0}.activite-recap-row.header{background:#eef8ff;color:#075985;font-weight:950}.activite-recap-row span{color:#334155;font-weight:800}.activite-recap-row strong{color:#0f172a;text-align:right}.activite-detail-box{display:grid;gap:10px;background:#f8fafc;border-radius:18px;padding:14px}.activite-detail-box h5{margin:0 0 4px;color:#0f172a}.activite-detail-box div{display:flex;justify-content:space-between;gap:12px;color:#475569}.activite-detail-box strong{color:#0f172a}.activite-note{margin:0;color:#64748b;font-size:13px}@media (max-width: 1100px){.activite-objectifs-grid,.activite-kpi-grid{grid-template-columns:1fr}}@media (max-width: 720px){.activite-card{padding:16px;border-radius:20px}.activite-fields-grid{grid-template-columns:1fr}.activite-recap-row{grid-template-columns:1fr;gap:4px}.activite-recap-row strong{text-align:left}.activite-detail-box div{display:grid}}.sidebar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sidebar-header h1{margin:0;font-size:22px;line-height:1.1}.sidebar-eyebrow{margin:0 0 4px;text-transform:uppercase;font-size:11px;letter-spacing:.12em;font-weight:900;opacity:.7}.sidebar-mobile-close{display:none;border:0;background:rgba(255,255,255,.12);color:inherit;border-radius:12px;width:34px;height:34px;cursor:pointer;font-size:22px}.sidebar-nav{display:grid;gap:8px}.sidebar-menu-btn,.sidebar-group-toggle{width:100%;border:0;border-radius:14px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font:inherit;font-weight:850;text-align:left;background:transparent;color:inherit}.sidebar-menu-btn:hover,.sidebar-group-toggle:hover,.sidebar-menu-btn.active{background:rgba(255,255,255,.13)}.sidebar-menu-btn.active{box-shadow:inset 3px 0 #ffffffd9}.sidebar-group.active>.sidebar-group-toggle{background:rgba(255,255,255,.09)}.sidebar-submenu{display:grid;gap:5px;margin-top:6px;padding-left:12px}.sidebar-submenu .sidebar-menu-btn{padding:10px 12px;font-size:14px;opacity:.96}.sidebar-group-chevron{transition:transform .18s ease}.sidebar-group-chevron.open{transform:rotate(180deg)}.sidebar-badge{min-width:22px;height:22px;border-radius:999px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;background:#ef4444;color:#fff;font-size:12px;line-height:1}@media (max-width: 860px){.sidebar-mobile-close{display:inline-flex;align-items:center;justify-content:center}}.activite-suivi-card{display:grid;gap:16px}.activite-suivi-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.activite-suivi-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.activite-suivi-table-wrap{width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:18px}.activite-suivi-table{width:100%;min-width:980px;border-collapse:collapse;background:#fff}.activite-suivi-table th,.activite-suivi-table td{border-bottom:1px solid #e2e8f0;padding:10px;text-align:left;vertical-align:middle}.activite-suivi-table thead th,.activite-suivi-table tfoot th{background:#eef8ff;color:#075985;font-weight:950}.activite-suivi-table input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:9px 10px;font:inherit;font-weight:750;color:#0f172a}.danger-light{width:34px;height:34px;border:0;border-radius:999px;background:#fee2e2;color:#b91c1c;font-weight:950;cursor:pointer}.danger-light:disabled{opacity:.35;cursor:not-allowed}.activite-suivi-detail{max-width:520px}@media (max-width: 900px){.activite-suivi-head{display:grid}.activite-suivi-kpis{grid-template-columns:1fr}}.history-year-selector{display:grid;gap:6px;min-width:180px;font-weight:850;color:#0f172a}.history-year-selector span{font-size:12px;color:#64748b}.history-year-selector select{border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;font:inherit;font-weight:850;color:#0f172a;background:#fff}.activite-history-empty{min-height:180px;align-content:center}.activite-month-cell{min-width:140px;font-weight:900;color:#0f172a}.activite-suivi-table td strong{color:#0f172a}
