.ivs-client-crm-section{padding:14px 16px;border:1px solid #d9e8ef;border-radius:14px;background:linear-gradient(135deg,#f7fbfd,#eef8fb);display:flex;flex-direction:column;gap:4px}.ivs-client-crm-section strong{color:#0b3659;font-size:14px}.ivs-client-crm-section small{color:#667f90}.ivs-client-form-grid #ivs-client-lead-heat{font-weight:700}.ivs-client-form-grid #ivs-client-lead-heat option[value="bas"]{color:#64748b}.ivs-client-form-grid #ivs-client-lead-heat option[value="moyen"]{color:#c47a00}.ivs-client-form-grid #ivs-client-lead-heat option[value="chaud"]{color:#c53939}.ivs-crm-workspace{display:grid;gap:18px}.ivs-crm-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid #d9e8ef;border-radius:16px;background:#f8fbfd}.ivs-crm-workspace>header span:first-child{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#1481aa}.ivs-crm-workspace h3{margin:4px 0 2px;color:#0b3659;font-size:22px}.ivs-crm-workspace>header p{margin:0;color:#6b8291}.ivs-crm-heat{padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;text-transform:uppercase;background:#eaf1f5;color:#5c7080}.ivs-crm-heat.bas{background:#eef2f7;color:#546477}.ivs-crm-heat.moyen{background:#fff4d6;color:#9b6300}.ivs-crm-heat.chaud{background:#ffe4e4;color:#b62d32}.ivs-crm-note-editor{display:grid;grid-template-columns:minmax(0,1fr) 260px auto;gap:12px;align-items:end;padding:18px;border:1px solid #d9e8ef;border-radius:16px;background:#fff}.ivs-crm-note-editor label{display:grid;gap:6px}.ivs-crm-note-editor label span{font-size:12px;font-weight:800;color:#38596e}.ivs-crm-note-editor :is(textarea,input){width:100%;box-sizing:border-box;border:1px solid #c8dae4;border-radius:10px;padding:10px 12px;background:#fff;color:#17384c}.ivs-crm-note-editor button{border:0;border-radius:10px;padding:11px 16px;background:#0b5f84;color:#fff;font-weight:800}.ivs-crm-note-editor>small{grid-column:1/-1;color:#718794}.ivs-crm-note-status{min-height:18px;color:#b23a3a;font-size:12px}.ivs-crm-timeline{position:relative;display:grid;gap:12px}.ivs-crm-timeline article{display:grid;grid-template-columns:18px 1fr;gap:10px}.ivs-crm-timeline article>i{width:10px;height:10px;margin-top:18px;border-radius:50%;background:#18a4d2;box-shadow:0 0 0 4px #e5f5fa}.ivs-crm-timeline article>div{border:1px solid #dce9ef;border-radius:14px;padding:14px 16px;background:#fff}.ivs-crm-timeline article header{display:flex;justify-content:space-between;gap:10px}.ivs-crm-timeline article header strong{color:#0b3659}.ivs-crm-timeline article time{color:#7a8f9c;font-size:12px}.ivs-crm-timeline article p{margin:8px 0;color:#2e4d60;white-space:pre-wrap}.ivs-crm-timeline article button{border:0;background:transparent;color:#a43a3a;font-size:11px;padding:0}.ivs-crm-reminder{display:inline-flex;margin-top:5px;padding:6px 9px;border-radius:9px;background:#fff4d8;color:#8a6200;font-size:11px;font-weight:700}.ivs-crm-reminder.sent{background:#e5f7ed;color:#237149}.ivs-crm-empty,.ivs-crm-loading{padding:18px;border:1px dashed #cadde7;border-radius:14px;color:#69808e;background:#f8fbfc}.ivs-crm-empty.is-error{color:#a43232;border-color:#efcaca;background:#fff6f6}.ivs-dashboard-crm-deadlines{margin:18px 0;border:1px solid #d5e6ee;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 32px rgba(9,42,62,.06)}.ivs-dashboard-crm-deadlines>header{display:flex;align-items:flex-end;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e2edf2;background:linear-gradient(135deg,#f9fcfd,#eef8fb)}.ivs-dashboard-crm-deadlines>header span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#1381aa}.ivs-dashboard-crm-deadlines>header h2{margin:3px 0 0;color:#0b3659}.ivs-dashboard-crm-deadlines>header small{color:#6d8594}.ivs-dashboard-crm-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}.ivs-dashboard-crm-grid>article{padding:18px 20px}.ivs-dashboard-crm-grid>article+article{border-left:1px solid #e3edf2}.ivs-dashboard-crm-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ivs-dashboard-crm-title strong{color:#244c64}.ivs-dashboard-crm-title b{min-width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#e5f5fa;color:#0b7299}.ivs-dashboard-crm-grid button{display:flex;width:100%;justify-content:space-between;gap:14px;text-align:left;border:0;border-bottom:1px solid #edf3f6;background:transparent;padding:10px 0;color:#274c60;cursor:pointer}.ivs-dashboard-crm-grid button:hover{background:#f8fbfc}.ivs-dashboard-crm-grid button span{font-weight:700}.ivs-dashboard-crm-grid button small{color:#718794;text-align:right}.ivs-dashboard-crm-grid p{color:#718794}.ivs-client-lead-heat-wrap{display:flex;flex-direction:column;gap:7px}.ivs-client-lead-heat-wrap>span{font-weight:800;color:#17364b}.ivs-client-lead-heat-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ivs-client-lead-heat-buttons button{min-height:42px;border:1px solid #d5e4ec;border-radius:10px;background:#fff;color:#375468;font-weight:800;cursor:pointer;transition:.18s ease}.ivs-client-lead-heat-buttons button[data-lead-heat="faible"].active{background:#eef6fb;border-color:#7fa9c2;color:#265b79;box-shadow:0 0 0 2px rgba(38,91,121,.08)}.ivs-client-lead-heat-buttons button[data-lead-heat="moyen"].active{background:#fff7e7;border-color:#e2a73c;color:#8b5a00;box-shadow:0 0 0 2px rgba(226,167,60,.09)}.ivs-client-lead-heat-buttons button[data-lead-heat="eleve"].active{background:#fff0f1;border-color:#d6585f;color:#a92b34;box-shadow:0 0 0 2px rgba(214,88,95,.09)}.ivs-client-potential-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;font-style:normal;font-size:9px;font-weight:900;letter-spacing:.03em;background:#edf4f7;color:#476575}.ivs-client-potential-badge.faible,.ivs-client-potential-overview.faible{background:#eef2f4;color:#5d6b73}.ivs-client-potential-badge.moyen,.ivs-client-potential-overview.moyen{background:#fff4d6;color:#8a5c00}.ivs-client-potential-badge.eleve,.ivs-client-potential-overview.eleve{background:#e8f8ef;color:#137447}.ivs-client-potential-overview{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:900}.ivs-client-potential-overview.none{background:#f1f5f7;color:#708590}.ivs-crm-maintenance-workspace{display:grid;gap:16px}.ivs-crm-maintenance-workspace>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px;border-radius:16px;background:linear-gradient(135deg,#083450,#0b6287);color:#fff}.ivs-crm-maintenance-workspace>header span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#6fd7f4}.ivs-crm-maintenance-workspace>header h3{margin:3px 0;color:#fff;font-size:21px}.ivs-crm-maintenance-workspace>header p{margin:0;color:#d9edf6}.ivs-crm-maintenance-workspace>header>b{padding:6px 9px;border-radius:8px;background:#1a8a61;color:#fff;font-size:10px;white-space:nowrap}.ivs-crm-maintenance-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px;border:1px solid #dbe8ee;border-radius:16px;background:#fff}.ivs-crm-maintenance-form label{display:grid;gap:6px}.ivs-crm-maintenance-form label span{font-size:11px;font-weight:900;color:#35596d}.ivs-crm-maintenance-form input{min-height:43px;border:1px solid #cadde6;border-radius:10px;padding:8px 10px}.ivs-crm-maintenance-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px}.ivs-crm-maintenance-actions button{border:0;border-radius:10px;padding:10px 14px;background:#0b6287;color:#fff;font-weight:900}.ivs-crm-maintenance-actions span{font-size:12px;color:#347154}.ivs-crm-maintenance-deadline{padding:16px;border-radius:14px;background:#f1f9fc;border-left:4px solid #15a7d5}.ivs-crm-maintenance-deadline span{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:#1681aa}.ivs-crm-maintenance-deadline strong{display:block;margin:3px 0;font-size:21px;color:#0b3659}.ivs-crm-maintenance-deadline small{color:#687f8d}.ivs-client-invoice-warranties{margin:10px 0 4px;padding:12px;border-radius:12px;background:#f4fafc;border:1px solid #d8e9ef}.ivs-client-invoice-warranty-title{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:9px;font-weight:900;letter-spacing:.08em;color:#157b9e}.ivs-client-invoice-warranty{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:10px 0;border-top:1px solid #dfebf0}.ivs-client-invoice-warranty:first-of-type{border-top:0}.ivs-client-invoice-warranty div{display:flex;gap:8px;align-items:center}.ivs-client-invoice-warranty div span{font-size:10px;color:#657e8c}.ivs-client-invoice-warranty p{grid-column:1;margin:0;font-size:11px;color:#39586b}.ivs-client-invoice-warranty button{grid-column:2;grid-row:1/3;align-self:center;border:0;border-radius:8px;padding:7px 9px;background:#0b6287;color:#fff;font-size:10px;font-weight:800}@media (max-width:720px){.ivs-crm-maintenance-form{grid-template-columns:1fr;padding:12px}.ivs-crm-maintenance-actions{grid-column:1}.ivs-client-invoice-warranty{grid-template-columns:1fr}.ivs-client-invoice-warranty button{grid-column:1;grid-row:auto;justify-self:start}}#ivs-client-detail-modal #ivs-crm-note-text{display:block;width:100%;min-height:120px;box-sizing:border-box;pointer-events:auto;touch-action:auto;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;font-size:16px;line-height:1.45;background:#fff;color:#17384c;-webkit-text-fill-color:#17384c;caret-color:#17384c}#ivs-client-detail-modal #ivs-crm-note-text:focus{border-color:#38a4cc;box-shadow:0 0 0 3px rgba(56,164,204,.13)}@media (max-width:720px),(hover:none) and (pointer:coarse){#ivs-client-detail-modal .ivs-crm-note-editor{grid-template-columns:1fr;gap:10px;padding:12px}#ivs-client-detail-modal :is(.ivs-crm-note-field,.ivs-crm-reminder-field){min-width:0}#ivs-client-detail-modal #ivs-crm-note-text{min-height:160px;height:160px;max-height:none;padding:13px 14px;resize:vertical}#ivs-client-detail-modal .ivs-crm-reminder-field input{min-height:44px;font-size:16px}#ivs-client-detail-modal .ivs-crm-note-editor>button{min-height:44px}#ivs-client-detail-modal.ivs-crm-notes-open .ivs-client-detail-head,#ivs-client-detail-modal.ivs-crm-keyboard-open .ivs-client-detail-head,#ivs-client-detail-modal.ivs-crm-notes-open .ivs-client-detail-tabs,#ivs-client-detail-modal.ivs-crm-keyboard-open .ivs-client-detail-tabs{position:relative;top:auto}.ivs-crm-workspace>header{padding:12px;gap:8px}.ivs-crm-workspace>header h3{font-size:21px}}.ivs-crm-note-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #d4e3eb;border-radius:14px;background:#f8fbfd}.ivs-crm-note-toolbar button{min-height:44px;padding:10px 16px;border:0;border-radius:11px;background:#126f98;color:#fff;font-weight:850;cursor:pointer}.ivs-crm-note-toolbar small{color:#6a8190;line-height:1.35}.ivs-crm-note-modal[hidden]{display:none}.ivs-crm-note-modal{position:fixed;inset:0;z-index:2147483300;display:grid;place-items:center;padding:18px;background:rgba(2,20,31,.62);box-sizing:border-box}.ivs-crm-note-modal-card{width:min(620px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;padding:18px;border:1px solid #bed7e4;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28);box-sizing:border-box;overscroll-behavior:contain}.ivs-crm-note-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.ivs-crm-note-modal-head span{display:block;color:#2482a7;font-size:11px;font-weight:900;letter-spacing:.12em}.ivs-crm-note-modal-head h3{margin:3px 0 0;color:#153c52;font-size:22px}.ivs-crm-note-modal-head button{width:42px;height:42px;border:1px solid #cfdee6;border-radius:12px;background:#f4f8fa;color:#274b60;font-size:26px;line-height:1;cursor:pointer}.ivs-crm-note-modal-card>label{display:grid;gap:7px;margin:12px 0;color:#2d5267;font-weight:800}.ivs-crm-note-modal-card :is(textarea,input){width:100%;min-width:0;border:1px solid #bcd3df;border-radius:12px;background:#fff;color:#102f41;font:inherit;box-sizing:border-box}.ivs-crm-note-modal-card textarea{min-height:180px;padding:14px;resize:vertical;line-height:1.45}.ivs-crm-note-modal-card input{min-height:48px;padding:10px 12px}.ivs-crm-note-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.ivs-crm-note-modal-actions button{min-height:44px;padding:10px 16px;border:0;border-radius:11px;background:#126f98;color:#fff;font-weight:850;cursor:pointer}.ivs-crm-note-modal-actions .is-secondary{border:1px solid #c9dce6;background:#f5f9fb;color:#2b5268}@media(max-width:700px){.ivs-crm-note-toolbar{align-items:stretch;flex-direction:column}.ivs-crm-note-toolbar button{width:100%}.ivs-crm-note-modal{align-items:end;padding:8px}.ivs-crm-note-modal-card{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);padding:16px 14px calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 12px 12px}.ivs-crm-note-modal-card :is(textarea,input){font-size:16px}.ivs-crm-note-modal-card textarea{min-height:190px}.ivs-crm-note-modal-actions{display:grid;grid-template-columns:1fr 1fr}.ivs-crm-note-modal-actions button{width:100%}}body.ivs-crm-note-dialog-open{touch-action:none}#ivs-client-detail-modal.ivs-crm-note-dialog-locked,#ivs-client-detail-modal.ivs-crm-note-dialog-locked .ivs-client-detail-content{overflow:hidden;overscroll-behavior:none}body>.ivs-crm-note-modal{position:fixed;inset:0;width:100vw;height:100dvh;z-index:2147483646;isolation:isolate;contain:layout paint;overscroll-behavior:none}@media(max-width:700px){body>.ivs-crm-note-modal .ivs-crm-note-modal-card{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}}.ivs-crm-note-archive{grid-column:1/-1;display:grid;gap:10px;padding-top:4px}.ivs-crm-note-archive>label{font-size:12px;font-weight:850;color:#38596e}.ivs-crm-note-archive>select{width:100%;min-height:44px;padding:9px 38px 9px 12px;border:1px solid #c8dae4;border-radius:11px;background:#fff;color:#17384c;font:inherit;box-sizing:border-box}.ivs-crm-note-archive-list{display:grid;gap:12px}.ivs-crm-note-archive-list [hidden]{display:none}.ivs-crm-note-reminder-field{max-width:330px}.ivs-crm-note-reminder-field input{min-height:42px;height:42px;padding:7px 10px}body>.ivs-crm-note-modal .ivs-crm-note-modal-card{width:min(560px,calc(100vw - 28px));max-height:min(680px,calc(100dvh - 40px));padding:16px 18px}body>.ivs-crm-note-modal .ivs-crm-note-modal-card textarea{min-height:145px;max-height:240px}body.ivs-crm-note-dialog-open{overflow:hidden;overscroll-behavior:none}body.ivs-crm-note-dialog-open #ivs-client-detail-modal{pointer-events:none}body.ivs-crm-note-dialog-open>.ivs-crm-note-modal{pointer-events:auto;touch-action:auto}@media(max-width:700px){body>.ivs-crm-note-modal{place-items:center;padding:max(12px,env(safe-area-inset-top)) 10px max(12px,env(safe-area-inset-bottom))}body>.ivs-crm-note-modal .ivs-crm-note-modal-card{width:100%;max-width:540px;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);padding:14px;border-radius:18px;overflow:auto}body>.ivs-crm-note-modal .ivs-crm-note-modal-head{margin-bottom:10px}body>.ivs-crm-note-modal .ivs-crm-note-modal-head h3{font-size:21px}body>.ivs-crm-note-modal .ivs-crm-note-modal-card textarea{min-height:130px;max-height:190px;font-size:16px}body>.ivs-crm-note-modal .ivs-crm-note-reminder-field{max-width:260px;margin-bottom:8px}body>.ivs-crm-note-modal .ivs-crm-note-reminder-field input{height:40px;min-height:40px;font-size:16px;padding:5px 8px}body>.ivs-crm-note-modal .ivs-crm-note-modal-actions{margin-top:12px;gap:8px}}.ivs-crm-reminder.retry{color:#8a5b08!important;background:#fff8e8!important;border-color:#ead39c!important}.ivs-admin-role-summary.is-admin-fixed{border-color:rgba(52,211,153,.32);background:linear-gradient(135deg,rgba(16,185,129,.09),rgba(7,25,38,.92))}.ivs-admin-role-fixed-badge{justify-self:end;border:1px solid rgba(52,211,153,.35);border-radius:999px;padding:7px 10px;color:#8df0c5;background:rgba(16,185,129,.1);font-size:10px;letter-spacing:.08em;white-space:nowrap}#ivs-admin-users-modal .ivs-admin-company-admin-note{display:grid;gap:4px;align-content:center;padding:12px 14px;border:1px solid #cfe3ec;border-radius:12px;background:#f4fbfe;color:#17384c}#ivs-admin-users-modal .ivs-admin-company-admin-note strong{font-size:13px}#ivs-admin-users-modal .ivs-admin-company-admin-note span{font-size:11px;line-height:1.45;color:#607b8a}#ivs-admin-users-modal .ivs-admin-subtitle.is-company-admin-create{border-top:1px solid #d7e7ee;padding-top:14px;margin-top:4px}.ivs-admin-company-protected{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid #b8ddcc;border-radius:10px;background:#edf9f3;color:#287356;font:800 11px/1.2 Arial,sans-serif}.ivs-admin-company-compact{padding:16px;border:1px solid #d8e4eb;border-radius:18px;background:#fff}.ivs-admin-company-compact-head>div{display:flex;flex-direction:column;gap:6px}.ivs-admin-company-compact-head strong{font-size:1.25rem;color:#18394d}.ivs-admin-company-compact-head small{color:#6c8291}.ivs-admin-company-compact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;align-items:center}.ivs-admin-company-compact-actions button{min-height:44px}.ivs-admin-company-compact-actions #ivs-co-status{flex-basis:100%}@media(max-width:700px){.ivs-admin-company-compact{padding:12px}.ivs-admin-company-compact-actions{display:grid;grid-template-columns:1fr 1fr}.ivs-admin-company-compact-actions button{width:100%;padding:11px 9px;font-size:14px}.ivs-admin-company-compact-actions #ivs-co-status,.ivs-admin-company-protected{grid-column:1/-1}}